All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.synapse.inputs.SqlPoolVulnerabilityAssessmentRecurringScansArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.synapse.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SqlPoolVulnerabilityAssessmentRecurringScansArgs extends com.pulumi.resources.ResourceArgs {

    public static final SqlPoolVulnerabilityAssessmentRecurringScansArgs Empty = new SqlPoolVulnerabilityAssessmentRecurringScansArgs();

    /**
     * Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `true`.
     * 
     */
    @Import(name="emailSubscriptionAdminsEnabled")
    private @Nullable Output emailSubscriptionAdminsEnabled;

    /**
     * @return Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `true`.
     * 
     */
    public Optional> emailSubscriptionAdminsEnabled() {
        return Optional.ofNullable(this.emailSubscriptionAdminsEnabled);
    }

    /**
     * Specifies an array of email addresses to which the scan notification is sent.
     * 
     */
    @Import(name="emails")
    private @Nullable Output> emails;

    /**
     * @return Specifies an array of email addresses to which the scan notification is sent.
     * 
     */
    public Optional>> emails() {
        return Optional.ofNullable(this.emails);
    }

    /**
     * Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    private SqlPoolVulnerabilityAssessmentRecurringScansArgs() {}

    private SqlPoolVulnerabilityAssessmentRecurringScansArgs(SqlPoolVulnerabilityAssessmentRecurringScansArgs $) {
        this.emailSubscriptionAdminsEnabled = $.emailSubscriptionAdminsEnabled;
        this.emails = $.emails;
        this.enabled = $.enabled;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(SqlPoolVulnerabilityAssessmentRecurringScansArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private SqlPoolVulnerabilityAssessmentRecurringScansArgs $;

        public Builder() {
            $ = new SqlPoolVulnerabilityAssessmentRecurringScansArgs();
        }

        public Builder(SqlPoolVulnerabilityAssessmentRecurringScansArgs defaults) {
            $ = new SqlPoolVulnerabilityAssessmentRecurringScansArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param emailSubscriptionAdminsEnabled Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder emailSubscriptionAdminsEnabled(@Nullable Output emailSubscriptionAdminsEnabled) {
            $.emailSubscriptionAdminsEnabled = emailSubscriptionAdminsEnabled;
            return this;
        }

        /**
         * @param emailSubscriptionAdminsEnabled Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder emailSubscriptionAdminsEnabled(Boolean emailSubscriptionAdminsEnabled) {
            return emailSubscriptionAdminsEnabled(Output.of(emailSubscriptionAdminsEnabled));
        }

        /**
         * @param emails Specifies an array of email addresses to which the scan notification is sent.
         * 
         * @return builder
         * 
         */
        public Builder emails(@Nullable Output> emails) {
            $.emails = emails;
            return this;
        }

        /**
         * @param emails Specifies an array of email addresses to which the scan notification is sent.
         * 
         * @return builder
         * 
         */
        public Builder emails(List emails) {
            return emails(Output.of(emails));
        }

        /**
         * @param emails Specifies an array of email addresses to which the scan notification is sent.
         * 
         * @return builder
         * 
         */
        public Builder emails(String... emails) {
            return emails(List.of(emails));
        }

        /**
         * @param enabled Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public SqlPoolVulnerabilityAssessmentRecurringScansArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy