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

com.pulumi.azure.network.outputs.VirtualNetworkGatewayBgpSettingsPeeringAddress 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VirtualNetworkGatewayBgpSettingsPeeringAddress {
    /**
     * @return A list of Azure custom APIPA addresses assigned to the BGP peer of the Virtual Network Gateway.
     * 
     * > **Note:** The valid range for the reserved APIPA address in Azure Public is from `169.254.21.0` to `169.254.22.255`.
     * 
     */
    private @Nullable List apipaAddresses;
    /**
     * @return A list of peering address assigned to the BGP peer of the Virtual Network Gateway.
     * 
     */
    private @Nullable List defaultAddresses;
    /**
     * @return The name of the IP configuration of this Virtual Network Gateway. In case there are multiple `ip_configuration` blocks defined, this property is **required** to specify.
     * 
     */
    private @Nullable String ipConfigurationName;
    /**
     * @return A list of tunnel IP addresses assigned to the BGP peer of the Virtual Network Gateway.
     * 
     */
    private @Nullable List tunnelIpAddresses;

    private VirtualNetworkGatewayBgpSettingsPeeringAddress() {}
    /**
     * @return A list of Azure custom APIPA addresses assigned to the BGP peer of the Virtual Network Gateway.
     * 
     * > **Note:** The valid range for the reserved APIPA address in Azure Public is from `169.254.21.0` to `169.254.22.255`.
     * 
     */
    public List apipaAddresses() {
        return this.apipaAddresses == null ? List.of() : this.apipaAddresses;
    }
    /**
     * @return A list of peering address assigned to the BGP peer of the Virtual Network Gateway.
     * 
     */
    public List defaultAddresses() {
        return this.defaultAddresses == null ? List.of() : this.defaultAddresses;
    }
    /**
     * @return The name of the IP configuration of this Virtual Network Gateway. In case there are multiple `ip_configuration` blocks defined, this property is **required** to specify.
     * 
     */
    public Optional ipConfigurationName() {
        return Optional.ofNullable(this.ipConfigurationName);
    }
    /**
     * @return A list of tunnel IP addresses assigned to the BGP peer of the Virtual Network Gateway.
     * 
     */
    public List tunnelIpAddresses() {
        return this.tunnelIpAddresses == null ? List.of() : this.tunnelIpAddresses;
    }

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

    public static Builder builder(VirtualNetworkGatewayBgpSettingsPeeringAddress defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List apipaAddresses;
        private @Nullable List defaultAddresses;
        private @Nullable String ipConfigurationName;
        private @Nullable List tunnelIpAddresses;
        public Builder() {}
        public Builder(VirtualNetworkGatewayBgpSettingsPeeringAddress defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.apipaAddresses = defaults.apipaAddresses;
    	      this.defaultAddresses = defaults.defaultAddresses;
    	      this.ipConfigurationName = defaults.ipConfigurationName;
    	      this.tunnelIpAddresses = defaults.tunnelIpAddresses;
        }

        @CustomType.Setter
        public Builder apipaAddresses(@Nullable List apipaAddresses) {

            this.apipaAddresses = apipaAddresses;
            return this;
        }
        public Builder apipaAddresses(String... apipaAddresses) {
            return apipaAddresses(List.of(apipaAddresses));
        }
        @CustomType.Setter
        public Builder defaultAddresses(@Nullable List defaultAddresses) {

            this.defaultAddresses = defaultAddresses;
            return this;
        }
        public Builder defaultAddresses(String... defaultAddresses) {
            return defaultAddresses(List.of(defaultAddresses));
        }
        @CustomType.Setter
        public Builder ipConfigurationName(@Nullable String ipConfigurationName) {

            this.ipConfigurationName = ipConfigurationName;
            return this;
        }
        @CustomType.Setter
        public Builder tunnelIpAddresses(@Nullable List tunnelIpAddresses) {

            this.tunnelIpAddresses = tunnelIpAddresses;
            return this;
        }
        public Builder tunnelIpAddresses(String... tunnelIpAddresses) {
            return tunnelIpAddresses(List.of(tunnelIpAddresses));
        }
        public VirtualNetworkGatewayBgpSettingsPeeringAddress build() {
            final var _resultValue = new VirtualNetworkGatewayBgpSettingsPeeringAddress();
            _resultValue.apipaAddresses = apipaAddresses;
            _resultValue.defaultAddresses = defaultAddresses;
            _resultValue.ipConfigurationName = ipConfigurationName;
            _resultValue.tunnelIpAddresses = tunnelIpAddresses;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy