Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Entity
- Inherits:
-
Object
- Object
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Entity
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity.rb
Overview
Specific entity.
Direct Known Subclasses
AccountEntity, AzureResourceEntity, CloudApplicationEntity, DnsEntity, FileEntity, FileHashEntity, HostEntity, HuntingBookmark, IoTDeviceEntity, IpEntity, MalwareEntity, ProcessEntity, RegistryKeyEntity, RegistryValueEntity, SecurityAlert, SecurityGroupEntity, UrlEntity
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#id ⇒ String
Azure resource Id.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#name ⇒ String
Azure resource name.
-
#type ⇒ String
Azure resource type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Entity class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ Entity
constructor
A new instance of Entity.
Constructor Details
#initialize ⇒ Entity
Returns a new instance of Entity.
34 35 36 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity.rb', line 34 def initialize @kind = "Entity" end |
Instance Attribute Details
#id ⇒ String
Returns Azure resource Id.
41 42 43 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity.rb', line 41 def id @id end |
#kind ⇒ Object
Returns the value of attribute kind.
38 39 40 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity.rb', line 38 def kind @kind end |
#name ⇒ String
Returns Azure resource name.
44 45 46 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity.rb', line 44 def name @name end |
#type ⇒ String
Returns Azure resource type.
47 48 49 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity.rb', line 47 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for Entity class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity.rb', line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Entity', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'Entity', class_name: 'Entity', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end |