class Azure::Cosmosdb::Mgmt::V2020_09_01::Models::PrivateEndpointConnection

A private endpoint connection

Attributes

private_endpoint[RW]

@return [PrivateEndpointProperty] Private endpoint which the connection belongs to.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/private_endpoint_connection.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PrivateEndpointConnection',
    type: {
      name: 'Composite',
      class_name: 'PrivateEndpointConnection',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        private_endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.privateEndpoint',
          type: {
            name: 'Composite',
            class_name: 'PrivateEndpointProperty'
          }
        },
        private_link_service_connection_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.privateLinkServiceConnectionState',
          type: {
            name: 'Composite',
            class_name: 'PrivateLinkServiceConnectionStateProperty'
          }
        }
      }
    }
  }
end