Skip to content

Commit 6ecbac8

Browse files
authored
[Hub Generated] Review request for Microsoft.AzureStack to add version stable/2016-01-01 (#12876)
* Adds base for updating Microsoft.AzureStack from version stable/2017-06-01 to version 2016-01-01 * Updates readme * Updates API version in new specs and examples * missing changes * readme changes * added operations path * added missing examples * switched back to old default package version * Removed local ref to generic types
1 parent 55131ea commit 6ecbac8

File tree

17 files changed

+2125
-8
lines changed

17 files changed

+2125
-8
lines changed
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2016-01-01",
5+
"title": "Azure Stack Azure Bridge Client"
6+
},
7+
"host": "management.azure.com",
8+
"schemes": [
9+
"https"
10+
],
11+
"consumes": [
12+
"application/json"
13+
],
14+
"produces": [
15+
"application/json"
16+
],
17+
"paths": {
18+
"/providers/Microsoft.AzureStack/operations": {
19+
"get": {
20+
"x-ms-examples": {
21+
"Returns the list of supported REST operations.": {
22+
"$ref": "./examples/Operation/List.json"
23+
}
24+
},
25+
"description": "Returns the list of supported REST operations.",
26+
"tags": [
27+
"AzureStack"
28+
],
29+
"operationId": "Operations_List",
30+
"parameters": [
31+
{
32+
"$ref": "#/parameters/ApiVersionParameter"
33+
}
34+
],
35+
"responses": {
36+
"200": {
37+
"description": "OK",
38+
"schema": {
39+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/OperationListResult"
40+
}
41+
},
42+
"default": {
43+
"description": "Error response describing why the operation failed.",
44+
"schema": {
45+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
46+
}
47+
}
48+
},
49+
"x-ms-pageable": {
50+
"nextLinkName": "nextLink"
51+
}
52+
}
53+
}
54+
},
55+
"parameters": {
56+
"SubscriptionIdParameter": {
57+
"name": "subscriptionId",
58+
"in": "path",
59+
"description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
60+
"required": true,
61+
"type": "string"
62+
},
63+
"ApiVersionParameter": {
64+
"name": "api-version",
65+
"in": "query",
66+
"description": "Client API Version.",
67+
"required": true,
68+
"type": "string",
69+
"default": "2016-01-01"
70+
},
71+
"ResourceGroupNameParameter": {
72+
"description": "Name of the resource group.",
73+
"name": "resourceGroup",
74+
"in": "path",
75+
"required": true,
76+
"type": "string",
77+
"x-ms-parameter-location": "method"
78+
},
79+
"RegistrationNameParameter": {
80+
"description": "Name of the Azure Stack registration.",
81+
"name": "registrationName",
82+
"in": "path",
83+
"required": true,
84+
"type": "string",
85+
"x-ms-parameter-location": "method"
86+
}
87+
},
88+
"securityDefinitions": {
89+
"azure_auth": {
90+
"type": "oauth2",
91+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
92+
"flow": "implicit",
93+
"description": "Authorization uses an Azure Active Directory OAuth2 flow.",
94+
"scopes": {
95+
"user_impersonation": "impersonate your user account"
96+
}
97+
}
98+
},
99+
"security": [
100+
{
101+
"azure_auth": [
102+
"user_impersonation"
103+
]
104+
}
105+
]
106+
}

0 commit comments

Comments
 (0)