VpnServerConfiguration
Manages a VPN Server Configuration.
Create a VpnServerConfiguration Resource
new VpnServerConfiguration(name: string, args: VpnServerConfigurationArgs, opts?: CustomResourceOptions);def VpnServerConfiguration(resource_name, opts=None, azure_active_directory_authentications=None, client_revoked_certificates=None, client_root_certificates=None, ipsec_policy=None, location=None, name=None, radius_server=None, resource_group_name=None, tags=None, vpn_authentication_types=None, vpn_protocols=None, __props__=None);func NewVpnServerConfiguration(ctx *Context, name string, args VpnServerConfigurationArgs, opts ...ResourceOption) (*VpnServerConfiguration, error)public VpnServerConfiguration(string name, VpnServerConfigurationArgs args, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
VpnServerConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
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 stringTypes A list of one of more Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD(Azure Active Directory),CertificateandRadius.- Azure
Active List<VpnDirectory Authentications Server Configuration Azure Active Directory Authentication Args> A
azure_active_directory_authenticationblock as defined below.- Client
Revoked List<VpnCertificates Server Configuration Client Revoked Certificate Args> One or more
client_revoked_certificateblocks as defined below.- Client
Root List<VpnCertificates Server Configuration Client Root Certificate Args> One or more
client_root_certificateblocks as defined below.- Ipsec
Policy VpnServer Configuration Ipsec Policy Args A
ipsec_policyblock 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
Server VpnServer Configuration Radius Server Args A
radius_serverblock as defined below.- 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
IkeV2andOpenVPN.
- 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 one of more Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD(Azure Active Directory),CertificateandRadius.- Azure
Active []VpnDirectory Authentications Server Configuration Azure Active Directory Authentication A
azure_active_directory_authenticationblock as defined below.- Client
Revoked []VpnCertificates Server Configuration Client Revoked Certificate One or more
client_revoked_certificateblocks as defined below.- Client
Root []VpnCertificates Server Configuration Client Root Certificate One or more
client_root_certificateblocks as defined below.- Ipsec
Policy VpnServer Configuration Ipsec Policy A
ipsec_policyblock 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
Server VpnServer Configuration Radius Server A
radius_serverblock as defined below.- 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
IkeV2andOpenVPN.
- 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 one of more Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD(Azure Active Directory),CertificateandRadius.- azure
Active VpnDirectory Authentications Server Configuration Azure Active Directory Authentication[] A
azure_active_directory_authenticationblock as defined below.- client
Revoked VpnCertificates Server Configuration Client Revoked Certificate[] One or more
client_revoked_certificateblocks as defined below.- client
Root VpnCertificates Server Configuration Client Root Certificate[] One or more
client_root_certificateblocks as defined below.- ipsec
Policy VpnServer Configuration Ipsec Policy A
ipsec_policyblock 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
Server VpnServer Configuration Radius Server A
radius_serverblock as defined below.- {[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
IkeV2andOpenVPN.
- 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_ strtypes A list of one of more Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD(Azure Active Directory),CertificateandRadius.- azure_
active_ List[Vpndirectory_ authentications Server Configuration Azure Active Directory Authentication] A
azure_active_directory_authenticationblock as defined below.- client_
revoked_ List[Vpncertificates Server Configuration Client Revoked Certificate] One or more
client_revoked_certificateblocks as defined below.- client_
root_ List[Vpncertificates Server Configuration Client Root Certificate] One or more
client_root_certificateblocks as defined below.- ipsec_
policy Dict[VpnServer Configuration Ipsec Policy] A
ipsec_policyblock 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_
server Dict[VpnServer Configuration Radius Server] A
radius_serverblock as defined below.- Dict[str, str]
A mapping of tags to assign to the resource.
- vpn_
protocols List[str] A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2andOpenVPN.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpnServerConfiguration resource produces the following output properties:
Look up an 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): VpnServerConfigurationstatic get(resource_name, id, opts=None, azure_active_directory_authentications=None, client_revoked_certificates=None, client_root_certificates=None, ipsec_policy=None, location=None, name=None, radius_server=None, resource_group_name=None, tags=None, vpn_authentication_types=None, vpn_protocols=None, __props__=None);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)- 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.
The following state arguments are supported:
- Azure
Active List<VpnDirectory Authentications Server Configuration Azure Active Directory Authentication Args> A
azure_active_directory_authenticationblock as defined below.- Client
Revoked List<VpnCertificates Server Configuration Client Revoked Certificate Args> One or more
client_revoked_certificateblocks as defined below.- Client
Root List<VpnCertificates Server Configuration Client Root Certificate Args> One or more
client_root_certificateblocks as defined below.- Ipsec
Policy VpnServer Configuration Ipsec Policy Args A
ipsec_policyblock 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
Server VpnServer Configuration Radius Server Args A
radius_serverblock as defined below.- 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 stringTypes A list of one of more Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD(Azure Active Directory),CertificateandRadius.- Vpn
Protocols List<string> A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2andOpenVPN.
- Azure
Active []VpnDirectory Authentications Server Configuration Azure Active Directory Authentication A
azure_active_directory_authenticationblock as defined below.- Client
Revoked []VpnCertificates Server Configuration Client Revoked Certificate One or more
client_revoked_certificateblocks as defined below.- Client
Root []VpnCertificates Server Configuration Client Root Certificate One or more
client_root_certificateblocks as defined below.- Ipsec
Policy VpnServer Configuration Ipsec Policy A
ipsec_policyblock 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
Server VpnServer Configuration Radius Server A
radius_serverblock as defined below.- 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 one of more Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD(Azure Active Directory),CertificateandRadius.- Vpn
Protocols []string A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2andOpenVPN.
- azure
Active VpnDirectory Authentications Server Configuration Azure Active Directory Authentication[] A
azure_active_directory_authenticationblock as defined below.- client
Revoked VpnCertificates Server Configuration Client Revoked Certificate[] One or more
client_revoked_certificateblocks as defined below.- client
Root VpnCertificates Server Configuration Client Root Certificate[] One or more
client_root_certificateblocks as defined below.- ipsec
Policy VpnServer Configuration Ipsec Policy A
ipsec_policyblock 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
Server VpnServer Configuration Radius Server A
radius_serverblock as defined below.- 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 stringTypes A list of one of more Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD(Azure Active Directory),CertificateandRadius.- vpn
Protocols string[] A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2andOpenVPN.
- azure_
active_ List[Vpndirectory_ authentications Server Configuration Azure Active Directory Authentication] A
azure_active_directory_authenticationblock as defined below.- client_
revoked_ List[Vpncertificates Server Configuration Client Revoked Certificate] One or more
client_revoked_certificateblocks as defined below.- client_
root_ List[Vpncertificates Server Configuration Client Root Certificate] One or more
client_root_certificateblocks as defined below.- ipsec_
policy Dict[VpnServer Configuration Ipsec Policy] A
ipsec_policyblock 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_
server Dict[VpnServer Configuration Radius Server] A
radius_serverblock as defined below.- 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.
- Dict[str, str]
A mapping of tags to assign to the resource.
- vpn_
authentication_ strtypes A list of one of more Authentication Types applicable for this VPN Server Configuration. Possible values are
AAD(Azure Active Directory),CertificateandRadius.- vpn_
protocols List[str] A list of VPN Protocols to use for this Server Configuration. Possible values are
IkeV2andOpenVPN.
Supporting Types
VpnServerConfigurationAzureActiveDirectoryAuthentication
VpnServerConfigurationClientRevokedCertificate
- 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.
VpnServerConfigurationClientRootCertificate
- 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.
VpnServerConfigurationIpsecPolicy
- Dh
Group string The DH Group, used in IKE Phase 1. Possible values include
DHGroup1,DHGroup2,DHGroup14,DHGroup24,DHGroup2048,ECP256,ECP384andNone.- Ike
Encryption string The IKE encryption algorithm, used for IKE Phase 2. Possible values include
AES128,AES192,AES256,DES,DES3,GCMAES128andGCMAES256.- Ike
Integrity string The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include
GCMAES128,GCMAES256,MD5,SHA1,SHA256andSHA384.- Ipsec
Encryption string The IPSec encryption algorithm, used for IKE phase 1. Possible values include
AES128,AES192,AES256,DES,DES3,GCMAES128,GCMAES192,GCMAES256andNone.- Ipsec
Integrity string The IPSec integrity algorithm, used for IKE phase 1. Possible values include
GCMAES128,GCMAES192,GCMAES256,MD5,SHA1andSHA256.- Pfs
Group string The Pfs Group, used in IKE Phase 2. Possible values include
ECP256,ECP384,PFS1,PFS2,PFS14,PFS24,PFS2048,PFSMMandNone.- 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,ECP384andNone.- Ike
Encryption string The IKE encryption algorithm, used for IKE Phase 2. Possible values include
AES128,AES192,AES256,DES,DES3,GCMAES128andGCMAES256.- Ike
Integrity string The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include
GCMAES128,GCMAES256,MD5,SHA1,SHA256andSHA384.- Ipsec
Encryption string The IPSec encryption algorithm, used for IKE phase 1. Possible values include
AES128,AES192,AES256,DES,DES3,GCMAES128,GCMAES192,GCMAES256andNone.- Ipsec
Integrity string The IPSec integrity algorithm, used for IKE phase 1. Possible values include
GCMAES128,GCMAES192,GCMAES256,MD5,SHA1andSHA256.- Pfs
Group string The Pfs Group, used in IKE Phase 2. Possible values include
ECP256,ECP384,PFS1,PFS2,PFS14,PFS24,PFS2048,PFSMMandNone.- 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,ECP384andNone.- ike
Encryption string The IKE encryption algorithm, used for IKE Phase 2. Possible values include
AES128,AES192,AES256,DES,DES3,GCMAES128andGCMAES256.- ike
Integrity string The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include
GCMAES128,GCMAES256,MD5,SHA1,SHA256andSHA384.- ipsec
Encryption string The IPSec encryption algorithm, used for IKE phase 1. Possible values include
AES128,AES192,AES256,DES,DES3,GCMAES128,GCMAES192,GCMAES256andNone.- ipsec
Integrity string The IPSec integrity algorithm, used for IKE phase 1. Possible values include
GCMAES128,GCMAES192,GCMAES256,MD5,SHA1andSHA256.- pfs
Group string The Pfs Group, used in IKE Phase 2. Possible values include
ECP256,ECP384,PFS1,PFS2,PFS14,PFS24,PFS2048,PFSMMandNone.- 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,ECP384andNone.- ike
Encryption str The IKE encryption algorithm, used for IKE Phase 2. Possible values include
AES128,AES192,AES256,DES,DES3,GCMAES128andGCMAES256.- ike
Integrity str The IKE encryption integrity algorithm, used for IKE Phase 2. Possible values include
GCMAES128,GCMAES256,MD5,SHA1,SHA256andSHA384.- ipsec
Encryption str The IPSec encryption algorithm, used for IKE phase 1. Possible values include
AES128,AES192,AES256,DES,DES3,GCMAES128,GCMAES192,GCMAES256andNone.- ipsec
Integrity str The IPSec integrity algorithm, used for IKE phase 1. Possible values include
GCMAES128,GCMAES192,GCMAES256,MD5,SHA1andSHA256.- pfs
Group str The Pfs Group, used in IKE Phase 2. Possible values include
ECP256,ECP384,PFS1,PFS2,PFS14,PFS24,PFS2048,PFSMMandNone.- sa
Data floatSize Kilobytes The IPSec Security Association payload size in KB for a Site-to-Site VPN tunnel.
- sa
Lifetime floatSeconds The IPSec Security Association lifetime in seconds for a Site-to-Site VPN tunnel.
VpnServerConfigurationRadiusServer
- Address string
The Address of the Radius Server.
- Secret string
The Secret used to communicate with the Radius Server.
- Server
Root List<VpnCertificates Server Configuration Radius Server Server Root Certificate Args> One or more
server_root_certificateblocks as defined below.- Client
Root List<VpnCertificates Server Configuration Radius Server Client Root Certificate Args> One or more
client_root_certificateblocks as defined above.
- Address string
The Address of the Radius Server.
- Secret string
The Secret used to communicate with the Radius Server.
- Server
Root []VpnCertificates Server Configuration Radius Server Server Root Certificate One or more
server_root_certificateblocks as defined below.- Client
Root []VpnCertificates Server Configuration Radius Server Client Root Certificate One or more
client_root_certificateblocks as defined above.
- address string
The Address of the Radius Server.
- secret string
The Secret used to communicate with the Radius Server.
- server
Root VpnCertificates Server Configuration Radius Server Server Root Certificate[] One or more
server_root_certificateblocks as defined below.- client
Root VpnCertificates Server Configuration Radius Server Client Root Certificate[] One or more
client_root_certificateblocks as defined above.
- address str
The Address of the Radius Server.
- secret str
The Secret used to communicate with the Radius Server.
- server
Root List[VpnCertificates Server Configuration Radius Server Server Root Certificate] One or more
server_root_certificateblocks as defined below.- client_
root_ List[Vpncertificates Server Configuration Radius Server Client Root Certificate] One or more
client_root_certificateblocks as defined above.
VpnServerConfigurationRadiusServerClientRootCertificate
- 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.
VpnServerConfigurationRadiusServerServerRootCertificate
- 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.