class Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentEventDetails
Component event details.
Attributes
additional_properties[RW]
@return Unmatched properties from the message are deserialized this collection
id[RW]
@return [String] Component Id.
name[RW]
@return [String] Component name.
policy_definition_action[RW]
@return [String] Policy definition action, i.e. effect.
principal_oid[RW]
@return [String] Principal object ID for the user who initiated the resource component operation that triggered the policy event.
tenant_id[RW]
@return [String] Tenant ID for the policy event record.
timestamp[RW]
@return [DateTime] Timestamp for component policy event record.
type[RW]
@return [String] Component type.
Private Class Methods
mapper()
click to toggle source
Mapper for ComponentEventDetails
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb, line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ComponentEventDetails', type: { name: 'Composite', class_name: 'ComponentEventDetails', model_properties: { additional_properties: { client_side_validation: true, required: false, type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, timestamp: { client_side_validation: true, required: false, serialized_name: 'timestamp', type: { name: 'DateTime' } }, tenant_id: { client_side_validation: true, required: false, serialized_name: 'tenantId', type: { name: 'String' } }, principal_oid: { client_side_validation: true, required: false, serialized_name: 'principalOid', type: { name: 'String' } }, policy_definition_action: { client_side_validation: true, required: false, serialized_name: 'policyDefinitionAction', type: { name: 'String' } } } } } end