Class: Azure::ARM::Network::Models::VerificationIPFlowParameters

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb

Overview

Parameters that define the IP flow to be verified.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#directionDirection

5-tuple. Possible values include: ‘Inbound’, ‘Outbound’

Returns:

  • (Direction)

    The direction of the packet represented as a



21
22
23
# File 'lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb', line 21

def direction
  @direction
end

#local_ipaddressString

addresses.

Returns:

  • (String)

    The local IP address. Acceptable values are valid IPv4



39
40
41
# File 'lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb', line 39

def local_ipaddress
  @local_ipaddress
end

#local_portString

in the range (0-65535). Support for * for the source port, which depends on the direction.

Returns:

  • (String)

    The local port. Acceptable values are a single integer



30
31
32
# File 'lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb', line 30

def local_port
  @local_port
end

#protocolProtocol

‘TCP’, ‘UDP’

Returns:

  • (Protocol)

    Protocol to be verified on. Possible values include:



25
26
27
# File 'lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb', line 25

def protocol
  @protocol
end

#remote_ipaddressString

IPv4 addresses.

Returns:

  • (String)

    The remote IP address. Acceptable values are valid



43
44
45
# File 'lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb', line 43

def remote_ipaddress
  @remote_ipaddress
end

#remote_portString

integer in the range (0-65535). Support for * for the source port, which depends on the direction.

Returns:

  • (String)

    The remote port. Acceptable values are a single



35
36
37
# File 'lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb', line 35

def remote_port
  @remote_port
end

#target_nic_resource_idString

is enabled on any of them, then this parameter must be specified. Otherwise optional).

Returns:

  • (String)

    The NIC ID. (If VM has multiple NICs and IP forwarding



48
49
50
# File 'lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb', line 48

def target_nic_resource_id
  @target_nic_resource_id
end

#target_resource_idString

Returns The ID of the target resource to perform next-hop on.

Returns:

  • (String)

    The ID of the target resource to perform next-hop on.



17
18
19
# File 'lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb', line 17

def target_resource_id
  @target_resource_id
end

Class Method Details

.mapperObject

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



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
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb', line 55

def self.mapper()
  {
    required: false,
    serialized_name: 'VerificationIPFlowParameters',
    type: {
      name: 'Composite',
      class_name: 'VerificationIPFlowParameters',
      model_properties: {
        target_resource_id: {
          required: true,
          serialized_name: 'targetResourceId',
          type: {
            name: 'String'
          }
        },
        direction: {
          required: true,
          serialized_name: 'direction',
          type: {
            name: 'String'
          }
        },
        protocol: {
          required: true,
          serialized_name: 'protocol',
          type: {
            name: 'String'
          }
        },
        local_port: {
          required: true,
          serialized_name: 'localPort',
          type: {
            name: 'String'
          }
        },
        remote_port: {
          required: true,
          serialized_name: 'remotePort',
          type: {
            name: 'String'
          }
        },
        local_ipaddress: {
          required: true,
          serialized_name: 'localIPAddress',
          type: {
            name: 'String'
          }
        },
        remote_ipaddress: {
          required: true,
          serialized_name: 'remoteIPAddress',
          type: {
            name: 'String'
          }
        },
        target_nic_resource_id: {
          required: false,
          serialized_name: 'targetNicResourceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end