Class: Azure::ARM::SQL::Models::ServerCommunicationLink
- Inherits:
-
ProxyResource
- Object
- MsRestAzure::Resource
- ProxyResource
- Azure::ARM::SQL::Models::ServerCommunicationLink
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_sql/models/server_communication_link.rb
Overview
Server communication link.
Instance Attribute Summary collapse
-
#kind ⇒ String
Azure Portal metadata.
-
#location ⇒ String
Communication link location.
-
#partner_server ⇒ String
The name of the partner server.
-
#state ⇒ String
The state.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServerCommunicationLink class as Ruby Hash.
Instance Attribute Details
#kind ⇒ String
Azure Portal metadata.
27 28 29 |
# File 'lib/generated/azure_mgmt_sql/models/server_communication_link.rb', line 27 def kind @kind end |
#location ⇒ String
Returns Communication link location.
23 24 25 |
# File 'lib/generated/azure_mgmt_sql/models/server_communication_link.rb', line 23 def location @location end |
#partner_server ⇒ String
Returns The name of the partner server.
20 21 22 |
# File 'lib/generated/azure_mgmt_sql/models/server_communication_link.rb', line 20 def partner_server @partner_server end |
#state ⇒ String
Returns The state.
17 18 19 |
# File 'lib/generated/azure_mgmt_sql/models/server_communication_link.rb', line 17 def state @state end |
Class Method Details
.mapper ⇒ Object
Mapper for ServerCommunicationLink class as Ruby Hash. This will be used for serialization/deserialization.
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/generated/azure_mgmt_sql/models/server_communication_link.rb', line 34 def self.mapper() { required: false, serialized_name: 'ServerCommunicationLink', type: { name: 'Composite', class_name: 'ServerCommunicationLink', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, state: { required: false, read_only: true, serialized_name: 'properties.state', type: { name: 'String' } }, partner_server: { required: true, serialized_name: 'properties.partnerServer', type: { name: 'String' } }, location: { required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, kind: { required: false, read_only: true, serialized_name: 'kind', type: { name: 'String' } } } } } end |