Freigeben über


DataMigrationExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.DataMigration.

public static class DataMigrationExtensions
type DataMigrationExtensions = class
Public Module DataMigrationExtensions
Inheritance
DataMigrationExtensions

Methods

CheckNameAvailabilityService(SubscriptionResource, AzureLocation, NameAvailabilityRequest, CancellationToken)

This method checks whether a proposed top-level resource name is valid and available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability
  • Operation Id: Services_CheckNameAvailability
  • Default Api Version: 2022-03-30-preview
  • Resource: DataMigrationServiceResource
<item>MockingTo mock this method, please mock CheckNameAvailabilityService(AzureLocation, NameAvailabilityRequest, CancellationToken) instead.</item>
CheckNameAvailabilityServiceAsync(SubscriptionResource, AzureLocation, NameAvailabilityRequest, CancellationToken)

This method checks whether a proposed top-level resource name is valid and available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability
  • Operation Id: Services_CheckNameAvailability
  • Default Api Version: 2022-03-30-preview
  • Resource: DataMigrationServiceResource
<item>MockingTo mock this method, please mock CheckNameAvailabilityService(AzureLocation, NameAvailabilityRequest, CancellationToken) instead.</item>
GetDatabaseMigrationSqlDB(ResourceGroupResource, String, String, Nullable<Guid>, String, CancellationToken)

Retrieve the Database Migration resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlDb_Get
  • Default Api Version: 2022-03-30-preview
  • Resource: DatabaseMigrationSqlDBResource
<item>MockingTo mock this method, please mock GetDatabaseMigrationSqlDB(String, String, Nullable<Guid>, String, CancellationToken) instead.</item>
GetDatabaseMigrationSqlDBAsync(ResourceGroupResource, String, String, Nullable<Guid>, String, CancellationToken)

Retrieve the Database Migration resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlDb_Get
  • Default Api Version: 2022-03-30-preview
  • Resource: DatabaseMigrationSqlDBResource
<item>MockingTo mock this method, please mock GetDatabaseMigrationSqlDBAsync(String, String, Nullable<Guid>, String, CancellationToken) instead.</item>
GetDatabaseMigrationSqlDBResource(ArmClient, ResourceIdentifier)

Gets an object representing a DatabaseMigrationSqlDBResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DatabaseMigrationSqlDBResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDatabaseMigrationSqlDBResource(ResourceIdentifier) instead.</item>

GetDatabaseMigrationSqlDBs(ResourceGroupResource)

Gets a collection of DatabaseMigrationSqlDBResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetDatabaseMigrationSqlDBs() instead.</item>

GetDatabaseMigrationSqlMI(ResourceGroupResource, String, String, Nullable<Guid>, String, CancellationToken)

Retrieve the specified database migration for a given SQL Managed Instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlMi_Get
  • Default Api Version: 2022-03-30-preview
  • Resource: DatabaseMigrationSqlMIResource
<item>MockingTo mock this method, please mock GetDatabaseMigrationSqlMI(String, String, Nullable<Guid>, String, CancellationToken) instead.</item>
GetDatabaseMigrationSqlMIAsync(ResourceGroupResource, String, String, Nullable<Guid>, String, CancellationToken)

Retrieve the specified database migration for a given SQL Managed Instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlMi_Get
  • Default Api Version: 2022-03-30-preview
  • Resource: DatabaseMigrationSqlMIResource
<item>MockingTo mock this method, please mock GetDatabaseMigrationSqlMIAsync(String, String, Nullable<Guid>, String, CancellationToken) instead.</item>
GetDatabaseMigrationSqlMIResource(ArmClient, ResourceIdentifier)

Gets an object representing a DatabaseMigrationSqlMIResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DatabaseMigrationSqlMIResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDatabaseMigrationSqlMIResource(ResourceIdentifier) instead.</item>

GetDatabaseMigrationSqlMIs(ResourceGroupResource)

Gets a collection of DatabaseMigrationSqlMIResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetDatabaseMigrationSqlMIs() instead.</item>

GetDatabaseMigrationSqlVm(ResourceGroupResource, String, String, Nullable<Guid>, String, CancellationToken)

Retrieve the specified database migration for a given SQL VM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlVm_Get
  • Default Api Version: 2022-03-30-preview
  • Resource: DatabaseMigrationSqlVmResource
<item>MockingTo mock this method, please mock GetDatabaseMigrationSqlVm(String, String, Nullable<Guid>, String, CancellationToken) instead.</item>
GetDatabaseMigrationSqlVmAsync(ResourceGroupResource, String, String, Nullable<Guid>, String, CancellationToken)

Retrieve the specified database migration for a given SQL VM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlVm_Get
  • Default Api Version: 2022-03-30-preview
  • Resource: DatabaseMigrationSqlVmResource
<item>MockingTo mock this method, please mock GetDatabaseMigrationSqlVmAsync(String, String, Nullable<Guid>, String, CancellationToken) instead.</item>
GetDatabaseMigrationSqlVmResource(ArmClient, ResourceIdentifier)

Gets an object representing a DatabaseMigrationSqlVmResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DatabaseMigrationSqlVmResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDatabaseMigrationSqlVmResource(ResourceIdentifier) instead.</item>

GetDatabaseMigrationSqlVms(ResourceGroupResource)

Gets a collection of DatabaseMigrationSqlVmResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetDatabaseMigrationSqlVms() instead.</item>

GetDataMigrationService(ResourceGroupResource, String, CancellationToken)

The services resource is the top-level resource that represents the Database Migration Service. The GET method retrieves information about a service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2022-03-30-preview
  • Resource: DataMigrationServiceResource
