Partilhar via


ArmPolicyInsightsModelFactory.ComponentEventDetails Método

Definição

Inicializa uma nova instância de ComponentEventDetails.

public static Azure.ResourceManager.PolicyInsights.Models.ComponentEventDetails ComponentEventDetails (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? timestamp = default, Guid? tenantId = default, string principalOid = default, string policyDefinitionAction = default, System.Collections.Generic.IReadOnlyDictionary<string,BinaryData> additionalProperties = default);
static member ComponentEventDetails : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<Guid> * string * string * System.Collections.Generic.IReadOnlyDictionary<string, BinaryData> -> Azure.ResourceManager.PolicyInsights.Models.ComponentEventDetails
Public Shared Function ComponentEventDetails (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional principalOid As String = Nothing, Optional policyDefinitionAction As String = Nothing, Optional additionalProperties As IReadOnlyDictionary(Of String, BinaryData) = Nothing) As ComponentEventDetails

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

timestamp
Nullable<DateTimeOffset>

Carimbo de data/hora para registro de evento de política de componente.

tenantId
Nullable<Guid>

ID do locatário para o registro de evento de política.

principalOid
String

ID do objeto principal para o usuário que iniciou a operação do componente de recurso que disparou o evento de política.

policyDefinitionAction
String

Ação de definição de política, ou seja, efeito.

additionalProperties
IReadOnlyDictionary<String,BinaryData>

Propriedades adicionais.

Retornos

Uma nova ComponentEventDetails instância para simulação.

Aplica-se a