Compartir a través de


ExperimentsOperationsExtensions.GetAsync Método

Definición

Obtener un 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

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Cadena que representa un grupo de recursos de Azure.

experimentName
String

Cadena que representa un nombre de recurso de experimento.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a