Skip to main content

solutions

Creates, updates, deletes, gets or lists a solutions resource.

Overview

Namesolutions
TypeResource
Idazure.migrate_projects.solutions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringGets the relative URL to get to this REST resource.
namestringGets the name of this REST resource.
etagstringGets or sets the ETAG for optimistic concurrency control.
propertiesobjectGets or sets the properties of the solution.
typestringGets the type of this REST resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, migrateProjectName, solutionNameapi-version
deletedeletesubscriptionId, resourceGroupName, migrateProjectName, solutionNameapi-version, Accept-LanguageDelete the solution. Deleting non-existent project is a no-operation.
put_solutionexecsubscriptionId, resourceGroupName, migrateProjectName, solutionNameapi-version
patch_solutionexecsubscriptionId, resourceGroupName, migrateProjectName, solutionNameapi-versionUpdate a solution with specified name. Supports partial updates, for example only tags can be provided.
enumerate_solutionsexecsubscriptionId, resourceGroupName, migrateProjectNameapi-version
cleanup_solution_dataexecsubscriptionId, resourceGroupName, migrateProjectName, solutionNameapi-version

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
migrateProjectNamestringName of the Azure Migrate project.
resourceGroupNamestringName of the Azure Resource Group that migrate project is part of.
solutionNamestringUnique name of a migration solution within a migrate project.
subscriptionIdstringAzure Subscription Id in which migrate project was created.
Accept-LanguagestringStandard request header. Used by service to respond to client in appropriate language.
api-versionstringStandard request header. Used by service to identify API version used by client.

SELECT examples

OK

SELECT
id,
name,
etag,
properties,
type
FROM azure.migrate_projects.solutions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND migrateProjectName = '{{ migrateProjectName }}' -- required
AND solutionName = '{{ solutionName }}' -- required
AND api-version = '{{ api-version }}'
;

DELETE examples

Delete the solution. Deleting non-existent project is a no-operation.

DELETE FROM azure.migrate_projects.solutions
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND migrateProjectName = '{{ migrateProjectName }}' --required
AND solutionName = '{{ solutionName }}' --required
AND api-version = '{{ api-version }}'
AND Accept-Language = '{{ Accept-Language }}'
;

Lifecycle Methods

OK

EXEC azure.migrate_projects.solutions.put_solution 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@migrateProjectName='{{ migrateProjectName }}' --required,
@solutionName='{{ solutionName }}' --required,
@api-version='{{ api-version }}'
@@json=
'{
"etag": "{{ etag }}",
"properties": "{{ properties }}"
}'
;