共用方式為


DatadogMonitorResource.GetLinkedResources(CancellationToken) Method

Definition

List all Azure resources associated to the same Datadog organization as the target resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listLinkedResources
  • Operation Id: Monitors_ListLinkedResources
public virtual Azure.Pageable<Azure.ResourceManager.Resources.Models.SubResource> GetLinkedResources (System.Threading.CancellationToken cancellationToken = default);
abstract member GetLinkedResources : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.SubResource>
override this.GetLinkedResources : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.SubResource>
Public Overridable Function GetLinkedResources (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SubResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SubResource that may take multiple service requests to iterate over.

Applies to