共用方式為


DynatraceMonitorResource.GetAppServicesAsync(CancellationToken) Method

Definition

Gets list of App Services with Dynatrace PaaS OneAgent enabled

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listAppServices
  • Operation Id: Monitors_ListAppServices
public virtual Azure.AsyncPageable<Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentEnabledAppServiceInfo> GetAppServicesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentEnabledAppServiceInfo>
override this.GetAppServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentEnabledAppServiceInfo>
Public Overridable Function GetAppServicesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DynatraceOneAgentEnabledAppServiceInfo)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to