ManagedInstanceKeyCollection.GetAllAsync(String, CancellationToken) Method

Definition

Gets a list of managed instance keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys
  • Operation Id: ManagedInstanceKeys_ListByInstance
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceKeyResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceKeyResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceKeyResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagedInstanceKeyResource)

Parameters

filter
String

An OData filter expression that filters elements in the collection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to