Skip to content

Commit

Permalink
Add AdminState Property to Virtual Network Gateway Resource Properties (
Browse files Browse the repository at this point in the history
#23978)

* add adminstate

* update description

* add headers to 202

* prettier fix
  • Loading branch information
nimaller authored Jun 1, 2023
1 parent 9b1ecde commit 033a1e4
Show file tree
Hide file tree
Showing 28 changed files with 141 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"localNetworkGatewayName": "localgw"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {},
"204": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"virtualNetworkGatewayConnectionName": "conn1"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {},
"204": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"responses": {
"200": {
"body": {
"id": "",
"value": "AzureAbc123"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"parameters": {
"api-version": "2020-08-01",
"api-version": "2023-02-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"virtualNetworkGatewayConnectionName": "conn1"
},
"responses": {
"202": {}
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"keyLength": 128
}
},
"202": {}
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
"responses": {
"200": {
"body": {
"id": "",
"value": "AzureAbc123"
}
},
"201": {
"body": {
"id": "",
"value": "AzureAbc123"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"virtualNetworkGatewayConnectionName": "vpngwcn1"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
}
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
}
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
}
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": {
"name": "test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"virtualNetworkGatewayName": "vpngw"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {},
"204": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"200": {
"body": ""
},
"202": {}
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"parameters": {}
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": ""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"peer": "test"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"virtualNetworkGatewayName": "vpngw"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"virtualNetworkGatewayName": "vpngw"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": ""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
]
}
},
"202": {}
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"virtualNetworkGatewayName": "vpngw"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"virtualNetworkGatewayName": "vpngw"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": {
"name": "vpngw",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"virtualNetworkGatewayName": "vpngw"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
}
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": {
"saLifeTimeSeconds": 86473,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"virtualNetworkGatewayName": "vpngw"
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
}
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
}
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
}
},
"responses": {
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
},
"200": {
"body": {
"name": "vpngw",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
},
"responses": {
"200": {},
"202": {}
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2831,6 +2831,18 @@
"allowRemoteVnetTraffic": {
"type": "boolean",
"description": "Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN."
},
"adminState": {
"type": "string",
"description": "Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "adminState",
"modelAsString": true
}
}
},
"description": "VirtualNetworkGateway properties."
Expand Down

0 comments on commit 033a1e4

Please sign in to comment.