Class: Azure::Network::Mgmt::V2020_04_01::Models::ConnectionMonitorTestGroup

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_test_group.rb

Overview

Describes the connection monitor test group.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#destinationsArray<String>

Returns List of destination endpoint names.

Returns:

  • (Array<String>)

    List of destination endpoint names.


28
29
30
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_test_group.rb', line 28

def destinations
  @destinations
end

#disableBoolean

Returns Value indicating whether test group is disabled.

Returns:

  • (Boolean)

    Value indicating whether test group is disabled.


19
20
21
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_test_group.rb', line 19

def disable
  @disable
end

#nameString

Returns The name of the connection monitor test group.

Returns:

  • (String)

    The name of the connection monitor test group.


16
17
18
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_test_group.rb', line 16

def name
  @name
end

#sourcesArray<String>

Returns List of source endpoint names.

Returns:

  • (Array<String>)

    List of source endpoint names.


25
26
27
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_test_group.rb', line 25

def sources
  @sources
end

#test_configurationsArray<String>

Returns List of test configuration names.

Returns:

  • (Array<String>)

    List of test configuration names.


22
23
24
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_test_group.rb', line 22

def test_configurations
  @test_configurations
end

Class Method Details

.mapperObject

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


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
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
108
109
110
111
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_test_group.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionMonitorTestGroup',
    type: {
      name: 'Composite',
      class_name: 'ConnectionMonitorTestGroup',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        disable: {
          client_side_validation: true,
          required: false,
          serialized_name: 'disable',
          type: {
            name: 'Boolean'
          }
        },
        test_configurations: {
          client_side_validation: true,
          required: true,
          serialized_name: 'testConfigurations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        sources: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sources',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        destinations: {
          client_side_validation: true,
          required: true,
          serialized_name: 'destinations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end