class Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::RestorableSqlDatabasePropertiesResource

Model object.

Attributes

_rid[RW]

@return [String] A system generated property. A unique identifier.

database[RW]

@return [RestorableSqlDatabasePropertiesResourceDatabase]

event_timestamp[RW]

@return [String] The timestamp of this database event.

operation_type[RW]

@return [OperationType] The operation type of this database event. Possible values include: 'Create', 'Replace', 'Delete', 'SystemOperation'

owner_id[RW]

@return [String] The name of this restorable SQL database.

owner_resource_id[RW]

@return [String] The resource Id of this restorable SQL database.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_database_properties_resource.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RestorableSqlDatabaseProperties_resource',
    type: {
      name: 'Composite',
      class_name: 'RestorableSqlDatabasePropertiesResource',
      model_properties: {
        _rid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: '_rid',
          type: {
            name: 'String'
          }
        },
        operation_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'operationType',
          type: {
            name: 'String'
          }
        },
        event_timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'eventTimestamp',
          type: {
            name: 'String'
          }
        },
        owner_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ownerId',
          type: {
            name: 'String'
          }
        },
        owner_resource_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ownerResourceId',
          type: {
            name: 'String'
          }
        },
        database: {
          client_side_validation: true,
          required: false,
          serialized_name: 'database',
          type: {
            name: 'Composite',
            class_name: 'RestorableSqlDatabasePropertiesResourceDatabase'
          }
        }
      }
    }
  }
end