class Azure::Hdinsight::Mgmt::V2015_03_01_preview::Models::ConnectivityEndpoint

The connectivity properties

Attributes

location[RW]

@return [String] The location of the endpoint.

name[RW]

@return [String] The name of the endpoint.

port[RW]

@return [Integer] The port to connect to.

protocol[RW]

@return [String] The protocol of the endpoint.

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectivityEndpoint',
    type: {
      name: 'Composite',
      class_name: 'ConnectivityEndpoint',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        protocol: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protocol',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'port',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end