Class: Azure::ARM::Network::Models::FlowLogInformation
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::FlowLogInformation
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/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.
24 25 26 |
# File 'lib/generated/azure_mgmt_network/models/flow_log_information.rb', line 24 def enabled @enabled end |
#retention_policy ⇒ RetentionPolicyParameters
27 28 29 |
# File 'lib/generated/azure_mgmt_network/models/flow_log_information.rb', line 27 def retention_policy @retention_policy end |
#storage_id ⇒ String
flow log.
21 22 23 |
# File 'lib/generated/azure_mgmt_network/models/flow_log_information.rb', line 21 def storage_id @storage_id end |
#target_resource_id ⇒ String
Returns The ID of the resource to configure for flow logging.
17 18 19 |
# File 'lib/generated/azure_mgmt_network/models/flow_log_information.rb', line 17 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.
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 |
# File 'lib/generated/azure_mgmt_network/models/flow_log_information.rb', line 34 def self.mapper() { required: false, serialized_name: 'FlowLogInformation', type: { name: 'Composite', class_name: 'FlowLogInformation', model_properties: { target_resource_id: { required: true, serialized_name: 'targetResourceId', type: { name: 'String' } }, storage_id: { required: true, serialized_name: 'properties.storageId', type: { name: 'String' } }, enabled: { required: true, serialized_name: 'properties.enabled', type: { name: 'Boolean' } }, retention_policy: { required: false, serialized_name: 'properties.retentionPolicy', type: { name: 'Composite', class_name: 'RetentionPolicyParameters' } } } } } end |