forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.AzureStack to add versio…
…n stable/2016-01-01 (Azure#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
- Loading branch information
1 parent
55131ea
commit 6ecbac8
Showing
17 changed files
with
2,125 additions
and
8 deletions.
There are no files selected for viewing
106 changes: 106 additions & 0 deletions
106
...cation/azurestack/resource-manager/Microsoft.AzureStack/stable/2016-01-01/AzureStack.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2016-01-01", | ||
"title": "Azure Stack Azure Bridge Client" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"paths": { | ||
"/providers/Microsoft.AzureStack/operations": { | ||
"get": { | ||
"x-ms-examples": { | ||
"Returns the list of supported REST operations.": { | ||
"$ref": "./examples/Operation/List.json" | ||
} | ||
}, | ||
"description": "Returns the list of supported REST operations.", | ||
"tags": [ | ||
"AzureStack" | ||
], | ||
"operationId": "Operations_List", | ||
"parameters": [ | ||
{ | ||
"$ref": "#/parameters/ApiVersionParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"schema": { | ||
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/OperationListResult" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
} | ||
}, | ||
"parameters": { | ||
"SubscriptionIdParameter": { | ||
"name": "subscriptionId", | ||
"in": "path", | ||
"description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
"ApiVersionParameter": { | ||
"name": "api-version", | ||
"in": "query", | ||
"description": "Client API Version.", | ||
"required": true, | ||
"type": "string", | ||
"default": "2016-01-01" | ||
}, | ||
"ResourceGroupNameParameter": { | ||
"description": "Name of the resource group.", | ||
"name": "resourceGroup", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"RegistrationNameParameter": { | ||
"description": "Name of the Azure Stack registration.", | ||
"name": "registrationName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"x-ms-parameter-location": "method" | ||
} | ||
}, | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"flow": "implicit", | ||
"description": "Authorization uses an Azure Active Directory OAuth2 flow.", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
} | ||
}, | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.