openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 34.9 kB
JSON
{"openapi":"3.0.0","info":{"title":"AutomationManagement","version":"2017-05-15-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/job.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"automation-job","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs":{"get":{"description":"Retrieve a list of jobs.","externalDocs":{"url":"http://aka.ms/azureautomationsdk/joboperations"},"operationId":"Job_ListByAutomationAccount","parameters":[{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._]+$"},"examples":{"List jobs by automation account":{"value":"mygroup"}}},{"description":"The name of the automation account.","in":"path","name":"automationAccountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List jobs by automation account":{"value":"ContoseAutomationAccount"}}},{"description":"The filter to apply on the operation.","in":"query","name":"$filter","required":false,"schema":{"type":"string"}},{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"List jobs by automation account":{"value":"51766542-3ed7-4a72-a187-0c8ab644ddab"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"List jobs by automation account":{"value":"2017-05-15-preview"}}},{"description":"Identifies this specific client request.","in":"header","name":"clientRequestId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobListResultV2"},"examples":{"List jobs by automation account":{"$ref":"#/components/examples/List_jobs_by_automation_account"}}}}},"default":{"description":"Automation error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error response of an operation failure","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["Job"],"x-ms-odata":"#/components/schemas/JobCollectionItem","x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}":{"get":{"description":"Retrieve the job identified by job name.","externalDocs":{"url":"http://aka.ms/azureautomationsdk/joboperations"},"operationId":"Job_Get","parameters":[{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Get job":{"value":"51766542-3ed7-4a72-a187-0c8ab644ddab"}}},{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._]+$"},"examples":{"Get job":{"value":"mygroup"}}},{"description":"The name of the automation account.","in":"path","name":"automationAccountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get job":{"value":"ContoseAutomationAccount"}}},{"description":"The job name.","in":"path","name":"jobName","required":true,"schema":{"type":"string"},"examples":{"Get job":{"value":"foo"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Get job":{"value":"2017-05-15-preview"}}},{"description":"Identifies this specific client request.","in":"header","name":"clientRequestId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"},"examples":{"Get job":{"$ref":"#/components/examples/Get_job"}}}}},"default":{"description":"Automation error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error response of an operation failure","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["Job"]},"put":{"description":"Create a job of the runbook.","externalDocs":{"url":"http://aka.ms/azureautomationsdk/joboperations"},"operationId":"Job_Create","parameters":[{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Create job":{"value":"51766542-3ed7-4a72-a187-0c8ab644ddab"}}},{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._]+$"},"examples":{"Create job":{"value":"mygroup"}}},{"description":"The name of the automation account.","in":"path","name":"automationAccountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Create job":{"value":"ContoseAutomationAccount"}}},{"description":"The job name.","in":"path","name":"jobName","required":true,"schema":{"type":"string"},"examples":{"Create job":{"value":"foo"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Create job":{"value":"2017-05-15-preview"}}},{"description":"Identifies this specific client request.","in":"header","name":"clientRequestId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreateParameters"}}},"description":"The parameters supplied to the create job operation.","required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"},"examples":{"Create job":{"$ref":"#/components/examples/Create_job"}}}}},"default":{"description":"Automation error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error response of an operation failure","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["Job"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/output":{"get":{"description":"Retrieve the job output identified by job name.","externalDocs":{"url":"http://aka.ms/azureautomationsdk/joboperations"},"operationId":"Job_GetOutput","parameters":[{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Get Job Output":{"value":"51766542-3ed7-4a72-a187-0c8ab644ddab"}}},{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._]+$"},"examples":{"Get Job Output":{"value":"mygroup"}}},{"description":"The name of the automation account.","in":"path","name":"automationAccountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get Job Output":{"value":"ContoseAutomationAccount"}}},{"description":"The name of the job to be created.","in":"path","name":"jobName","required":true,"schema":{"type":"string"},"examples":{"Get Job Output":{"value":"foo"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Get Job Output":{"value":"2017-05-15-preview"}}},{"description":"Identifies this specific client request.","in":"header","name":"clientRequestId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"string","format":"binary"},"examples":{"Get Job Output":{"$ref":"#/components/examples/Get_Job_Output"}}}}},"default":{"description":"Automation error response describing why the operation failed.","content":{"text/plain":{"schema":{"description":"Error response of an operation failure","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["Job"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/resume":{"post":{"description":"Resume the job identified by jobName.","externalDocs":{"url":"http://aka.ms/azureautomationsdk/joboperations"},"operationId":"Job_Resume","parameters":[{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._]+$"},"examples":{"Resume job":{"value":"mygroup"}}},{"description":"The name of the automation account.","in":"path","name":"automationAccountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Resume job":{"value":"ContoseAutomationAccount"}}},{"description":"The job name.","in":"path","name":"jobName","required":true,"schema":{"type":"string"},"examples":{"Resume job":{"value":"foo"}}},{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Resume job":{"value":"51766542-3ed7-4a72-a187-0c8ab644ddab"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Resume job":{"value":"2017-05-15-preview"}}},{"description":"Identifies this specific client request.","in":"header","name":"clientRequestId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"default":{"description":"Automation error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error response of an operation failure","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["Job"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/runbookContent":{"get":{"description":"Retrieve the runbook content of the job identified by job name.","externalDocs":{"url":"http://aka.ms/azureautomationsdk/joboperations"},"operationId":"Job_GetRunbookContent","parameters":[{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Get Job Runbook Content":{"value":"51766542-3ed7-4a72-a187-0c8ab644ddab"}}},{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._]+$"},"examples":{"Get Job Runbook Content":{"value":"mygroup"}}},{"description":"The name of the automation account.","in":"path","name":"automationAccountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get Job Runbook Content":{"value":"ContoseAutomationAccount"}}},{"description":"The job name.","in":"path","name":"jobName","required":true,"schema":{"type":"string"},"examples":{"Get Job Runbook Content":{"value":"foo"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Get Job Runbook Content":{"value":"2017-05-15-preview"}}},{"description":"Identifies this specific client request.","in":"header","name":"clientRequestId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"},"examples":{"Get Job Runbook Content":{"$ref":"#/components/examples/Get_Job_Runbook_Content"}}}}},"default":{"description":"Automation error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error response of an operation failure","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["Job"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/stop":{"post":{"description":"Stop the job identified by jobName.","externalDocs":{"url":"http://aka.ms/azureautomationsdk/joboperations"},"operationId":"Job_Stop","parameters":[{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._]+$"},"examples":{"Stop job":{"value":"mygroup"}}},{"description":"The name of the automation account.","in":"path","name":"automationAccountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Stop job":{"value":"ContoseAutomationAccount"}}},{"description":"The job name.","in":"path","name":"jobName","required":true,"schema":{"type":"string"},"examples":{"Stop job":{"value":"foo"}}},{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Stop job":{"value":"51766542-3ed7-4a72-a187-0c8ab644ddab"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Stop job":{"value":"2017-05-15-preview"}}},{"description":"Identifies this specific client request.","in":"header","name":"clientRequestId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"default":{"description":"Automation error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error response of an operation failure","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["Job"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/streams":{"get":{"description":"Retrieve a list of jobs streams identified by job name.","externalDocs":{"url":"http://aka.ms/azureautomationsdk/jobstreamoperations"},"operationId":"JobStream_ListByJob","parameters":[{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._]+$"},"examples":{"List job streams by job name":{"value":"mygroup"}}},{"description":"The name of the automation account.","in":"path","name":"automationAccountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List job streams by job name":{"value":"ContoseAutomationAccount"}}},{"description":"The job name.","in":"path","name":"jobName","required":true,"schema":{"type":"string"},"examples":{"List job streams by job name":{"value":"foo"}}},{"description":"The filter to apply on the operation.","in":"query","name":"$filter","required":false,"schema":{"type":"string"}},{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"List job streams by job name":{"value":"51766542-3ed7-4a72-a187-0c8ab644ddab"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"List job streams by job name":{"value":"2017-05-15-preview"}}},{"description":"Identifies this specific client request.","in":"header","name":"clientRequestId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStreamListResult"},"examples":{"List job streams by job name":{"$ref":"#/components/examples/List_job_streams_by_job_name"}}}}},"default":{"description":"Automation error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error response of an operation failure","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["JobStream"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/streams/{jobStreamId}":{"get":{"description":"Retrieve the job stream identified by job stream id.","externalDocs":{"url":"http://aka.ms/azureautomationsdk/jobstreamoperations"},"operationId":"JobStream_Get","parameters":[{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Get job stream":{"value":"51766542-3ed7-4a72-a187-0c8ab644ddab"}}},{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._]+$"},"examples":{"Get job stream":{"value":"mygroup"}}},{"description":"The name of the automation account.","in":"path","name":"automationAccountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get job stream":{"value":"ContoseAutomationAccount"}}},{"description":"The job name.","in":"path","name":"jobName","required":true,"schema":{"type":"string"},"examples":{"Get job stream":{"value":"foo"}}},{"description":"The job stream id.","in":"path","name":"jobStreamId","required":true,"schema":{"type":"string"},"examples":{"Get job stream":{"value":"851b2101-686f-40e2-8a4b-5b8df08afbd1_00636535684910693884_00000000000000000001"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Get job stream":{"value":"2017-05-15-preview"}}},{"description":"Identifies this specific client request.","in":"header","name":"clientRequestId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStream"},"examples":{"Get job stream":{"$ref":"#/components/examples/Get_job_stream"}}}}},"default":{"description":"Automation error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error response of an operation failure","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["JobStream"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/suspend":{"post":{"description":"Suspend the job identified by job name.","externalDocs":{"url":"http://aka.ms/azureautomationsdk/joboperations"},"operationId":"Job_Suspend","parameters":[{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Suspend job":{"value":"51766542-3ed7-4a72-a187-0c8ab644ddab"}}},{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._]+$"},"examples":{"Suspend job":{"value":"mygroup"}}},{"description":"The name of the automation account.","in":"path","name":"automationAccountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Suspend job":{"value":"ContoseAutomationAccount"}}},{"description":"The job name.","in":"path","name":"jobName","required":true,"schema":{"type":"string"},"examples":{"Suspend job":{"value":"foo"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Suspend job":{"value":"2017-05-15-preview"}}},{"description":"Identifies this specific client request.","in":"header","name":"clientRequestId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"default":{"description":"Automation error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error response of an operation failure","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["Job"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"List_jobs_by_automation_account":{"value":{"value":[{"id":"/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/job1","name":"job1","properties":{"creationTime":"2017-03-30T05:53:30.243+00:00","jobId":"45203a94-a8cb-47c3-8ce4-4dcc3a5f7d23","lastModifiedTime":"2017-03-30T05:53:30.243+00:00","provisioningState":"Succeeded","runbook":{"name":"TestRunbook"},"status":"New"},"type":"Microsoft.Automation/AutomationAccounts/Jobs"},{"id":"/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/job2","name":"job2","properties":{"creationTime":"2017-03-30T05:46:49.37+00:00","endTime":"2017-03-30T05:48:38.857+00:00","jobId":"7584055f-5118-460a-a2dd-5176c9c8efe9","lastModifiedTime":"2017-03-30T05:48:38.857+00:00","provisioningState":"Succeeded","runbook":{"name":"TestRunbook"},"startTime":"2017-03-30T05:47:35.2+00:00","status":"Completed"},"type":"Microsoft.Automation/AutomationAccounts/Jobs"}]}},"Get_job":{"value":{"id":"/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName","name":"foo","properties":{"creationTime":"2018-02-01T05:53:30.243+00:00","jobId":"5b8a3960-e8ab-45f6-bec6-567df8467d1a","lastModifiedTime":"2018-02-01T05:53:30.243+00:00","lastStatusModifiedTime":"2018-02-01T05:53:30.243+00:00","parameters":{"tag01":"value01","tag02":"value02"},"provisioningState":"Processing","runOn":"","runbook":{"name":"TestRunbook"},"status":"New","statusDetails":"None"},"type":"Microsoft.Automation/AutomationAccounts/Jobs"}},"Create_job":{"value":{"id":"/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName","name":"foo","properties":{"creationTime":"2018-02-01T05:53:30.243+00:00","jobId":"5b8a3960-e8ab-45f6-bec6-567df8467d1a","lastModifiedTime":"2018-02-01T05:53:30.243+00:00","lastStatusModifiedTime":"2018-02-01T05:53:30.243+00:00","parameters":{"tag01":"value01","tag02":"value02"},"provisioningState":"Processing","runOn":"","runbook":{"name":"TestRunbook"},"status":"New","statusDetails":"None"},"type":"Microsoft.Automation/AutomationAccounts/Jobs"}},"Get_Job_Output":{"value":"Wednesday, February 7, 2018 3:47:17 PM"},"Get_Job_Runbook_Content":{"value":"get-date"},"List_job_streams_by_job_name":{"value":{"value":[{"id":"/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourcegroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName/streams/24456a8a-2857-4af6-932c-3455f38bd05e_00636535675981232703_00000000000000000001","properties":{"jobStreamId":"24456a8a-2857-4af6-932c-3455f38bd05e_00636535675981232703_00000000000000000001","streamType":"Output","time":"2018-02-07T02:33:18.1232703+00:00"}},{"id":"/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourcegroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName/streams/24456a8a-2857-4af6-932c-3455f38bd05e_00636535675984691350_00000000000000000002","properties":{"jobStreamId":"24456a8a-2857-4af6-932c-3455f38bd05e_00636535675984691350_00000000000000000002","streamType":"Output","time":"2018-02-07T02:33:18.469135+00:00"}}]}},"Get_job_stream":{"value":{"id":"/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourcegroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName/streams/851b2101-686f-40e2-8a4b-5b8df08afbd1_00636535684910693884_00000000000000000001","properties":{"jobStreamId":"851b2101-686f-40e2-8a4b-5b8df08afbd1:00636535684910693884:00000000000000000001","streamText":"","streamType":"Output","time":"2018-02-07T02:48:11.0693884+00:00","value":{}}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"Job":{"allOf":[{"allOf":[{"description":"The core properties of ARM resources","properties":{"id":{"description":"Fully qualified resource Id for the resource","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"Definition of the job.","properties":{"properties":{"$ref":"#/components/schemas/JobProperties"}},"x-ms-mutability":["read","create"]},"JobCollectionItem":{"allOf":[{"allOf":[{"description":"The core properties of ARM resources","properties":{"id":{"description":"Fully qualified resource Id for the resource","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"Job collection item properties.","properties":{"properties":{"$ref":"#/components/schemas/JobCollectionItemProperties"}},"required":["properties"],"type":"object"},"JobCollectionItemProperties":{"description":"Job collection item properties.","properties":{"creationTime":{"description":"The creation time of the job.","format":"date-time","readOnly":true,"type":"string","nullable":false},"endTime":{"description":"The end time of the job.","format":"date-time","readOnly":true,"type":"string","nullable":true},"jobId":{"description":"The id of the job.","format":"uuid","readOnly":true,"type":"string","nullable":false},"lastModifiedTime":{"description":"The last modified time of the job.","format":"date-time","readOnly":true,"type":"string","nullable":true},"provisioningState":{"description":"The provisioning state of a resource.","readOnly":true,"type":"string"},"runOn":{"description":"Specifies the runOn group name where the job was executed.","type":"string"},"runbook":{"$ref":"#/components/schemas/RunbookAssociationProperty"},"startTime":{"description":"The start time of the job.","format":"date-time","readOnly":true,"type":"string","nullable":true},"status":{"description":"The status of the job.","enum":["New","Activating","Running","Completed","Failed","Stopped","Blocked","Suspended","Disconnected","Suspending","Stopping","Resuming","Removing"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"JobStatus"}}}},"JobCreateParameters":{"description":"The parameters supplied to the create job operation.","properties":{"properties":{"$ref":"#/components/schemas/JobCreateProperties"}},"required":["properties"]},"JobCreateProperties":{"properties":{"parameters":{"additionalProperties":{"type":"string"},"description":"Gets or sets the parameters of the job.","type":"object"},"runOn":{"description":"Gets or sets the runOn which specifies the group name where the job is to be executed.","type":"string"},"runbook":{"$ref":"#/components/schemas/RunbookAssociationProperty"}}},"JobListResultV2":{"description":"The response model for the list job operation.","properties":{"nextLink":{"description":"The link to the next page.","readOnly":true,"type":"string"},"value":{"description":"List of jobs.","items":{"$ref":"#/components/schemas/JobCollectionItem"},"type":"array"}}},"JobProperties":{"description":"Definition of job properties.","properties":{"creationTime":{"description":"Gets or sets the creation time of the job.","format":"date-time","type":"string","nullable":false},"endTime":{"description":"Gets or sets the end time of the job.","format":"date-time","type":"string","nullable":true},"exception":{"description":"Gets or sets the exception of the job.","type":"string"},"jobId":{"description":"Gets or sets the id of the job.","format":"uuid","type":"string","nullable":false},"lastModifiedTime":{"description":"Gets or sets the last modified time of the job.","format":"date-time","type":"string","nullable":true},"lastStatusModifiedTime":{"description":"Gets or sets the last status modified time of the job.","format":"date-time","type":"string","nullable":true},"parameters":{"additionalProperties":{"type":"string"},"description":"Gets or sets the parameters of the job.","type":"object"},"provisioningState":{"$ref":"#/components/schemas/JobProvisioningStateProperty"},"runOn":{"description":"Gets or sets the runOn which specifies the group name where the job is to be executed.","type":"string"},"runbook":{"$ref":"#/components/schemas/RunbookAssociationProperty"},"startTime":{"description":"Gets or sets the start time of the job.","format":"date-time","type":"string","nullable":true},"startedBy":{"description":"Gets or sets the job started by.","type":"string"},"status":{"description":"Gets or sets the status of the job.","enum":["New","Activating","Running","Completed","Failed","Stopped","Blocked","Suspended","Disconnected","Suspending","Stopping","Resuming","Removing"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"JobStatus"}},"statusDetails":{"description":"Gets or sets the status details of the job.","type":"string"}}},"JobProvisioningStateProperty":{"description":"The provisioning state of the resource.","enum":["Failed","Succeeded","Suspended","Processing"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"JobProvisioningState"}},"JobStream":{"description":"Definition of the job stream.","properties":{"id":{"description":"Gets or sets the id of the resource.","type":"string"},"properties":{"$ref":"#/components/schemas/JobStreamProperties"}}},"JobStreamListResult":{"description":"The response model for the list job stream operation.","properties":{"nextLink":{"description":"Gets or sets the next link.","type":"string"},"value":{"description":"A list of job streams.","items":{"$ref":"#/components/schemas/JobStream"},"type":"array"}}},"JobStreamProperties":{"description":"Definition of the job stream.","properties":{"jobStreamId":{"description":"Gets or sets the id of the job stream.","type":"string"},"streamText":{"description":"Gets or sets the stream text.","type":"string"},"streamType":{"description":"Gets or sets the stream type.","enum":["Progress","Output","Warning","Error","Debug","Verbose","Any"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"JobStreamType"}},"summary":{"description":"Gets or sets the summary.","type":"string"},"time":{"description":"Gets or sets the creation time of the job.","format":"date-time","type":"string","nullable":false},"value":{"additionalProperties":{"type":"object"},"description":"Gets or sets the values of the job stream.","type":"object"}},"x-ms-client-flatten":true},"RunbookAssociationProperty":{"description":"The runbook property associated with the entity.","properties":{"name":{"description":"Gets or sets the name of the runbook.","type":"string"}}}}}}