File tree Expand file tree Collapse file tree 3 files changed +87
-1
lines changed
specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview Expand file tree Collapse file tree 3 files changed +87
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "title" : " Patch Network Security Perimeter" ,
3+ "parameters" : {
4+ "api-version" : " 2021-02-01-preview" ,
5+ "subscriptionId" : " subId" ,
6+ "resourceGroupName" : " rg1" ,
7+ "networkSecurityPerimeterName" : " nsp1" ,
8+ "parameters" : {
9+ "tags" : {
10+ "description" : " nsp1"
11+ }
12+ }
13+ },
14+ "responses" : {
15+ "200" : {
16+ "body" : {
17+ "name" : " TestNetworkSecurityPerimeter" ,
18+ "id" : " /subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter" ,
19+ "type" : " Microsoft.Network/networkSecurityPerimeters" ,
20+ "tags" : {
21+ "description" : " nsp1"
22+ },
23+ "location" : " East US 2 EUAP" ,
24+ "properties" : {
25+ "perimeterGuid" : " guid" ,
26+ "provisioningState" : " Succeeded"
27+ }
28+ }
29+ }
30+ }
31+ }
Original file line number Diff line number Diff line change 66 "resourceGroupName" : " rg1" ,
77 "networkSecurityPerimeterName" : " nsp1" ,
88 "profileName" : " profile1" ,
9- "accessRuleName" : " accessRule1 " ,
9+ "accessRuleName" : " accessRuleName1 " ,
1010 "parameters" : {
1111 "properties" : {}
1212 }
Original file line number Diff line number Diff line change 143143 "$ref" : " ./examples/NetworkSecurityPerimeterDelete.json"
144144 }
145145 }
146+ },
147+ "patch" : {
148+ "tags" : [
149+ " NetworkSecurityPerimeters"
150+ ],
151+ "operationId" : " NetworkSecurityPerimeters_Patch" ,
152+ "description" : " Patch Tags for a Network Security Perimeter." ,
153+ "parameters" : [
154+ {
155+ "name" : " parameters" ,
156+ "in" : " body" ,
157+ "required" : true ,
158+ "schema" : {
159+ "$ref" : " #/definitions/UpdateTagsRequest"
160+ },
161+ "description" : " Parameter supplied to the network security perimeter."
162+ }
163+ ],
164+ "responses" : {
165+ "200" : {
166+ "description" : " Request is successful. Returns the resulting network security perimeter resource." ,
167+ "schema" : {
168+ "$ref" : " #/definitions/NetworkSecurityPerimeter"
169+ }
170+ },
171+ "default" : {
172+ "description" : " Error response describing why the operation failed." ,
173+ "schema" : {
174+ "$ref" : " ./network.json#/definitions/CloudError"
175+ }
176+ }
177+ },
178+ "x-ms-examples" : {
179+ "Patch Network Security Perimeter" : {
180+ "$ref" : " ./examples/NetworkSecurityPerimeterPatch.json"
181+ }
182+ }
146183 }
147184 },
148185 "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityPerimeters" : {
12851322 },
12861323 "description" : " Properties of network security perimeter."
12871324 },
1325+ "UpdateTagsRequest" : {
1326+ "type" : " object" ,
1327+ "properties" : {
1328+ "id" : {
1329+ "readOnly" : true ,
1330+ "type" : " string" ,
1331+ "description" : " Network security perimeter identifier."
1332+ },
1333+ "tags" : {
1334+ "type" : " object" ,
1335+ "additionalProperties" : {
1336+ "type" : " string"
1337+ },
1338+ "description" : " List of tags for Network Security Perimeter"
1339+ }
1340+ },
1341+ "description" : " Update tags request."
1342+ },
12881343 "NspProfile" : {
12891344 "type" : " object" ,
12901345 "properties" : {
You can’t perform that action at this time.
0 commit comments