class Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation
Information on the configuration of flow log and traffic analytics (optional).
Attributes
enabled[RW]
@return [Boolean] Flag to enable/disable flow logging.
network_watcher_flow_analytics_configuration[RW]
@return [TrafficAnalyticsConfigurationProperties]
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.
Public Class Methods
mapper()
click to toggle source
Mapper for FlowLogInformation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb, line 37 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' } }, network_watcher_flow_analytics_configuration: { client_side_validation: true, required: true, serialized_name: 'flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration', type: { name: 'Composite', class_name: 'TrafficAnalyticsConfigurationProperties' } } } } } end