Partilhar via


DevCenterProjectResource.GetDevCenterProjectEnvironmentAsync Método

Definição

Obtém um tipo de ambiente de projeto.

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

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 era esperado que não estivesse vazio.

environmentTypeName é nulo.

Aplica-se a