azure-native.cosmosdb.DatabaseAccountGremlinGraph
Explore with Pulumi AI
An Azure Cosmos DB Gremlin graph.
Uses Azure REST API version 2016-03-31.
Other available API versions: 2015-04-01, 2015-04-08, 2015-11-06, 2016-03-19. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cosmosdb [ApiVersion]
. See the version guide for details.
Example Usage
CosmosDBGremlinGraphCreateUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var databaseAccountGremlinGraph = new AzureNative.CosmosDB.DatabaseAccountGremlinGraph("databaseAccountGremlinGraph", new()
{
AccountName = "ddb1",
DatabaseName = "databaseName",
GraphName = "graphName",
Options = null,
Resource = new AzureNative.CosmosDB.Inputs.GremlinGraphResourceArgs
{
ConflictResolutionPolicy = new AzureNative.CosmosDB.Inputs.ConflictResolutionPolicyArgs
{
ConflictResolutionPath = "/path",
Mode = AzureNative.CosmosDB.ConflictResolutionMode.LastWriterWins,
},
DefaultTtl = 100,
Id = "graphName",
IndexingPolicy = new AzureNative.CosmosDB.Inputs.IndexingPolicyArgs
{
Automatic = true,
ExcludedPaths = new() { },
IncludedPaths = new[]
{
new AzureNative.CosmosDB.Inputs.IncludedPathArgs
{
Indexes = new[]
{
new AzureNative.CosmosDB.Inputs.IndexesArgs
{
DataType = AzureNative.CosmosDB.DataType.String,
Kind = AzureNative.CosmosDB.IndexKind.Range,
Precision = -1,
},
new AzureNative.CosmosDB.Inputs.IndexesArgs
{
DataType = AzureNative.CosmosDB.DataType.Number,
Kind = AzureNative.CosmosDB.IndexKind.Range,
Precision = -1,
},
},
Path = "/*",
},
},
IndexingMode = "Consistent",
},
PartitionKey = new AzureNative.CosmosDB.Inputs.ContainerPartitionKeyArgs
{
Kind = AzureNative.CosmosDB.PartitionKind.Hash,
Paths = new[]
{
"/AccountNumber",
},
},
UniqueKeyPolicy = new AzureNative.CosmosDB.Inputs.UniqueKeyPolicyArgs
{
UniqueKeys = new[]
{
new AzureNative.CosmosDB.Inputs.UniqueKeyArgs
{
Paths = new[]
{
"/testPath",
},
},
},
},
},
ResourceGroupName = "rg1",
});
});
package main
import (
cosmosdb "github.com/pulumi/pulumi-azure-native-sdk/cosmosdb/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cosmosdb.NewDatabaseAccountGremlinGraph(ctx, "databaseAccountGremlinGraph", &cosmosdb.DatabaseAccountGremlinGraphArgs{
AccountName: pulumi.String("ddb1"),
DatabaseName: pulumi.String("databaseName"),
GraphName: pulumi.String("graphName"),
Options: pulumi.StringMap{},
Resource: &cosmosdb.GremlinGraphResourceArgs{
ConflictResolutionPolicy: &cosmosdb.ConflictResolutionPolicyArgs{
ConflictResolutionPath: pulumi.String("/path"),
Mode: pulumi.String(cosmosdb.ConflictResolutionModeLastWriterWins),
},
DefaultTtl: pulumi.Int(100),
Id: pulumi.String("graphName"),
IndexingPolicy: &cosmosdb.IndexingPolicyArgs{
Automatic: pulumi.Bool(true),
ExcludedPaths: cosmosdb.ExcludedPathArray{},
IncludedPaths: cosmosdb.IncludedPathArray{
&cosmosdb.IncludedPathArgs{
Indexes: cosmosdb.IndexesArray{
&cosmosdb.IndexesArgs{
DataType: pulumi.String(cosmosdb.DataTypeString),
Kind: pulumi.String(cosmosdb.IndexKindRange),
Precision: pulumi.Int(-1),
},
&cosmosdb.IndexesArgs{
DataType: pulumi.String(cosmosdb.DataTypeNumber),
Kind: pulumi.String(cosmosdb.IndexKindRange),
Precision: pulumi.Int(-1),
},
},
Path: pulumi.String("/*"),
},
},
IndexingMode: pulumi.String("Consistent"),
},
PartitionKey: &cosmosdb.ContainerPartitionKeyArgs{
Kind: pulumi.String(cosmosdb.PartitionKindHash),
Paths: pulumi.StringArray{
pulumi.String("/AccountNumber"),
},
},
UniqueKeyPolicy: &cosmosdb.UniqueKeyPolicyArgs{
UniqueKeys: cosmosdb.UniqueKeyArray{
&cosmosdb.UniqueKeyArgs{
Paths: pulumi.StringArray{
pulumi.String("/testPath"),
},
},
},
},
},
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cosmosdb.DatabaseAccountGremlinGraph;
import com.pulumi.azurenative.cosmosdb.DatabaseAccountGremlinGraphArgs;
import com.pulumi.azurenative.cosmosdb.inputs.GremlinGraphResourceArgs;
import com.pulumi.azurenative.cosmosdb.inputs.ConflictResolutionPolicyArgs;
import com.pulumi.azurenative.cosmosdb.inputs.IndexingPolicyArgs;
import com.pulumi.azurenative.cosmosdb.inputs.ContainerPartitionKeyArgs;
import com.pulumi.azurenative.cosmosdb.inputs.UniqueKeyPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var databaseAccountGremlinGraph = new DatabaseAccountGremlinGraph("databaseAccountGremlinGraph", DatabaseAccountGremlinGraphArgs.builder()
.accountName("ddb1")
.databaseName("databaseName")
.graphName("graphName")
.options(Map.ofEntries(
))
.resource(GremlinGraphResourceArgs.builder()
.conflictResolutionPolicy(ConflictResolutionPolicyArgs.builder()
.conflictResolutionPath("/path")
.mode("LastWriterWins")
.build())
.defaultTtl(100)
.id("graphName")
.indexingPolicy(IndexingPolicyArgs.builder()
.automatic(true)
.excludedPaths()
.includedPaths(IncludedPathArgs.builder()
.indexes(
IndexesArgs.builder()
.dataType("String")
.kind("Range")
.precision(-1)
.build(),
IndexesArgs.builder()
.dataType("Number")
.kind("Range")
.precision(-1)
.build())
.path("/*")
.build())
.indexingMode("Consistent")
.build())
.partitionKey(ContainerPartitionKeyArgs.builder()
.kind("Hash")
.paths("/AccountNumber")
.build())
.uniqueKeyPolicy(UniqueKeyPolicyArgs.builder()
.uniqueKeys(UniqueKeyArgs.builder()
.paths("/testPath")
.build())
.build())
.build())
.resourceGroupName("rg1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const databaseAccountGremlinGraph = new azure_native.cosmosdb.DatabaseAccountGremlinGraph("databaseAccountGremlinGraph", {
accountName: "ddb1",
databaseName: "databaseName",
graphName: "graphName",
options: {},
resource: {
conflictResolutionPolicy: {
conflictResolutionPath: "/path",
mode: azure_native.cosmosdb.ConflictResolutionMode.LastWriterWins,
},
defaultTtl: 100,
id: "graphName",
indexingPolicy: {
automatic: true,
excludedPaths: [],
includedPaths: [{
indexes: [
{
dataType: azure_native.cosmosdb.DataType.String,
kind: azure_native.cosmosdb.IndexKind.Range,
precision: -1,
},
{
dataType: azure_native.cosmosdb.DataType.Number,
kind: azure_native.cosmosdb.IndexKind.Range,
precision: -1,
},
],
path: "/*",
}],
indexingMode: "Consistent",
},
partitionKey: {
kind: azure_native.cosmosdb.PartitionKind.Hash,
paths: ["/AccountNumber"],
},
uniqueKeyPolicy: {
uniqueKeys: [{
paths: ["/testPath"],
}],
},
},
resourceGroupName: "rg1",
});
import pulumi
import pulumi_azure_native as azure_native
database_account_gremlin_graph = azure_native.cosmosdb.DatabaseAccountGremlinGraph("databaseAccountGremlinGraph",
account_name="ddb1",
database_name="databaseName",
graph_name="graphName",
options={},
resource={
"conflict_resolution_policy": {
"conflict_resolution_path": "/path",
"mode": azure_native.cosmosdb.ConflictResolutionMode.LAST_WRITER_WINS,
},
"default_ttl": 100,
"id": "graphName",
"indexing_policy": {
"automatic": True,
"excluded_paths": [],
"included_paths": [{
"indexes": [
{
"data_type": azure_native.cosmosdb.DataType.STRING,
"kind": azure_native.cosmosdb.IndexKind.RANGE,
"precision": -1,
},
{
"data_type": azure_native.cosmosdb.DataType.NUMBER,
"kind": azure_native.cosmosdb.IndexKind.RANGE,
"precision": -1,
},
],
"path": "/*",
}],
"indexing_mode": "Consistent",
},
"partition_key": {
"kind": azure_native.cosmosdb.PartitionKind.HASH,
"paths": ["/AccountNumber"],
},
"unique_key_policy": {
"unique_keys": [{
"paths": ["/testPath"],
}],
},
},
resource_group_name="rg1")
resources:
databaseAccountGremlinGraph:
type: azure-native:cosmosdb:DatabaseAccountGremlinGraph
properties:
accountName: ddb1
databaseName: databaseName
graphName: graphName
options: {}
resource:
conflictResolutionPolicy:
conflictResolutionPath: /path
mode: LastWriterWins
defaultTtl: 100
id: graphName
indexingPolicy:
automatic: true
excludedPaths: []
includedPaths:
- indexes:
- dataType: String
kind: Range
precision: -1
- dataType: Number
kind: Range
precision: -1
path: /*
indexingMode: Consistent
partitionKey:
kind: Hash
paths:
- /AccountNumber
uniqueKeyPolicy:
uniqueKeys:
- paths:
- /testPath
resourceGroupName: rg1
Create DatabaseAccountGremlinGraph Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DatabaseAccountGremlinGraph(name: string, args: DatabaseAccountGremlinGraphArgs, opts?: CustomResourceOptions);
@overload
def DatabaseAccountGremlinGraph(resource_name: str,
args: DatabaseAccountGremlinGraphArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DatabaseAccountGremlinGraph(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
database_name: Optional[str] = None,
options: Optional[Mapping[str, str]] = None,
resource: Optional[GremlinGraphResourceArgs] = None,
resource_group_name: Optional[str] = None,
graph_name: Optional[str] = None)
func NewDatabaseAccountGremlinGraph(ctx *Context, name string, args DatabaseAccountGremlinGraphArgs, opts ...ResourceOption) (*DatabaseAccountGremlinGraph, error)
public DatabaseAccountGremlinGraph(string name, DatabaseAccountGremlinGraphArgs args, CustomResourceOptions? opts = null)
public DatabaseAccountGremlinGraph(String name, DatabaseAccountGremlinGraphArgs args)
public DatabaseAccountGremlinGraph(String name, DatabaseAccountGremlinGraphArgs args, CustomResourceOptions options)
type: azure-native:cosmosdb:DatabaseAccountGremlinGraph
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatabaseAccountGremlinGraphArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DatabaseAccountGremlinGraphArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DatabaseAccountGremlinGraphArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseAccountGremlinGraphArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseAccountGremlinGraphArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var databaseAccountGremlinGraphResource = new AzureNative.CosmosDB.DatabaseAccountGremlinGraph("databaseAccountGremlinGraphResource", new()
{
AccountName = "string",
DatabaseName = "string",
Options =
{
{ "string", "string" },
},
Resource = new AzureNative.CosmosDB.Inputs.GremlinGraphResourceArgs
{
Id = "string",
AnalyticalStorageTtl = 0,
ConflictResolutionPolicy = new AzureNative.CosmosDB.Inputs.ConflictResolutionPolicyArgs
{
ConflictResolutionPath = "string",
ConflictResolutionProcedure = "string",
Mode = "string",
},
CreateMode = "string",
DefaultTtl = 0,
IndexingPolicy = new AzureNative.CosmosDB.Inputs.IndexingPolicyArgs
{
Automatic = false,
CompositeIndexes = new[]
{
new[]
{
new AzureNative.CosmosDB.Inputs.CompositePathArgs
{
Order = "string",
Path = "string",
},
},
},
ExcludedPaths = new[]
{
new AzureNative.CosmosDB.Inputs.ExcludedPathArgs
{
Path = "string",
},
},
IncludedPaths = new[]
{
new AzureNative.CosmosDB.Inputs.IncludedPathArgs
{
Indexes = new[]
{
new AzureNative.CosmosDB.Inputs.IndexesArgs
{
DataType = "string",
Kind = "string",
Precision = 0,
},
},
Path = "string",
},
},
IndexingMode = "string",
SpatialIndexes = new[]
{
new AzureNative.CosmosDB.Inputs.SpatialSpecArgs
{
Path = "string",
Types = new[]
{
"string",
},
},
},
VectorIndexes = new[]
{
new AzureNative.CosmosDB.Inputs.VectorIndexArgs
{
Path = "string",
Type = "string",
},
},
},
PartitionKey = new AzureNative.CosmosDB.Inputs.ContainerPartitionKeyArgs
{
Kind = "string",
Paths = new[]
{
"string",
},
Version = 0,
},
RestoreParameters = new AzureNative.CosmosDB.Inputs.ResourceRestoreParametersArgs
{
RestoreSource = "string",
RestoreTimestampInUtc = "string",
RestoreWithTtlDisabled = false,
},
UniqueKeyPolicy = new AzureNative.CosmosDB.Inputs.UniqueKeyPolicyArgs
{
UniqueKeys = new[]
{
new AzureNative.CosmosDB.Inputs.UniqueKeyArgs
{
Paths = new[]
{
"string",
},
},
},
},
},
ResourceGroupName = "string",
GraphName = "string",
});
example, err := cosmosdb.NewDatabaseAccountGremlinGraph(ctx, "databaseAccountGremlinGraphResource", &cosmosdb.DatabaseAccountGremlinGraphArgs{
AccountName: pulumi.String("string"),
DatabaseName: pulumi.String("string"),
Options: pulumi.StringMap{
"string": pulumi.String("string"),
},
Resource: &cosmosdb.GremlinGraphResourceArgs{
Id: pulumi.String("string"),
AnalyticalStorageTtl: pulumi.Float64(0),
ConflictResolutionPolicy: &cosmosdb.ConflictResolutionPolicyArgs{
ConflictResolutionPath: pulumi.String("string"),
ConflictResolutionProcedure: pulumi.String("string"),
Mode: pulumi.String("string"),
},
CreateMode: pulumi.String("string"),
DefaultTtl: pulumi.Int(0),
IndexingPolicy: &cosmosdb.IndexingPolicyArgs{
Automatic: pulumi.Bool(false),
CompositeIndexes: cosmosdb.CompositePathArrayArray{
cosmosdb.CompositePathArray{
&cosmosdb.CompositePathArgs{
Order: pulumi.String("string"),
Path: pulumi.String("string"),
},
},
},
ExcludedPaths: cosmosdb.ExcludedPathArray{
&cosmosdb.ExcludedPathArgs{
Path: pulumi.String("string"),
},
},
IncludedPaths: cosmosdb.IncludedPathArray{
&cosmosdb.IncludedPathArgs{
Indexes: cosmosdb.IndexesArray{
&cosmosdb.IndexesArgs{
DataType: pulumi.String("string"),
Kind: pulumi.String("string"),
Precision: pulumi.Int(0),
},
},
Path: pulumi.String("string"),
},
},
IndexingMode: pulumi.String("string"),
SpatialIndexes: cosmosdb.SpatialSpecArray{
&cosmosdb.SpatialSpecArgs{
Path: pulumi.String("string"),
Types: pulumi.StringArray{
pulumi.String("string"),
},
},
},
VectorIndexes: cosmosdb.VectorIndexArray{
&cosmosdb.VectorIndexArgs{
Path: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
},
PartitionKey: &cosmosdb.ContainerPartitionKeyArgs{
Kind: pulumi.String("string"),
Paths: pulumi.StringArray{
pulumi.String("string"),
},
Version: pulumi.Int(0),
},
RestoreParameters: &cosmosdb.ResourceRestoreParametersArgs{
RestoreSource: pulumi.String("string"),
RestoreTimestampInUtc: pulumi.String("string"),
RestoreWithTtlDisabled: pulumi.Bool(false),
},
UniqueKeyPolicy: &cosmosdb.UniqueKeyPolicyArgs{
UniqueKeys: cosmosdb.UniqueKeyArray{
&cosmosdb.UniqueKeyArgs{
Paths: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
ResourceGroupName: pulumi.String("string"),
GraphName: pulumi.String("string"),
})
var databaseAccountGremlinGraphResource = new DatabaseAccountGremlinGraph("databaseAccountGremlinGraphResource", DatabaseAccountGremlinGraphArgs.builder()
.accountName("string")
.databaseName("string")
.options(Map.of("string", "string"))
.resource(GremlinGraphResourceArgs.builder()
.id("string")
.analyticalStorageTtl(0)
.conflictResolutionPolicy(ConflictResolutionPolicyArgs.builder()
.conflictResolutionPath("string")
.conflictResolutionProcedure("string")
.mode("string")
.build())
.createMode("string")
.defaultTtl(0)
.indexingPolicy(IndexingPolicyArgs.builder()
.automatic(false)
.compositeIndexes(CompositePathArgs.builder()
.order("string")
.path("string")
.build())
.excludedPaths(ExcludedPathArgs.builder()
.path("string")
.build())
.includedPaths(IncludedPathArgs.builder()
.indexes(IndexesArgs.builder()
.dataType("string")
.kind("string")
.precision(0)
.build())
.path("string")
.build())
.indexingMode("string")
.spatialIndexes(SpatialSpecArgs.builder()
.path("string")
.types("string")
.build())
.vectorIndexes(VectorIndexArgs.builder()
.path("string")
.type("string")
.build())
.build())
.partitionKey(ContainerPartitionKeyArgs.builder()
.kind("string")
.paths("string")
.version(0)
.build())
.restoreParameters(ResourceRestoreParametersArgs.builder()
.restoreSource("string")
.restoreTimestampInUtc("string")
.restoreWithTtlDisabled(false)
.build())
.uniqueKeyPolicy(UniqueKeyPolicyArgs.builder()
.uniqueKeys(UniqueKeyArgs.builder()
.paths("string")
.build())
.build())
.build())
.resourceGroupName("string")
.graphName("string")
.build());
database_account_gremlin_graph_resource = azure_native.cosmosdb.DatabaseAccountGremlinGraph("databaseAccountGremlinGraphResource",
account_name="string",
database_name="string",
options={
"string": "string",
},
resource={
"id": "string",
"analytical_storage_ttl": 0,
"conflict_resolution_policy": {
"conflict_resolution_path": "string",
"conflict_resolution_procedure": "string",
"mode": "string",
},
"create_mode": "string",
"default_ttl": 0,
"indexing_policy": {
"automatic": False,
"composite_indexes": [[{
"order": "string",
"path": "string",
}]],
"excluded_paths": [{
"path": "string",
}],
"included_paths": [{
"indexes": [{
"data_type": "string",
"kind": "string",
"precision": 0,
}],
"path": "string",
}],
"indexing_mode": "string",
"spatial_indexes": [{
"path": "string",
"types": ["string"],
}],
"vector_indexes": [{
"path": "string",
"type": "string",
}],
},
"partition_key": {
"kind": "string",
"paths": ["string"],
"version": 0,
},
"restore_parameters": {
"restore_source": "string",
"restore_timestamp_in_utc": "string",
"restore_with_ttl_disabled": False,
},
"unique_key_policy": {
"unique_keys": [{
"paths": ["string"],
}],
},
},
resource_group_name="string",
graph_name="string")
const databaseAccountGremlinGraphResource = new azure_native.cosmosdb.DatabaseAccountGremlinGraph("databaseAccountGremlinGraphResource", {
accountName: "string",
databaseName: "string",
options: {
string: "string",
},
resource: {
id: "string",
analyticalStorageTtl: 0,
conflictResolutionPolicy: {
conflictResolutionPath: "string",
conflictResolutionProcedure: "string",
mode: "string",
},
createMode: "string",
defaultTtl: 0,
indexingPolicy: {
automatic: false,
compositeIndexes: [[{
order: "string",
path: "string",
}]],
excludedPaths: [{
path: "string",
}],
includedPaths: [{
indexes: [{
dataType: "string",
kind: "string",
precision: 0,
}],
path: "string",
}],
indexingMode: "string",
spatialIndexes: [{
path: "string",
types: ["string"],
}],
vectorIndexes: [{
path: "string",
type: "string",
}],
},
partitionKey: {
kind: "string",
paths: ["string"],
version: 0,
},
restoreParameters: {
restoreSource: "string",
restoreTimestampInUtc: "string",
restoreWithTtlDisabled: false,
},
uniqueKeyPolicy: {
uniqueKeys: [{
paths: ["string"],
}],
},
},
resourceGroupName: "string",
graphName: "string",
});
type: azure-native:cosmosdb:DatabaseAccountGremlinGraph
properties:
accountName: string
databaseName: string
graphName: string
options:
string: string
resource:
analyticalStorageTtl: 0
conflictResolutionPolicy:
conflictResolutionPath: string
conflictResolutionProcedure: string
mode: string
createMode: string
defaultTtl: 0
id: string
indexingPolicy:
automatic: false
compositeIndexes:
- - order: string
path: string
excludedPaths:
- path: string
includedPaths:
- indexes:
- dataType: string
kind: string
precision: 0
path: string
indexingMode: string
spatialIndexes:
- path: string
types:
- string
vectorIndexes:
- path: string
type: string
partitionKey:
kind: string
paths:
- string
version: 0
restoreParameters:
restoreSource: string
restoreTimestampInUtc: string
restoreWithTtlDisabled: false
uniqueKeyPolicy:
uniqueKeys:
- paths:
- string
resourceGroupName: string
DatabaseAccountGremlinGraph Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DatabaseAccountGremlinGraph resource accepts the following input properties:
- Account
Name string - Cosmos DB database account name.
- Database
Name string - Cosmos DB database name.
- Options Dictionary<string, string>
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- Resource
Pulumi.
Azure Native. Cosmos DB. Inputs. Gremlin Graph Resource - The standard JSON format of a Gremlin graph
- Resource
Group stringName - Name of an Azure resource group.
- Graph
Name string - Cosmos DB graph name.
- Account
Name string - Cosmos DB database account name.
- Database
Name string - Cosmos DB database name.
- Options map[string]string
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- Resource
Gremlin
Graph Resource Args - The standard JSON format of a Gremlin graph
- Resource
Group stringName - Name of an Azure resource group.
- Graph
Name string - Cosmos DB graph name.
- account
Name String - Cosmos DB database account name.
- database
Name String - Cosmos DB database name.
- options Map<String,String>
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- resource
Gremlin
Graph Resource - The standard JSON format of a Gremlin graph
- resource
Group StringName - Name of an Azure resource group.
- graph
Name String - Cosmos DB graph name.
- account
Name string - Cosmos DB database account name.
- database
Name string - Cosmos DB database name.
- options {[key: string]: string}
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- resource
Gremlin
Graph Resource - The standard JSON format of a Gremlin graph
- resource
Group stringName - Name of an Azure resource group.
- graph
Name string - Cosmos DB graph name.
- account_
name str - Cosmos DB database account name.
- database_
name str - Cosmos DB database name.
- options Mapping[str, str]
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- resource
Gremlin
Graph Resource Args - The standard JSON format of a Gremlin graph
- resource_
group_ strname - Name of an Azure resource group.
- graph_
name str - Cosmos DB graph name.
- account
Name String - Cosmos DB database account name.
- database
Name String - Cosmos DB database name.
- options Map<String>
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- resource Property Map
- The standard JSON format of a Gremlin graph
- resource
Group StringName - Name of an Azure resource group.
- graph
Name String - Cosmos DB graph name.
Outputs
All input properties are implicitly available as output properties. Additionally, the DatabaseAccountGremlinGraph resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the database account.
- Type string
- The type of Azure resource.
- Conflict
Resolution Pulumi.Policy Azure Native. Cosmos DB. Outputs. Conflict Resolution Policy Response - The conflict resolution policy for the graph.
- Default
Ttl int - Default time to live
- Etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- Indexing
Policy Pulumi.Azure Native. Cosmos DB. Outputs. Indexing Policy Response - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- Location string
- The location of the resource group to which the resource belongs.
- Partition
Key Pulumi.Azure Native. Cosmos DB. Outputs. Container Partition Key Response - The configuration of the partition key to be used for partitioning data into multiple partitions
- Rid string
- A system generated property. A unique identifier.
- Dictionary<string, string>
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- Ts object
- A system generated property that denotes the last updated timestamp of the resource.
- Unique
Key Pulumi.Policy Azure Native. Cosmos DB. Outputs. Unique Key Policy Response - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the database account.
- Type string
- The type of Azure resource.
- Conflict
Resolution ConflictPolicy Resolution Policy Response - The conflict resolution policy for the graph.
- Default
Ttl int - Default time to live
- Etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- Indexing
Policy IndexingPolicy Response - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- Location string
- The location of the resource group to which the resource belongs.
- Partition
Key ContainerPartition Key Response - The configuration of the partition key to be used for partitioning data into multiple partitions
- Rid string
- A system generated property. A unique identifier.
- map[string]string
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- Ts interface{}
- A system generated property that denotes the last updated timestamp of the resource.
- Unique
Key UniquePolicy Key Policy Response - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the database account.
- type String
- The type of Azure resource.
- conflict
Resolution ConflictPolicy Resolution Policy Response - The conflict resolution policy for the graph.
- default
Ttl Integer - Default time to live
- etag String
- A system generated property representing the resource etag required for optimistic concurrency control.
- indexing
Policy IndexingPolicy Response - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- location String
- The location of the resource group to which the resource belongs.
- partition
Key ContainerPartition Key Response - The configuration of the partition key to be used for partitioning data into multiple partitions
- rid String
- A system generated property. A unique identifier.
- Map<String,String>
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- ts Object
- A system generated property that denotes the last updated timestamp of the resource.
- unique
Key UniquePolicy Key Policy Response - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the database account.
- type string
- The type of Azure resource.
- conflict
Resolution ConflictPolicy Resolution Policy Response - The conflict resolution policy for the graph.
- default
Ttl number - Default time to live
- etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- indexing
Policy IndexingPolicy Response - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- location string
- The location of the resource group to which the resource belongs.
- partition
Key ContainerPartition Key Response - The configuration of the partition key to be used for partitioning data into multiple partitions
- rid string
- A system generated property. A unique identifier.
- {[key: string]: string}
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- ts any
- A system generated property that denotes the last updated timestamp of the resource.
- unique
Key UniquePolicy Key Policy Response - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the database account.
- type str
- The type of Azure resource.
- conflict_
resolution_ Conflictpolicy Resolution Policy Response - The conflict resolution policy for the graph.
- default_
ttl int - Default time to live
- etag str
- A system generated property representing the resource etag required for optimistic concurrency control.
- indexing_
policy IndexingPolicy Response - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- location str
- The location of the resource group to which the resource belongs.
- partition_
key ContainerPartition Key Response - The configuration of the partition key to be used for partitioning data into multiple partitions
- rid str
- A system generated property. A unique identifier.
- Mapping[str, str]
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- ts Any
- A system generated property that denotes the last updated timestamp of the resource.
- unique_
key_ Uniquepolicy Key Policy Response - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the database account.
- type String
- The type of Azure resource.
- conflict
Resolution Property MapPolicy - The conflict resolution policy for the graph.
- default
Ttl Number - Default time to live
- etag String
- A system generated property representing the resource etag required for optimistic concurrency control.
- indexing
Policy Property Map - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- location String
- The location of the resource group to which the resource belongs.
- partition
Key Property Map - The configuration of the partition key to be used for partitioning data into multiple partitions
- rid String
- A system generated property. A unique identifier.
- Map<String>
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- ts Any
- A system generated property that denotes the last updated timestamp of the resource.
- unique
Key Property MapPolicy - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
Supporting Types
CompositePath, CompositePathArgs
- Order
string | Pulumi.
Azure Native. Cosmos DB. Composite Path Sort Order - Sort order for composite paths.
- Path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- Order
string | Composite
Path Sort Order - Sort order for composite paths.
- Path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- order
String | Composite
Path Sort Order - Sort order for composite paths.
- path String
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- order
string | Composite
Path Sort Order - Sort order for composite paths.
- path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- order
str | Composite
Path Sort Order - Sort order for composite paths.
- path str
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- order String | "ascending" | "descending"
- Sort order for composite paths.
- path String
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
CompositePathResponse, CompositePathResponseArgs
CompositePathSortOrder, CompositePathSortOrderArgs
- @Ascending
- ascending
- @Descending
- descending
- Composite
Path Sort Order Ascending - ascending
- Composite
Path Sort Order Descending - descending
- Ascending
- ascending
- Descending
- descending
- Ascending
- ascending
- Descending
- descending
- ASCENDING
- ascending
- DESCENDING
- descending
- "ascending"
- ascending
- "descending"
- descending
ConflictResolutionMode, ConflictResolutionModeArgs
- Last
Writer Wins - LastWriterWins
- Custom
- Custom
- Conflict
Resolution Mode Last Writer Wins - LastWriterWins
- Conflict
Resolution Mode Custom - Custom
- Last
Writer Wins - LastWriterWins
- Custom
- Custom
- Last
Writer Wins - LastWriterWins
- Custom
- Custom
- LAST_WRITER_WINS
- LastWriterWins
- CUSTOM
- Custom
- "Last
Writer Wins" - LastWriterWins
- "Custom"
- Custom
ConflictResolutionPolicy, ConflictResolutionPolicyArgs
- Conflict
Resolution stringPath - The conflict resolution path in the case of LastWriterWins mode.
- Conflict
Resolution stringProcedure - The procedure to resolve conflicts in the case of custom mode.
- Mode
string | Pulumi.
Azure Native. Cosmos DB. Conflict Resolution Mode - Indicates the conflict resolution mode.
- Conflict
Resolution stringPath - The conflict resolution path in the case of LastWriterWins mode.
- Conflict
Resolution stringProcedure - The procedure to resolve conflicts in the case of custom mode.
- Mode
string | Conflict
Resolution Mode - Indicates the conflict resolution mode.
- conflict
Resolution StringPath - The conflict resolution path in the case of LastWriterWins mode.
- conflict
Resolution StringProcedure - The procedure to resolve conflicts in the case of custom mode.
- mode
String | Conflict
Resolution Mode - Indicates the conflict resolution mode.
- conflict
Resolution stringPath - The conflict resolution path in the case of LastWriterWins mode.
- conflict
Resolution stringProcedure - The procedure to resolve conflicts in the case of custom mode.
- mode
string | Conflict
Resolution Mode - Indicates the conflict resolution mode.
- conflict_
resolution_ strpath - The conflict resolution path in the case of LastWriterWins mode.
- conflict_
resolution_ strprocedure - The procedure to resolve conflicts in the case of custom mode.
- mode
str | Conflict
Resolution Mode - Indicates the conflict resolution mode.
- conflict
Resolution StringPath - The conflict resolution path in the case of LastWriterWins mode.
- conflict
Resolution StringProcedure - The procedure to resolve conflicts in the case of custom mode.
- mode
String | "Last
Writer Wins" | "Custom" - Indicates the conflict resolution mode.
ConflictResolutionPolicyResponse, ConflictResolutionPolicyResponseArgs
- Conflict
Resolution stringPath - The conflict resolution path in the case of LastWriterWins mode.
- Conflict
Resolution stringProcedure - The procedure to resolve conflicts in the case of custom mode.
- Mode string
- Indicates the conflict resolution mode.
- Conflict
Resolution stringPath - The conflict resolution path in the case of LastWriterWins mode.
- Conflict
Resolution stringProcedure - The procedure to resolve conflicts in the case of custom mode.
- Mode string
- Indicates the conflict resolution mode.
- conflict
Resolution StringPath - The conflict resolution path in the case of LastWriterWins mode.
- conflict
Resolution StringProcedure - The procedure to resolve conflicts in the case of custom mode.
- mode String
- Indicates the conflict resolution mode.
- conflict
Resolution stringPath - The conflict resolution path in the case of LastWriterWins mode.
- conflict
Resolution stringProcedure - The procedure to resolve conflicts in the case of custom mode.
- mode string
- Indicates the conflict resolution mode.
- conflict_
resolution_ strpath - The conflict resolution path in the case of LastWriterWins mode.
- conflict_
resolution_ strprocedure - The procedure to resolve conflicts in the case of custom mode.
- mode str
- Indicates the conflict resolution mode.
- conflict
Resolution StringPath - The conflict resolution path in the case of LastWriterWins mode.
- conflict
Resolution StringProcedure - The procedure to resolve conflicts in the case of custom mode.
- mode String
- Indicates the conflict resolution mode.
ContainerPartitionKey, ContainerPartitionKeyArgs
- Kind
string | Pulumi.
Azure Native. Cosmos DB. Partition Kind - Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- Paths List<string>
- List of paths using which data within the container can be partitioned
- Version int
- Indicates the version of the partition key definition
- Kind
string | Partition
Kind - Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- Paths []string
- List of paths using which data within the container can be partitioned
- Version int
- Indicates the version of the partition key definition
- kind
String | Partition
Kind - Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- paths List<String>
- List of paths using which data within the container can be partitioned
- version Integer
- Indicates the version of the partition key definition
- kind
string | Partition
Kind - Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- paths string[]
- List of paths using which data within the container can be partitioned
- version number
- Indicates the version of the partition key definition
- kind
str | Partition
Kind - Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- paths Sequence[str]
- List of paths using which data within the container can be partitioned
- version int
- Indicates the version of the partition key definition
- kind
String | "Hash" | "Range" | "Multi
Hash" - Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- paths List<String>
- List of paths using which data within the container can be partitioned
- version Number
- Indicates the version of the partition key definition
ContainerPartitionKeyResponse, ContainerPartitionKeyResponseArgs
- System
Key bool - Indicates if the container is using a system generated partition key
- Kind string
- Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- Paths List<string>
- List of paths using which data within the container can be partitioned
- Version int
- Indicates the version of the partition key definition
- System
Key bool - Indicates if the container is using a system generated partition key
- Kind string
- Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- Paths []string
- List of paths using which data within the container can be partitioned
- Version int
- Indicates the version of the partition key definition
- system
Key Boolean - Indicates if the container is using a system generated partition key
- kind String
- Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- paths List<String>
- List of paths using which data within the container can be partitioned
- version Integer
- Indicates the version of the partition key definition
- system
Key boolean - Indicates if the container is using a system generated partition key
- kind string
- Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- paths string[]
- List of paths using which data within the container can be partitioned
- version number
- Indicates the version of the partition key definition
- system_
key bool - Indicates if the container is using a system generated partition key
- kind str
- Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- paths Sequence[str]
- List of paths using which data within the container can be partitioned
- version int
- Indicates the version of the partition key definition
- system
Key Boolean - Indicates if the container is using a system generated partition key
- kind String
- Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
- paths List<String>
- List of paths using which data within the container can be partitioned
- version Number
- Indicates the version of the partition key definition
CreateMode, CreateModeArgs
- Default
- Default
- Restore
- Restore
- Create
Mode Default - Default
- Create
Mode Restore - Restore
- Default
- Default
- Restore
- Restore
- Default
- Default
- Restore
- Restore
- DEFAULT
- Default
- RESTORE
- Restore
- "Default"
- Default
- "Restore"
- Restore
DataType, DataTypeArgs
- String
- String
- Number
- Number
- Point
- Point
- Polygon
- Polygon
- Line
String - LineString
- Multi
Polygon - MultiPolygon
- Data
Type String - String
- Data
Type Number - Number
- Data
Type Point - Point
- Data
Type Polygon - Polygon
- Data
Type Line String - LineString
- Data
Type Multi Polygon - MultiPolygon
- String
- String
- Number
- Number
- Point
- Point
- Polygon
- Polygon
- Line
String - LineString
- Multi
Polygon - MultiPolygon
- String
- String
- Number
- Number
- Point
- Point
- Polygon
- Polygon
- Line
String - LineString
- Multi
Polygon - MultiPolygon
- STRING
- String
- NUMBER
- Number
- POINT
- Point
- POLYGON
- Polygon
- LINE_STRING
- LineString
- MULTI_POLYGON
- MultiPolygon
- "String"
- String
- "Number"
- Number
- "Point"
- Point
- "Polygon"
- Polygon
- "Line
String" - LineString
- "Multi
Polygon" - MultiPolygon
ExcludedPath, ExcludedPathArgs
- Path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- Path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- path String
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- path str
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- path String
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
ExcludedPathResponse, ExcludedPathResponseArgs
- Path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- Path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- path String
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- path str
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- path String
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
GremlinGraphResource, GremlinGraphResourceArgs
- Id string
- Name of the Cosmos DB Gremlin graph
- Analytical
Storage doubleTtl - Analytical TTL.
- Conflict
Resolution Pulumi.Policy Azure Native. Cosmos DB. Inputs. Conflict Resolution Policy - The conflict resolution policy for the graph.
- Create
Mode string | Pulumi.Azure Native. Cosmos DB. Create Mode - Enum to indicate the mode of resource creation.
- Default
Ttl int - Default time to live
- Indexing
Policy Pulumi.Azure Native. Cosmos DB. Inputs. Indexing Policy - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- Partition
Key Pulumi.Azure Native. Cosmos DB. Inputs. Container Partition Key - The configuration of the partition key to be used for partitioning data into multiple partitions
- Restore
Parameters Pulumi.Azure Native. Cosmos DB. Inputs. Resource Restore Parameters - Parameters to indicate the information about the restore
- Unique
Key Pulumi.Policy Azure Native. Cosmos DB. Inputs. Unique Key Policy - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- Id string
- Name of the Cosmos DB Gremlin graph
- Analytical
Storage float64Ttl - Analytical TTL.
- Conflict
Resolution ConflictPolicy Resolution Policy - The conflict resolution policy for the graph.
- Create
Mode string | CreateMode - Enum to indicate the mode of resource creation.
- Default
Ttl int - Default time to live
- Indexing
Policy IndexingPolicy - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- Partition
Key ContainerPartition Key - The configuration of the partition key to be used for partitioning data into multiple partitions
- Restore
Parameters ResourceRestore Parameters - Parameters to indicate the information about the restore
- Unique
Key UniquePolicy Key Policy - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- id String
- Name of the Cosmos DB Gremlin graph
- analytical
Storage DoubleTtl - Analytical TTL.
- conflict
Resolution ConflictPolicy Resolution Policy - The conflict resolution policy for the graph.
- create
Mode String | CreateMode - Enum to indicate the mode of resource creation.
- default
Ttl Integer - Default time to live
- indexing
Policy IndexingPolicy - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- partition
Key ContainerPartition Key - The configuration of the partition key to be used for partitioning data into multiple partitions
- restore
Parameters ResourceRestore Parameters - Parameters to indicate the information about the restore
- unique
Key UniquePolicy Key Policy - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- id string
- Name of the Cosmos DB Gremlin graph
- analytical
Storage numberTtl - Analytical TTL.
- conflict
Resolution ConflictPolicy Resolution Policy - The conflict resolution policy for the graph.
- create
Mode string | CreateMode - Enum to indicate the mode of resource creation.
- default
Ttl number - Default time to live
- indexing
Policy IndexingPolicy - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- partition
Key ContainerPartition Key - The configuration of the partition key to be used for partitioning data into multiple partitions
- restore
Parameters ResourceRestore Parameters - Parameters to indicate the information about the restore
- unique
Key UniquePolicy Key Policy - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- id str
- Name of the Cosmos DB Gremlin graph
- analytical_
storage_ floatttl - Analytical TTL.
- conflict_
resolution_ Conflictpolicy Resolution Policy - The conflict resolution policy for the graph.
- create_
mode str | CreateMode - Enum to indicate the mode of resource creation.
- default_
ttl int - Default time to live
- indexing_
policy IndexingPolicy - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- partition_
key ContainerPartition Key - The configuration of the partition key to be used for partitioning data into multiple partitions
- restore_
parameters ResourceRestore Parameters - Parameters to indicate the information about the restore
- unique_
key_ Uniquepolicy Key Policy - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- id String
- Name of the Cosmos DB Gremlin graph
- analytical
Storage NumberTtl - Analytical TTL.
- conflict
Resolution Property MapPolicy - The conflict resolution policy for the graph.
- create
Mode String | "Default" | "Restore" - Enum to indicate the mode of resource creation.
- default
Ttl Number - Default time to live
- indexing
Policy Property Map - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
- partition
Key Property Map - The configuration of the partition key to be used for partitioning data into multiple partitions
- restore
Parameters Property Map - Parameters to indicate the information about the restore
- unique
Key Property MapPolicy - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
IncludedPath, IncludedPathArgs
- Indexes
List<Pulumi.
Azure Native. Cosmos DB. Inputs. Indexes> - List of indexes for this path
- Path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- indexes List<Indexes>
- List of indexes for this path
- path String
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- indexes Sequence[Indexes]
- List of indexes for this path
- path str
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- indexes List<Property Map>
- List of indexes for this path
- path String
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
IncludedPathResponse, IncludedPathResponseArgs
- Indexes
List<Pulumi.
Azure Native. Cosmos DB. Inputs. Indexes Response> - List of indexes for this path
- Path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- Indexes
[]Indexes
Response - List of indexes for this path
- Path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- indexes
List<Indexes
Response> - List of indexes for this path
- path String
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- indexes
Indexes
Response[] - List of indexes for this path
- path string
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- indexes
Sequence[Indexes
Response] - List of indexes for this path
- path str
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
- indexes List<Property Map>
- List of indexes for this path
- path String
- The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
IndexKind, IndexKindArgs
- Hash
- Hash
- Range
- Range
- Spatial
- Spatial
- Index
Kind Hash - Hash
- Index
Kind Range - Range
- Index
Kind Spatial - Spatial
- Hash
- Hash
- Range
- Range
- Spatial
- Spatial
- Hash
- Hash
- Range
- Range
- Spatial
- Spatial
- HASH
- Hash
- RANGE
- Range
- SPATIAL
- Spatial
- "Hash"
- Hash
- "Range"
- Range
- "Spatial"
- Spatial
Indexes, IndexesArgs
- Data
Type string | Pulumi.Azure Native. Cosmos DB. Data Type - The datatype for which the indexing behavior is applied to.
- Kind
string | Pulumi.
Azure Native. Cosmos DB. Index Kind - Indicates the type of index.
- Precision int
- The precision of the index. -1 is maximum precision.
- data
Type String | "String" | "Number" | "Point" | "Polygon" | "LineString" | "Multi Polygon" - The datatype for which the indexing behavior is applied to.
- kind String | "Hash" | "Range" | "Spatial"
- Indicates the type of index.
- precision Number
- The precision of the index. -1 is maximum precision.
IndexesResponse, IndexesResponseArgs
IndexingMode, IndexingModeArgs
- Consistent
- consistent
- Lazy
- lazy
- None
- none
- Indexing
Mode Consistent - consistent
- Indexing
Mode Lazy - lazy
- Indexing
Mode None - none
- Consistent
- consistent
- Lazy
- lazy
- None
- none
- Consistent
- consistent
- Lazy
- lazy
- None
- none
- CONSISTENT
- consistent
- LAZY
- lazy
- NONE
- none
- "consistent"
- consistent
- "lazy"
- lazy
- "none"
- none
IndexingPolicy, IndexingPolicyArgs
- Automatic bool
- Indicates if the indexing policy is automatic
- Composite
Indexes List<ImmutableArray<Pulumi. Azure Native. Cosmos DB. Inputs. Composite Path>> - List of composite path list
- Excluded
Paths List<Pulumi.Azure Native. Cosmos DB. Inputs. Excluded Path> - List of paths to exclude from indexing
- Included
Paths List<Pulumi.Azure Native. Cosmos DB. Inputs. Included Path> - List of paths to include in the indexing
- Indexing
Mode string | Pulumi.Azure Native. Cosmos DB. Indexing Mode - Indicates the indexing mode.
- Spatial
Indexes List<Pulumi.Azure Native. Cosmos DB. Inputs. Spatial Spec> - List of spatial specifics
- Vector
Indexes List<Pulumi.Azure Native. Cosmos DB. Inputs. Vector Index> - List of paths to include in the vector indexing
- Automatic bool
- Indicates if the indexing policy is automatic
- Composite
Indexes [][]CompositePath - List of composite path list
- Excluded
Paths []ExcludedPath - List of paths to exclude from indexing
- Included
Paths []IncludedPath - List of paths to include in the indexing
- Indexing
Mode string | IndexingMode - Indicates the indexing mode.
- Spatial
Indexes []SpatialSpec - List of spatial specifics
- Vector
Indexes []VectorIndex - List of paths to include in the vector indexing
- automatic Boolean
- Indicates if the indexing policy is automatic
- composite
Indexes List<List<CompositePath>> - List of composite path list
- excluded
Paths List<ExcludedPath> - List of paths to exclude from indexing
- included
Paths List<IncludedPath> - List of paths to include in the indexing
- indexing
Mode String | IndexingMode - Indicates the indexing mode.
- spatial
Indexes List<SpatialSpec> - List of spatial specifics
- vector
Indexes List<VectorIndex> - List of paths to include in the vector indexing
- automatic boolean
- Indicates if the indexing policy is automatic
- composite
Indexes CompositePath[][] - List of composite path list
- excluded
Paths ExcludedPath[] - List of paths to exclude from indexing
- included
Paths IncludedPath[] - List of paths to include in the indexing
- indexing
Mode string | IndexingMode - Indicates the indexing mode.
- spatial
Indexes SpatialSpec[] - List of spatial specifics
- vector
Indexes VectorIndex[] - List of paths to include in the vector indexing
- automatic bool
- Indicates if the indexing policy is automatic
- composite_
indexes Sequence[Sequence[CompositePath]] - List of composite path list
- excluded_
paths Sequence[ExcludedPath] - List of paths to exclude from indexing
- included_
paths Sequence[IncludedPath] - List of paths to include in the indexing
- indexing_
mode str | IndexingMode - Indicates the indexing mode.
- spatial_
indexes Sequence[SpatialSpec] - List of spatial specifics
- vector_
indexes Sequence[VectorIndex] - List of paths to include in the vector indexing
- automatic Boolean
- Indicates if the indexing policy is automatic
- composite
Indexes List<List<Property Map>> - List of composite path list
- excluded
Paths List<Property Map> - List of paths to exclude from indexing
- included
Paths List<Property Map> - List of paths to include in the indexing
- indexing
Mode String | "consistent" | "lazy" | "none" - Indicates the indexing mode.
- spatial
Indexes List<Property Map> - List of spatial specifics
- vector
Indexes List<Property Map> - List of paths to include in the vector indexing
IndexingPolicyResponse, IndexingPolicyResponseArgs
- Automatic bool
- Indicates if the indexing policy is automatic
- Composite
Indexes List<ImmutableArray<Pulumi. Azure Native. Cosmos DB. Inputs. Composite Path Response>> - List of composite path list
- Excluded
Paths List<Pulumi.Azure Native. Cosmos DB. Inputs. Excluded Path Response> - List of paths to exclude from indexing
- Included
Paths List<Pulumi.Azure Native. Cosmos DB. Inputs. Included Path Response> - List of paths to include in the indexing
- Indexing
Mode string - Indicates the indexing mode.
- Spatial
Indexes List<Pulumi.Azure Native. Cosmos DB. Inputs. Spatial Spec Response> - List of spatial specifics
- Vector
Indexes List<Pulumi.Azure Native. Cosmos DB. Inputs. Vector Index Response> - List of paths to include in the vector indexing
- Automatic bool
- Indicates if the indexing policy is automatic
- Composite
Indexes [][]CompositePath Response - List of composite path list
- Excluded
Paths []ExcludedPath Response - List of paths to exclude from indexing
- Included
Paths []IncludedPath Response - List of paths to include in the indexing
- Indexing
Mode string - Indicates the indexing mode.
- Spatial
Indexes []SpatialSpec Response - List of spatial specifics
- Vector
Indexes []VectorIndex Response - List of paths to include in the vector indexing
- automatic Boolean
- Indicates if the indexing policy is automatic
- composite
Indexes List<List<CompositePath Response>> - List of composite path list
- excluded
Paths List<ExcludedPath Response> - List of paths to exclude from indexing
- included
Paths List<IncludedPath Response> - List of paths to include in the indexing
- indexing
Mode String - Indicates the indexing mode.
- spatial
Indexes List<SpatialSpec Response> - List of spatial specifics
- vector
Indexes List<VectorIndex Response> - List of paths to include in the vector indexing
- automatic boolean
- Indicates if the indexing policy is automatic
- composite
Indexes CompositePath Response[][] - List of composite path list
- excluded
Paths ExcludedPath Response[] - List of paths to exclude from indexing
- included
Paths IncludedPath Response[] - List of paths to include in the indexing
- indexing
Mode string - Indicates the indexing mode.
- spatial
Indexes SpatialSpec Response[] - List of spatial specifics
- vector
Indexes VectorIndex Response[] - List of paths to include in the vector indexing
- automatic bool
- Indicates if the indexing policy is automatic
- composite_
indexes Sequence[Sequence[CompositePath Response]] - List of composite path list
- excluded_
paths Sequence[ExcludedPath Response] - List of paths to exclude from indexing
- included_
paths Sequence[IncludedPath Response] - List of paths to include in the indexing
- indexing_
mode str - Indicates the indexing mode.
- spatial_
indexes Sequence[SpatialSpec Response] - List of spatial specifics
- vector_
indexes Sequence[VectorIndex Response] - List of paths to include in the vector indexing
- automatic Boolean
- Indicates if the indexing policy is automatic
- composite
Indexes List<List<Property Map>> - List of composite path list
- excluded
Paths List<Property Map> - List of paths to exclude from indexing
- included
Paths List<Property Map> - List of paths to include in the indexing
- indexing
Mode String - Indicates the indexing mode.
- spatial
Indexes List<Property Map> - List of spatial specifics
- vector
Indexes List<Property Map> - List of paths to include in the vector indexing
PartitionKind, PartitionKindArgs
- Hash
- Hash
- Range
- Range
- Multi
Hash - MultiHash
- Partition
Kind Hash - Hash
- Partition
Kind Range - Range
- Partition
Kind Multi Hash - MultiHash
- Hash
- Hash
- Range
- Range
- Multi
Hash - MultiHash
- Hash
- Hash
- Range
- Range
- Multi
Hash - MultiHash
- HASH
- Hash
- RANGE
- Range
- MULTI_HASH
- MultiHash
- "Hash"
- Hash
- "Range"
- Range
- "Multi
Hash" - MultiHash
ResourceRestoreParameters, ResourceRestoreParametersArgs
- Restore
Source string - The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- Restore
Timestamp stringIn Utc - Time to which the account has to be restored (ISO-8601 format).
- Restore
With boolTtl Disabled - Specifies whether the restored account will have Time-To-Live disabled upon the successful restore.
- Restore
Source string - The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- Restore
Timestamp stringIn Utc - Time to which the account has to be restored (ISO-8601 format).
- Restore
With boolTtl Disabled - Specifies whether the restored account will have Time-To-Live disabled upon the successful restore.
- restore
Source String - The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restore
Timestamp StringIn Utc - Time to which the account has to be restored (ISO-8601 format).
- restore
With BooleanTtl Disabled - Specifies whether the restored account will have Time-To-Live disabled upon the successful restore.
- restore
Source string - The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restore
Timestamp stringIn Utc - Time to which the account has to be restored (ISO-8601 format).
- restore
With booleanTtl Disabled - Specifies whether the restored account will have Time-To-Live disabled upon the successful restore.
- restore_
source str - The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restore_
timestamp_ strin_ utc - Time to which the account has to be restored (ISO-8601 format).
- restore_
with_ boolttl_ disabled - Specifies whether the restored account will have Time-To-Live disabled upon the successful restore.
- restore
Source String - The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restore
Timestamp StringIn Utc - Time to which the account has to be restored (ISO-8601 format).
- restore
With BooleanTtl Disabled - Specifies whether the restored account will have Time-To-Live disabled upon the successful restore.
SpatialSpec, SpatialSpecArgs
SpatialSpecResponse, SpatialSpecResponseArgs
SpatialType, SpatialTypeArgs
- Point
- Point
- Line
String - LineString
- Polygon
- Polygon
- Multi
Polygon - MultiPolygon
- Spatial
Type Point - Point
- Spatial
Type Line String - LineString
- Spatial
Type Polygon - Polygon
- Spatial
Type Multi Polygon - MultiPolygon
- Point
- Point
- Line
String - LineString
- Polygon
- Polygon
- Multi
Polygon - MultiPolygon
- Point
- Point
- Line
String - LineString
- Polygon
- Polygon
- Multi
Polygon - MultiPolygon
- POINT
- Point
- LINE_STRING
- LineString
- POLYGON
- Polygon
- MULTI_POLYGON
- MultiPolygon
- "Point"
- Point
- "Line
String" - LineString
- "Polygon"
- Polygon
- "Multi
Polygon" - MultiPolygon
UniqueKey, UniqueKeyArgs
- Paths List<string>
- List of paths must be unique for each document in the Azure Cosmos DB service
- Paths []string
- List of paths must be unique for each document in the Azure Cosmos DB service
- paths List<String>
- List of paths must be unique for each document in the Azure Cosmos DB service
- paths string[]
- List of paths must be unique for each document in the Azure Cosmos DB service
- paths Sequence[str]
- List of paths must be unique for each document in the Azure Cosmos DB service
- paths List<String>
- List of paths must be unique for each document in the Azure Cosmos DB service
UniqueKeyPolicy, UniqueKeyPolicyArgs
- Unique
Keys List<Pulumi.Azure Native. Cosmos DB. Inputs. Unique Key> - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- Unique
Keys []UniqueKey - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- unique
Keys List<UniqueKey> - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- unique
Keys UniqueKey[] - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- unique_
keys Sequence[UniqueKey] - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- unique
Keys List<Property Map> - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
UniqueKeyPolicyResponse, UniqueKeyPolicyResponseArgs
- Unique
Keys List<Pulumi.Azure Native. Cosmos DB. Inputs. Unique Key Response> - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- Unique
Keys []UniqueKey Response - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- unique
Keys List<UniqueKey Response> - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- unique
Keys UniqueKey Response[] - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- unique_
keys Sequence[UniqueKey Response] - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- unique
Keys List<Property Map> - List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
UniqueKeyResponse, UniqueKeyResponseArgs
- Paths List<string>
- List of paths must be unique for each document in the Azure Cosmos DB service
- Paths []string
- List of paths must be unique for each document in the Azure Cosmos DB service
- paths List<String>
- List of paths must be unique for each document in the Azure Cosmos DB service
- paths string[]
- List of paths must be unique for each document in the Azure Cosmos DB service
- paths Sequence[str]
- List of paths must be unique for each document in the Azure Cosmos DB service
- paths List<String>
- List of paths must be unique for each document in the Azure Cosmos DB service
VectorIndex, VectorIndexArgs
- Path string
- The path to the vector field in the document.
- Type
string | Pulumi.
Azure Native. Cosmos DB. Vector Index Type - The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported.
- Path string
- The path to the vector field in the document.
- Type
string | Vector
Index Type - The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported.
- path String
- The path to the vector field in the document.
- type
String | Vector
Index Type - The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported.
- path string
- The path to the vector field in the document.
- type
string | Vector
Index Type - The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported.
- path str
- The path to the vector field in the document.
- type
str | Vector
Index Type - The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported.
- path String
- The path to the vector field in the document.
- type
String | "flat" | "disk
ANN" | "quantized Flat" - The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported.
VectorIndexResponse, VectorIndexResponseArgs
VectorIndexType, VectorIndexTypeArgs
- Flat
- flat
- Disk
ANN - diskANN
- Quantized
Flat - quantizedFlat
- Vector
Index Type Flat - flat
- Vector
Index Type Disk ANN - diskANN
- Vector
Index Type Quantized Flat - quantizedFlat
- Flat
- flat
- Disk
ANN - diskANN
- Quantized
Flat - quantizedFlat
- Flat
- flat
- Disk
ANN - diskANN
- Quantized
Flat - quantizedFlat
- FLAT
- flat
- DISK_ANN
- diskANN
- QUANTIZED_FLAT
- quantizedFlat
- "flat"
- flat
- "disk
ANN" - diskANN
- "quantized
Flat" - quantizedFlat
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:cosmosdb:DatabaseAccountGremlinGraph graphName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/apis/gremlin/databases/{databaseName}/graphs/{graphName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0