PolicyInsightsExtensions.GetPolicyTrackedResourceQueryResultsAsync Methode

Definition

Überlädt

GetPolicyTrackedResourceQueryResultsAsync(SubscriptionResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Fragt die nachverfolgten Ressourcen der Richtlinie unter dem Abonnement ab.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • Vorgang IdPolicyTrackedResources_ListQueryResultsForSubscription
GetPolicyTrackedResourceQueryResultsAsync(ArmClient, ResourceIdentifier, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Fragt richtliniennachverfolgungsressourcen unter der Ressource ab.

  • Anforderungspfad/{resourceId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResources}/queryResults
  • Vorgang IdPolicyTrackedResources_ListQueryResultsForResource
GetPolicyTrackedResourceQueryResultsAsync(ManagementGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Fragt richtliniennachverfolgungsressourcen unter der Verwaltungsgruppe ab.

  • Request Path/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • Vorgang IdPolicyTrackedResources_ListQueryResultsForManagementGroup
GetPolicyTrackedResourceQueryResultsAsync(ResourceGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Fragt richtliniennachverfolgungsressourcen unter der Ressourcengruppe ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • Vorgang IdPolicyTrackedResources_ListQueryResultsForResourceGroup

GetPolicyTrackedResourceQueryResultsAsync(SubscriptionResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Fragt die nachverfolgten Ressourcen der Richtlinie unter dem Abonnement ab.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • Vorgang IdPolicyTrackedResources_ListQueryResultsForSubscription
public static Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord> GetPolicyTrackedResourceQueryResultsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType policyTrackedResourceType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyTrackedResourceQueryResultsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord>
<Extension()>
Public Function GetPolicyTrackedResourceQueryResultsAsync (subscriptionResource As SubscriptionResource, policyTrackedResourceType As PolicyTrackedResourceType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PolicyTrackedResourceRecord)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

policyTrackedResourceType
PolicyTrackedResourceType

Der Name der virtuellen Ressource unter dem Ressourcentyp PolicyTrackedResources; nur "standard" ist zulässig.

policyQuerySettings
PolicyQuerySettings

Parametergruppe.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der PolicyTrackedResourceRecord mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Gilt für:

GetPolicyTrackedResourceQueryResultsAsync(ArmClient, ResourceIdentifier, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Fragt richtliniennachverfolgungsressourcen unter der Ressource ab.

  • Anforderungspfad/{resourceId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResources}/queryResults
  • Vorgang IdPolicyTrackedResources_ListQueryResultsForResource
public static Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord> GetPolicyTrackedResourceQueryResultsAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType policyTrackedResourceType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyTrackedResourceQueryResultsAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord>
<Extension()>
Public Function GetPolicyTrackedResourceQueryResultsAsync (client As ArmClient, scope As ResourceIdentifier, policyTrackedResourceType As PolicyTrackedResourceType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PolicyTrackedResourceRecord)

Parameter

client
ArmClient

Der ArmClient instance, für den die Methode ausgeführt wird.

scope
ResourceIdentifier

Der Bereich, für den die Ressource gilt.

policyTrackedResourceType
PolicyTrackedResourceType

Der Name der virtuellen Ressource unter dem Ressourcentyp PolicyTrackedResources; nur "standard" ist zulässig.

policyQuerySettings
PolicyQuerySettings

Parametergruppe.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für:

GetPolicyTrackedResourceQueryResultsAsync(ManagementGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Fragt richtliniennachverfolgungsressourcen unter der Verwaltungsgruppe ab.

  • Request Path/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • Vorgang IdPolicyTrackedResources_ListQueryResultsForManagementGroup
public static Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord> GetPolicyTrackedResourceQueryResultsAsync (this Azure.ResourceManager.ManagementGroups.ManagementGroupResource managementGroupResource, Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType policyTrackedResourceType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyTrackedResourceQueryResultsAsync : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord>
<Extension()>
Public Function GetPolicyTrackedResourceQueryResultsAsync (managementGroupResource As ManagementGroupResource, policyTrackedResourceType As PolicyTrackedResourceType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PolicyTrackedResourceRecord)

Parameter

managementGroupResource
ManagementGroupResource

Der ManagementGroupResource instance, für den die Methode ausgeführt wird.

policyTrackedResourceType
PolicyTrackedResourceType

Der Name der virtuellen Ressource unter dem Ressourcentyp PolicyTrackedResources; nur "standard" ist zulässig.

policyQuerySettings
PolicyQuerySettings

Parametergruppe.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der PolicyTrackedResourceRecord mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Gilt für:

GetPolicyTrackedResourceQueryResultsAsync(ResourceGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Fragt richtliniennachverfolgungsressourcen unter der Ressourcengruppe ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • Vorgang IdPolicyTrackedResources_ListQueryResultsForResourceGroup
public static Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord> GetPolicyTrackedResourceQueryResultsAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType policyTrackedResourceType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyTrackedResourceQueryResultsAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord>
<Extension()>
Public Function GetPolicyTrackedResourceQueryResultsAsync (resourceGroupResource As ResourceGroupResource, policyTrackedResourceType As PolicyTrackedResourceType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PolicyTrackedResourceRecord)

Parameter

resourceGroupResource
ResourceGroupResource

Der ResourceGroupResource instance, für den die Methode ausgeführt wird.

policyTrackedResourceType
PolicyTrackedResourceType

Der Name der virtuellen Ressource unter dem Ressourcentyp PolicyTrackedResources; nur "standard" ist zulässig.

policyQuerySettings
PolicyQuerySettings

Parametergruppe.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der PolicyTrackedResourceRecord mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Gilt für: