Share via


ServiceWorkspaceNamedValueCollection.GetAllAsync Method

Definition

Lists a collection of named values defined within a workspace in a service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues
  • Operation Id: WorkspaceNamedValue_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceNamedValueResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ServiceWorkspaceNamedValueResource> GetAllAsync (string filter = default, int? top = default, int? skip = default, Azure.ResourceManager.ApiManagement.Models.KeyVaultRefreshState? isKeyVaultRefreshFailed = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ApiManagement.Models.KeyVaultRefreshState> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ServiceWorkspaceNamedValueResource>
override this.GetAllAsync : string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ApiManagement.Models.KeyVaultRefreshState> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ServiceWorkspaceNamedValueResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional isKeyVaultRefreshFailed As Nullable(Of KeyVaultRefreshState) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceWorkspaceNamedValueResource)

Parameters

filter
String

| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| tags | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith, any, all |</br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>.

top
Nullable<Int32>

Number of records to return.

skip
Nullable<Int32>

Number of records to skip.

isKeyVaultRefreshFailed
Nullable<KeyVaultRefreshState>

Query parameter to fetch named value entities based on refresh status.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to