共用方式為


ArmCosmosDBModelFactory.ExtendedGremlinGraphResourceInfo Method

Definition

Overloads

ExtendedGremlinGraphResourceInfo(String, CosmosDBIndexingPolicy, CosmosDBContainerPartitionKey, Nullable<Int32>, IEnumerable<CosmosDBUniqueKey>, ConflictResolutionPolicy, Nullable<Int64>, String, Nullable<Single>, Nullable<ETag>)
ExtendedGremlinGraphResourceInfo(String, CosmosDBIndexingPolicy, CosmosDBContainerPartitionKey, Nullable<Int32>, IEnumerable<CosmosDBUniqueKey>, ConflictResolutionPolicy, Nullable<Int64>, ResourceRestoreParameters, Nullable<CosmosDBAccountCreateMode>, String, Nullable<Single>, Nullable<ETag>)

Initializes a new instance of ExtendedGremlinGraphResourceInfo.

ExtendedGremlinGraphResourceInfo(String, CosmosDBIndexingPolicy, CosmosDBContainerPartitionKey, Nullable<Int32>, IEnumerable<CosmosDBUniqueKey>, ConflictResolutionPolicy, Nullable<Int64>, String, Nullable<Single>, Nullable<ETag>)

Source:
ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.ExtendedGremlinGraphResourceInfo ExtendedGremlinGraphResourceInfo (string graphName = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBIndexingPolicy indexingPolicy = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBContainerPartitionKey partitionKey = default, int? defaultTtl = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBUniqueKey> uniqueKeys = default, Azure.ResourceManager.CosmosDB.Models.ConflictResolutionPolicy conflictResolutionPolicy = default, long? analyticalStorageTtl = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member ExtendedGremlinGraphResourceInfo : string * Azure.ResourceManager.CosmosDB.Models.CosmosDBIndexingPolicy * Azure.ResourceManager.CosmosDB.Models.CosmosDBContainerPartitionKey * Nullable<int> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBUniqueKey> * Azure.ResourceManager.CosmosDB.Models.ConflictResolutionPolicy * Nullable<int64> * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.ExtendedGremlinGraphResourceInfo
Public Shared Function ExtendedGremlinGraphResourceInfo (Optional graphName As String = Nothing, Optional indexingPolicy As CosmosDBIndexingPolicy = Nothing, Optional partitionKey As CosmosDBContainerPartitionKey = Nothing, Optional defaultTtl As Nullable(Of Integer) = Nothing, Optional uniqueKeys As IEnumerable(Of CosmosDBUniqueKey) = Nothing, Optional conflictResolutionPolicy As ConflictResolutionPolicy = Nothing, Optional analyticalStorageTtl As Nullable(Of Long) = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ExtendedGremlinGraphResourceInfo

Parameters

graphName
String
indexingPolicy
CosmosDBIndexingPolicy
defaultTtl
Nullable<Int32>
conflictResolutionPolicy
ConflictResolutionPolicy
analyticalStorageTtl
Nullable<Int64>
rid
String
timestamp
Nullable<Single>
etag
Nullable<ETag>

Returns

Applies to

ExtendedGremlinGraphResourceInfo(String, CosmosDBIndexingPolicy, CosmosDBContainerPartitionKey, Nullable<Int32>, IEnumerable<CosmosDBUniqueKey>, ConflictResolutionPolicy, Nullable<Int64>, ResourceRestoreParameters, Nullable<CosmosDBAccountCreateMode>, String, Nullable<Single>, Nullable<ETag>)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of ExtendedGremlinGraphResourceInfo.

public static Azure.ResourceManager.CosmosDB.Models.ExtendedGremlinGraphResourceInfo ExtendedGremlinGraphResourceInfo (string graphName = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBIndexingPolicy indexingPolicy = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBContainerPartitionKey partitionKey = default, int? defaultTtl = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBUniqueKey> uniqueKeys = default, Azure.ResourceManager.CosmosDB.Models.ConflictResolutionPolicy conflictResolutionPolicy = default, long? analyticalStorageTtl = default, Azure.ResourceManager.CosmosDB.Models.ResourceRestoreParameters restoreParameters = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode? createMode = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member ExtendedGremlinGraphResourceInfo : string * Azure.ResourceManager.CosmosDB.Models.CosmosDBIndexingPolicy * Azure.ResourceManager.CosmosDB.Models.CosmosDBContainerPartitionKey * Nullable<int> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBUniqueKey> * Azure.ResourceManager.CosmosDB.Models.ConflictResolutionPolicy * Nullable<int64> * Azure.ResourceManager.CosmosDB.Models.ResourceRestoreParameters * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode> * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.ExtendedGremlinGraphResourceInfo
Public Shared Function ExtendedGremlinGraphResourceInfo (Optional graphName As String = Nothing, Optional indexingPolicy As CosmosDBIndexingPolicy = Nothing, Optional partitionKey As CosmosDBContainerPartitionKey = Nothing, Optional defaultTtl As Nullable(Of Integer) = Nothing, Optional uniqueKeys As IEnumerable(Of CosmosDBUniqueKey) = Nothing, Optional conflictResolutionPolicy As ConflictResolutionPolicy = Nothing, Optional analyticalStorageTtl As Nullable(Of Long) = Nothing, Optional restoreParameters As ResourceRestoreParameters = Nothing, Optional createMode As Nullable(Of CosmosDBAccountCreateMode) = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ExtendedGremlinGraphResourceInfo

Parameters

graphName
String

Name of the Cosmos DB Gremlin graph.

indexingPolicy
CosmosDBIndexingPolicy

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

partitionKey
CosmosDBContainerPartitionKey

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

defaultTtl
Nullable<Int32>

Default time to live.

uniqueKeys
IEnumerable<CosmosDBUniqueKey>

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.

analyticalStorageTtl
Nullable<Int64>

Analytical TTL.

restoreParameters
ResourceRestoreParameters

Parameters to indicate the information about the restore.

createMode
Nullable<CosmosDBAccountCreateMode>

Enum to indicate the mode of resource creation.

rid
String

A system generated property. A unique identifier.

timestamp
Nullable<Single>

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

etag
Nullable<ETag>

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

Returns

A new ExtendedGremlinGraphResourceInfo instance for mocking.

Applies to