Class: Azure::Network::Mgmt::V2020_04_01::Models::ConnectivityParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-04-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

Returns The destination of connection.

Returns:


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

def destination
  @destination
end

#preferred_ipversionIPVersion

values include: 'IPv4', 'IPv6'

Returns:

  • (IPVersion)

    Preferred IP version of the connection. Possible


30
31
32
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_parameters.rb', line 30

def preferred_ipversion
  @preferred_ipversion
end

#protocolProtocol

'Http', 'Https', 'Icmp'

Returns:

  • (Protocol)

    Network protocol. Possible values include: 'Tcp',


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

def protocol
  @protocol
end

#protocol_configurationProtocolConfiguration

Returns Configuration of the protocol.

Returns:


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

def protocol_configuration
  @protocol_configuration
end

#sourceConnectivitySource

Returns The source of the connection.

Returns:


16
17
18
# File 'lib/2020-04-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.


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
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_parameters.rb', line 37

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'
          }
        },
        preferred_ipversion: {
          client_side_validation: true,
          required: false,
          serialized_name: 'preferredIPVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end