Partilhar via


PolicyInsightsExtensions.GetPolicyEventQueryResults Método

Definição

Sobrecargas

GetPolicyEventQueryResults(SubscriptionResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para os recursos na assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForSubscription de operação
GetPolicyEventQueryResults(SubscriptionPolicySetDefinitionResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para a definição do conjunto de políticas no nível da assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForPolicySetDefinition de operação
GetPolicyEventQueryResults(SubscriptionPolicyDefinitionResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para a definição de política de nível de assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForPolicyDefinition de operação
GetPolicyEventQueryResults(ArmClient, ResourceIdentifier, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para o recurso.

  • Caminho da Solicitação/{resourceId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForResource de operação
GetPolicyEventQueryResults(PolicyAssignmentResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para o nível de assinatura ou atribuição de política de nível de grupo de recursos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForResourceGroupLevelPolicyAssignment de operação
GetPolicyEventQueryResults(ManagementGroupResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para os recursos no grupo de gerenciamento.

  • Caminho/provedores de solicitação/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForManagementGroup de operação
GetPolicyEventQueryResults(ResourceGroupResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para os recursos no grupo de recursos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForResourceGroup de operação

GetPolicyEventQueryResults(SubscriptionResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para os recursos na assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForSubscription de operação
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent> GetPolicyEventQueryResults (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.PolicyInsights.Models.PolicyEventType policyEventType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyEventQueryResults : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.PolicyInsights.Models.PolicyEventType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent>
<Extension()>
Public Function GetPolicyEventQueryResults (subscriptionResource As SubscriptionResource, policyEventType As PolicyEventType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyEvent)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

policyEventType
PolicyEventType

O nome do recurso virtual em Tipo de recurso PolicyEvents; somente "padrão" é permitido.

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de PolicyEvent que pode levar várias solicitações de serviço para iterar.

Aplica-se a

GetPolicyEventQueryResults(SubscriptionPolicySetDefinitionResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para a definição do conjunto de políticas no nível da assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForPolicySetDefinition de operação
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent> GetPolicyEventQueryResults (this Azure.ResourceManager.Resources.SubscriptionPolicySetDefinitionResource subscriptionPolicySetDefinitionResource, Azure.ResourceManager.PolicyInsights.Models.PolicyEventType policyEventType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyEventQueryResults : Azure.ResourceManager.Resources.SubscriptionPolicySetDefinitionResource * Azure.ResourceManager.PolicyInsights.Models.PolicyEventType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent>
<Extension()>
Public Function GetPolicyEventQueryResults (subscriptionPolicySetDefinitionResource As SubscriptionPolicySetDefinitionResource, policyEventType As PolicyEventType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyEvent)

Parâmetros

subscriptionPolicySetDefinitionResource
SubscriptionPolicySetDefinitionResource

A SubscriptionPolicySetDefinitionResource instância na qual o método será executado.

policyEventType
PolicyEventType

O nome do recurso virtual em Tipo de recurso PolicyEvents; somente "padrão" é permitido.

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de PolicyEvent que pode levar várias solicitações de serviço para iterar.

Aplica-se a

GetPolicyEventQueryResults(SubscriptionPolicyDefinitionResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para a definição de política de nível de assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForPolicyDefinition de operação
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent> GetPolicyEventQueryResults (this Azure.ResourceManager.Resources.SubscriptionPolicyDefinitionResource subscriptionPolicyDefinitionResource, Azure.ResourceManager.PolicyInsights.Models.PolicyEventType policyEventType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyEventQueryResults : Azure.ResourceManager.Resources.SubscriptionPolicyDefinitionResource * Azure.ResourceManager.PolicyInsights.Models.PolicyEventType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent>
<Extension()>
Public Function GetPolicyEventQueryResults (subscriptionPolicyDefinitionResource As SubscriptionPolicyDefinitionResource, policyEventType As PolicyEventType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyEvent)

Parâmetros

subscriptionPolicyDefinitionResource
SubscriptionPolicyDefinitionResource

A SubscriptionPolicyDefinitionResource instância na qual o método será executado.

policyEventType
PolicyEventType

O nome do recurso virtual em Tipo de recurso PolicyEvents; somente "padrão" é permitido.

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de PolicyEvent que pode levar várias solicitações de serviço para iterar.

Aplica-se a

GetPolicyEventQueryResults(ArmClient, ResourceIdentifier, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para o recurso.

  • Caminho da Solicitação/{resourceId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForResource de operação
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent> GetPolicyEventQueryResults (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.PolicyInsights.Models.PolicyEventType policyEventType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyEventQueryResults : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * Azure.ResourceManager.PolicyInsights.Models.PolicyEventType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent>
<Extension()>
Public Function GetPolicyEventQueryResults (client As ArmClient, scope As ResourceIdentifier, policyEventType As PolicyEventType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyEvent)

Parâmetros

client
ArmClient

A ArmClient instância na qual o método será executado.

scope
ResourceIdentifier

O escopo ao qual o recurso será aplicado.

policyEventType
PolicyEventType

O nome do recurso virtual em Tipo de recurso PolicyEvents; somente "padrão" é permitido.

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a

GetPolicyEventQueryResults(PolicyAssignmentResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para o nível de assinatura ou atribuição de política de nível de grupo de recursos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForResourceGroupLevelPolicyAssignment de operação
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent> GetPolicyEventQueryResults (this Azure.ResourceManager.Resources.PolicyAssignmentResource policyAssignmentResource, Azure.ResourceManager.PolicyInsights.Models.PolicyEventType policyEventType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyEventQueryResults : Azure.ResourceManager.Resources.PolicyAssignmentResource * Azure.ResourceManager.PolicyInsights.Models.PolicyEventType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent>
<Extension()>
Public Function GetPolicyEventQueryResults (policyAssignmentResource As PolicyAssignmentResource, policyEventType As PolicyEventType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyEvent)

Parâmetros

policyAssignmentResource
PolicyAssignmentResource

A PolicyAssignmentResource instância na qual o método será executado.

policyEventType
PolicyEventType

O nome do recurso virtual em Tipo de recurso PolicyEvents; somente "padrão" é permitido.

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de PolicyEvent que pode levar várias solicitações de serviço para iterar.

Aplica-se a

GetPolicyEventQueryResults(ManagementGroupResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para os recursos no grupo de gerenciamento.

  • Caminho/provedores de solicitação/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForManagementGroup de operação
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent> GetPolicyEventQueryResults (this Azure.ResourceManager.ManagementGroups.ManagementGroupResource managementGroupResource, Azure.ResourceManager.PolicyInsights.Models.PolicyEventType policyEventType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyEventQueryResults : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * Azure.ResourceManager.PolicyInsights.Models.PolicyEventType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent>
<Extension()>
Public Function GetPolicyEventQueryResults (managementGroupResource As ManagementGroupResource, policyEventType As PolicyEventType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyEvent)

Parâmetros

managementGroupResource
ManagementGroupResource

A ManagementGroupResource instância na qual o método será executado.

policyEventType
PolicyEventType

O nome do recurso virtual em Tipo de recurso PolicyEvents; somente "padrão" é permitido.

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de PolicyEvent que pode levar várias solicitações de serviço para iterar.

Aplica-se a

GetPolicyEventQueryResults(ResourceGroupResource, PolicyEventType, PolicyQuerySettings, CancellationToken)

Consulta eventos de política para os recursos no grupo de recursos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults
  • IdPolicyEvents_ListQueryResultsForResourceGroup de operação
public static Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent> GetPolicyEventQueryResults (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.PolicyInsights.Models.PolicyEventType policyEventType, Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings policyQuerySettings = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPolicyEventQueryResults : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.PolicyInsights.Models.PolicyEventType * Azure.ResourceManager.PolicyInsights.Models.PolicyQuerySettings * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvent>
<Extension()>
Public Function GetPolicyEventQueryResults (resourceGroupResource As ResourceGroupResource, policyEventType As PolicyEventType, Optional policyQuerySettings As PolicyQuerySettings = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PolicyEvent)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

policyEventType
PolicyEventType

O nome do recurso virtual em Tipo de recurso PolicyEvents; somente "padrão" é permitido.

policyQuerySettings
PolicyQuerySettings

Grupo de parâmetros.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de PolicyEvent que pode levar várias solicitações de serviço para iterar.

Aplica-se a