From 70c98c31c13c9e2e4c49d26007d58c6777ecd3a2 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 7 Feb 2023 07:04:39 +0000 Subject: [PATCH] CodeGen from PR 19045 in Azure/azure-rest-api-specs Merge 2f9019c8c74468632143c9dc2e9d43640387468e into 41645a4769694a7d63a2514b45146ec369eeb273 --- .../2018-02-02/Microsoft.Migrate.Migrate.json | 599 -------- .../2019-10-01/Microsoft.Migrate.Migrate.json | 1260 ----------------- .../2020-05-01/Microsoft.Migrate.Migrate.json | 231 --- schemas/common/autogeneratedResources.json | 39 - 4 files changed, 2129 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.Migrate.json delete mode 100644 schemas/2019-10-01/Microsoft.Migrate.Migrate.json delete mode 100644 schemas/2020-05-01/Microsoft.Migrate.Migrate.json diff --git a/schemas/2018-02-02/Microsoft.Migrate.Migrate.json b/schemas/2018-02-02/Microsoft.Migrate.Migrate.json deleted file mode 100644 index ce0cfee1c6..0000000000 --- a/schemas/2018-02-02/Microsoft.Migrate.Migrate.json +++ /dev/null @@ -1,599 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "projects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-02" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a project." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/projects_groups_childResource" - } - ] - } - }, - "tags": { - "type": "object", - "properties": {}, - "description": "Tags provided by Azure Tagging service." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/projects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/projects" - }, - "projects_groups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-02" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a group within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of group resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/projects_groups_assessments_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/projects/groups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/projects/groups" - }, - "projects_groups_assessments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-02" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of an assessment within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AssessmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of an assessment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/projects/groups/assessments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/projects/groups/assessments" - } - }, - "definitions": { - "AssessmentProperties": { - "type": "object", - "properties": { - "azureHybridUseBenefit": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "Yes", - "No" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AHUB discount on windows virtual machines." - }, - "azureLocation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "EastAsia", - "SoutheastAsia", - "AustraliaEast", - "AustraliaSoutheast", - "BrazilSouth", - "CanadaCentral", - "CanadaEast", - "WestEurope", - "NorthEurope", - "CentralIndia", - "SouthIndia", - "WestIndia", - "JapanEast", - "JapanWest", - "KoreaCentral", - "KoreaSouth", - "UkWest", - "UkSouth", - "NorthCentralUs", - "EastUs", - "WestUs2", - "SouthCentralUs", - "CentralUs", - "EastUs2", - "WestUs", - "WestCentralUs", - "GermanyCentral", - "GermanyNortheast", - "ChinaNorth", - "ChinaEast" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API." - }, - "azureOfferCode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "MSAZR0003P", - "MSAZR0044P", - "MSAZR0059P", - "MSAZR0060P", - "MSAZR0062P", - "MSAZR0063P", - "MSAZR0064P", - "MSAZR0029P", - "MSAZR0022P", - "MSAZR0023P", - "MSAZR0148P", - "MSAZR0025P", - "MSAZR0036P", - "MSAZR0120P", - "MSAZR0121P", - "MSAZR0122P", - "MSAZR0123P", - "MSAZR0124P", - "MSAZR0125P", - "MSAZR0126P", - "MSAZR0127P", - "MSAZR0128P", - "MSAZR0129P", - "MSAZR0130P", - "MSAZR0111P", - "MSAZR0144P", - "MSAZR0149P", - "MSMCAZR0044P", - "MSMCAZR0059P", - "MSMCAZR0060P", - "MSMCAZR0063P", - "MSMCAZR0120P", - "MSMCAZR0121P", - "MSMCAZR0125P", - "MSMCAZR0128P", - "MSAZRDE0003P", - "MSAZRDE0044P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offer code according to which cost estimation is done." - }, - "azurePricingTier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard", - "Basic" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Pricing tier for Size evaluation." - }, - "azureStorageRedundancy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "LocallyRedundant", - "ZoneRedundant", - "GeoRedundant", - "ReadAccessGeoRedundant" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Storage Redundancy type offered by Azure." - }, - "currency": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "USD", - "DKK", - "CAD", - "IDR", - "JPY", - "KRW", - "NZD", - "NOK", - "RUB", - "SAR", - "ZAR", - "SEK", - "TRY", - "GBP", - "MXN", - "MYR", - "INR", - "HKD", - "BRL", - "TWD", - "EUR", - "CHF", - "ARS", - "AUD", - "CNY" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Currency to report prices in." - }, - "discountPercentage": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom discount percentage to be applied on final costs. Can be in the range [0, 100]." - }, - "percentile": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Percentile50", - "Percentile90", - "Percentile95", - "Percentile99" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Percentile of performance data used to recommend Azure size." - }, - "scalingFactor": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3." - }, - "sizingCriterion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PerformanceBased", - "AsOnPremises" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Assessment sizing criterion." - }, - "stage": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InProgress", - "UnderReview", - "Approved" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "User configurable setting that describes the status of the assessment." - }, - "timeRange": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Day", - "Week", - "Month" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time range of performance data used to recommend a size." - } - }, - "required": [ - "azureHybridUseBenefit", - "azureLocation", - "azureOfferCode", - "azurePricingTier", - "azureStorageRedundancy", - "currency", - "discountPercentage", - "percentile", - "scalingFactor", - "sizingCriterion", - "stage", - "timeRange" - ], - "description": "Properties of an assessment." - }, - "GroupProperties": { - "type": "object", - "properties": { - "machines": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of machine names that are part of this group." - } - }, - "required": [ - "machines" - ], - "description": "Properties of group resource." - }, - "ProjectProperties": { - "type": "object", - "properties": { - "customerWorkspaceId": { - "type": "string", - "description": "ARM ID of the Service Map workspace created by user." - }, - "customerWorkspaceLocation": { - "type": "string", - "description": "Location of the Service Map workspace created by user." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Deleting", - "Failed", - "Moving", - "Succeeded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the project." - } - }, - "description": "Properties of a project." - }, - "projects_groups_assessments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-02" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of an assessment within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AssessmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of an assessment." - }, - "type": { - "type": "string", - "enum": [ - "assessments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/projects/groups/assessments" - }, - "projects_groups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-02-02" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a group within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of group resource." - }, - "type": { - "type": "string", - "enum": [ - "groups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/projects/groups" - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01/Microsoft.Migrate.Migrate.json b/schemas/2019-10-01/Microsoft.Migrate.Migrate.json deleted file mode 100644 index aafbac4502..0000000000 --- a/schemas/2019-10-01/Microsoft.Migrate.Migrate.json +++ /dev/null @@ -1,1260 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "assessmentProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which project is created." - }, - "name": { - "type": "string", - "description": "Name of the Azure Migrate project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a project." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/assessmentProjects_groups_childResource" - }, - { - "$ref": "#/definitions/assessmentProjects_hypervcollectors_childResource" - }, - { - "$ref": "#/definitions/assessmentProjects_servercollectors_childResource" - }, - { - "$ref": "#/definitions/assessmentProjects_vmwarecollectors_childResource" - }, - { - "$ref": "#/definitions/assessmentProjects_importcollectors_childResource" - }, - { - "$ref": "#/definitions/assessmentprojects_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "type": "object", - "properties": {}, - "description": "Tags provided by Azure Tagging service." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects" - }, - "assessmentProjects_groups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a group within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of group resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/assessmentProjects_groups_assessments_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/groups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/groups" - }, - "assessmentProjects_groups_assessments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of an assessment within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AssessmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of an assessment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/groups/assessments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/groups/assessments" - }, - "assessmentProjects_hypervcollectors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Hyper-V collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/hypervcollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/hypervcollectors" - }, - "assessmentProjects_importcollectors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Import collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ImportCollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/importcollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/importcollectors" - }, - "assessmentprojects_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a private endpoint connection within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentprojects/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections" - }, - "assessmentProjects_servercollectors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Server collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/servercollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/servercollectors" - }, - "assessmentProjects_vmwarecollectors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a VMware collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/assessmentProjects/vmwarecollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/vmwarecollectors" - } - }, - "definitions": { - "assessmentProjects_groups_assessments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of an assessment within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AssessmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of an assessment." - }, - "type": { - "type": "string", - "enum": [ - "assessments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/groups/assessments" - }, - "assessmentProjects_groups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a group within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of group resource." - }, - "type": { - "type": "string", - "enum": [ - "groups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/groups" - }, - "assessmentProjects_hypervcollectors_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Hyper-V collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "hypervcollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/hypervcollectors" - }, - "assessmentProjects_importcollectors_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Import collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ImportCollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "importcollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/importcollectors" - }, - "assessmentprojects_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Unique name of a private endpoint connection within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections" - }, - "assessmentProjects_servercollectors_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a Server collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "servercollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/servercollectors" - }, - "assessmentProjects_vmwarecollectors_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string" - }, - "name": { - "type": "string", - "description": "Unique name of a VMware collector within a project." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "vmwarecollectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/assessmentProjects/vmwarecollectors" - }, - "AssessmentProperties": { - "type": "object", - "properties": { - "azureDiskType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "Standard", - "Premium", - "StandardSSD", - "StandardOrPremium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Storage type selected for this disk." - }, - "azureHybridUseBenefit": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "Yes", - "No" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AHUB discount on windows virtual machines." - }, - "azureLocation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "EastAsia", - "SoutheastAsia", - "AustraliaEast", - "AustraliaSoutheast", - "BrazilSouth", - "CanadaCentral", - "CanadaEast", - "WestEurope", - "NorthEurope", - "CentralIndia", - "SouthIndia", - "WestIndia", - "JapanEast", - "JapanWest", - "KoreaCentral", - "KoreaSouth", - "UkWest", - "UkSouth", - "NorthCentralUs", - "EastUs", - "WestUs2", - "SouthCentralUs", - "CentralUs", - "EastUs2", - "WestUs", - "WestCentralUs", - "GermanyCentral", - "GermanyNortheast", - "ChinaNorth", - "ChinaEast", - "USGovArizona", - "USGovTexas", - "USGovIowa", - "USGovVirginia", - "USDoDCentral", - "USDoDEast" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API." - }, - "azureOfferCode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "MSAZR0003P", - "MSAZR0044P", - "MSAZR0059P", - "MSAZR0060P", - "MSAZR0062P", - "MSAZR0063P", - "MSAZR0064P", - "MSAZR0029P", - "MSAZR0022P", - "MSAZR0023P", - "MSAZR0148P", - "MSAZR0025P", - "MSAZR0036P", - "MSAZR0120P", - "MSAZR0121P", - "MSAZR0122P", - "MSAZR0123P", - "MSAZR0124P", - "MSAZR0125P", - "MSAZR0126P", - "MSAZR0127P", - "MSAZR0128P", - "MSAZR0129P", - "MSAZR0130P", - "MSAZR0111P", - "MSAZR0144P", - "MSAZR0149P", - "MSMCAZR0044P", - "MSMCAZR0059P", - "MSMCAZR0060P", - "MSMCAZR0063P", - "MSMCAZR0120P", - "MSMCAZR0121P", - "MSMCAZR0125P", - "MSMCAZR0128P", - "MSAZRDE0003P", - "MSAZRDE0044P", - "MSAZRUSGOV0003P", - "EA" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Offer code according to which cost estimation is done." - }, - "azurePricingTier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard", - "Basic" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Pricing tier for Size evaluation." - }, - "azureStorageRedundancy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "LocallyRedundant", - "ZoneRedundant", - "GeoRedundant", - "ReadAccessGeoRedundant" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Storage Redundancy type offered by Azure." - }, - "azureVmFamilies": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Unknown", - "Basic_A0_A4", - "Standard_A0_A7", - "Standard_A8_A11", - "Av2_series", - "D_series", - "Dv2_series", - "DS_series", - "DSv2_series", - "F_series", - "Fs_series", - "G_series", - "GS_series", - "H_series", - "Ls_series", - "Dsv3_series", - "Dv3_series", - "Fsv2_series", - "Ev3_series", - "Esv3_series", - "M_series", - "DC_Series" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of azure VM families." - }, - "currency": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "USD", - "DKK", - "CAD", - "IDR", - "JPY", - "KRW", - "NZD", - "NOK", - "RUB", - "SAR", - "ZAR", - "SEK", - "TRY", - "GBP", - "MXN", - "MYR", - "INR", - "HKD", - "BRL", - "TWD", - "EUR", - "CHF", - "ARS", - "AUD", - "CNY" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Currency to report prices in." - }, - "discountPercentage": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom discount percentage to be applied on final costs. Can be in the range [0, 100]." - }, - "percentile": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Percentile50", - "Percentile90", - "Percentile95", - "Percentile99" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Percentile of performance data used to recommend Azure size." - }, - "reservedInstance": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "RI1Year", - "RI3Year" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure reserved instance." - }, - "scalingFactor": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3." - }, - "sizingCriterion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PerformanceBased", - "AsOnPremises" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Assessment sizing criterion." - }, - "stage": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InProgress", - "UnderReview", - "Approved" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "User configurable setting that describes the status of the assessment." - }, - "timeRange": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Day", - "Week", - "Month", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time range of performance data used to recommend a size." - }, - "vmUptime": { - "oneOf": [ - { - "$ref": "#/definitions/VmUptime" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "azureDiskType", - "azureHybridUseBenefit", - "azureLocation", - "azureOfferCode", - "azurePricingTier", - "azureStorageRedundancy", - "azureVmFamilies", - "currency", - "discountPercentage", - "percentile", - "reservedInstance", - "scalingFactor", - "sizingCriterion", - "stage", - "timeRange", - "vmUptime" - ], - "description": "Properties of an assessment." - }, - "CollectorAgentProperties": { - "type": "object", - "properties": { - "spnDetails": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorBodyAgentSpnProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - } - }, - "CollectorBodyAgentSpnProperties": { - "type": "object", - "properties": { - "applicationId": { - "type": "string", - "description": "Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services." - }, - "audience": { - "type": "string", - "description": "Intended audience for the service principal." - }, - "authority": { - "type": "string", - "description": "AAD Authority URL which was used to request the token for the service principal." - }, - "objectId": { - "type": "string", - "description": "Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services." - }, - "tenantId": { - "type": "string", - "description": "Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services." - } - } - }, - "CollectorProperties": { - "type": "object", - "properties": { - "agentProperties": { - "oneOf": [ - { - "$ref": "#/definitions/CollectorAgentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "discoverySiteId": { - "type": "string", - "description": "The ARM id of the discovery service site." - } - } - }, - "GroupProperties": { - "type": "object", - "properties": { - "groupType": { - "type": "string", - "description": "The type of group." - } - }, - "description": "Properties of group resource." - }, - "ImportCollectorProperties": { - "type": "object", - "properties": { - "discoverySiteId": { - "type": "string" - } - } - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of a private endpoint connection." - } - }, - "description": "Private endpoint connection properties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "Actions required on the private endpoint connection." - }, - "description": { - "type": "string", - "description": "Description of the private endpoint connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection status of the private endpoint connection." - } - }, - "description": "State of a private endpoint connection." - }, - "ProjectProperties": { - "type": "object", - "properties": { - "assessmentSolutionId": { - "type": "string", - "description": "Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects." - }, - "customerStorageAccountArmId": { - "type": "string", - "description": "The ARM id of the storage account used for interactions when public access is disabled." - }, - "customerWorkspaceId": { - "type": "string", - "description": "The ARM id of service map workspace created by customer." - }, - "customerWorkspaceLocation": { - "type": "string", - "description": "Location of service map workspace created by customer." - }, - "projectStatus": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Active", - "Inactive" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Assessment project status." - }, - "publicNetworkAccess": { - "type": "string", - "description": "This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method." - } - }, - "description": "Properties of a project." - }, - "VmUptime": { - "type": "object", - "properties": { - "daysPerMonth": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of days in a month for VM uptime." - }, - "hoursPerDay": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of hours per day for VM uptime." - } - } - } - } -} \ No newline at end of file diff --git a/schemas/2020-05-01/Microsoft.Migrate.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.Migrate.json deleted file mode 100644 index 37fd98ce6c..0000000000 --- a/schemas/2020-05-01/Microsoft.Migrate.Migrate.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.Migrate.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Migrate", - "description": "Microsoft Migrate Resource Types", - "resourceDefinitions": { - "migrateProjects": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which project is created." - }, - "name": { - "type": "string", - "description": "Migrate project name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a migrate project." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "Gets the tag for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Private endpoint connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionStateRequestBodyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Connection state request." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - } - }, - "definitions": { - "ConnectionStateRequestBodyProperties": { - "type": "object", - "properties": { - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection state." - } - }, - "description": "Properties of Connection state request." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "NotSpecified", - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the state of public network access." - }, - "serviceEndpoint": { - "type": "string", - "description": "Service endpoint." - }, - "utilityStorageAccountId": { - "type": "string", - "description": "Utility storage account id." - } - }, - "description": "Properties of a migrate project." - }, - "migrateProjects_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "Gets the tag for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Private endpoint connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionStateRequestBodyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Connection state request." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "Action required." - }, - "description": { - "type": "string", - "description": "Description of the object." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private link connection state." - } - }, - "description": "Private endpoint connection state." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 41b2eb4197..c70fdf363d 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -14845,45 +14845,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.Migrate.json#/resourceDefinitions/projects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.Migrate.json#/resourceDefinitions/projects_groups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.Migrate.json#/resourceDefinitions/projects_groups_assessments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_groups_assessments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_hypervcollectors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_importcollectors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentprojects_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_servercollectors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.json#/resourceDefinitions/migrateProjects" },