SqlServerKeyCollection.GetAll(CancellationToken) Method

Definition

Gets a list of server keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/keys
  • Operation Id: ServerKeys_ListByServer
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerKeyResource
public virtual Azure.Pageable<Azure.ResourceManager.Sql.SqlServerKeyResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerKeyResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerKeyResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlServerKeyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SqlServerKeyResource that may take multiple service requests to iterate over.

Applies to