class Azure::Network::Mgmt::V2017_10_01::Models::FlowLogInformation
Information on the configuration of flow log.
Attributes
enabled[RW]
@return [Boolean] Flag to enable/disable flow logging.
retention_policy[RW]
@return [RetentionPolicyParameters]
storage_id[RW]
@return [String] ID of the storage account which is used to store the flow log.
target_resource_id[RW]
@return [String] The ID of the resource to configure for flow logging.
Private Class Methods
mapper()
click to toggle source
Mapper for FlowLogInformation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-10-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