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

com.pulumi.azure.network.outputs.NetworkManagerScope 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.outputs;

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

@CustomType
public final class NetworkManagerScope {
    /**
     * @return A list of management group IDs.
     * 
     * > **NOTE:** When specifying a scope at the management group level, you need to register the `Microsoft.Network` at the management group scope before deploying a Network Manager, more information can be found in the [Azure document](https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-network-manager-scope#scope).
     * 
     */
    private @Nullable List managementGroupIds;
    /**
     * @return A list of subscription IDs.
     * 
     */
    private @Nullable List subscriptionIds;

    private NetworkManagerScope() {}
    /**
     * @return A list of management group IDs.
     * 
     * > **NOTE:** When specifying a scope at the management group level, you need to register the `Microsoft.Network` at the management group scope before deploying a Network Manager, more information can be found in the [Azure document](https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-network-manager-scope#scope).
     * 
     */
    public List managementGroupIds() {
        return this.managementGroupIds == null ? List.of() : this.managementGroupIds;
    }
    /**
     * @return A list of subscription IDs.
     * 
     */
    public List subscriptionIds() {
        return this.subscriptionIds == null ? List.of() : this.subscriptionIds;
    }

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

    public static Builder builder(NetworkManagerScope defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List managementGroupIds;
        private @Nullable List subscriptionIds;
        public Builder() {}
        public Builder(NetworkManagerScope defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.managementGroupIds = defaults.managementGroupIds;
    	      this.subscriptionIds = defaults.subscriptionIds;
        }

        @CustomType.Setter
        public Builder managementGroupIds(@Nullable List managementGroupIds) {

            this.managementGroupIds = managementGroupIds;
            return this;
        }
        public Builder managementGroupIds(String... managementGroupIds) {
            return managementGroupIds(List.of(managementGroupIds));
        }
        @CustomType.Setter
        public Builder subscriptionIds(@Nullable List subscriptionIds) {

            this.subscriptionIds = subscriptionIds;
            return this;
        }
        public Builder subscriptionIds(String... subscriptionIds) {
            return subscriptionIds(List.of(subscriptionIds));
        }
        public NetworkManagerScope build() {
            final var _resultValue = new NetworkManagerScope();
            _resultValue.managementGroupIds = managementGroupIds;
            _resultValue.subscriptionIds = subscriptionIds;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy