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

com.pulumi.azure.network.inputs.ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs 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.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs Empty = new ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs();

    /**
     * The communities of Bgp Peering specified for microsoft peering.
     * 
     */
    @Import(name="advertisedCommunities")
    private @Nullable Output> advertisedCommunities;

    /**
     * @return The communities of Bgp Peering specified for microsoft peering.
     * 
     */
    public Optional>> advertisedCommunities() {
        return Optional.ofNullable(this.advertisedCommunities);
    }

    /**
     * A list of Advertised Public Prefixes.
     * 
     */
    @Import(name="advertisedPublicPrefixes")
    private @Nullable Output> advertisedPublicPrefixes;

    /**
     * @return A list of Advertised Public Prefixes.
     * 
     */
    public Optional>> advertisedPublicPrefixes() {
        return Optional.ofNullable(this.advertisedPublicPrefixes);
    }

    /**
     * The CustomerASN of the peering. Defaults to `0`.
     * 
     */
    @Import(name="customerAsn")
    private @Nullable Output customerAsn;

    /**
     * @return The CustomerASN of the peering. Defaults to `0`.
     * 
     */
    public Optional> customerAsn() {
        return Optional.ofNullable(this.customerAsn);
    }

    /**
     * The Routing Registry against which the AS number and prefixes are registered. For example: `ARIN`, `RIPE`, `AFRINIC` etc. Defaults to `NONE`.
     * 
     */
    @Import(name="routingRegistryName")
    private @Nullable Output routingRegistryName;

    /**
     * @return The Routing Registry against which the AS number and prefixes are registered. For example: `ARIN`, `RIPE`, `AFRINIC` etc. Defaults to `NONE`.
     * 
     */
    public Optional> routingRegistryName() {
        return Optional.ofNullable(this.routingRegistryName);
    }

    private ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs() {}

    private ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs(ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs $) {
        this.advertisedCommunities = $.advertisedCommunities;
        this.advertisedPublicPrefixes = $.advertisedPublicPrefixes;
        this.customerAsn = $.customerAsn;
        this.routingRegistryName = $.routingRegistryName;
    }

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

    public static final class Builder {
        private ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs $;

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

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

        /**
         * @param advertisedCommunities The communities of Bgp Peering specified for microsoft peering.
         * 
         * @return builder
         * 
         */
        public Builder advertisedCommunities(@Nullable Output> advertisedCommunities) {
            $.advertisedCommunities = advertisedCommunities;
            return this;
        }

        /**
         * @param advertisedCommunities The communities of Bgp Peering specified for microsoft peering.
         * 
         * @return builder
         * 
         */
        public Builder advertisedCommunities(List advertisedCommunities) {
            return advertisedCommunities(Output.of(advertisedCommunities));
        }

        /**
         * @param advertisedCommunities The communities of Bgp Peering specified for microsoft peering.
         * 
         * @return builder
         * 
         */
        public Builder advertisedCommunities(String... advertisedCommunities) {
            return advertisedCommunities(List.of(advertisedCommunities));
        }

        /**
         * @param advertisedPublicPrefixes A list of Advertised Public Prefixes.
         * 
         * @return builder
         * 
         */
        public Builder advertisedPublicPrefixes(@Nullable Output> advertisedPublicPrefixes) {
            $.advertisedPublicPrefixes = advertisedPublicPrefixes;
            return this;
        }

        /**
         * @param advertisedPublicPrefixes A list of Advertised Public Prefixes.
         * 
         * @return builder
         * 
         */
        public Builder advertisedPublicPrefixes(List advertisedPublicPrefixes) {
            return advertisedPublicPrefixes(Output.of(advertisedPublicPrefixes));
        }

        /**
         * @param advertisedPublicPrefixes A list of Advertised Public Prefixes.
         * 
         * @return builder
         * 
         */
        public Builder advertisedPublicPrefixes(String... advertisedPublicPrefixes) {
            return advertisedPublicPrefixes(List.of(advertisedPublicPrefixes));
        }

        /**
         * @param customerAsn The CustomerASN of the peering. Defaults to `0`.
         * 
         * @return builder
         * 
         */
        public Builder customerAsn(@Nullable Output customerAsn) {
            $.customerAsn = customerAsn;
            return this;
        }

        /**
         * @param customerAsn The CustomerASN of the peering. Defaults to `0`.
         * 
         * @return builder
         * 
         */
        public Builder customerAsn(Integer customerAsn) {
            return customerAsn(Output.of(customerAsn));
        }

        /**
         * @param routingRegistryName The Routing Registry against which the AS number and prefixes are registered. For example: `ARIN`, `RIPE`, `AFRINIC` etc. Defaults to `NONE`.
         * 
         * @return builder
         * 
         */
        public Builder routingRegistryName(@Nullable Output routingRegistryName) {
            $.routingRegistryName = routingRegistryName;
            return this;
        }

        /**
         * @param routingRegistryName The Routing Registry against which the AS number and prefixes are registered. For example: `ARIN`, `RIPE`, `AFRINIC` etc. Defaults to `NONE`.
         * 
         * @return builder
         * 
         */
        public Builder routingRegistryName(String routingRegistryName) {
            return routingRegistryName(Output.of(routingRegistryName));
        }

        public ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy