class Azure::Network::Mgmt::V2018_07_01::Models::ConnectivitySource
Parameters that define the source of the connection.
Attributes
port[RW]
@return [Integer] The source port from which a connectivity check will be performed.
resource_id[RW]
@return [String] The ID of the resource from which a connectivity check will be initiated.
Public Class Methods
mapper()
click to toggle source
Mapper for ConnectivitySource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-07-01/generated/azure_mgmt_network/models/connectivity_source.rb, line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { name: 'Composite', class_name: 'ConnectivitySource', model_properties: { resource_id: { client_side_validation: true, required: true, serialized_name: 'resourceId', type: { name: 'String' } }, port: { client_side_validation: true, required: false, serialized_name: 'port', type: { name: 'Number' } } } } } end