-
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.
* Added Base for 2021-06-22 * Changes For New Api-Version * Updated SystemData * Updated Swagger Definition * Address PR Review Comments * Updated Error Response Format * Supress Lint Errors * Fix Breaking Changes * Add Supression For HRWG Response Body * Fix LintErrors * Updated hybridRunbookWorkerGroup.json * PR Review comments * Fix LinDiff Warnings * Fix LintDiff Warnings * Fix LintDiff Warnings Co-authored-by: Bhargava Chary Chollaty <bhcholla@microsoft.com>
- Loading branch information
1 parent
c2aceb6
commit 10cdea5
Showing
26 changed files
with
3,606 additions
and
0 deletions.
There are no files selected for viewing
954 changes: 954 additions & 0 deletions
954
...ification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/account.json
Large diffs are not rendered by default.
Oops, something went wrong.
63 changes: 63 additions & 0 deletions
63
...ager/Microsoft.Automation/stable/2021-06-22/examples/createOrUpdateAutomationAccount.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,63 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"automationAccountName": "myAutomationAccount9", | ||
"api-version": "2021-06-22", | ||
"parameters": { | ||
"properties": { | ||
"sku": { | ||
"name": "Free" | ||
} | ||
}, | ||
"name": "myAutomationAccount9", | ||
"location": "East US 2" | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myAutomationAccount9", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9", | ||
"type": "Microsoft.Automation/AutomationAccounts", | ||
"location": "East US 2", | ||
"tags": {}, | ||
"etag": null, | ||
"properties": { | ||
"sku": { | ||
"name": "Free", | ||
"family": null, | ||
"capacity": null | ||
}, | ||
"state": "Ok", | ||
"creationTime": "2017-03-26T01:13:43.267+00:00", | ||
"lastModifiedBy": "myEmailId@microsoft.com", | ||
"lastModifiedTime": "2017-03-26T01:13:43.267+00:00" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"name": "ContoseAutomationAccount", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9", | ||
"type": "Microsoft.Automation/AutomationAccounts", | ||
"location": "East US 2", | ||
"tags": {}, | ||
"etag": null, | ||
"properties": { | ||
"sku": { | ||
"name": "Free", | ||
"family": null, | ||
"capacity": null | ||
}, | ||
"state": "Ok", | ||
"creationTime": "2017-03-28T18:21:15.187+00:00", | ||
"lastModifiedBy": "myEmaild@microsoft.com", | ||
"lastModifiedTime": "2017-03-28T18:21:15.187+00:00" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...urce-manager/Microsoft.Automation/stable/2021-06-22/examples/deleteAutomationAccount.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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"automationAccountName": "myAutomationAccount9", | ||
"api-version": "2021-06-22" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ce-manager/Microsoft.Automation/stable/2021-06-22/examples/deleteHybridRunbookWorker.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,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"automationAccountName": "myAutomationAccount20", | ||
"hybridRunbookWorkerGroupName": "myGroup", | ||
"hybridRunbookWorkerId": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", | ||
"api-version": "2021-06-22" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...nager/Microsoft.Automation/stable/2021-06-22/examples/deleteHybridRunbookWorkerGroup.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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"automationAccountName": "myAutomationAccount20", | ||
"hybridRunbookWorkerGroupName": "myGroup", | ||
"api-version": "2021-06-22" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...nager/Microsoft.Automation/stable/2021-06-22/examples/deserializeGraphRunbookContent.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,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"automationAccountName": "MyAutomationAccount", | ||
"api-version": "2021-06-22", | ||
"parameters": { | ||
"rawContent": { | ||
"schemaVersion": "1.10", | ||
"runbookDefinition": "AAEAAADAQAAAAAAAAAMAgAAAGJPcmNoZXN0cmF0b3IuR3JhcGhSdW5ib29rLk1vZGVsLCBWZXJzaW9uPTcuMy4wLjAsIEN1bHR....", | ||
"runbookType": "GraphPowerShell" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"rawContent": { | ||
"schemaVersion": "1.10", | ||
"runbookDefinition": "AAEAAADAQAAAAAAAAAMAgAAAGJPcmNoZXN0cmF0b3IuR3JhcGhSdW5ib29rLk1vZGVsLCBWZXJzaW9uPTcuMy4wLjAsIEN1bHR....", | ||
"runbookType": "GraphPowerShell" | ||
}, | ||
"graphRunbookJson": "<GraphRunbookJSON>" | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...esource-manager/Microsoft.Automation/stable/2021-06-22/examples/getAutomationAccount.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,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"automationAccountName": "myAutomationAccount9", | ||
"api-version": "2021-06-22" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myAutomationAccount9", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9", | ||
"type": "Microsoft.Automation/AutomationAccounts", | ||
"location": "East US 2", | ||
"tags": {}, | ||
"etag": null, | ||
"properties": { | ||
"sku": { | ||
"name": "Free", | ||
"family": null, | ||
"capacity": null | ||
}, | ||
"state": "Ok", | ||
"creationTime": "2017-03-26T01:13:43.267+00:00", | ||
"lastModifiedBy": "myEmailId@microsoft.com", | ||
"lastModifiedTime": "2017-03-26T01:13:43.267+00:00" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...ource-manager/Microsoft.Automation/stable/2021-06-22/examples/getHybridRunbookWorker.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,36 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"automationAccountName": "testaccount", | ||
"hybridRunbookWorkerGroupName": "TestHybridGroup", | ||
"hybridRunbookWorkerId": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", | ||
"api-version": "2021-06-22" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup/hybridRunbookWorkers/c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", | ||
"name": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", | ||
"type": "Microsoft.Automation/AutomationAccounts/HybridRunbookWorkerGroups/HybridRunbookWorkers", | ||
"properties": { | ||
"ip": "10.0.0.0", | ||
"registeredDateTime": "2018-04-24T16:30:55+00:00", | ||
"lastSeenDateTime": "2018-04-24T16:30:55+00:00", | ||
"vmResourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname", | ||
"workerName": "vmname", | ||
"workerType": "HybridV2" | ||
}, | ||
"systemData": { | ||
"createdBy": "foo@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2018-04-24T16:30:55+00:00", | ||
"lastModifiedBy": "foo@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2018-04-24T16:30:55+00:00" | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...-manager/Microsoft.Automation/stable/2021-06-22/examples/getHybridRunbookWorkerGroup.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"automationAccountName": "testaccount", | ||
"hybridRunbookWorkerGroupName": "TestHybridGroup", | ||
"api-version": "2021-06-22" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup", | ||
"name": "TestHybridGroup", | ||
"type": "Microsoft.Automation/AutomationAccounts/HybridRunbookWorkerGroups", | ||
"credential": { | ||
"name": "myRunAsCredentialName" | ||
}, | ||
"groupType": "User", | ||
"systemData": { | ||
"createdBy": "foo@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2018-04-24T16:30:55+00:00", | ||
"lastModifiedBy": "foo@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2018-04-24T16:30:55+00:00" | ||
} | ||
} | ||
} | ||
} | ||
} |
108 changes: 108 additions & 0 deletions
108
...ger/Microsoft.Automation/stable/2021-06-22/examples/getStatisticsOfAutomationAccount.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,108 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"automationAccountName": "myAutomationAccount11", | ||
"api-version": "2021-06-22" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/New", | ||
"counterProperty": "New", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Activating", | ||
"counterProperty": "Activating", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Running", | ||
"counterProperty": "Running", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Completed", | ||
"counterProperty": "Completed", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Failed", | ||
"counterProperty": "Failed", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Stopped", | ||
"counterProperty": "Stopped", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Blocked", | ||
"counterProperty": "Blocked", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Suspended", | ||
"counterProperty": "Suspended", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Disconnected", | ||
"counterProperty": "Disconnected", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Suspending", | ||
"counterProperty": "Suspending", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Stopping", | ||
"counterProperty": "Stopping", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Resuming", | ||
"counterProperty": "Resuming", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Removing", | ||
"counterProperty": "Removing", | ||
"counterValue": 0, | ||
"startTime": "2017-03-19T02:11:49.9879197+00:00", | ||
"endTime": "2017-03-26T02:11:49.9879197+00:00" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...manager/Microsoft.Automation/stable/2021-06-22/examples/getUsagesOfAutomationAccount.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,47 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"automationAccountName": "myAutomationAccount11", | ||
"api-version": "2021-06-22" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": { | ||
"value": "AccountUsage", | ||
"localizedValue": "AccountUsage" | ||
}, | ||
"unit": "Minute", | ||
"currentValue": 0.0, | ||
"limit": 500, | ||
"throttleStatus": "NotThrottled" | ||
}, | ||
{ | ||
"name": { | ||
"value": "SubscriptionUsage", | ||
"localizedValue": "SubscriptionUsage" | ||
}, | ||
"unit": "Minute", | ||
"currentValue": 429.0, | ||
"limit": 500, | ||
"throttleStatus": "NotThrottled" | ||
}, | ||
{ | ||
"name": { | ||
"value": "DscSubscriptionUsage", | ||
"localizedValue": "DscSubscriptionUsage" | ||
}, | ||
"unit": "Count", | ||
"currentValue": 8.0, | ||
"limit": 5, | ||
"throttleStatus": "ThrottledAtSubscriptionLevel" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.