Class: Azure::Network::Mgmt::V2018_10_01::Models::ConnectivityParameters

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

Overview

Parameters that determine how the connectivity check will be performed.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#destinationConnectivityDestination


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

def destination
  @destination
end

#protocolProtocol

'Http', 'Https', 'Icmp'

Returns:

  • (Protocol)

    Network protocol. Possible values include: 'Tcp',


23
24
25
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb', line 23

def protocol
  @protocol
end

#protocol_configurationProtocolConfiguration


26
27
28
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb', line 26

def protocol_configuration
  @protocol_configuration
end

#sourceConnectivitySource

Returns:


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

def source
  @source
end

Class Method Details

.mapperObject

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


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
77
78
79
80
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectivityParameters',
    type: {
      name: 'Composite',
      class_name: 'ConnectivityParameters',
      model_properties: {
        source: {
          client_side_validation: true,
          required: true,
          serialized_name: 'source',
          type: {
            name: 'Composite',
            class_name: 'ConnectivitySource'
          }
        },
        destination: {
          client_side_validation: true,
          required: true,
          serialized_name: 'destination',
          type: {
            name: 'Composite',
            class_name: 'ConnectivityDestination'
          }
        },
        protocol: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protocol',
          type: {
            name: 'String'
          }
        },
        protocol_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protocolConfiguration',
          type: {
            name: 'Composite',
            class_name: 'ProtocolConfiguration'
          }
        }
      }
    }
  }
end