Class: Azure::ARM::Network::Models::FlowLogInformation

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_network/models/flow_log_information.rb

Overview

Information on the configuration of flow log.

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.



24
25
26
# File 'lib/generated/azure_mgmt_network/models/flow_log_information.rb', line 24

def enabled
  @enabled
end

#retention_policyRetentionPolicyParameters



27
28
29
# File 'lib/generated/azure_mgmt_network/models/flow_log_information.rb', line 27

def retention_policy
  @retention_policy
end

#storage_idString

flow log.

Returns:

  • (String)

    ID of the storage account which is used to store the



21
22
23
# File 'lib/generated/azure_mgmt_network/models/flow_log_information.rb', line 21

def storage_id
  @storage_id
end

#target_resource_idString

Returns The ID of the resource to configure for flow logging.

Returns:

  • (String)

    The ID of the resource to configure for flow logging.



17
18
19
# File 'lib/generated/azure_mgmt_network/models/flow_log_information.rb', line 17

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.



34
35
36
37
38
39
40
41
42
43
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
# File 'lib/generated/azure_mgmt_network/models/flow_log_information.rb', line 34

def self.mapper()
  {
    required: false,
    serialized_name: 'FlowLogInformation',
    type: {
      name: 'Composite',
      class_name: 'FlowLogInformation',
      model_properties: {
        target_resource_id: {
          required: true,
          serialized_name: 'targetResourceId',
          type: {
            name: 'String'
          }
        },
        storage_id: {
          required: true,
          serialized_name: 'properties.storageId',
          type: {
            name: 'String'
          }
        },
        enabled: {
          required: true,
          serialized_name: 'properties.enabled',
          type: {
            name: 'Boolean'
          }
        },
        retention_policy: {
          required: false,
          serialized_name: 'properties.retentionPolicy',
          type: {
            name: 'Composite',
            class_name: 'RetentionPolicyParameters'
          }
        }
      }
    }
  }
end