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

com.pulumi.azurenative.network.inputs.VpnClientConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.network.inputs;

import com.pulumi.azurenative.network.enums.VpnAuthenticationType;
import com.pulumi.azurenative.network.enums.VpnClientProtocol;
import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
import com.pulumi.azurenative.network.inputs.IpsecPolicyArgs;
import com.pulumi.azurenative.network.inputs.RadiusServerArgs;
import com.pulumi.azurenative.network.inputs.VngClientConnectionConfigurationArgs;
import com.pulumi.azurenative.network.inputs.VpnClientRevokedCertificateArgs;
import com.pulumi.azurenative.network.inputs.VpnClientRootCertificateArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * VpnClientConfiguration for P2S client.
 * 
 */
public final class VpnClientConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final VpnClientConfigurationArgs Empty = new VpnClientConfigurationArgs();

    /**
     * The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
     * 
     */
    @Import(name="aadAudience")
    private @Nullable Output aadAudience;

    /**
     * @return The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
     * 
     */
    public Optional> aadAudience() {
        return Optional.ofNullable(this.aadAudience);
    }

    /**
     * The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
     * 
     */
    @Import(name="aadIssuer")
    private @Nullable Output aadIssuer;

    /**
     * @return The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
     * 
     */
    public Optional> aadIssuer() {
        return Optional.ofNullable(this.aadIssuer);
    }

    /**
     * The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
     * 
     */
    @Import(name="aadTenant")
    private @Nullable Output aadTenant;

    /**
     * @return The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
     * 
     */
    public Optional> aadTenant() {
        return Optional.ofNullable(this.aadTenant);
    }

    /**
     * The radius server address property of the VirtualNetworkGateway resource for vpn client connection.
     * 
     */
    @Import(name="radiusServerAddress")
    private @Nullable Output radiusServerAddress;

    /**
     * @return The radius server address property of the VirtualNetworkGateway resource for vpn client connection.
     * 
     */
    public Optional> radiusServerAddress() {
        return Optional.ofNullable(this.radiusServerAddress);
    }

    /**
     * The radius secret property of the VirtualNetworkGateway resource for vpn client connection.
     * 
     */
    @Import(name="radiusServerSecret")
    private @Nullable Output radiusServerSecret;

    /**
     * @return The radius secret property of the VirtualNetworkGateway resource for vpn client connection.
     * 
     */
    public Optional> radiusServerSecret() {
        return Optional.ofNullable(this.radiusServerSecret);
    }

    /**
     * The radiusServers property for multiple radius server configuration.
     * 
     */
    @Import(name="radiusServers")
    private @Nullable Output> radiusServers;

    /**
     * @return The radiusServers property for multiple radius server configuration.
     * 
     */
    public Optional>> radiusServers() {
        return Optional.ofNullable(this.radiusServers);
    }

    /**
     * per ip address pool connection policy for virtual network gateway P2S client.
     * 
     */
    @Import(name="vngClientConnectionConfigurations")
    private @Nullable Output> vngClientConnectionConfigurations;

    /**
     * @return per ip address pool connection policy for virtual network gateway P2S client.
     * 
     */
    public Optional>> vngClientConnectionConfigurations() {
        return Optional.ofNullable(this.vngClientConnectionConfigurations);
    }

    /**
     * VPN authentication types for the virtual network gateway..
     * 
     */
    @Import(name="vpnAuthenticationTypes")
    private @Nullable Output>> vpnAuthenticationTypes;

    /**
     * @return VPN authentication types for the virtual network gateway..
     * 
     */
    public Optional>>> vpnAuthenticationTypes() {
        return Optional.ofNullable(this.vpnAuthenticationTypes);
    }

    /**
     * The reference to the address space resource which represents Address space for P2S VpnClient.
     * 
     */
    @Import(name="vpnClientAddressPool")
    private @Nullable Output vpnClientAddressPool;

    /**
     * @return The reference to the address space resource which represents Address space for P2S VpnClient.
     * 
     */
    public Optional> vpnClientAddressPool() {
        return Optional.ofNullable(this.vpnClientAddressPool);
    }

    /**
     * VpnClientIpsecPolicies for virtual network gateway P2S client.
     * 
     */
    @Import(name="vpnClientIpsecPolicies")
    private @Nullable Output> vpnClientIpsecPolicies;

    /**
     * @return VpnClientIpsecPolicies for virtual network gateway P2S client.
     * 
     */
    public Optional>> vpnClientIpsecPolicies() {
        return Optional.ofNullable(this.vpnClientIpsecPolicies);
    }

    /**
     * VpnClientProtocols for Virtual network gateway.
     * 
     */
    @Import(name="vpnClientProtocols")
    private @Nullable Output>> vpnClientProtocols;

    /**
     * @return VpnClientProtocols for Virtual network gateway.
     * 
     */
    public Optional>>> vpnClientProtocols() {
        return Optional.ofNullable(this.vpnClientProtocols);
    }

    /**
     * VpnClientRevokedCertificate for Virtual network gateway.
     * 
     */
    @Import(name="vpnClientRevokedCertificates")
    private @Nullable Output> vpnClientRevokedCertificates;

    /**
     * @return VpnClientRevokedCertificate for Virtual network gateway.
     * 
     */
    public Optional>> vpnClientRevokedCertificates() {
        return Optional.ofNullable(this.vpnClientRevokedCertificates);
    }

    /**
     * VpnClientRootCertificate for virtual network gateway.
     * 
     */
    @Import(name="vpnClientRootCertificates")
    private @Nullable Output> vpnClientRootCertificates;

    /**
     * @return VpnClientRootCertificate for virtual network gateway.
     * 
     */
    public Optional>> vpnClientRootCertificates() {
        return Optional.ofNullable(this.vpnClientRootCertificates);
    }

    private VpnClientConfigurationArgs() {}

    private VpnClientConfigurationArgs(VpnClientConfigurationArgs $) {
        this.aadAudience = $.aadAudience;
        this.aadIssuer = $.aadIssuer;
        this.aadTenant = $.aadTenant;
        this.radiusServerAddress = $.radiusServerAddress;
        this.radiusServerSecret = $.radiusServerSecret;
        this.radiusServers = $.radiusServers;
        this.vngClientConnectionConfigurations = $.vngClientConnectionConfigurations;
        this.vpnAuthenticationTypes = $.vpnAuthenticationTypes;
        this.vpnClientAddressPool = $.vpnClientAddressPool;
        this.vpnClientIpsecPolicies = $.vpnClientIpsecPolicies;
        this.vpnClientProtocols = $.vpnClientProtocols;
        this.vpnClientRevokedCertificates = $.vpnClientRevokedCertificates;
        this.vpnClientRootCertificates = $.vpnClientRootCertificates;
    }

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

    public static final class Builder {
        private VpnClientConfigurationArgs $;

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

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

        /**
         * @param aadAudience The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
         * 
         * @return builder
         * 
         */
        public Builder aadAudience(@Nullable Output aadAudience) {
            $.aadAudience = aadAudience;
            return this;
        }

        /**
         * @param aadAudience The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
         * 
         * @return builder
         * 
         */
        public Builder aadAudience(String aadAudience) {
            return aadAudience(Output.of(aadAudience));
        }

        /**
         * @param aadIssuer The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
         * 
         * @return builder
         * 
         */
        public Builder aadIssuer(@Nullable Output aadIssuer) {
            $.aadIssuer = aadIssuer;
            return this;
        }

        /**
         * @param aadIssuer The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
         * 
         * @return builder
         * 
         */
        public Builder aadIssuer(String aadIssuer) {
            return aadIssuer(Output.of(aadIssuer));
        }

        /**
         * @param aadTenant The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
         * 
         * @return builder
         * 
         */
        public Builder aadTenant(@Nullable Output aadTenant) {
            $.aadTenant = aadTenant;
            return this;
        }

        /**
         * @param aadTenant The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
         * 
         * @return builder
         * 
         */
        public Builder aadTenant(String aadTenant) {
            return aadTenant(Output.of(aadTenant));
        }

        /**
         * @param radiusServerAddress The radius server address property of the VirtualNetworkGateway resource for vpn client connection.
         * 
         * @return builder
         * 
         */
        public Builder radiusServerAddress(@Nullable Output radiusServerAddress) {
            $.radiusServerAddress = radiusServerAddress;
            return this;
        }

        /**
         * @param radiusServerAddress The radius server address property of the VirtualNetworkGateway resource for vpn client connection.
         * 
         * @return builder
         * 
         */
        public Builder radiusServerAddress(String radiusServerAddress) {
            return radiusServerAddress(Output.of(radiusServerAddress));
        }

        /**
         * @param radiusServerSecret The radius secret property of the VirtualNetworkGateway resource for vpn client connection.
         * 
         * @return builder
         * 
         */
        public Builder radiusServerSecret(@Nullable Output radiusServerSecret) {
            $.radiusServerSecret = radiusServerSecret;
            return this;
        }

        /**
         * @param radiusServerSecret The radius secret property of the VirtualNetworkGateway resource for vpn client connection.
         * 
         * @return builder
         * 
         */
        public Builder radiusServerSecret(String radiusServerSecret) {
            return radiusServerSecret(Output.of(radiusServerSecret));
        }

        /**
         * @param radiusServers The radiusServers property for multiple radius server configuration.
         * 
         * @return builder
         * 
         */
        public Builder radiusServers(@Nullable Output> radiusServers) {
            $.radiusServers = radiusServers;
            return this;
        }

        /**
         * @param radiusServers The radiusServers property for multiple radius server configuration.
         * 
         * @return builder
         * 
         */
        public Builder radiusServers(List radiusServers) {
            return radiusServers(Output.of(radiusServers));
        }

        /**
         * @param radiusServers The radiusServers property for multiple radius server configuration.
         * 
         * @return builder
         * 
         */
        public Builder radiusServers(RadiusServerArgs... radiusServers) {
            return radiusServers(List.of(radiusServers));
        }

        /**
         * @param vngClientConnectionConfigurations per ip address pool connection policy for virtual network gateway P2S client.
         * 
         * @return builder
         * 
         */
        public Builder vngClientConnectionConfigurations(@Nullable Output> vngClientConnectionConfigurations) {
            $.vngClientConnectionConfigurations = vngClientConnectionConfigurations;
            return this;
        }

        /**
         * @param vngClientConnectionConfigurations per ip address pool connection policy for virtual network gateway P2S client.
         * 
         * @return builder
         * 
         */
        public Builder vngClientConnectionConfigurations(List vngClientConnectionConfigurations) {
            return vngClientConnectionConfigurations(Output.of(vngClientConnectionConfigurations));
        }

        /**
         * @param vngClientConnectionConfigurations per ip address pool connection policy for virtual network gateway P2S client.
         * 
         * @return builder
         * 
         */
        public Builder vngClientConnectionConfigurations(VngClientConnectionConfigurationArgs... vngClientConnectionConfigurations) {
            return vngClientConnectionConfigurations(List.of(vngClientConnectionConfigurations));
        }

        /**
         * @param vpnAuthenticationTypes VPN authentication types for the virtual network gateway..
         * 
         * @return builder
         * 
         */
        public Builder vpnAuthenticationTypes(@Nullable Output>> vpnAuthenticationTypes) {
            $.vpnAuthenticationTypes = vpnAuthenticationTypes;
            return this;
        }

        /**
         * @param vpnAuthenticationTypes VPN authentication types for the virtual network gateway..
         * 
         * @return builder
         * 
         */
        public Builder vpnAuthenticationTypes(List> vpnAuthenticationTypes) {
            return vpnAuthenticationTypes(Output.of(vpnAuthenticationTypes));
        }

        /**
         * @param vpnAuthenticationTypes VPN authentication types for the virtual network gateway..
         * 
         * @return builder
         * 
         */
        public Builder vpnAuthenticationTypes(Either... vpnAuthenticationTypes) {
            return vpnAuthenticationTypes(List.of(vpnAuthenticationTypes));
        }

        /**
         * @param vpnClientAddressPool The reference to the address space resource which represents Address space for P2S VpnClient.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientAddressPool(@Nullable Output vpnClientAddressPool) {
            $.vpnClientAddressPool = vpnClientAddressPool;
            return this;
        }

        /**
         * @param vpnClientAddressPool The reference to the address space resource which represents Address space for P2S VpnClient.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientAddressPool(AddressSpaceArgs vpnClientAddressPool) {
            return vpnClientAddressPool(Output.of(vpnClientAddressPool));
        }

        /**
         * @param vpnClientIpsecPolicies VpnClientIpsecPolicies for virtual network gateway P2S client.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientIpsecPolicies(@Nullable Output> vpnClientIpsecPolicies) {
            $.vpnClientIpsecPolicies = vpnClientIpsecPolicies;
            return this;
        }

        /**
         * @param vpnClientIpsecPolicies VpnClientIpsecPolicies for virtual network gateway P2S client.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientIpsecPolicies(List vpnClientIpsecPolicies) {
            return vpnClientIpsecPolicies(Output.of(vpnClientIpsecPolicies));
        }

        /**
         * @param vpnClientIpsecPolicies VpnClientIpsecPolicies for virtual network gateway P2S client.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientIpsecPolicies(IpsecPolicyArgs... vpnClientIpsecPolicies) {
            return vpnClientIpsecPolicies(List.of(vpnClientIpsecPolicies));
        }

        /**
         * @param vpnClientProtocols VpnClientProtocols for Virtual network gateway.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientProtocols(@Nullable Output>> vpnClientProtocols) {
            $.vpnClientProtocols = vpnClientProtocols;
            return this;
        }

        /**
         * @param vpnClientProtocols VpnClientProtocols for Virtual network gateway.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientProtocols(List> vpnClientProtocols) {
            return vpnClientProtocols(Output.of(vpnClientProtocols));
        }

        /**
         * @param vpnClientProtocols VpnClientProtocols for Virtual network gateway.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientProtocols(Either... vpnClientProtocols) {
            return vpnClientProtocols(List.of(vpnClientProtocols));
        }

        /**
         * @param vpnClientRevokedCertificates VpnClientRevokedCertificate for Virtual network gateway.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientRevokedCertificates(@Nullable Output> vpnClientRevokedCertificates) {
            $.vpnClientRevokedCertificates = vpnClientRevokedCertificates;
            return this;
        }

        /**
         * @param vpnClientRevokedCertificates VpnClientRevokedCertificate for Virtual network gateway.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientRevokedCertificates(List vpnClientRevokedCertificates) {
            return vpnClientRevokedCertificates(Output.of(vpnClientRevokedCertificates));
        }

        /**
         * @param vpnClientRevokedCertificates VpnClientRevokedCertificate for Virtual network gateway.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientRevokedCertificates(VpnClientRevokedCertificateArgs... vpnClientRevokedCertificates) {
            return vpnClientRevokedCertificates(List.of(vpnClientRevokedCertificates));
        }

        /**
         * @param vpnClientRootCertificates VpnClientRootCertificate for virtual network gateway.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientRootCertificates(@Nullable Output> vpnClientRootCertificates) {
            $.vpnClientRootCertificates = vpnClientRootCertificates;
            return this;
        }

        /**
         * @param vpnClientRootCertificates VpnClientRootCertificate for virtual network gateway.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientRootCertificates(List vpnClientRootCertificates) {
            return vpnClientRootCertificates(Output.of(vpnClientRootCertificates));
        }

        /**
         * @param vpnClientRootCertificates VpnClientRootCertificate for virtual network gateway.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientRootCertificates(VpnClientRootCertificateArgs... vpnClientRootCertificates) {
            return vpnClientRootCertificates(List.of(vpnClientRootCertificates));
        }

        public VpnClientConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy