Share via


ManagedServerDnsAliasCollection.GetAll(CancellationToken) Method

Definition

Gets a list of managed server DNS aliases for a managed server.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to