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

com.pulumi.azure.network.inputs.ExpressRoutePortState 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.ExpressRoutePortIdentityArgs;
import com.pulumi.azure.network.inputs.ExpressRoutePortLink1Args;
import com.pulumi.azure.network.inputs.ExpressRoutePortLink2Args;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
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 ExpressRoutePortState extends com.pulumi.resources.ResourceArgs {

    public static final ExpressRoutePortState Empty = new ExpressRoutePortState();

    /**
     * Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
     * 
     */
    @Import(name="bandwidthInGbps")
    private @Nullable Output bandwidthInGbps;

    /**
     * @return Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
     * 
     */
    public Optional> bandwidthInGbps() {
        return Optional.ofNullable(this.bandwidthInGbps);
    }

    /**
     * The billing type of the Express Route Port. Possible values are `MeteredData` and `UnlimitedData`. Defaults to `MeteredData`.
     * 
     */
    @Import(name="billingType")
    private @Nullable Output billingType;

    /**
     * @return The billing type of the Express Route Port. Possible values are `MeteredData` and `UnlimitedData`. Defaults to `MeteredData`.
     * 
     */
    public Optional> billingType() {
        return Optional.ofNullable(this.billingType);
    }

    /**
     * The encapsulation method used for the Express Route Port. Changing this forces a new Express Route Port to be created. Possible values are: `Dot1Q`, `QinQ`.
     * 
     */
    @Import(name="encapsulation")
    private @Nullable Output encapsulation;

    /**
     * @return The encapsulation method used for the Express Route Port. Changing this forces a new Express Route Port to be created. Possible values are: `Dot1Q`, `QinQ`.
     * 
     */
    public Optional> encapsulation() {
        return Optional.ofNullable(this.encapsulation);
    }

    /**
     * The EtherType of the Express Route Port.
     * 
     */
    @Import(name="ethertype")
    private @Nullable Output ethertype;

    /**
     * @return The EtherType of the Express Route Port.
     * 
     */
    public Optional> ethertype() {
        return Optional.ofNullable(this.ethertype);
    }

    /**
     * The resource GUID of the Express Route Port.
     * 
     */
    @Import(name="guid")
    private @Nullable Output guid;

    /**
     * @return The resource GUID of the Express Route Port.
     * 
     */
    public Optional> guid() {
        return Optional.ofNullable(this.guid);
    }

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

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

    /**
     * A list of `link` blocks as defined below.
     * 
     */
    @Import(name="link1")
    private @Nullable Output link1;

    /**
     * @return A list of `link` blocks as defined below.
     * 
     */
    public Optional> link1() {
        return Optional.ofNullable(this.link1);
    }

    /**
     * A list of `link` blocks as defined below.
     * 
     */
    @Import(name="link2")
    private @Nullable Output link2;

    /**
     * @return A list of `link` blocks as defined below.
     * 
     */
    public Optional> link2() {
        return Optional.ofNullable(this.link2);
    }

    /**
     * The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The maximum transmission unit of the Express Route Port.
     * 
     */
    @Import(name="mtu")
    private @Nullable Output mtu;

    /**
     * @return The maximum transmission unit of the Express Route Port.
     * 
     */
    public Optional> mtu() {
        return Optional.ofNullable(this.mtu);
    }

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

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

    /**
     * The name of the peering location that this Express Route Port is physically mapped to. Changing this forces a new Express Route Port to be created.
     * 
     */
    @Import(name="peeringLocation")
    private @Nullable Output peeringLocation;

    /**
     * @return The name of the peering location that this Express Route Port is physically mapped to. Changing this forces a new Express Route Port to be created.
     * 
     */
    public Optional> peeringLocation() {
        return Optional.ofNullable(this.peeringLocation);
    }

    /**
     * The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * A mapping of tags which should be assigned to the Express Route Port.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags which should be assigned to the Express Route Port.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private ExpressRoutePortState() {}

    private ExpressRoutePortState(ExpressRoutePortState $) {
        this.bandwidthInGbps = $.bandwidthInGbps;
        this.billingType = $.billingType;
        this.encapsulation = $.encapsulation;
        this.ethertype = $.ethertype;
        this.guid = $.guid;
        this.identity = $.identity;
        this.link1 = $.link1;
        this.link2 = $.link2;
        this.location = $.location;
        this.mtu = $.mtu;
        this.name = $.name;
        this.peeringLocation = $.peeringLocation;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ExpressRoutePortState $;

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

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

        /**
         * @param bandwidthInGbps Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthInGbps(@Nullable Output bandwidthInGbps) {
            $.bandwidthInGbps = bandwidthInGbps;
            return this;
        }

        /**
         * @param bandwidthInGbps Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthInGbps(Integer bandwidthInGbps) {
            return bandwidthInGbps(Output.of(bandwidthInGbps));
        }

        /**
         * @param billingType The billing type of the Express Route Port. Possible values are `MeteredData` and `UnlimitedData`. Defaults to `MeteredData`.
         * 
         * @return builder
         * 
         */
        public Builder billingType(@Nullable Output billingType) {
            $.billingType = billingType;
            return this;
        }

        /**
         * @param billingType The billing type of the Express Route Port. Possible values are `MeteredData` and `UnlimitedData`. Defaults to `MeteredData`.
         * 
         * @return builder
         * 
         */
        public Builder billingType(String billingType) {
            return billingType(Output.of(billingType));
        }

        /**
         * @param encapsulation The encapsulation method used for the Express Route Port. Changing this forces a new Express Route Port to be created. Possible values are: `Dot1Q`, `QinQ`.
         * 
         * @return builder
         * 
         */
        public Builder encapsulation(@Nullable Output encapsulation) {
            $.encapsulation = encapsulation;
            return this;
        }

        /**
         * @param encapsulation The encapsulation method used for the Express Route Port. Changing this forces a new Express Route Port to be created. Possible values are: `Dot1Q`, `QinQ`.
         * 
         * @return builder
         * 
         */
        public Builder encapsulation(String encapsulation) {
            return encapsulation(Output.of(encapsulation));
        }

        /**
         * @param ethertype The EtherType of the Express Route Port.
         * 
         * @return builder
         * 
         */
        public Builder ethertype(@Nullable Output ethertype) {
            $.ethertype = ethertype;
            return this;
        }

        /**
         * @param ethertype The EtherType of the Express Route Port.
         * 
         * @return builder
         * 
         */
        public Builder ethertype(String ethertype) {
            return ethertype(Output.of(ethertype));
        }

        /**
         * @param guid The resource GUID of the Express Route Port.
         * 
         * @return builder
         * 
         */
        public Builder guid(@Nullable Output guid) {
            $.guid = guid;
            return this;
        }

        /**
         * @param guid The resource GUID of the Express Route Port.
         * 
         * @return builder
         * 
         */
        public Builder guid(String guid) {
            return guid(Output.of(guid));
        }

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

        /**
         * @param identity An `identity` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder identity(ExpressRoutePortIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param link1 A list of `link` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder link1(@Nullable Output link1) {
            $.link1 = link1;
            return this;
        }

        /**
         * @param link1 A list of `link` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder link1(ExpressRoutePortLink1Args link1) {
            return link1(Output.of(link1));
        }

        /**
         * @param link2 A list of `link` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder link2(@Nullable Output link2) {
            $.link2 = link2;
            return this;
        }

        /**
         * @param link2 A list of `link` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder link2(ExpressRoutePortLink2Args link2) {
            return link2(Output.of(link2));
        }

        /**
         * @param location The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param mtu The maximum transmission unit of the Express Route Port.
         * 
         * @return builder
         * 
         */
        public Builder mtu(@Nullable Output mtu) {
            $.mtu = mtu;
            return this;
        }

        /**
         * @param mtu The maximum transmission unit of the Express Route Port.
         * 
         * @return builder
         * 
         */
        public Builder mtu(String mtu) {
            return mtu(Output.of(mtu));
        }

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

        /**
         * @param peeringLocation The name of the peering location that this Express Route Port is physically mapped to. Changing this forces a new Express Route Port to be created.
         * 
         * @return builder
         * 
         */
        public Builder peeringLocation(@Nullable Output peeringLocation) {
            $.peeringLocation = peeringLocation;
            return this;
        }

        /**
         * @param peeringLocation The name of the peering location that this Express Route Port is physically mapped to. Changing this forces a new Express Route Port to be created.
         * 
         * @return builder
         * 
         */
        public Builder peeringLocation(String peeringLocation) {
            return peeringLocation(Output.of(peeringLocation));
        }

        /**
         * @param resourceGroupName The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Express Route Port.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Express Route Port.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public ExpressRoutePortState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy