Partilhar via


DevCenterProjectResource.GetDevCenterProjectEnvironment 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}
  • Operação IdProjectEnvironmentTypes_Get
public virtual Azure.Response<Azure.ResourceManager.DevCenter.DevCenterProjectEnvironmentResource> GetDevCenterProjectEnvironment (string environmentTypeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDevCenterProjectEnvironment : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.DevCenterProjectEnvironmentResource>
override this.GetDevCenterProjectEnvironment : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.DevCenterProjectEnvironmentResource>
Public Overridable Function GetDevCenterProjectEnvironment (environmentTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 esperava-se que não estivesse vazia.

environmentTypeName é nulo.

Aplica-se a