GremlinGraphResource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GremlinGraphResource() |
Initializes a new instance of the GremlinGraphResource class. |
GremlinGraphResource(String, IndexingPolicy, ContainerPartitionKey, Nullable<Int32>, UniqueKeyPolicy, ConflictResolutionPolicy) |
Initializes a new instance of the GremlinGraphResource class. |
GremlinGraphResource()
Initializes a new instance of the GremlinGraphResource class.
public GremlinGraphResource ();
Public Sub New ()
Applies to
GremlinGraphResource(String, IndexingPolicy, ContainerPartitionKey, Nullable<Int32>, UniqueKeyPolicy, ConflictResolutionPolicy)
Initializes a new instance of the GremlinGraphResource class.
public GremlinGraphResource (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);
new Microsoft.Azure.Management.CosmosDB.Models.GremlinGraphResource : 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 -> Microsoft.Azure.Management.CosmosDB.Models.GremlinGraphResource
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)
Parameters
- id
- String
Name of the Cosmos DB Gremlin graph
- indexingPolicy
- IndexingPolicy
The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- partitionKey
- ContainerPartitionKey
The configuration of the partition key to be used for partitioning data into multiple partitions
- 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 graph.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應