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

com.pulumi.azure.network.inputs.ExpressRouteCircuitConnectionState 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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ExpressRouteCircuitConnectionState Empty = new ExpressRouteCircuitConnectionState();

    /**
     * The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
     * 
     */
    @Import(name="addressPrefixIpv4")
    private @Nullable Output addressPrefixIpv4;

    /**
     * @return The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
     * 
     */
    public Optional> addressPrefixIpv4() {
        return Optional.ofNullable(this.addressPrefixIpv4);
    }

    /**
     * The IPv6 address space from which to allocate customer addresses for global reach.
     * 
     * > **NOTE:** `address_prefix_ipv6` cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.
     * 
     */
    @Import(name="addressPrefixIpv6")
    private @Nullable Output addressPrefixIpv6;

    /**
     * @return The IPv6 address space from which to allocate customer addresses for global reach.
     * 
     * > **NOTE:** `address_prefix_ipv6` cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.
     * 
     */
    public Optional> addressPrefixIpv6() {
        return Optional.ofNullable(this.addressPrefixIpv6);
    }

    /**
     * The authorization key which is associated with the Express Route Circuit Connection.
     * 
     */
    @Import(name="authorizationKey")
    private @Nullable Output authorizationKey;

    /**
     * @return The authorization key which is associated with the Express Route Circuit Connection.
     * 
     */
    public Optional> authorizationKey() {
        return Optional.ofNullable(this.authorizationKey);
    }

    /**
     * The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
     * 
     */
    @Import(name="peerPeeringId")
    private @Nullable Output peerPeeringId;

    /**
     * @return The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
     * 
     */
    public Optional> peerPeeringId() {
        return Optional.ofNullable(this.peerPeeringId);
    }

    /**
     * The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
     * 
     */
    @Import(name="peeringId")
    private @Nullable Output peeringId;

    /**
     * @return The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
     * 
     */
    public Optional> peeringId() {
        return Optional.ofNullable(this.peeringId);
    }

    private ExpressRouteCircuitConnectionState() {}

    private ExpressRouteCircuitConnectionState(ExpressRouteCircuitConnectionState $) {
        this.addressPrefixIpv4 = $.addressPrefixIpv4;
        this.addressPrefixIpv6 = $.addressPrefixIpv6;
        this.authorizationKey = $.authorizationKey;
        this.name = $.name;
        this.peerPeeringId = $.peerPeeringId;
        this.peeringId = $.peeringId;
    }

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

    public static final class Builder {
        private ExpressRouteCircuitConnectionState $;

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

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

        /**
         * @param addressPrefixIpv4 The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixIpv4(@Nullable Output addressPrefixIpv4) {
            $.addressPrefixIpv4 = addressPrefixIpv4;
            return this;
        }

        /**
         * @param addressPrefixIpv4 The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixIpv4(String addressPrefixIpv4) {
            return addressPrefixIpv4(Output.of(addressPrefixIpv4));
        }

        /**
         * @param addressPrefixIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
         * 
         * > **NOTE:** `address_prefix_ipv6` cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixIpv6(@Nullable Output addressPrefixIpv6) {
            $.addressPrefixIpv6 = addressPrefixIpv6;
            return this;
        }

        /**
         * @param addressPrefixIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
         * 
         * > **NOTE:** `address_prefix_ipv6` cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixIpv6(String addressPrefixIpv6) {
            return addressPrefixIpv6(Output.of(addressPrefixIpv6));
        }

        /**
         * @param authorizationKey The authorization key which is associated with the Express Route Circuit Connection.
         * 
         * @return builder
         * 
         */
        public Builder authorizationKey(@Nullable Output authorizationKey) {
            $.authorizationKey = authorizationKey;
            return this;
        }

        /**
         * @param authorizationKey The authorization key which is associated with the Express Route Circuit Connection.
         * 
         * @return builder
         * 
         */
        public Builder authorizationKey(String authorizationKey) {
            return authorizationKey(Output.of(authorizationKey));
        }

        /**
         * @param name The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param peerPeeringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
         * 
         * @return builder
         * 
         */
        public Builder peerPeeringId(@Nullable Output peerPeeringId) {
            $.peerPeeringId = peerPeeringId;
            return this;
        }

        /**
         * @param peerPeeringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
         * 
         * @return builder
         * 
         */
        public Builder peerPeeringId(String peerPeeringId) {
            return peerPeeringId(Output.of(peerPeeringId));
        }

        /**
         * @param peeringId The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
         * 
         * @return builder
         * 
         */
        public Builder peeringId(@Nullable Output peeringId) {
            $.peeringId = peeringId;
            return this;
        }

        /**
         * @param peeringId The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
         * 
         * @return builder
         * 
         */
        public Builder peeringId(String peeringId) {
            return peeringId(Output.of(peeringId));
        }

        public ExpressRouteCircuitConnectionState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy