Compartilhar via


AppPlatformServiceRegistryCollection.GetAsync 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>> GetAsync (string serviceRegistryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource>>
Public Overridable Function GetAsync (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