共用方式為


SqlContainerGetPropertiesResource Constructors

Definition

Overloads

SqlContainerGetPropertiesResource()

Initializes a new instance of the SqlContainerGetPropertiesResource class.

SqlContainerGetPropertiesResource(String, IndexingPolicy, ContainerPartitionKey, Nullable<Int32>, UniqueKeyPolicy, ConflictResolutionPolicy, Nullable<Int64>, String, Nullable<Double>, String)

Initializes a new instance of the SqlContainerGetPropertiesResource class.

SqlContainerGetPropertiesResource()

Initializes a new instance of the SqlContainerGetPropertiesResource class.

public SqlContainerGetPropertiesResource ();
Public Sub New ()

Applies to

SqlContainerGetPropertiesResource(String, IndexingPolicy, ContainerPartitionKey, Nullable<Int32>, UniqueKeyPolicy, ConflictResolutionPolicy, Nullable<Int64>, String, Nullable<Double>, String)

Initializes a new instance of the SqlContainerGetPropertiesResource class.

public SqlContainerGetPropertiesResource (string id, Microsoft.Azure.Management.CosmosDB.Models.IndexingPolicy indexingPolicy = default, Microsoft.Azure.Management.CosmosDB.Models.ContainerPartitionKey partitionKey = default, int? defaultTtl = default, Microsoft.Azure.Management.CosmosDB.Models.UniqueKeyPolicy uniqueKeyPolicy = default, Microsoft.Azure.Management.CosmosDB.Models.ConflictResolutionPolicy conflictResolutionPolicy = default, long? analyticalStorageTtl = default, string _rid = default, double? _ts = default, string _etag = default);
new Microsoft.Azure.Management.CosmosDB.Models.SqlContainerGetPropertiesResource : string * Microsoft.Azure.Management.CosmosDB.Models.IndexingPolicy * Microsoft.Azure.Management.CosmosDB.Models.ContainerPartitionKey * Nullable<int> * Microsoft.Azure.Management.CosmosDB.Models.UniqueKeyPolicy * Microsoft.Azure.Management.CosmosDB.Models.ConflictResolutionPolicy * Nullable<int64> * string * Nullable<double> * string -> Microsoft.Azure.Management.CosmosDB.Models.SqlContainerGetPropertiesResource
Public Sub New (id As String, Optional indexingPolicy As IndexingPolicy = Nothing, Optional partitionKey As ContainerPartitionKey = Nothing, Optional defaultTtl As Nullable(Of Integer) = Nothing, Optional uniqueKeyPolicy As UniqueKeyPolicy = Nothing, Optional conflictResolutionPolicy As ConflictResolutionPolicy = Nothing, Optional analyticalStorageTtl As Nullable(Of Long) = Nothing, Optional _rid As String = Nothing, Optional _ts As Nullable(Of Double) = Nothing, Optional _etag As String = Nothing)

Parameters

id
String

Name of the Cosmos DB SQL container

indexingPolicy
IndexingPolicy

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

partitionKey
ContainerPartitionKey

The configuration of the partition key to be used for partitioning data into multiple partitions

defaultTtl
Nullable<Int32>

Default time to live

uniqueKeyPolicy
UniqueKeyPolicy

The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.

conflictResolutionPolicy
ConflictResolutionPolicy

The conflict resolution policy for the container.

analyticalStorageTtl
Nullable<Int64>

Analytical TTL.

_rid
String

A system generated property. A unique identifier.

_ts
Nullable<Double>

A system generated property that denotes the last updated timestamp of the resource.

_etag
String

A system generated property representing the resource etag required for optimistic concurrency control.

Applies to