Compartilhar via


ExperimentsOperationsExtensions.GetAsync Método

Definição

Obter um recurso de experimento.

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)

Parâmetros

operations
IExperimentsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Cadeia de caracteres que representa um grupo de recursos do Azure.

experimentName
String

Cadeia de caracteres que representa um nome de recurso de experimento.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a