Поделиться через


ApiCenterWorkspaceCollection.GetAllAsync(String, CancellationToken) Method

Definition

Returns a collection of workspaces.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces
  • Operation Id: Workspaces_List
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterWorkspaceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiCenter.ApiCenterWorkspaceResource> GetAllAsync(string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiCenter.ApiCenterWorkspaceResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiCenter.ApiCenterWorkspaceResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApiCenterWorkspaceResource)

Parameters

filter
String

OData filter parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to