Share via


AnalysisExtensions.GetAnalysisServersAsync Method

Definition

Lists all the Analysis Services servers for the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/servers
  • Operation Id: Servers_List
public static Azure.AsyncPageable<Azure.ResourceManager.Analysis.AnalysisServerResource> GetAnalysisServersAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAnalysisServersAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Analysis.AnalysisServerResource>
<Extension()>
Public Function GetAnalysisServersAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AnalysisServerResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to