Share via


ManagedInstanceResource.GetSqlServerTrustGroupsAsync Method

Definition

Gets a server trust groups by instance name.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to