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

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


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

    public static final ExpressRouteConnectionState Empty = new ExpressRouteConnectionState();

    /**
     * The authorization key to establish the Express Route Connection.
     * 
     */
    @Import(name="authorizationKey")
    private @Nullable Output authorizationKey;

    /**
     * @return The authorization key to establish the Express Route Connection.
     * 
     */
    public Optional> authorizationKey() {
        return Optional.ofNullable(this.authorizationKey);
    }

    /**
     * Is Internet security enabled for this Express Route Connection?
     * 
     */
    @Import(name="enableInternetSecurity")
    private @Nullable Output enableInternetSecurity;

    /**
     * @return Is Internet security enabled for this Express Route Connection?
     * 
     */
    public Optional> enableInternetSecurity() {
        return Optional.ofNullable(this.enableInternetSecurity);
    }

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

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

    /**
     * Specified whether Fast Path is enabled for Virtual Wan Firewall Hub. Defaults to `false`.
     * 
     */
    @Import(name="expressRouteGatewayBypassEnabled")
    private @Nullable Output expressRouteGatewayBypassEnabled;

    /**
     * @return Specified whether Fast Path is enabled for Virtual Wan Firewall Hub. Defaults to `false`.
     * 
     */
    public Optional> expressRouteGatewayBypassEnabled() {
        return Optional.ofNullable(this.expressRouteGatewayBypassEnabled);
    }

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

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

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

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

    /**
     * Bypass the Express Route gateway when accessing private-links. When enabled `express_route_gateway_bypass_enabled` must be set to `true`.
     * 
     */
    @Import(name="privateLinkFastPathEnabled")
    private @Nullable Output privateLinkFastPathEnabled;

    /**
     * @return Bypass the Express Route gateway when accessing private-links. When enabled `express_route_gateway_bypass_enabled` must be set to `true`.
     * 
     */
    public Optional> privateLinkFastPathEnabled() {
        return Optional.ofNullable(this.privateLinkFastPathEnabled);
    }

    /**
     * A `routing` block as defined below.
     * 
     */
    @Import(name="routing")
    private @Nullable Output routing;

    /**
     * @return A `routing` block as defined below.
     * 
     */
    public Optional> routing() {
        return Optional.ofNullable(this.routing);
    }

    /**
     * The routing weight associated to the Express Route Connection. Possible value is between `0` and `32000`. Defaults to `0`.
     * 
     */
    @Import(name="routingWeight")
    private @Nullable Output routingWeight;

    /**
     * @return The routing weight associated to the Express Route Connection. Possible value is between `0` and `32000`. Defaults to `0`.
     * 
     */
    public Optional> routingWeight() {
        return Optional.ofNullable(this.routingWeight);
    }

    private ExpressRouteConnectionState() {}

    private ExpressRouteConnectionState(ExpressRouteConnectionState $) {
        this.authorizationKey = $.authorizationKey;
        this.enableInternetSecurity = $.enableInternetSecurity;
        this.expressRouteCircuitPeeringId = $.expressRouteCircuitPeeringId;
        this.expressRouteGatewayBypassEnabled = $.expressRouteGatewayBypassEnabled;
        this.expressRouteGatewayId = $.expressRouteGatewayId;
        this.name = $.name;
        this.privateLinkFastPathEnabled = $.privateLinkFastPathEnabled;
        this.routing = $.routing;
        this.routingWeight = $.routingWeight;
    }

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

    public static final class Builder {
        private ExpressRouteConnectionState $;

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

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

        /**
         * @param authorizationKey The authorization key to establish the Express Route Connection.
         * 
         * @return builder
         * 
         */
        public Builder authorizationKey(@Nullable Output authorizationKey) {
            $.authorizationKey = authorizationKey;
            return this;
        }

        /**
         * @param authorizationKey The authorization key to establish the Express Route Connection.
         * 
         * @return builder
         * 
         */
        public Builder authorizationKey(String authorizationKey) {
            return authorizationKey(Output.of(authorizationKey));
        }

        /**
         * @param enableInternetSecurity Is Internet security enabled for this Express Route Connection?
         * 
         * @return builder
         * 
         */
        public Builder enableInternetSecurity(@Nullable Output enableInternetSecurity) {
            $.enableInternetSecurity = enableInternetSecurity;
            return this;
        }

        /**
         * @param enableInternetSecurity Is Internet security enabled for this Express Route Connection?
         * 
         * @return builder
         * 
         */
        public Builder enableInternetSecurity(Boolean enableInternetSecurity) {
            return enableInternetSecurity(Output.of(enableInternetSecurity));
        }

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

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

        /**
         * @param expressRouteGatewayBypassEnabled Specified whether Fast Path is enabled for Virtual Wan Firewall Hub. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder expressRouteGatewayBypassEnabled(@Nullable Output expressRouteGatewayBypassEnabled) {
            $.expressRouteGatewayBypassEnabled = expressRouteGatewayBypassEnabled;
            return this;
        }

        /**
         * @param expressRouteGatewayBypassEnabled Specified whether Fast Path is enabled for Virtual Wan Firewall Hub. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder expressRouteGatewayBypassEnabled(Boolean expressRouteGatewayBypassEnabled) {
            return expressRouteGatewayBypassEnabled(Output.of(expressRouteGatewayBypassEnabled));
        }

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

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

        /**
         * @param name The name which should be used for this Express Route Connection. 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 which should be used for this Express Route Connection. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param privateLinkFastPathEnabled Bypass the Express Route gateway when accessing private-links. When enabled `express_route_gateway_bypass_enabled` must be set to `true`.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkFastPathEnabled(@Nullable Output privateLinkFastPathEnabled) {
            $.privateLinkFastPathEnabled = privateLinkFastPathEnabled;
            return this;
        }

        /**
         * @param privateLinkFastPathEnabled Bypass the Express Route gateway when accessing private-links. When enabled `express_route_gateway_bypass_enabled` must be set to `true`.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkFastPathEnabled(Boolean privateLinkFastPathEnabled) {
            return privateLinkFastPathEnabled(Output.of(privateLinkFastPathEnabled));
        }

        /**
         * @param routing A `routing` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder routing(@Nullable Output routing) {
            $.routing = routing;
            return this;
        }

        /**
         * @param routing A `routing` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder routing(ExpressRouteConnectionRoutingArgs routing) {
            return routing(Output.of(routing));
        }

        /**
         * @param routingWeight The routing weight associated to the Express Route Connection. Possible value is between `0` and `32000`. Defaults to `0`.
         * 
         * @return builder
         * 
         */
        public Builder routingWeight(@Nullable Output routingWeight) {
            $.routingWeight = routingWeight;
            return this;
        }

        /**
         * @param routingWeight The routing weight associated to the Express Route Connection. Possible value is between `0` and `32000`. Defaults to `0`.
         * 
         * @return builder
         * 
         */
        public Builder routingWeight(Integer routingWeight) {
            return routingWeight(Output.of(routingWeight));
        }

        public ExpressRouteConnectionState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy