Partilhar via


DevTestLabResource.GetDevTestLabServiceRunnerAsync Método

Definição

Obtenha o executor de serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
  • IdServiceRunners_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabServiceRunnerResource>> GetDevTestLabServiceRunnerAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDevTestLabServiceRunnerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabServiceRunnerResource>>
override this.GetDevTestLabServiceRunnerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabServiceRunnerResource>>
Public Overridable Function GetDevTestLabServiceRunnerAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevTestLabServiceRunnerResource))

Parâmetros

name
String

O nome do executor de serviço.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

name é nulo.

Aplica-se a