Share via


DevCenterProjectEnvironmentCollection.GetAllAsync Method

Definition

Lists environment types for a project.

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

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

An async collection of DevCenterProjectEnvironmentResource that may take multiple service requests to iterate over.

Applies to