Partilhar via


DevCenterProjectResource.GetAllowedEnvironmentType Método

Definição

Obtém um tipo de ambiente permitido.

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

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