Partager via


PolicyInsightsExtensions.GetPolicyTrackedResourceQueryResults Méthode

Définition

Surcharges

GetPolicyTrackedResourceQueryResults(ManagementGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Interroge les ressources suivies par la stratégie sous le groupe d’administration.

  • Chemin de la requête/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • IdPolicyTrackedResources_ListQueryResultsForManagementGroup d’opération
GetPolicyTrackedResourceQueryResults(ResourceGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Interroge les ressources suivies par la stratégie sous le groupe de ressources.

  • Chemin de requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResources}/queryResults
  • IdPolicyTrackedResources_ListQueryResultsForResourceGroup d’opération
GetPolicyTrackedResourceQueryResults(SubscriptionResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Interroge les ressources suivies par la stratégie sous l’abonnement.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • IdPolicyTrackedResources_ListQueryResultsForSubscription d’opération
GetPolicyTrackedResourceQueryResults(ArmClient, ResourceIdentifier, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Interroge les ressources suivies par la stratégie sous la ressource.

  • Chemin de la requête/{resourceId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • IdPolicyTrackedResources_ListQueryResultsForResource d’opération

GetPolicyTrackedResourceQueryResults(ManagementGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Interroge les ressources suivies par la stratégie sous le groupe d’administration.

  • Chemin de la requête/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • IdPolicyTrackedResources_ListQueryResultsForManagementGroup d’opération
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord> GetPolicyTrackedResourceQueryResults (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 GetPolicyTrackedResourceQueryResults : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord>
<Extension()>
Public Function GetPolicyTrackedResourceQueryResults (managementGroupResource As ManagementGroupResource, policyTrackedResourceType As PolicyTrackedResourceType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyTrackedResourceRecord)

Paramètres

managementGroupResource
ManagementGroupResource

Instance ManagementGroupResource sur laquelle la méthode s’exécute.

policyTrackedResourceType
PolicyTrackedResourceType

Nom de la ressource virtuelle sous PolicyTrackedResources, type de ressource ; seule la valeur par défaut est autorisée.

policyQuerySettings
PolicyQuerySettings

Groupe de paramètres.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection de PolicyTrackedResourceRecord qui peut nécessiter plusieurs demandes de service pour itérer.

S’applique à

GetPolicyTrackedResourceQueryResults(ResourceGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Interroge les ressources suivies par la stratégie sous le groupe de ressources.

  • Chemin de requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResources}/queryResults
  • IdPolicyTrackedResources_ListQueryResultsForResourceGroup d’opération
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord> GetPolicyTrackedResourceQueryResults (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 GetPolicyTrackedResourceQueryResults : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord>
<Extension()>
Public Function GetPolicyTrackedResourceQueryResults (resourceGroupResource As ResourceGroupResource, policyTrackedResourceType As PolicyTrackedResourceType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyTrackedResourceRecord)

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

policyTrackedResourceType
PolicyTrackedResourceType

Nom de la ressource virtuelle sous PolicyTrackedResources, type de ressource ; seule la valeur par défaut est autorisée.

policyQuerySettings
PolicyQuerySettings

Groupe de paramètres.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection de PolicyTrackedResourceRecord qui peut nécessiter plusieurs demandes de service pour itérer.

S’applique à

GetPolicyTrackedResourceQueryResults(SubscriptionResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken)

Interroge les ressources suivies par la stratégie sous l’abonnement.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • IdPolicyTrackedResources_ListQueryResultsForSubscription d’opération
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord> GetPolicyTrackedResourceQueryResults (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 GetPolicyTrackedResourceQueryResults : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord>
<Extension()>
Public Function GetPolicyTrackedResourceQueryResults (subscriptionResource As SubscriptionResource, policyTrackedResourceType As PolicyTrackedResourceType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyTrackedResourceRecord)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

policyTrackedResourceType
PolicyTrackedResourceType

Nom de la ressource virtuelle sous PolicyTrackedResources, type de ressource ; seule la valeur par défaut est autorisée.

policyQuerySettings
PolicyQuerySettings

Groupe de paramètres.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection de PolicyTrackedResourceRecord qui peut nécessiter plusieurs demandes de service pour itérer.

S’applique à

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

Interroge les ressources suivies par la stratégie sous la ressource.

  • Chemin de la requête/{resourceId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults
  • IdPolicyTrackedResources_ListQueryResultsForResource d’opération
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord> GetPolicyTrackedResourceQueryResults (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 GetPolicyTrackedResourceQueryResults : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord>
<Extension()>
Public Function GetPolicyTrackedResourceQueryResults (client As ArmClient, scope As ResourceIdentifier, policyTrackedResourceType As PolicyTrackedResourceType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyTrackedResourceRecord)

Paramètres

client
ArmClient

Instance ArmClient sur laquelle la méthode s’exécute.

scope
ResourceIdentifier

Étendue à laquelle la ressource s’appliquera.

policyTrackedResourceType
PolicyTrackedResourceType

Nom de la ressource virtuelle sous PolicyTrackedResources, type de ressource ; seule la valeur par défaut est autorisée.

policyQuerySettings
PolicyQuerySettings

Groupe de paramètres.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à