|
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": "2019-02-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}/providers/Microsoft.Network/locations/{location}/availableDelegations": { |
38 | | - "get": { |
39 | | - "operationId": "AvailableDelegations_List", |
40 | | - "description": "Gets all of the available subnet delegations for this subscription in this region.", |
41 | | - "parameters": [ |
42 | | - { |
43 | | - "name": "location", |
44 | | - "in": "path", |
45 | | - "required": true, |
46 | | - "type": "string", |
47 | | - "description": "The location of the subnet." |
48 | | - }, |
49 | | - { |
50 | | - "$ref": "./network.json#/parameters/ApiVersionParameter" |
51 | | - }, |
52 | | - { |
53 | | - "$ref": "./network.json#/parameters/SubscriptionIdParameter" |
54 | | - } |
55 | | - ], |
56 | | - "responses": { |
57 | | - "200": { |
58 | | - "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.", |
59 | | - "schema": { |
60 | | - "$ref": "#/definitions/AvailableDelegationsResult" |
61 | | - } |
62 | | - } |
63 | | - }, |
64 | | - "x-ms-examples": { |
65 | | - "Get available delegations": { |
66 | | - "$ref": "./examples/AvailableDelegationsSubscriptionGet.json" |
67 | | - } |
68 | | - }, |
69 | | - "x-ms-pageable": { |
70 | | - "nextLinkName": "nextLink" |
71 | | - } |
72 | | - } |
73 | | - }, |
74 | | - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations": { |
75 | | - "get": { |
76 | | - "operationId": "AvailableResourceGroupDelegations_List", |
77 | | - "description": "Gets all of the available subnet delegations for this resource group in this region.", |
78 | | - "parameters": [ |
79 | | - { |
80 | | - "name": "location", |
81 | | - "in": "path", |
82 | | - "required": true, |
83 | | - "type": "string", |
84 | | - "description": "The location of the domain name." |
85 | | - }, |
86 | | - { |
87 | | - "name": "resourceGroupName", |
88 | | - "in": "path", |
89 | | - "required": true, |
90 | | - "type": "string", |
91 | | - "description": "The name of the resource group." |
92 | | - }, |
93 | | - { |
94 | | - "$ref": "./network.json#/parameters/SubscriptionIdParameter" |
95 | | - }, |
96 | | - { |
97 | | - "$ref": "./network.json#/parameters/ApiVersionParameter" |
98 | | - } |
99 | | - ], |
100 | | - "responses": { |
101 | | - "200": { |
102 | | - "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.", |
103 | | - "schema": { |
104 | | - "$ref": "#/definitions/AvailableDelegationsResult" |
105 | | - } |
106 | | - } |
107 | | - }, |
108 | | - "x-ms-examples": { |
109 | | - "Get available delegations in the resource group": { |
110 | | - "$ref": "./examples/AvailableDelegationsResourceGroupGet.json" |
111 | | - } |
112 | | - }, |
113 | | - "x-ms-pageable": { |
114 | | - "nextLinkName": "nextLink" |
115 | | - } |
116 | | - } |
117 | | - } |
118 | | - }, |
119 | | - "definitions": { |
120 | | - "AvailableDelegationsResult": { |
121 | | - "properties": { |
122 | | - "value": { |
123 | | - "type": "array", |
124 | | - "items": { |
125 | | - "$ref": "#/definitions/AvailableDelegation" |
126 | | - }, |
127 | | - "description": "An array of available delegations." |
128 | | - }, |
129 | | - "nextLink": { |
130 | | - "readOnly": true, |
131 | | - "type": "string", |
132 | | - "description": "The URL to get the next set of results." |
133 | | - } |
134 | | - }, |
135 | | - "description": "An array of available delegations." |
136 | | - }, |
137 | | - "AvailableDelegation": { |
138 | | - "properties": { |
139 | | - "name": { |
140 | | - "type": "string", |
141 | | - "description": "The name of the AvailableDelegation resource." |
142 | | - }, |
143 | | - "id": { |
144 | | - "type": "string", |
145 | | - "description": "A unique identifier of the AvailableDelegation resource." |
146 | | - }, |
147 | | - "type": { |
148 | | - "type": "string", |
149 | | - "description": "Resource type." |
150 | | - }, |
151 | | - "serviceName": { |
152 | | - "type": "string", |
153 | | - "description": "The name of the service and resource " |
154 | | - }, |
155 | | - "actions": { |
156 | | - "type": "array", |
157 | | - "items": { |
158 | | - "type": "string" |
159 | | - }, |
160 | | - "description": "Describes the actions permitted to the service upon delegation" |
161 | | - } |
162 | | - }, |
163 | | - "description": "The serviceName of an AvailableDelegation indicates a possible delegation for a subnet." |
164 | | - } |
165 | | - } |
166 | | -} |
| 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": "2019-02-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}/providers/Microsoft.Network/locations/{location}/availableDelegations": { |
| 38 | + "get": { |
| 39 | + "operationId": "AvailableDelegations_List", |
| 40 | + "description": "Gets all of the available subnet delegations for this subscription in this region.", |
| 41 | + "parameters": [ |
| 42 | + { |
| 43 | + "name": "location", |
| 44 | + "in": "path", |
| 45 | + "required": true, |
| 46 | + "type": "string", |
| 47 | + "description": "The location of the subnet." |
| 48 | + }, |
| 49 | + { |
| 50 | + "$ref": "./network.json#/parameters/ApiVersionParameter" |
| 51 | + }, |
| 52 | + { |
| 53 | + "$ref": "./network.json#/parameters/SubscriptionIdParameter" |
| 54 | + } |
| 55 | + ], |
| 56 | + "responses": { |
| 57 | + "200": { |
| 58 | + "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.", |
| 59 | + "schema": { |
| 60 | + "$ref": "#/definitions/AvailableDelegationsResult" |
| 61 | + } |
| 62 | + } |
| 63 | + }, |
| 64 | + "x-ms-examples": { |
| 65 | + "Get available delegations": { |
| 66 | + "$ref": "./examples/AvailableDelegationsSubscriptionGet.json" |
| 67 | + } |
| 68 | + }, |
| 69 | + "x-ms-pageable": { |
| 70 | + "nextLinkName": "nextLink" |
| 71 | + } |
| 72 | + } |
| 73 | + }, |
| 74 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations": { |
| 75 | + "get": { |
| 76 | + "operationId": "AvailableResourceGroupDelegations_List", |
| 77 | + "description": "Gets all of the available subnet delegations for this resource group in this region.", |
| 78 | + "parameters": [ |
| 79 | + { |
| 80 | + "name": "location", |
| 81 | + "in": "path", |
| 82 | + "required": true, |
| 83 | + "type": "string", |
| 84 | + "description": "The location of the domain name." |
| 85 | + }, |
| 86 | + { |
| 87 | + "name": "resourceGroupName", |
| 88 | + "in": "path", |
| 89 | + "required": true, |
| 90 | + "type": "string", |
| 91 | + "description": "The name of the resource group." |
| 92 | + }, |
| 93 | + { |
| 94 | + "$ref": "./network.json#/parameters/SubscriptionIdParameter" |
| 95 | + }, |
| 96 | + { |
| 97 | + "$ref": "./network.json#/parameters/ApiVersionParameter" |
| 98 | + } |
| 99 | + ], |
| 100 | + "responses": { |
| 101 | + "200": { |
| 102 | + "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.", |
| 103 | + "schema": { |
| 104 | + "$ref": "#/definitions/AvailableDelegationsResult" |
| 105 | + } |
| 106 | + } |
| 107 | + }, |
| 108 | + "x-ms-examples": { |
| 109 | + "Get available delegations in the resource group": { |
| 110 | + "$ref": "./examples/AvailableDelegationsResourceGroupGet.json" |
| 111 | + } |
| 112 | + }, |
| 113 | + "x-ms-pageable": { |
| 114 | + "nextLinkName": "nextLink" |
| 115 | + } |
| 116 | + } |
| 117 | + } |
| 118 | + }, |
| 119 | + "definitions": { |
| 120 | + "AvailableDelegationsResult": { |
| 121 | + "properties": { |
| 122 | + "value": { |
| 123 | + "type": "array", |
| 124 | + "items": { |
| 125 | + "$ref": "#/definitions/AvailableDelegation" |
| 126 | + }, |
| 127 | + "description": "An array of available delegations." |
| 128 | + }, |
| 129 | + "nextLink": { |
| 130 | + "readOnly": true, |
| 131 | + "type": "string", |
| 132 | + "description": "The URL to get the next set of results." |
| 133 | + } |
| 134 | + }, |
| 135 | + "description": "An array of available delegations." |
| 136 | + }, |
| 137 | + "AvailableDelegation": { |
| 138 | + "properties": { |
| 139 | + "name": { |
| 140 | + "type": "string", |
| 141 | + "description": "The name of the AvailableDelegation resource." |
| 142 | + }, |
| 143 | + "id": { |
| 144 | + "type": "string", |
| 145 | + "description": "A unique identifier of the AvailableDelegation resource." |
| 146 | + }, |
| 147 | + "type": { |
| 148 | + "type": "string", |
| 149 | + "description": "Resource type." |
| 150 | + }, |
| 151 | + "serviceName": { |
| 152 | + "type": "string", |
| 153 | + "description": "The name of the service and resource " |
| 154 | + }, |
| 155 | + "actions": { |
| 156 | + "type": "array", |
| 157 | + "items": { |
| 158 | + "type": "string" |
| 159 | + }, |
| 160 | + "description": "Describes the actions permitted to the service upon delegation" |
| 161 | + } |
| 162 | + }, |
| 163 | + "description": "The serviceName of an AvailableDelegation indicates a possible delegation for a subnet." |
| 164 | + } |
| 165 | + } |
| 166 | +} |
0 commit comments