diff --git a/schemas/2021-10-01/Microsoft.Compute.Extensions.json b/schemas/2021-10-01/Microsoft.Compute.Extensions.json new file mode 100644 index 0000000000..3e24ad1d66 --- /dev/null +++ b/schemas/2021-10-01/Microsoft.Compute.Extensions.json @@ -0,0 +1,2026 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Compute.Extensions.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute.Extensions", + "description": "Microsoft Compute Extensions Resource Types", + "resourceDefinitions": {}, + "definitions": { + "genericExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Publisher" + }, + "type": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type" + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type handler version" + }, + "settings": { + "oneOf": [ + { + "type": "object" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Microsoft.Compute/extensions - Settings" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "settings" + ] + }, + "iaaSDiagnostics": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Diagnostics" + ] + }, + "type": { + "enum": [ + "IaaSDiagnostics" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "xmlCfg": { + "type": "string" + }, + "StorageAccount": { + "type": "string" + } + }, + "required": [ + "xmlCfg", + "StorageAccount" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "storageAccountEndPoint" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "iaaSAntimalware": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Security" + ] + }, + "type": { + "enum": [ + "IaaSAntimalware" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "AntimalwareEnabled": { + "type": "boolean" + }, + "Exclusions": { + "type": "object", + "properties": { + "Paths": { + "type": "string" + }, + "Extensions": { + "type": "string" + }, + "Processes": { + "type": "string" + } + }, + "required": [ + "Paths", + "Extensions", + "Processes" + ] + }, + "RealtimeProtectionEnabled": { + "enum": [ + "true", + "false" + ] + }, + "ScheduledScanSettings": { + "type": "object", + "properties": { + "isEnabled": { + "enum": [ + "true", + "false" + ] + }, + "scanType": { + "type": "string" + }, + "day": { + "type": "string" + }, + "time": { + "type": "string" + } + }, + "required": [ + "isEnabled", + "scanType", + "day", + "time" + ] + } + }, + "required": [ + "AntimalwareEnabled", + "Exclusions", + "RealtimeProtectionEnabled", + "ScheduledScanSettings" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScriptExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "CustomScriptExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "customScriptForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "CustomScriptForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "commandToExecute": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxDiagnostic": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "LinuxDiagnostic" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "enableSyslog": { + "type": "string" + }, + "mdsdHttpProxy": { + "type": "string" + }, + "perCfg": { + "type": "array" + }, + "fileCfg": { + "type": "array" + }, + "xmlCfg": { + "type": "string" + }, + "ladCfg": { + "type": "object" + }, + "syslogCfg": { + "type": "string" + }, + "eventVolume": { + "type": "string" + }, + "mdsdCfg": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "mdsdHttpProxy": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "vmAccessForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "VMAccessForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "check_disk": { + "type": "boolean" + }, + "repair_disk": { + "type": "boolean" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "ssh_key": { + "type": "string" + }, + "reset_ssh": { + "type": "string" + }, + "remove_user": { + "type": "string" + }, + "expiration": { + "type": "string" + } + }, + "required": [ + "username", + "password", + "ssh_key", + "reset_ssh", + "remove_user", + "expiration" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bgInfo": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "bginfo" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "vmAccessAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "VMAccessAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "username": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dscExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Powershell" + ] + }, + "type": { + "enum": [ + "DSC" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "modulesUrl": { + "type": "string" + }, + "configurationFunction": { + "type": "string" + }, + "properties": { + "type": "string" + }, + "wmfVersion": { + "type": "string" + }, + "privacy": { + "type": "object", + "properties": { + "dataCollection": { + "type": "string" + } + } + } + }, + "required": [ + "modulesUrl", + "configurationFunction" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "dataBlobUri": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackupLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackupLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackup": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackup" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxChefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "LinuxChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_version": { + "type": "string" + }, + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "chefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "ChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "datadogLinuxAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogLinuxAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "datadogWindowsAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogWindowsAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dockerExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "DockerExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "docker": { + "type": "object", + "properties": { + "port": { + "type": "string" + } + }, + "required": [ + "port" + ] + } + }, + "required": [ + "docker" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "certs": { + "type": "object", + "properties": { + "ca": { + "type": "string" + }, + "cert": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "ca", + "cert", + "key" + ] + } + }, + "required": [ + "certs" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dynatraceLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dynatraceWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "eset": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ESET" + ] + }, + "type": { + "enum": [ + "FileSecurity" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "LicenseKey": { + "type": "string" + }, + "Install-RealtimeProtection": { + "type": "boolean" + }, + "Install-ProtocolFiltering": { + "type": "boolean" + }, + "Install-DeviceControl": { + "type": "boolean" + }, + "Enable-Cloud": { + "type": "boolean" + }, + "Enable-PUA": { + "type": "boolean" + }, + "ERAAgentCfgUrl": { + "type": "string" + } + }, + "required": [ + "LicenseKey", + "Install-RealtimeProtection", + "Install-ProtocolFiltering", + "Install-DeviceControl", + "Enable-Cloud", + "Enable-PUA", + "ERAAgentCfgUrl" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "hpeSecurityApplicationDefender": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "HPE.Security.ApplicationDefender" + ] + }, + "type": { + "enum": [ + "DotnetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "serverURL": { + "type": "string" + } + }, + "required": [ + "key", + "serverURL" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "puppetAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Puppet" + ] + }, + "type": { + "enum": [ + "PuppetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "PUPPET_MASTER_SERVER": { + "type": "string" + } + }, + "required": [ + "PUPPET_MASTER_SERVER" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "site24x7LinuxServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7LinuxServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnlinuxserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7WindowsServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7WindowsServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnwindowsserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7ApmInsightExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7ApmInsightExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnapminsightclassic" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSALinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSALinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSA": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSA" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bmcCtmAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ctm.bmc.com" + ] + }, + "type": { + "enum": [ + "BmcCtmAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + }, + "User Account": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group", + "User Account" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "bmcCtmAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "bmc.ctm" + ] + }, + "type": { + "enum": [ + "AgentWinExt" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "OSPatchingForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "OSPatchingForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "disabled": { + "type": "boolean" + }, + "stop": { + "type": "boolean" + }, + "installDuration": { + "type": "string" + }, + "intervalOfWeeks": { + "type": "number" + }, + "dayOfWeek": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "rebootAfterPatch": { + "type": "string" + }, + "category": { + "type": "string" + }, + "oneoff": { + "type": "boolean" + }, + "local": { + "type": "boolean" + }, + "idleTestScript": { + "type": "string" + }, + "healthyTestScript": { + "type": "string" + }, + "distUpgradeList": { + "type": "string" + }, + "distUpgradeAll": { + "type": "boolean" + }, + "vmStatusTest": { + "type": "object" + } + }, + "required": [ + "disabled", + "stop" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "VMSnapshot": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshot" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "VMSnapshotLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshotLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScript": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "CustomScript" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileUris" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "networkWatcherAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "networkWatcherAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + } + } +} \ No newline at end of file diff --git a/schemas/2021-10-01/Microsoft.Compute.json b/schemas/2021-10-01/Microsoft.Compute.json new file mode 100644 index 0000000000..3c782d9d57 --- /dev/null +++ b/schemas/2021-10-01/Microsoft.Compute.json @@ -0,0 +1,1654 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Compute.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute", + "description": "Microsoft Compute Resource Types", + "resourceDefinitions": { + "galleries": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Shared Image Gallery." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_images_childResource" + }, + { + "$ref": "#/definitions/galleries_applications_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.Compute/galleries" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries" + }, + "galleries_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_applications_versions_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.Compute/galleries/applications" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications" + }, + "galleries_applications_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "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.Compute/galleries/applications/versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications/versions" + }, + "galleries_images": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image definition." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_images_versions_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.Compute/galleries/images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images" + }, + "galleries_images_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "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.Compute/galleries/images/versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images/versions" + } + }, + "definitions": { + "DataDiskImageEncryption": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "A relative URI containing the resource ID of the disk encryption set." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." + } + }, + "required": [ + "lun" + ], + "description": "Contains encryption settings for a data disk image." + }, + "Disallowed": { + "type": "object", + "properties": { + "diskTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of disk types." + } + }, + "description": "Describes the disallowed disk types." + }, + "EncryptionImages": { + "type": "object", + "properties": { + "dataDiskImages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataDiskImageEncryption" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of encryption specifications for data disk images." + }, + "osDiskImage": { + "oneOf": [ + { + "$ref": "#/definitions/OSDiskImageEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains encryption settings for an OS disk image." + } + }, + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "galleries_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "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": [ + "applications" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications" + }, + "galleries_applications_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "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": [ + "versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications/versions" + }, + "galleries_images_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image definition." + }, + "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": [ + "images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images" + }, + "galleries_images_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "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": [ + "versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images/versions" + }, + "GalleryApplicationProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of this gallery Application Definition resource. This property is updatable." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery Application Definition." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + }, + "supportedOSType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the supported type of the OS that application is built for.

