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

com.pulumi.azure.expressroute.inputs.GetCircuitPeeringArgs 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.expressroute.inputs;

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


public final class GetCircuitPeeringArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCircuitPeeringArgs Empty = new GetCircuitPeeringArgs();

    /**
     * The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="expressRouteCircuitName", required=true)
    private Output expressRouteCircuitName;

    /**
     * @return The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.
     * 
     */
    public Output expressRouteCircuitName() {
        return this.expressRouteCircuitName;
    }

    /**
     * The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`.
     * 
     */
    @Import(name="peeringType", required=true)
    private Output peeringType;

    /**
     * @return The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`.
     * 
     */
    public Output peeringType() {
        return this.peeringType;
    }

    /**
     * The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetCircuitPeeringArgs() {}

    private GetCircuitPeeringArgs(GetCircuitPeeringArgs $) {
        this.expressRouteCircuitName = $.expressRouteCircuitName;
        this.peeringType = $.peeringType;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetCircuitPeeringArgs $;

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

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

        /**
         * @param expressRouteCircuitName The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder expressRouteCircuitName(Output expressRouteCircuitName) {
            $.expressRouteCircuitName = expressRouteCircuitName;
            return this;
        }

        /**
         * @param expressRouteCircuitName The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder expressRouteCircuitName(String expressRouteCircuitName) {
            return expressRouteCircuitName(Output.of(expressRouteCircuitName));
        }

        /**
         * @param peeringType The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`.
         * 
         * @return builder
         * 
         */
        public Builder peeringType(Output peeringType) {
            $.peeringType = peeringType;
            return this;
        }

        /**
         * @param peeringType The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`.
         * 
         * @return builder
         * 
         */
        public Builder peeringType(String peeringType) {
            return peeringType(Output.of(peeringType));
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetCircuitPeeringArgs build() {
            if ($.expressRouteCircuitName == null) {
                throw new MissingRequiredPropertyException("GetCircuitPeeringArgs", "expressRouteCircuitName");
            }
            if ($.peeringType == null) {
                throw new MissingRequiredPropertyException("GetCircuitPeeringArgs", "peeringType");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetCircuitPeeringArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy