Language

MockableMonitorSubscriptionResource.GetAutoscaleSettingsAsync Method

Definition

Lists the autoscale settings for a subscription

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Insights/autoscalesettings.
  • Operation Id. : AutoscaleSettingResources_ListBySubscription.
  • Default Api Version. : 2025-09-01-preview.
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

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

Applies to