Skip to content

Commit

Permalink
Merge pull request Azure#2 from xingwu1/master
Browse files Browse the repository at this point in the history
Update batch management swagger spec.
  • Loading branch information
xingwu1 committed Mar 1, 2016
2 parents da040ef + c574373 commit 27f5e6d
Showing 1 changed file with 99 additions and 2 deletions.
101 changes: 99 additions & 2 deletions arm-batch/2015-12-01/BatchManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the new Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "A name for the Batch account which must be unique within Azure. Batch account names must be between 3 and 24 characters in length and must use only numbers and lower-case letters. This name is used as part of the DNS name that is used to access the batch service in the region in which the account is created. For example: http://AccountName.batch.core.windows.net/."
},
{
Expand Down Expand Up @@ -78,13 +82,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the account."
},
{
Expand Down Expand Up @@ -124,13 +132,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account to be deleted."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the account to be deleted."
},
{
Expand Down Expand Up @@ -165,13 +177,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the account."
},
{
Expand Down Expand Up @@ -219,19 +235,48 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts": {
"get": {
"tags": [
"Account"
],
"operationId": "Account_List",
"description": "The List operation gets information about the Batch accounts associated either with the subscription if no resource group is specified or within the specified resource group.",
"description": "The List operation gets information about the Batch accounts associated with the subscription.",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/BatchAccountListResult"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts": {
"get": {
"tags": [
"Account"
],
"operationId": "Account_ListResourceGroup",
"description": "The List operation gets information about the Batch accounts associated the specified resource group.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "An optional argument which specifies the name of the resource group that constrains the set of accounts that are returned."
},
{
Expand Down Expand Up @@ -267,13 +312,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the Batch account."
},
{
Expand Down Expand Up @@ -303,13 +352,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the account."
},
{
Expand Down Expand Up @@ -351,13 +404,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the account."
},
{
Expand Down Expand Up @@ -390,13 +447,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the Batch account."
},
{
Expand Down Expand Up @@ -449,13 +510,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the Batch account."
},
{
Expand Down Expand Up @@ -499,13 +564,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the Batch account."
},
{
Expand Down Expand Up @@ -540,13 +609,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the Batch account."
},
{
Expand Down Expand Up @@ -584,13 +657,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the Batch account."
},
{
Expand Down Expand Up @@ -636,13 +713,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the Batch account."
},
{
Expand Down Expand Up @@ -687,13 +768,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the Batch account."
},
{
Expand Down Expand Up @@ -735,13 +820,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the Batch account."
},
{
Expand Down Expand Up @@ -788,13 +877,17 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"description": "The name of the resource group that contains the Batch account."
},
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
"minLength": 3,
"maxLength": 24,
"description": "The name of the Batch account."
},
{
Expand Down Expand Up @@ -866,6 +959,7 @@
"description": "Gets or sets the resource id of the storage account to be used for auto storage."
}
},
"required": [ "storageAccountId" ],
"description": "Gets or sets properties relating to auto storage."
},
"AccountBaseProperties": {
Expand Down Expand Up @@ -909,6 +1003,7 @@
"description": "Gets or sets the UTC time at which storage keys were last synced to the Batch account."
}
},
"required": [ "storageAccountId", "lastKeySync" ],
"description": "Contains information about the auto storage associated with a Batch account."
},
"AccountProperties": {
Expand Down Expand Up @@ -1053,6 +1148,7 @@
}
}
},
"required": [ "keyName" ],
"description": "Parameters supplied to the RegenerateKey operation."
},
"BatchAccountRegenerateKeyResult": {
Expand Down Expand Up @@ -1088,6 +1184,7 @@
"description": "Gets or sets the format of the application package binary file."
}
},
"required": [ "format" ],
"description": "Parameters for an ApplicationOperations.ActivateApplicationPackage request."
},
"AddApplicationParameters": {
Expand Down

0 comments on commit 27f5e6d

Please sign in to comment.