DynatraceMonitorResource.GetAppServicesAsync(CancellationToken) 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.
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.