Partilhar via


DevCenterResource.GetDevCenterEnvironmentTypeAsync Método

Definição

Obtém um tipo de ambiente.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes/{environmentTypeName}
  • Operação IdEnvironmentTypes_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.DevCenterEnvironmentTypeResource>> GetDevCenterEnvironmentTypeAsync (string environmentTypeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDevCenterEnvironmentTypeAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.DevCenterEnvironmentTypeResource>>
override this.GetDevCenterEnvironmentTypeAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.DevCenterEnvironmentTypeResource>>
Public Overridable Function GetDevCenterEnvironmentTypeAsync (environmentTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevCenterEnvironmentTypeResource))

Parâmetros

environmentTypeName
String

O nome do tipo de ambiente.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

environmentTypeName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

environmentTypeName é nulo.

Aplica-se a