AutoscaleSettingCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the autoscale settings for a resource group

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings
  • Operation Id: AutoscaleSettings_ListByResourceGroup
  • Default Api Version: 2022-10-01
  • Resource: AutoscaleSettingResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.AutoscaleSettingResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.AutoscaleSettingResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.AutoscaleSettingResource>
Public Overridable Function GetAllAsync (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