Class: Azure::Network::Mgmt::V2019_11_01::Models::FlowLogInformation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/flow_log_information.rb

Overview

Information on the configuration of flow log and traffic analytics (optional) .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enabledBoolean

Returns Flag to enable/disable flow logging.

Returns:

  • (Boolean)

    Flag to enable/disable flow logging.


25
26
27
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 25

def enabled
  @enabled
end

#flow_analytics_configurationTrafficAnalyticsProperties

configuration of traffic analytics.

Returns:


37
38
39
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 37

def flow_analytics_configuration
  @flow_analytics_configuration
end

#formatFlowLogFormatParameters

format.

Returns:


33
34
35
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 33

def format
  @format
end

#retention_policyRetentionPolicyParameters

retention policy for flow log.

Returns:


29
30
31
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 29

def retention_policy
  @retention_policy
end

#storage_idString

flow log.

Returns:

  • (String)

    ID of the storage account which is used to store the


22
23
24
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 22

def storage_id
  @storage_id
end

#target_resource_idString

traffic analytics (optional) .

Returns:

  • (String)

    The ID of the resource to configure for flow log and


18
19
20
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 18

def target_resource_id
  @target_resource_id
end

Class Method Details

.mapperObject

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


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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/flow_log_information.rb', line 44

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'
          }
        },
        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: 'flowAnalyticsConfiguration',
          type: {
            name: 'Composite',
            class_name: 'TrafficAnalyticsProperties'
          }
        }
      }
    }
  }
end