共用方式為


SapMonitorCollection.GetAllAsync(CancellationToken) Method

Definition

Gets a list of SAP monitors in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors
  • Operation Id: monitors_ListByResourceGroup
  • Default Api Version: 2023-04-01
  • Resource: SapMonitorResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Workloads.SapMonitorResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Workloads.SapMonitorResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Workloads.SapMonitorResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SapMonitorResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to