class Azure::Network::Mgmt::V2019_06_01::Models::PrivateLinkServiceConnection

PrivateLinkServiceConnection resource.

Attributes

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

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.

provisioning_state[RW]

@return [ProvisioningState] The provisioning state of the private link service connection. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

request_message[RW]

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

type[RW]

@return [String] The resource type.

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-06-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,
          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