Share via


DynatraceMonitorResource.GetLinkableEnvironmentsAsync Method

Definition

Gets all the Dynatrace environments that a user can link a azure resource to

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

Parameters

content
LinkableEnvironmentContent

The details of the linkable environment request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

content is null.

Applies to