From 600e77c76387b04f9379b119d148bf368060ad47 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 7 Nov 2023 11:02:57 +0000 Subject: [PATCH] CodeGen from PR 26057 in Azure/azure-rest-api-specs Merge e52227bd126e7165e7faa5f0c8dfeadf376af322 into 4a361fccb94e82da94a239d3563f1e3e3b9d007d --- .../Microsoft.Automation.json | 4878 +++++++++++++++++ schemas/2023-11-01/Microsoft.Automation.json | 3367 ++++++++++++ schemas/common/autogeneratedResources.json | 144 + 3 files changed, 8389 insertions(+) create mode 100644 schemas/2023-05-15-preview/Microsoft.Automation.json create mode 100644 schemas/2023-11-01/Microsoft.Automation.json diff --git a/schemas/2023-05-15-preview/Microsoft.Automation.json b/schemas/2023-05-15-preview/Microsoft.Automation.json new file mode 100644 index 0000000000..4db6da7159 --- /dev/null +++ b/schemas/2023-05-15-preview/Microsoft.Automation.json @@ -0,0 +1,4878 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Automation", + "description": "Microsoft Automation Resource Types", + "resourceDefinitions": { + "automationAccounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of the automation account." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AutomationAccountCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update account properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_softwareUpdateConfigurations_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_certificates_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_connections_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_connectionTypes_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_credentials_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_compilationjobs_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_configurations_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_nodeConfigurations_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_hybridRunbookWorkerGroups_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_jobs_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_jobSchedules_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_modules_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_python2Packages_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_python3Packages_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_runbooks_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_runtimeEnvironments_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_schedules_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_sourceControls_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_variables_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_watchers_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_webhooks_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts" + }, + "automationAccounts_certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update certificate operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create certificate operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/certificates" + }, + "automationAccounts_compilationjobs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The DSC configuration Id." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DscCompilationJobCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create compilation job operation." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/compilationjobs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/compilationjobs" + }, + "automationAccounts_configurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The create or update parameters for configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DscConfigurationCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties to create or update configuration." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/configurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/configurations" + }, + "automationAccounts_connections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update connection operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create connection properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/connections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/connections" + }, + "automationAccounts_connectionTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update connection type operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionTypeCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create connection type." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/connectionTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/connectionTypes" + }, + "automationAccounts_credentials": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update credential operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CredentialCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create credential operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/credentials" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/credentials" + }, + "automationAccounts_hybridRunbookWorkerGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "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." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups" + }, + "automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The hybrid runbook worker id" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HybridRunbookWorkerCreateOrUpdateParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update hybrid runbook worker operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers" + }, + "automationAccounts_jobs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The job name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/JobCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/jobs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/jobs" + }, + "automationAccounts_jobSchedules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The job schedule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/JobScheduleCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create job schedule operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/jobSchedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/jobSchedules" + }, + "automationAccounts_modules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of module." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ModuleCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/modules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/modules" + }, + "automationAccounts_nodeConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The Dsc node configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DscNodeConfigurationCreateOrUpdateParametersProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameter properties supplied to the create or update node configuration operation." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/nodeConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/nodeConfigurations" + }, + "automationAccounts_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/privateEndpointConnections" + }, + "automationAccounts_python2Packages": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of python package." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PythonPackageCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/python2Packages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/python2Packages" + }, + "automationAccounts_python3Packages": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of python package." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PythonPackageCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/python3Packages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/python3Packages" + }, + "automationAccounts_runbooks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The runbook name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update runbook properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_runbooks_draft_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/runbooks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks" + }, + "automationAccounts_runbooks_draft": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/content$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "name" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + }, + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/testJob$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the test job." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + }, + "runtimeEnvironment": { + "type": "string", + "description": "The runtime Environment Name on which job needs to be tested" + } + }, + "required": [ + "name" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/runbooks/draft" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + }, + "automationAccounts_runtimeEnvironments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Runtime Environment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RuntimeEnvironmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Runtime Environment properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_runtimeEnvironments_packages_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/runtimeEnvironments" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runtimeEnvironments" + }, + "automationAccounts_runtimeEnvironments_packages": { + "type": "object", + "properties": { + "allOf": { + "oneOf": [ + { + "$ref": "#/definitions/TrackedResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'" + }, + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Package." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PackageCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update package properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/runtimeEnvironments/packages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runtimeEnvironments/packages" + }, + "automationAccounts_schedules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The schedule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update schedule operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/schedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/schedules" + }, + "automationAccounts_softwareUpdateConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the software update configuration to be created." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SoftwareUpdateConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Software update configuration properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations" + }, + "automationAccounts_sourceControls": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The source control name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create source control operation." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_sourceControls_sourceControlSyncJobs_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/sourceControls" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/sourceControls" + }, + "automationAccounts_sourceControls_sourceControlSyncJobs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source control sync job id." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlSyncJobCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of create source control sync job properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/sourceControls/sourceControlSyncJobs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/sourceControls/sourceControlSyncJobs" + }, + "automationAccounts_variables": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The variable name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VariableCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create variable operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/variables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/variables" + }, + "automationAccounts_watchers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the etag of the resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The watcher name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WatcherProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the watcher properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/watchers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/watchers" + }, + "automationAccounts_webhooks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The webhook name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WebhookCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create webhook operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/webhooks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/webhooks" + } + }, + "definitions": { + "AdvancedSchedule": { + "type": "object", + "properties": { + "monthDays": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "integer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Days of the month that the job should execute on. Must be between 1 and 31." + }, + "monthlyOccurrences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdvancedScheduleMonthlyOccurrence" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Occurrences of days within a month." + }, + "weekDays": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Days of the week that the job should execute on." + } + }, + "description": "The properties of the create Advanced Schedule." + }, + "AdvancedScheduleMonthlyOccurrence": { + "type": "object", + "properties": { + "day": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday." + }, + "occurrence": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Occurrence of the week within the month. Must be between 1 and 5" + } + }, + "description": "The properties of the create advanced schedule monthly occurrence." + }, + "AutomationAccountCreateOrUpdateProperties": { + "type": "object", + "properties": { + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether requests using non-AAD authentication are blocked" + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The encryption settings for automation account" + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The account SKU." + } + }, + "description": "The parameters supplied to the create or update account properties." + }, + "automationAccounts_certificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update certificate operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create certificate operation." + }, + "type": { + "type": "string", + "enum": [ + "certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/certificates" + }, + "automationAccounts_compilationjobs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The DSC configuration Id." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DscCompilationJobCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create compilation job operation." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "compilationjobs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/compilationjobs" + }, + "automationAccounts_configurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The create or update parameters for configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DscConfigurationCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties to create or update configuration." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "configurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/configurations" + }, + "automationAccounts_connections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update connection operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create connection properties" + }, + "type": { + "type": "string", + "enum": [ + "connections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/connections" + }, + "automationAccounts_connectionTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update connection type operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionTypeCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create connection type." + }, + "type": { + "type": "string", + "enum": [ + "connectionTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/connectionTypes" + }, + "automationAccounts_credentials_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update credential operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CredentialCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create credential operation." + }, + "type": { + "type": "string", + "enum": [ + "credentials" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/credentials" + }, + "automationAccounts_hybridRunbookWorkerGroups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "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": [ + "hybridRunbookWorkerGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups" + }, + "automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The hybrid runbook worker id" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HybridRunbookWorkerCreateOrUpdateParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update hybrid runbook worker operation." + }, + "type": { + "type": "string", + "enum": [ + "hybridRunbookWorkers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers" + }, + "automationAccounts_jobSchedules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The job schedule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/JobScheduleCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create job schedule operation." + }, + "type": { + "type": "string", + "enum": [ + "jobSchedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/jobSchedules" + }, + "automationAccounts_jobs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The job name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/JobCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "jobs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/jobs" + }, + "automationAccounts_modules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of module." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ModuleCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "modules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/modules" + }, + "automationAccounts_nodeConfigurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The Dsc node configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DscNodeConfigurationCreateOrUpdateParametersProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameter properties supplied to the create or update node configuration operation." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "nodeConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/nodeConfigurations" + }, + "automationAccounts_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/privateEndpointConnections" + }, + "automationAccounts_python2Packages_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of python package." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PythonPackageCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "python2Packages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/python2Packages" + }, + "automationAccounts_python3Packages_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of python package." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PythonPackageCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "python3Packages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/python3Packages" + }, + "automationAccounts_runbooks_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The runbook name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update runbook properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "runbooks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks" + }, + "automationAccounts_runbooks_draft_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "content" + ] + } + }, + "required": [ + "name" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "testJob" + ] + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the test job." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + }, + "runtimeEnvironment": { + "type": "string", + "description": "The runtime Environment Name on which job needs to be tested" + } + }, + "required": [ + "name" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "type": { + "type": "string", + "enum": [ + "draft" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + }, + "automationAccounts_runtimeEnvironments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Runtime Environment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RuntimeEnvironmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Runtime Environment properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "runtimeEnvironments" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runtimeEnvironments" + }, + "automationAccounts_runtimeEnvironments_packages_childResource": { + "type": "object", + "properties": { + "allOf": { + "oneOf": [ + { + "$ref": "#/definitions/TrackedResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'" + }, + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of Package." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PackageCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update package properties." + }, + "type": { + "type": "string", + "enum": [ + "packages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runtimeEnvironments/packages" + }, + "automationAccounts_schedules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The schedule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update schedule operation." + }, + "type": { + "type": "string", + "enum": [ + "schedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/schedules" + }, + "automationAccounts_softwareUpdateConfigurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the software update configuration to be created." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SoftwareUpdateConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Software update configuration properties." + }, + "type": { + "type": "string", + "enum": [ + "softwareUpdateConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations" + }, + "automationAccounts_sourceControls_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The source control name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create source control operation." + }, + "type": { + "type": "string", + "enum": [ + "sourceControls" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/sourceControls" + }, + "automationAccounts_sourceControls_sourceControlSyncJobs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source control sync job id." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlSyncJobCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of create source control sync job properties." + }, + "type": { + "type": "string", + "enum": [ + "sourceControlSyncJobs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/sourceControls/sourceControlSyncJobs" + }, + "automationAccounts_variables_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The variable name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VariableCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create variable operation." + }, + "type": { + "type": "string", + "enum": [ + "variables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/variables" + }, + "automationAccounts_watchers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "etag": { + "type": "string", + "description": "Gets or sets the etag of the resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The watcher name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WatcherProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the watcher properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "watchers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/watchers" + }, + "automationAccounts_webhooks_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The webhook name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WebhookCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create webhook operation." + }, + "type": { + "type": "string", + "enum": [ + "webhooks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/webhooks" + }, + "AzureQueryProperties": { + "type": "object", + "properties": { + "locations": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of locations to scope the query to." + }, + "scope": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Subscription or Resource Group ARM Ids." + }, + "tagSettings": { + "oneOf": [ + { + "$ref": "#/definitions/TagSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag filter information for the VM." + } + }, + "description": "Azure query for the update configuration." + }, + "CertificateCreateOrUpdateProperties": { + "type": "object", + "properties": { + "base64Value": { + "type": "string", + "description": "Gets or sets the base64 encoded value of the certificate." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the certificate." + }, + "isExportable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the is exportable flag of the certificate." + }, + "thumbprint": { + "type": "string", + "description": "Gets or sets the thumbprint of the certificate." + } + }, + "required": [ + "base64Value" + ], + "description": "The properties of the create certificate operation." + }, + "ConnectionCreateOrUpdateProperties": { + "type": "object", + "properties": { + "connectionType": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionTypeAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connection type property associated with the entity." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the connection." + }, + "fieldDefinitionValues": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the field definition properties of the connection." + } + }, + "required": [ + "connectionType" + ], + "description": "The properties of the create connection properties" + }, + "ConnectionTypeAssociationProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the connection type." + } + }, + "description": "The connection type property associated with the entity." + }, + "ConnectionTypeCreateOrUpdateProperties": { + "type": "object", + "properties": { + "fieldDefinitions": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/FieldDefinition" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the field definitions of the connection type." + }, + "isGlobal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a Boolean value to indicate if the connection type is global." + } + }, + "required": [ + "fieldDefinitions" + ], + "description": "The properties of the create connection type." + }, + "ContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "Gets or sets the content hash algorithm used to hash the content." + }, + "value": { + "type": "string", + "description": "Gets or sets expected hash value of the content." + } + }, + "required": [ + "algorithm", + "value" + ], + "description": "Definition of the runbook property type." + }, + "ContentLink": { + "type": "object", + "properties": { + "contentHash": { + "oneOf": [ + { + "$ref": "#/definitions/ContentHash" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the runbook property type." + }, + "uri": { + "type": "string", + "description": "Gets or sets the uri of content." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the content." + } + }, + "description": "Definition of the content link." + }, + "ContentSource": { + "type": "object", + "properties": { + "hash": { + "oneOf": [ + { + "$ref": "#/definitions/ContentHash" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the runbook property type." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "embeddedContent", + "uri" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the content source type." + }, + "value": { + "type": "string", + "description": "Gets or sets the value of the content. This is based on the content source type." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the content." + } + }, + "description": "Definition of the content source." + }, + "CredentialCreateOrUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the credential." + }, + "password": { + "type": "string", + "description": "Gets or sets the password of the credential." + }, + "userName": { + "type": "string", + "description": "Gets or sets the user name of the credential." + } + }, + "required": [ + "password", + "userName" + ], + "description": "The properties of the create credential operation." + }, + "DscCompilationJobCreateProperties": { + "type": "object", + "properties": { + "configuration": { + "oneOf": [ + { + "$ref": "#/definitions/DscConfigurationAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Dsc configuration property associated with the entity." + }, + "incrementNodeConfigurationBuild": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If a new build version of NodeConfiguration is required." + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the job." + } + }, + "required": [ + "configuration" + ], + "description": "The parameters supplied to the create compilation job operation." + }, + "DscConfigurationAssociationProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the Dsc configuration." + } + }, + "description": "The Dsc configuration property associated with the entity." + }, + "DscConfigurationCreateOrUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the configuration." + }, + "logProgress": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets progress log option." + }, + "logVerbose": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets verbose log option." + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DscConfigurationParameter" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the configuration parameters." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/ContentSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content source." + } + }, + "required": [ + "source" + ], + "description": "The properties to create or update configuration." + }, + "DscConfigurationParameter": { + "type": "object", + "properties": { + "defaultValue": { + "type": "string", + "description": "Gets or sets the default value of parameter." + }, + "isMandatory": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a Boolean value to indicate whether the parameter is mandatory or not." + }, + "position": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Get or sets the position of the parameter." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the parameter." + } + }, + "description": "Definition of the configuration parameter type." + }, + "DscNodeConfigurationCreateOrUpdateParametersProperties": { + "type": "object", + "properties": { + "configuration": { + "oneOf": [ + { + "$ref": "#/definitions/DscConfigurationAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Dsc configuration property associated with the entity." + }, + "incrementNodeConfigurationBuild": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If a new build version of NodeConfiguration is required." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/ContentSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content source." + } + }, + "required": [ + "configuration", + "source" + ], + "description": "The parameter properties supplied to the create or update node configuration operation." + }, + "EncryptionProperties": { + "type": "object", + "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionPropertiesIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User identity used for CMK." + }, + "keySource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft.Automation", + "Microsoft.Keyvault" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption Key Source." + }, + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings concerning key vault encryption for a configuration store." + } + }, + "description": "The encryption settings for automation account" + }, + "EncryptionPropertiesIdentity": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "The user identity used for CMK. It will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "User identity used for CMK." + }, + "ErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code" + }, + "message": { + "type": "string", + "description": "Error message indicating why the operation failed." + } + }, + "description": "Error response of an operation failure" + }, + "FieldDefinition": { + "type": "object", + "properties": { + "isEncrypted": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the isEncrypted flag of the connection field definition." + }, + "isOptional": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the isOptional flag of the connection field definition." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the connection field definition." + } + }, + "required": [ + "type" + ], + "description": "Definition of the connection fields." + }, + "HybridRunbookWorkerCreateOrUpdateParameters": { + "type": "object", + "properties": { + "vmResourceId": { + "type": "string", + "description": "Azure Resource Manager Id for a virtual machine." + } + }, + "description": "The parameters supplied to the create or update hybrid runbook worker operation." + }, + "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." + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesProperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the resource." + }, + "JobCreateProperties": { + "type": "object", + "properties": { + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the job." + }, + "runbook": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The runbook property associated with the entity." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + } + } + }, + "JobScheduleCreateProperties": { + "type": "object", + "properties": { + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a list of job properties." + }, + "runbook": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The runbook property associated with the entity." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the hybrid worker group that the scheduled job should run on." + }, + "schedule": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The schedule property associated with the entity." + } + }, + "required": [ + "runbook", + "schedule" + ], + "description": "The parameters supplied to the create job schedule operation." + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyName": { + "type": "string", + "description": "The name of key used to encrypt data." + }, + "keyvaultUri": { + "type": "string", + "description": "The URI of the key vault key used to encrypt data." + }, + "keyVersion": { + "type": "string", + "description": "The key version of the key used to encrypt data." + } + }, + "description": "Settings concerning key vault encryption for a configuration store." + }, + "LinuxProperties": { + "type": "object", + "properties": { + "excludedPackageNameMasks": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "packages excluded from the software update configuration." + }, + "includedPackageClassifications": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unclassified", + "Critical", + "Security", + "Other" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Update classifications included in the software update configuration." + }, + "includedPackageNameMasks": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "packages included from the software update configuration." + }, + "rebootSetting": { + "type": "string", + "description": "Reboot setting for the software update configuration." + } + }, + "description": "Linux specific update configuration." + }, + "ModuleCreateOrUpdateProperties": { + "type": "object", + "properties": { + "contentLink": { + "oneOf": [ + { + "$ref": "#/definitions/ContentLink" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content link." + } + }, + "required": [ + "contentLink" + ], + "description": "The parameters supplied to the create or update module properties." + }, + "NonAzureQueryProperties": { + "type": "object", + "properties": { + "functionAlias": { + "type": "string", + "description": "Log Analytics Saved Search name." + }, + "workspaceId": { + "type": "string", + "description": "Workspace Id for Log Analytics in which the saved Search is resided." + } + }, + "description": "Non Azure query for the update configuration." + }, + "PackageCreateOrUpdateProperties": { + "type": "object", + "properties": { + "contentLink": { + "oneOf": [ + { + "$ref": "#/definitions/ContentLink" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content link." + } + }, + "required": [ + "contentLink" + ], + "description": "The parameters supplied to the create or update package properties." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "groupIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets the groupIds." + }, + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint which the connection belongs to." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection State of the Private Endpoint Connection." + } + }, + "description": "Properties of a private endpoint connection." + }, + "PrivateEndpointProperty": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource id of the private endpoint." + } + }, + "description": "Private endpoint which the connection belongs to." + }, + "PrivateLinkServiceConnectionStateProperty": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The private link service connection description." + }, + "status": { + "type": "string", + "description": "The private link service connection status." + } + }, + "description": "Connection State of the Private Endpoint Connection." + }, + "PythonPackageCreateProperties": { + "type": "object", + "properties": { + "contentLink": { + "oneOf": [ + { + "$ref": "#/definitions/ContentLink" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content link." + } + }, + "required": [ + "contentLink" + ], + "description": "The parameters supplied to the create or update module 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." + }, + "RunbookAssociationProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the runbook." + } + }, + "description": "The runbook property associated with the entity." + }, + "RunbookCreateOrUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the runbook." + }, + "draft": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookDraft" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "logActivityTrace": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the activity-level tracing options of the runbook." + }, + "logProgress": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets progress log option." + }, + "logVerbose": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets verbose log option." + }, + "publishContentLink": { + "oneOf": [ + { + "$ref": "#/definitions/ContentLink" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content link." + }, + "runbookType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Script", + "Graph", + "PowerShellWorkflow", + "PowerShell", + "GraphPowerShellWorkflow", + "GraphPowerShell", + "Python2", + "Python3", + "Python" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the type of the runbook." + }, + "runtimeEnvironment": { + "type": "string", + "description": "Environment of the runbook." + } + }, + "required": [ + "runbookType" + ], + "description": "The parameters supplied to the create or update runbook properties." + }, + "RunbookDraft": { + "type": "object", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time of the runbook draft." + }, + "draftContentLink": { + "oneOf": [ + { + "$ref": "#/definitions/ContentLink" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content link." + }, + "inEdit": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets whether runbook is in edit mode." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time of the runbook draft." + }, + "outputTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the runbook output types." + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/RunbookParameter" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the runbook draft parameters." + } + } + }, + "RunbookParameter": { + "type": "object", + "properties": { + "defaultValue": { + "type": "string", + "description": "Gets or sets the default value of parameter." + }, + "isMandatory": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a Boolean value to indicate whether the parameter is mandatory or not." + }, + "position": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Get or sets the position of the parameter." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the parameter." + } + }, + "description": "Definition of the runbook parameter type." + }, + "RuntimeEnvironmentProperties": { + "type": "object", + "properties": { + "defaultPackages": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets default packages of Runtime Environment." + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + }, + "runtime": { + "oneOf": [ + { + "$ref": "#/definitions/RuntimeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Runtime properties." + } + }, + "description": "Runtime Environment properties." + }, + "RuntimeProperties": { + "type": "object", + "properties": { + "language": { + "type": "string", + "description": "Language of Runtime Environment" + }, + "version": { + "type": "string", + "description": "Version of Language" + } + }, + "description": "Runtime properties." + }, + "ScheduleAssociationProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the Schedule." + } + }, + "description": "The schedule property associated with the entity." + }, + "ScheduleCreateOrUpdateProperties": { + "type": "object", + "properties": { + "advancedSchedule": { + "oneOf": [ + { + "$ref": "#/definitions/AdvancedSchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create Advanced Schedule." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the schedule." + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the end time of the schedule." + }, + "frequency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OneTime", + "Day", + "Hour", + "Week", + "Month", + "Minute" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frequency of the schedule." + }, + "interval": { + "type": "object", + "properties": {}, + "description": "Gets or sets the interval of the schedule." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the start time of the schedule." + }, + "timeZone": { + "type": "string", + "description": "Gets or sets the time zone of the schedule." + } + }, + "required": [ + "frequency", + "startTime" + ], + "description": "The parameters supplied to the create or update schedule operation." + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the SKU capacity." + }, + "family": { + "type": "string", + "description": "Gets or sets the SKU family." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Free", + "Basic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the SKU name of the account." + } + }, + "required": [ + "name" + ], + "description": "The account SKU." + }, + "SoftwareUpdateConfigurationProperties": { + "type": "object", + "properties": { + "error": { + "oneOf": [ + { + "$ref": "#/definitions/ErrorResponse" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Error response of an operation failure" + }, + "scheduleInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SUCScheduleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of schedule parameters." + }, + "tasks": { + "oneOf": [ + { + "$ref": "#/definitions/SoftwareUpdateConfigurationTasks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Task properties of the software update configuration." + }, + "updateConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/UpdateConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Update specific properties of the software update configuration." + } + }, + "required": [ + "scheduleInfo", + "updateConfiguration" + ], + "description": "Software update configuration properties." + }, + "SoftwareUpdateConfigurationTasks": { + "type": "object", + "properties": { + "postTask": { + "oneOf": [ + { + "$ref": "#/definitions/TaskProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Task properties of the software update configuration." + }, + "preTask": { + "oneOf": [ + { + "$ref": "#/definitions/TaskProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Task properties of the software update configuration." + } + }, + "description": "Task properties of the software update configuration." + }, + "SourceControlCreateOrUpdateProperties": { + "type": "object", + "properties": { + "autoSync": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The auto async of the source control. Default is false." + }, + "branch": { + "type": "string", + "maxLength": 255, + "description": "The repo branch of the source control. Include branch as empty string for VsoTfvc." + }, + "description": { + "type": "string", + "maxLength": 512, + "description": "The user description of the source control." + }, + "folderPath": { + "type": "string", + "maxLength": 255, + "description": "The folder path of the source control. Path must be relative." + }, + "publishRunbook": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The auto publish of the source control. Default is true." + }, + "repoUrl": { + "type": "string", + "maxLength": 2000, + "description": "The repo url of the source control." + }, + "securityToken": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlSecurityTokenProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "VsoGit", + "VsoTfvc", + "GitHub" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive." + } + }, + "description": "The properties of the create source control operation." + }, + "SourceControlSecurityTokenProperties": { + "type": "object", + "properties": { + "accessToken": { + "type": "string", + "maxLength": 1024, + "description": "The access token." + }, + "refreshToken": { + "type": "string", + "maxLength": 1024, + "description": "The refresh token." + }, + "tokenType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PersonalAccessToken", + "Oauth" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The token type. Must be either PersonalAccessToken or Oauth." + } + } + }, + "SourceControlSyncJobCreateProperties": { + "type": "object", + "properties": { + "commitId": { + "type": "string", + "minLength": 0, + "description": "The commit id of the source control sync job. If not syncing to a commitId, enter an empty string." + } + }, + "required": [ + "commitId" + ], + "description": "Definition of create source control sync job properties." + }, + "SUCScheduleProperties": { + "type": "object", + "properties": { + "advancedSchedule": { + "oneOf": [ + { + "$ref": "#/definitions/AdvancedSchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create Advanced Schedule." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time." + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the end time of the schedule." + }, + "expiryTimeOffsetMinutes": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the expiry time's offset in minutes." + }, + "frequency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OneTime", + "Day", + "Hour", + "Week", + "Month", + "Minute" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frequency of the schedule." + }, + "interval": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the interval of the schedule." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether this schedule is enabled." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time." + }, + "nextRun": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the next run time of the schedule." + }, + "nextRunOffsetMinutes": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the next run time's offset in minutes." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the start time of the schedule." + }, + "timeZone": { + "type": "string", + "description": "Gets or sets the time zone of the schedule." + } + }, + "description": "Definition of schedule parameters." + }, + "TagSettingsProperties": { + "type": "object", + "properties": { + "filterOperator": { + "oneOf": [ + { + "type": "string", + "enum": [ + "All", + "Any" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Filter VMs by Any or All specified tags." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dictionary of tags with its list of values." + } + }, + "description": "Tag filter information for the VM." + }, + "TargetProperties": { + "type": "object", + "properties": { + "azureQueries": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AzureQueryProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Azure queries in the software update configuration." + }, + "nonAzureQueries": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NonAzureQueryProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of non Azure queries in the software update configuration." + } + }, + "description": "Group specific to the update configuration." + }, + "TaskProperties": { + "type": "object", + "properties": { + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the task." + }, + "source": { + "type": "string", + "description": "Gets or sets the name of the runbook." + } + }, + "description": "Task properties of the software update configuration." + }, + "TrackedResource": { + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + } + }, + "required": [ + "location" + ], + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'" + }, + "UpdateConfiguration": { + "type": "object", + "properties": { + "azureVirtualMachines": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of azure resource Ids for azure virtual machines targeted by the software update configuration." + }, + "duration": { + "type": "string", + "format": "duration", + "description": "Maximum time allowed for the software update configuration run. Duration needs to be specified using the format PT[n]H[n]M[n]S as per ISO8601" + }, + "linux": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Linux specific update configuration." + }, + "nonAzureComputerNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of names of non-azure machines targeted by the software update configuration." + }, + "operatingSystem": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "operating system of target machines." + }, + "targets": { + "oneOf": [ + { + "$ref": "#/definitions/TargetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Group specific to the update configuration." + }, + "windows": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Windows specific update configuration." + } + }, + "required": [ + "operatingSystem" + ], + "description": "Update specific properties of the software update configuration." + }, + "UserAssignedIdentitiesProperties": { + "type": "object", + "properties": {} + }, + "VariableCreateOrUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the variable." + }, + "isEncrypted": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the encrypted flag of the variable." + }, + "value": { + "type": "string", + "description": "Gets or sets the value of the variable." + } + }, + "description": "The properties of the create variable operation." + }, + "WatcherProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description." + }, + "executionFrequencyInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frequency at which the watcher is invoked." + }, + "scriptName": { + "type": "string", + "description": "Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing runbook." + }, + "scriptParameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the script." + }, + "scriptRunOn": { + "type": "string", + "description": "Gets or sets the name of the hybrid worker group the watcher will run on." + } + }, + "description": "Definition of the watcher properties" + }, + "WebhookCreateOrUpdateProperties": { + "type": "object", + "properties": { + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the expiry time." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the value of the enabled flag of webhook." + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the job." + }, + "runbook": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The runbook property associated with the entity." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the name of the hybrid worker group the webhook job will run on." + }, + "uri": { + "type": "string", + "description": "Gets or sets the uri." + } + }, + "description": "The properties of the create webhook operation." + }, + "WindowsProperties": { + "type": "object", + "properties": { + "excludedKbNumbers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "KB numbers excluded from the software update configuration." + }, + "includedKbNumbers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "KB numbers included from the software update configuration." + }, + "includedUpdateClassifications": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unclassified", + "Critical", + "Security", + "UpdateRollup", + "FeaturePack", + "ServicePack", + "Definition", + "Tools", + "Updates" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Update classification included in the software update configuration. A comma separated string with required values." + }, + "rebootSetting": { + "type": "string", + "description": "Reboot setting for the software update configuration." + } + }, + "description": "Windows specific update configuration." + } + } +} \ No newline at end of file diff --git a/schemas/2023-11-01/Microsoft.Automation.json b/schemas/2023-11-01/Microsoft.Automation.json new file mode 100644 index 0000000000..c7bf720986 --- /dev/null +++ b/schemas/2023-11-01/Microsoft.Automation.json @@ -0,0 +1,3367 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Automation", + "description": "Microsoft Automation Resource Types", + "resourceDefinitions": { + "automationAccounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of the automation account." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AutomationAccountCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update account properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_certificates_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_connections_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_connectionTypes_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_credentials_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_configurations_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_nodeConfigurations_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_hybridRunbookWorkerGroups_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_jobs_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_jobSchedules_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_modules_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_powerShell72Modules_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_python2Packages_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_python3Packages_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_runbooks_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_schedules_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_sourceControls_childResource" + }, + { + "$ref": "#/definitions/automationAccounts_variables_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts" + }, + "automationAccounts_certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update certificate operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create certificate operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/certificates" + }, + "automationAccounts_configurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The create or update parameters for configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DscConfigurationCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties to create or update configuration." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/configurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/configurations" + }, + "automationAccounts_connections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update connection operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create connection properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/connections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/connections" + }, + "automationAccounts_connectionTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update connection type operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionTypeCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create connection type." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/connectionTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/connectionTypes" + }, + "automationAccounts_credentials": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update credential operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CredentialCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create credential operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/credentials" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/credentials" + }, + "automationAccounts_hybridRunbookWorkerGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "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." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups" + }, + "automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The hybrid runbook worker id" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HybridRunbookWorkerCreateOrUpdateParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update hybrid runbook worker operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers" + }, + "automationAccounts_jobs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The job name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/JobCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/jobs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/jobs" + }, + "automationAccounts_jobSchedules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The job schedule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/JobScheduleCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create job schedule operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/jobSchedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/jobSchedules" + }, + "automationAccounts_modules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "location": { + "type": "string", + "description": "Sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of module." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ModuleCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/modules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/modules" + }, + "automationAccounts_nodeConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The Dsc node configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DscNodeConfigurationCreateOrUpdateParametersProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameter properties supplied to the create or update node configuration operation." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/nodeConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/nodeConfigurations" + }, + "automationAccounts_powerShell72Modules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "location": { + "type": "string", + "description": "Sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of module." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ModuleCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/powerShell72Modules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/powerShell72Modules" + }, + "automationAccounts_python2Packages": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The name of python package." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PythonPackageCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/python2Packages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/python2Packages" + }, + "automationAccounts_python3Packages": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The name of python package." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PythonPackageCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/python3Packages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/python3Packages" + }, + "automationAccounts_runbooks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The runbook name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update runbook properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_runbooks_draft_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/runbooks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks" + }, + "automationAccounts_runbooks_draft": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/content$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "name" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + }, + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/testJob$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the test job." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + } + }, + "required": [ + "name" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/runbooks/draft" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + }, + "automationAccounts_schedules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The schedule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update schedule operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/schedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/schedules" + }, + "automationAccounts_sourceControls": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The source control name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create source control operation." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_sourceControls_sourceControlSyncJobs_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/sourceControls" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/sourceControls" + }, + "automationAccounts_sourceControls_sourceControlSyncJobs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source control sync job id." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlSyncJobCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of create source control sync job properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/sourceControls/sourceControlSyncJobs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/sourceControls/sourceControlSyncJobs" + }, + "automationAccounts_variables": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The variable name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VariableCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create variable operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/variables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/variables" + } + }, + "definitions": { + "AdvancedSchedule": { + "type": "object", + "properties": { + "monthDays": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "integer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Days of the month that the job should execute on. Must be between 1 and 31." + }, + "monthlyOccurrences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdvancedScheduleMonthlyOccurrence" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Occurrences of days within a month." + }, + "weekDays": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Days of the week that the job should execute on." + } + }, + "description": "The properties of the create Advanced Schedule." + }, + "AdvancedScheduleMonthlyOccurrence": { + "type": "object", + "properties": { + "day": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday." + }, + "occurrence": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Occurrence of the week within the month. Must be between 1 and 5" + } + }, + "description": "The properties of the create advanced schedule monthly occurrence." + }, + "AutomationAccountCreateOrUpdateProperties": { + "type": "object", + "properties": { + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether requests using non-AAD authentication are blocked" + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The encryption settings for automation account" + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The account SKU." + } + }, + "description": "The parameters supplied to the create or update account properties." + }, + "automationAccounts_certificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update certificate operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create certificate operation." + }, + "type": { + "type": "string", + "enum": [ + "certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/certificates" + }, + "automationAccounts_configurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The create or update parameters for configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DscConfigurationCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties to create or update configuration." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "configurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/configurations" + }, + "automationAccounts_connections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update connection operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create connection properties" + }, + "type": { + "type": "string", + "enum": [ + "connections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/connections" + }, + "automationAccounts_connectionTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update connection type operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionTypeCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create connection type." + }, + "type": { + "type": "string", + "enum": [ + "connectionTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/connectionTypes" + }, + "automationAccounts_credentials_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The parameters supplied to the create or update credential operation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CredentialCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create credential operation." + }, + "type": { + "type": "string", + "enum": [ + "credentials" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/credentials" + }, + "automationAccounts_hybridRunbookWorkerGroups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "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": [ + "hybridRunbookWorkerGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups" + }, + "automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The hybrid runbook worker id" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HybridRunbookWorkerCreateOrUpdateParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update hybrid runbook worker operation." + }, + "type": { + "type": "string", + "enum": [ + "hybridRunbookWorkers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers" + }, + "automationAccounts_jobSchedules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The job schedule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/JobScheduleCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create job schedule operation." + }, + "type": { + "type": "string", + "enum": [ + "jobSchedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/jobSchedules" + }, + "automationAccounts_jobs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The job name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/JobCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "jobs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/jobs" + }, + "automationAccounts_modules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "location": { + "type": "string", + "description": "Sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of module." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ModuleCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "modules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/modules" + }, + "automationAccounts_nodeConfigurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The Dsc node configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DscNodeConfigurationCreateOrUpdateParametersProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameter properties supplied to the create or update node configuration operation." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "nodeConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/nodeConfigurations" + }, + "automationAccounts_powerShell72Modules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "location": { + "type": "string", + "description": "Sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of module." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ModuleCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "powerShell72Modules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/powerShell72Modules" + }, + "automationAccounts_python2Packages_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The name of python package." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PythonPackageCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "python2Packages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/python2Packages" + }, + "automationAccounts_python3Packages_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The name of python package." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PythonPackageCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update module properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "python3Packages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/python3Packages" + }, + "automationAccounts_runbooks_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The runbook name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update runbook properties." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "runbooks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks" + }, + "automationAccounts_runbooks_draft_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "content" + ] + } + }, + "required": [ + "name" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "testJob" + ] + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the test job." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + } + }, + "required": [ + "name" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "draft" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/runbooks/draft" + }, + "automationAccounts_schedules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The schedule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update schedule operation." + }, + "type": { + "type": "string", + "enum": [ + "schedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/schedules" + }, + "automationAccounts_sourceControls_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The source control name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create source control operation." + }, + "type": { + "type": "string", + "enum": [ + "sourceControls" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/sourceControls" + }, + "automationAccounts_sourceControls_sourceControlSyncJobs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source control sync job id." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlSyncJobCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of create source control sync job properties." + }, + "type": { + "type": "string", + "enum": [ + "sourceControlSyncJobs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/sourceControls/sourceControlSyncJobs" + }, + "automationAccounts_variables_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-11-01" + ] + }, + "name": { + "type": "string", + "description": "The variable name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VariableCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create variable operation." + }, + "type": { + "type": "string", + "enum": [ + "variables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/variables" + }, + "CertificateCreateOrUpdateProperties": { + "type": "object", + "properties": { + "base64Value": { + "type": "string", + "description": "Gets or sets the base64 encoded value of the certificate." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the certificate." + }, + "isExportable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the is exportable flag of the certificate." + }, + "thumbprint": { + "type": "string", + "description": "Gets or sets the thumbprint of the certificate." + } + }, + "required": [ + "base64Value" + ], + "description": "The properties of the create certificate operation." + }, + "ConnectionCreateOrUpdateProperties": { + "type": "object", + "properties": { + "connectionType": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionTypeAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connection type property associated with the entity." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the connection." + }, + "fieldDefinitionValues": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the field definition properties of the connection." + } + }, + "required": [ + "connectionType" + ], + "description": "The properties of the create connection properties" + }, + "ConnectionTypeAssociationProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the connection type." + } + }, + "description": "The connection type property associated with the entity." + }, + "ConnectionTypeCreateOrUpdateProperties": { + "type": "object", + "properties": { + "fieldDefinitions": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/FieldDefinition" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the field definitions of the connection type." + }, + "isGlobal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a Boolean value to indicate if the connection type is global." + } + }, + "required": [ + "fieldDefinitions" + ], + "description": "The properties of the create connection type." + }, + "ContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "Gets or sets the content hash algorithm used to hash the content." + }, + "value": { + "type": "string", + "description": "Gets or sets expected hash value of the content." + } + }, + "required": [ + "algorithm", + "value" + ], + "description": "Definition of the runbook property type." + }, + "ContentLink": { + "type": "object", + "properties": { + "contentHash": { + "oneOf": [ + { + "$ref": "#/definitions/ContentHash" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the runbook property type." + }, + "uri": { + "type": "string", + "description": "Sets the uri of the content." + }, + "version": { + "type": "string", + "description": "Sets the version of the content." + } + }, + "description": "Definition of the content link." + }, + "ContentSource": { + "type": "object", + "properties": { + "hash": { + "oneOf": [ + { + "$ref": "#/definitions/ContentHash" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the runbook property type." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "embeddedContent", + "uri" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the content source type." + }, + "value": { + "type": "string", + "description": "Gets or sets the value of the content. This is based on the content source type." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the content." + } + }, + "description": "Definition of the content source." + }, + "CredentialCreateOrUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the credential." + }, + "password": { + "type": "string", + "description": "Gets or sets the password of the credential." + }, + "userName": { + "type": "string", + "description": "Gets or sets the user name of the credential." + } + }, + "required": [ + "password", + "userName" + ], + "description": "The properties of the create credential operation." + }, + "DscConfigurationAssociationProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the Dsc configuration." + } + }, + "description": "The Dsc configuration property associated with the entity." + }, + "DscConfigurationCreateOrUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the configuration." + }, + "logProgress": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets progress log option." + }, + "logVerbose": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets verbose log option." + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DscConfigurationParameter" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the configuration parameters." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/ContentSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content source." + } + }, + "required": [ + "source" + ], + "description": "The properties to create or update configuration." + }, + "DscConfigurationParameter": { + "type": "object", + "properties": { + "defaultValue": { + "type": "string", + "description": "Gets or sets the default value of parameter." + }, + "isMandatory": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a Boolean value to indicate whether the parameter is mandatory or not." + }, + "position": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Get or sets the position of the parameter." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the parameter." + } + }, + "description": "Definition of the configuration parameter type." + }, + "DscNodeConfigurationCreateOrUpdateParametersProperties": { + "type": "object", + "properties": { + "configuration": { + "oneOf": [ + { + "$ref": "#/definitions/DscConfigurationAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Dsc configuration property associated with the entity." + }, + "incrementNodeConfigurationBuild": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If a new build version of NodeConfiguration is required." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/ContentSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content source." + } + }, + "required": [ + "configuration", + "source" + ], + "description": "The parameter properties supplied to the create or update node configuration operation." + }, + "EncryptionProperties": { + "type": "object", + "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionPropertiesIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User identity used for CMK." + }, + "keySource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft.Automation", + "Microsoft.Keyvault" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption Key Source." + }, + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings concerning key vault encryption for a configuration store." + } + }, + "description": "The encryption settings for automation account" + }, + "EncryptionPropertiesIdentity": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "The user identity used for CMK. It will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "User identity used for CMK." + }, + "FieldDefinition": { + "type": "object", + "properties": { + "isEncrypted": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the isEncrypted flag of the connection field definition." + }, + "isOptional": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the isOptional flag of the connection field definition." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the connection field definition." + } + }, + "required": [ + "type" + ], + "description": "Definition of the connection fields." + }, + "HybridRunbookWorkerCreateOrUpdateParameters": { + "type": "object", + "properties": { + "vmResourceId": { + "type": "string", + "description": "Azure Resource Manager Id for a virtual machine." + } + }, + "description": "The parameters supplied to the create or update hybrid runbook worker operation." + }, + "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." + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesProperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the resource." + }, + "JobCreateProperties": { + "type": "object", + "properties": { + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the job." + }, + "runbook": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The runbook property associated with the entity." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + } + } + }, + "JobScheduleCreateProperties": { + "type": "object", + "properties": { + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a list of job properties." + }, + "runbook": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The runbook property associated with the entity." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the hybrid worker group that the scheduled job should run on." + }, + "schedule": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The schedule property associated with the entity." + } + }, + "required": [ + "runbook", + "schedule" + ], + "description": "The parameters supplied to the create job schedule operation." + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyName": { + "type": "string", + "description": "The name of key used to encrypt data." + }, + "keyvaultUri": { + "type": "string", + "description": "The URI of the key vault key used to encrypt data." + }, + "keyVersion": { + "type": "string", + "description": "The key version of the key used to encrypt data." + } + }, + "description": "Settings concerning key vault encryption for a configuration store." + }, + "ModuleCreateOrUpdateProperties": { + "type": "object", + "properties": { + "contentLink": { + "oneOf": [ + { + "$ref": "#/definitions/ContentLink" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content link." + } + }, + "required": [ + "contentLink" + ], + "description": "The parameters supplied to the create or update module properties." + }, + "PythonPackageCreateProperties": { + "type": "object", + "properties": { + "contentLink": { + "oneOf": [ + { + "$ref": "#/definitions/ContentLink" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content link." + } + }, + "required": [ + "contentLink" + ], + "description": "The parameters supplied to the create or update module 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." + }, + "RunbookAssociationProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the runbook." + } + }, + "description": "The runbook property associated with the entity." + }, + "RunbookCreateOrUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the runbook." + }, + "draft": { + "oneOf": [ + { + "$ref": "#/definitions/RunbookDraft" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "logActivityTrace": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the activity-level tracing options of the runbook." + }, + "logProgress": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets progress log option." + }, + "logVerbose": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets verbose log option." + }, + "publishContentLink": { + "oneOf": [ + { + "$ref": "#/definitions/ContentLink" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content link." + }, + "runbookType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Script", + "Graph", + "PowerShellWorkflow", + "PowerShell", + "GraphPowerShellWorkflow", + "GraphPowerShell", + "Python2", + "Python3", + "PowerShell72" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the type of the runbook." + } + }, + "required": [ + "runbookType" + ], + "description": "The parameters supplied to the create or update runbook properties." + }, + "RunbookDraft": { + "type": "object", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time of the runbook draft." + }, + "draftContentLink": { + "oneOf": [ + { + "$ref": "#/definitions/ContentLink" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the content link." + }, + "inEdit": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets whether runbook is in edit mode." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time of the runbook draft." + }, + "outputTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the runbook output types." + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/RunbookParameter" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the runbook draft parameters." + } + } + }, + "RunbookParameter": { + "type": "object", + "properties": { + "defaultValue": { + "type": "string", + "description": "Gets or sets the default value of parameter." + }, + "isMandatory": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a Boolean value to indicate whether the parameter is mandatory or not." + }, + "position": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Get or sets the position of the parameter." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the parameter." + } + }, + "description": "Definition of the runbook parameter type." + }, + "ScheduleAssociationProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the Schedule." + } + }, + "description": "The schedule property associated with the entity." + }, + "ScheduleCreateOrUpdateProperties": { + "type": "object", + "properties": { + "advancedSchedule": { + "oneOf": [ + { + "$ref": "#/definitions/AdvancedSchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the create Advanced Schedule." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the schedule." + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the end time of the schedule." + }, + "frequency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OneTime", + "Day", + "Hour", + "Week", + "Month", + "Minute" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the frequency of the schedule." + }, + "interval": { + "type": "object", + "properties": {}, + "description": "Gets or sets the interval of the schedule." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the start time of the schedule." + }, + "timeZone": { + "type": "string", + "description": "Gets or sets the time zone of the schedule." + } + }, + "required": [ + "frequency", + "startTime" + ], + "description": "The parameters supplied to the create or update schedule operation." + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the SKU capacity." + }, + "family": { + "type": "string", + "description": "Gets or sets the SKU family." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Free", + "Basic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the SKU name of the account." + } + }, + "required": [ + "name" + ], + "description": "The account SKU." + }, + "SourceControlCreateOrUpdateProperties": { + "type": "object", + "properties": { + "autoSync": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The auto async of the source control. Default is false." + }, + "branch": { + "type": "string", + "maxLength": 255, + "description": "The repo branch of the source control. Include branch as empty string for VsoTfvc." + }, + "description": { + "type": "string", + "maxLength": 512, + "description": "The user description of the source control." + }, + "folderPath": { + "type": "string", + "maxLength": 255, + "description": "The folder path of the source control. Path must be relative." + }, + "publishRunbook": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The auto publish of the source control. Default is true." + }, + "repoUrl": { + "type": "string", + "maxLength": 2000, + "description": "The repo url of the source control." + }, + "securityToken": { + "oneOf": [ + { + "$ref": "#/definitions/SourceControlSecurityTokenProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sourceType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "VsoGit", + "VsoTfvc", + "GitHub" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive." + } + }, + "description": "The properties of the create source control operation." + }, + "SourceControlSecurityTokenProperties": { + "type": "object", + "properties": { + "accessToken": { + "type": "string", + "maxLength": 1024, + "description": "The access token." + }, + "refreshToken": { + "type": "string", + "maxLength": 1024, + "description": "The refresh token." + }, + "tokenType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PersonalAccessToken", + "Oauth" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The token type. Must be either PersonalAccessToken or Oauth." + } + } + }, + "SourceControlSyncJobCreateProperties": { + "type": "object", + "properties": { + "commitId": { + "type": "string", + "minLength": 0, + "description": "The commit id of the source control sync job. If not syncing to a commitId, enter an empty string." + } + }, + "required": [ + "commitId" + ], + "description": "Definition of create source control sync job properties." + }, + "UserAssignedIdentitiesProperties": { + "type": "object", + "properties": {} + }, + "VariableCreateOrUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the variable." + }, + "isEncrypted": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the encrypted flag of the variable." + }, + "value": { + "type": "string", + "description": "Gets or sets the value of the variable." + } + }, + "description": "The properties of the create variable operation." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 8dffb56f1e..709c73e131 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4621,6 +4621,150 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-08-08/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_variables" }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_compilationjobs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_configurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_connections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_connectionTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_credentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_hybridRunbookWorkerGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_jobs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_jobSchedules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_modules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_nodeConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_python2Packages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_python3Packages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_runbooks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_runbooks_draft" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_runtimeEnvironments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_runtimeEnvironments_packages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_schedules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_softwareUpdateConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_sourceControls" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_sourceControls_sourceControlSyncJobs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_variables" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_watchers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-15-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_webhooks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_configurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_connections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_connectionTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_credentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_hybridRunbookWorkerGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_jobs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_jobSchedules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_modules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_nodeConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_powerShell72Modules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_python2Packages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_python3Packages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_runbooks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_runbooks_draft" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_schedules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_sourceControls" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_sourceControls_sourceControlSyncJobs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_variables" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#/resourceDefinitions/accounts" },