AnalysisExtensions.GetAnalysisServers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAnalysisServers(ResourceGroupResource) |
Gets a collection of AnalysisServerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAnalysisServers() instead. |
GetAnalysisServers(SubscriptionResource, CancellationToken) |
Lists all the Analysis Services servers for the given subscription.
|
GetAnalysisServers(ResourceGroupResource)
- Source:
- AnalysisExtensions.cs
- Source:
- AnalysisExtensions.cs
Gets a collection of AnalysisServerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAnalysisServers() instead.
public static Azure.ResourceManager.Analysis.AnalysisServerCollection GetAnalysisServers (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAnalysisServers : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Analysis.AnalysisServerCollection
<Extension()>
Public Function GetAnalysisServers (resourceGroupResource As ResourceGroupResource) As AnalysisServerCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of AnalysisServerResources and their operations over a AnalysisServerResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetAnalysisServers(SubscriptionResource, CancellationToken)
- Source:
- AnalysisExtensions.cs
- Source:
- AnalysisExtensions.cs
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.Pageable<Azure.ResourceManager.Analysis.AnalysisServerResource> GetAnalysisServers (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAnalysisServers : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Analysis.AnalysisServerResource>
<Extension()>
Public Function GetAnalysisServers (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AnalysisServerResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of AnalysisServerResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET