Skip to content

Commit d8bad7c

Browse files
zhihaoxuedagoroz
andauthored
[Hub Generated] Publish private branch 'daorozcoABACGA' (#19937)
* commit for PR * add changes to readme * fiz avocado * prettier * add missing swaggers * start transition to 2022-04 * update version number * merge with latest public * pull latest public master * merge common types from 2022-10-01 public * remove device service principal type * revert device type removal and add skip token parameter * commit for PR * add changes to readme * fiz avocado * prettier * start transition to 2022-04 * update version number * merge common types from 2022-10-01 public * remove device service principal type * revert device type removal and add skip token parameter * update readme Co-authored-by: Daniel Orozco <[email protected]> Co-authored-by: Daniel Orozco (HE/THEY) <[email protected]> Co-authored-by: Daniel Orozco <[email protected]>
1 parent 4db3029 commit d8bad7c

34 files changed

+3554
-0
lines changed

specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/authorization-DenyAssignmentCalls.json

Lines changed: 508 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,249 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "AuthorizationManagementClient",
5+
"version": "2022-04-01",
6+
"description": "Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These calls handle provider operations."
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+
"/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}": {
38+
"get": {
39+
"tags": [
40+
"ProviderOperationsMetadata"
41+
],
42+
"operationId": "ProviderOperationsMetadata_Get",
43+
"description": "Gets provider operations metadata for the specified resource provider.",
44+
"parameters": [
45+
{
46+
"$ref": "#/parameters/ResourceProviderNamespaceParameter"
47+
},
48+
{
49+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
50+
},
51+
{
52+
"name": "$expand",
53+
"in": "query",
54+
"required": false,
55+
"type": "string",
56+
"default": "resourceTypes",
57+
"description": "Specifies whether to expand the values."
58+
}
59+
],
60+
"responses": {
61+
"200": {
62+
"description": "OK - Returns the operations metadata.",
63+
"schema": {
64+
"$ref": "#/definitions/ProviderOperationsMetadata"
65+
}
66+
},
67+
"default": {
68+
"description": "Error response describing why the operation failed.",
69+
"schema": {
70+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
71+
}
72+
}
73+
},
74+
"x-ms-examples": {
75+
"List provider operations metadata for resource provider": {
76+
"$ref": "./examples/GetProviderOperationsRP.json"
77+
}
78+
}
79+
}
80+
},
81+
"/providers/Microsoft.Authorization/providerOperations": {
82+
"get": {
83+
"tags": [
84+
"ProviderOperationsMetadata"
85+
],
86+
"operationId": "ProviderOperationsMetadata_List",
87+
"description": "Gets provider operations metadata for all resource providers.",
88+
"parameters": [
89+
{
90+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
91+
},
92+
{
93+
"name": "$expand",
94+
"in": "query",
95+
"required": false,
96+
"type": "string",
97+
"default": "resourceTypes",
98+
"description": "Specifies whether to expand the values."
99+
}
100+
],
101+
"responses": {
102+
"200": {
103+
"description": "OK - Returns an array of the operations metadata.",
104+
"schema": {
105+
"$ref": "#/definitions/ProviderOperationsMetadataListResult"
106+
}
107+
},
108+
"default": {
109+
"description": "Error response describing why the operation failed.",
110+
"schema": {
111+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
112+
}
113+
}
114+
},
115+
"x-ms-pageable": {
116+
"nextLinkName": "nextLink"
117+
},
118+
"x-ms-examples": {
119+
"List provider operations metadata for all resource providers": {
120+
"$ref": "./examples/GetAllProviderOperations.json"
121+
}
122+
}
123+
}
124+
}
125+
},
126+
"definitions": {
127+
"ResourceType": {
128+
"properties": {
129+
"name": {
130+
"type": "string",
131+
"description": "The resource type name."
132+
},
133+
"displayName": {
134+
"type": "string",
135+
"description": "The resource type display name."
136+
},
137+
"operations": {
138+
"type": "array",
139+
"items": {
140+
"$ref": "#/definitions/ProviderOperation"
141+
},
142+
"x-ms-identifiers": [],
143+
"description": "The resource type operations."
144+
}
145+
},
146+
"type": "object",
147+
"description": "Resource Type"
148+
},
149+
"ProviderOperation": {
150+
"properties": {
151+
"name": {
152+
"type": "string",
153+
"description": "The operation name."
154+
},
155+
"displayName": {
156+
"type": "string",
157+
"description": "The operation display name."
158+
},
159+
"description": {
160+
"type": "string",
161+
"description": "The operation description."
162+
},
163+
"origin": {
164+
"type": "string",
165+
"description": "The operation origin."
166+
},
167+
"properties": {
168+
"type": "object",
169+
"x-ms-client-flatten": true,
170+
"description": "The operation properties."
171+
},
172+
"isDataAction": {
173+
"type": "boolean",
174+
"description": "The dataAction flag to specify the operation type."
175+
}
176+
},
177+
"type": "object",
178+
"description": "Operation"
179+
},
180+
"ProviderOperationsMetadata": {
181+
"properties": {
182+
"id": {
183+
"type": "string",
184+
"description": "The provider id."
185+
},
186+
"name": {
187+
"type": "string",
188+
"description": "The provider name."
189+
},
190+
"type": {
191+
"type": "string",
192+
"description": "The provider type."
193+
},
194+
"displayName": {
195+
"type": "string",
196+
"description": "The provider display name."
197+
},
198+
"resourceTypes": {
199+
"type": "array",
200+
"items": {
201+
"$ref": "#/definitions/ResourceType"
202+
},
203+
"x-ms-identifiers": [
204+
"name"
205+
],
206+
"description": "The provider resource types"
207+
},
208+
"operations": {
209+
"type": "array",
210+
"items": {
211+
"$ref": "#/definitions/ProviderOperation"
212+
},
213+
"x-ms-identifiers": [],
214+
"description": "The provider operations."
215+
}
216+
},
217+
"type": "object",
218+
"description": "Provider Operations metadata"
219+
},
220+
"ProviderOperationsMetadataListResult": {
221+
"properties": {
222+
"value": {
223+
"type": "array",
224+
"items": {
225+
"$ref": "#/definitions/ProviderOperationsMetadata"
226+
},
227+
"description": "The list of providers."
228+
},
229+
"nextLink": {
230+
"type": "string",
231+
"description": "The URL to use for getting the next set of results."
232+
}
233+
},
234+
"type": "object",
235+
"description": "Provider operations metadata list"
236+
}
237+
},
238+
"parameters": {
239+
"ResourceProviderNamespaceParameter": {
240+
"name": "resourceProviderNamespace",
241+
"in": "path",
242+
"required": true,
243+
"type": "string",
244+
"description": "The namespace of the resource provider.",
245+
"x-ms-skip-url-encoding": true,
246+
"x-ms-parameter-location": "method"
247+
}
248+
}
249+
}

0 commit comments

Comments
 (0)