<item>MockingTo mock this method, please mock GetDataMigrationService(String, CancellationToken) instead.</item>
GetDataMigrationServiceAsync(ResourceGroupResource, String, CancellationToken)

The services resource is the top-level resource that represents the Database Migration Service. The GET method retrieves information about a service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2022-03-30-preview
  • Resource: DataMigrationServiceResource
<item>MockingTo mock this method, please mock GetDataMigrationServiceAsync(String, CancellationToken) instead.</item>
GetDataMigrationServiceResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataMigrationServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DataMigrationServiceResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDataMigrationServiceResource(ResourceIdentifier) instead.</item>

GetDataMigrationServices(ResourceGroupResource)

Gets a collection of DataMigrationServiceResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetDataMigrationServices() instead.</item>

GetDataMigrationServices(SubscriptionResource, CancellationToken)

The services resource is the top-level resource that represents the Database Migration Service. This method returns a list of service resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services
  • Operation Id: Services_List
  • Default Api Version: 2022-03-30-preview
  • Resource: DataMigrationServiceResource
<item>MockingTo mock this method, please mock GetDataMigrationServices(CancellationToken) instead.</item>
GetDataMigrationServicesAsync(SubscriptionResource, CancellationToken)

The services resource is the top-level resource that represents the Database Migration Service. This method returns a list of service resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services
  • Operation Id: Services_List
  • Default Api Version: 2022-03-30-preview
  • Resource: DataMigrationServiceResource
<item>MockingTo mock this method, please mock GetDataMigrationServices(CancellationToken) instead.</item>
GetProjectFileResource(ArmClient, ResourceIdentifier)

Gets an object representing a ProjectFileResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a ProjectFileResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetProjectFileResource(ResourceIdentifier) instead.</item>

GetProjectResource(ArmClient, ResourceIdentifier)

Gets an object representing a ProjectResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ProjectResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetProjectResource(ResourceIdentifier) instead.</item>

GetServiceProjectTaskResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceProjectTaskResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a ServiceProjectTaskResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceProjectTaskResource(ResourceIdentifier) instead.</item>

GetServiceServiceTaskResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceServiceTaskResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ServiceServiceTaskResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceServiceTaskResource(ResourceIdentifier) instead.</item>

GetSkusResourceSkus(SubscriptionResource, CancellationToken)

The skus action returns the list of SKUs that DMS supports.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus
  • Operation Id: ResourceSkus_ListSkus
  • Default Api Version: 2022-03-30-preview
<item>MockingTo mock this method, please mock GetSkusResourceSkus(CancellationToken) instead.</item>
GetSkusResourceSkusAsync(SubscriptionResource, CancellationToken)

The skus action returns the list of SKUs that DMS supports.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus
  • Operation Id: ResourceSkus_ListSkus
  • Default Api Version: 2022-03-30-preview
<item>MockingTo mock this method, please mock GetSkusResourceSkus(CancellationToken) instead.</item>
GetSqlMigrationService(ResourceGroupResource, String, CancellationToken)

Retrieve the Database Migration Service

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
  • Operation Id: SqlMigrationServices_Get
  • Default Api Version: 2022-03-30-preview
  • Resource: SqlMigrationServiceResource
<item>MockingTo mock this method, please mock GetSqlMigrationService(String, CancellationToken) instead.</item>
GetSqlMigrationServiceAsync(ResourceGroupResource, String, CancellationToken)

Retrieve the Database Migration Service

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
  • Operation Id: SqlMigrationServices_Get
  • Default Api Version: 2022-03-30-preview
  • Resource: SqlMigrationServiceResource
<item>MockingTo mock this method, please mock GetSqlMigrationServiceAsync(String, CancellationToken) instead.</item>
GetSqlMigrationServiceResource(ArmClient, ResourceIdentifier)

Gets an object representing a SqlMigrationServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SqlMigrationServiceResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetSqlMigrationServiceResource(ResourceIdentifier) instead.</item>

GetSqlMigrationServices(ResourceGroupResource)

Gets a collection of SqlMigrationServiceResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetSqlMigrationServices() instead.</item>

GetSqlMigrationServices(SubscriptionResource, CancellationToken)

Retrieve all SQL migration services in the subscriptions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices
  • Operation Id: SqlMigrationServices_ListBySubscription
  • Default Api Version: 2022-03-30-preview
  • Resource: SqlMigrationServiceResource
<item>MockingTo mock this method, please mock GetSqlMigrationServices(CancellationToken) instead.</item>
GetSqlMigrationServicesAsync(SubscriptionResource, CancellationToken)

Retrieve all SQL migration services in the subscriptions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices
  • Operation Id: SqlMigrationServices_ListBySubscription
  • Default Api Version: 2022-03-30-preview
  • Resource: SqlMigrationServiceResource
<item>MockingTo mock this method, please mock GetSqlMigrationServices(CancellationToken) instead.</item>
GetUsages(SubscriptionResource, AzureLocation, CancellationToken)

This method returns region-specific quotas and resource usage information for the Database Migration Service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages
  • Operation Id: Usages_List
  • Default Api Version: 2022-03-30-preview
<item>MockingTo mock this method, please mock GetUsages(AzureLocation, CancellationToken) instead.</item>
GetUsagesAsync(SubscriptionResource, AzureLocation, CancellationToken)

This method returns region-specific quotas and resource usage information for the Database Migration Service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages
  • Operation Id: Usages_List
  • Default Api Version: 2022-03-30-preview
<item>MockingTo mock this method, please mock GetUsages(AzureLocation, CancellationToken) instead.</item>

Applies to