class Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexingPolicy
Cosmos DB indexing policy
Attributes
automatic[RW]
@return [Boolean] Indicates if the indexing policy is automatic
excluded_paths[RW]
@return [Array<ExcludedPath>] List of paths to exclude from indexing
included_paths[RW]
@return [Array<IncludedPath>] List of paths to include in the indexing
indexing_mode[RW]
@return [IndexingMode] Indicates the indexing mode. Possible values include: 'Consistent', 'Lazy', 'None'. Default value: 'Consistent' .
Public Class Methods
mapper()
click to toggle source
Mapper for IndexingPolicy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IndexingPolicy', type: { name: 'Composite', class_name: 'IndexingPolicy', model_properties: { automatic: { client_side_validation: true, required: false, serialized_name: 'automatic', type: { name: 'Boolean' } }, indexing_mode: { client_side_validation: true, required: false, serialized_name: 'indexingMode', default_value: 'Consistent', type: { name: 'String' } }, included_paths: { client_side_validation: true, required: false, serialized_name: 'includedPaths', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'IncludedPathElementType', type: { name: 'Composite', class_name: 'IncludedPath' } } } }, excluded_paths: { client_side_validation: true, required: false, serialized_name: 'excludedPaths', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ExcludedPathElementType', type: { name: 'Composite', class_name: 'ExcludedPath' } } } } } } } end