Compartir a través de


FrontDoorNetworkExperimentProfileResource.GetFrontDoorExperimentAsync Método

Definición

Obtiene un experimento por ExperimentName.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}
  • IdExperiments_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.FrontDoorExperimentResource>> GetFrontDoorExperimentAsync (string experimentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFrontDoorExperimentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.FrontDoorExperimentResource>>
override this.GetFrontDoorExperimentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.FrontDoorExperimentResource>>
Public Overridable Function GetFrontDoorExperimentAsync (experimentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FrontDoorExperimentResource))

Parámetros

experimentName
String

Identificador del experimento asociado al experimento.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

experimentName es una cadena vacía y se esperaba que no estuviera vacía.

experimentName es null.

Se aplica a