Share via


ApiCenterEnvironmentCollection.GetAllAsync(String, CancellationToken) Method

Definition

Returns a collection of environments.

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

Parameters

filter
String

OData filter parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to