Partager via


AppPlatformServiceResource.GetAppPlatformServiceRegistryAsync Méthode

Définition

Obtenez le Registre de services et ses propriétés.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/serviceRegistries/{serviceRegistryName}
  • IdServiceRegistries_Get d’opération
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))

Paramètres

serviceRegistryName
String

Nom de Service Registry.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

serviceRegistryName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

serviceRegistryName a la valeur null.

S’applique à