Compartir a través de


AllowedEnvironmentTypeCollection.Get(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 Azure.Response<Azure.ResourceManager.DevCenter.AllowedEnvironmentTypeResource> Get (string environmentTypeName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.AllowedEnvironmentTypeResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.AllowedEnvironmentTypeResource>
Public Overridable Function Get (environmentTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As 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