共用方式為


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to