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

com.pulumi.azure.network.inputs.ExpressRouteCircuitState 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.azure.network.inputs.ExpressRouteCircuitSkuArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ExpressRouteCircuitState Empty = new ExpressRouteCircuitState();

    /**
     * Allow the circuit to interact with classic (RDFE) resources. Defaults to `false`.
     * 
     */
    @Import(name="allowClassicOperations")
    private @Nullable Output allowClassicOperations;

    /**
     * @return Allow the circuit to interact with classic (RDFE) resources. Defaults to `false`.
     * 
     */
    public Optional> allowClassicOperations() {
        return Optional.ofNullable(this.allowClassicOperations);
    }

    /**
     * The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
     * 
     */
    @Import(name="authorizationKey")
    private @Nullable Output authorizationKey;

    /**
     * @return The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
     * 
     */
    public Optional> authorizationKey() {
        return Optional.ofNullable(this.authorizationKey);
    }

    /**
     * The bandwidth in Gbps of the circuit being created on the Express Route Port.
     * 
     * > **NOTE:** The `express_route_port_id` and the `bandwidth_in_gbps` should be set together and they conflict with `service_provider_name`, `peering_location` and `bandwidth_in_mbps`.
     * 
     */
    @Import(name="bandwidthInGbps")
    private @Nullable Output bandwidthInGbps;

    /**
     * @return The bandwidth in Gbps of the circuit being created on the Express Route Port.
     * 
     * > **NOTE:** The `express_route_port_id` and the `bandwidth_in_gbps` should be set together and they conflict with `service_provider_name`, `peering_location` and `bandwidth_in_mbps`.
     * 
     */
    public Optional> bandwidthInGbps() {
        return Optional.ofNullable(this.bandwidthInGbps);
    }

    /**
     * The bandwidth in Mbps of the circuit being created on the Service Provider.
     * 
     * > **NOTE:** Once you increase your bandwidth, you will not be able to decrease it to its previous value.
     * 
     * > **NOTE:** The `service_provider_name`, the `peering_location` and the `bandwidth_in_mbps` should be set together and they conflict with `express_route_port_id` and `bandwidth_in_gbps`.
     * 
     */
    @Import(name="bandwidthInMbps")
    private @Nullable Output bandwidthInMbps;

    /**
     * @return The bandwidth in Mbps of the circuit being created on the Service Provider.
     * 
     * > **NOTE:** Once you increase your bandwidth, you will not be able to decrease it to its previous value.
     * 
     * > **NOTE:** The `service_provider_name`, the `peering_location` and the `bandwidth_in_mbps` should be set together and they conflict with `express_route_port_id` and `bandwidth_in_gbps`.
     * 
     */
    public Optional> bandwidthInMbps() {
        return Optional.ofNullable(this.bandwidthInMbps);
    }

    /**
     * The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="expressRoutePortId")
    private @Nullable Output expressRoutePortId;

    /**
     * @return The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
     * 
     */
    public Optional> expressRoutePortId() {
        return Optional.ofNullable(this.expressRoutePortId);
    }

    /**
     * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the peering location and **not** the Azure resource location. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="peeringLocation")
    private @Nullable Output peeringLocation;

    /**
     * @return The name of the peering location and **not** the Azure resource location. Changing this forces a new resource to be created.
     * 
     */
    public Optional> peeringLocation() {
        return Optional.ofNullable(this.peeringLocation);
    }

    /**
     * The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * The string needed by the service provider to provision the ExpressRoute circuit.
     * 
     */
    @Import(name="serviceKey")
    private @Nullable Output serviceKey;

    /**
     * @return The string needed by the service provider to provision the ExpressRoute circuit.
     * 
     */
    public Optional> serviceKey() {
        return Optional.ofNullable(this.serviceKey);
    }

    /**
     * The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="serviceProviderName")
    private @Nullable Output serviceProviderName;

    /**
     * @return The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
     * 
     */
    public Optional> serviceProviderName() {
        return Optional.ofNullable(this.serviceProviderName);
    }

    /**
     * The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are `NotProvisioned`, `Provisioning`, `Provisioned`, and `Deprovisioning`.
     * 
     */
    @Import(name="serviceProviderProvisioningState")
    private @Nullable Output serviceProviderProvisioningState;

    /**
     * @return The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are `NotProvisioned`, `Provisioning`, `Provisioned`, and `Deprovisioning`.
     * 
     */
    public Optional> serviceProviderProvisioningState() {
        return Optional.ofNullable(this.serviceProviderProvisioningState);
    }

    /**
     * A `sku` block for the ExpressRoute circuit as documented below.
     * 
     */
    @Import(name="sku")
    private @Nullable Output sku;

    /**
     * @return A `sku` block for the ExpressRoute circuit as documented below.
     * 
     */
    public Optional> sku() {
        return Optional.ofNullable(this.sku);
    }

    /**
     * A mapping of tags to assign to the resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags to assign to the resource.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private ExpressRouteCircuitState() {}

    private ExpressRouteCircuitState(ExpressRouteCircuitState $) {
        this.allowClassicOperations = $.allowClassicOperations;
        this.authorizationKey = $.authorizationKey;
        this.bandwidthInGbps = $.bandwidthInGbps;
        this.bandwidthInMbps = $.bandwidthInMbps;
        this.expressRoutePortId = $.expressRoutePortId;
        this.location = $.location;
        this.name = $.name;
        this.peeringLocation = $.peeringLocation;
        this.resourceGroupName = $.resourceGroupName;
        this.serviceKey = $.serviceKey;
        this.serviceProviderName = $.serviceProviderName;
        this.serviceProviderProvisioningState = $.serviceProviderProvisioningState;
        this.sku = $.sku;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ExpressRouteCircuitState $;

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

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

        /**
         * @param allowClassicOperations Allow the circuit to interact with classic (RDFE) resources. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder allowClassicOperations(@Nullable Output allowClassicOperations) {
            $.allowClassicOperations = allowClassicOperations;
            return this;
        }

        /**
         * @param allowClassicOperations Allow the circuit to interact with classic (RDFE) resources. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder allowClassicOperations(Boolean allowClassicOperations) {
            return allowClassicOperations(Output.of(allowClassicOperations));
        }

        /**
         * @param authorizationKey The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
         * 
         * @return builder
         * 
         */
        public Builder authorizationKey(@Nullable Output authorizationKey) {
            $.authorizationKey = authorizationKey;
            return this;
        }

        /**
         * @param authorizationKey The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
         * 
         * @return builder
         * 
         */
        public Builder authorizationKey(String authorizationKey) {
            return authorizationKey(Output.of(authorizationKey));
        }

        /**
         * @param bandwidthInGbps The bandwidth in Gbps of the circuit being created on the Express Route Port.
         * 
         * > **NOTE:** The `express_route_port_id` and the `bandwidth_in_gbps` should be set together and they conflict with `service_provider_name`, `peering_location` and `bandwidth_in_mbps`.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthInGbps(@Nullable Output bandwidthInGbps) {
            $.bandwidthInGbps = bandwidthInGbps;
            return this;
        }

        /**
         * @param bandwidthInGbps The bandwidth in Gbps of the circuit being created on the Express Route Port.
         * 
         * > **NOTE:** The `express_route_port_id` and the `bandwidth_in_gbps` should be set together and they conflict with `service_provider_name`, `peering_location` and `bandwidth_in_mbps`.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthInGbps(Double bandwidthInGbps) {
            return bandwidthInGbps(Output.of(bandwidthInGbps));
        }

        /**
         * @param bandwidthInMbps The bandwidth in Mbps of the circuit being created on the Service Provider.
         * 
         * > **NOTE:** Once you increase your bandwidth, you will not be able to decrease it to its previous value.
         * 
         * > **NOTE:** The `service_provider_name`, the `peering_location` and the `bandwidth_in_mbps` should be set together and they conflict with `express_route_port_id` and `bandwidth_in_gbps`.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthInMbps(@Nullable Output bandwidthInMbps) {
            $.bandwidthInMbps = bandwidthInMbps;
            return this;
        }

        /**
         * @param bandwidthInMbps The bandwidth in Mbps of the circuit being created on the Service Provider.
         * 
         * > **NOTE:** Once you increase your bandwidth, you will not be able to decrease it to its previous value.
         * 
         * > **NOTE:** The `service_provider_name`, the `peering_location` and the `bandwidth_in_mbps` should be set together and they conflict with `express_route_port_id` and `bandwidth_in_gbps`.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthInMbps(Integer bandwidthInMbps) {
            return bandwidthInMbps(Output.of(bandwidthInMbps));
        }

        /**
         * @param expressRoutePortId The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder expressRoutePortId(@Nullable Output expressRoutePortId) {
            $.expressRoutePortId = expressRoutePortId;
            return this;
        }

        /**
         * @param expressRoutePortId The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder expressRoutePortId(String expressRoutePortId) {
            return expressRoutePortId(Output.of(expressRoutePortId));
        }

        /**
         * @param location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

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

        /**
         * @param peeringLocation The name of the peering location and **not** the Azure resource location. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder peeringLocation(@Nullable Output peeringLocation) {
            $.peeringLocation = peeringLocation;
            return this;
        }

        /**
         * @param peeringLocation The name of the peering location and **not** the Azure resource location. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder peeringLocation(String peeringLocation) {
            return peeringLocation(Output.of(peeringLocation));
        }

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

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

        /**
         * @param serviceKey The string needed by the service provider to provision the ExpressRoute circuit.
         * 
         * @return builder
         * 
         */
        public Builder serviceKey(@Nullable Output serviceKey) {
            $.serviceKey = serviceKey;
            return this;
        }

        /**
         * @param serviceKey The string needed by the service provider to provision the ExpressRoute circuit.
         * 
         * @return builder
         * 
         */
        public Builder serviceKey(String serviceKey) {
            return serviceKey(Output.of(serviceKey));
        }

        /**
         * @param serviceProviderName The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder serviceProviderName(@Nullable Output serviceProviderName) {
            $.serviceProviderName = serviceProviderName;
            return this;
        }

        /**
         * @param serviceProviderName The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder serviceProviderName(String serviceProviderName) {
            return serviceProviderName(Output.of(serviceProviderName));
        }

        /**
         * @param serviceProviderProvisioningState The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are `NotProvisioned`, `Provisioning`, `Provisioned`, and `Deprovisioning`.
         * 
         * @return builder
         * 
         */
        public Builder serviceProviderProvisioningState(@Nullable Output serviceProviderProvisioningState) {
            $.serviceProviderProvisioningState = serviceProviderProvisioningState;
            return this;
        }

        /**
         * @param serviceProviderProvisioningState The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are `NotProvisioned`, `Provisioning`, `Provisioned`, and `Deprovisioning`.
         * 
         * @return builder
         * 
         */
        public Builder serviceProviderProvisioningState(String serviceProviderProvisioningState) {
            return serviceProviderProvisioningState(Output.of(serviceProviderProvisioningState));
        }

        /**
         * @param sku A `sku` block for the ExpressRoute circuit as documented below.
         * 
         * @return builder
         * 
         */
        public Builder sku(@Nullable Output sku) {
            $.sku = sku;
            return this;
        }

        /**
         * @param sku A `sku` block for the ExpressRoute circuit as documented below.
         * 
         * @return builder
         * 
         */
        public Builder sku(ExpressRouteCircuitSkuArgs sku) {
            return sku(Output.of(sku));
        }

        /**
         * @param tags A mapping of tags to assign to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags to assign to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public ExpressRouteCircuitState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy