Class: Azure::Network::Mgmt::V2019_09_01::Models::PrivateLinkServiceConnection

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-09-01/generated/azure_mgmt_network/models/private_link_service_connection.rb

Overview

PrivateLinkServiceConnection resource.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the



44
45
46
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/private_link_service_connection.rb', line 44

def etag
  @etag
end

#group_idsArray<String>

remote resource that this private endpoint should connect to.

Returns:

  • (Array<String>)

    The ID(s) of the group(s) obtained from the



25
26
27
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/private_link_service_connection.rb', line 25

def group_ids
  @group_ids
end

#nameString

resource group. This name can be used to access the resource.

Returns:

  • (String)

    The name of the resource that is unique within a



37
38
39
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/private_link_service_connection.rb', line 37

def name
  @name
end

information about the state of the connection to the remote resource.

Returns:



33
34
35
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/private_link_service_connection.rb', line 33

def private_link_service_connection_state
  @private_link_service_connection_state
end

Returns The resource id of private link service.

Returns:

  • (String)

    The resource id of private link service.



21
22
23
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/private_link_service_connection.rb', line 21

def private_link_service_id
  @private_link_service_id
end

#provisioning_stateProvisioningState

service connection resource. Possible values include: ‘Succeeded’, ‘Updating’, ‘Deleting’, ‘Failed’

Returns:



18
19
20
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/private_link_service_connection.rb', line 18

def provisioning_state
  @provisioning_state
end

#request_messageString

with this connection request. Restricted to 140 chars.

Returns:

  • (String)

    A message passed to the owner of the remote resource



29
30
31
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/private_link_service_connection.rb', line 29

def request_message
  @request_message
end

#typeString

Returns The resource type.

Returns:

  • (String)

    The resource type.



40
41
42
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/private_link_service_connection.rb', line 40

def type
  @type
end

Class Method Details

.mapperObject

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



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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/private_link_service_connection.rb', line 51

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PrivateLinkServiceConnection',
    type: {
      name: 'Composite',
      class_name: 'PrivateLinkServiceConnection',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        private_link_service_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.privateLinkServiceId',
          type: {
            name: 'String'
          }
        },
        group_ids: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.groupIds',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        request_message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.requestMessage',
          type: {
            name: 'String'
          }
        },
        private_link_service_connection_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.privateLinkServiceConnectionState',
          type: {
            name: 'Composite',
            class_name: 'PrivateLinkServiceConnectionState'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end