class Azure::Relay::Mgmt::V2016_07_01::Models::HybridConnection

Description of HybridConnection Resource.

Attributes

created_at[RW]

@return [DateTime] The time the HybridConnection was created.

listener_count[RW]

@return [Integer] The number of listeners for this HybridConnection. min : 1 and max:25 supported

requires_client_authorization[RW]

@return [Boolean] true if client authorization is needed for this HybridConnection; otherwise, false.

updated_at[RW]

@return [DateTime] The time the namespace was updated.

user_metadata[RW]

@return [String] usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection.rb, line 40
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HybridConnection',
    type: {
      name: 'Composite',
      class_name: 'HybridConnection',
      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'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        updated_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.updatedAt',
          type: {
            name: 'DateTime'
          }
        },
        listener_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.listenerCount',
          constraints: {
            InclusiveMaximum: 25,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        },
        requires_client_authorization: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.requiresClientAuthorization',
          type: {
            name: 'Boolean'
          }
        },
        user_metadata: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.userMetadata',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end