Skip to content

Commit

Permalink
CodeGen from PR 19121 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge cf09564e128a09ae6060798bb271c23de7d15788 into a8a52b9e6c305f03c3a4c5411d59fc4454b5b372
  • Loading branch information
SDKAuto committed May 20, 2022
1 parent 7476b47 commit 07865a6
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
76 changes: 76 additions & 0 deletions schemas/2022-02-22/Microsoft.Automation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"id": "https://schema.management.azure.com/schemas/2022-02-22/Microsoft.Automation.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Automation",
"description": "Microsoft Automation Resource Types",
"resourceDefinitions": {
"automationAccounts_hybridRunbookWorkerGroups": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-02-22"
]
},
"name": {
"type": "string",
"description": "The hybrid runbook worker group name"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/HybridRunbookWorkerGroupCreateOrUpdateProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The hybrid runbook worker group properties."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups"
}
},
"definitions": {
"HybridRunbookWorkerGroupCreateOrUpdateProperties": {
"type": "object",
"properties": {
"credential": {
"oneOf": [
{
"$ref": "#/definitions/RunAsCredentialAssociationProperty"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Definition of RunAs credential to use for hybrid worker."
}
},
"description": "The hybrid runbook worker group properties."
},
"RunAsCredentialAssociationProperty": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Gets or sets the name of the credential."
}
},
"description": "Definition of RunAs credential to use for hybrid worker."
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -2581,6 +2581,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-06-22/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers"
},
{
"$ref": "https://schema.management.azure.com/schemas/2022-02-22/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_hybridRunbookWorkerGroups"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#/resourceDefinitions/accounts"
},
Expand Down

0 comments on commit 07865a6

Please sign in to comment.