Partilhar via


FrontDoorExperimentCollection.GetAsync(String, CancellationToken) 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>> GetAsync (string experimentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.FrontDoorExperimentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.FrontDoorExperimentResource>>
Public Overridable Function GetAsync (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