共用方式為


ProjectDevBoxDefinitionCollection.GetAll Method

Definition

List Dev Box definitions configured for a project.

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

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 ProjectDevBoxDefinitionResource that may take multiple service requests to iterate over.

Applies to