Compartilhar via


DataMigrationExtensions.GetSqlMigrationServices Método

Definição

Sobrecargas

GetSqlMigrationServices(ResourceGroupResource)

Obtém uma coleção de SqlMigrationServiceResources no ResourceGroupResource.

GetSqlMigrationServices(SubscriptionResource, CancellationToken)

Recupere todos os serviços de migração do SQL nas assinaturas.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices
  • Operação IdSqlMigrationServices_ListBySubscription

GetSqlMigrationServices(ResourceGroupResource)

Obtém uma coleção de SqlMigrationServiceResources no ResourceGroupResource.

public static Azure.ResourceManager.DataMigration.SqlMigrationServiceCollection GetSqlMigrationServices (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetSqlMigrationServices : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DataMigration.SqlMigrationServiceCollection
<Extension()>
Public Function GetSqlMigrationServices (resourceGroupResource As ResourceGroupResource) As SqlMigrationServiceCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

Retornos

Um objeto que representa uma coleção de SqlMigrationServiceResources e suas operações em um SqlMigrationServiceResource.

Aplica-se a

GetSqlMigrationServices(SubscriptionResource, CancellationToken)

Recupere todos os serviços de migração do SQL nas assinaturas.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices
  • Operação IdSqlMigrationServices_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.DataMigration.SqlMigrationServiceResource> GetSqlMigrationServices (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSqlMigrationServices : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.SqlMigrationServiceResource>
<Extension()>
Public Function GetSqlMigrationServices (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlMigrationServiceResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de SqlMigrationServiceResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a