Class: Azure::Network::Mgmt::V2016_12_01::Models::FlowLogInformation
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2016_12_01::Models::FlowLogInformation
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb
Overview
Information on the configuration of flow log.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
Flag to enable/disable flow logging.
- #retention_policy ⇒ RetentionPolicyParameters
-
#storage_id ⇒ String
flow log.
-
#target_resource_id ⇒ String
The ID of the resource to configure for flow logging.
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.
23 24 25 |
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 23 def enabled @enabled end |
#retention_policy ⇒ RetentionPolicyParameters
26 27 28 |
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 26 def retention_policy @retention_policy end |
#storage_id ⇒ String
flow log.
20 21 22 |
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 20 def storage_id @storage_id end |
#target_resource_id ⇒ String
Returns The ID of the resource to configure for flow logging.
16 17 18 |
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 16 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.
33 34 35 36 37 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 |
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 33 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' } } } } } end |