共用方式為


DevBoxDefinitionCollection.GetAll Method

Definition

List Dev Box definitions for a devcenter.

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

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

Applies to