class Azure::Network::Mgmt::V2018_06_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.

flow_analytics_configuration[RW]

@return [TrafficAnalyticsProperties]

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 log and traffic analytics (optional) .

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-06-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'
          }
        },
        flow_analytics_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'flowAnalyticsConfiguration',
          type: {
            name: 'Composite',
            class_name: 'TrafficAnalyticsProperties'
          }
        }
      }
    }
  }
end