diff --git a/schemas/2022-05-01-preview/Microsoft.Migrate.Migrate.json b/schemas/2022-05-01-preview/Microsoft.Migrate.Migrate.json new file mode 100644 index 0000000000..63e4c55cda --- /dev/null +++ b/schemas/2022-05-01-preview/Microsoft.Migrate.Migrate.json @@ -0,0 +1,2421 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Migrate.Migrate.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Migrate", + "description": "Microsoft Migrate Resource Types", + "resourceDefinitions": { + "modernizeProjects": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the modernizeProject." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ModernizeProject Name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ModernizeProjectModelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ModernizeProject properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/modernizeProjects_migrateAgents_childResource" + }, + { + "$ref": "#/definitions/modernizeProjects_workloadDeployments_childResource" + }, + { + "$ref": "#/definitions/modernizeProjects_workloadInstances_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 resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/modernizeProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/modernizeProjects" + }, + "modernizeProjects_migrateAgents": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MigrateAgent name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateAgentModelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MigrateAgent model 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 resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/modernizeProjects/migrateAgents" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/modernizeProjects/migrateAgents" + }, + "modernizeProjects_workloadDeployments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload deployment name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadDeploymentModelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload deployment model 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 resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/modernizeProjects/workloadDeployments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/modernizeProjects/workloadDeployments" + }, + "modernizeProjects_workloadInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload instance name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadInstanceModelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload instance model 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 resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/modernizeProjects/workloadInstances" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/modernizeProjects/workloadInstances" + } + }, + "definitions": { + "ACRProperties": { + "type": "object", + "properties": { + "registryName": { + "type": "string", + "description": "Gets or sets the azure container registry name." + }, + "resourceGroup": { + "type": "string", + "description": "Gets or sets the resource group of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "Gets or sets the subscription id of the resource." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + } + }, + "description": "Class for ACR Properties." + }, + "AKSDeploymentProperties": { + "type": "object", + "properties": { + "aksClusterName": { + "type": "string", + "description": "Gets or sets the AKS cluster name." + }, + "resourceGroup": { + "type": "string", + "description": "Gets or sets the resource group of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "Gets or sets the subscription id of the resource." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant id." + } + }, + "description": "Class for AKSDeployment Properties." + }, + "AKSDeploymentSpecification": { + "type": "object", + "properties": { + "kubernetesObjectsYaml": { + "type": "string", + "description": "Gets or sets the Merged Deployment and service Yaml." + }, + "loadBalancerType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Private", + "Public" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the load balancer type." + }, + "replicaCount": { + "type": "string", + "description": "Gets or sets the replica count to be created in AKS." + } + }, + "description": "AKS Deployment Specification." + }, + "ApacheTomcatAKSWorkloadDeployment": { + "type": "object", + "properties": { + "automationArtifactProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AutomationArtifact" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for automation artifact." + }, + "bindings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Binding" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the bindings for the application." + }, + "buildContainerImages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerImageProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the build container images." + }, + "clusterProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AKSDeploymentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for AKSDeployment Properties." + }, + "configurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets application configuration." + }, + "containerImageProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for container image properties." + }, + "deploymentNamePrefix": { + "type": "string", + "description": "Gets or sets the deployment name prefix." + }, + "deploymentSpec": { + "oneOf": [ + { + "$ref": "#/definitions/AKSDeploymentSpecification" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AKS Deployment Specification." + }, + "directories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationDirectory" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets application directories." + }, + "limits": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Requirements." + }, + "monitoringProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AppInsightMonitoringProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for app insight monitoring properties." + }, + "requests": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Requirements." + }, + "targetPlatformIdentity": { + "type": "string", + "description": "Gets or sets the target platform managed identity." + } + }, + "description": "ApacheTomcat web application." + }, + "ApacheTomcatAKSWorkloadDeploymentModelCustomProperties": { + "type": "object", + "properties": { + "apacheTomcatAksWorkloadDeploymentProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ApacheTomcatAKSWorkloadDeployment" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ApacheTomcat web application." + }, + "instanceType": { + "type": "string", + "enum": [ + "ApacheTomcatAKSWorkloadDeploymentModelCustomProperties" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "ApacheTomcat workload instance model custom properties." + }, + "ApacheTomcatWebApplication": { + "type": "object", + "properties": { + "applicationId": { + "type": "string", + "description": "Gets or sets the web application id." + }, + "applicationName": { + "type": "string", + "description": "Gets or sets the web application name." + }, + "applicationScratchPath": { + "type": "string", + "description": "Gets or sets application scratch path." + }, + "bindings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Binding" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the bindings for the application." + }, + "configurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets application configuration." + }, + "directories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationDirectory" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets application directories." + }, + "discoveredFrameworks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationFramework" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the discovered frameworks of application." + }, + "displayName": { + "type": "string", + "description": "Gets or sets the display name." + }, + "limits": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Requirements." + }, + "path": { + "oneOf": [ + { + "$ref": "#/definitions/DirectoryPath" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Second level entity for virtual directories." + }, + "primaryFramework": { + "oneOf": [ + { + "$ref": "#/definitions/WebApplicationFramework" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Framework specific data for a web application." + }, + "requests": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Requirements." + }, + "webServerId": { + "type": "string", + "description": "Gets or sets the web server id." + }, + "webServerName": { + "type": "string", + "description": "Gets or sets the web server name." + } + }, + "description": "ApacheTomcat web application." + }, + "ApacheTomcatWorkloadInstanceModelCustomProperties": { + "type": "object", + "properties": { + "apacheTomcatWebApplication": { + "oneOf": [ + { + "$ref": "#/definitions/ApacheTomcatWebApplication" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ApacheTomcat web application." + }, + "instanceType": { + "type": "string", + "enum": [ + "ApacheTomcatWorkloadInstanceModelCustomProperties" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "ApacheTomcat workload instance model custom properties." + }, + "AppInsightMonitoringProperties": { + "type": "object", + "properties": { + "appInsightsName": { + "type": "string", + "description": "Gets or sets the app insights name." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether monitoring is enabled." + }, + "region": { + "type": "string", + "description": "Gets or sets the region." + }, + "resourceGroup": { + "type": "string", + "description": "Gets or sets the resource group of the resource." + }, + "secretStoreDetails": { + "oneOf": [ + { + "$ref": "#/definitions/SecretStoreDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "subscriptionId": { + "type": "string", + "description": "Gets or sets the subscription id of the resource." + } + }, + "description": "Class for app insight monitoring properties." + }, + "AutomationArtifact": { + "type": "object", + "properties": { + "artifacts": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the artifacts." + }, + "azureFileShareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/AzureFileShareHydrationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure file share profile for hydration of application folders not mounted on\r\nthe container file system." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotGenerated", + "Generated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the status of automation artifacts." + } + }, + "description": "Class for automation artifact." + }, + "AzureFileShareHydrationProfile": { + "type": "object", + "properties": { + "azureFileShareDirPath": { + "type": "string", + "description": "Gets or sets the cloud directory path of the directory on azure file share." + }, + "azureFileShareName": { + "type": "string", + "description": "Gets or sets the name of the azure file share." + }, + "azureFileShareResourceGroup": { + "type": "string", + "description": "Gets or sets the name of the azure file share resource group." + }, + "azureFileShareStorageAccount": { + "type": "string", + "description": "Gets or sets the name of the azure file share storage account." + }, + "azureFileShareSubscriptionId": { + "type": "string", + "description": "Gets or sets the subscription id of the azure file share." + } + }, + "description": "Azure file share profile for hydration of application folders not mounted on\r\nthe container file system." + }, + "Binding": { + "type": "object", + "properties": { + "cert": { + "oneOf": [ + { + "$ref": "#/definitions/Cert" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "WebApplication certificate." + }, + "hostName": { + "type": "string", + "description": "Gets or sets the binding host name." + }, + "ipAddress": { + "type": "string", + "description": "Gets or sets the IP Address." + }, + "port": { + "type": "string", + "description": "Gets or sets the application port." + }, + "portMapping": { + "oneOf": [ + { + "$ref": "#/definitions/PortMapping" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "WebApplication port mapping." + }, + "protocol": { + "type": "string", + "description": "Gets or sets the protocol." + } + }, + "description": "Binding for a web application." + }, + "Cert": { + "type": "object", + "properties": { + "certData": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the Certificate data." + }, + "certNeeded": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether certificate is needed or not." + }, + "certProvided": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether certificate is provided or not." + }, + "secretStore": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "KubeSecret", + "KeyVaultSecret", + "AppServiceAppSettings" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the type of secret store for the certificate." + } + }, + "description": "WebApplication certificate." + }, + "ContainerImageProperties": { + "type": "object", + "properties": { + "dockerfile": { + "type": "string", + "description": "Gets or sets the dockerfile for the container image." + }, + "imageName": { + "type": "string", + "description": "Gets or sets the container image name." + }, + "imageTag": { + "type": "string", + "description": "Gets or sets the container image tag." + }, + "registryProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ACRProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for ACR Properties." + }, + "runId": { + "type": "string", + "description": "Gets or sets the RunId." + }, + "runStatus": { + "type": "string", + "description": "Gets or sets the RunStatus." + } + }, + "description": "Class for container image properties." + }, + "DirectoryPath": { + "type": "object", + "properties": { + "physical": { + "type": "string", + "description": "Gets or sets the physical path of the directory on the web server." + }, + "virtual": { + "type": "string", + "description": "Gets or sets the virtual path for the directory." + } + }, + "description": "Second level entity for virtual directories." + }, + "GmsaAuthenticationProperties": { + "type": "object", + "properties": { + "adDomainControllerDns": { + "type": "string", + "description": "Gets or sets the list of dns server that can resolve the Active Directory Domain Name/Address." + }, + "adDomainFqdn": { + "type": "string", + "description": "Gets or sets the FQDN of the Active Directory Domain. For e.g. 'contoso.local', 'fareast.corp.microsoft.com' etc." + }, + "akvProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultSecretStoreProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "domainAdminPassword": { + "type": "string", + "description": "Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.DomainAdminUsername." + }, + "domainAdminUsername": { + "type": "string", + "description": "Gets or sets the name of the user having admin rights on the Active Directory Domain Controller." + }, + "domainControllerAddress": { + "type": "string", + "description": "Gets or sets the address of the Active Directory Domain Controller running Domain Services." + }, + "gmsaAccountName": { + "type": "string", + "description": "Gets or sets the name to be used for GMSA." + }, + "gmsaUsername": { + "type": "string", + "description": "Gets or sets username of the user having authorization to access GMSA on Active Directory." + }, + "gmsaUserPassword": { + "type": "string", + "description": "Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.GmsaUsername." + } + }, + "description": "Class for GMSA authentication details to configure Active Directory connectivity." + }, + "IdentityModel": { + "type": "object", + "properties": { + "aadAuthority": { + "type": "string", + "description": "Gets or sets the authority of the SPN with which MigrateAgent communicates to service." + }, + "applicationId": { + "type": "string", + "description": "Gets or sets the client/application Id of the SPN with which MigrateAgent communicates to\r\nservice." + }, + "audience": { + "type": "string", + "description": "Gets or sets the audience of the SPN with which MigrateAgent communicates to service." + }, + "objectId": { + "type": "string", + "description": "Gets or sets the object Id of the SPN with which MigrateAgent communicates to service." + }, + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant Id of the SPN with which MigrateAgent communicates to service." + } + }, + "description": "Identity model." + }, + "IISAKSWorkloadDeployment": { + "type": "object", + "properties": { + "authenticationProperties": { + "oneOf": [ + { + "$ref": "#/definitions/GmsaAuthenticationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for GMSA authentication details to configure Active Directory connectivity." + }, + "automationArtifactProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AutomationArtifact" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for automation artifact." + }, + "bindings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Binding" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the bindings for the application." + }, + "buildContainerImages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerImageProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the build container images." + }, + "clusterProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AKSDeploymentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for AKSDeployment Properties." + }, + "configurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets application configuration." + }, + "containerImageProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for container image properties." + }, + "deploymentNamePrefix": { + "type": "string", + "description": "Gets or sets the deployment name prefix." + }, + "deploymentSpec": { + "oneOf": [ + { + "$ref": "#/definitions/AKSDeploymentSpecification" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AKS Deployment Specification." + }, + "directories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationDirectory" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets application directories." + }, + "limits": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Requirements." + }, + "monitoringProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AppInsightMonitoringProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class for app insight monitoring properties." + }, + "requests": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Requirements." + }, + "targetPlatformIdentity": { + "type": "string", + "description": "Gets or sets the target platform managed identity." + } + }, + "description": "IIS AKS workload deployment." + }, + "IISAKSWorkloadDeploymentModelCustomProperties": { + "type": "object", + "properties": { + "iisAksWorkloadDeploymentProperties": { + "oneOf": [ + { + "$ref": "#/definitions/IISAKSWorkloadDeployment" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IIS AKS workload deployment." + }, + "instanceType": { + "type": "string", + "enum": [ + "IISAKSWorkloadDeploymentModelCustomProperties" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "IIS workload instance model custom properties." + }, + "IISApplicationDetails": { + "type": "object", + "properties": { + "applicationPoolName": { + "type": "string", + "description": "Gets or sets the application pool name." + }, + "directories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DirectoryPath" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of directories." + }, + "enable32BitApiOnWin64": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether 32 bit applications are allowed to run on 64 bit." + }, + "managedPipelineMode": { + "type": "string", + "description": "Gets or sets the managed pipeline mode." + }, + "path": { + "oneOf": [ + { + "$ref": "#/definitions/DirectoryPath" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Second level entity for virtual directories." + }, + "runtimeVersion": { + "type": "string", + "description": "Gets or sets the runtime version." + } + }, + "description": "IISApplication details." + }, + "IISVirtualApplicationDetails": { + "type": "object", + "properties": { + "directories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DirectoryPath" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of directories." + }, + "path": { + "oneOf": [ + { + "$ref": "#/definitions/DirectoryPath" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Second level entity for virtual directories." + } + }, + "description": "IIS virtual application details." + }, + "IISWebApplication": { + "type": "object", + "properties": { + "applicationId": { + "type": "string", + "description": "Gets or sets the web application id." + }, + "applicationName": { + "type": "string", + "description": "Gets or sets the web application name." + }, + "applications": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IISApplicationDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of applications for the IIS web site." + }, + "applicationScratchPath": { + "type": "string", + "description": "Gets or sets application scratch path." + }, + "bindings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Binding" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the bindings for the application." + }, + "configurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets application configuration." + }, + "directories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationDirectory" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets application directories." + }, + "discoveredFrameworks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationFramework" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the discovered frameworks of application." + }, + "displayName": { + "type": "string", + "description": "Gets or sets the display name." + }, + "iisWebServer": { + "oneOf": [ + { + "$ref": "#/definitions/IISWebServer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IISWeb server." + }, + "limits": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Requirements." + }, + "path": { + "oneOf": [ + { + "$ref": "#/definitions/DirectoryPath" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Second level entity for virtual directories." + }, + "primaryFramework": { + "oneOf": [ + { + "$ref": "#/definitions/WebApplicationFramework" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Framework specific data for a web application." + }, + "requests": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Requirements." + }, + "virtualApplications": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IISVirtualApplicationDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of application units for the web site." + }, + "webServerId": { + "type": "string", + "description": "Gets or sets the web server id." + }, + "webServerName": { + "type": "string", + "description": "Gets or sets the web server name." + } + }, + "description": "IISWeb application." + }, + "IISWebServer": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "Gets or sets the display name." + }, + "ipAddresses": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets list of ip addresses." + }, + "machines": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of machines." + }, + "operatingSystemDetails": { + "oneOf": [ + { + "$ref": "#/definitions/OperatingSystemDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "rootConfigurationLocation": { + "type": "string", + "description": "Gets or sets the server root configuration location." + }, + "runAsAccountId": { + "type": "string", + "description": "Gets or sets the run as account id." + }, + "serverFqdn": { + "type": "string", + "description": "Gets or sets the server FQDN." + }, + "serverId": { + "type": "string", + "description": "Gets or sets the web server id." + }, + "serverName": { + "type": "string", + "description": "Gets or sets the web server name." + }, + "version": { + "type": "string", + "description": "Gets or sets the server version." + }, + "webApplications": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of web applications." + } + }, + "description": "IISWeb server." + }, + "IISWorkloadInstanceModelCustomProperties": { + "type": "object", + "properties": { + "containerName": { + "type": "string", + "description": "Gets or sets the container Id." + }, + "fileshareName": { + "type": "string", + "description": "Gets or sets the fileshare name." + }, + "iisWebApplication": { + "oneOf": [ + { + "$ref": "#/definitions/IISWebApplication" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IISWeb application." + }, + "instanceType": { + "type": "string", + "enum": [ + "IISWorkloadInstanceModelCustomProperties" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "IIS workload instance model custom properties." + }, + "KeyVaultSecretStoreProperties": { + "type": "object", + "properties": { + "keyvaultName": { + "type": "string" + }, + "managedIdentityProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceGroup": { + "type": "string" + }, + "secretStoreId": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "tenantId": { + "type": "string" + } + } + }, + "ManagedIdentityProperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "managedIdentityName": { + "type": "string" + }, + "principalId": { + "type": "string" + }, + "resourceGroup": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "tenantId": { + "type": "string" + } + } + }, + "MigrateAgentModelCustomProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VMwareMigrateAgentModelCustomProperties" + } + ], + "properties": {}, + "description": "MigrateAgent model custom properties." + }, + "MigrateAgentModelProperties": { + "type": "object", + "properties": { + "authenticationIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityModel" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity model." + }, + "customProperties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateAgentModelCustomProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MigrateAgent model custom properties." + }, + "machineId": { + "type": "string", + "description": "Gets or sets the machine Id where MigrateAgent is running." + }, + "machineName": { + "type": "string", + "description": "Gets or sets the machine name where MigrateAgent is running." + } + }, + "description": "MigrateAgent model properties." + }, + "MigrationConfiguration": { + "type": "object", + "properties": { + "keyVaultResourceId": { + "type": "string", + "description": "Gets or sets the key vault resource Id." + }, + "migrationSolutionResourceId": { + "type": "string", + "description": "Gets or sets the migration solution resource Id." + }, + "storageAccountResourceId": { + "type": "string", + "description": "Gets or sets the storage account resource Id." + } + }, + "description": "MigrationConfiguration properties." + }, + "ModernizeProjectModelProperties": { + "type": "object", + "properties": { + "migrationConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/MigrationConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MigrationConfiguration properties." + } + }, + "description": "ModernizeProject properties." + }, + "modernizeProjects_migrateAgents_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MigrateAgent name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateAgentModelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MigrateAgent model 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 resource tags." + }, + "type": { + "type": "string", + "enum": [ + "migrateAgents" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/modernizeProjects/migrateAgents" + }, + "modernizeProjects_workloadDeployments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload deployment name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadDeploymentModelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload deployment model 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 resource tags." + }, + "type": { + "type": "string", + "enum": [ + "workloadDeployments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/modernizeProjects/workloadDeployments" + }, + "modernizeProjects_workloadInstances_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload instance name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadInstanceModelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload instance model 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 resource tags." + }, + "type": { + "type": "string", + "enum": [ + "workloadInstances" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/modernizeProjects/workloadInstances" + }, + "OperatingSystemDetails": { + "type": "object", + "properties": { + "os": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osArchitecture": { + "type": "string" + }, + "osName": { + "type": "string" + }, + "osVersion": { + "type": "string" + } + } + }, + "PortMapping": { + "type": "object", + "properties": { + "externalPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the External Port." + }, + "internalPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the Internal Port." + } + }, + "description": "WebApplication port mapping." + }, + "ResourceIdentity": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "tenantId": { + "type": "string" + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "ResourceRequirements": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "description": "Gets or sets the Cpu requirement." + }, + "memory": { + "type": "string", + "description": "Gets or sets the Memory requirement." + } + }, + "description": "Resource Requirements." + }, + "SecretStoreDetails": { + "type": "object", + "properties": { + "secretStore": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "KubeSecret", + "KeyVaultSecret", + "AppServiceAppSettings" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "secretStoreProperties": { + "oneOf": [ + { + "$ref": "#/definitions/SecretStoreProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "SecretStoreProperties": { + "type": "object", + "properties": { + "secretStoreId": { + "type": "string" + } + } + }, + "TargetStorageProfile": { + "type": "object", + "properties": { + "azureFileShareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/AzureFileShareHydrationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure file share profile for hydration of application folders not mounted on\r\nthe container file system." + }, + "hydrationStorageProviderType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureFileShare" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the storage provider type on the target.\r\nApplicable when StorageProjectionType is not ContainerFileSystem." + }, + "persistentVolumeId": { + "type": "string", + "description": "Gets or sets the target persistent volume id.\r\nApplicable when StorageProjectionType is PersistentVolume and on using an\r\nexisting PersistentVolume." + }, + "storageAccessType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Shared", + "Exclusive" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target storage access type." + }, + "storageProjectionType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ContainerFileSystem", + "PersistentVolume" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the target projection type." + }, + "targetName": { + "type": "string", + "description": "Gets or sets the name of the projected volume on the target environment." + }, + "targetSize": { + "type": "string", + "description": "Gets or sets the storage size on the target.\r\nApplicable when StorageProjectionType is PersistentVolume and on creating a new\r\nPersistentVolume." + } + }, + "description": "Storage profile for the directory on the target container." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "principalId": { + "type": "string" + } + } + }, + "VMwareMigrateAgentModelCustomProperties": { + "type": "object", + "properties": { + "fabricFriendlyName": { + "type": "string", + "description": "Gets or sets the friendly name of the,of the MigrateAgent fabric." + }, + "instanceType": { + "type": "string", + "enum": [ + "VMwareMigrateAgentModelCustomProperties" + ] + }, + "vmwareSiteId": { + "type": "string", + "description": "Gets or sets the master Site Id of the Migrate Agent." + } + }, + "required": [ + "instanceType" + ], + "description": "VMware MigrateAgent model custom properties." + }, + "WebApplicationConfiguration": { + "type": "object", + "properties": { + "filePath": { + "type": "string", + "description": "Gets or sets the configuration file path." + }, + "identifier": { + "type": "string", + "description": "Gets or sets the identifier for the configuration." + }, + "isDeploymentTimeEditable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether the configuration is edited or not by the user." + }, + "localFilePath": { + "type": "string", + "description": "Gets or sets the configuration local file path." + }, + "name": { + "type": "string", + "description": "Gets or sets the configuration name." + }, + "secretStoreDetails": { + "oneOf": [ + { + "$ref": "#/definitions/SecretStoreDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "section": { + "type": "string", + "description": "Gets or sets the configuration section in the file." + }, + "targetFilePath": { + "type": "string", + "description": "Gets or sets the configuration target file path." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IISConnectionString", + "IISAuthentication", + "ApacheTomcatContextResource" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the configuration type." + }, + "value": { + "type": "string", + "description": "Gets or sets the configuration value." + } + }, + "description": "Class for web application configurations." + }, + "WebApplicationDirectory": { + "type": "object", + "properties": { + "isEditable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a value indicating whether the directory object is editable.\r\nTrue when the directory is added as an optional directory, false when discovery is done\r\nmanually." + }, + "sourcePaths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the paths of the directory on the source machine." + }, + "sourceSize": { + "type": "string", + "description": "Gets or sets the size of the directory on the source machine." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/TargetStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage profile for the directory on the target container." + } + }, + "description": "WebApplication directory structure." + }, + "WebApplicationFramework": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets Name of the framework." + }, + "version": { + "type": "string", + "description": "Gets or sets Version of the framework." + } + }, + "description": "Framework specific data for a web application." + }, + "WorkloadDeploymentModelCustomProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ApacheTomcatAKSWorkloadDeploymentModelCustomProperties" + }, + { + "$ref": "#/definitions/IISAKSWorkloadDeploymentModelCustomProperties" + } + ], + "properties": {}, + "description": "Workload deployment model custom properties." + }, + "WorkloadDeploymentModelProperties": { + "type": "object", + "properties": { + "customProperties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadDeploymentModelCustomProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload deployment model custom properties." + }, + "displayName": { + "type": "string", + "description": "Gets or sets the display name." + }, + "targetPlatform": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureKubernetesService", + "AzureAppServiceContainer", + "AzureAppServiceNative" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the deployment target platform." + }, + "workloadInstanceProperties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadInstanceModelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload instance model properties." + } + }, + "description": "Workload deployment model properties." + }, + "WorkloadInstanceModelCustomProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ApacheTomcatWorkloadInstanceModelCustomProperties" + }, + { + "$ref": "#/definitions/IISWorkloadInstanceModelCustomProperties" + } + ], + "properties": { + "webAppArmId": { + "type": "string", + "description": "Gets or sets the Web application ARM id." + }, + "webAppSiteName": { + "type": "string", + "description": "Gets or sets the Web application site name." + } + }, + "description": "Workload instance model custom properties." + }, + "WorkloadInstanceModelProperties": { + "type": "object", + "properties": { + "customProperties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkloadInstanceModelCustomProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workload instance model custom properties." + }, + "displayName": { + "type": "string", + "description": "Gets or sets the display name." + }, + "masterSiteName": { + "type": "string", + "description": "Gets or Sets the master site name." + }, + "migrateAgentId": { + "type": "string", + "description": "Gets or sets the migrate agent id associated with the workload instance." + }, + "name": { + "type": "string", + "description": "Gets or sets the workload instance name." + }, + "sourceName": { + "type": "string", + "description": "Gets or sets the source name." + }, + "sourcePlatform": { + "type": "string", + "description": "Gets or sets the source platform." + } + }, + "description": "Workload instance model properties." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 41b2eb4197..5a7cdd594d 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -14884,6 +14884,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Migrate.Migrate.json#/resourceDefinitions/modernizeProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Migrate.Migrate.json#/resourceDefinitions/modernizeProjects_migrateAgents" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Migrate.Migrate.json#/resourceDefinitions/modernizeProjects_workloadDeployments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Migrate.Migrate.json#/resourceDefinitions/modernizeProjects_workloadInstances" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.json#/resourceDefinitions/migrateProjects" },