class Azure::Network::Mgmt::V2019_04_01::Models::PrivateLinkServiceConnection

PrivateLinkServiceConnection resource.

Attributes

group_ids[RW]

@return [Array<String>] The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.

name[RW]

@return [String] The name of the resource that is unique within a resource group. This name can be used to access the resource.

request_message[RW]

@return [String] A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-04-01/generated/azure_mgmt_network/models/private_link_service_connection.rb, line 38
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'
          }
        },
        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'
          }
        }
      }
    }
  }
end