1. Packages
  2. Azure Classic
  3. API Docs
  4. network
  5. VpnServerConfiguration

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

azure.network.VpnServerConfiguration

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

    Manages a VPN Server Configuration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const test = new azure.network.VpnServerConfiguration("test", {
        name: "example-config",
        resourceGroupName: example.name,
        location: example.location,
        vpnAuthenticationTypes: ["Certificate"],
        clientRootCertificates: [{
            name: "DigiCert-Federated-ID-Root-CA",
            publicCertData: `MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
    MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
    d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
    Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
    BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
    Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
    MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
    QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
    zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
    GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
    GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
    Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
    DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
    HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
    jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
    9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
    QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
    uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
    WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
    M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
    `,
        }],
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    test = azure.network.VpnServerConfiguration("test",
        name="example-config",
        resource_group_name=example.name,
        location=example.location,
        vpn_authentication_types=["Certificate"],
        client_root_certificates=[{
            "name": "DigiCert-Federated-ID-Root-CA",
            "public_cert_data": """MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
    MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
    d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
    Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
    BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
    Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
    MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
    QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
    zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
    GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
    GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
    Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
    DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
    HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
    jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
    9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
    QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
    uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
    WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
    M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
    """,
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = network.NewVpnServerConfiguration(ctx, "test", &network.VpnServerConfigurationArgs{
    			Name:              pulumi.String("example-config"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			VpnAuthenticationTypes: pulumi.StringArray{
    				pulumi.String("Certificate"),
    			},
    			ClientRootCertificates: network.VpnServerConfigurationClientRootCertificateArray{
    				&network.VpnServerConfigurationClientRootCertificateArgs{
    					Name: pulumi.String("DigiCert-Federated-ID-Root-CA"),
    					PublicCertData: pulumi.String(`MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
    MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
    d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
    Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
    BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
    Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
    MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
    QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
    zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
    GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
    GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
    Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
    DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
    HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
    jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
    9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
    QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
    uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
    WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
    M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
    `),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var test = new Azure.Network.VpnServerConfiguration("test", new()
        {
            Name = "example-config",
            ResourceGroupName = example.Name,
            Location = example.Location,
            VpnAuthenticationTypes = new[]
            {
                "Certificate",
            },
            ClientRootCertificates = new[]
            {
                new Azure.Network.Inputs.VpnServerConfigurationClientRootCertificateArgs
                {
                    Name = "DigiCert-Federated-ID-Root-CA",
                    PublicCertData = @"MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
    MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
    d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
    Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
    BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
    Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
    MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
    QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
    zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
    GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
    GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
    Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
    DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
    HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
    jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
    9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
    QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
    uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
    WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
    M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
    ",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.network.VpnServerConfiguration;
    import com.pulumi.azure.network.VpnServerConfigurationArgs;
    import com.pulumi.azure.network.inputs.VpnServerConfigurationClientRootCertificateArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var test = new VpnServerConfiguration("test", VpnServerConfigurationArgs.builder()
                .name("example-config")
                .resourceGroupName(example.name())
                .location(example.location())
                .vpnAuthenticationTypes("Certificate")
                .clientRootCertificates(VpnServerConfigurationClientRootCertificateArgs.builder()
                    .name("DigiCert-Federated-ID-Root-CA")
                    .publicCertData("""
    MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
    MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
    d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
    Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
    BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
    Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
    MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
    QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
    zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
    GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
    GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
    Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
    DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
    HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
    jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
    9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
    QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
    uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
    WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
    M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
                    """)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      test:
        type: azure:network:VpnServerConfiguration
        properties:
          name: example-config
          resourceGroupName: ${example.name}
          location: ${example.location}
          vpnAuthenticationTypes:
            - Certificate
          clientRootCertificates:
            - name: DigiCert-Federated-ID-Root-CA
              publicCertData: |
                MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
                MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
                d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
                Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
                BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
                Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
                MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
                QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
                zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
                GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
                GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
                Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
                DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
                HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
                jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
                9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
                QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
                uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
                WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
                M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=            
    

    Create VpnServerConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpnServerConfiguration(name: string, args: VpnServerConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def VpnServerConfiguration(resource_name: str,
                               args: VpnServerConfigurationArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpnServerConfiguration(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               resource_group_name: Optional[str] = None,
                               vpn_authentication_types: Optional[Sequence[str]] = None,
                               azure_active_directory_authentications: Optional[Sequence[VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs]] = None,
                               client_revoked_certificates: Optional[Sequence[VpnServerConfigurationClientRevokedCertificateArgs]] = None,
                               client_root_certificates: Optional[Sequence[VpnServerConfigurationClientRootCertificateArgs]] = None,
                               ipsec_policy: Optional[VpnServerConfigurationIpsecPolicyArgs] = None,
                               location: Optional[str] = None,
                               name: Optional[str] = None,
                               radius: Optional[VpnServerConfigurationRadiusArgs] = None,
                               tags: Optional[Mapping[str, str]] = None,
                               vpn_protocols: Optional[Sequence[str]] = None)
    func NewVpnServerConfiguration(ctx *Context, name string, args VpnServerConfigurationArgs, opts ...ResourceOption) (*VpnServerConfiguration, error)
    public VpnServerConfiguration(string name, VpnServerConfigurationArgs args, CustomResourceOptions? opts = null)
    public VpnServerConfiguration(String name, VpnServerConfigurationArgs args)
    public VpnServerConfiguration(String name, VpnServerConfigurationArgs args, CustomResourceOptions options)
    
    type: azure:network:VpnServerConfiguration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VpnServerConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VpnServerConfigurationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VpnServerConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpnServerConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpnServerConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vpnServerConfigurationResource = new Azure.Network.VpnServerConfiguration("vpnServerConfigurationResource", new()
    {
        ResourceGroupName = "string",
        VpnAuthenticationTypes = new[]
        {
            "string",
        },
        AzureActiveDirectoryAuthentications = new[]
        {
            new Azure.Network.Inputs.VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs
            {
                Audience = "string",
                Issuer = "string",
                Tenant = "string",
            },
        },
        ClientRevokedCertificates = new[]
        {
            new Azure.Network.Inputs.VpnServerConfigurationClientRevokedCertificateArgs
            {
                Name = "string",
                Thumbprint = "string",
            },
        },
        ClientRootCertificates = new[]
        {
            new Azure.Network.Inputs.VpnServerConfigurationClientRootCertificateArgs
            {
                Name = "string",
                PublicCertData = "string",
            },
        },
        IpsecPolicy = new Azure.Network.Inputs.VpnServerConfigurationIpsecPolicyArgs
        {
            DhGroup = "string",
            IkeEncryption = "string",
            IkeIntegrity = "string",
            IpsecEncryption = "string",
            IpsecIntegrity = "string",
            PfsGroup = "string",
            SaDataSizeKilobytes = 0,
            SaLifetimeSeconds = 0,
        },
        Location = "string",
        Name = "string",
        Radius = new Azure.Network.Inputs.VpnServerConfigurationRadiusArgs
        {
            ClientRootCertificates = new[]
            {
                new Azure.Network.Inputs.VpnServerConfigurationRadiusClientRootCertificateArgs
                {
                    Name = "string",
                    Thumbprint = "string",
                },
            },
            ServerRootCertificates = new[]
            {
                new Azure.Network.Inputs.VpnServerConfigurationRadiusServerRootCertificateArgs
                {
                    Name = "string",
                    PublicCertData = "string",
                },
            },
            Servers = new[]
            {
                new Azure.Network.Inputs.VpnServerConfigurationRadiusServerArgs
                {
                    Address = "string",
                    Score = 0,
                    Secret = "string",
                },
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
        VpnProtocols = new[]
        {
            "string",
        },
    });
    
    example, err := network.NewVpnServerConfiguration(ctx, "vpnServerConfigurationResource", &network.VpnServerConfigurationArgs{
    	ResourceGroupName: pulumi.String("string"),
    	VpnAuthenticationTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AzureActiveDirectoryAuthentications: network.VpnServerConfigurationAzureActiveDirectoryAuthenticationArray{
    		&network.VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs{
    			Audience: pulumi.String("string"),
    			Issuer:   pulumi.String("string"),
    			Tenant:   pulumi.String("string"),
    		},
    	},
    	ClientRevokedCertificates: network.VpnServerConfigurationClientRevokedCertificateArray{
    		&network.VpnServerConfigurationClientRevokedCertificateArgs{
    			Name:       pulumi.String("string"),
    			Thumbprint: pulumi.String("string"),
    		},
    	},
    	ClientRootCertificates: network.VpnServerConfigurationClientRootCertificateArray{
    		&network.VpnServerConfigurationClientRootCertificateArgs{
    			Name:           pulumi.String("string"),
    			PublicCertData: pulumi.String("string"),
    		},
    	},
    	IpsecPolicy: &network.VpnServerConfigurationIpsecPolicyArgs{
    		DhGroup:             pulumi.String("string"),
    		IkeEncryption:       pulumi.String("string"),
    		IkeIntegrity:        pulumi.String("string"),
    		IpsecEncryption:     pulumi.String("string"),
    		IpsecIntegrity:      pulumi.String("string"),
    		PfsGroup:            pulumi.String("string"),
    		SaDataSizeKilobytes: pulumi.Int(0),
    		SaLifetimeSeconds:   pulumi.Int(0),
    	},
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Radius: &network.VpnServerConfigurationRadiusArgs{
    		ClientRootCertificates: network.VpnServerConfigurationRadiusClientRootCertificateArray{
    			&network.VpnServerConfigurationRadiusClientRootCertificateArgs{
    				Name:       pulumi.String("string"),
    				Thumbprint: pulumi.String("string"),
    			},
    		},
    		ServerRootCertificates: network.VpnServerConfigurationRadiusServerRootCertificateArray{
    			&network.VpnServerConfigurationRadiusServerRootCertificateArgs{
    				Name:           pulumi.String("string"),
    				PublicCertData: pulumi.String("string"),
    			},
    		},
    		Servers: network.VpnServerConfigurationRadiusServerArray{
    			&network.VpnServerConfigurationRadiusServerArgs{
    				Address: pulumi.String("string"),
    				Score:   pulumi.Int(0),
    				Secret:  pulumi.String("string"),
    			},
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	VpnProtocols: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var vpnServerConfigurationResource = new VpnServerConfiguration("vpnServerConfigurationResource", VpnServerConfigurationArgs.builder()
        .resourceGroupName("string")
        .vpnAuthenticationTypes("string")
        .azureActiveDirectoryAuthentications(VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs.builder()
            .audience("string")
            .issuer("string")
            .tenant("string")
            .build())
        .clientRevokedCertificates(VpnServerConfigurationClientRevokedCertificateArgs.builder()
            .name("string")
            .thumbprint("string")
            .build())
        .clientRootCertificates(VpnServerConfigurationClientRootCertificateArgs.builder()
            .name("string")
            .publicCertData("string")
            .build())
        .ipsecPolicy(VpnServerConfigurationIpsecPolicyArgs.builder()
            .dhGroup("string")
            .ikeEncryption("string")
            .ikeIntegrity("string")
            .ipsecEncryption("string")
            .ipsecIntegrity("string")
            .pfsGroup("string")
            .saDataSizeKilobytes(0)
            .saLifetimeSeconds(0)
            .build())
        .location("string")
        .name("string")
        .radius(VpnServerConfigurationRadiusArgs.builder()
            .clientRootCertificates(VpnServerConfigurationRadiusClientRootCertificateArgs.builder()
                .name("string")
                .thumbprint("string")
                .build())
            .serverRootCertificates(VpnServerConfigurationRadiusServerRootCertificateArgs.builder()
                .name("string")
                .publicCertData("string")
                .build())
            .servers(VpnServerConfigurationRadiusServerArgs.builder()
                .address("string")
                .score(0)
                .secret("string")
                .build())
            .build())
        .tags(Map.of("string", "string"))
        .vpnProtocols("string")
        .build());
    
    vpn_server_configuration_resource = azure.network.VpnServerConfiguration("vpnServerConfigurationResource",
        resource_group_name="string",
        vpn_authentication_types=["string"],
        azure_active_directory_authentications=[{
            "audience": "string",
            "issuer": "string",
            "tenant": "string",
        }],
        client_revoked_certificates=[{
            "name": "string",
            "thumbprint": "string",
        }],
        client_root_certificates=[{
            "name": "string",
            "publicCertData": "string",
        }],
        ipsec_policy={
            "dhGroup": "string",
            "ikeEncryption": "string",
            "ikeIntegrity": "string",
            "ipsecEncryption": "string",
            "ipsecIntegrity": "string",
            "pfsGroup": "string",
            "saDataSizeKilobytes": 0,
            "saLifetimeSeconds": 0,
        },
        location="string",
        name="string",
        radius={
            "clientRootCertificates": [{
                "name": "string",
                "thumbprint": "string",
            }],
            "serverRootCertificates": [{
                "name": "string",
                "publicCertData": "string",
            }],
            "servers": [{
                "address": "string",
                "score": 0,
                "secret": "string",
            }],
        },
        tags={
            "string": "string",
        },
        vpn_protocols=["string"])
    
    const vpnServerConfigurationResource = new azure.network.VpnServerConfiguration("vpnServerConfigurationResource", {
        resourceGroupName: "string",
        vpnAuthenticationTypes: ["string"],
        azureActiveDirectoryAuthentications: [{
            audience: "string",
            issuer: "string",
            tenant: "string",
        }],
        clientRevokedCertificates: [{
            name: "string",
            thumbprint: "string",
        }],
        clientRootCertificates: [{
            name: "string",
            publicCertData: "string",
        }],
        ipsecPolicy: {
            dhGroup: "string",
            ikeEncryption: "string",
            ikeIntegrity: "string",
            ipsecEncryption: "string",
            ipsecIntegrity: "string",
            pfsGroup: "string",
            saDataSizeKilobytes: 0,
            saLifetimeSeconds: 0,
        },
        location: "string",
        name: "string",
        radius: {
            clientRootCertificates: [{
                name: "string",
                thumbprint: "string",
            }],
            serverRootCertificates: [{
                name: "string",
                publicCertData: "string",
            }],
            servers: [{
                address: "string",
                score: 0,
                secret: "string",
            }],
        },
        tags: {
            string: "string",
        },
        vpnProtocols: ["string"],
    });
    
    type: azure:network:VpnServerConfiguration
    properties:
        azureActiveDirectoryAuthentications:
            - audience: string
              issuer: string
              tenant: string
        clientRevokedCertificates:
            - name: string
              thumbprint: string
        clientRootCertificates:
            - name: string
              publicCertData: string
        ipsecPolicy:
            dhGroup: string
            ikeEncryption: string
            ikeIntegrity: string
            ipsecEncryption: string
            ipsecIntegrity: string
            pfsGroup: string
            saDataSizeKilobytes: 0
            saLifetimeSeconds: 0
        location: string
        name: string
        radius:
            clientRootCertificates:
                - name: string
                  thumbprint: string
            serverRootCertificates:
                - name: string
                  publicCertData: string
            servers:
                - address: string
                  score: 0
                  secret: string
        resourceGroupName: string
        tags:
            string: string
        vpnAuthenticationTypes:
            - string
        vpnProtocols:
            - string
    

    VpnServerConfiguration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The VpnServerConfiguration resource accepts the following input properties:

    ResourceGroupName string
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    VpnAuthenticationTypes List<string>
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    AzureActiveDirectoryAuthentications List<VpnServerConfigurationAzureActiveDirectoryAuthentication>
    ClientRevokedCertificates List<VpnServerConfigurationClientRevokedCertificate>
    ClientRootCertificates List<VpnServerConfigurationClientRootCertificate>
    IpsecPolicy VpnServerConfigurationIpsecPolicy
    A ipsec_policy block as defined below.
    Location string
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    Name string
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    Radius VpnServerConfigurationRadius
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    VpnProtocols List<string>
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.
    ResourceGroupName string
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    VpnAuthenticationTypes []string
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    AzureActiveDirectoryAuthentications []VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs
    ClientRevokedCertificates []VpnServerConfigurationClientRevokedCertificateArgs
    ClientRootCertificates []VpnServerConfigurationClientRootCertificateArgs
    IpsecPolicy VpnServerConfigurationIpsecPolicyArgs
    A ipsec_policy block as defined below.
    Location string
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    Name string
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    Radius VpnServerConfigurationRadiusArgs
    Tags map[string]string
    A mapping of tags to assign to the resource.
    VpnProtocols []string
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.
    resourceGroupName String
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    vpnAuthenticationTypes List<String>
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    azureActiveDirectoryAuthentications List<VpnServerConfigurationAzureActiveDirectoryAuthentication>
    clientRevokedCertificates List<VpnServerConfigurationClientRevokedCertificate>
    clientRootCertificates List<VpnServerConfigurationClientRootCertificate>
    ipsecPolicy VpnServerConfigurationIpsecPolicy
    A ipsec_policy block as defined below.
    location String
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    name String
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    radius VpnServerConfigurationRadius
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    vpnProtocols List<String>
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.
    resourceGroupName string
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    vpnAuthenticationTypes string[]
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    azureActiveDirectoryAuthentications VpnServerConfigurationAzureActiveDirectoryAuthentication[]
    clientRevokedCertificates VpnServerConfigurationClientRevokedCertificate[]
    clientRootCertificates VpnServerConfigurationClientRootCertificate[]
    ipsecPolicy VpnServerConfigurationIpsecPolicy
    A ipsec_policy block as defined below.
    location string
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    name string
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    radius VpnServerConfigurationRadius
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    vpnProtocols string[]
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.
    resource_group_name str
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    vpn_authentication_types Sequence[str]
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    azure_active_directory_authentications Sequence[VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs]
    client_revoked_certificates Sequence[VpnServerConfigurationClientRevokedCertificateArgs]
    client_root_certificates Sequence[VpnServerConfigurationClientRootCertificateArgs]
    ipsec_policy VpnServerConfigurationIpsecPolicyArgs
    A ipsec_policy block as defined below.
    location str
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    name str
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    radius VpnServerConfigurationRadiusArgs
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    vpn_protocols Sequence[str]
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.
    resourceGroupName String
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    vpnAuthenticationTypes List<String>
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    azureActiveDirectoryAuthentications List<Property Map>
    clientRevokedCertificates List<Property Map>
    clientRootCertificates List<Property Map>
    ipsecPolicy Property Map
    A ipsec_policy block as defined below.
    location String
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    name String
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    radius Property Map
    tags Map<String>
    A mapping of tags to assign to the resource.
    vpnProtocols List<String>
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpnServerConfiguration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VpnServerConfiguration Resource

    Get an existing VpnServerConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VpnServerConfigurationState, opts?: CustomResourceOptions): VpnServerConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            azure_active_directory_authentications: Optional[Sequence[VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs]] = None,
            client_revoked_certificates: Optional[Sequence[VpnServerConfigurationClientRevokedCertificateArgs]] = None,
            client_root_certificates: Optional[Sequence[VpnServerConfigurationClientRootCertificateArgs]] = None,
            ipsec_policy: Optional[VpnServerConfigurationIpsecPolicyArgs] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            radius: Optional[VpnServerConfigurationRadiusArgs] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            vpn_authentication_types: Optional[Sequence[str]] = None,
            vpn_protocols: Optional[Sequence[str]] = None) -> VpnServerConfiguration
    func GetVpnServerConfiguration(ctx *Context, name string, id IDInput, state *VpnServerConfigurationState, opts ...ResourceOption) (*VpnServerConfiguration, error)
    public static VpnServerConfiguration Get(string name, Input<string> id, VpnServerConfigurationState? state, CustomResourceOptions? opts = null)
    public static VpnServerConfiguration get(String name, Output<String> id, VpnServerConfigurationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AzureActiveDirectoryAuthentications List<VpnServerConfigurationAzureActiveDirectoryAuthentication>
    ClientRevokedCertificates List<VpnServerConfigurationClientRevokedCertificate>
    ClientRootCertificates List<VpnServerConfigurationClientRootCertificate>
    IpsecPolicy VpnServerConfigurationIpsecPolicy
    A ipsec_policy block as defined below.
    Location string
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    Name string
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    Radius VpnServerConfigurationRadius
    ResourceGroupName string
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    VpnAuthenticationTypes List<string>
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    VpnProtocols List<string>
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.
    AzureActiveDirectoryAuthentications []VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs
    ClientRevokedCertificates []VpnServerConfigurationClientRevokedCertificateArgs
    ClientRootCertificates []VpnServerConfigurationClientRootCertificateArgs
    IpsecPolicy VpnServerConfigurationIpsecPolicyArgs
    A ipsec_policy block as defined below.
    Location string
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    Name string
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    Radius VpnServerConfigurationRadiusArgs
    ResourceGroupName string
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    VpnAuthenticationTypes []string
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    VpnProtocols []string
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.
    azureActiveDirectoryAuthentications List<VpnServerConfigurationAzureActiveDirectoryAuthentication>
    clientRevokedCertificates List<VpnServerConfigurationClientRevokedCertificate>
    clientRootCertificates List<VpnServerConfigurationClientRootCertificate>
    ipsecPolicy VpnServerConfigurationIpsecPolicy
    A ipsec_policy block as defined below.
    location String
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    name String
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    radius VpnServerConfigurationRadius
    resourceGroupName String
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    vpnAuthenticationTypes List<String>
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    vpnProtocols List<String>
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.
    azureActiveDirectoryAuthentications VpnServerConfigurationAzureActiveDirectoryAuthentication[]
    clientRevokedCertificates VpnServerConfigurationClientRevokedCertificate[]
    clientRootCertificates VpnServerConfigurationClientRootCertificate[]
    ipsecPolicy VpnServerConfigurationIpsecPolicy
    A ipsec_policy block as defined below.
    location string
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    name string
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    radius VpnServerConfigurationRadius
    resourceGroupName string
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    vpnAuthenticationTypes string[]
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    vpnProtocols string[]
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.
    azure_active_directory_authentications Sequence[VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs]
    client_revoked_certificates Sequence[VpnServerConfigurationClientRevokedCertificateArgs]
    client_root_certificates Sequence[VpnServerConfigurationClientRootCertificateArgs]
    ipsec_policy VpnServerConfigurationIpsecPolicyArgs
    A ipsec_policy block as defined below.
    location str
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    name str
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    radius VpnServerConfigurationRadiusArgs
    resource_group_name str
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    vpn_authentication_types Sequence[str]
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    vpn_protocols Sequence[str]
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.
    azureActiveDirectoryAuthentications List<Property Map>
    clientRevokedCertificates List<Property Map>
    clientRootCertificates List<Property Map>
    ipsecPolicy Property Map
    A ipsec_policy block as defined below.
    location String
    The Azure location where this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    name String
    The Name which should be used for this VPN Server Configuration. Changing this forces a new resource to be created.
    radius Property Map
    resourceGroupName String
    The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags to assign to the resource.
    vpnAuthenticationTypes List<String>
    A list of Authentication Types applicable for this VPN Server Configuration. Possible values are AAD (Azure Active Directory), Certificate and Radius.
    vpnProtocols List<String>
    A list of VPN Protocols to use for this Server Configuration. Possible values are IkeV2 and OpenVPN.

    Supporting Types

    VpnServerConfigurationAzureActiveDirectoryAuthentication, VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs

    Audience string
    The Audience which should be used for authentication.
    Issuer string
    The Issuer which should be used for authentication.
    Tenant string
    The Tenant which should be used for authentication.
    Audience string
    The Audience which should be used for authentication.
    Issuer string
    The Issuer which should be used for authentication.
    Tenant string
    The Tenant which should be used for authentication.
    audience String
    The Audience which should be used for authentication.
    issuer String
    The Issuer which should be used for authentication.
    tenant String
    The Tenant which should be used for authentication.
    audience string
    The Audience which should be used for authentication.
    issuer string
    The Issuer which should be used for authentication.
    tenant string
    The Tenant which should be used for authentication.
    audience str
    The Audience which should be used for authentication.
    issuer str
    The Issuer which should be used for authentication.
    tenant str
    The Tenant which should be used for authentication.
    audience String
    The Audience which should be used for authentication.
    issuer String
    The Issuer which should be used for authentication.
    tenant String
    The Tenant which should be used for authentication.

    VpnServerConfigurationClientRevokedCertificate, VpnServerConfigurationClientRevokedCertificateArgs

    Name string
    A name used to uniquely identify this certificate.
    Thumbprint string
    The Thumbprint of the Certificate.
    Name string
    A name used to uniquely identify this certificate.
    Thumbprint string
    The Thumbprint of the Certificate.
    name String
    A name used to uniquely identify this certificate.
    thumbprint String
    The Thumbprint of the Certificate.
    name string
    A name used to uniquely identify this certificate.
    thumbprint string
    The Thumbprint of the Certificate.
    name str
    A name used to uniquely identify this certificate.
    thumbprint str
    The Thumbprint of the Certificate.
    name String
    A name used to uniquely identify this certificate.
    thumbprint String
    The Thumbprint of the Certificate.

    VpnServerConfigurationClientRootCertificate, VpnServerConfigurationClientRootCertificateArgs

    Name string
    A name used to uniquely identify this certificate.
    PublicCertData string
    The Public Key Data associated with the Certificate.
    Name string
    A name used to uniquely identify this certificate.
    PublicCertData string
    The Public Key Data associated with the Certificate.
    name String
    A name used to uniquely identify this certificate.
    publicCertData String
    The Public Key Data associated with the Certificate.
    name string
    A name used to uniquely identify this certificate.
    publicCertData string
    The Public Key Data associated with the Certificate.
    name str
    A name used to uniquely identify this certificate.
    public_cert_data str
    The Public Key Data associated with the Certificate.
    name String
    A name used to uniquely identify this certificate.
    publicCertData String
    The Public Key Data associated with the Certificate.

    VpnServerConfigurationIpsecPolicy, VpnServerConfigurationIpsecPolicyArgs

    DhGroup string
    The DH Group, used in IKE Phase 1. Possible values include DHGroup1, DHGroup2, DHGroup14, DHGroup24, DHGroup2048, ECP256, ECP384 and None.
    IkeEncryption string
    The IKE encryption algorithm, used for IKE Phase 2. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128 and GCMAES256.
    IkeIntegrity string
    The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include GCMAES128, GCMAES256, MD5, SHA1, SHA256 and SHA384.
    IpsecEncryption string
    The IPSec encryption algorithm, used for IKE phase 1. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128, GCMAES192, GCMAES256 and None.
    IpsecIntegrity string
    The IPSec integrity algorithm, used for IKE phase 1. Possible values include GCMAES128, GCMAES192, GCMAES256, MD5, SHA1 and SHA256.
    PfsGroup string
    The Pfs Group, used in IKE Phase 2. Possible values include ECP256, ECP384, PFS1, PFS2, PFS14, PFS24, PFS2048, PFSMM and None.
    SaDataSizeKilobytes int
    The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
    SaLifetimeSeconds int
    The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
    DhGroup string
    The DH Group, used in IKE Phase 1. Possible values include DHGroup1, DHGroup2, DHGroup14, DHGroup24, DHGroup2048, ECP256, ECP384 and None.
    IkeEncryption string
    The IKE encryption algorithm, used for IKE Phase 2. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128 and GCMAES256.
    IkeIntegrity string
    The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include GCMAES128, GCMAES256, MD5, SHA1, SHA256 and SHA384.
    IpsecEncryption string
    The IPSec encryption algorithm, used for IKE phase 1. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128, GCMAES192, GCMAES256 and None.
    IpsecIntegrity string
    The IPSec integrity algorithm, used for IKE phase 1. Possible values include GCMAES128, GCMAES192, GCMAES256, MD5, SHA1 and SHA256.
    PfsGroup string
    The Pfs Group, used in IKE Phase 2. Possible values include ECP256, ECP384, PFS1, PFS2, PFS14, PFS24, PFS2048, PFSMM and None.
    SaDataSizeKilobytes int
    The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
    SaLifetimeSeconds int
    The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
    dhGroup String
    The DH Group, used in IKE Phase 1. Possible values include DHGroup1, DHGroup2, DHGroup14, DHGroup24, DHGroup2048, ECP256, ECP384 and None.
    ikeEncryption String
    The IKE encryption algorithm, used for IKE Phase 2. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128 and GCMAES256.
    ikeIntegrity String
    The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include GCMAES128, GCMAES256, MD5, SHA1, SHA256 and SHA384.
    ipsecEncryption String
    The IPSec encryption algorithm, used for IKE phase 1. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128, GCMAES192, GCMAES256 and None.
    ipsecIntegrity String
    The IPSec integrity algorithm, used for IKE phase 1. Possible values include GCMAES128, GCMAES192, GCMAES256, MD5, SHA1 and SHA256.
    pfsGroup String
    The Pfs Group, used in IKE Phase 2. Possible values include ECP256, ECP384, PFS1, PFS2, PFS14, PFS24, PFS2048, PFSMM and None.
    saDataSizeKilobytes Integer
    The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
    saLifetimeSeconds Integer
    The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
    dhGroup string
    The DH Group, used in IKE Phase 1. Possible values include DHGroup1, DHGroup2, DHGroup14, DHGroup24, DHGroup2048, ECP256, ECP384 and None.
    ikeEncryption string
    The IKE encryption algorithm, used for IKE Phase 2. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128 and GCMAES256.
    ikeIntegrity string
    The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include GCMAES128, GCMAES256, MD5, SHA1, SHA256 and SHA384.
    ipsecEncryption string
    The IPSec encryption algorithm, used for IKE phase 1. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128, GCMAES192, GCMAES256 and None.
    ipsecIntegrity string
    The IPSec integrity algorithm, used for IKE phase 1. Possible values include GCMAES128, GCMAES192, GCMAES256, MD5, SHA1 and SHA256.
    pfsGroup string
    The Pfs Group, used in IKE Phase 2. Possible values include ECP256, ECP384, PFS1, PFS2, PFS14, PFS24, PFS2048, PFSMM and None.
    saDataSizeKilobytes number
    The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
    saLifetimeSeconds number
    The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
    dh_group str
    The DH Group, used in IKE Phase 1. Possible values include DHGroup1, DHGroup2, DHGroup14, DHGroup24, DHGroup2048, ECP256, ECP384 and None.
    ike_encryption str
    The IKE encryption algorithm, used for IKE Phase 2. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128 and GCMAES256.
    ike_integrity str
    The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include GCMAES128, GCMAES256, MD5, SHA1, SHA256 and SHA384.
    ipsec_encryption str
    The IPSec encryption algorithm, used for IKE phase 1. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128, GCMAES192, GCMAES256 and None.
    ipsec_integrity str
    The IPSec integrity algorithm, used for IKE phase 1. Possible values include GCMAES128, GCMAES192, GCMAES256, MD5, SHA1 and SHA256.
    pfs_group str
    The Pfs Group, used in IKE Phase 2. Possible values include ECP256, ECP384, PFS1, PFS2, PFS14, PFS24, PFS2048, PFSMM and None.
    sa_data_size_kilobytes int
    The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
    sa_lifetime_seconds int
    The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
    dhGroup String
    The DH Group, used in IKE Phase 1. Possible values include DHGroup1, DHGroup2, DHGroup14, DHGroup24, DHGroup2048, ECP256, ECP384 and None.
    ikeEncryption String
    The IKE encryption algorithm, used for IKE Phase 2. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128 and GCMAES256.
    ikeIntegrity String
    The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include GCMAES128, GCMAES256, MD5, SHA1, SHA256 and SHA384.
    ipsecEncryption String
    The IPSec encryption algorithm, used for IKE phase 1. Possible values include AES128, AES192, AES256, DES, DES3, GCMAES128, GCMAES192, GCMAES256 and None.
    ipsecIntegrity String
    The IPSec integrity algorithm, used for IKE phase 1. Possible values include GCMAES128, GCMAES192, GCMAES256, MD5, SHA1 and SHA256.
    pfsGroup String
    The Pfs Group, used in IKE Phase 2. Possible values include ECP256, ECP384, PFS1, PFS2, PFS14, PFS24, PFS2048, PFSMM and None.
    saDataSizeKilobytes Number
    The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
    saLifetimeSeconds Number
    The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.

    VpnServerConfigurationRadius, VpnServerConfigurationRadiusArgs

    ClientRootCertificates List<VpnServerConfigurationRadiusClientRootCertificate>
    One or more client_root_certificate blocks as defined below.
    ServerRootCertificates List<VpnServerConfigurationRadiusServerRootCertificate>
    One or more server_root_certificate blocks as defined below.
    Servers List<VpnServerConfigurationRadiusServer>
    One or more server blocks as defined below.
    ClientRootCertificates []VpnServerConfigurationRadiusClientRootCertificate
    One or more client_root_certificate blocks as defined below.
    ServerRootCertificates []VpnServerConfigurationRadiusServerRootCertificate
    One or more server_root_certificate blocks as defined below.
    Servers []VpnServerConfigurationRadiusServer
    One or more server blocks as defined below.
    clientRootCertificates List<VpnServerConfigurationRadiusClientRootCertificate>
    One or more client_root_certificate blocks as defined below.
    serverRootCertificates List<VpnServerConfigurationRadiusServerRootCertificate>
    One or more server_root_certificate blocks as defined below.
    servers List<VpnServerConfigurationRadiusServer>
    One or more server blocks as defined below.
    clientRootCertificates VpnServerConfigurationRadiusClientRootCertificate[]
    One or more client_root_certificate blocks as defined below.
    serverRootCertificates VpnServerConfigurationRadiusServerRootCertificate[]
    One or more server_root_certificate blocks as defined below.
    servers VpnServerConfigurationRadiusServer[]
    One or more server blocks as defined below.
    client_root_certificates Sequence[VpnServerConfigurationRadiusClientRootCertificate]
    One or more client_root_certificate blocks as defined below.
    server_root_certificates Sequence[VpnServerConfigurationRadiusServerRootCertificate]
    One or more server_root_certificate blocks as defined below.
    servers Sequence[VpnServerConfigurationRadiusServer]
    One or more server blocks as defined below.
    clientRootCertificates List<Property Map>
    One or more client_root_certificate blocks as defined below.
    serverRootCertificates List<Property Map>
    One or more server_root_certificate blocks as defined below.
    servers List<Property Map>
    One or more server blocks as defined below.

    VpnServerConfigurationRadiusClientRootCertificate, VpnServerConfigurationRadiusClientRootCertificateArgs

    Name string
    A name used to uniquely identify this certificate.
    Thumbprint string
    The Thumbprint of the Certificate.
    Name string
    A name used to uniquely identify this certificate.
    Thumbprint string
    The Thumbprint of the Certificate.
    name String
    A name used to uniquely identify this certificate.
    thumbprint String
    The Thumbprint of the Certificate.
    name string
    A name used to uniquely identify this certificate.
    thumbprint string
    The Thumbprint of the Certificate.
    name str
    A name used to uniquely identify this certificate.
    thumbprint str
    The Thumbprint of the Certificate.
    name String
    A name used to uniquely identify this certificate.
    thumbprint String
    The Thumbprint of the Certificate.

    VpnServerConfigurationRadiusServer, VpnServerConfigurationRadiusServerArgs

    Address string
    The Address of the Radius Server.
    Score int
    The Score of the Radius Server determines the priority of the server. Ranges from 1 to 30.
    Secret string
    The Secret used to communicate with the Radius Server.
    Address string
    The Address of the Radius Server.
    Score int
    The Score of the Radius Server determines the priority of the server. Ranges from 1 to 30.
    Secret string
    The Secret used to communicate with the Radius Server.
    address String
    The Address of the Radius Server.
    score Integer
    The Score of the Radius Server determines the priority of the server. Ranges from 1 to 30.
    secret String
    The Secret used to communicate with the Radius Server.
    address string
    The Address of the Radius Server.
    score number
    The Score of the Radius Server determines the priority of the server. Ranges from 1 to 30.
    secret string
    The Secret used to communicate with the Radius Server.
    address str
    The Address of the Radius Server.
    score int
    The Score of the Radius Server determines the priority of the server. Ranges from 1 to 30.
    secret str
    The Secret used to communicate with the Radius Server.
    address String
    The Address of the Radius Server.
    score Number
    The Score of the Radius Server determines the priority of the server. Ranges from 1 to 30.
    secret String
    The Secret used to communicate with the Radius Server.

    VpnServerConfigurationRadiusServerRootCertificate, VpnServerConfigurationRadiusServerRootCertificateArgs

    Name string
    A name used to uniquely identify this certificate.
    PublicCertData string
    The Public Key Data associated with the Certificate.
    Name string
    A name used to uniquely identify this certificate.
    PublicCertData string
    The Public Key Data associated with the Certificate.
    name String
    A name used to uniquely identify this certificate.
    publicCertData String
    The Public Key Data associated with the Certificate.
    name string
    A name used to uniquely identify this certificate.
    publicCertData string
    The Public Key Data associated with the Certificate.
    name str
    A name used to uniquely identify this certificate.
    public_cert_data str
    The Public Key Data associated with the Certificate.
    name String
    A name used to uniquely identify this certificate.
    publicCertData String
    The Public Key Data associated with the Certificate.

    Import

    VPN Server Configurations can be imported using the resource id, e.g.

    $ pulumi import azure:network/vpnServerConfiguration:VpnServerConfiguration config1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/vpnServerConfigurations/config1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi