Share via


MockableMonitorSubscriptionResource.GetAutoscaleSettingsAsync Method

Definition

Lists the autoscale settings for a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/autoscalesettings
  • Operation Id: AutoscaleSettings_ListBySubscription
  • Default Api Version: 2022-10-01
  • Resource: AutoscaleSettingResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.AutoscaleSettingResource> GetAutoscaleSettingsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAutoscaleSettingsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.AutoscaleSettingResource>
override this.GetAutoscaleSettingsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.AutoscaleSettingResource>
Public Overridable Function GetAutoscaleSettingsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AutoscaleSettingResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to