Class: Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_information.rb
Overview
Information on the configuration of flow log and traffic analytics (optional) .
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
Flag to enable/disable flow logging.
- #flow_analytics_configuration ⇒ TrafficAnalyticsProperties
- #retention_policy ⇒ RetentionPolicyParameters
-
#storage_id ⇒ String
flow log.
-
#target_resource_id ⇒ String
traffic analytics (optional) .
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FlowLogInformation class as Ruby Hash.
Instance Attribute Details
#enabled ⇒ Boolean
Returns Flag to enable/disable flow logging.
25 26 27 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 25 def enabled @enabled end |
#flow_analytics_configuration ⇒ TrafficAnalyticsProperties
31 32 33 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 31 def flow_analytics_configuration @flow_analytics_configuration end |
#retention_policy ⇒ RetentionPolicyParameters
28 29 30 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 28 def retention_policy @retention_policy end |
#storage_id ⇒ String
flow log.
22 23 24 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 22 def storage_id @storage_id end |
#target_resource_id ⇒ String
traffic analytics (optional) .
18 19 20 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 18 def target_resource_id @target_resource_id end |
Class Method Details
.mapper ⇒ Object
Mapper for FlowLogInformation class as Ruby Hash. This will be used for serialization/deserialization.
38 39 40 41 42 43 44 45 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 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { name: 'Composite', class_name: 'FlowLogInformation', model_properties: { target_resource_id: { client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { name: 'String' } }, storage_id: { client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { name: 'String' } }, enabled: { client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { name: 'Boolean' } }, retention_policy: { client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { name: 'Composite', class_name: 'RetentionPolicyParameters' } }, flow_analytics_configuration: { client_side_validation: true, required: false, serialized_name: 'flowAnalyticsConfiguration', type: { name: 'Composite', class_name: 'TrafficAnalyticsProperties' } } } } } end |