class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PortFragment
Properties of a network port.
Attributes
backend_port[RW]
@return [Integer] Backend port of the target virtual machine.
transport_protocol[RW]
@return [TransportProtocol] Protocol type of the port. Possible values include: 'Tcp', 'Udp'
Public Class Methods
mapper()
click to toggle source
Mapper for PortFragment
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/port_fragment.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PortFragment', type: { name: 'Composite', class_name: 'PortFragment', model_properties: { transport_protocol: { client_side_validation: true, required: false, serialized_name: 'transportProtocol', type: { name: 'String' } }, backend_port: { client_side_validation: true, required: false, serialized_name: 'backendPort', type: { name: 'Number' } } } } } end