Partager via


CapabilityTypesOperationsExtensions.GetAsync Méthode

Définition

Obtenez une ressource de type de capacité pour le type cible et l’emplacement donnés.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.CapabilityType> GetAsync (this Microsoft.Azure.Management.Chaos.ICapabilityTypesOperations operations, string locationName, string targetTypeName, string capabilityTypeName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Chaos.ICapabilityTypesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.CapabilityType>
<Extension()>
Public Function GetAsync (operations As ICapabilityTypesOperations, locationName As String, targetTypeName As String, capabilityTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CapabilityType)

Paramètres

operations
ICapabilityTypesOperations

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

locationName
String

Chaîne qui représente un nom de ressource Location.

targetTypeName
String

Chaîne qui représente un nom de ressource type cible.

capabilityTypeName
String

Chaîne qui représente un nom de ressource de type de capacité.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à