Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::DnsEntity
- Inherits:
-
Entity
- Object
- Entity
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::DnsEntity
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb
Overview
Represents a dns entity.
Instance Attribute Summary collapse
-
#additional_data ⇒ Object
will be presented to the user.
-
#dns_server_ip_entity_id ⇒ String
request.
-
#domain_name ⇒ String
The name of the dns record associated with the alert.
-
#friendly_name ⇒ String
readable description of the graph item instance.
-
#host_ip_address_entity_id ⇒ String
An ip entity id for the dns request client.
-
#ip_address_entity_ids ⇒ Array<String>
address.
-
#kind ⇒ Object
Returns the value of attribute kind.
Attributes inherited from Entity
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DnsEntity class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DnsEntity
constructor
A new instance of DnsEntity.
Constructor Details
#initialize ⇒ DnsEntity
Returns a new instance of DnsEntity.
16 17 18 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb', line 16 def initialize @kind = "DnsResolution" end |
Instance Attribute Details
#additional_data ⇒ Object
will be presented to the user.
24 25 26 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb', line 24 def additional_data @additional_data end |
#dns_server_ip_entity_id ⇒ String
request
33 34 35 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb', line 33 def dns_server_ip_entity_id @dns_server_ip_entity_id end |
#domain_name ⇒ String
Returns The name of the dns record associated with the alert.
36 37 38 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb', line 36 def domain_name @domain_name end |
#friendly_name ⇒ String
readable description of the graph item instance. This property is optional and might be system generated.
29 30 31 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb', line 29 def friendly_name @friendly_name end |
#host_ip_address_entity_id ⇒ String
Returns An ip entity id for the dns request client.
39 40 41 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb', line 39 def host_ip_address_entity_id @host_ip_address_entity_id end |
#ip_address_entity_ids ⇒ Array<String>
address.
43 44 45 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb', line 43 def ip_address_entity_ids @ip_address_entity_ids end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb', line 20 def kind @kind end |
Class Method Details
.mapper ⇒ Object
Mapper for DnsEntity class as Ruby Hash. This will be used for serialization/deserialization.
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 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb', line 50 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DnsResolution', type: { name: 'Composite', class_name: 'DnsEntity', 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' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, additional_data: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalData', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, friendly_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.friendlyName', type: { name: 'String' } }, dns_server_ip_entity_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.dnsServerIpEntityId', type: { name: 'String' } }, domain_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.domainName', type: { name: 'String' } }, host_ip_address_entity_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hostIpAddressEntityId', type: { name: 'String' } }, ip_address_entity_ids: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipAddressEntityIds', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |