Partager via


ExperimentsOperationsExtensions.GetAsync Méthode

Définition

Obtenir une ressource Experiment.

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

Paramètres

operations
IExperimentsOperations

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

resourceGroupName
String

Chaîne qui représente un groupe de ressources Azure.

experimentName
String

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

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à