Microsoft.Network (stable:2024-10-01)

2025/08/30 • 26 updated methods

VirtualNetworkGateways_CreateOrUpdate (updated)
Description Creates or updates a virtual network gateway in the specified resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "VirtualNetworkGateways_CreateOrUpdate",
  "$parameters": {
    "parameters": {
      "$properties": {
        "properties": [
          {
            "vpnClientConfiguration": [
              {
                "#name": "radiusServerSecret",
                "Description": {
                  "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                  "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                }
              },
              {
                "radiusServers": {
                  "$properties": [
                    {
                      "#name": "radiusServerSecret",
                      "Description": {
                        "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                        "old": "The secret used for this radius server."
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "vpnClientConfiguration": [
              {
                "#name": "radiusServerSecret",
                "Description": {
                  "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                  "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                }
              },
              {
                "radiusServers": {
                  "$properties": [
                    {
                      "#name": "radiusServerSecret",
                      "Description": {
                        "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                        "old": "The secret used for this radius server."
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "vpnClientConfiguration": [
              {
                "#name": "radiusServerSecret",
                "Description": {
                  "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                  "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                }
              },
              {
                "radiusServers": {
                  "$properties": [
                    {
                      "#name": "radiusServerSecret",
                      "Description": {
                        "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                        "old": "The secret used for this radius server."
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
{
resourceGroupName: string ,
virtualNetworkGatewayName: string ,
parameters:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetworkGateways_Get (updated)
Description Gets the specified virtual network gateway by resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "VirtualNetworkGateways_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "vpnClientConfiguration": [
              {
                "#name": "radiusServerSecret",
                "Description": {
                  "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                  "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                }
              },
              {
                "radiusServers": {
                  "$properties": [
                    {
                      "#name": "radiusServerSecret",
                      "Description": {
                        "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                        "old": "The secret used for this radius server."
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
{
resourceGroupName: string ,
virtualNetworkGatewayName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetworkGateways_UpdateTags (updated)
Description Updates a virtual network gateway tags.
Reference Link ¶

⚶ Changes

{
  "#id": "VirtualNetworkGateways_UpdateTags",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "vpnClientConfiguration": [
              {
                "#name": "radiusServerSecret",
                "Description": {
                  "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                  "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                }
              },
              {
                "radiusServers": {
                  "$properties": [
                    {
                      "#name": "radiusServerSecret",
                      "Description": {
                        "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                        "old": "The secret used for this radius server."
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
{
resourceGroupName: string ,
virtualNetworkGatewayName: string ,
parameters:
{
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetworkGateways_List (updated)
Description Gets all virtual network gateways by resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "VirtualNetworkGateways_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "vpnClientConfiguration": [
                  {
                    "#name": "radiusServerSecret",
                    "Description": {
                      "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                      "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                    }
                  },
                  {
                    "radiusServers": {
                      "$properties": [
                        {
                          "#name": "radiusServerSecret",
                          "Description": {
                            "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                            "old": "The secret used for this radius server."
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetworkGateways_ListConnections (updated)
Description Gets all the connections in a virtual network gateway.
Reference Link ¶

⚶ Changes

{
  "#id": "VirtualNetworkGateways_ListConnections",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "sharedKey",
                "Description": {
                  "new": "The IPSec shared key. We will no longer return sharedKey in VirtualNetworkGatewayConnection Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGatewayConnection GetSharedKey API to fetch connection sharedKey.",
                  "old": "The IPSec shared key."
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections
{
resourceGroupName: string ,
virtualNetworkGatewayName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
authorizationKey: string ,
virtualNetworkGateway1:
{
id: string ,
}
,
virtualNetworkGateway2:
{
id: string ,
}
,
localNetworkGateway2:
{
id: string ,
}
,
connectionType: enum ,
connectionProtocol: enum ,
routingWeight: integer ,
connectionMode: enum ,
sharedKey: string ,
connectionStatus: enum ,
tunnelConnectionStatus:
[
{
tunnel: string ,
connectionStatus: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
lastConnectionEstablishedUtcTime: string ,
}
,
]
,
egressBytesTransferred: integer ,
ingressBytesTransferred: integer ,
peer:
{
id: string ,
}
,
enableBgp: boolean ,
gatewayCustomBgpIpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
resourceGuid: string ,
provisioningState: enum ,
expressRouteGatewayBypass: boolean ,
enablePrivateLinkFastPath: boolean ,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetworkGateways_Reset (updated)
Description Resets the primary of the virtual network gateway in the specified resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "VirtualNetworkGateways_Reset",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "vpnClientConfiguration": [
              {
                "#name": "radiusServerSecret",
                "Description": {
                  "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                  "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                }
              },
              {
                "radiusServers": {
                  "$properties": [
                    {
                      "#name": "radiusServerSecret",
                      "Description": {
                        "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                        "old": "The secret used for this radius server."
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset
{
resourceGroupName: string ,
virtualNetworkGatewayName: string ,
gatewayVip: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetworkGatewayConnections_CreateOrUpdate (updated)
Description Creates or updates a virtual network gateway connection in the specified resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "VirtualNetworkGatewayConnections_CreateOrUpdate",
  "$parameters": {
    "parameters": {
      "$properties": {
        "properties": [
          {
            "virtualNetworkGateway1": [
              {
                "properties": [
                  {
                    "vpnClientConfiguration": [
                      {
                        "#name": "radiusServerSecret",
                        "Description": {
                          "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                          "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                        }
                      },
                      {
                        "radiusServers": {
                          "$properties": [
                            {
                              "#name": "radiusServerSecret",
                              "Description": {
                                "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                "old": "The secret used for this radius server."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "virtualNetworkGateway2": [
              {
                "properties": [
                  {
                    "vpnClientConfiguration": [
                      {
                        "#name": "radiusServerSecret",
                        "Description": {
                          "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                          "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                        }
                      },
                      {
                        "radiusServers": {
                          "$properties": [
                            {
                              "#name": "radiusServerSecret",
                              "Description": {
                                "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                "old": "The secret used for this radius server."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "virtualNetworkGateway1": [
              {
                "properties": [
                  {
                    "vpnClientConfiguration": [
                      {
                        "#name": "radiusServerSecret",
                        "Description": {
                          "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                          "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                        }
                      },
                      {
                        "radiusServers": {
                          "$properties": [
                            {
                              "#name": "radiusServerSecret",
                              "Description": {
                                "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                "old": "The secret used for this radius server."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "virtualNetworkGateway2": [
              {
                "properties": [
                  {
                    "vpnClientConfiguration": [
                      {
                        "#name": "radiusServerSecret",
                        "Description": {
                          "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                          "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                        }
                      },
                      {
                        "radiusServers": {
                          "$properties": [
                            {
                              "#name": "radiusServerSecret",
                              "Description": {
                                "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                "old": "The secret used for this radius server."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "virtualNetworkGateway1": [
              {
                "properties": [
                  {
                    "vpnClientConfiguration": [
                      {
                        "#name": "radiusServerSecret",
                        "Description": {
                          "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                          "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                        }
                      },
                      {
                        "radiusServers": {
                          "$properties": [
                            {
                              "#name": "radiusServerSecret",
                              "Description": {
                                "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                "old": "The secret used for this radius server."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "virtualNetworkGateway2": [
              {
                "properties": [
                  {
                    "vpnClientConfiguration": [
                      {
                        "#name": "radiusServerSecret",
                        "Description": {
                          "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                          "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                        }
                      },
                      {
                        "radiusServers": {
                          "$properties": [
                            {
                              "#name": "radiusServerSecret",
                              "Description": {
                                "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                "old": "The secret used for this radius server."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}
{
resourceGroupName: string ,
virtualNetworkGatewayConnectionName: string ,
parameters:
{
properties:
{
authorizationKey: string ,
virtualNetworkGateway1:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
virtualNetworkGateway2:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
localNetworkGateway2:
{
properties:
{
localNetworkAddressSpace:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
gatewayIpAddress: string ,
fqdn: string ,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
}
,
etag: string ,
}
,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
connectionType: enum ,
connectionProtocol: enum ,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionMode: enum ,
tunnelProperties:
[
{
tunnelIpAddress: string ,
bgpPeeringAddress: string ,
}
,
]
,
sharedKey: string ,
connectionStatus: enum ,
tunnelConnectionStatus:
[
{
tunnel: string ,
connectionStatus: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
lastConnectionEstablishedUtcTime: string ,
}
,
]
,
egressBytesTransferred: integer ,
ingressBytesTransferred: integer ,
peer:
{
id: string ,
}
,
enableBgp: boolean ,
gatewayCustomBgpIpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
useLocalAzureIpAddress: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
resourceGuid: string ,
provisioningState: enum ,
expressRouteGatewayBypass: boolean ,
enablePrivateLinkFastPath: boolean ,
}
,
etag: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
authorizationKey: string ,
virtualNetworkGateway1:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
virtualNetworkGateway2:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
localNetworkGateway2:
{
properties:
{
localNetworkAddressSpace:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
gatewayIpAddress: string ,
fqdn: string ,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
}
,
etag: string ,
}
,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
connectionType: enum ,
connectionProtocol: enum ,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionMode: enum ,
tunnelProperties:
[
{
tunnelIpAddress: string ,
bgpPeeringAddress: string ,
}
,
]
,
sharedKey: string ,
connectionStatus: enum ,
tunnelConnectionStatus:
[
{
tunnel: string ,
connectionStatus: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
lastConnectionEstablishedUtcTime: string ,
}
,
]
,
egressBytesTransferred: integer ,
ingressBytesTransferred: integer ,
peer:
{
id: string ,
}
,
enableBgp: boolean ,
gatewayCustomBgpIpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
useLocalAzureIpAddress: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
resourceGuid: string ,
provisioningState: enum ,
expressRouteGatewayBypass: boolean ,
enablePrivateLinkFastPath: boolean ,
}
,
etag: string ,
}

⚐ Response (201)

{
properties:
{
authorizationKey: string ,
virtualNetworkGateway1:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
virtualNetworkGateway2:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
localNetworkGateway2:
{
properties:
{
localNetworkAddressSpace:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
gatewayIpAddress: string ,
fqdn: string ,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
}
,
etag: string ,
}
,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
connectionType: enum ,
connectionProtocol: enum ,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionMode: enum ,
tunnelProperties:
[
{
tunnelIpAddress: string ,
bgpPeeringAddress: string ,
}
,
]
,
sharedKey: string ,
connectionStatus: enum ,
tunnelConnectionStatus:
[
{
tunnel: string ,
connectionStatus: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
lastConnectionEstablishedUtcTime: string ,
}
,
]
,
egressBytesTransferred: integer ,
ingressBytesTransferred: integer ,
peer:
{
id: string ,
}
,
enableBgp: boolean ,
gatewayCustomBgpIpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
useLocalAzureIpAddress: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
resourceGuid: string ,
provisioningState: enum ,
expressRouteGatewayBypass: boolean ,
enablePrivateLinkFastPath: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetworkGatewayConnections_Get (updated)
Description Gets the specified virtual network gateway connection by resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "VirtualNetworkGatewayConnections_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "virtualNetworkGateway1": [
              {
                "properties": [
                  {
                    "vpnClientConfiguration": [
                      {
                        "#name": "radiusServerSecret",
                        "Description": {
                          "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                          "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                        }
                      },
                      {
                        "radiusServers": {
                          "$properties": [
                            {
                              "#name": "radiusServerSecret",
                              "Description": {
                                "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                "old": "The secret used for this radius server."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "virtualNetworkGateway2": [
              {
                "properties": [
                  {
                    "vpnClientConfiguration": [
                      {
                        "#name": "radiusServerSecret",
                        "Description": {
                          "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                          "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                        }
                      },
                      {
                        "radiusServers": {
                          "$properties": [
                            {
                              "#name": "radiusServerSecret",
                              "Description": {
                                "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                "old": "The secret used for this radius server."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}
{
resourceGroupName: string ,
virtualNetworkGatewayConnectionName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
authorizationKey: string ,
virtualNetworkGateway1:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
virtualNetworkGateway2:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
localNetworkGateway2:
{
properties:
{
localNetworkAddressSpace:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
gatewayIpAddress: string ,
fqdn: string ,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
}
,
etag: string ,
}
,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
connectionType: enum ,
connectionProtocol: enum ,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionMode: enum ,
tunnelProperties:
[
{
tunnelIpAddress: string ,
bgpPeeringAddress: string ,
}
,
]
,
sharedKey: string ,
connectionStatus: enum ,
tunnelConnectionStatus:
[
{
tunnel: string ,
connectionStatus: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
lastConnectionEstablishedUtcTime: string ,
}
,
]
,
egressBytesTransferred: integer ,
ingressBytesTransferred: integer ,
peer:
{
id: string ,
}
,
enableBgp: boolean ,
gatewayCustomBgpIpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
useLocalAzureIpAddress: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
resourceGuid: string ,
provisioningState: enum ,
expressRouteGatewayBypass: boolean ,
enablePrivateLinkFastPath: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetworkGatewayConnections_UpdateTags (updated)
Description Updates a virtual network gateway connection tags.
Reference Link ¶

⚶ Changes

{
  "#id": "VirtualNetworkGatewayConnections_UpdateTags",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "virtualNetworkGateway1": [
              {
                "properties": [
                  {
                    "vpnClientConfiguration": [
                      {
                        "#name": "radiusServerSecret",
                        "Description": {
                          "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                          "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                        }
                      },
                      {
                        "radiusServers": {
                          "$properties": [
                            {
                              "#name": "radiusServerSecret",
                              "Description": {
                                "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                "old": "The secret used for this radius server."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "virtualNetworkGateway2": [
              {
                "properties": [
                  {
                    "vpnClientConfiguration": [
                      {
                        "#name": "radiusServerSecret",
                        "Description": {
                          "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                          "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                        }
                      },
                      {
                        "radiusServers": {
                          "$properties": [
                            {
                              "#name": "radiusServerSecret",
                              "Description": {
                                "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                "old": "The secret used for this radius server."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}
{
resourceGroupName: string ,
virtualNetworkGatewayConnectionName: string ,
parameters:
{
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
authorizationKey: string ,
virtualNetworkGateway1:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
virtualNetworkGateway2:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
localNetworkGateway2:
{
properties:
{
localNetworkAddressSpace:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
gatewayIpAddress: string ,
fqdn: string ,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
}
,
etag: string ,
}
,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
connectionType: enum ,
connectionProtocol: enum ,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionMode: enum ,
tunnelProperties:
[
{
tunnelIpAddress: string ,
bgpPeeringAddress: string ,
}
,
]
,
sharedKey: string ,
connectionStatus: enum ,
tunnelConnectionStatus:
[
{
tunnel: string ,
connectionStatus: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
lastConnectionEstablishedUtcTime: string ,
}
,
]
,
egressBytesTransferred: integer ,
ingressBytesTransferred: integer ,
peer:
{
id: string ,
}
,
enableBgp: boolean ,
gatewayCustomBgpIpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
useLocalAzureIpAddress: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
resourceGuid: string ,
provisioningState: enum ,
expressRouteGatewayBypass: boolean ,
enablePrivateLinkFastPath: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetworkGatewayConnections_List (updated)
Description The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.
Reference Link ¶

⚶ Changes

{
  "#id": "VirtualNetworkGatewayConnections_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "virtualNetworkGateway1": [
                  {
                    "properties": [
                      {
                        "vpnClientConfiguration": [
                          {
                            "#name": "radiusServerSecret",
                            "Description": {
                              "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                              "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                            }
                          },
                          {
                            "radiusServers": {
                              "$properties": [
                                {
                                  "#name": "radiusServerSecret",
                                  "Description": {
                                    "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                    "old": "The secret used for this radius server."
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "virtualNetworkGateway2": [
                  {
                    "properties": [
                      {
                        "vpnClientConfiguration": [
                          {
                            "#name": "radiusServerSecret",
                            "Description": {
                              "new": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                              "old": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
                            }
                          },
                          {
                            "radiusServers": {
                              "$properties": [
                                {
                                  "#name": "radiusServerSecret",
                                  "Description": {
                                    "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                                    "old": "The secret used for this radius server."
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
authorizationKey: string ,
virtualNetworkGateway1:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
virtualNetworkGateway2:
{
properties:
{
autoScaleConfiguration:
{
bounds:
{
min: integer ,
max: integer ,
}
,
}
,
ipConfigurations:
[
{
properties:
{
privateIPAllocationMethod: enum ,
subnet:
{
id: string ,
}
,
publicIPAddress:
{
id: string ,
}
,
privateIPAddress: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
gatewayType: enum ,
vpnType: enum ,
vpnGatewayGeneration: enum ,
enableBgp: boolean ,
enablePrivateIpAddress: boolean ,
virtualNetworkGatewayMigrationStatus:
{
state: enum ,
phase: enum ,
errorMessage: string ,
}
,
activeActive: boolean ,
enableHighBandwidthVpnGateway: boolean ,
disableIPSecReplayProtection: boolean ,
gatewayDefaultSite:
{
id: string ,
}
,
sku:
{
name: enum ,
tier: enum ,
capacity: integer ,
}
,
vpnClientConfiguration:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
vpnClientRootCertificates:
[
{
properties:
{
publicCertData: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
properties:
{
thumbprint: string ,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
vpnClientProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
vngClientConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
}
,
virtualNetworkGatewayPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
vngClientConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
customRoutes:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
enableDnsForwarding: boolean ,
inboundDnsForwardingEndpoint: string ,
vNetExtendedLocationResourceId: string ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
allowVirtualWanTraffic: boolean ,
allowRemoteVnetTraffic: boolean ,
adminState: enum ,
resiliencyModel: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
localNetworkGateway2:
{
properties:
{
localNetworkAddressSpace:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
gatewayIpAddress: string ,
fqdn: string ,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
resourceGuid: string ,
provisioningState: enum ,
}
,
etag: string ,
}
,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
connectionType: enum ,
connectionProtocol: enum ,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionMode: enum ,
tunnelProperties:
[
{
tunnelIpAddress: string ,
bgpPeeringAddress: string ,
}
,
]
,
sharedKey: string ,
connectionStatus: enum ,
tunnelConnectionStatus:
[
{
tunnel: string ,
connectionStatus: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
lastConnectionEstablishedUtcTime: string ,
}
,
]
,
egressBytesTransferred: integer ,
ingressBytesTransferred: integer ,
peer:
{
id: string ,
}
,
enableBgp: boolean ,
gatewayCustomBgpIpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
useLocalAzureIpAddress: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
resourceGuid: string ,
provisioningState: enum ,
expressRouteGatewayBypass: boolean ,
enablePrivateLinkFastPath: boolean ,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnServerConfigurations_Get (updated)
Description Retrieves the details of a VpnServerConfiguration.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnServerConfigurations_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "radiusServerSecret",
            "Description": {
              "new": "The radius secret property of the VpnServerConfiguration resource for point to site client connection. We will no longer return radiusServerSecret in VpnServerConfiguration Create/Update/Get/List/UpdateTags APIs response. Please use VpnServerConfiguration ListRadiusSecrets API to fetch radius server secrets.",
              "old": "The radius secret property of the VpnServerConfiguration resource for point to site client connection."
            }
          },
          {
            "radiusServers": {
              "$properties": [
                {
                  "#name": "radiusServerSecret",
                  "Description": {
                    "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                    "old": "The secret used for this radius server."
                  }
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
{
subscriptionId: string ,
resourceGroupName: string ,
vpnServerConfigurationName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
name: string ,
vpnProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
radiusServerRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
radiusClientRootCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadAuthenticationParameters:
{
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
}
,
provisioningState: string ,
p2SVpnGateways:
[
{
properties:
{
virtualHub:
{
id: string ,
}
,
p2SConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
enableInternetSecurity: boolean ,
configurationPolicyGroupAssociations:
[
{
id: string ,
}
,
]
,
previousConfigurationPolicyGroupAssociations:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
vpnServerConfiguration:
{
id: string ,
}
,
vpnClientConnectionHealth:
{
totalIngressBytesTransferred: integer ,
totalEgressBytesTransferred: integer ,
vpnClientConnectionsCount: integer ,
allocatedIpAddresses:
[
string ,
]
,
}
,
customDnsServers:
[
string ,
]
,
isRoutingPreferenceInternet: boolean ,
}
,
etag: string ,
}
,
]
,
configurationPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
etag: string ,
}
,
name: string ,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnServerConfigurations_CreateOrUpdate (updated)
Description Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnServerConfigurations_CreateOrUpdate",
  "$parameters": {
    "VpnServerConfigurationParameters": {
      "$properties": {
        "properties": [
          {
            "#name": "radiusServerSecret",
            "Description": {
              "new": "The radius secret property of the VpnServerConfiguration resource for point to site client connection. We will no longer return radiusServerSecret in VpnServerConfiguration Create/Update/Get/List/UpdateTags APIs response. Please use VpnServerConfiguration ListRadiusSecrets API to fetch radius server secrets.",
              "old": "The radius secret property of the VpnServerConfiguration resource for point to site client connection."
            }
          },
          {
            "radiusServers": {
              "$properties": [
                {
                  "#name": "radiusServerSecret",
                  "Description": {
                    "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                    "old": "The secret used for this radius server."
                  }
                }
              ]
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "radiusServerSecret",
            "Description": {
              "new": "The radius secret property of the VpnServerConfiguration resource for point to site client connection. We will no longer return radiusServerSecret in VpnServerConfiguration Create/Update/Get/List/UpdateTags APIs response. Please use VpnServerConfiguration ListRadiusSecrets API to fetch radius server secrets.",
              "old": "The radius secret property of the VpnServerConfiguration resource for point to site client connection."
            }
          },
          {
            "radiusServers": {
              "$properties": [
                {
                  "#name": "radiusServerSecret",
                  "Description": {
                    "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                    "old": "The secret used for this radius server."
                  }
                }
              ]
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "#name": "radiusServerSecret",
            "Description": {
              "new": "The radius secret property of the VpnServerConfiguration resource for point to site client connection. We will no longer return radiusServerSecret in VpnServerConfiguration Create/Update/Get/List/UpdateTags APIs response. Please use VpnServerConfiguration ListRadiusSecrets API to fetch radius server secrets.",
              "old": "The radius secret property of the VpnServerConfiguration resource for point to site client connection."
            }
          },
          {
            "radiusServers": {
              "$properties": [
                {
                  "#name": "radiusServerSecret",
                  "Description": {
                    "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                    "old": "The secret used for this radius server."
                  }
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
{
subscriptionId: string ,
resourceGroupName: string ,
vpnServerConfigurationName: string ,
api-version: string ,
VpnServerConfigurationParameters:
{
properties:
{
name: string ,
vpnProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
radiusServerRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
radiusClientRootCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadAuthenticationParameters:
{
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
}
,
provisioningState: string ,
p2SVpnGateways:
[
{
properties:
{
virtualHub:
{
id: string ,
}
,
p2SConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
enableInternetSecurity: boolean ,
configurationPolicyGroupAssociations:
[
{
id: string ,
}
,
]
,
previousConfigurationPolicyGroupAssociations:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
vpnServerConfiguration:
{
id: string ,
}
,
vpnClientConnectionHealth:
{
totalIngressBytesTransferred: integer ,
totalEgressBytesTransferred: integer ,
vpnClientConnectionsCount: integer ,
allocatedIpAddresses:
[
string ,
]
,
}
,
customDnsServers:
[
string ,
]
,
isRoutingPreferenceInternet: boolean ,
}
,
etag: string ,
}
,
]
,
configurationPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
etag: string ,
}
,
name: string ,
etag: string ,
}
,
}

⚐ Response (200)

{
properties:
{
name: string ,
vpnProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
radiusServerRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
radiusClientRootCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadAuthenticationParameters:
{
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
}
,
provisioningState: string ,
p2SVpnGateways:
[
{
properties:
{
virtualHub:
{
id: string ,
}
,
p2SConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
enableInternetSecurity: boolean ,
configurationPolicyGroupAssociations:
[
{
id: string ,
}
,
]
,
previousConfigurationPolicyGroupAssociations:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
vpnServerConfiguration:
{
id: string ,
}
,
vpnClientConnectionHealth:
{
totalIngressBytesTransferred: integer ,
totalEgressBytesTransferred: integer ,
vpnClientConnectionsCount: integer ,
allocatedIpAddresses:
[
string ,
]
,
}
,
customDnsServers:
[
string ,
]
,
isRoutingPreferenceInternet: boolean ,
}
,
etag: string ,
}
,
]
,
configurationPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
etag: string ,
}
,
name: string ,
etag: string ,
}

⚐ Response (201)

{
properties:
{
name: string ,
vpnProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
radiusServerRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
radiusClientRootCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadAuthenticationParameters:
{
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
}
,
provisioningState: string ,
p2SVpnGateways:
[
{
properties:
{
virtualHub:
{
id: string ,
}
,
p2SConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
enableInternetSecurity: boolean ,
configurationPolicyGroupAssociations:
[
{
id: string ,
}
,
]
,
previousConfigurationPolicyGroupAssociations:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
vpnServerConfiguration:
{
id: string ,
}
,
vpnClientConnectionHealth:
{
totalIngressBytesTransferred: integer ,
totalEgressBytesTransferred: integer ,
vpnClientConnectionsCount: integer ,
allocatedIpAddresses:
[
string ,
]
,
}
,
customDnsServers:
[
string ,
]
,
isRoutingPreferenceInternet: boolean ,
}
,
etag: string ,
}
,
]
,
configurationPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
etag: string ,
}
,
name: string ,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnServerConfigurations_UpdateTags (updated)
Description Updates VpnServerConfiguration tags.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnServerConfigurations_UpdateTags",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "radiusServerSecret",
            "Description": {
              "new": "The radius secret property of the VpnServerConfiguration resource for point to site client connection. We will no longer return radiusServerSecret in VpnServerConfiguration Create/Update/Get/List/UpdateTags APIs response. Please use VpnServerConfiguration ListRadiusSecrets API to fetch radius server secrets.",
              "old": "The radius secret property of the VpnServerConfiguration resource for point to site client connection."
            }
          },
          {
            "radiusServers": {
              "$properties": [
                {
                  "#name": "radiusServerSecret",
                  "Description": {
                    "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                    "old": "The secret used for this radius server."
                  }
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
{
subscriptionId: string ,
resourceGroupName: string ,
vpnServerConfigurationName: string ,
api-version: string ,
VpnServerConfigurationParameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
name: string ,
vpnProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
radiusServerRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
radiusClientRootCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadAuthenticationParameters:
{
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
}
,
provisioningState: string ,
p2SVpnGateways:
[
{
properties:
{
virtualHub:
{
id: string ,
}
,
p2SConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
enableInternetSecurity: boolean ,
configurationPolicyGroupAssociations:
[
{
id: string ,
}
,
]
,
previousConfigurationPolicyGroupAssociations:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
vpnServerConfiguration:
{
id: string ,
}
,
vpnClientConnectionHealth:
{
totalIngressBytesTransferred: integer ,
totalEgressBytesTransferred: integer ,
vpnClientConnectionsCount: integer ,
allocatedIpAddresses:
[
string ,
]
,
}
,
customDnsServers:
[
string ,
]
,
isRoutingPreferenceInternet: boolean ,
}
,
etag: string ,
}
,
]
,
configurationPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
etag: string ,
}
,
name: string ,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnServerConfigurations_ListByResourceGroup (updated)
Description Lists all the vpnServerConfigurations in a resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnServerConfigurations_ListByResourceGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "radiusServerSecret",
                "Description": {
                  "new": "The radius secret property of the VpnServerConfiguration resource for point to site client connection. We will no longer return radiusServerSecret in VpnServerConfiguration Create/Update/Get/List/UpdateTags APIs response. Please use VpnServerConfiguration ListRadiusSecrets API to fetch radius server secrets.",
                  "old": "The radius secret property of the VpnServerConfiguration resource for point to site client connection."
                }
              },
              {
                "radiusServers": {
                  "$properties": [
                    {
                      "#name": "radiusServerSecret",
                      "Description": {
                        "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                        "old": "The secret used for this radius server."
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
vpnProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
radiusServerRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
radiusClientRootCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadAuthenticationParameters:
{
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
}
,
provisioningState: string ,
p2SVpnGateways:
[
{
properties:
{
virtualHub:
{
id: string ,
}
,
p2SConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
enableInternetSecurity: boolean ,
configurationPolicyGroupAssociations:
[
{
id: string ,
}
,
]
,
previousConfigurationPolicyGroupAssociations:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
vpnServerConfiguration:
{
id: string ,
}
,
vpnClientConnectionHealth:
{
totalIngressBytesTransferred: integer ,
totalEgressBytesTransferred: integer ,
vpnClientConnectionsCount: integer ,
allocatedIpAddresses:
[
string ,
]
,
}
,
customDnsServers:
[
string ,
]
,
isRoutingPreferenceInternet: boolean ,
}
,
etag: string ,
}
,
]
,
configurationPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
etag: string ,
}
,
name: string ,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnServerConfigurations_List (updated)
Description Lists all the VpnServerConfigurations in a subscription.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnServerConfigurations_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "radiusServerSecret",
                "Description": {
                  "new": "The radius secret property of the VpnServerConfiguration resource for point to site client connection. We will no longer return radiusServerSecret in VpnServerConfiguration Create/Update/Get/List/UpdateTags APIs response. Please use VpnServerConfiguration ListRadiusSecrets API to fetch radius server secrets.",
                  "old": "The radius secret property of the VpnServerConfiguration resource for point to site client connection."
                }
              },
              {
                "radiusServers": {
                  "$properties": [
                    {
                      "#name": "radiusServerSecret",
                      "Description": {
                        "new": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.",
                        "old": "The secret used for this radius server."
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
vpnProtocols:
[
string ,
]
,
vpnAuthenticationTypes:
[
string ,
]
,
vpnClientRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
vpnClientRevokedCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
radiusServerRootCertificates:
[
{
name: string ,
publicCertData: string ,
}
,
]
,
radiusClientRootCertificates:
[
{
name: string ,
thumbprint: string ,
}
,
]
,
vpnClientIpsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
radiusServerAddress: string ,
radiusServerSecret: string ,
radiusServers:
[
{
radiusServerAddress: string ,
radiusServerScore: integer ,
radiusServerSecret: string ,
}
,
]
,
aadAuthenticationParameters:
{
aadTenant: string ,
aadAudience: string ,
aadIssuer: string ,
}
,
provisioningState: string ,
p2SVpnGateways:
[
{
properties:
{
virtualHub:
{
id: string ,
}
,
p2SConnectionConfigurations:
[
{
properties:
{
vpnClientAddressPool:
{
addressPrefixes:
[
string ,
]
,
ipamPoolPrefixAllocations:
[
{
pool:
{
id: string ,
}
,
numberOfIpAddresses: string ,
allocatedAddressPrefixes:
[
string ,
]
,
}
,
]
,
}
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
enableInternetSecurity: boolean ,
configurationPolicyGroupAssociations:
[
{
id: string ,
}
,
]
,
previousConfigurationPolicyGroupAssociations:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: enum ,
}
,
name: string ,
etag: string ,
}
,
]
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
vpnServerConfiguration:
{
id: string ,
}
,
vpnClientConnectionHealth:
{
totalIngressBytesTransferred: integer ,
totalEgressBytesTransferred: integer ,
vpnClientConnectionsCount: integer ,
allocatedIpAddresses:
[
string ,
]
,
}
,
customDnsServers:
[
string ,
]
,
isRoutingPreferenceInternet: boolean ,
}
,
etag: string ,
}
,
]
,
configurationPolicyGroups:
[
{
properties:
{
isDefault: boolean ,
priority: integer ,
policyMembers:
[
{
name: string ,
attributeType: enum ,
attributeValue: string ,
}
,
]
,
p2SConnectionConfigurations:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
etag: string ,
name: string ,
type: string ,
}
,
]
,
etag: string ,
}
,
name: string ,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnGateways_Get (updated)
Description Retrieves the details of a virtual wan vpn gateway.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnGateways_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "connections": {
              "$properties": {
                "properties": [
                  {
                    "#name": "sharedKey",
                    "Description": {
                      "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
                      "old": "SharedKey for the vpn connection."
                    }
                  },
                  {
                    "vpnLinkConnections": {
                      "$properties": {
                        "properties": [
                          {
                            "#name": "sharedKey",
                            "Description": {
                              "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                              "old": "SharedKey for the vpn connection."
                            }
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
{
subscriptionId: string ,
resourceGroupName: string ,
gatewayName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
virtualHub:
{
id: string ,
}
,
connections:
[
{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
ipConfigurations:
[
{
id: string ,
publicIpAddress: string ,
privateIpAddress: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
isRoutingPreferenceInternet: boolean ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
egressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
ingressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnGateways_CreateOrUpdate (updated)
Description Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnGateways_CreateOrUpdate",
  "$parameters": {
    "vpnGatewayParameters": {
      "$properties": {
        "properties": [
          {
            "connections": {
              "$properties": {
                "properties": [
                  {
                    "#name": "sharedKey",
                    "Description": {
                      "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
                      "old": "SharedKey for the vpn connection."
                    }
                  },
                  {
                    "vpnLinkConnections": {
                      "$properties": {
                        "properties": [
                          {
                            "#name": "sharedKey",
                            "Description": {
                              "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                              "old": "SharedKey for the vpn connection."
                            }
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "connections": {
              "$properties": {
                "properties": [
                  {
                    "#name": "sharedKey",
                    "Description": {
                      "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
                      "old": "SharedKey for the vpn connection."
                    }
                  },
                  {
                    "vpnLinkConnections": {
                      "$properties": {
                        "properties": [
                          {
                            "#name": "sharedKey",
                            "Description": {
                              "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                              "old": "SharedKey for the vpn connection."
                            }
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "connections": {
              "$properties": {
                "properties": [
                  {
                    "#name": "sharedKey",
                    "Description": {
                      "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
                      "old": "SharedKey for the vpn connection."
                    }
                  },
                  {
                    "vpnLinkConnections": {
                      "$properties": {
                        "properties": [
                          {
                            "#name": "sharedKey",
                            "Description": {
                              "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                              "old": "SharedKey for the vpn connection."
                            }
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
{
subscriptionId: string ,
resourceGroupName: string ,
gatewayName: string ,
api-version: string ,
vpnGatewayParameters:
{
properties:
{
virtualHub:
{
id: string ,
}
,
connections:
[
{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
ipConfigurations:
[
{
id: string ,
publicIpAddress: string ,
privateIpAddress: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
isRoutingPreferenceInternet: boolean ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
egressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
ingressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
}
,
etag: string ,
}
,
}

⚐ Response (200)

{
properties:
{
virtualHub:
{
id: string ,
}
,
connections:
[
{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
ipConfigurations:
[
{
id: string ,
publicIpAddress: string ,
privateIpAddress: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
isRoutingPreferenceInternet: boolean ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
egressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
ingressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (201)

{
properties:
{
virtualHub:
{
id: string ,
}
,
connections:
[
{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
ipConfigurations:
[
{
id: string ,
publicIpAddress: string ,
privateIpAddress: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
isRoutingPreferenceInternet: boolean ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
egressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
ingressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnGateways_UpdateTags (updated)
Description Updates virtual wan vpn gateway tags.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnGateways_UpdateTags",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "connections": {
              "$properties": {
                "properties": [
                  {
                    "#name": "sharedKey",
                    "Description": {
                      "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
                      "old": "SharedKey for the vpn connection."
                    }
                  },
                  {
                    "vpnLinkConnections": {
                      "$properties": {
                        "properties": [
                          {
                            "#name": "sharedKey",
                            "Description": {
                              "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                              "old": "SharedKey for the vpn connection."
                            }
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
{
subscriptionId: string ,
resourceGroupName: string ,
gatewayName: string ,
api-version: string ,
vpnGatewayParameters:
{
tags: object ,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
virtualHub:
{
id: string ,
}
,
connections:
[
{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
ipConfigurations:
[
{
id: string ,
publicIpAddress: string ,
privateIpAddress: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
isRoutingPreferenceInternet: boolean ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
egressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
ingressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnGateways_Reset (updated)
Description Resets the primary of the vpn gateway in the specified resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnGateways_Reset",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "connections": {
              "$properties": {
                "properties": [
                  {
                    "#name": "sharedKey",
                    "Description": {
                      "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
                      "old": "SharedKey for the vpn connection."
                    }
                  },
                  {
                    "vpnLinkConnections": {
                      "$properties": {
                        "properties": [
                          {
                            "#name": "sharedKey",
                            "Description": {
                              "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                              "old": "SharedKey for the vpn connection."
                            }
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset
{
resourceGroupName: string ,
gatewayName: string ,
ipConfigurationId: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
virtualHub:
{
id: string ,
}
,
connections:
[
{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
ipConfigurations:
[
{
id: string ,
publicIpAddress: string ,
privateIpAddress: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
isRoutingPreferenceInternet: boolean ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
egressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
ingressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnGateways_ListByResourceGroup (updated)
Description Lists all the VpnGateways in a resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnGateways_ListByResourceGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "connections": {
                  "$properties": {
                    "properties": [
                      {
                        "#name": "sharedKey",
                        "Description": {
                          "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
                          "old": "SharedKey for the vpn connection."
                        }
                      },
                      {
                        "vpnLinkConnections": {
                          "$properties": {
                            "properties": [
                              {
                                "#name": "sharedKey",
                                "Description": {
                                  "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                                  "old": "SharedKey for the vpn connection."
                                }
                              }
                            ]
                          }
                        }
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
virtualHub:
{
id: string ,
}
,
connections:
[
{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
ipConfigurations:
[
{
id: string ,
publicIpAddress: string ,
privateIpAddress: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
isRoutingPreferenceInternet: boolean ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
egressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
ingressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnGateways_List (updated)
Description Lists all the VpnGateways in a subscription.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnGateways_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "connections": {
                  "$properties": {
                    "properties": [
                      {
                        "#name": "sharedKey",
                        "Description": {
                          "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
                          "old": "SharedKey for the vpn connection."
                        }
                      },
                      {
                        "vpnLinkConnections": {
                          "$properties": {
                            "properties": [
                              {
                                "#name": "sharedKey",
                                "Description": {
                                  "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                                  "old": "SharedKey for the vpn connection."
                                }
                              }
                            ]
                          }
                        }
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
virtualHub:
{
id: string ,
}
,
connections:
[
{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}
,
]
,
bgpSettings:
{
asn: integer ,
bgpPeeringAddress: string ,
peerWeight: integer ,
bgpPeeringAddresses:
[
{
ipconfigurationId: string ,
defaultBgpIpAddresses:
[
string ,
]
,
customBgpIpAddresses:
[
string ,
]
,
tunnelIpAddresses:
[
string ,
]
,
}
,
]
,
}
,
provisioningState: enum ,
vpnGatewayScaleUnit: integer ,
ipConfigurations:
[
{
id: string ,
publicIpAddress: string ,
privateIpAddress: string ,
}
,
]
,
enableBgpRouteTranslationForNat: boolean ,
isRoutingPreferenceInternet: boolean ,
natRules:
[
{
properties:
{
provisioningState: enum ,
type: enum ,
mode: enum ,
internalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
externalMappings:
[
{
addressSpace: string ,
portRange: string ,
}
,
]
,
ipConfigurationId: string ,
egressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
ingressVpnSiteLinkConnections:
[
{
id: string ,
}
,
]
,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnConnections_Get (updated)
Description Retrieves the details of a vpn connection.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnConnections_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "sharedKey",
            "Description": {
              "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
              "old": "SharedKey for the vpn connection."
            }
          },
          {
            "vpnLinkConnections": {
              "$properties": {
                "properties": [
                  {
                    "#name": "sharedKey",
                    "Description": {
                      "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                      "old": "SharedKey for the vpn connection."
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
gatewayName: string ,
connectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnConnections_CreateOrUpdate (updated)
Description Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnConnections_CreateOrUpdate",
  "$parameters": {
    "VpnConnectionParameters": {
      "$properties": {
        "properties": [
          {
            "#name": "sharedKey",
            "Description": {
              "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
              "old": "SharedKey for the vpn connection."
            }
          },
          {
            "vpnLinkConnections": {
              "$properties": {
                "properties": [
                  {
                    "#name": "sharedKey",
                    "Description": {
                      "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                      "old": "SharedKey for the vpn connection."
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "sharedKey",
            "Description": {
              "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
              "old": "SharedKey for the vpn connection."
            }
          },
          {
            "vpnLinkConnections": {
              "$properties": {
                "properties": [
                  {
                    "#name": "sharedKey",
                    "Description": {
                      "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                      "old": "SharedKey for the vpn connection."
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "#name": "sharedKey",
            "Description": {
              "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
              "old": "SharedKey for the vpn connection."
            }
          },
          {
            "vpnLinkConnections": {
              "$properties": {
                "properties": [
                  {
                    "#name": "sharedKey",
                    "Description": {
                      "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                      "old": "SharedKey for the vpn connection."
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
gatewayName: string ,
connectionName: string ,
api-version: string ,
VpnConnectionParameters:
{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}
,
}

⚐ Response (200)

{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}

⚐ Response (201)

{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnSiteLinkConnections_Get (updated)
Description Retrieves the details of a vpn site link connection.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnSiteLinkConnections_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "sharedKey",
            "Description": {
              "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
              "old": "SharedKey for the vpn connection."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
gatewayName: string ,
connectionName: string ,
linkConnectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnConnections_ListByVpnGateway (updated)
Description Retrieves all vpn connections for a particular virtual wan vpn gateway.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnConnections_ListByVpnGateway",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "sharedKey",
                "Description": {
                  "new": "Deprecated: SharedKey for the vpn connection. This is no more used.",
                  "old": "SharedKey for the vpn connection."
                }
              },
              {
                "vpnLinkConnections": {
                  "$properties": {
                    "properties": [
                      {
                        "#name": "sharedKey",
                        "Description": {
                          "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                          "old": "SharedKey for the vpn connection."
                        }
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections
{
subscriptionId: string ,
resourceGroupName: string ,
gatewayName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
remoteVpnSite:
{
id: string ,
}
,
routingWeight: integer ,
dpdTimeoutSeconds: integer ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
trafficSelectorPolicies:
[
{
localAddressRanges:
[
string ,
]
,
remoteAddressRanges:
[
string ,
]
,
}
,
]
,
enableRateLimiting: boolean ,
enableInternetSecurity: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
vpnLinkConnections:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
routingConfiguration:
{
associatedRouteTable:
{
id: string ,
}
,
propagatedRouteTables:
{
labels:
[
string ,
]
,
ids:
[
{
id: string ,
}
,
]
,
}
,
vnetRoutes:
{
staticRoutesConfig:
{
propagateStaticRoutes: boolean ,
vnetLocalRouteOverrideCriteria: enum ,
}
,
staticRoutes:
[
{
name: string ,
addressPrefixes:
[
string ,
]
,
nextHopIpAddress: string ,
}
,
]
,
bgpConnections:
[
{
id: string ,
}
,
]
,
}
,
inboundRouteMap:
{
id: string ,
}
,
outboundRouteMap:
{
id: string ,
}
,
}
,
}
,
name: string ,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VpnLinkConnections_ListByVpnConnection (updated)
Description Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection.
Reference Link ¶

⚶ Changes

{
  "#id": "VpnLinkConnections_ListByVpnConnection",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "sharedKey",
                "Description": {
                  "new": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.",
                  "old": "SharedKey for the vpn connection."
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections
{
subscriptionId: string ,
resourceGroupName: string ,
gatewayName: string ,
connectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
vpnSiteLink:
{
id: string ,
}
,
routingWeight: integer ,
vpnLinkConnectionMode: enum ,
connectionStatus: enum ,
vpnConnectionProtocolType: enum ,
ingressBytesTransferred: integer ,
egressBytesTransferred: integer ,
connectionBandwidth: integer ,
sharedKey: string ,
enableBgp: boolean ,
vpnGatewayCustomBgpAddresses:
[
{
ipConfigurationId: string ,
customBgpIpAddress: string ,
}
,
]
,
usePolicyBasedTrafficSelectors: boolean ,
ipsecPolicies:
[
{
saLifeTimeSeconds: integer ,
saDataSizeKilobytes: integer ,
ipsecEncryption: enum ,
ipsecIntegrity: enum ,
ikeEncryption: enum ,
ikeIntegrity: enum ,
dhGroup: enum ,
pfsGroup: enum ,
}
,
]
,
enableRateLimiting: boolean ,
useLocalAzureIpAddress: boolean ,
provisioningState: enum ,
ingressNatRules:
[
{
id: string ,
}
,
]
,
egressNatRules:
[
{
id: string ,
}
,
]
,
dpdTimeoutSeconds: integer ,
}
,
name: string ,
etag: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}