Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AdminState Property to Virtual Network Gateway Resource Properties #23978

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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