Compartilhar via


FrontDoorNetworkExperimentProfileResource.GetFrontDoorExperimentAsync Método

Definição

Obtém um experimento por ExperimentName

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}
  • IdExperiments_Get de operação
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

O identificador de experimento associado ao Experimento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

experimentName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

experimentName é nulo.

Aplica-se a