Class: Azure::Network::Mgmt::V2019_11_01::Models::ConnectionMonitorEndpoint

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

Overview

Describes the connection monitor endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#addressString

domain name).

Returns:

  • (String)

    Address of the connection monitor endpoint (IP or


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

def address
  @address
end

#filterConnectionMonitorEndpointFilter

the endpoint.

Returns:


27
28
29
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_endpoint.rb', line 27

def filter
  @filter
end

#nameString

Returns The name of the connection monitor endpoint.

Returns:

  • (String)

    The name of the connection monitor endpoint.


16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_endpoint.rb', line 16

def name
  @name
end

#resource_idString

Returns Resource ID of the connection monitor endpoint.

Returns:

  • (String)

    Resource ID of the connection monitor endpoint.


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

def resource_id
  @resource_id
end

Class Method Details

.mapperObject

Mapper for ConnectionMonitorEndpoint 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
75
76
77
78
79
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/connection_monitor_endpoint.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionMonitorEndpoint',
    type: {
      name: 'Composite',
      class_name: 'ConnectionMonitorEndpoint',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'address',
          type: {
            name: 'String'
          }
        },
        filter: {
          client_side_validation: true,
          required: false,
          serialized_name: 'filter',
          type: {
            name: 'Composite',
            class_name: 'ConnectionMonitorEndpointFilter'
          }
        }
      }
    }
  }
end