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

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


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

    public static final PointToPointVpnGatewayState Empty = new PointToPointVpnGatewayState();

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

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

    /**
     * A list of IP Addresses of DNS Servers for the Point-to-Site VPN Gateway.
     * 
     */
    @Import(name="dnsServers")
    private @Nullable Output> dnsServers;

    /**
     * @return A list of IP Addresses of DNS Servers for the Point-to-Site VPN Gateway.
     * 
     */
    public Optional>> dnsServers() {
        return Optional.ofNullable(this.dnsServers);
    }

    /**
     * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Specifies the name of the Point-to-Site VPN Gateway. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of the Point-to-Site VPN Gateway. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the resource group in which to create the Point-to-Site VPN Gateway. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the resource group in which to create the Point-to-Site VPN Gateway. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * Is the Routing Preference for the Public IP Interface of the VPN Gateway enabled? Defaults to `false`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="routingPreferenceInternetEnabled")
    private @Nullable Output routingPreferenceInternetEnabled;

    /**
     * @return Is the Routing Preference for the Public IP Interface of the VPN Gateway enabled? Defaults to `false`. Changing this forces a new resource to be created.
     * 
     */
    public Optional> routingPreferenceInternetEnabled() {
        return Optional.ofNullable(this.routingPreferenceInternetEnabled);
    }

    /**
     * The [Scale Unit](https://docs.microsoft.com/azure/virtual-wan/virtual-wan-faq#what-is-a-virtual-wan-gateway-scale-unit) for this Point-to-Site VPN Gateway.
     * 
     */
    @Import(name="scaleUnit")
    private @Nullable Output scaleUnit;

    /**
     * @return The [Scale Unit](https://docs.microsoft.com/azure/virtual-wan/virtual-wan-faq#what-is-a-virtual-wan-gateway-scale-unit) for this Point-to-Site VPN Gateway.
     * 
     */
    public Optional> scaleUnit() {
        return Optional.ofNullable(this.scaleUnit);
    }

    /**
     * A mapping of tags to assign to the Point-to-Site VPN Gateway.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags to assign to the Point-to-Site VPN Gateway.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The ID of the Virtual Hub where this Point-to-Site VPN Gateway should exist. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="virtualHubId")
    private @Nullable Output virtualHubId;

    /**
     * @return The ID of the Virtual Hub where this Point-to-Site VPN Gateway should exist. Changing this forces a new resource to be created.
     * 
     */
    public Optional> virtualHubId() {
        return Optional.ofNullable(this.virtualHubId);
    }

    /**
     * The ID of the VPN Server Configuration which this Point-to-Site VPN Gateway should use. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="vpnServerConfigurationId")
    private @Nullable Output vpnServerConfigurationId;

    /**
     * @return The ID of the VPN Server Configuration which this Point-to-Site VPN Gateway should use. Changing this forces a new resource to be created.
     * 
     */
    public Optional> vpnServerConfigurationId() {
        return Optional.ofNullable(this.vpnServerConfigurationId);
    }

    private PointToPointVpnGatewayState() {}

    private PointToPointVpnGatewayState(PointToPointVpnGatewayState $) {
        this.connectionConfigurations = $.connectionConfigurations;
        this.dnsServers = $.dnsServers;
        this.location = $.location;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.routingPreferenceInternetEnabled = $.routingPreferenceInternetEnabled;
        this.scaleUnit = $.scaleUnit;
        this.tags = $.tags;
        this.virtualHubId = $.virtualHubId;
        this.vpnServerConfigurationId = $.vpnServerConfigurationId;
    }

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

    public static final class Builder {
        private PointToPointVpnGatewayState $;

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

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

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

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

        /**
         * @param connectionConfigurations A `connection_configuration` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder connectionConfigurations(PointToPointVpnGatewayConnectionConfigurationArgs... connectionConfigurations) {
            return connectionConfigurations(List.of(connectionConfigurations));
        }

        /**
         * @param dnsServers A list of IP Addresses of DNS Servers for the Point-to-Site VPN Gateway.
         * 
         * @return builder
         * 
         */
        public Builder dnsServers(@Nullable Output> dnsServers) {
            $.dnsServers = dnsServers;
            return this;
        }

        /**
         * @param dnsServers A list of IP Addresses of DNS Servers for the Point-to-Site VPN Gateway.
         * 
         * @return builder
         * 
         */
        public Builder dnsServers(List dnsServers) {
            return dnsServers(Output.of(dnsServers));
        }

        /**
         * @param dnsServers A list of IP Addresses of DNS Servers for the Point-to-Site VPN Gateway.
         * 
         * @return builder
         * 
         */
        public Builder dnsServers(String... dnsServers) {
            return dnsServers(List.of(dnsServers));
        }

        /**
         * @param location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name Specifies the name of the Point-to-Site VPN Gateway. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the Point-to-Site VPN Gateway. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Point-to-Site VPN Gateway. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Point-to-Site VPN Gateway. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param routingPreferenceInternetEnabled Is the Routing Preference for the Public IP Interface of the VPN Gateway enabled? Defaults to `false`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder routingPreferenceInternetEnabled(@Nullable Output routingPreferenceInternetEnabled) {
            $.routingPreferenceInternetEnabled = routingPreferenceInternetEnabled;
            return this;
        }

        /**
         * @param routingPreferenceInternetEnabled Is the Routing Preference for the Public IP Interface of the VPN Gateway enabled? Defaults to `false`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder routingPreferenceInternetEnabled(Boolean routingPreferenceInternetEnabled) {
            return routingPreferenceInternetEnabled(Output.of(routingPreferenceInternetEnabled));
        }

        /**
         * @param scaleUnit The [Scale Unit](https://docs.microsoft.com/azure/virtual-wan/virtual-wan-faq#what-is-a-virtual-wan-gateway-scale-unit) for this Point-to-Site VPN Gateway.
         * 
         * @return builder
         * 
         */
        public Builder scaleUnit(@Nullable Output scaleUnit) {
            $.scaleUnit = scaleUnit;
            return this;
        }

        /**
         * @param scaleUnit The [Scale Unit](https://docs.microsoft.com/azure/virtual-wan/virtual-wan-faq#what-is-a-virtual-wan-gateway-scale-unit) for this Point-to-Site VPN Gateway.
         * 
         * @return builder
         * 
         */
        public Builder scaleUnit(Integer scaleUnit) {
            return scaleUnit(Output.of(scaleUnit));
        }

        /**
         * @param tags A mapping of tags to assign to the Point-to-Site VPN Gateway.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags to assign to the Point-to-Site VPN Gateway.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param virtualHubId The ID of the Virtual Hub where this Point-to-Site VPN Gateway should exist. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualHubId(@Nullable Output virtualHubId) {
            $.virtualHubId = virtualHubId;
            return this;
        }

        /**
         * @param virtualHubId The ID of the Virtual Hub where this Point-to-Site VPN Gateway should exist. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualHubId(String virtualHubId) {
            return virtualHubId(Output.of(virtualHubId));
        }

        /**
         * @param vpnServerConfigurationId The ID of the VPN Server Configuration which this Point-to-Site VPN Gateway should use. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder vpnServerConfigurationId(@Nullable Output vpnServerConfigurationId) {
            $.vpnServerConfigurationId = vpnServerConfigurationId;
            return this;
        }

        /**
         * @param vpnServerConfigurationId The ID of the VPN Server Configuration which this Point-to-Site VPN Gateway should use. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder vpnServerConfigurationId(String vpnServerConfigurationId) {
            return vpnServerConfigurationId(Output.of(vpnServerConfigurationId));
        }

        public PointToPointVpnGatewayState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy