Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationGetEndpoint

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

Overview

Gets the application SSH endpoint

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#destination_portInteger



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

def destination_port
  @destination_port
end

#locationString



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

def location
  @location
end

#private_ipaddressString



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

def private_ipaddress
  @private_ipaddress
end

#public_portInteger



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

def public_port
  @public_port
end

Class Method Details

.mapperObject

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



32
33
34
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
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_get_endpoint.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGetEndpoint',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGetEndpoint',
      model_properties: {
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        destination_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'destinationPort',
          type: {
            name: 'Number'
          }
        },
        public_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publicPort',
          type: {
            name: 'Number'
          }
        },
        private_ipaddress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'privateIPAddress',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end