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

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

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 NetworkManagerScopeConnectionArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkManagerScopeConnectionArgs Empty = new NetworkManagerScopeConnectionArgs();

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

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

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

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

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

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

    /**
     * Specifies the Resource ID of the target scope which the Network Manager is connected to. It should be either Subscription ID or Management Group ID.
     * 
     */
    @Import(name="targetScopeId", required=true)
    private Output targetScopeId;

    /**
     * @return Specifies the Resource ID of the target scope which the Network Manager is connected to. It should be either Subscription ID or Management Group ID.
     * 
     */
    public Output targetScopeId() {
        return this.targetScopeId;
    }

    /**
     * Specifies the Tenant ID of the Resource which the Network Manager is connected to.
     * 
     */
    @Import(name="tenantId", required=true)
    private Output tenantId;

    /**
     * @return Specifies the Tenant ID of the Resource which the Network Manager is connected to.
     * 
     */
    public Output tenantId() {
        return this.tenantId;
    }

    private NetworkManagerScopeConnectionArgs() {}

    private NetworkManagerScopeConnectionArgs(NetworkManagerScopeConnectionArgs $) {
        this.description = $.description;
        this.name = $.name;
        this.networkManagerId = $.networkManagerId;
        this.targetScopeId = $.targetScopeId;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private NetworkManagerScopeConnectionArgs $;

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

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

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

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

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

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

        /**
         * @param targetScopeId Specifies the Resource ID of the target scope which the Network Manager is connected to. It should be either Subscription ID or Management Group ID.
         * 
         * @return builder
         * 
         */
        public Builder targetScopeId(Output targetScopeId) {
            $.targetScopeId = targetScopeId;
            return this;
        }

        /**
         * @param targetScopeId Specifies the Resource ID of the target scope which the Network Manager is connected to. It should be either Subscription ID or Management Group ID.
         * 
         * @return builder
         * 
         */
        public Builder targetScopeId(String targetScopeId) {
            return targetScopeId(Output.of(targetScopeId));
        }

        /**
         * @param tenantId Specifies the Tenant ID of the Resource which the Network Manager is connected to.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId Specifies the Tenant ID of the Resource which the Network Manager is connected to.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy