Share via


ManagedInstanceServerTrustCertificateCollection.GetAllAsync Method

Definition

Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to