Class: Azure::Network::Mgmt::V2018_08_01::Models::TrafficAnalyticsConfigurationProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb

Overview

Parameters that define the configuration of traffic analytics.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enabledBoolean

Returns Flag to enable/disable traffic analytics.

Returns:

  • (Boolean)

    Flag to enable/disable traffic analytics.



16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb', line 16

def enabled
  @enabled
end

#workspace_idString

Returns The resource guid of the attached workspace.

Returns:

  • (String)

    The resource guid of the attached workspace



19
20
21
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb', line 19

def workspace_id
  @workspace_id
end

#workspace_regionString

Returns The location of the attached workspace.

Returns:

  • (String)

    The location of the attached workspace



22
23
24
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb', line 22

def workspace_region
  @workspace_region
end

#workspace_resource_idString

Returns Resource Id of the attached workspace.

Returns:

  • (String)

    Resource Id of the attached workspace



25
26
27
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb', line 25

def workspace_resource_id
  @workspace_resource_id
end

Class Method Details

.mapperObject

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



32
33
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
75
76
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TrafficAnalyticsConfigurationProperties',
    type: {
      name: 'Composite',
      class_name: 'TrafficAnalyticsConfigurationProperties',
      model_properties: {
        enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        },
        workspace_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'workspaceId',
          type: {
            name: 'String'
          }
        },
        workspace_region: {
          client_side_validation: true,
          required: true,
          serialized_name: 'workspaceRegion',
          type: {
            name: 'String'
          }
        },
        workspace_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'workspaceResourceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end