class Azure::Network::Mgmt::V2019_12_01::Models::FlowLog

A flow log resource.

Attributes

enabled[RW]

@return [Boolean] Flag to enable/disable flow logging.

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

flow_analytics_configuration[RW]

@return [TrafficAnalyticsProperties] Parameters that define the configuration of traffic analytics.

format[RW]

@return [FlowLogFormatParameters] Parameters that define the flow log format.

provisioning_state[RW]

@return [ProvisioningState] The provisioning state of the flow log. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

retention_policy[RW]

@return [RetentionPolicyParameters] Parameters that define the retention policy for flow log.

storage_id[RW]

@return [String] ID of the storage account which is used to store the flow log.

target_resource_guid[RW]

@return [String] Guid of network security group to which flow log will be applied.

target_resource_id[RW]

@return [String] ID of network security group to which flow log will be applied.

Public Class Methods

mapper() click to toggle source

Mapper for FlowLog class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-12-01/generated/azure_mgmt_network/models/flow_log.rb, line 55
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FlowLog',
    type: {
      name: 'Composite',
      class_name: 'FlowLog',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        target_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.targetResourceId',
          type: {
            name: 'String'
          }
        },
        target_resource_guid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.targetResourceGuid',
          type: {
            name: 'String'
          }
        },
        storage_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.storageId',
          type: {
            name: 'String'
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          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'
          }
        },
        format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.format',
          type: {
            name: 'Composite',
            class_name: 'FlowLogFormatParameters'
          }
        },
        flow_analytics_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.flowAnalyticsConfiguration',
          type: {
            name: 'Composite',
            class_name: 'TrafficAnalyticsProperties'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end