-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from hovsepm/master
Added initial version of swagger specs in JSON for compute, network, resource, storage and subscription.
- Loading branch information
Showing
9 changed files
with
11,220 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
2,621 changes: 2,621 additions & 0 deletions
2,621
Microsoft.Compute/2015-06-15/swagger/service.json
Large diffs are not rendered by default.
Oops, something went wrong.
4,429 changes: 4,429 additions & 0 deletions
4,429
Microsoft.Network/2015-05-01-preview/swagger/service.json
Large diffs are not rendered by default.
Oops, something went wrong.
741 changes: 741 additions & 0 deletions
741
Microsoft.Resources.Authorization/2015-01-01/swagger/service.json
Large diffs are not rendered by default.
Oops, something went wrong.
312 changes: 312 additions & 0 deletions
312
Microsoft.Resources.Feature/2014-08-01-preview/swagger/service.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,312 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "FeatureClient", | ||
"version": "2014-08-01-preview" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json", | ||
"text/json" | ||
], | ||
"produces": [ | ||
"application/json", | ||
"text/json" | ||
], | ||
"paths": { | ||
"/subscriptions/{subscriptionId}/providers/Microsoft.Features/features": { | ||
"get": { | ||
"tags": [ | ||
"Features" | ||
], | ||
"operationId": "Features_ListAll", | ||
"description": "Gets a list of previewed features for all the providers in the current subscription.", | ||
"parameters": [ | ||
{ | ||
"in": "query", | ||
"$ref": "#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"in": "query", | ||
"$ref": "#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "", | ||
"schema": { | ||
"$ref": "#/definitions/FeatureOperationsListResult" | ||
} | ||
} | ||
}, | ||
"x-ms-pageable": true | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features": { | ||
"get": { | ||
"tags": [ | ||
"Features" | ||
], | ||
"operationId": "Features_List", | ||
"description": "Gets a list of previewed features of a resource provider.", | ||
"parameters": [ | ||
{ | ||
"name": "resourceProviderNamespace", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "The namespace of the resource provider." | ||
}, | ||
{ | ||
"in": "query", | ||
"$ref": "#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"in": "query", | ||
"$ref": "#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "", | ||
"schema": { | ||
"$ref": "#/definitions/FeatureOperationsListResult" | ||
} | ||
} | ||
}, | ||
"x-ms-pageable": true | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}": { | ||
"get": { | ||
"tags": [ | ||
"Features" | ||
], | ||
"operationId": "Features_Get", | ||
"description": "Get all features under the subscription.", | ||
"parameters": [ | ||
{ | ||
"name": "resourceProviderNamespace", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "Namespace of the resource provider." | ||
}, | ||
{ | ||
"name": "featureName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "Previewed feature name in the resource provider." | ||
}, | ||
{ | ||
"in": "query", | ||
"$ref": "#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"in": "query", | ||
"$ref": "#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "", | ||
"schema": { | ||
"$ref": "#/definitions/FeatureResult" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register": { | ||
"post": { | ||
"tags": [ | ||
"Features" | ||
], | ||
"operationId": "Features_Register", | ||
"description": "Registers for a previewed feature of a resource provider.", | ||
"parameters": [ | ||
{ | ||
"name": "resourceProviderNamespace", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "Namespace of the resource provider." | ||
}, | ||
{ | ||
"name": "featureName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "Previewed feature name in the resource provider." | ||
}, | ||
{ | ||
"in": "query", | ||
"$ref": "#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"in": "query", | ||
"$ref": "#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "", | ||
"schema": { | ||
"$ref": "#/definitions/FeatureResult" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"DeploymentExtendedFilter": { | ||
"properties": { | ||
"provisioningState": { | ||
"type": "string", | ||
"description": "Gets or sets the provisioning state." | ||
} | ||
}, | ||
"description": "Deployment filter." | ||
}, | ||
"GenericResourceFilter": { | ||
"properties": { | ||
"resourceType": { | ||
"type": "string", | ||
"description": "Gets or sets the resource type." | ||
}, | ||
"tagname": { | ||
"type": "string", | ||
"description": "Gets or sets the tag name." | ||
}, | ||
"tagvalue": { | ||
"type": "string", | ||
"description": "Gets or sets the tag value." | ||
} | ||
}, | ||
"description": "Resource filter." | ||
}, | ||
"ResourceGroupExtendedFilter": { | ||
"properties": { | ||
"tagName": { | ||
"type": "string", | ||
"description": "Gets or sets the tag name." | ||
}, | ||
"tagValue": { | ||
"type": "string", | ||
"description": "Gets or sets the tag value." | ||
} | ||
}, | ||
"description": "Resource group filter." | ||
}, | ||
"FeatureProperties": { | ||
"properties": { | ||
"state": { | ||
"type": "string", | ||
"description": "Gets or sets the state of the previewed feature." | ||
} | ||
}, | ||
"description": "Previewed feature information." | ||
}, | ||
"FeatureResult": { | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "Gets or sets the name of the feature." | ||
}, | ||
"properties": { | ||
"$ref": "#/definitions/FeatureProperties", | ||
"description": "Gets or sets the properties of the previewed feature." | ||
}, | ||
"id": { | ||
"type": "string", | ||
"description": "Gets or sets the Id of the feature." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"description": "Gets or sets the type of the feature." | ||
} | ||
}, | ||
"description": "Previewed feature information." | ||
}, | ||
"FeatureOperationsListResult": { | ||
"properties": { | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/FeatureResult" | ||
}, | ||
"description": "Gets or sets the list of Features." | ||
}, | ||
"nextLink": { | ||
"type": "string", | ||
"description": "Gets or sets the URL to get the next set of results." | ||
} | ||
}, | ||
"description": "List of previewed features." | ||
}, | ||
"Resource": { | ||
"properties": { | ||
"id": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Resource Id" | ||
}, | ||
"name": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Resource name" | ||
}, | ||
"type": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Resource type" | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "Resource location" | ||
}, | ||
"tags": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"description": "Resource tags" | ||
} | ||
}, | ||
"required": [ | ||
"location" | ||
], | ||
"x-ms-external": true | ||
}, | ||
"SubResource": { | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"description": "Resource Id" | ||
} | ||
}, | ||
"x-ms-external": true | ||
} | ||
}, | ||
"parameters": { | ||
"SubscriptionIdParameter": { | ||
"name": "subscriptionId", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." | ||
}, | ||
"ApiVersionParameter": { | ||
"name": "api-version", | ||
"in": "query", | ||
"required": true, | ||
"type": "string", | ||
"description": "Client Api Version." | ||
} | ||
} | ||
} |
Oops, something went wrong.