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

com.pulumi.azure.network.inputs.NetworkManagerAdminRuleCollectionState 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.network.inputs;

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


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

    public static final NetworkManagerAdminRuleCollectionState Empty = new NetworkManagerAdminRuleCollectionState();

    /**
     * A description of the Network Manager Admin Rule Collection.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description of the Network Manager Admin Rule Collection.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

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

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

    /**
     * A list of Network Group ID which this Network Manager Admin Rule Collection applies to.
     * 
     */
    @Import(name="networkGroupIds")
    private @Nullable Output> networkGroupIds;

    /**
     * @return A list of Network Group ID which this Network Manager Admin Rule Collection applies to.
     * 
     */
    public Optional>> networkGroupIds() {
        return Optional.ofNullable(this.networkGroupIds);
    }

    /**
     * Specifies the ID of the Network Manager Security Admin Configuration. Changing this forces a new Network Manager Admin Rule Collection to be created.
     * 
     */
    @Import(name="securityAdminConfigurationId")
    private @Nullable Output securityAdminConfigurationId;

    /**
     * @return Specifies the ID of the Network Manager Security Admin Configuration. Changing this forces a new Network Manager Admin Rule Collection to be created.
     * 
     */
    public Optional> securityAdminConfigurationId() {
        return Optional.ofNullable(this.securityAdminConfigurationId);
    }

    private NetworkManagerAdminRuleCollectionState() {}

    private NetworkManagerAdminRuleCollectionState(NetworkManagerAdminRuleCollectionState $) {
        this.description = $.description;
        this.name = $.name;
        this.networkGroupIds = $.networkGroupIds;
        this.securityAdminConfigurationId = $.securityAdminConfigurationId;
    }

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

    public static final class Builder {
        private NetworkManagerAdminRuleCollectionState $;

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

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

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

        /**
         * @param description A description of the Network Manager Admin Rule Collection.
         * 
         * @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 Admin Rule Collection. Changing this forces a new Network Manager Admin Rule Collection 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 Admin Rule Collection. Changing this forces a new Network Manager Admin Rule Collection to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param networkGroupIds A list of Network Group ID which this Network Manager Admin Rule Collection applies to.
         * 
         * @return builder
         * 
         */
        public Builder networkGroupIds(@Nullable Output> networkGroupIds) {
            $.networkGroupIds = networkGroupIds;
            return this;
        }

        /**
         * @param networkGroupIds A list of Network Group ID which this Network Manager Admin Rule Collection applies to.
         * 
         * @return builder
         * 
         */
        public Builder networkGroupIds(List networkGroupIds) {
            return networkGroupIds(Output.of(networkGroupIds));
        }

        /**
         * @param networkGroupIds A list of Network Group ID which this Network Manager Admin Rule Collection applies to.
         * 
         * @return builder
         * 
         */
        public Builder networkGroupIds(String... networkGroupIds) {
            return networkGroupIds(List.of(networkGroupIds));
        }

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

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

        public NetworkManagerAdminRuleCollectionState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy