AppPlatformServiceResource.GetAppPlatformServiceRegistryAsync Método

Definição

Obtenha o Registro de Serviço e suas propriedades.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/serviceRegistries/{serviceRegistryName}
  • Operação IdServiceRegistries_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource>> GetAppPlatformServiceRegistryAsync (string serviceRegistryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppPlatformServiceRegistryAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource>>
override this.GetAppPlatformServiceRegistryAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource>>
Public Overridable Function GetAppPlatformServiceRegistryAsync (serviceRegistryName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformServiceRegistryResource))

Parâmetros

serviceRegistryName
String

O nome do Registro de Serviço.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

serviceRegistryName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

serviceRegistryName é nulo.

Aplica-se a