Share via


MockableAdvisorSubscriptionResource.GetConfigurationsAsync Method

Definition

Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations
  • Operation Id: Configurations_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.Advisor.Models.ConfigData> GetConfigurationsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetConfigurationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Advisor.Models.ConfigData>
override this.GetConfigurationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Advisor.Models.ConfigData>
Public Overridable Function GetConfigurationsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ConfigData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to