Possible values are:

**Windows**

**Linux**." + } + }, + "required": [ + "supportedOSType" + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "GalleryApplicationVersionProperties": { + "type": "object", + "properties": { + "publishingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The publishing profile of a gallery image version." + } + }, + "required": [ + "publishingProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryApplicationVersionPublishingProfile": { + "type": "object", + "properties": { + "enableHealthCheck": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Whether or not this application reports health." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable." + }, + "excludeFromLatest": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "manageActions": { + "oneOf": [ + { + "$ref": "#/definitions/UserArtifactManage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "replicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." + }, + "replicationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Full", + "Shallow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/UserArtifactSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source image from which the Image Version is going to be created." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + }, + "targetExtendedLocations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryTargetExtendedLocation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable." + }, + "targetRegions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TargetRegion" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + } + }, + "required": [ + "source" + ], + "description": "The publishing profile of a gallery image version." + }, + "GalleryArtifactVersionSource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource." + }, + "uri": { + "type": "string", + "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source." + } + }, + "description": "The gallery artifact version source." + }, + "GalleryDataDiskImage": { + "type": "object", + "properties": { + "hostCaching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryArtifactVersionSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The gallery artifact version source." + } + }, + "required": [ + "lun" + ], + "description": "This is the data disk image." + }, + "GalleryExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EdgeZone", + "Unknown" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "The name of the extended location." + }, + "GalleryIdentifier": { + "type": "object", + "properties": {}, + "description": "Describes the gallery unique name." + }, + "GalleryImageFeature": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the gallery image feature." + }, + "value": { + "type": "string", + "description": "The value of the gallery image feature." + } + }, + "description": "A feature for gallery image." + }, + "GalleryImageIdentifier": { + "type": "object", + "properties": { + "offer": { + "type": "string", + "description": "The name of the gallery image definition offer." + }, + "publisher": { + "type": "string", + "description": "The name of the gallery image definition publisher." + }, + "sku": { + "type": "string", + "description": "The name of the gallery image definition SKU." + } + }, + "required": [ + "offer", + "publisher", + "sku" + ], + "description": "This is the gallery image definition identifier." + }, + "GalleryImageProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of this gallery image definition resource. This property is updatable." + }, + "disallowed": { + "oneOf": [ + { + "$ref": "#/definitions/Disallowed" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the disallowed disk types." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery image definition." + }, + "features": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryImageFeature" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of gallery image features." + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only." + }, + "identifier": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageIdentifier" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the gallery image definition identifier." + }, + "osState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Generalized", + "Specialized" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "purchasePlan": { + "oneOf": [ + { + "$ref": "#/definitions/ImagePurchasePlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the gallery image definition purchase plan. This is used by marketplace images." + }, + "recommended": { + "oneOf": [ + { + "$ref": "#/definitions/RecommendedMachineConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + } + }, + "required": [ + "identifier", + "osState", + "osType" + ], + "description": "Describes the properties of a gallery image definition." + }, + "GalleryImageVersionProperties": { + "type": "object", + "properties": { + "publishingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionPublishingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The publishing profile of a gallery image Version." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the storage profile of a Gallery Image Version." + } + }, + "required": [ + "storageProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryImageVersionPublishingProfile": { + "type": "object", + "properties": { + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable." + }, + "excludeFromLatest": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "replicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." + }, + "replicationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Full", + "Shallow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + }, + "targetExtendedLocations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryTargetExtendedLocation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable." + }, + "targetRegions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TargetRegion" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + } + }, + "description": "The publishing profile of a gallery image Version." + }, + "GalleryImageVersionStorageProfile": { + "type": "object", + "properties": { + "dataDiskImages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryDataDiskImage" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of data disk images." + }, + "osDiskImage": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryOSDiskImage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the OS disk image." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryArtifactVersionSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The gallery artifact version source." + } + }, + "description": "This is the storage profile of a Gallery Image Version." + }, + "GalleryOSDiskImage": { + "type": "object", + "properties": { + "hostCaching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryArtifactVersionSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The gallery artifact version source." + } + }, + "description": "This is the OS disk image." + }, + "GalleryProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of this Shared Image Gallery resource. This property is updatable." + }, + "identifier": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryIdentifier" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the gallery unique name." + }, + "sharingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SharingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for gallery sharing to subscription or tenant" + }, + "softDeletePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SoftDeletePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains information about the soft deletion policy of the gallery." + } + }, + "description": "Describes the properties of a Shared Image Gallery." + }, + "GalleryTargetExtendedLocation": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionImages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the extended location." + }, + "extendedLocationReplicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per extended location. This property is updatable." + }, + "name": { + "type": "string", + "description": "The name of the region." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + } + } + }, + "ImagePurchasePlan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "The product ID." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "description": "Describes the gallery image definition purchase plan. This is used by marketplace images." + }, + "OSDiskImageEncryption": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "A relative URI containing the resource ID of the disk encryption set." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSDiskImageSecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains security profile for an OS disk image." + } + }, + "description": "Contains encryption settings for an OS disk image." + }, + "OSDiskImageSecurityProfile": { + "type": "object", + "properties": { + "confidentialVMEncryptionType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EncryptedVMGuestStateOnlyWithPmk", + "EncryptedWithPmk", + "EncryptedWithCmk" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "confidential VM encryption types." + }, + "secureVMDiskEncryptionSetId": { + "type": "string", + "description": "secure VM disk encryption set id" + } + }, + "description": "Contains security profile for an OS disk image." + }, + "RecommendedMachineConfiguration": { + "type": "object", + "properties": { + "memory": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRange" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the resource range." + }, + "vCPUs": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRange" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the resource range." + } + }, + "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." + }, + "ResourceRange": { + "type": "object", + "properties": { + "max": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of the resource." + }, + "min": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of the resource." + } + }, + "description": "Describes the resource range." + }, + "SharingProfile": { + "type": "object", + "properties": { + "communityGalleryInfo": { + "type": "object", + "properties": {}, + "description": "Information of community gallery if current gallery is shared to community." + }, + "permissions": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Private", + "Groups" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the permission of sharing gallery.

Possible values are:

**Private**

**Groups**." + } + }, + "description": "Profile for gallery sharing to subscription or tenant" + }, + "SoftDeletePolicy": { + "type": "object", + "properties": { + "isSoftDeleteEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time." + } + }, + "description": "Contains information about the soft deletion policy of the gallery." + }, + "TargetRegion": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionImages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "name": { + "type": "string", + "description": "The name of the region." + }, + "regionalReplicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per region. This property is updatable." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + } + }, + "required": [ + "name" + ], + "description": "Describes the target region information." + }, + "UserArtifactManage": { + "type": "object", + "properties": { + "install": { + "type": "string", + "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters." + }, + "remove": { + "type": "string", + "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters." + }, + "update": { + "type": "string", + "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters." + } + }, + "required": [ + "install", + "remove" + ] + }, + "UserArtifactSource": { + "type": "object", + "properties": { + "defaultConfigurationLink": { + "type": "string", + "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob." + }, + "mediaLink": { + "type": "string", + "description": "Required. The mediaLink of the artifact, must be a readable storage page blob." + } + }, + "required": [ + "mediaLink" + ], + "description": "The source image from which the Image Version is going to be created." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 56456df8b2..37ad9a78d3 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3967,6 +3967,21 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Compute.json#/resourceDefinitions/snapshots" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Compute.json#/resourceDefinitions/galleries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Compute.json#/resourceDefinitions/galleries_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Compute.json#/resourceDefinitions/galleries_applications_versions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Compute.json#/resourceDefinitions/galleries_images" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Compute.json#/resourceDefinitions/galleries_images_versions" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Compute.json#/resourceDefinitions/availabilitySets" },