-
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.
Ran `jsonfmt -w "specification/automation/**/*.json"`
- Loading branch information
1 parent
1b90713
commit 2b6274e
Showing
250 changed files
with
5,773 additions
and
5,776 deletions.
There are no files selected for viewing
276 changes: 138 additions & 138 deletions
276
specification/automation/resource-manager/Microsoft.Automation/common/v1/definitions.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 |
---|---|---|
@@ -1,148 +1,148 @@ | ||
{ | ||
"swagger": "2.0", | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
], | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"flow": "implicit", | ||
"description": "Azure Active Directory OAuth2 Flow", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
"swagger": "2.0", | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
], | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"flow": "implicit", | ||
"description": "Azure Active Directory OAuth2 Flow", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
} | ||
}, | ||
"info": { | ||
"version": "2018-06-10", | ||
"title": "Common types" | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"ErrorResponse": { | ||
"type": "object", | ||
"properties": { | ||
"code": { | ||
"description": "Error code", | ||
"type": "string" | ||
}, | ||
"message": { | ||
"description": "Error message indicating why the operation failed.", | ||
"type": "string" | ||
} | ||
}, | ||
"description": "Error response of an operation failure" | ||
}, | ||
"info": { | ||
"version": "2018-06-10", | ||
"title": "Common types" | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"ErrorResponse": { | ||
"type": "object", | ||
"properties": { | ||
"code": { | ||
"description": "Error code", | ||
"type": "string" | ||
}, | ||
"message": { | ||
"description": "Error message indicating why the operation failed.", | ||
"type": "string" | ||
} | ||
}, | ||
"description": "Error response of an operation failure" | ||
}, | ||
"Resource": { | ||
"description": "The core properties of ARM resources", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Fully qualified resource Id for the resource" | ||
}, | ||
"name": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "The name of the resource" | ||
}, | ||
"type": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "The type of the resource." | ||
} | ||
}, | ||
"x-ms-azure-resource": true | ||
"Resource": { | ||
"description": "The core properties of ARM resources", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Fully qualified resource Id for the resource" | ||
}, | ||
"TrackedResource": { | ||
"description": "The resource model definition for a ARM tracked top level resource", | ||
"type": "object", | ||
"properties": { | ||
"tags": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"x-ms-mutability": [ | ||
"read", | ||
"create", | ||
"update" | ||
], | ||
"description": "Resource tags." | ||
}, | ||
"location": { | ||
"type": "string", | ||
"x-ms-mutability": [ | ||
"read", | ||
"create" | ||
], | ||
"description": "The Azure Region where the resource lives" | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/Resource" | ||
} | ||
] | ||
"name": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "The name of the resource" | ||
}, | ||
"ProxyResource": { | ||
"description": "ARM proxy resource.", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/Resource" | ||
} | ||
], | ||
"properties": {} | ||
"type": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "The type of the resource." | ||
} | ||
}, | ||
"x-ms-azure-resource": 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." | ||
}, | ||
"ResourceGroupNameParameter": { | ||
"name": "resourceGroupName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"pattern": "^[-\\w\\._]+$", | ||
"minLength": 1, | ||
"maxLength": 90, | ||
"x-ms-parameter-location": "method", | ||
"description": "Name of an Azure Resource group." | ||
}, | ||
"AutomationAccountNameParameter": { | ||
"name": "automationAccountName", | ||
"description": "The name of the automation account.", | ||
"type": "string", | ||
"required": true, | ||
"in": "path", | ||
"x-ms-parameter-location": "method" | ||
"TrackedResource": { | ||
"description": "The resource model definition for a ARM tracked top level resource", | ||
"type": "object", | ||
"properties": { | ||
"tags": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"x-ms-mutability": [ | ||
"read", | ||
"create", | ||
"update" | ||
], | ||
"description": "Resource tags." | ||
}, | ||
"clientRequestId": { | ||
"name": "clientRequestId", | ||
"description": "Identifies this specific client request.", | ||
"type": "string", | ||
"required": false, | ||
"in": "header", | ||
"x-ms-parameter-location": "method" | ||
"location": { | ||
"type": "string", | ||
"x-ms-mutability": [ | ||
"read", | ||
"create" | ||
], | ||
"description": "The Azure Region where the resource lives" | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/Resource" | ||
} | ||
] | ||
}, | ||
"ProxyResource": { | ||
"description": "ARM proxy resource.", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/Resource" | ||
} | ||
], | ||
"properties": {} | ||
} | ||
}, | ||
"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." | ||
}, | ||
"ResourceGroupNameParameter": { | ||
"name": "resourceGroupName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"pattern": "^[-\\w\\._]+$", | ||
"minLength": 1, | ||
"maxLength": 90, | ||
"x-ms-parameter-location": "method", | ||
"description": "Name of an Azure Resource group." | ||
}, | ||
"AutomationAccountNameParameter": { | ||
"name": "automationAccountName", | ||
"description": "The name of the automation account.", | ||
"type": "string", | ||
"required": true, | ||
"in": "path", | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"clientRequestId": { | ||
"name": "clientRequestId", | ||
"description": "Identifies this specific client request.", | ||
"type": "string", | ||
"required": false, | ||
"in": "header", | ||
"x-ms-parameter-location": "method" | ||
} | ||
} | ||
} | ||
} |
92 changes: 46 additions & 46 deletions
92
...ource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/createJob.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 |
---|---|---|
@@ -1,51 +1,51 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", | ||
"resourceGroupName": "mygroup", | ||
"automationAccountName": "ContoseAutomationAccount", | ||
"jobName": "foo", | ||
"api-version": "2017-05-15-preview", | ||
"parameters": { | ||
"subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", | ||
"resourceGroupName": "mygroup", | ||
"automationAccountName": "ContoseAutomationAccount", | ||
"jobName": "foo", | ||
"api-version": "2017-05-15-preview", | ||
"properties": { | ||
"runbook": { | ||
"name": "TestRunbook" | ||
}, | ||
"parameters": { | ||
"properties": { | ||
"runbook": { | ||
"name": "TestRunbook" | ||
}, | ||
"parameters": { | ||
"key01": "value01", | ||
"key02": "value02" | ||
}, | ||
"runOn": "" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName", | ||
"name": "foo", | ||
"type": "Microsoft.Automation/AutomationAccounts/Jobs", | ||
"properties": { | ||
"jobId": "5b8a3960-e8ab-45f6-bec6-567df8467d1a", | ||
"runbook": { | ||
"name": "TestRunbook" | ||
}, | ||
"provisioningState": "Processing", | ||
"creationTime": "2018-02-01T05:53:30.243+00:00", | ||
"endTime": null, | ||
"exception": null, | ||
"lastModifiedTime": "2018-02-01T05:53:30.243+00:00", | ||
"lastStatusModifiedTime": "2018-02-01T05:53:30.243+00:00", | ||
"startTime": null, | ||
"status": "New", | ||
"statusDetails": "None", | ||
"parameters": { | ||
"tag01": "value01", | ||
"tag02": "value02" | ||
}, | ||
"runOn": "" | ||
} | ||
} | ||
"key01": "value01", | ||
"key02": "value02" | ||
}, | ||
"runOn": "" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName", | ||
"name": "foo", | ||
"type": "Microsoft.Automation/AutomationAccounts/Jobs", | ||
"properties": { | ||
"jobId": "5b8a3960-e8ab-45f6-bec6-567df8467d1a", | ||
"runbook": { | ||
"name": "TestRunbook" | ||
}, | ||
"provisioningState": "Processing", | ||
"creationTime": "2018-02-01T05:53:30.243+00:00", | ||
"endTime": null, | ||
"exception": null, | ||
"lastModifiedTime": "2018-02-01T05:53:30.243+00:00", | ||
"lastStatusModifiedTime": "2018-02-01T05:53:30.243+00:00", | ||
"startTime": null, | ||
"status": "New", | ||
"statusDetails": "None", | ||
"parameters": { | ||
"tag01": "value01", | ||
"tag02": "value02" | ||
}, | ||
"runOn": "" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.