ManagedInstanceResource.GetSqlServerTrustGroups(CancellationToken) 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.Pageable<Azure.ResourceManager.Sql.SqlServerTrustGroupResource> GetSqlServerTrustGroups (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlServerTrustGroups : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerTrustGroupResource>
override this.GetSqlServerTrustGroups : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerTrustGroupResource>
Public Overridable Function GetSqlServerTrustGroups (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlServerTrustGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to