Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ConnectivityEndpoint

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb

Overview

The connectivity properties

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#locationString

Returns The location of the endpoint.

Returns:

  • (String)

    The location of the endpoint.



22
23
24
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb', line 22

def location
  @location
end

#nameString

Returns The name of the endpoint.

Returns:

  • (String)

    The name of the endpoint.



16
17
18
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb', line 16

def name
  @name
end

#portInteger

Returns The port to connect to.

Returns:

  • (Integer)

    The port to connect to.



25
26
27
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb', line 25

def port
  @port
end

#private_ipaddressString

Returns The private ip address of the endpoint.

Returns:

  • (String)

    The private ip address of the endpoint.



28
29
30
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb', line 28

def private_ipaddress
  @private_ipaddress
end

#protocolString

Returns The protocol of the endpoint.

Returns:

  • (String)

    The protocol of the endpoint.



19
20
21
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb', line 19

def protocol
  @protocol
end

Class Method Details

.mapperObject

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



35
36
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
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb', line 35

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