Class: Azure::ARM::SQL::Models::ServerCommunicationLink

Inherits:
ProxyResource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_sql/models/server_communication_link.rb

Overview

Server communication link.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#kindString

Azure Portal metadata.

Returns:

  • (String)

    Communication link kind. This property is used for



27
28
29
# File 'lib/generated/azure_mgmt_sql/models/server_communication_link.rb', line 27

def kind
  @kind
end

#locationString

Returns Communication link location.

Returns:

  • (String)

    Communication link location.



23
24
25
# File 'lib/generated/azure_mgmt_sql/models/server_communication_link.rb', line 23

def location
  @location
end

#partner_serverString

Returns The name of the partner server.

Returns:

  • (String)

    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

#stateString

Returns The state.

Returns:

  • (String)

    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

.mapperObject

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