Compartir a través de


AllowedEnvironmentTypeCollection.GetAsync(String, CancellationToken) Método

Definición

Obtiene un tipo de entorno permitido.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/allowedEnvironmentTypes/{environmentTypeName}
  • IdProjectAllowedEnvironmentTypes_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.AllowedEnvironmentTypeResource>> GetAsync (string environmentTypeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.AllowedEnvironmentTypeResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.AllowedEnvironmentTypeResource>>
Public Overridable Function GetAsync (environmentTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AllowedEnvironmentTypeResource))

Parámetros

environmentTypeName
String

Nombre del tipo de entorno.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

environmentTypeName es una cadena vacía y se espera que no esté vacía.

environmentTypeName es null.

Se aplica a