Udostępnij za pośrednictwem


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
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
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
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
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. MockingTo mock this method, please mock GetDatabaseMigrationSqlDBResource(ResourceIdentifier) instead.

GetDatabaseMigrationSqlDBs(ResourceGroupResource)

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

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
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
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. MockingTo mock this method, please mock GetDatabaseMigrationSqlMIResource(ResourceIdentifier) instead.

GetDatabaseMigrationSqlMIs(ResourceGroupResource)

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

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
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
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. MockingTo mock this method, please mock GetDatabaseMigrationSqlVmResource(ResourceIdentifier) instead.

GetDatabaseMigrationSqlVms(ResourceGroupResource)

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

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
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
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. MockingTo mock this method, please mock GetDataMigrationServiceResource(ResourceIdentifier) instead.

GetDataMigrationServices(ResourceGroupResource)

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

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
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
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. MockingTo mock this method, please mock GetProjectFileResource(ResourceIdentifier) instead.

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. MockingTo mock this method, please mock GetProjectResource(ResourceIdentifier) instead.

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. MockingTo mock this method, please mock GetServiceProjectTaskResource(ResourceIdentifier) instead.

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. MockingTo mock this method, please mock GetServiceServiceTaskResource(ResourceIdentifier) instead.

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
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
GetSqlMigrationService(ResourceGroupResource, String, CancellationToken)

Retrieve the Database Migration Service

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
  • Operation Id: SqlMigrationServices_Get
GetSqlMigrationServiceAsync(ResourceGroupResource, String, CancellationToken)

Retrieve the Database Migration Service

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
  • Operation Id: SqlMigrationServices_Get
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. MockingTo mock this method, please mock GetSqlMigrationServiceResource(ResourceIdentifier) instead.

GetSqlMigrationServices(ResourceGroupResource)

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

GetSqlMigrationServices(SubscriptionResource, CancellationToken)

Retrieve all SQL migration services in the subscriptions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices
  • Operation Id: SqlMigrationServices_ListBySubscription
GetSqlMigrationServicesAsync(SubscriptionResource, CancellationToken)

Retrieve all SQL migration services in the subscriptions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices
  • Operation Id: SqlMigrationServices_ListBySubscription
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
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

Applies to