Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ConnectivityEndpoint
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ConnectivityEndpoint
- 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
-
#location ⇒ String
The location of the endpoint.
-
#name ⇒ String
The name of the endpoint.
-
#port ⇒ Integer
The port to connect to.
-
#private_ipaddress ⇒ String
The private ip address of the endpoint.
-
#protocol ⇒ String
The protocol of the endpoint.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectivityEndpoint class as Ruby Hash.
Instance Attribute Details
#location ⇒ String
Returns 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 |
#name ⇒ String
Returns 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 |
#port ⇒ Integer
Returns 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_ipaddress ⇒ String
Returns 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 |
#protocol ⇒ String
Returns 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
.mapper ⇒ Object
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 |