We recommend using Azure Native.
azure.network.VpnServerConfiguration
Explore with Pulumi AI
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",
"public_cert_data": "string",
}],
ipsec_policy={
"dh_group": "string",
"ike_encryption": "string",
"ike_integrity": "string",
"ipsec_encryption": "string",
"ipsec_integrity": "string",
"pfs_group": "string",
"sa_data_size_kilobytes": 0,
"sa_lifetime_seconds": 0,
},
location="string",
name="string",
radius={
"client_root_certificates": [{
"name": "string",
"thumbprint": "string",
}],
"server_root_certificates": [{
"name": "string",
"public_cert_data": "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VpnServerConfiguration resource accepts the following input properties:
- Resource
Group stringName - 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 List<string>Types - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - Azure
Active List<VpnDirectory Authentications Server Configuration Azure Active Directory Authentication> - Client
Revoked List<VpnCertificates Server Configuration Client Revoked Certificate> - Client
Root List<VpnCertificates Server Configuration Client Root Certificate> - Ipsec
Policy VpnServer Configuration Ipsec Policy - 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
Vpn
Server Configuration Radius - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Vpn
Protocols List<string> - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
- Resource
Group stringName - 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 []stringTypes - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - Azure
Active []VpnDirectory Authentications Server Configuration Azure Active Directory Authentication Args - Client
Revoked []VpnCertificates Server Configuration Client Revoked Certificate Args - Client
Root []VpnCertificates Server Configuration Client Root Certificate Args - Ipsec
Policy VpnServer Configuration Ipsec Policy Args - 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
Vpn
Server Configuration Radius Args - map[string]string
- A mapping of tags to assign to the resource.
- Vpn
Protocols []string - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
- resource
Group StringName - 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 List<String>Types - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - azure
Active List<VpnDirectory Authentications Server Configuration Azure Active Directory Authentication> - client
Revoked List<VpnCertificates Server Configuration Client Revoked Certificate> - client
Root List<VpnCertificates Server Configuration Client Root Certificate> - ipsec
Policy VpnServer Configuration Ipsec Policy - 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
Vpn
Server Configuration Radius - Map<String,String>
- A mapping of tags to assign to the resource.
- vpn
Protocols List<String> - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
- resource
Group stringName - 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 string[]Types - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - azure
Active VpnDirectory Authentications Server Configuration Azure Active Directory Authentication[] - client
Revoked VpnCertificates Server Configuration Client Revoked Certificate[] - client
Root VpnCertificates Server Configuration Client Root Certificate[] - ipsec
Policy VpnServer Configuration Ipsec Policy - 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
Vpn
Server Configuration Radius - {[key: string]: string}
- A mapping of tags to assign to the resource.
- vpn
Protocols string[] - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
- resource_
group_ strname - 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_ Sequence[str]types - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - azure_
active_ Sequence[Vpndirectory_ authentications Server Configuration Azure Active Directory Authentication Args] - client_
revoked_ Sequence[Vpncertificates Server Configuration Client Revoked Certificate Args] - client_
root_ Sequence[Vpncertificates Server Configuration Client Root Certificate Args] - ipsec_
policy VpnServer Configuration Ipsec Policy Args - 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
Vpn
Server Configuration Radius Args - 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
andOpenVPN
.
- resource
Group StringName - 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 List<String>Types - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - azure
Active List<Property Map>Directory Authentications - client
Revoked List<Property Map>Certificates - client
Root List<Property Map>Certificates - ipsec
Policy 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
- Map<String>
- A mapping of tags to assign to the resource.
- vpn
Protocols List<String> - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
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.
- Azure
Active List<VpnDirectory Authentications Server Configuration Azure Active Directory Authentication> - Client
Revoked List<VpnCertificates Server Configuration Client Revoked Certificate> - Client
Root List<VpnCertificates Server Configuration Client Root Certificate> - Ipsec
Policy VpnServer Configuration Ipsec Policy - 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
Vpn
Server Configuration Radius - Resource
Group stringName - The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Vpn
Authentication List<string>Types - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - Vpn
Protocols List<string> - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
- Azure
Active []VpnDirectory Authentications Server Configuration Azure Active Directory Authentication Args - Client
Revoked []VpnCertificates Server Configuration Client Revoked Certificate Args - Client
Root []VpnCertificates Server Configuration Client Root Certificate Args - Ipsec
Policy VpnServer Configuration Ipsec Policy Args - 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
Vpn
Server Configuration Radius Args - Resource
Group stringName - The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the resource.
- Vpn
Authentication []stringTypes - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - Vpn
Protocols []string - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
- azure
Active List<VpnDirectory Authentications Server Configuration Azure Active Directory Authentication> - client
Revoked List<VpnCertificates Server Configuration Client Revoked Certificate> - client
Root List<VpnCertificates Server Configuration Client Root Certificate> - ipsec
Policy VpnServer Configuration Ipsec Policy - 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
Vpn
Server Configuration Radius - resource
Group StringName - The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the resource.
- vpn
Authentication List<String>Types - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - vpn
Protocols List<String> - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
- azure
Active VpnDirectory Authentications Server Configuration Azure Active Directory Authentication[] - client
Revoked VpnCertificates Server Configuration Client Revoked Certificate[] - client
Root VpnCertificates Server Configuration Client Root Certificate[] - ipsec
Policy VpnServer Configuration Ipsec Policy - 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
Vpn
Server Configuration Radius - resource
Group stringName - The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- vpn
Authentication string[]Types - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - vpn
Protocols string[] - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
- azure_
active_ Sequence[Vpndirectory_ authentications Server Configuration Azure Active Directory Authentication Args] - client_
revoked_ Sequence[Vpncertificates Server Configuration Client Revoked Certificate Args] - client_
root_ Sequence[Vpncertificates Server Configuration Client Root Certificate Args] - ipsec_
policy VpnServer Configuration Ipsec Policy Args - 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
Vpn
Server Configuration Radius Args - resource_
group_ strname - The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- vpn_
authentication_ Sequence[str]types - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - vpn_
protocols Sequence[str] - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
- azure
Active List<Property Map>Directory Authentications - client
Revoked List<Property Map>Certificates - client
Root List<Property Map>Certificates - ipsec
Policy 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
- resource
Group StringName - The Name of the Resource Group in which this VPN Server Configuration should be created. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the resource.
- vpn
Authentication List<String>Types - A list of Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD
(Azure Active Directory),Certificate
andRadius
. - vpn
Protocols List<String> - A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2
andOpenVPN
.
Supporting Types
VpnServerConfigurationAzureActiveDirectoryAuthentication, VpnServerConfigurationAzureActiveDirectoryAuthenticationArgs
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.
- Public
Cert stringData - The Public Key Data associated with the Certificate.
- Name string
- A name used to uniquely identify this certificate.
- Public
Cert stringData - The Public Key Data associated with the Certificate.
- name String
- A name used to uniquely identify this certificate.
- public
Cert StringData - The Public Key Data associated with the Certificate.
- name string
- A name used to uniquely identify this certificate.
- public
Cert stringData - The Public Key Data associated with the Certificate.
- name str
- A name used to uniquely identify this certificate.
- public_
cert_ strdata - The Public Key Data associated with the Certificate.
- name String
- A name used to uniquely identify this certificate.
- public
Cert StringData - The Public Key Data associated with the Certificate.
VpnServerConfigurationIpsecPolicy, VpnServerConfigurationIpsecPolicyArgs
- Dh
Group string - The DH Group, used in IKE Phase 1. Possible values include
DHGroup1
,DHGroup2
,DHGroup14
,DHGroup24
,DHGroup2048
,ECP256
,ECP384
andNone
. - Ike
Encryption string - The IKE encryption algorithm, used for IKE Phase 2. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
andGCMAES256
. - Ike
Integrity string - The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include
GCMAES128
,GCMAES256
,MD5
,SHA1
,SHA256
andSHA384
. - Ipsec
Encryption string - The IPSec encryption algorithm, used for IKE phase 1. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
,GCMAES192
,GCMAES256
andNone
. - Ipsec
Integrity string - The IPSec integrity algorithm, used for IKE phase 1. Possible values include
GCMAES128
,GCMAES192
,GCMAES256
,MD5
,SHA1
andSHA256
. - Pfs
Group string - The Pfs Group, used in IKE Phase 2. Possible values include
ECP256
,ECP384
,PFS1
,PFS2
,PFS14
,PFS24
,PFS2048
,PFSMM
andNone
. - Sa
Data intSize Kilobytes - The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
- Sa
Lifetime intSeconds - The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
- Dh
Group string - The DH Group, used in IKE Phase 1. Possible values include
DHGroup1
,DHGroup2
,DHGroup14
,DHGroup24
,DHGroup2048
,ECP256
,ECP384
andNone
. - Ike
Encryption string - The IKE encryption algorithm, used for IKE Phase 2. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
andGCMAES256
. - Ike
Integrity string - The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include
GCMAES128
,GCMAES256
,MD5
,SHA1
,SHA256
andSHA384
. - Ipsec
Encryption string - The IPSec encryption algorithm, used for IKE phase 1. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
,GCMAES192
,GCMAES256
andNone
. - Ipsec
Integrity string - The IPSec integrity algorithm, used for IKE phase 1. Possible values include
GCMAES128
,GCMAES192
,GCMAES256
,MD5
,SHA1
andSHA256
. - Pfs
Group string - The Pfs Group, used in IKE Phase 2. Possible values include
ECP256
,ECP384
,PFS1
,PFS2
,PFS14
,PFS24
,PFS2048
,PFSMM
andNone
. - Sa
Data intSize Kilobytes - The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
- Sa
Lifetime intSeconds - The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
- dh
Group String - The DH Group, used in IKE Phase 1. Possible values include
DHGroup1
,DHGroup2
,DHGroup14
,DHGroup24
,DHGroup2048
,ECP256
,ECP384
andNone
. - ike
Encryption String - The IKE encryption algorithm, used for IKE Phase 2. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
andGCMAES256
. - ike
Integrity String - The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include
GCMAES128
,GCMAES256
,MD5
,SHA1
,SHA256
andSHA384
. - ipsec
Encryption String - The IPSec encryption algorithm, used for IKE phase 1. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
,GCMAES192
,GCMAES256
andNone
. - ipsec
Integrity String - The IPSec integrity algorithm, used for IKE phase 1. Possible values include
GCMAES128
,GCMAES192
,GCMAES256
,MD5
,SHA1
andSHA256
. - pfs
Group String - The Pfs Group, used in IKE Phase 2. Possible values include
ECP256
,ECP384
,PFS1
,PFS2
,PFS14
,PFS24
,PFS2048
,PFSMM
andNone
. - sa
Data IntegerSize Kilobytes - The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
- sa
Lifetime IntegerSeconds - The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
- dh
Group string - The DH Group, used in IKE Phase 1. Possible values include
DHGroup1
,DHGroup2
,DHGroup14
,DHGroup24
,DHGroup2048
,ECP256
,ECP384
andNone
. - ike
Encryption string - The IKE encryption algorithm, used for IKE Phase 2. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
andGCMAES256
. - ike
Integrity string - The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include
GCMAES128
,GCMAES256
,MD5
,SHA1
,SHA256
andSHA384
. - ipsec
Encryption string - The IPSec encryption algorithm, used for IKE phase 1. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
,GCMAES192
,GCMAES256
andNone
. - ipsec
Integrity string - The IPSec integrity algorithm, used for IKE phase 1. Possible values include
GCMAES128
,GCMAES192
,GCMAES256
,MD5
,SHA1
andSHA256
. - pfs
Group string - The Pfs Group, used in IKE Phase 2. Possible values include
ECP256
,ECP384
,PFS1
,PFS2
,PFS14
,PFS24
,PFS2048
,PFSMM
andNone
. - sa
Data numberSize Kilobytes - The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
- sa
Lifetime numberSeconds - 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
andNone
. - ike_
encryption str - The IKE encryption algorithm, used for IKE Phase 2. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
andGCMAES256
. - ike_
integrity str - The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include
GCMAES128
,GCMAES256
,MD5
,SHA1
,SHA256
andSHA384
. - ipsec_
encryption str - The IPSec encryption algorithm, used for IKE phase 1. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
,GCMAES192
,GCMAES256
andNone
. - ipsec_
integrity str - The IPSec integrity algorithm, used for IKE phase 1. Possible values include
GCMAES128
,GCMAES192
,GCMAES256
,MD5
,SHA1
andSHA256
. - pfs_
group str - The Pfs Group, used in IKE Phase 2. Possible values include
ECP256
,ECP384
,PFS1
,PFS2
,PFS14
,PFS24
,PFS2048
,PFSMM
andNone
. - sa_
data_ intsize_ kilobytes - The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
- sa_
lifetime_ intseconds - The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
- dh
Group String - The DH Group, used in IKE Phase 1. Possible values include
DHGroup1
,DHGroup2
,DHGroup14
,DHGroup24
,DHGroup2048
,ECP256
,ECP384
andNone
. - ike
Encryption String - The IKE encryption algorithm, used for IKE Phase 2. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
andGCMAES256
. - ike
Integrity String - The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include
GCMAES128
,GCMAES256
,MD5
,SHA1
,SHA256
andSHA384
. - ipsec
Encryption String - The IPSec encryption algorithm, used for IKE phase 1. Possible values include
AES128
,AES192
,AES256
,DES
,DES3
,GCMAES128
,GCMAES192
,GCMAES256
andNone
. - ipsec
Integrity String - The IPSec integrity algorithm, used for IKE phase 1. Possible values include
GCMAES128
,GCMAES192
,GCMAES256
,MD5
,SHA1
andSHA256
. - pfs
Group String - The Pfs Group, used in IKE Phase 2. Possible values include
ECP256
,ECP384
,PFS1
,PFS2
,PFS14
,PFS24
,PFS2048
,PFSMM
andNone
. - sa
Data NumberSize Kilobytes - The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
- sa
Lifetime NumberSeconds - The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
VpnServerConfigurationRadius, VpnServerConfigurationRadiusArgs
- Client
Root List<VpnCertificates Server Configuration Radius Client Root Certificate> - One or more
client_root_certificate
blocks as defined below. - Server
Root List<VpnCertificates Server Configuration Radius Server Root Certificate> - One or more
server_root_certificate
blocks as defined below. - Servers
List<Vpn
Server Configuration Radius Server> - One or more
server
blocks as defined below.
- Client
Root []VpnCertificates Server Configuration Radius Client Root Certificate - One or more
client_root_certificate
blocks as defined below. - Server
Root []VpnCertificates Server Configuration Radius Server Root Certificate - One or more
server_root_certificate
blocks as defined below. - Servers
[]Vpn
Server Configuration Radius Server - One or more
server
blocks as defined below.
- client
Root List<VpnCertificates Server Configuration Radius Client Root Certificate> - One or more
client_root_certificate
blocks as defined below. - server
Root List<VpnCertificates Server Configuration Radius Server Root Certificate> - One or more
server_root_certificate
blocks as defined below. - servers
List<Vpn
Server Configuration Radius Server> - One or more
server
blocks as defined below.
- client
Root VpnCertificates Server Configuration Radius Client Root Certificate[] - One or more
client_root_certificate
blocks as defined below. - server
Root VpnCertificates Server Configuration Radius Server Root Certificate[] - One or more
server_root_certificate
blocks as defined below. - servers
Vpn
Server Configuration Radius Server[] - One or more
server
blocks as defined below.
- client_
root_ Sequence[Vpncertificates Server Configuration Radius Client Root Certificate] - One or more
client_root_certificate
blocks as defined below. - server_
root_ Sequence[Vpncertificates Server Configuration Radius Server Root Certificate] - One or more
server_root_certificate
blocks as defined below. - servers
Sequence[Vpn
Server Configuration Radius Server] - One or more
server
blocks as defined below.
- client
Root List<Property Map>Certificates - One or more
client_root_certificate
blocks as defined below. - server
Root List<Property Map>Certificates - 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
VpnServerConfigurationRadiusServerRootCertificate, VpnServerConfigurationRadiusServerRootCertificateArgs
- Name string
- A name used to uniquely identify this certificate.
- Public
Cert stringData - The Public Key Data associated with the Certificate.
- Name string
- A name used to uniquely identify this certificate.
- Public
Cert stringData - The Public Key Data associated with the Certificate.
- name String
- A name used to uniquely identify this certificate.
- public
Cert StringData - The Public Key Data associated with the Certificate.
- name string
- A name used to uniquely identify this certificate.
- public
Cert stringData - The Public Key Data associated with the Certificate.
- name str
- A name used to uniquely identify this certificate.
- public_
cert_ strdata - The Public Key Data associated with the Certificate.
- name String
- A name used to uniquely identify this certificate.
- public
Cert StringData - 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.