Class: Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentEventDetails
- Inherits:
-
Object
- Object
- Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentEventDetails
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb
Overview
Component event details.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
collection.
-
#id ⇒ String
Component Id.
-
#name ⇒ String
Component name.
-
#policy_definition_action ⇒ String
Policy definition action, i.e.
-
#principal_oid ⇒ String
resource component operation that triggered the policy event.
-
#tenant_id ⇒ String
Tenant ID for the policy event record.
-
#timestamp ⇒ DateTime
Timestamp for component policy event record.
-
#type ⇒ String
Component type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ComponentEventDetails class as Ruby Hash.
Instance Attribute Details
#additional_properties ⇒ Object
collection
17 18 19 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb', line 17 def additional_properties @additional_properties end |
#id ⇒ String
Returns Component Id.
20 21 22 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb', line 20 def id @id end |
#name ⇒ String
Returns Component name.
26 27 28 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb', line 26 def name @name end |
#policy_definition_action ⇒ String
Returns Policy definition action, i.e. effect.
39 40 41 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb', line 39 def policy_definition_action @policy_definition_action end |
#principal_oid ⇒ String
resource component operation that triggered the policy event.
36 37 38 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb', line 36 def principal_oid @principal_oid end |
#tenant_id ⇒ String
Returns Tenant ID for the policy event record.
32 33 34 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb', line 32 def tenant_id @tenant_id end |
#timestamp ⇒ DateTime
Returns Timestamp for component policy event record.
29 30 31 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb', line 29 def @timestamp end |
#type ⇒ String
Returns Component type.
23 24 25 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb', line 23 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for ComponentEventDetails class as Ruby Hash. This will be used for serialization/deserialization.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# 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 |