Service resource
Standard operation
PUT

Create or update DMS (classic) Instance

The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The PUT method creates a new service or updates an existing one. When a service is updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which refers to a VM-based service, although other kinds may be added in the future. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState property.

put/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}

Request

  • Base URL
    https://management.azure.com
  • URL
    https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
  • Auth
    OAuth 2
    Implicit: https://login.microsoftonline.com/common/oauth2/authorize
    Scopes: user_impersonation

Path parameters

groupNamestring required

Name of the resource group

serviceNamestring required

Name of the service

Parameters

../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter (unresolved $ref)
../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter (unresolved $ref)

Request body

DataMigrationService required(unresolved $ref)

Response

Resource 'DataMigrationService' update operation succeeded

DataMigrationService required(unresolved $ref)

Changes

No recorded changes to this operation across all 2 revisions of this API.