Skip to content

Commit b3f5a7a

Browse files
EvgenyAgafonchikovlmazuel
authored andcommitted
Added 2018-05-01 version. Common fixes (#3025)
* Created May folder. Updated version for exampls, commands * Updated package to May version * Returned NW examples * Fixed API version; Fixed NetworkWatcher examples * Fixed VPN Gateway/Connection examples * Add changes from PR#2975 https://github.com/Azure/azure-rest-api-specs/pull/2975/files
1 parent 2eb0271 commit b3f5a7a

File tree

229 files changed

+32067
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+32067
-1
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2018-05-01/applicationGateway.json

Lines changed: 2088 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 319 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,319 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "NetworkManagementClient",
5+
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
6+
"version": "2018-05-01"
7+
},
8+
"host": "management.azure.com",
9+
"schemes": [
10+
"https"
11+
],
12+
"consumes": [
13+
"application/json"
14+
],
15+
"produces": [
16+
"application/json"
17+
],
18+
"security": [
19+
{
20+
"azure_auth": [
21+
"user_impersonation"
22+
]
23+
}
24+
],
25+
"securityDefinitions": {
26+
"azure_auth": {
27+
"type": "oauth2",
28+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
29+
"flow": "implicit",
30+
"description": "Azure Active Directory OAuth2 Flow",
31+
"scopes": {
32+
"user_impersonation": "impersonate your user account"
33+
}
34+
}
35+
},
36+
"paths": {
37+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": {
38+
"delete": {
39+
"tags": [
40+
"ApplicationSecurityGroups"
41+
],
42+
"operationId": "ApplicationSecurityGroups_Delete",
43+
"description": "Deletes the specified application security group.",
44+
"parameters": [
45+
{
46+
"name": "resourceGroupName",
47+
"in": "path",
48+
"required": true,
49+
"type": "string",
50+
"description": "The name of the resource group."
51+
},
52+
{
53+
"name": "applicationSecurityGroupName",
54+
"in": "path",
55+
"required": true,
56+
"type": "string",
57+
"description": "The name of the application security group."
58+
},
59+
{
60+
"$ref": "#/parameters/ApiVersionParameter"
61+
},
62+
{
63+
"$ref": "#/parameters/SubscriptionIdParameter"
64+
}
65+
],
66+
"responses": {
67+
"204": {
68+
"description": "Request successful. Resource does not exist."
69+
},
70+
"202": {
71+
"description": "Accepted and the operation will complete asynchronously."
72+
},
73+
"200": {
74+
"description": "Delete successful."
75+
}
76+
},
77+
"x-ms-long-running-operation": true,
78+
"x-ms-examples": {
79+
"Delete application security group": { "$ref": "./examples/ApplicationSecurityGroupDelete.json" }
80+
}
81+
},
82+
"get": {
83+
"tags": [
84+
"ApplicationSecurityGroups"
85+
],
86+
"operationId": "ApplicationSecurityGroups_Get",
87+
"description": "Gets information about the specified application security group.",
88+
"parameters": [
89+
{
90+
"name": "resourceGroupName",
91+
"in": "path",
92+
"required": true,
93+
"type": "string",
94+
"description": "The name of the resource group."
95+
},
96+
{
97+
"name": "applicationSecurityGroupName",
98+
"in": "path",
99+
"required": true,
100+
"type": "string",
101+
"description": "The name of the application security group."
102+
},
103+
{
104+
"$ref": "#/parameters/ApiVersionParameter"
105+
},
106+
{
107+
"$ref": "#/parameters/SubscriptionIdParameter"
108+
}
109+
],
110+
"responses": {
111+
"200": {
112+
"description": "Request successful. The operation returns the specified application security group resource.",
113+
"schema": {
114+
"$ref": "#/definitions/ApplicationSecurityGroup"
115+
}
116+
}
117+
},
118+
"x-ms-examples": {
119+
"Get application security group": { "$ref": "./examples/ApplicationSecurityGroupGet.json" }
120+
}
121+
},
122+
"put": {
123+
"tags": [
124+
"ApplicationSecurityGroups"
125+
],
126+
"operationId": "ApplicationSecurityGroups_CreateOrUpdate",
127+
"description": "Creates or updates an application security group.",
128+
"parameters": [
129+
{
130+
"name": "resourceGroupName",
131+
"in": "path",
132+
"required": true,
133+
"type": "string",
134+
"description": "The name of the resource group."
135+
},
136+
{
137+
"name": "applicationSecurityGroupName",
138+
"in": "path",
139+
"required": true,
140+
"type": "string",
141+
"description": "The name of the application security group."
142+
},
143+
{
144+
"name": "parameters",
145+
"in": "body",
146+
"required": true,
147+
"schema": {
148+
"$ref": "#/definitions/ApplicationSecurityGroup"
149+
},
150+
"description": "Parameters supplied to the create or update ApplicationSecurityGroup operation."
151+
},
152+
{
153+
"$ref": "#/parameters/ApiVersionParameter"
154+
},
155+
{
156+
"$ref": "#/parameters/SubscriptionIdParameter"
157+
}
158+
],
159+
"responses": {
160+
"201": {
161+
"description": "Create successful. The operation returns the resulting application security group resource.",
162+
"schema": {
163+
"$ref": "#/definitions/ApplicationSecurityGroup"
164+
}
165+
},
166+
"200": {
167+
"description": "Update successful. The operation returns the resulting application security group resource.",
168+
"schema": {
169+
"$ref": "#/definitions/ApplicationSecurityGroup"
170+
}
171+
}
172+
},
173+
"x-ms-long-running-operation": true,
174+
"x-ms-examples": {
175+
"Create application security group": { "$ref": "./examples/ApplicationSecurityGroupCreate.json" }
176+
}
177+
}
178+
},
179+
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups": {
180+
"get": {
181+
"tags": [
182+
"ApplicationSecurityGroups"
183+
],
184+
"operationId": "ApplicationSecurityGroups_ListAll",
185+
"description": "Gets all application security groups in a subscription.",
186+
"parameters": [
187+
{
188+
"$ref": "#/parameters/ApiVersionParameter"
189+
},
190+
{
191+
"$ref": "#/parameters/SubscriptionIdParameter"
192+
}
193+
],
194+
"responses": {
195+
"200": {
196+
"description": "Request successful. The operation returns a list of application security group resources.",
197+
"schema": {
198+
"$ref": "#/definitions/ApplicationSecurityGroupListResult"
199+
}
200+
}
201+
},
202+
"x-ms-pageable": {
203+
"nextLinkName": "nextLink"
204+
},
205+
"x-ms-examples": {
206+
"List all application security groups": { "$ref": "./examples/ApplicationSecurityGroupListAll.json" }
207+
}
208+
}
209+
},
210+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups": {
211+
"get": {
212+
"tags": [
213+
"ApplicationSecurityGroups"
214+
],
215+
"operationId": "ApplicationSecurityGroups_List",
216+
"description": "Gets all the application security groups in a resource group.",
217+
"parameters": [
218+
{
219+
"name": "resourceGroupName",
220+
"in": "path",
221+
"required": true,
222+
"type": "string",
223+
"description": "The name of the resource group."
224+
},
225+
{
226+
"$ref": "#/parameters/ApiVersionParameter"
227+
},
228+
{
229+
"$ref": "#/parameters/SubscriptionIdParameter"
230+
}
231+
],
232+
"responses": {
233+
"200": {
234+
"description": "Request successful. The operation returns a list of application security group resources.",
235+
"schema": {
236+
"$ref": "#/definitions/ApplicationSecurityGroupListResult"
237+
}
238+
}
239+
},
240+
"x-ms-examples": {
241+
"List load balancers in resource group": { "$ref": "./examples/ApplicationSecurityGroupList.json" }
242+
},
243+
"x-ms-pageable": {
244+
"nextLinkName": "nextLink"
245+
}
246+
}
247+
}
248+
},
249+
"definitions": {
250+
"ApplicationSecurityGroup": {
251+
"properties": {
252+
"properties": {
253+
"x-ms-client-flatten": true,
254+
"$ref": "#/definitions/ApplicationSecurityGroupPropertiesFormat",
255+
"description": "Properties of the application security group."
256+
},
257+
"etag": {
258+
"readOnly": true,
259+
"type": "string",
260+
"description": "A unique read-only string that changes whenever the resource is updated."
261+
}
262+
},
263+
"allOf": [
264+
{
265+
"$ref": "./network.json#/definitions/Resource"
266+
}
267+
],
268+
"description": "An application security group in a resource group."
269+
},
270+
"ApplicationSecurityGroupPropertiesFormat": {
271+
"properties": {
272+
"resourceGuid": {
273+
"readOnly": true,
274+
"type": "string",
275+
"description": "The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups."
276+
},
277+
"provisioningState": {
278+
"readOnly": true,
279+
"type": "string",
280+
"description": "The provisioning state of the application security group resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'."
281+
}
282+
},
283+
"description": "Application security group properties."
284+
},
285+
"ApplicationSecurityGroupListResult": {
286+
"properties": {
287+
"value": {
288+
"type": "array",
289+
"items": {
290+
"$ref": "#/definitions/ApplicationSecurityGroup"
291+
},
292+
"description": "A list of application security groups."
293+
},
294+
"nextLink": {
295+
"readOnly": true,
296+
"type": "string",
297+
"description": "The URL to get the next set of results."
298+
}
299+
},
300+
"description": "A list of application security groups."
301+
}
302+
},
303+
"parameters": {
304+
"SubscriptionIdParameter": {
305+
"name": "subscriptionId",
306+
"in": "path",
307+
"required": true,
308+
"type": "string",
309+
"description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
310+
},
311+
"ApiVersionParameter": {
312+
"name": "api-version",
313+
"in": "query",
314+
"required": true,
315+
"type": "string",
316+
"description": "Client API version."
317+
}
318+
}
319+
}

0 commit comments

Comments
 (0)