class Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::SqlContainerGetPropertiesResource
Model object.
Attributes
@return [String] A system generated property representing the resource etag required for optimistic concurrency control.
@return [String] A system generated property. A unique identifier.
@return A system generated property that denotes the last updated timestamp of the resource.
@return [ConflictResolutionPolicy] The conflict resolution policy for the container.
@return [Integer] Default time to live
@return [String] Name of the Cosmos DB SQL container
@return [IndexingPolicy] The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
@return [ContainerPartitionKey] The configuration of the partition key to be used for partitioning data into multiple partitions
@return [UniqueKeyPolicy] The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure
Cosmos DB service.
Public Class Methods
Mapper for SqlContainerGetPropertiesResource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb, line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SqlContainerGetProperties_resource', type: { name: 'Composite', class_name: 'SqlContainerGetPropertiesResource', model_properties: { id: { client_side_validation: true, required: true, serialized_name: 'id', type: { name: 'String' } }, indexing_policy: { client_side_validation: true, required: false, serialized_name: 'indexingPolicy', type: { name: 'Composite', class_name: 'IndexingPolicy' } }, partition_key: { client_side_validation: true, required: false, serialized_name: 'partitionKey', type: { name: 'Composite', class_name: 'ContainerPartitionKey' } }, default_ttl: { client_side_validation: true, required: false, serialized_name: 'defaultTtl', type: { name: 'Number' } }, unique_key_policy: { client_side_validation: true, required: false, serialized_name: 'uniqueKeyPolicy', type: { name: 'Composite', class_name: 'UniqueKeyPolicy' } }, conflict_resolution_policy: { client_side_validation: true, required: false, serialized_name: 'conflictResolutionPolicy', type: { name: 'Composite', class_name: 'ConflictResolutionPolicy' } }, _rid: { client_side_validation: true, required: false, read_only: true, serialized_name: '_rid', type: { name: 'String' } }, _ts: { client_side_validation: true, required: false, read_only: true, serialized_name: '_ts', type: { name: 'Object' } }, _etag: { client_side_validation: true, required: false, read_only: true, serialized_name: '_etag', type: { name: 'String' } } } } } end