MockableMonitorSubscriptionResource.GetAutoscaleSettings 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.Pageable<Azure.ResourceManager.Monitor.AutoscaleSettingResource> GetAutoscaleSettings (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAutoscaleSettings : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.AutoscaleSettingResource>
override this.GetAutoscaleSettings : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.AutoscaleSettingResource>
Public Overridable Function GetAutoscaleSettings (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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