Skip to content

Commit c2330eb

Browse files
deathly809jhendrixMSFT
authored andcommitted
AzureStack Gallery Admin (#2780)
* AzureStack Gallery Admin * Moved to preview * Updated Readme to point to preview folder * Fixed nextLink and Operations
1 parent 4d6cf15 commit c2330eb

File tree

8 files changed

+3513
-0
lines changed

8 files changed

+3513
-0
lines changed
Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2015-04-01",
5+
"title": "GalleryManagementClient",
6+
"description": "The Admin Gallery Management Client."
7+
},
8+
"host": "adminmanagement.local.azurestack.external",
9+
"schemes": [
10+
"https"
11+
],
12+
"paths": {
13+
"/providers/Microsoft.Gallery.Admin/operations": {
14+
"get": {
15+
"x-ms-examples": {
16+
"Gets the available gallery admin operations.": {
17+
"$ref": "./examples/Operations.json"
18+
}
19+
},
20+
"tags": [
21+
"Operations"
22+
],
23+
"parameters": [
24+
{
25+
"$ref": "Gallery.json#/parameters/ApiVersionParameter"
26+
}
27+
],
28+
"summary": "Gets the available gallery admin operations.",
29+
"operationId": "Operations_List",
30+
"consumes": [
31+
"application/json"
32+
],
33+
"produces": [
34+
"application/json"
35+
],
36+
"responses": {
37+
"200": {
38+
"description": "OK",
39+
"schema": {
40+
"$ref": "#/definitions/OperationList"
41+
}
42+
}
43+
},
44+
"x-ms-pageable": {
45+
"nextLinkName": null
46+
}
47+
}
48+
}
49+
},
50+
"definitions": {
51+
"Resource": {
52+
"description": "Base Resource Object.",
53+
"type": "object",
54+
"properties": {
55+
"id": {
56+
"readOnly": true,
57+
"description": "URI of the resource.",
58+
"type": "string"
59+
},
60+
"name": {
61+
"readOnly": true,
62+
"description": "Name of the resource.",
63+
"type": "string"
64+
},
65+
"type": {
66+
"readOnly": true,
67+
"description": "Type of the resource.",
68+
"type": "string"
69+
},
70+
"location": {
71+
"readOnly": true,
72+
"description": "Location of the resource.",
73+
"type": "string"
74+
},
75+
"tags": {
76+
"readOnly": true,
77+
"description": "List of key-value pairs.",
78+
"type": "object",
79+
"additionalProperties": {
80+
"type": "string"
81+
}
82+
}
83+
},
84+
"x-ms-azure-resource": true
85+
},
86+
"Operation": {
87+
"description": "Represents a REST operation.",
88+
"type": "object",
89+
"properties": {
90+
"name": {
91+
"description": "Name of the REST operation.",
92+
"type": "string"
93+
},
94+
"origin": {
95+
"description": "Origin of the REST operation.",
96+
"type": "string"
97+
},
98+
"display": {
99+
"description": "Information about the REST operation.",
100+
"$ref": "#/definitions/OperationDisplayDefinition"
101+
}
102+
}
103+
},
104+
"OperationDisplayDefinition": {
105+
"description": "Information about the REST operation.",
106+
"type": "object",
107+
"properties": {
108+
"description": {
109+
"description": "Description of the REST operation.",
110+
"type": "string"
111+
},
112+
"operation": {
113+
"description": "Type of REST operation.",
114+
"type": "string"
115+
},
116+
"provider": {
117+
"description": "Provider of the REST operation.",
118+
"type": "string"
119+
},
120+
"resource": {
121+
"description": "Resource returned by the REST operation.",
122+
"type": "string"
123+
}
124+
}
125+
},
126+
"OperationList": {
127+
"description": "List of operations.",
128+
"type": "object",
129+
"properties": {
130+
"value": {
131+
"description": "List of operations.",
132+
"type": "array",
133+
"items": {
134+
"$ref": "#/definitions/Operation"
135+
}
136+
}
137+
}
138+
}
139+
},
140+
"parameters": {
141+
"SubscriptionIdParameter": {
142+
"name": "subscriptionId",
143+
"in": "path",
144+
"description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
145+
"required": true,
146+
"type": "string"
147+
},
148+
"ApiVersionParameter": {
149+
"name": "api-version",
150+
"in": "query",
151+
"description": "Client API Version.",
152+
"required": true,
153+
"type": "string",
154+
"default": "2016-05-01"
155+
},
156+
"FilterParameter": {
157+
"description": "OData filter parameter.",
158+
"name": "$filter",
159+
"in": "query",
160+
"type": "string",
161+
"x-ms-parameter-location": "method"
162+
}
163+
},
164+
"securityDefinitions": {
165+
"azure_auth": {
166+
"type": "oauth2",
167+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
168+
"flow": "implicit",
169+
"description": "Authorization uses an Azure Active Directory OAuth2 flow.",
170+
"scopes": {
171+
"user_impersonation": "impersonate your user account"
172+
}
173+
}
174+
},
175+
"security": [
176+
{
177+
"azure_auth": [
178+
"user_impersonation"
179+
]
180+
}
181+
]
182+
}

0 commit comments

Comments
 (0)