MockableMonitorSubscriptionResource.GetAutoscaleSettingsAsync 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.
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.