Skip to content

Commit

Permalink
Merge pull request #1 from hovsepm/master
Browse files Browse the repository at this point in the history
Added initial version of swagger specs in JSON for compute, network, resource, storage and subscription.
  • Loading branch information
devigned committed Jul 16, 2015
2 parents acafc17 + bfdebd1 commit 6022e27
Show file tree
Hide file tree
Showing 9 changed files with 11,220 additions and 0 deletions.
Empty file.
Empty file.
2,621 changes: 2,621 additions & 0 deletions Microsoft.Compute/2015-06-15/swagger/service.json

Large diffs are not rendered by default.

4,429 changes: 4,429 additions & 0 deletions Microsoft.Network/2015-05-01-preview/swagger/service.json

Large diffs are not rendered by default.

741 changes: 741 additions & 0 deletions Microsoft.Resources.Authorization/2015-01-01/swagger/service.json

Large diffs are not rendered by default.

312 changes: 312 additions & 0 deletions Microsoft.Resources.Feature/2014-08-01-preview/swagger/service.json
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."
}
}
}
Loading

0 comments on commit 6022e27

Please sign in to comment.