forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 19121 in Azure/azure-rest-api-specs
Merge cf09564e128a09ae6060798bb271c23de7d15788 into a8a52b9e6c305f03c3a4c5411d59fc4454b5b372
- Loading branch information
SDKAuto
committed
May 20, 2022
1 parent
7476b47
commit 07865a6
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
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,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." | ||
} | ||
} | ||
} |
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