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

com.pulumi.azure.network.NetworkManagerSecurityAdminConfigurationArgs 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.15.0
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.network;

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


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

    public static final NetworkManagerSecurityAdminConfigurationArgs Empty = new NetworkManagerSecurityAdminConfigurationArgs();

    /**
     * A list of network intent policy based services. Possible values are `All`, `None` and `AllowRulesOnly`. Exactly one value should be set. The `All` option requires `Microsoft.Network/AllowAdminRulesOnNipBasedServices` feature registration to Subscription. Please see [this document](https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-security-admins#network-intent-policies-and-security-admin-rules) for more information.
     * 
     */
    @Import(name="applyOnNetworkIntentPolicyBasedServices")
    private @Nullable Output applyOnNetworkIntentPolicyBasedServices;

    /**
     * @return A list of network intent policy based services. Possible values are `All`, `None` and `AllowRulesOnly`. Exactly one value should be set. The `All` option requires `Microsoft.Network/AllowAdminRulesOnNipBasedServices` feature registration to Subscription. Please see [this document](https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-security-admins#network-intent-policies-and-security-admin-rules) for more information.
     * 
     */
    public Optional> applyOnNetworkIntentPolicyBasedServices() {
        return Optional.ofNullable(this.applyOnNetworkIntentPolicyBasedServices);
    }

    /**
     * A description of the Security Admin Configuration.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description of the Security Admin Configuration.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Specifies the name which should be used for this Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name which should be used for this Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the ID of the Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created.
     * 
     */
    @Import(name="networkManagerId", required=true)
    private Output networkManagerId;

    /**
     * @return Specifies the ID of the Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created.
     * 
     */
    public Output networkManagerId() {
        return this.networkManagerId;
    }

    private NetworkManagerSecurityAdminConfigurationArgs() {}

    private NetworkManagerSecurityAdminConfigurationArgs(NetworkManagerSecurityAdminConfigurationArgs $) {
        this.applyOnNetworkIntentPolicyBasedServices = $.applyOnNetworkIntentPolicyBasedServices;
        this.description = $.description;
        this.name = $.name;
        this.networkManagerId = $.networkManagerId;
    }

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

    public static final class Builder {
        private NetworkManagerSecurityAdminConfigurationArgs $;

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

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

        /**
         * @param applyOnNetworkIntentPolicyBasedServices A list of network intent policy based services. Possible values are `All`, `None` and `AllowRulesOnly`. Exactly one value should be set. The `All` option requires `Microsoft.Network/AllowAdminRulesOnNipBasedServices` feature registration to Subscription. Please see [this document](https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-security-admins#network-intent-policies-and-security-admin-rules) for more information.
         * 
         * @return builder
         * 
         */
        public Builder applyOnNetworkIntentPolicyBasedServices(@Nullable Output applyOnNetworkIntentPolicyBasedServices) {
            $.applyOnNetworkIntentPolicyBasedServices = applyOnNetworkIntentPolicyBasedServices;
            return this;
        }

        /**
         * @param applyOnNetworkIntentPolicyBasedServices A list of network intent policy based services. Possible values are `All`, `None` and `AllowRulesOnly`. Exactly one value should be set. The `All` option requires `Microsoft.Network/AllowAdminRulesOnNipBasedServices` feature registration to Subscription. Please see [this document](https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-security-admins#network-intent-policies-and-security-admin-rules) for more information.
         * 
         * @return builder
         * 
         */
        public Builder applyOnNetworkIntentPolicyBasedServices(String applyOnNetworkIntentPolicyBasedServices) {
            return applyOnNetworkIntentPolicyBasedServices(Output.of(applyOnNetworkIntentPolicyBasedServices));
        }

        /**
         * @param description A description of the Security Admin Configuration.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A description of the Security Admin Configuration.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param name Specifies the name which should be used for this Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name which should be used for this Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param networkManagerId Specifies the ID of the Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkManagerId(Output networkManagerId) {
            $.networkManagerId = networkManagerId;
            return this;
        }

        /**
         * @param networkManagerId Specifies the ID of the Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkManagerId(String networkManagerId) {
            return networkManagerId(Output.of(networkManagerId));
        }

        public NetworkManagerSecurityAdminConfigurationArgs build() {
            if ($.networkManagerId == null) {
                throw new MissingRequiredPropertyException("NetworkManagerSecurityAdminConfigurationArgs", "networkManagerId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy