Skip to content

Commit fce3400

Browse files
authored
Removed object from NatGateway CreateOrUpdate Response (#10833)
* Removed object from NatGateway CreateOrUpdate Response * fixed syntax * removed object from example response * ran prettier
1 parent 451997a commit fce3400

File tree

2 files changed

+2
-34
lines changed

2 files changed

+2
-34
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/examples/NatGatewayCreateOrUpdate.json

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -84,35 +84,6 @@
8484
"type": "Microsoft.Network/natGateways"
8585
}
8686
},
87-
"202": {
88-
"body": {
89-
"name": "test-natGateway",
90-
"sku": {
91-
"name": "Standard"
92-
},
93-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
94-
"location": "westus",
95-
"properties": {
96-
"idleTimeoutInMinutes": 5,
97-
"provisioningState": "Succeeded",
98-
"publicIpAddresses": [
99-
{
100-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
101-
}
102-
],
103-
"publicIpPrefixes": [
104-
{
105-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
106-
}
107-
],
108-
"subnets": [
109-
{
110-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
111-
}
112-
]
113-
},
114-
"type": "Microsoft.Network/natGateways"
115-
}
116-
}
87+
"202": {}
11788
}
11889
}

specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/natGateway.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,7 @@
196196
}
197197
},
198198
"202": {
199-
"description": "Accepted and the operation will complete asynchronously.",
200-
"schema": {
201-
"$ref": "#/definitions/NatGateway"
202-
}
199+
"description": "Accepted and the operation will complete asynchronously."
203200
},
204201
"default": {
205202
"description": "Error response describing why the operation failed.",

0 commit comments

Comments
 (0)