Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::DataConnector
- Inherits:
-
Object
- Object
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::DataConnector
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector.rb
Overview
Data connector.
Direct Known Subclasses
AADDataConnector, AATPDataConnector, ASCDataConnector, AwsCloudTrailDataConnector, MCASDataConnector, MDATPDataConnector, OfficeATPDataConnector, OfficeDataConnector, TIDataConnector, TiTaxiiDataConnector
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#etag ⇒ String
Etag of the azure resource.
-
#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 DataConnector class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DataConnector
constructor
A new instance of DataConnector.
Constructor Details
#initialize ⇒ DataConnector
Returns a new instance of DataConnector.
27 28 29 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector.rb', line 27 def initialize @kind = "DataConnector" end |
Instance Attribute Details
#etag ⇒ String
Returns Etag of the azure resource.
43 44 45 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector.rb', line 43 def etag @etag end |
#id ⇒ String
Returns Azure resource Id.
34 35 36 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector.rb', line 34 def id @id end |
#kind ⇒ Object
Returns the value of attribute kind.
31 32 33 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector.rb', line 31 def kind @kind end |
#name ⇒ String
Returns Azure resource name.
37 38 39 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector.rb', line 37 def name @name end |
#type ⇒ String
Returns Azure resource type.
40 41 42 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector.rb', line 40 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for DataConnector 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 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector.rb', line 50 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DataConnector', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'DataConnector', class_name: 'DataConnector', 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' } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end |