Share via


AllowedEnvironmentTypeCollection.GetAll Method

Definition

Lists allowed environment types for a project.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/allowedEnvironmentTypes
  • Operation Id: ProjectAllowedEnvironmentTypes_List
public virtual Azure.Pageable<Azure.ResourceManager.DevCenter.AllowedEnvironmentTypeResource> GetAll (int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DevCenter.AllowedEnvironmentTypeResource>
override this.GetAll : Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DevCenter.AllowedEnvironmentTypeResource>
Public Overridable Function GetAll (Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AllowedEnvironmentTypeResource)

Parameters

top
Nullable<Int32>

The maximum number of resources to return from the operation. Example: '$top=10'.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of AllowedEnvironmentTypeResource that may take multiple service requests to iterate over.

Applies to