diff --git a/specification/migrate/Waves.Management/ApiVersions.tsp b/specification/migrate/Waves.Management/ApiVersions.tsp new file mode 100644 index 000000000000..4e323bd1e746 --- /dev/null +++ b/specification/migrate/Waves.Management/ApiVersions.tsp @@ -0,0 +1,13 @@ +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Versioning; +using Azure.ResourceManager; + +namespace Microsoft.Migrate; + +@doc("Common API Versions for Migrate Project Tracked Resource.") +enum ApiVersions { + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6) + @doc("2025-03-30-preview API Version.") + v2025_03_30_preview: "2025-03-30-preview", +} diff --git a/specification/migrate/Waves.Management/Common/ArmModels/AzureResourceProperties.tsp b/specification/migrate/Waves.Management/Common/ArmModels/AzureResourceProperties.tsp new file mode 100644 index 000000000000..9692bc77a4fd --- /dev/null +++ b/specification/migrate/Waves.Management/Common/ArmModels/AzureResourceProperties.tsp @@ -0,0 +1,10 @@ +import "../Enums/Enums.tsp"; + +namespace Microsoft.Migrate; + +@doc("Common properties for all azure tracked and proxy resources.") +model AzureResourceProperties { + @doc("The status of the last operation.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} diff --git a/specification/migrate/Waves.Management/Common/ArmModels/MigrateProject.tsp b/specification/migrate/Waves.Management/Common/ArmModels/MigrateProject.tsp new file mode 100644 index 000000000000..b69ed7648122 --- /dev/null +++ b/specification/migrate/Waves.Management/Common/ArmModels/MigrateProject.tsp @@ -0,0 +1,181 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; + +namespace Microsoft.Migrate; + +@doc("A Migrate project Resource.") +model MigrateProject is TrackedResource { + @doc("Migrate Project Name") + @segment("migrateProjects") + @key("projectName") + @path + @pattern("^[^<>&:\\?/#]{1,260}$") + name: string; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "Migrate Project is already GA and does not have provisioning state" +@doc("Properties of a migrate project.") +model MigrateProjectProperties { + @doc("Register tools inside project.") + @visibility(Lifecycle.Read) + registeredTools?: Items[]; + + @doc("Service endpoint.") + serviceEndpoint?: string; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Migrate Project is already GA and has these properties as record" + @doc("Project summary.") + @visibility(Lifecycle.Read) + summary?: Record; + + @doc("Last summary refresh time.") + @visibility(Lifecycle.Read) + lastSummaryRefreshedTime?: utcDateTime; + + @doc("Refresh summary state.") + @visibility(Lifecycle.Read) + refreshSummaryState?: RefreshSummaryState; + + @doc("Utility storage account id.") + utilityStorageAccountId?: string; + + @doc("Gets or sets the state of public network access.") + publicNetworkAccess?: PublicNetworkAccess; + + @doc("Gets the private endpoint connections.") + @visibility(Lifecycle.Read) + privateEndpointConnections?: PrivateEndpointConnection[]; +} + +@doc("Project summary.") +model ProjectSummary { + @doc("Instance type.") + @visibility(Lifecycle.Read) + instanceType?: string; + + @doc("Refresh summary state.") + refreshSummaryState?: RefreshSummaryState; + + @doc("Last summary refresh time.") + lastSummaryRefreshedTime?: utcDateTime; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Migrate Project is already GA and has these properties as record" + @doc("Extended summary.") + extendedSummary?: Record; +} + +@doc("Refresh summary state.") +union RefreshSummaryState { + string, + + @doc("Started State") + Started: "Started", + + @doc("InProgress State") + InProgress: "InProgress", + + @doc("Completed State") + Completed: "Completed", + + @doc("Failed State") + Failed: "Failed", +} + +@doc("Items Enum") +union Items { + string, + + @doc("Server Discovery Item") + ServerDiscovery: "ServerDiscovery", + + @doc("Server Assessment Item") + ServerAssessment: "ServerAssessment", + + @doc("Server Migration Item") + ServerMigration: "ServerMigration", + + @doc("Cloudamize Item") + Cloudamize: "Cloudamize", + + @doc("Turbonomic Item") + Turbonomic: "Turbonomic", + + @doc("Zerto Item") + Zerto: "Zerto", + + @doc("CorentTech Item") + CorentTech: "CorentTech", + + @doc("ServerAssessmentV1") + ServerAssessmentV1: "ServerAssessmentV1", + + @doc("ServerMigration_Replication") + ServerMigration_Replication: "ServerMigration_Replication", + + @doc("Carbonite Item") + Carbonite: "Carbonite", + + @doc("DataMigrationAssistant Item") + DataMigrationAssistant: "DataMigrationAssistant", + + @doc("DatabaseMigrationService Item") + DatabaseMigrationService: "DatabaseMigrationService", + + @doc("Device42 Item") + Device42: "Device42", + + @doc("JetStream Item") + JetStream: "JetStream", + + @doc("RackWare Item") + RackWare: "RackWare", + + @doc("UnifyCloud Item") + UnifyCloud: "UnifyCloud", + + @doc("Flexera Item") + Flexera: "Flexera", + + @doc("ServerDiscovery_Import Item.") + ServerDiscovery_Import: "ServerDiscovery_Import", + + @doc("Lakeside Item") + Lakeside: "Lakeside", + + @doc("AppServiceMigrationAssistant Item") + AppServiceMigrationAssistant: "AppServiceMigrationAssistant", + + @doc("Movere Item") + Movere: "Movere", + + @doc("CloudSphere Item") + CloudSphere: "CloudSphere", + + @doc("Modernization Item") + Modernization: "Modernization", + + @doc("ServerMigration_DataReplication Item") + ServerMigration_DataReplication: "ServerMigration_DataReplication", + + @doc("Unknown Item") + Unknown: "Unknown", +} + +@doc("Gets or sets the state of public network access.") +union PublicNetworkAccess { + string, + + @doc("NotSpecified Network Access") + NotSpecified: "NotSpecified", + + @doc("Enabled Network Access") + Enabled: "Enabled", + + @doc("Disabled Network Access") + Disabled: "Disabled", +} diff --git a/specification/migrate/Waves.Management/Common/Enums/Enums.tsp b/specification/migrate/Waves.Management/Common/Enums/Enums.tsp new file mode 100644 index 000000000000..098776163a5d --- /dev/null +++ b/specification/migrate/Waves.Management/Common/Enums/Enums.tsp @@ -0,0 +1,30 @@ +using Azure.ResourceManager; +using TypeSpec.Versioning; + +namespace Microsoft.Migrate; + +@doc("The status of the current operation.") +union ProvisioningState { + @doc("Resource provisioning Successful.") + Succeeded: "Succeeded", + + @doc("Resource provisioning Failed.") + Failed: "Failed", + + @doc("Resource provisioning Canceled.") + Canceled: "Canceled", + + @doc("Resource is being Provisioned.") + Provisioning: "Provisioning", + + @doc("Resource is being Updated.") + Updating: "Updating", + + @doc("Resource is being Deleted.") + Deleting: "Deleting", + + @doc("Resource is being Accepted.") + Accepted: "Accepted", + + string, +} diff --git a/specification/migrate/Waves.Management/WebModels/Enums/Enums.tsp b/specification/migrate/Waves.Management/WebModels/Enums/Enums.tsp new file mode 100644 index 000000000000..57250fef3573 --- /dev/null +++ b/specification/migrate/Waves.Management/WebModels/Enums/Enums.tsp @@ -0,0 +1,64 @@ +using Azure.ResourceManager; + +@doc("Strategy for migration to Azure") +union Strategy { + @doc("No specific strategy defined.") + None: "None", + + @doc("Rehost: Also known as 'lift and shift', this strategy involves moving existing applications to Azure without modification.") + Rehost: "Rehost", + + @doc("Refactor: Often referred to as 'lift, tinker, and shift', this involves making minor modifications to the application to take advantage of Azure's cloud capabilities.") + Refactor: "Refactor", + + @doc("Rearchitect: This approach involves significant changes to the application's architecture to fully utilize cloud-native features and scalability of Azure.") + Rearchitect: "Rearchitect", + + @doc("Rebuild: Involves completely redesigning and rewriting the application from scratch to be cloud-native, leveraging Azure's advanced services.") + Rebuild: "Rebuild", + + @doc("Replace: This strategy involves discarding the existing application and replacing it with a new Azure solution or a SaaS platform.") + Replace: "Replace", + + @doc("Retire: This strategy involves discarding the existing application and replacing it with a new Azure solution or a SaaS platform.") + Retire: "Retire", + + @doc("Retain: Keeping certain applications in the current environment when they are not suitable for cloud migration or when the timing is not right.") + Retain: "Retain", + + @doc("Replatform: This strategy involves making more substantial changes to the application.") + Replatform: "Replatform", + + string, +} + +@doc("TaskScope can be either 'Wave' or 'MigrationEntity' or 'MigrationEntityGroup'") +union TaskScope { + @doc("Wave task - typically related to a specific wave of migration") + Wave: "Wave", + + @doc("Migration Entity task - typically related to a specific migration entity") + MigrationEntity: "MigrationEntity", + + @doc("Migration Entity Group task - typically related to a specific migration entity group") + MigrationEntityGroup: "MigrationEntityGroup", + + string, +} + +@doc("TaskType can be either 'User' or 'System'") +union TaskType { + @doc("UserDefined task - typically initiated by a user") + UserDefined: "UserDefined", + + @doc("SystemDefined task - typically initiated by the system") + SystemDefined: "SystemDefined", + + string, +} + +@doc("Migration Specific Properties Instance Types.") +union MigrationSpecificPropertiesInstanceType { + ServerMigration: "ServerMigration", + string, +} diff --git a/specification/migrate/Waves.Management/WebModels/MigrationEntity/MigrationEntity.tsp b/specification/migrate/Waves.Management/WebModels/MigrationEntity/MigrationEntity.tsp new file mode 100644 index 000000000000..d44b6a20bfe8 --- /dev/null +++ b/specification/migrate/Waves.Management/WebModels/MigrationEntity/MigrationEntity.tsp @@ -0,0 +1,129 @@ +import "../../Common/ArmModels/AzureResourceProperties.tsp"; +import "../Enums/Enums.tsp"; +import "../../Common/ArmModels/MigrateProject.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; +using OpenAPI; + +namespace Microsoft.Migrate; + +@added(ApiVersions.v2025_03_30_preview) +@doc("Migration Entity resource.") +@parentResource(MigrateProject) +model MigrationEntity is ProxyResource { + @doc("Migration Entity ARM name") + @key("migrationEntityName") + @segment("migrationEntities") + @path + // "^[^<>&:\\?\/#\x00-\x1F\x7F]{1,260}$" + @pattern("^[^<>&:\\?/#]{1,260}$") + name: string; + + ...EntityTagProperty; +} + +@doc("Migration Entity Properties class.") +model MigrationEntityProperties is AzureResourceProperties { + @doc("ARM Resource Identifier for the partner resource.") + partnerResourceArmId?: string; + + @doc("target Azure Resource ARM Id.") + targetAzureResourceArmId?: string; + + @doc("inventory resource id ") + associatedInventoryResourceId: string; + + @doc("Display Name of the Workload.") + inventoryDisplayName: string; + + @doc("Associated Assessment Id") + associatedAssessmentId?: armResourceIdentifier<[ + { + type: "Microsoft.Migrate/assessmentProjects/assessments"; + } + ]>; + + @doc("associated Wave Id") + associatedWaveId?: armResourceIdentifier<[ + { + type: "Microsoft.Migrate/migrateProjects/waves"; + } + ]>; + + @doc("associated Migration Entity Group Id") + associatedMigrationEntityGroupIds?: Array>; + + @doc("Execution start date for Migration Entity.") + @visibility(Lifecycle.Read) + executionStartDate?: utcDateTime; + + @doc("Target of the Migration Entity.") + target?: string; + + @doc("Strategy of Migration Entity.") + @visibility(Lifecycle.Read) + migrationStrategy?: Strategy; + + @doc("Execution Stage of Migration Entity.") + @visibility(Lifecycle.Read) + executionStage?: string; + + @doc("Execution Status of Migration Entity.") + @visibility(Lifecycle.Read) + executionStatus?: string; + + @doc("Execution Readiness of Migration Entity.") + @visibility(Lifecycle.Read) + executionReadiness?: string; + + @doc("Migration specific properties for the entity.") + migrationSpecificProperties?: MigrationSpecificPropertiesBase; + + @doc("Migration Tool of the Migration Entity.") + migrationTool?: string; + + @doc("Migration path") + migrationPath?: string; + + @doc("Assessed Entity ARM Id") + assessedEntityArmId?: string; +} + +@doc("The base Migration Specific Properties model.") +@discriminator("instanceType") +model MigrationSpecificPropertiesBase { + @doc("Discriminator for migration specific properties.") + instanceType: MigrationSpecificPropertiesInstanceType; +} + +@doc("Represents a Server Migration Specific properties base model.") +model ServerMigrationSpecificProperties + extends MigrationSpecificPropertiesBase { + @doc("Discriminator for migration specific properties.") + instanceType: MigrationSpecificPropertiesInstanceType.ServerMigration; + + drApplianceInventoryId?: armResourceIdentifier<[ + { + type: "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems"; + }, + { + type: "Microsoft.OffAzure/VMwareSites/machines"; + }, + { + type: "Microsoft.OffAzure/ServerSites/machines"; + } + ]>; + currentJobId?: armResourceIdentifier<[ + { + type: "Microsoft.RecoveryServices/vaults/replicationJobs"; + } + ]>; +} diff --git a/specification/migrate/Waves.Management/WebModels/MigrationEntityGroup/MigrationEntityGroups.tsp b/specification/migrate/Waves.Management/WebModels/MigrationEntityGroup/MigrationEntityGroups.tsp new file mode 100644 index 000000000000..cbb07d445581 --- /dev/null +++ b/specification/migrate/Waves.Management/WebModels/MigrationEntityGroup/MigrationEntityGroups.tsp @@ -0,0 +1,61 @@ +import "../../Common/ArmModels/AzureResourceProperties.tsp"; +import "../Enums/Enums.tsp"; +import "../../Common/ArmModels/MigrateProject.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; +using OpenAPI; + +namespace Microsoft.Migrate; + +@added(ApiVersions.v2025_03_30_preview) +@doc("Migration Entity Group resource.") +@parentResource(MigrateProject) +model MigrationEntityGroup is ProxyResource { + @doc("Migration Entity Group ARM name") + @key("migrationEntityGroupName") + @segment("migrationEntityGroups") + @path + // "^[^<>&:\\?\/#\x00-\x1F\x7F]{1,260}$" + @pattern("^[^<>&:\\?/#]{1,260}$") + name: string; + + ...EntityTagProperty; +} + +@doc("Migration Entity Group Properties class.") +model MigrationEntityGroupProperties is AzureResourceProperties { + @doc("Application id ") + applicationId: string; + + @doc("Display Name of the Workload.") + applicationDisplayName: string; + + @doc("Associated Assessment Id") + associatedAssessmentId?: armResourceIdentifier<[ + { + type: "Microsoft.Migrate/assessmentProjects/assessments"; + } + ]>; + + @doc("associated Wave Id") + associatedWaveIds?: Array>; + + @doc("Migration Entity Group Status") + @visibility(Lifecycle.Read) + executionStatus?: string; + + @doc("Execution Start Date") + @visibility(Lifecycle.Read) + executionStartDate?: utcDateTime; + + @doc("Migration path") + migrationPath?: string; +} diff --git a/specification/migrate/Waves.Management/WebModels/Tasks/TaskSummary.tsp b/specification/migrate/Waves.Management/WebModels/Tasks/TaskSummary.tsp new file mode 100644 index 000000000000..556fdfba5376 --- /dev/null +++ b/specification/migrate/Waves.Management/WebModels/Tasks/TaskSummary.tsp @@ -0,0 +1,73 @@ +import "../../Common/ArmModels/AzureResourceProperties.tsp"; +import "../Enums/Enums.tsp"; +import "../../Common/ArmModels/MigrateProject.tsp"; +import "./Tasks.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.Migrate; + +@added(ApiVersions.v2025_03_30_preview) +@doc("Task Summary Request model.") +model TaskSummaryRequest { + @doc("Task Scope ARM Id") + scopeId: armResourceIdentifier<[ + { + type: "Microsoft.Migrate/MigrateProjects/waves"; + }, + { + type: "Microsoft.Migrate/MigrationProjects/migrationEntityGroups"; + }, + { + type: "Microsoft.Migrate/MigrateProjects/migrationEntities"; + } + ]>; +} + +@added(ApiVersions.v2025_03_30_preview) +@doc("Task Summary Response model.") +model TaskSummaryResponse { + @doc("List of Task Summary Items") + @OpenAPI.extension("x-ms-identifiers", #[]) + items: Array; +} + +@added(ApiVersions.v2025_03_30_preview) +@doc("Task Summary Item model.") +model TaskSummaryItem { + @doc("Task Stage") + stage: string; + + @doc("Aggregated status of tasks in this stage.") + aggregatedStatus: string; + + @doc("Counts of tasks in this stage by status.") + statusCounts: TaskStatusCounts; + + @doc("List of tasks in this stage.") + @OpenAPI.extension("x-ms-identifiers", #[]) + tasks: Array; +} + +@added(ApiVersions.v2025_03_30_preview) +@doc("Task Status Counts model.") +model TaskStatusCounts { + @doc("Status counts dictionary mapping TaskStatus to the count of tasks with that status.") + @OpenAPI.extension("x-ms-identifiers", #["status"]) + statusCounts: TaskStatusCountMap[]; +} + +@added(ApiVersions.v2025_03_30_preview) +@doc("Task status count mapping.") +model TaskStatusCountMap { + @doc("The task status.") + status: string; + + @doc("The count of tasks with this status.") + count: int32; +} diff --git a/specification/migrate/Waves.Management/WebModels/Tasks/Tasks.tsp b/specification/migrate/Waves.Management/WebModels/Tasks/Tasks.tsp new file mode 100644 index 000000000000..33c975c0d173 --- /dev/null +++ b/specification/migrate/Waves.Management/WebModels/Tasks/Tasks.tsp @@ -0,0 +1,69 @@ +import "../../Common/ArmModels/AzureResourceProperties.tsp"; +import "../Enums/Enums.tsp"; +import "../../Common/ArmModels/MigrateProject.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +namespace Microsoft.Migrate; + +@added(ApiVersions.v2025_03_30_preview) +@doc("Tasks resource.") +@parentResource(MigrateProject) +model Task is ProxyResource { + @doc("Task ARM name") + @key("taskName") + @segment("tasks") + @path + // "^[^<>&:\\?\/#\x00-\x1F\x7F]{1,260}$" + @pattern("^[^<>&:\\?/#]{1,260}$") + name: string; + + ...EntityTagProperty; +} + +@doc("Task Properties class.") +model TaskProperties is AzureResourceProperties { + @doc("associated Wave Id") + scopeId: armResourceIdentifier<[ + { + type: "Microsoft.Migrate/migrateProjects/waves"; + }, + { + type: "Microsoft.Migrate/migrateProjects/migrationEntities"; + }, + { + type: "Microsoft.Migrate/migrateProjects/migrationEntityGroups"; + } + ]>; + + @doc("Task Stage") + stage?: string; + + @doc("Task Type") + @visibility(Lifecycle.Read) + taskType: TaskType; + + @doc("Task Dislay Name ") + displayName: string; + + @doc("Indicates whether the task is editable.") + @visibility(Lifecycle.Read) + isEditable: boolean; + + @doc("Task Status") + status: string; + + @doc("Task Scope") + scope: TaskScope; + + @doc("Task Description") + description?: string; + + @doc("Task completion Date") + @visibility(Lifecycle.Read) + completionDate?: utcDateTime; +} diff --git a/specification/migrate/Waves.Management/WebModels/Waves/MigrationWaves.tsp b/specification/migrate/Waves.Management/WebModels/Waves/MigrationWaves.tsp new file mode 100644 index 000000000000..240335a49460 --- /dev/null +++ b/specification/migrate/Waves.Management/WebModels/Waves/MigrationWaves.tsp @@ -0,0 +1,62 @@ +import "../../Common/ArmModels/AzureResourceProperties.tsp"; +import "../Enums/Enums.tsp"; +import "../../Common/ArmModels/MigrateProject.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +namespace Microsoft.Migrate; + +@added(ApiVersions.v2025_03_30_preview) +@doc("Migration Wave resource.") +@parentResource(MigrateProject) +model Wave is ProxyResource { + @doc("Migration Wave Resource") + @key("waveName") + @segment("waves") + @path + // "^[^<>&:\\?\/#\x00-\x1F\x7F]{1,260}$" + @pattern("^[^<>&:\\?/#]{1,260}$") + name: string; + + ...EntityTagProperty; +} + +@doc("Migration Wave Properties class.") +model WaveProperties is AzureResourceProperties { + @doc("Description of the wave.") + description?: string; + + @doc("Display Name of the wave.") + displayName: string; + + @doc("ARG query and other details to create workloads within a wave") + arg: Arg; + + @doc("The status of the wave.") + @visibility(Lifecycle.Read) + status?: string; + + @doc("Planned start date of the wave.") + plannedStartDate: utcDateTime; + + @doc("Planned completion date of the wave.") + plannedCompletionDate?: utcDateTime; + + @doc("Actual start date of the wave.") + @visibility(Lifecycle.Read) + actualStartDate?: utcDateTime; + + @doc("The current stage of the wave.") + @visibility(Lifecycle.Read) + stage?: string; +} + +@doc("ARG query and other details to create workloads within a wave.") +model Arg { + @doc("The query to create workloads within the wave.") + query: string; +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_Create_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..981d654f3474 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_Create_MaximumSet_Gen.json @@ -0,0 +1,117 @@ +{ + "title": "MigrationEntities_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntities_Create", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityName": "myMigrationEntityName", + "resource": { + "properties": { + "partnerResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.RecoveryServices/vaults/MyRecoveryVault/replicationFabrics/HyperVSite/replicationProtectionContainers/HyperVContainer/replicationProtectedItems/MyVM", + "targetAzureResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "associatedInventoryResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.OffAzure/VMwareSites/myVMwareSite/vmwareMachines/myDiscoveredVM", + "inventoryDisplayName": "ywdewqxixfxzgzkkv", + "target": "AzureVM", + "migrationStrategy": "Rehost", + "migrationSpecificProperties": { + "instanceType": "MigrationSpecificPropertiesBase" + }, + "migrationTool": "Server Migration Agentless", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "associatedWaveId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "associatedMigrationEntityGroupIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMygrationEntityGroup" + ], + "migrationPath": "PaaSPreferred", + "assessedEntityArmId": "dihnjnc" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "partnerResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.RecoveryServices/vaults/MyRecoveryVault/replicationFabrics/HyperVSite/replicationProtectionContainers/HyperVContainer/replicationProtectedItems/MyVM", + "targetAzureResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "associatedInventoryResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.OffAzure/VMwareSites/myVMwareSite/vmwareMachines/myDiscoveredVM", + "inventoryDisplayName": "ywdewqxixfxzgzkkv", + "target": "AzureVM", + "migrationStrategy": "Rehost", + "executionReadiness": "NotAvailable", + "migrationSpecificProperties": { + "instanceType": "MigrationSpecificPropertiesBase" + }, + "migrationTool": "Server Migration Agentless", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "associatedWaveId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "associatedMigrationEntityGroupIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMygrationEntityGroup" + ], + "migrationPath": "PaaSPreferred", + "assessedEntityArmId": "dihnjnc", + "provisioningState": "Succeeded", + "executionStartDate": "2025-09-15T12:28:36.729Z", + "executionStage": "Preparation", + "executionStatus": "NotStarted" + }, + "eTag": "obuzvbpvtdmykxfhyn", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntities/myMygrationEntity", + "name": "txhtkdqewu", + "type": "dlgonfzavcmahobqxrswpu", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "partnerResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.RecoveryServices/vaults/MyRecoveryVault/replicationFabrics/HyperVSite/replicationProtectionContainers/HyperVContainer/replicationProtectedItems/MyVM", + "targetAzureResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "associatedInventoryResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.OffAzure/VMwareSites/myVMwareSite/vmwareMachines/myDiscoveredVM", + "inventoryDisplayName": "ywdewqxixfxzgzkkv", + "target": "AzureVM", + "migrationStrategy": "Rehost", + "executionReadiness": "NotAvailable", + "migrationSpecificProperties": { + "instanceType": "MigrationSpecificPropertiesBase" + }, + "migrationTool": "Server Migration Agentless", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "associatedWaveId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "associatedMigrationEntityGroupIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMygrationEntityGroup" + ], + "migrationPath": "PaaSPreferred", + "assessedEntityArmId": "dihnjnc", + "provisioningState": "Succeeded", + "executionStartDate": "2025-09-15T12:28:36.729Z", + "executionStage": "Preparation", + "executionStatus": "NotStarted" + }, + "eTag": "obuzvbpvtdmykxfhyn", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntities/myMygrationEntity", + "name": "txhtkdqewu", + "type": "dlgonfzavcmahobqxrswpu", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_Delete_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..5be827bdf308 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "MigrationEntities_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntities_Delete", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityName": "myMigrationEntityName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_Get_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..95e5ae0ef61b --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_Get_MaximumSet_Gen.json @@ -0,0 +1,53 @@ +{ + "title": "MigrationEntities_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntities_Get", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityName": "myMigrationEntityName" + }, + "responses": { + "200": { + "body": { + "properties": { + "partnerResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.RecoveryServices/vaults/MyRecoveryVault/replicationFabrics/HyperVSite/replicationProtectionContainers/HyperVContainer/replicationProtectedItems/MyVM", + "targetAzureResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "associatedInventoryResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.OffAzure/VMwareSites/myVMwareSite/vmwareMachines/myDiscoveredVM", + "inventoryDisplayName": "ywdewqxixfxzgzkkv", + "target": "AzureVM", + "migrationStrategy": "Rehost", + "executionReadiness": "NotAvailable", + "migrationSpecificProperties": { + "instanceType": "MigrationSpecificPropertiesBase" + }, + "migrationTool": "Server Migration Agentless", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "associatedWaveId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "associatedMigrationEntityGroupIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMygrationEntityGroup" + ], + "migrationPath": "PaaSPreferred", + "assessedEntityArmId": "dihnjnc", + "provisioningState": "Succeeded", + "executionStartDate": "2025-09-15T12:28:36.729Z", + "executionStage": "Preparation", + "executionStatus": "NotStarted" + }, + "eTag": "obuzvbpvtdmykxfhyn", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntities/myMygrationEntity", + "name": "txhtkdqewu", + "type": "dlgonfzavcmahobqxrswpu", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_ListByParent_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_ListByParent_MaximumSet_Gen.json new file mode 100644 index 000000000000..f1268a9bffe9 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntities_ListByParent_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "title": "MigrationEntities_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntities_ListByParent", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "partnerResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.RecoveryServices/vaults/MyRecoveryVault/replicationFabrics/HyperVSite/replicationProtectionContainers/HyperVContainer/replicationProtectedItems/MyVM", + "targetAzureResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "associatedInventoryResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.OffAzure/VMwareSites/myVMwareSite/vmwareMachines/myDiscoveredVM", + "inventoryDisplayName": "ywdewqxixfxzgzkkv", + "target": "AzureVM", + "migrationStrategy": "Rehost", + "executionStage": "Preparation", + "executionStatus": "NotStarted", + "executionReadiness": "NotAvailable", + "migrationSpecificProperties": { + "instanceType": "MigrationSpecificPropertiesBase" + }, + "migrationTool": "Server Migration Agentless", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "associatedWaveId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "associatedMigrationEntityGroupIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMigrationEntityGroups" + ], + "executionStartDate": "2025-09-15T12:28:36.729Z", + "migrationPath": "PaaSPreferred", + "assessedEntityArmId": "nzelvzhtkqgijjenvgeclnvelcbcjz" + }, + "eTag": "obuzvbpvtdmykxfhyn", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntities/myMygrationEntity", + "name": "txhtkdqewu", + "type": "dlgonfzavcmahobqxrswpu", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + ], + "nextLink": "https://microsoft.com/aacbr" + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_Create_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..32ef153f398d --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_Create_MaximumSet_Gen.json @@ -0,0 +1,83 @@ +{ + "title": "MigrationEntityGroups_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntityGroups_Create", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityGroupName": "myMigrationEntityGroupName", + "resource": { + "properties": { + "applicationId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.ApplicationMigration/discoveryHubs/MyDiscoveryHub/applications/MyAppe", + "applicationDisplayName": "ricbxbn", + "associatedWaveIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + ], + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "migrationPath": "PaaSPreferred" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "applicationId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.ApplicationMigration/discoveryHubs/MyDiscoveryHub/applications/MyAppe", + "applicationDisplayName": "ricbxbn", + "associatedWaveIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + ], + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "migrationPath": "PaaSPreferred", + "provisioningState": "Succeeded", + "executionStatus": "NotStarted", + "executionStartDate": "2025-10-07T05:56:47.736Z" + }, + "eTag": "ghl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMigrationEntityGroup", + "name": "kw", + "type": "eoojxsfngyaptqvlmsmjgcufqbel", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "applicationId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.ApplicationMigration/discoveryHubs/MyDiscoveryHub/applications/MyAppe", + "applicationDisplayName": "ricbxbn", + "associatedWaveIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + ], + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "migrationPath": "PaaSPreferred", + "provisioningState": "Succeeded", + "executionStatus": "NotStarted", + "executionStartDate": "2025-10-07T05:56:47.736Z" + }, + "eTag": "ghl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMigrationEntityGroup", + "name": "kw", + "type": "eoojxsfngyaptqvlmsmjgcufqbel", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_Delete_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..4b84aa582d1f --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "MigrationEntityGroups_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntityGroups_Delete", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityGroupName": "myMigrationEntityGroupName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_Get_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..441b84f9b2f8 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_Get_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "MigrationEntityGroups_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntityGroups_Get", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityGroupName": "myMigrationEntityGroupName" + }, + "responses": { + "200": { + "body": { + "properties": { + "applicationId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.ApplicationMigration/discoveryHubs/MyDiscoveryHub/applications/MyAppe", + "applicationDisplayName": "ricbxbn", + "associatedWaveIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + ], + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "migrationPath": "PaaSPreferred", + "provisioningState": "Succeeded", + "executionStatus": "NotStarted", + "executionStartDate": "2025-10-07T05:56:47.736Z" + }, + "eTag": "ghl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMigrationEntityGroup", + "name": "kw", + "type": "eoojxsfngyaptqvlmsmjgcufqbel", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_ListByParent_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_ListByParent_MaximumSet_Gen.json new file mode 100644 index 000000000000..2d31f0c22762 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/MigrationEntityGroups_ListByParent_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "MigrationEntityGroups_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntityGroups_ListByParent", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "applicationId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.ApplicationMigration/discoveryHubs/MyDiscoveryHub/applications/MyAppe", + "applicationDisplayName": "ricbxbn", + "associatedWaveIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + ], + "executionStatus": "NotStarted", + "executionStartDate": "2025-10-07T05:56:47.736Z", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "migrationPath": "PaaSPreferred" + }, + "eTag": "ghl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMigrationEntityGroup", + "name": "kw", + "type": "eoojxsfngyaptqvlmsmjgcufqbel", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Operations_List_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..9e01f9e47990 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-03-30-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rlezeskov", + "isDataAction": true, + "display": { + "provider": "qdeardpcthwxjqcuihuo", + "resource": "hefqtoglbfaywueat", + "operation": "scaljshazk", + "description": "ohqulwkjsvztlffsszaonlcbhoap" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Operations_List_MinimumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..c7c0e650fd21 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-03-30-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_Create_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..3c8c4222000e --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_Create_MaximumSet_Gen.json @@ -0,0 +1,83 @@ +{ + "title": "Tasks_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Tasks_Create", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "taskName": "myTaskName", + "resource": { + "properties": { + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "status": "Pending", + "scope": "Wave", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "displayName": "hhbrpibobilcoypvyiofvr", + "description": "lzhl" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "status": "Pending", + "scope": "Wave", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "displayName": "hhbrpibobilcoypvyiofvr", + "provisioningState": "Succeeded", + "isEditable": true, + "description": "lzhl", + "completionDate": "2025-09-15T12:28:36.735Z" + }, + "eTag": "qwvistijljbsmdmjwiouvxp", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/tasks/myTask", + "name": "ejdnhrqdoevhryqij", + "type": "roa", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "status": "Pending", + "scope": "Wave", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "displayName": "hhbrpibobilcoypvyiofvr", + "provisioningState": "Succeeded", + "isEditable": true, + "description": "lzhl", + "completionDate": "2025-09-15T12:28:36.735Z" + }, + "eTag": "qwvistijljbsmdmjwiouvxp", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/tasks/myTask", + "name": "ejdnhrqdoevhryqij", + "type": "roa", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_Delete_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..b1d75c10bd87 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Tasks_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Tasks_Delete", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "taskName": "myTaskName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_GetSummary_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_GetSummary_MaximumSet_Gen.json new file mode 100644 index 000000000000..079fa8ca1d2c --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_GetSummary_MaximumSet_Gen.json @@ -0,0 +1,61 @@ +{ + "title": "Tasks_GetSummary_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Tasks_GetSummary", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "body": { + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + } + }, + "responses": { + "200": { + "body": { + "items": [ + { + "stage": "qzhwejsmvecptmvzlbtlne", + "aggregatedStatus": "Pending", + "statusCounts": { + "statusCounts": [ + { + "status": "Pending", + "count": 2 + } + ] + }, + "tasks": [ + { + "properties": { + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "status": "Pending", + "scope": "Wave", + "provisioningState": "Succeeded", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "displayName": "hhbrpibobilcoypvyiofvr", + "isEditable": true, + "completionDate": "2025-09-15T12:28:36.735Z", + "description": "rfmyjnrmujpagajhqds" + }, + "eTag": "qwvistijljbsmdmjwiouvxp", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/tasks/myTask", + "name": "ejdnhrqdoevhryqij", + "type": "roa", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + ] + } + ] + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_Get_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..42f550d78098 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_Get_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "Tasks_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Tasks_Get", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "taskName": "myTaskName" + }, + "responses": { + "200": { + "body": { + "properties": { + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "status": "Pending", + "scope": "Wave", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "displayName": "hhbrpibobilcoypvyiofvr", + "provisioningState": "Succeeded", + "isEditable": true, + "description": "lzhl", + "completionDate": "2025-09-15T12:28:36.735Z" + }, + "eTag": "qwvistijljbsmdmjwiouvxp", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/tasks/myTask", + "name": "ejdnhrqdoevhryqij", + "type": "roa", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_ListByParent_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_ListByParent_MaximumSet_Gen.json new file mode 100644 index 000000000000..a31b81de0beb --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Tasks_ListByParent_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "Tasks_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Tasks_ListByParent", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "isEditable": true, + "status": "Pending", + "scope": "Wave", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/Waves/myWave", + "displayName": "ldmgemoa", + "completionDate": "2025-09-15T12:28:36.734Z", + "description": "xykmtdhbimovojas" + }, + "eTag": "qwvistijljbsmdmjwiouvxp", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/tasks/myTask", + "name": "ejdnhrqdoevhryqij", + "type": "roa", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Create_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..35694d01cff7 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Create_MaximumSet_Gen.json @@ -0,0 +1,85 @@ +{ + "title": "Waves_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Waves_Create", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "waveName": "myWaveName", + "resource": { + "properties": { + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "description": "ukktsjlknnsvbrt" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "provisioningState": "Succeeded", + "description": "ukktsjlknnsvbrt", + "status": "NotStarted", + "actualStartDate": "2025-07-07T05:56:49.292Z", + "stage": "Creation" + }, + "eTag": "ckfmxpaxabl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "name": "tgmjblyar", + "type": "hwzunkyk", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "provisioningState": "Succeeded", + "description": "ukktsjlknnsvbrt", + "status": "NotStarted", + "actualStartDate": "2025-07-07T05:56:49.292Z", + "stage": "Creation" + }, + "eTag": "ckfmxpaxabl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "name": "tgmjblyar", + "type": "hwzunkyk", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Delete_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..d0051a9ad02e --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Waves_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Waves_Delete", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "waveName": "myWaveName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Get_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..2374b6f60518 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Get_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "Waves_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Waves_Get", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "waveName": "myWaveName" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "provisioningState": "Succeeded", + "description": "ukktsjlknnsvbrt", + "status": "NotStarted", + "actualStartDate": "2025-07-07T05:56:49.292Z", + "stage": "Creation" + }, + "eTag": "ckfmxpaxabl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "name": "tgmjblyar", + "type": "hwzunkyk", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_ListByParent_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_ListByParent_MaximumSet_Gen.json new file mode 100644 index 000000000000..d26bdbf7a387 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_ListByParent_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "Waves_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Waves_ListByParent", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "status": "NotStarted", + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "actualStartDate": "2025-07-07T05:56:49.292Z", + "stage": "Creation", + "description": "pbsuvxcspfeviom" + }, + "eTag": "ckfmxpaxabl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "name": "tgmjblyar", + "type": "hwzunkyk", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + ], + "nextLink": "https://microsoft.com/aqvbud" + } + } + } +} diff --git a/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Refresh_MaximumSet_Gen.json b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Refresh_MaximumSet_Gen.json new file mode 100644 index 000000000000..836e62ab5239 --- /dev/null +++ b/specification/migrate/Waves.Management/examples/2025-03-30-preview/Waves_Refresh_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Waves_Refresh_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Waves_Refresh", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "waveName": "myWaveName" + }, + "responses": { + "200": { + "body": { + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "provisioningState": "Succeeded", + "description": "ukktsjlknnsvbrt", + "status": "NotStarted", + "actualStartDate": "2025-07-07T05:56:49.292Z", + "stage": "Creation" + } + } + } +} diff --git a/specification/migrate/Waves.Management/main.tsp b/specification/migrate/Waves.Management/main.tsp new file mode 100644 index 000000000000..a4b07aa4b727 --- /dev/null +++ b/specification/migrate/Waves.Management/main.tsp @@ -0,0 +1,28 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@azure-tools/typespec-azure-core"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +// Common list of supported API versions. +import "./ApiVersions.tsp"; + +// Add all service routes here. +import "./routes.tsp"; + +// using Autorest; +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; +using OpenAPI; + +@armProviderNamespace +@service(#{ title: "Azure Migrate Migration Service" }) +@versioned(ApiVersions) +@doc("Azure Migrate Resource Provider management API.") +namespace Microsoft.Migrate; + +interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/migrate/Waves.Management/routes.tsp b/specification/migrate/Waves.Management/routes.tsp new file mode 100644 index 000000000000..3a38b68ee772 --- /dev/null +++ b/specification/migrate/Waves.Management/routes.tsp @@ -0,0 +1,93 @@ +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "@azure-tools/typespec-client-generator-core"; +import "./ApiVersions.tsp"; +import "./WebModels/Waves/MigrationWaves.tsp"; +import "./WebModels/MigrationEntity/MigrationEntity.tsp"; +import "./WebModels/MigrationEntityGroup/MigrationEntityGroups.tsp"; +import "./WebModels/Tasks/Tasks.tsp"; +import "./WebModels/Tasks/TaskSummary.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; +using OpenAPI; + +namespace Microsoft.Migrate; + +@armResourceOperations +interface Waves { + @added(ApiVersions.v2025_03_30_preview) + create is ArmResourceCreateOrUpdateAsync; + + @added(ApiVersions.v2025_03_30_preview) + get is ArmResourceRead; + + @added(ApiVersions.v2025_03_30_preview) + listByParent is ArmResourceListByParent; + + @added(ApiVersions.v2025_03_30_preview) + delete is ArmResourceDeleteWithoutOkAsync; + + @added(ApiVersions.v2025_03_30_preview) + @doc("Refresh operation to update wave") + @Azure.ClientGenerator.Core.clientName("triggerRefresh", "java") + @Azure.ClientGenerator.Core.clientName("triggerRefresh", "csharp") + refresh is ArmResourceActionSync; +} + +@armResourceOperations +interface MigrationEntities { + @added(ApiVersions.v2025_03_30_preview) + create is ArmResourceCreateOrUpdateAsync; + + @added(ApiVersions.v2025_03_30_preview) + get is ArmResourceRead; + + @added(ApiVersions.v2025_03_30_preview) + listByParent is ArmResourceListByParent; + + @added(ApiVersions.v2025_03_30_preview) + delete is ArmResourceDeleteWithoutOkAsync; +} + +@armResourceOperations +interface MigrationEntityGroups { + @added(ApiVersions.v2025_03_30_preview) + create is ArmResourceCreateOrUpdateAsync; + + @added(ApiVersions.v2025_03_30_preview) + get is ArmResourceRead; + + @added(ApiVersions.v2025_03_30_preview) + listByParent is ArmResourceListByParent; + + @added(ApiVersions.v2025_03_30_preview) + delete is ArmResourceDeleteWithoutOkAsync; +} + +@armResourceOperations +interface Tasks { + @added(ApiVersions.v2025_03_30_preview) + create is ArmResourceCreateOrUpdateAsync; + + @added(ApiVersions.v2025_03_30_preview) + get is ArmResourceRead; + + @added(ApiVersions.v2025_03_30_preview) + listByParent is ArmResourceListByParent; + + @added(ApiVersions.v2025_03_30_preview) + delete is ArmResourceDeleteWithoutOkAsync; + + @added(ApiVersions.v2025_03_30_preview) + @doc("Retrieves task summary across all tasks in the project.") + @action("taskSummary") + getSummary is ArmResourceActionSync< + MigrateProject, + TaskSummaryRequest, + TaskSummaryResponse + >; +} diff --git a/specification/migrate/Waves.Management/suppressions.yaml b/specification/migrate/Waves.Management/suppressions.yaml new file mode 100644 index 000000000000..102cc42bcb16 --- /dev/null +++ b/specification/migrate/Waves.Management/suppressions.yaml @@ -0,0 +1,6 @@ +- tool: TypeSpecValidation + paths: + - ./tspconfig.yaml + rules: + - SdkTspConfigValidation + reason: Azure Migrate does not support any SDK Generation yet. More changes are needed for supporting SDK Generation which will come in the future changes. diff --git a/specification/migrate/Waves.Management/tspconfig.yaml b/specification/migrate/Waves.Management/tspconfig.yaml new file mode 100644 index 000000000000..d2f99903db00 --- /dev/null +++ b/specification/migrate/Waves.Management/tspconfig.yaml @@ -0,0 +1,43 @@ +parameters: + "service-dir": + default: "sdk/migrate" +emit: + - "@azure-tools/typespec-autorest" +output-dir: "{project-root}/../" +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" +options: + "@azure-tools/typespec-autorest": + emitter-output-dir: "{output-dir}" + output-file: "{azure-resource-provider-folder}/{service-name}/Waves/{version-status}/{version}/waves.json" + azure-resource-provider-folder: ./resource-manager + use-read-only-status-schema: true + arm-types-dir: "{project-root}/../../common-types/resource-management" + examples-dir: "{project-root}/examples" + "@azure-tools/typespec-csharp": + flavor: azure + package-dir: "Azure.ResourceManager.Migrate" + clear-output-folder: true + model-namespace: true + namespace: "{package-dir}" + "@azure-tools/typespec-python": + package-dir: "azure-mgmt-migrate" + package-name: "{package-dir}" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + package-dir: "azure-resourcemanager-migrate" + namespace: "com.azure.resourcemanager.migrate" + service-name: "migrate" + flavor: azure + "@azure-tools/typespec-ts": + package-dir: "arm-migrate" + flavor: azure + experimental-extensible-enums: true + package-details: + name: "@azure/arm-migrate" + "@azure-tools/typespec-client-generator-cli": + "additionalDirectories": + - "specification/migrate/Waves.Management/Common" diff --git a/specification/migrate/cspell.yaml b/specification/migrate/cspell.yaml index 2a9e154fb554..a9829fc2cdd7 100644 --- a/specification/migrate/cspell.yaml +++ b/specification/migrate/cspell.yaml @@ -97,5 +97,10 @@ overrides: - sqlasmroutes - waasmroutes - wacasmroutes + - filename: '**/specification/migrate/Waves.Management/**/*.tsp' + words: + - SQLVM + - Rearchitect + - Rehost diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..981d654f3474 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_Create_MaximumSet_Gen.json @@ -0,0 +1,117 @@ +{ + "title": "MigrationEntities_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntities_Create", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityName": "myMigrationEntityName", + "resource": { + "properties": { + "partnerResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.RecoveryServices/vaults/MyRecoveryVault/replicationFabrics/HyperVSite/replicationProtectionContainers/HyperVContainer/replicationProtectedItems/MyVM", + "targetAzureResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "associatedInventoryResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.OffAzure/VMwareSites/myVMwareSite/vmwareMachines/myDiscoveredVM", + "inventoryDisplayName": "ywdewqxixfxzgzkkv", + "target": "AzureVM", + "migrationStrategy": "Rehost", + "migrationSpecificProperties": { + "instanceType": "MigrationSpecificPropertiesBase" + }, + "migrationTool": "Server Migration Agentless", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "associatedWaveId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "associatedMigrationEntityGroupIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMygrationEntityGroup" + ], + "migrationPath": "PaaSPreferred", + "assessedEntityArmId": "dihnjnc" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "partnerResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.RecoveryServices/vaults/MyRecoveryVault/replicationFabrics/HyperVSite/replicationProtectionContainers/HyperVContainer/replicationProtectedItems/MyVM", + "targetAzureResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "associatedInventoryResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.OffAzure/VMwareSites/myVMwareSite/vmwareMachines/myDiscoveredVM", + "inventoryDisplayName": "ywdewqxixfxzgzkkv", + "target": "AzureVM", + "migrationStrategy": "Rehost", + "executionReadiness": "NotAvailable", + "migrationSpecificProperties": { + "instanceType": "MigrationSpecificPropertiesBase" + }, + "migrationTool": "Server Migration Agentless", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "associatedWaveId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "associatedMigrationEntityGroupIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMygrationEntityGroup" + ], + "migrationPath": "PaaSPreferred", + "assessedEntityArmId": "dihnjnc", + "provisioningState": "Succeeded", + "executionStartDate": "2025-09-15T12:28:36.729Z", + "executionStage": "Preparation", + "executionStatus": "NotStarted" + }, + "eTag": "obuzvbpvtdmykxfhyn", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntities/myMygrationEntity", + "name": "txhtkdqewu", + "type": "dlgonfzavcmahobqxrswpu", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "partnerResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.RecoveryServices/vaults/MyRecoveryVault/replicationFabrics/HyperVSite/replicationProtectionContainers/HyperVContainer/replicationProtectedItems/MyVM", + "targetAzureResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "associatedInventoryResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.OffAzure/VMwareSites/myVMwareSite/vmwareMachines/myDiscoveredVM", + "inventoryDisplayName": "ywdewqxixfxzgzkkv", + "target": "AzureVM", + "migrationStrategy": "Rehost", + "executionReadiness": "NotAvailable", + "migrationSpecificProperties": { + "instanceType": "MigrationSpecificPropertiesBase" + }, + "migrationTool": "Server Migration Agentless", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "associatedWaveId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "associatedMigrationEntityGroupIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMygrationEntityGroup" + ], + "migrationPath": "PaaSPreferred", + "assessedEntityArmId": "dihnjnc", + "provisioningState": "Succeeded", + "executionStartDate": "2025-09-15T12:28:36.729Z", + "executionStage": "Preparation", + "executionStatus": "NotStarted" + }, + "eTag": "obuzvbpvtdmykxfhyn", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntities/myMygrationEntity", + "name": "txhtkdqewu", + "type": "dlgonfzavcmahobqxrswpu", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..5be827bdf308 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "MigrationEntities_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntities_Delete", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityName": "myMigrationEntityName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..95e5ae0ef61b --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_Get_MaximumSet_Gen.json @@ -0,0 +1,53 @@ +{ + "title": "MigrationEntities_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntities_Get", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityName": "myMigrationEntityName" + }, + "responses": { + "200": { + "body": { + "properties": { + "partnerResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.RecoveryServices/vaults/MyRecoveryVault/replicationFabrics/HyperVSite/replicationProtectionContainers/HyperVContainer/replicationProtectedItems/MyVM", + "targetAzureResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "associatedInventoryResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.OffAzure/VMwareSites/myVMwareSite/vmwareMachines/myDiscoveredVM", + "inventoryDisplayName": "ywdewqxixfxzgzkkv", + "target": "AzureVM", + "migrationStrategy": "Rehost", + "executionReadiness": "NotAvailable", + "migrationSpecificProperties": { + "instanceType": "MigrationSpecificPropertiesBase" + }, + "migrationTool": "Server Migration Agentless", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "associatedWaveId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "associatedMigrationEntityGroupIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMygrationEntityGroup" + ], + "migrationPath": "PaaSPreferred", + "assessedEntityArmId": "dihnjnc", + "provisioningState": "Succeeded", + "executionStartDate": "2025-09-15T12:28:36.729Z", + "executionStage": "Preparation", + "executionStatus": "NotStarted" + }, + "eTag": "obuzvbpvtdmykxfhyn", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntities/myMygrationEntity", + "name": "txhtkdqewu", + "type": "dlgonfzavcmahobqxrswpu", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_ListByParent_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_ListByParent_MaximumSet_Gen.json new file mode 100644 index 000000000000..f1268a9bffe9 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntities_ListByParent_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "title": "MigrationEntities_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntities_ListByParent", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "partnerResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.RecoveryServices/vaults/MyRecoveryVault/replicationFabrics/HyperVSite/replicationProtectionContainers/HyperVContainer/replicationProtectedItems/MyVM", + "targetAzureResourceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "associatedInventoryResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.OffAzure/VMwareSites/myVMwareSite/vmwareMachines/myDiscoveredVM", + "inventoryDisplayName": "ywdewqxixfxzgzkkv", + "target": "AzureVM", + "migrationStrategy": "Rehost", + "executionStage": "Preparation", + "executionStatus": "NotStarted", + "executionReadiness": "NotAvailable", + "migrationSpecificProperties": { + "instanceType": "MigrationSpecificPropertiesBase" + }, + "migrationTool": "Server Migration Agentless", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "associatedWaveId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "associatedMigrationEntityGroupIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMigrationEntityGroups" + ], + "executionStartDate": "2025-09-15T12:28:36.729Z", + "migrationPath": "PaaSPreferred", + "assessedEntityArmId": "nzelvzhtkqgijjenvgeclnvelcbcjz" + }, + "eTag": "obuzvbpvtdmykxfhyn", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntities/myMygrationEntity", + "name": "txhtkdqewu", + "type": "dlgonfzavcmahobqxrswpu", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + ], + "nextLink": "https://microsoft.com/aacbr" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..32ef153f398d --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_Create_MaximumSet_Gen.json @@ -0,0 +1,83 @@ +{ + "title": "MigrationEntityGroups_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntityGroups_Create", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityGroupName": "myMigrationEntityGroupName", + "resource": { + "properties": { + "applicationId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.ApplicationMigration/discoveryHubs/MyDiscoveryHub/applications/MyAppe", + "applicationDisplayName": "ricbxbn", + "associatedWaveIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + ], + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "migrationPath": "PaaSPreferred" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "applicationId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.ApplicationMigration/discoveryHubs/MyDiscoveryHub/applications/MyAppe", + "applicationDisplayName": "ricbxbn", + "associatedWaveIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + ], + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "migrationPath": "PaaSPreferred", + "provisioningState": "Succeeded", + "executionStatus": "NotStarted", + "executionStartDate": "2025-10-07T05:56:47.736Z" + }, + "eTag": "ghl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMigrationEntityGroup", + "name": "kw", + "type": "eoojxsfngyaptqvlmsmjgcufqbel", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "applicationId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.ApplicationMigration/discoveryHubs/MyDiscoveryHub/applications/MyAppe", + "applicationDisplayName": "ricbxbn", + "associatedWaveIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + ], + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "migrationPath": "PaaSPreferred", + "provisioningState": "Succeeded", + "executionStatus": "NotStarted", + "executionStartDate": "2025-10-07T05:56:47.736Z" + }, + "eTag": "ghl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMigrationEntityGroup", + "name": "kw", + "type": "eoojxsfngyaptqvlmsmjgcufqbel", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..4b84aa582d1f --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "MigrationEntityGroups_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntityGroups_Delete", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityGroupName": "myMigrationEntityGroupName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..441b84f9b2f8 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_Get_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "MigrationEntityGroups_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntityGroups_Get", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "migrationEntityGroupName": "myMigrationEntityGroupName" + }, + "responses": { + "200": { + "body": { + "properties": { + "applicationId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.ApplicationMigration/discoveryHubs/MyDiscoveryHub/applications/MyAppe", + "applicationDisplayName": "ricbxbn", + "associatedWaveIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + ], + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "migrationPath": "PaaSPreferred", + "provisioningState": "Succeeded", + "executionStatus": "NotStarted", + "executionStartDate": "2025-10-07T05:56:47.736Z" + }, + "eTag": "ghl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMigrationEntityGroup", + "name": "kw", + "type": "eoojxsfngyaptqvlmsmjgcufqbel", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_ListByParent_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_ListByParent_MaximumSet_Gen.json new file mode 100644 index 000000000000..2d31f0c22762 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/MigrationEntityGroups_ListByParent_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "MigrationEntityGroups_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "MigrationEntityGroups_ListByParent", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "applicationId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.ApplicationMigration/discoveryHubs/MyDiscoveryHub/applications/MyAppe", + "applicationDisplayName": "ricbxbn", + "associatedWaveIds": [ + "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + ], + "executionStatus": "NotStarted", + "executionStartDate": "2025-10-07T05:56:47.736Z", + "associatedAssessmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/assessmentprojects/myAssessmentproject/assessments/myAssessment", + "migrationPath": "PaaSPreferred" + }, + "eTag": "ghl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/migrationEntityGroups/myMigrationEntityGroup", + "name": "kw", + "type": "eoojxsfngyaptqvlmsmjgcufqbel", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..9e01f9e47990 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-03-30-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rlezeskov", + "isDataAction": true, + "display": { + "provider": "qdeardpcthwxjqcuihuo", + "resource": "hefqtoglbfaywueat", + "operation": "scaljshazk", + "description": "ohqulwkjsvztlffsszaonlcbhoap" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..c7c0e650fd21 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-03-30-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..3c8c4222000e --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_Create_MaximumSet_Gen.json @@ -0,0 +1,83 @@ +{ + "title": "Tasks_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Tasks_Create", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "taskName": "myTaskName", + "resource": { + "properties": { + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "status": "Pending", + "scope": "Wave", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "displayName": "hhbrpibobilcoypvyiofvr", + "description": "lzhl" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "status": "Pending", + "scope": "Wave", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "displayName": "hhbrpibobilcoypvyiofvr", + "provisioningState": "Succeeded", + "isEditable": true, + "description": "lzhl", + "completionDate": "2025-09-15T12:28:36.735Z" + }, + "eTag": "qwvistijljbsmdmjwiouvxp", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/tasks/myTask", + "name": "ejdnhrqdoevhryqij", + "type": "roa", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "status": "Pending", + "scope": "Wave", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "displayName": "hhbrpibobilcoypvyiofvr", + "provisioningState": "Succeeded", + "isEditable": true, + "description": "lzhl", + "completionDate": "2025-09-15T12:28:36.735Z" + }, + "eTag": "qwvistijljbsmdmjwiouvxp", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/tasks/myTask", + "name": "ejdnhrqdoevhryqij", + "type": "roa", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..b1d75c10bd87 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Tasks_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Tasks_Delete", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "taskName": "myTaskName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_GetSummary_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_GetSummary_MaximumSet_Gen.json new file mode 100644 index 000000000000..079fa8ca1d2c --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_GetSummary_MaximumSet_Gen.json @@ -0,0 +1,61 @@ +{ + "title": "Tasks_GetSummary_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Tasks_GetSummary", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "body": { + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave" + } + }, + "responses": { + "200": { + "body": { + "items": [ + { + "stage": "qzhwejsmvecptmvzlbtlne", + "aggregatedStatus": "Pending", + "statusCounts": { + "statusCounts": [ + { + "status": "Pending", + "count": 2 + } + ] + }, + "tasks": [ + { + "properties": { + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "status": "Pending", + "scope": "Wave", + "provisioningState": "Succeeded", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "displayName": "hhbrpibobilcoypvyiofvr", + "isEditable": true, + "completionDate": "2025-09-15T12:28:36.735Z", + "description": "rfmyjnrmujpagajhqds" + }, + "eTag": "qwvistijljbsmdmjwiouvxp", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/tasks/myTask", + "name": "ejdnhrqdoevhryqij", + "type": "roa", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + ] + } + ] + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..42f550d78098 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_Get_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "Tasks_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Tasks_Get", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "taskName": "myTaskName" + }, + "responses": { + "200": { + "body": { + "properties": { + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "status": "Pending", + "scope": "Wave", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "displayName": "hhbrpibobilcoypvyiofvr", + "provisioningState": "Succeeded", + "isEditable": true, + "description": "lzhl", + "completionDate": "2025-09-15T12:28:36.735Z" + }, + "eTag": "qwvistijljbsmdmjwiouvxp", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/tasks/myTask", + "name": "ejdnhrqdoevhryqij", + "type": "roa", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_ListByParent_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_ListByParent_MaximumSet_Gen.json new file mode 100644 index 000000000000..a31b81de0beb --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Tasks_ListByParent_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "Tasks_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Tasks_ListByParent", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "stage": "klaemxmckhvyoooxyauqglexjna", + "taskType": "User", + "isEditable": true, + "status": "Pending", + "scope": "Wave", + "scopeId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/Waves/myWave", + "displayName": "ldmgemoa", + "completionDate": "2025-09-15T12:28:36.734Z", + "description": "xykmtdhbimovojas" + }, + "eTag": "qwvistijljbsmdmjwiouvxp", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/tasks/myTask", + "name": "ejdnhrqdoevhryqij", + "type": "roa", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..35694d01cff7 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Create_MaximumSet_Gen.json @@ -0,0 +1,85 @@ +{ + "title": "Waves_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Waves_Create", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "waveName": "myWaveName", + "resource": { + "properties": { + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "description": "ukktsjlknnsvbrt" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "provisioningState": "Succeeded", + "description": "ukktsjlknnsvbrt", + "status": "NotStarted", + "actualStartDate": "2025-07-07T05:56:49.292Z", + "stage": "Creation" + }, + "eTag": "ckfmxpaxabl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "name": "tgmjblyar", + "type": "hwzunkyk", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "provisioningState": "Succeeded", + "description": "ukktsjlknnsvbrt", + "status": "NotStarted", + "actualStartDate": "2025-07-07T05:56:49.292Z", + "stage": "Creation" + }, + "eTag": "ckfmxpaxabl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "name": "tgmjblyar", + "type": "hwzunkyk", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..d0051a9ad02e --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Waves_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Waves_Delete", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "waveName": "myWaveName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..2374b6f60518 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Get_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "Waves_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Waves_Get", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "waveName": "myWaveName" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "provisioningState": "Succeeded", + "description": "ukktsjlknnsvbrt", + "status": "NotStarted", + "actualStartDate": "2025-07-07T05:56:49.292Z", + "stage": "Creation" + }, + "eTag": "ckfmxpaxabl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "name": "tgmjblyar", + "type": "hwzunkyk", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_ListByParent_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_ListByParent_MaximumSet_Gen.json new file mode 100644 index 000000000000..d26bdbf7a387 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_ListByParent_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "Waves_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Waves_ListByParent", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "status": "NotStarted", + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "actualStartDate": "2025-07-07T05:56:49.292Z", + "stage": "Creation", + "description": "pbsuvxcspfeviom" + }, + "eTag": "ckfmxpaxabl", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave", + "name": "tgmjblyar", + "type": "hwzunkyk", + "systemData": { + "createdBy": "yytbgo", + "createdByType": "User", + "createdAt": "2025-07-07T05:56:47.736Z", + "lastModifiedBy": "xihcsro", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-07-07T05:56:47.736Z" + } + } + ], + "nextLink": "https://microsoft.com/aqvbud" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Refresh_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Refresh_MaximumSet_Gen.json new file mode 100644 index 000000000000..836e62ab5239 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/examples/Waves_Refresh_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Waves_Refresh_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule", + "operationId": "Waves_Refresh", + "parameters": { + "api-version": "2025-03-30-preview", + "subscriptionId": "78388498-BFD0-4CFE-A2E2-B1AFE99EFEFF", + "resourceGroupName": "rgwaves", + "projectName": "myProjectName", + "waveName": "myWaveName" + }, + "responses": { + "200": { + "body": { + "displayName": "bhypoxylsythumuxqozo", + "arg": { + "query": "shcijfglntriaccyqiwjipqneiqlm" + }, + "plannedStartDate": "2025-07-07T05:56:49.292Z", + "plannedCompletionDate": "2025-07-07T05:56:49.292Z", + "provisioningState": "Succeeded", + "description": "ukktsjlknnsvbrt", + "status": "NotStarted", + "actualStartDate": "2025-07-07T05:56:49.292Z", + "stage": "Creation" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/waves.json b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/waves.json new file mode 100644 index 000000000000..5b5ef3a15bd7 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/preview/2025-03-30-preview/waves.json @@ -0,0 +1,2420 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Migrate Migration Service", + "version": "2025-03-30-preview", + "description": "Azure Migrate Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Waves" + }, + { + "name": "MigrationEntities" + }, + { + "name": "MigrationEntityGroups" + }, + { + "name": "Tasks" + } + ], + "paths": { + "/providers/Microsoft.Migrate/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MinimumSet] rule": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/migrationEntities": { + "get": { + "operationId": "MigrationEntities_ListByParent", + "tags": [ + "MigrationEntities" + ], + "description": "List MigrationEntity resources by MigrateProject", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MigrationEntityListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "MigrationEntities_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/MigrationEntities_ListByParent_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/migrationEntities/{migrationEntityName}": { + "get": { + "operationId": "MigrationEntities_Get", + "tags": [ + "MigrationEntities" + ], + "description": "Get a MigrationEntity", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "migrationEntityName", + "in": "path", + "description": "Migration Entity ARM name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MigrationEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "MigrationEntities_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/MigrationEntities_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "MigrationEntities_Create", + "tags": [ + "MigrationEntities" + ], + "description": "Create a MigrationEntity", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "migrationEntityName", + "in": "path", + "description": "Migration Entity ARM name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/MigrationEntity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'MigrationEntity' update operation succeeded", + "schema": { + "$ref": "#/definitions/MigrationEntity" + } + }, + "201": { + "description": "Resource 'MigrationEntity' create operation succeeded", + "schema": { + "$ref": "#/definitions/MigrationEntity" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "MigrationEntities_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/MigrationEntities_Create_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "MigrationEntities_Delete", + "tags": [ + "MigrationEntities" + ], + "description": "Delete a MigrationEntity", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "migrationEntityName", + "in": "path", + "description": "Migration Entity ARM name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "MigrationEntities_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/MigrationEntities_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/migrationEntityGroups": { + "get": { + "operationId": "MigrationEntityGroups_ListByParent", + "tags": [ + "MigrationEntityGroups" + ], + "description": "List MigrationEntityGroup resources by MigrateProject", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MigrationEntityGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "MigrationEntityGroups_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/MigrationEntityGroups_ListByParent_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/migrationEntityGroups/{migrationEntityGroupName}": { + "get": { + "operationId": "MigrationEntityGroups_Get", + "tags": [ + "MigrationEntityGroups" + ], + "description": "Get a MigrationEntityGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "migrationEntityGroupName", + "in": "path", + "description": "Migration Entity Group ARM name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MigrationEntityGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "MigrationEntityGroups_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/MigrationEntityGroups_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "MigrationEntityGroups_Create", + "tags": [ + "MigrationEntityGroups" + ], + "description": "Create a MigrationEntityGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "migrationEntityGroupName", + "in": "path", + "description": "Migration Entity Group ARM name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/MigrationEntityGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'MigrationEntityGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/MigrationEntityGroup" + } + }, + "201": { + "description": "Resource 'MigrationEntityGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/MigrationEntityGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "MigrationEntityGroups_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/MigrationEntityGroups_Create_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "MigrationEntityGroups_Delete", + "tags": [ + "MigrationEntityGroups" + ], + "description": "Delete a MigrationEntityGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "migrationEntityGroupName", + "in": "path", + "description": "Migration Entity Group ARM name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "MigrationEntityGroups_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/MigrationEntityGroups_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/taskSummary": { + "post": { + "operationId": "Tasks_GetSummary", + "tags": [ + "Tasks" + ], + "description": "Retrieves task summary across all tasks in the project.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/TaskSummaryRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TaskSummaryResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_GetSummary_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Tasks_GetSummary_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/tasks": { + "get": { + "operationId": "Tasks_ListByParent", + "tags": [ + "Tasks" + ], + "description": "List Task resources by MigrateProject", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TaskListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Tasks_ListByParent_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/tasks/{taskName}": { + "get": { + "operationId": "Tasks_Get", + "tags": [ + "Tasks" + ], + "description": "Get a Task", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "taskName", + "in": "path", + "description": "Task ARM name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Tasks_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Tasks_Create", + "tags": [ + "Tasks" + ], + "description": "Create a Task", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "taskName", + "in": "path", + "description": "Task ARM name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Task" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Task' update operation succeeded", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "201": { + "description": "Resource 'Task' create operation succeeded", + "schema": { + "$ref": "#/definitions/Task" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Tasks_Create_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Tasks_Delete", + "tags": [ + "Tasks" + ], + "description": "Delete a Task", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "taskName", + "in": "path", + "description": "Task ARM name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Tasks_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/waves": { + "get": { + "operationId": "Waves_ListByParent", + "tags": [ + "Waves" + ], + "description": "List Wave resources by MigrateProject", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WaveListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Waves_ListByParent_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Waves_ListByParent_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/waves/{waveName}": { + "get": { + "operationId": "Waves_Get", + "tags": [ + "Waves" + ], + "description": "Get a Wave", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "waveName", + "in": "path", + "description": "Migration Wave Resource", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Wave" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Waves_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Waves_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Waves_Create", + "tags": [ + "Waves" + ], + "description": "Create a Wave", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "waveName", + "in": "path", + "description": "Migration Wave Resource", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Wave" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Wave' update operation succeeded", + "schema": { + "$ref": "#/definitions/Wave" + } + }, + "201": { + "description": "Resource 'Wave' create operation succeeded", + "schema": { + "$ref": "#/definitions/Wave" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Waves_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Waves_Create_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Waves_Delete", + "tags": [ + "Waves" + ], + "description": "Delete a Wave", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "waveName", + "in": "path", + "description": "Migration Wave Resource", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Waves_Delete_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Waves_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/waves/{waveName}/refresh": { + "post": { + "operationId": "Waves_Refresh", + "tags": [ + "Waves" + ], + "description": "Refresh operation to update wave", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "projectName", + "in": "path", + "description": "Migrate Project Name", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + }, + { + "name": "waveName", + "in": "path", + "description": "Migration Wave Resource", + "required": true, + "type": "string", + "pattern": "^[^<>&:\\?/#]{1,260}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WaveProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Waves_Refresh_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule": { + "$ref": "./examples/Waves_Refresh_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "Arg": { + "type": "object", + "description": "ARG query and other details to create workloads within a wave.", + "properties": { + "query": { + "type": "string", + "description": "The query to create workloads within the wave." + } + }, + "required": [ + "query" + ] + }, + "AzureResourceProperties": { + "type": "object", + "description": "Common properties for all azure tracked and proxy resources.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + } + }, + "Items": { + "type": "string", + "description": "Items Enum", + "enum": [ + "ServerDiscovery", + "ServerAssessment", + "ServerMigration", + "Cloudamize", + "Turbonomic", + "Zerto", + "CorentTech", + "ServerAssessmentV1", + "ServerMigration_Replication", + "Carbonite", + "DataMigrationAssistant", + "DatabaseMigrationService", + "Device42", + "JetStream", + "RackWare", + "UnifyCloud", + "Flexera", + "ServerDiscovery_Import", + "Lakeside", + "AppServiceMigrationAssistant", + "Movere", + "CloudSphere", + "Modernization", + "ServerMigration_DataReplication", + "Unknown" + ], + "x-ms-enum": { + "name": "Items", + "modelAsString": true, + "values": [ + { + "name": "ServerDiscovery", + "value": "ServerDiscovery", + "description": "Server Discovery Item" + }, + { + "name": "ServerAssessment", + "value": "ServerAssessment", + "description": "Server Assessment Item" + }, + { + "name": "ServerMigration", + "value": "ServerMigration", + "description": "Server Migration Item" + }, + { + "name": "Cloudamize", + "value": "Cloudamize", + "description": "Cloudamize Item" + }, + { + "name": "Turbonomic", + "value": "Turbonomic", + "description": "Turbonomic Item" + }, + { + "name": "Zerto", + "value": "Zerto", + "description": "Zerto Item" + }, + { + "name": "CorentTech", + "value": "CorentTech", + "description": "CorentTech Item" + }, + { + "name": "ServerAssessmentV1", + "value": "ServerAssessmentV1", + "description": "ServerAssessmentV1" + }, + { + "name": "ServerMigration_Replication", + "value": "ServerMigration_Replication", + "description": "ServerMigration_Replication" + }, + { + "name": "Carbonite", + "value": "Carbonite", + "description": "Carbonite Item" + }, + { + "name": "DataMigrationAssistant", + "value": "DataMigrationAssistant", + "description": "DataMigrationAssistant Item" + }, + { + "name": "DatabaseMigrationService", + "value": "DatabaseMigrationService", + "description": "DatabaseMigrationService Item" + }, + { + "name": "Device42", + "value": "Device42", + "description": "Device42 Item" + }, + { + "name": "JetStream", + "value": "JetStream", + "description": "JetStream Item" + }, + { + "name": "RackWare", + "value": "RackWare", + "description": "RackWare Item" + }, + { + "name": "UnifyCloud", + "value": "UnifyCloud", + "description": "UnifyCloud Item" + }, + { + "name": "Flexera", + "value": "Flexera", + "description": "Flexera Item" + }, + { + "name": "ServerDiscovery_Import", + "value": "ServerDiscovery_Import", + "description": "ServerDiscovery_Import Item." + }, + { + "name": "Lakeside", + "value": "Lakeside", + "description": "Lakeside Item" + }, + { + "name": "AppServiceMigrationAssistant", + "value": "AppServiceMigrationAssistant", + "description": "AppServiceMigrationAssistant Item" + }, + { + "name": "Movere", + "value": "Movere", + "description": "Movere Item" + }, + { + "name": "CloudSphere", + "value": "CloudSphere", + "description": "CloudSphere Item" + }, + { + "name": "Modernization", + "value": "Modernization", + "description": "Modernization Item" + }, + { + "name": "ServerMigration_DataReplication", + "value": "ServerMigration_DataReplication", + "description": "ServerMigration_DataReplication Item" + }, + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown Item" + } + ] + } + }, + "MigrateProject": { + "type": "object", + "description": "A Migrate project Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/MigrateProjectProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "MigrateProjectProperties": { + "type": "object", + "description": "Properties of a migrate project.", + "properties": { + "registeredTools": { + "type": "array", + "description": "Register tools inside project.", + "items": { + "$ref": "#/definitions/Items" + }, + "readOnly": true + }, + "serviceEndpoint": { + "type": "string", + "description": "Service endpoint." + }, + "summary": { + "type": "object", + "description": "Project summary.", + "additionalProperties": { + "$ref": "#/definitions/ProjectSummary" + }, + "readOnly": true + }, + "lastSummaryRefreshedTime": { + "type": "string", + "format": "date-time", + "description": "Last summary refresh time.", + "readOnly": true + }, + "refreshSummaryState": { + "$ref": "#/definitions/RefreshSummaryState", + "description": "Refresh summary state.", + "readOnly": true + }, + "utilityStorageAccountId": { + "type": "string", + "description": "Utility storage account id." + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Gets or sets the state of public network access." + }, + "privateEndpointConnections": { + "type": "array", + "description": "Gets the private endpoint connections.", + "items": { + "$ref": "../../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + } + } + }, + "MigrationEntity": { + "type": "object", + "description": "Migration Entity resource.", + "properties": { + "properties": { + "$ref": "#/definitions/MigrationEntityProperties", + "description": "The resource-specific properties for this resource." + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "MigrationEntityGroup": { + "type": "object", + "description": "Migration Entity Group resource.", + "properties": { + "properties": { + "$ref": "#/definitions/MigrationEntityGroupProperties", + "description": "The resource-specific properties for this resource." + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "MigrationEntityGroupListResult": { + "type": "object", + "description": "The response of a MigrationEntityGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The MigrationEntityGroup items on this page", + "items": { + "$ref": "#/definitions/MigrationEntityGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "MigrationEntityGroupProperties": { + "type": "object", + "description": "Migration Entity Group Properties class.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "applicationId": { + "type": "string", + "description": "Application id " + }, + "applicationDisplayName": { + "type": "string", + "description": "Display Name of the Workload." + }, + "associatedAssessmentId": { + "type": "string", + "format": "arm-id", + "description": "Associated Assessment Id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Migrate/assessmentProjects/assessments" + } + ] + } + }, + "associatedWaveIds": { + "type": "array", + "description": "associated Wave Id", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Migrate/migrateProjects/waves" + } + ] + } + } + }, + "executionStatus": { + "type": "string", + "description": "Migration Entity Group Status", + "readOnly": true + }, + "executionStartDate": { + "type": "string", + "format": "date-time", + "description": "Execution Start Date", + "readOnly": true + }, + "migrationPath": { + "type": "string", + "description": "Migration path" + } + }, + "required": [ + "applicationId", + "applicationDisplayName" + ] + }, + "MigrationEntityListResult": { + "type": "object", + "description": "The response of a MigrationEntity list operation.", + "properties": { + "value": { + "type": "array", + "description": "The MigrationEntity items on this page", + "items": { + "$ref": "#/definitions/MigrationEntity" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "MigrationEntityProperties": { + "type": "object", + "description": "Migration Entity Properties class.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "partnerResourceArmId": { + "type": "string", + "description": "ARM Resource Identifier for the partner resource." + }, + "targetAzureResourceArmId": { + "type": "string", + "description": "target Azure Resource ARM Id." + }, + "associatedInventoryResourceId": { + "type": "string", + "description": "inventory resource id " + }, + "inventoryDisplayName": { + "type": "string", + "description": "Display Name of the Workload." + }, + "associatedAssessmentId": { + "type": "string", + "format": "arm-id", + "description": "Associated Assessment Id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Migrate/assessmentProjects/assessments" + } + ] + } + }, + "associatedWaveId": { + "type": "string", + "format": "arm-id", + "description": "associated Wave Id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Migrate/migrateProjects/waves" + } + ] + } + }, + "associatedMigrationEntityGroupIds": { + "type": "array", + "description": "associated Migration Entity Group Id", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Migrate/migrateProjects/migrationEntityGroups" + } + ] + } + } + }, + "executionStartDate": { + "type": "string", + "format": "date-time", + "description": "Execution start date for Migration Entity.", + "readOnly": true + }, + "target": { + "type": "string", + "description": "Target of the Migration Entity." + }, + "migrationStrategy": { + "$ref": "#/definitions/Strategy", + "description": "Strategy of Migration Entity.", + "readOnly": true + }, + "executionStage": { + "type": "string", + "description": "Execution Stage of Migration Entity.", + "readOnly": true + }, + "executionStatus": { + "type": "string", + "description": "Execution Status of Migration Entity.", + "readOnly": true + }, + "executionReadiness": { + "type": "string", + "description": "Execution Readiness of Migration Entity.", + "readOnly": true + }, + "migrationSpecificProperties": { + "$ref": "#/definitions/MigrationSpecificPropertiesBase", + "description": "Migration specific properties for the entity." + }, + "migrationTool": { + "type": "string", + "description": "Migration Tool of the Migration Entity." + }, + "migrationPath": { + "type": "string", + "description": "Migration path" + }, + "assessedEntityArmId": { + "type": "string", + "description": "Assessed Entity ARM Id" + } + }, + "required": [ + "associatedInventoryResourceId", + "inventoryDisplayName" + ] + }, + "MigrationSpecificPropertiesBase": { + "type": "object", + "description": "The base Migration Specific Properties model.", + "properties": { + "instanceType": { + "$ref": "#/definitions/MigrationSpecificPropertiesInstanceType", + "description": "Discriminator for migration specific properties." + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "MigrationSpecificPropertiesInstanceType": { + "type": "string", + "description": "Migration Specific Properties Instance Types.", + "enum": [ + "ServerMigration" + ], + "x-ms-enum": { + "name": "MigrationSpecificPropertiesInstanceType", + "modelAsString": true, + "values": [ + { + "name": "ServerMigration", + "value": "ServerMigration" + } + ] + } + }, + "ProjectSummary": { + "type": "object", + "description": "Project summary.", + "properties": { + "instanceType": { + "type": "string", + "description": "Instance type.", + "readOnly": true + }, + "refreshSummaryState": { + "$ref": "#/definitions/RefreshSummaryState", + "description": "Refresh summary state." + }, + "lastSummaryRefreshedTime": { + "type": "string", + "format": "date-time", + "description": "Last summary refresh time." + }, + "extendedSummary": { + "type": "object", + "description": "Extended summary.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The status of the current operation.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource provisioning Successful." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource provisioning Failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource provisioning Canceled." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "Resource is being Provisioned." + }, + { + "name": "Updating", + "value": "Updating", + "description": "Resource is being Updated." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Resource is being Deleted." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Resource is being Accepted." + } + ] + }, + "readOnly": true + }, + "PublicNetworkAccess": { + "type": "string", + "description": "Gets or sets the state of public network access.", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "NotSpecified Network Access" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled Network Access" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled Network Access" + } + ] + } + }, + "RefreshSummaryState": { + "type": "string", + "description": "Refresh summary state.", + "enum": [ + "Started", + "InProgress", + "Completed", + "Failed" + ], + "x-ms-enum": { + "name": "RefreshSummaryState", + "modelAsString": true, + "values": [ + { + "name": "Started", + "value": "Started", + "description": "Started State" + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "InProgress State" + }, + { + "name": "Completed", + "value": "Completed", + "description": "Completed State" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed State" + } + ] + } + }, + "ServerMigrationSpecificProperties": { + "type": "object", + "description": "Represents a Server Migration Specific properties base model.", + "properties": { + "drApplianceInventoryId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems" + }, + { + "type": "Microsoft.OffAzure/VMwareSites/machines" + }, + { + "type": "Microsoft.OffAzure/ServerSites/machines" + } + ] + } + }, + "currentJobId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.RecoveryServices/vaults/replicationJobs" + } + ] + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/MigrationSpecificPropertiesBase" + } + ], + "x-ms-discriminator-value": "ServerMigration" + }, + "Strategy": { + "type": "string", + "description": "Strategy for migration to Azure", + "enum": [ + "None", + "Rehost", + "Refactor", + "Rearchitect", + "Rebuild", + "Replace", + "Retire", + "Retain", + "Replatform" + ], + "x-ms-enum": { + "name": "Strategy", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No specific strategy defined." + }, + { + "name": "Rehost", + "value": "Rehost", + "description": "Rehost: Also known as 'lift and shift', this strategy involves moving existing applications to Azure without modification." + }, + { + "name": "Refactor", + "value": "Refactor", + "description": "Refactor: Often referred to as 'lift, tinker, and shift', this involves making minor modifications to the application to take advantage of Azure's cloud capabilities." + }, + { + "name": "Rearchitect", + "value": "Rearchitect", + "description": "Rearchitect: This approach involves significant changes to the application's architecture to fully utilize cloud-native features and scalability of Azure." + }, + { + "name": "Rebuild", + "value": "Rebuild", + "description": "Rebuild: Involves completely redesigning and rewriting the application from scratch to be cloud-native, leveraging Azure's advanced services." + }, + { + "name": "Replace", + "value": "Replace", + "description": "Replace: This strategy involves discarding the existing application and replacing it with a new Azure solution or a SaaS platform." + }, + { + "name": "Retire", + "value": "Retire", + "description": "Retire: This strategy involves discarding the existing application and replacing it with a new Azure solution or a SaaS platform." + }, + { + "name": "Retain", + "value": "Retain", + "description": "Retain: Keeping certain applications in the current environment when they are not suitable for cloud migration or when the timing is not right." + }, + { + "name": "Replatform", + "value": "Replatform", + "description": "Replatform: This strategy involves making more substantial changes to the application." + } + ] + } + }, + "Task": { + "type": "object", + "description": "Tasks resource.", + "properties": { + "properties": { + "$ref": "#/definitions/TaskProperties", + "description": "The resource-specific properties for this resource." + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "TaskListResult": { + "type": "object", + "description": "The response of a Task list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Task items on this page", + "items": { + "$ref": "#/definitions/Task" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TaskProperties": { + "type": "object", + "description": "Task Properties class.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "scopeId": { + "type": "string", + "format": "arm-id", + "description": "associated Wave Id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Migrate/migrateProjects/waves" + }, + { + "type": "Microsoft.Migrate/migrateProjects/migrationEntities" + }, + { + "type": "Microsoft.Migrate/migrateProjects/migrationEntityGroups" + } + ] + } + }, + "stage": { + "type": "string", + "description": "Task Stage" + }, + "taskType": { + "$ref": "#/definitions/TaskType", + "description": "Task Type", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "Task Dislay Name " + }, + "isEditable": { + "type": "boolean", + "description": "Indicates whether the task is editable.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "Task Status" + }, + "scope": { + "$ref": "#/definitions/TaskScope", + "description": "Task Scope" + }, + "description": { + "type": "string", + "description": "Task Description" + }, + "completionDate": { + "type": "string", + "format": "date-time", + "description": "Task completion Date", + "readOnly": true + } + }, + "required": [ + "scopeId", + "taskType", + "displayName", + "isEditable", + "status", + "scope" + ] + }, + "TaskScope": { + "type": "string", + "description": "TaskScope can be either 'Wave' or 'MigrationEntity' or 'MigrationEntityGroup'", + "enum": [ + "Wave", + "MigrationEntity", + "MigrationEntityGroup" + ], + "x-ms-enum": { + "name": "TaskScope", + "modelAsString": true, + "values": [ + { + "name": "Wave", + "value": "Wave", + "description": "Wave task - typically related to a specific wave of migration" + }, + { + "name": "MigrationEntity", + "value": "MigrationEntity", + "description": "Migration Entity task - typically related to a specific migration entity" + }, + { + "name": "MigrationEntityGroup", + "value": "MigrationEntityGroup", + "description": "Migration Entity Group task - typically related to a specific migration entity group" + } + ] + } + }, + "TaskStatusCountMap": { + "type": "object", + "description": "Task status count mapping.", + "properties": { + "status": { + "type": "string", + "description": "The task status." + }, + "count": { + "type": "integer", + "format": "int32", + "description": "The count of tasks with this status." + } + }, + "required": [ + "status", + "count" + ] + }, + "TaskStatusCounts": { + "type": "object", + "description": "Task Status Counts model.", + "properties": { + "statusCounts": { + "type": "array", + "description": "Status counts dictionary mapping TaskStatus to the count of tasks with that status.", + "items": { + "$ref": "#/definitions/TaskStatusCountMap" + }, + "x-ms-identifiers": [ + "status" + ] + } + }, + "required": [ + "statusCounts" + ] + }, + "TaskSummaryItem": { + "type": "object", + "description": "Task Summary Item model.", + "properties": { + "stage": { + "type": "string", + "description": "Task Stage" + }, + "aggregatedStatus": { + "type": "string", + "description": "Aggregated status of tasks in this stage." + }, + "statusCounts": { + "$ref": "#/definitions/TaskStatusCounts", + "description": "Counts of tasks in this stage by status." + }, + "tasks": { + "type": "array", + "description": "List of tasks in this stage.", + "items": { + "$ref": "#/definitions/Task" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "stage", + "aggregatedStatus", + "statusCounts", + "tasks" + ] + }, + "TaskSummaryRequest": { + "type": "object", + "description": "Task Summary Request model.", + "properties": { + "scopeId": { + "type": "string", + "format": "arm-id", + "description": "Task Scope ARM Id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Migrate/MigrateProjects/waves" + }, + { + "type": "Microsoft.Migrate/MigrationProjects/migrationEntityGroups" + }, + { + "type": "Microsoft.Migrate/MigrateProjects/migrationEntities" + } + ] + } + } + }, + "required": [ + "scopeId" + ] + }, + "TaskSummaryResponse": { + "type": "object", + "description": "Task Summary Response model.", + "properties": { + "items": { + "type": "array", + "description": "List of Task Summary Items", + "items": { + "$ref": "#/definitions/TaskSummaryItem" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "items" + ] + }, + "TaskType": { + "type": "string", + "description": "TaskType can be either 'User' or 'System'", + "enum": [ + "UserDefined", + "SystemDefined" + ], + "x-ms-enum": { + "name": "TaskType", + "modelAsString": true, + "values": [ + { + "name": "UserDefined", + "value": "UserDefined", + "description": "UserDefined task - typically initiated by a user" + }, + { + "name": "SystemDefined", + "value": "SystemDefined", + "description": "SystemDefined task - typically initiated by the system" + } + ] + } + }, + "Wave": { + "type": "object", + "description": "Migration Wave resource.", + "properties": { + "properties": { + "$ref": "#/definitions/WaveProperties", + "description": "The resource-specific properties for this resource." + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "WaveListResult": { + "type": "object", + "description": "The response of a Wave list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Wave items on this page", + "items": { + "$ref": "#/definitions/Wave" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WaveProperties": { + "type": "object", + "description": "Migration Wave Properties class.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Description of the wave." + }, + "displayName": { + "type": "string", + "description": "Display Name of the wave." + }, + "arg": { + "$ref": "#/definitions/Arg", + "description": "ARG query and other details to create workloads within a wave" + }, + "status": { + "type": "string", + "description": "The status of the wave.", + "readOnly": true + }, + "plannedStartDate": { + "type": "string", + "format": "date-time", + "description": "Planned start date of the wave." + }, + "plannedCompletionDate": { + "type": "string", + "format": "date-time", + "description": "Planned completion date of the wave." + }, + "actualStartDate": { + "type": "string", + "format": "date-time", + "description": "Actual start date of the wave.", + "readOnly": true + }, + "stage": { + "type": "string", + "description": "The current stage of the wave.", + "readOnly": true + } + }, + "required": [ + "displayName", + "arg", + "plannedStartDate" + ] + } + }, + "parameters": {} +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.go.md b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.go.md new file mode 100644 index 000000000000..1a78f5b1abab --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.go.md @@ -0,0 +1,20 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) && $(track2) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/migrationwaves/armmigrationwaves +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +modelerfour: + lenient-model-deduplication: true +``` +### Tag: package-preview-2025-03 and go +These settings apply only when `--tag=package-preview-2025-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-preview-2025-03' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2025-03-30/$(namespace) +``` \ No newline at end of file diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.jsva.md b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.jsva.md new file mode 100644 index 000000000000..47ca379afd7c --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.jsva.md @@ -0,0 +1,10 @@ +## Java + +These settings apply only when `--java` is specified on the command line. + +``` yaml $(java) +client-flattened-annotation-target: disabled +uuid-as-string: true +service-name: Migration Waves +title: MigrationWavesManagementClient +``` \ No newline at end of file diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.md b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.md new file mode 100644 index 000000000000..29eec9170714 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.md @@ -0,0 +1,39 @@ +# Azure Migrate + +> see https://aka.ms/autorest +This is the AutoRest configuration file for Azure Migrate - Waves. + +--- + +## Getting Started + +To build the SDK for Migrate, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + +### Basic Information + +These are the global settings for the API. + +``` yaml +openapi-type: arm +tag: package-preview-2025-03 +``` +### Tag: package-preview-2025-03 +These settings apply only when `--tag=package-preview-2025-03` is specified on the command line. + +```yaml $(tag) == 'package-preview-2025-03' +input-file: + - preview/2025-03-30-preview/waves.json +suppressions: + - code: AvoidAdditionalProperties + reason: AMH feature is widely adopted and requires additionalProperties for these swagger properties. + - code: DescriptionMustNotBeNodeName + reason: Migrate Project swagger is not in typespec. +``` diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.python.md b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.python.md new file mode 100644 index 000000000000..47d9a7f359ec --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.python.md @@ -0,0 +1,23 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +title: MigrationWaveMgmtClient +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-migrationwave +namespace: azure.mgmt.migrationwave +package-version: 1.0.0b1 +clear-output-folder: true +``` +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/migrate/azure-mgmt-migrationwave/azure/mgmt/migrationwave +``` +``` yaml $(python) +modelerfour: + flatten-models: false + lenient-model-deduplication: true +``` \ No newline at end of file diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.typescript.md b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.typescript.md new file mode 100644 index 000000000000..9a0bbf862256 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/Waves/readme.typescript.md @@ -0,0 +1,12 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-migrationwave" + output-folder: "$(typescript-sdks-folder)/sdk/migrate/arm-migrationwave" + generate-metadata: true +``` \ No newline at end of file