共用方式為


ServiceBusNamespaceResource.GetMigrationConfigurationAsync Method

Definition

Retrieves Migration Config

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}
  • Operation Id: MigrationConfigs_Get
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.MigrationConfigurationResource>> GetMigrationConfigurationAsync (Azure.ResourceManager.ServiceBus.Models.MigrationConfigurationName configName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMigrationConfigurationAsync : Azure.ResourceManager.ServiceBus.Models.MigrationConfigurationName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.MigrationConfigurationResource>>
override this.GetMigrationConfigurationAsync : Azure.ResourceManager.ServiceBus.Models.MigrationConfigurationName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.MigrationConfigurationResource>>
Public Overridable Function GetMigrationConfigurationAsync (configName As MigrationConfigurationName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MigrationConfigurationResource))

Parameters

configName
MigrationConfigurationName

The configuration name. Should always be "$default".

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to