Partager via


ServicesOperationsExtensions.GetAsync Méthode

Définition

Obtenir un service et ses propriétés.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.ServiceResource> GetAsync (this Microsoft.Azure.Management.AppPlatform.IServicesOperations operations, string resourceGroupName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.AppPlatform.IServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.ServiceResource>
<Extension()>
Public Function GetAsync (operations As IServicesOperations, resourceGroupName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServiceResource)

Paramètres

operations
IServicesOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName
String

Nom de la ressource service.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à