UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

120 lines (119 loc) 5.28 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class DatabaseAccountGremlinGraph extends pulumi.CustomResource { /** * Get an existing DatabaseAccountGremlinGraph resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DatabaseAccountGremlinGraph; /** * Returns true if the given object is an instance of DatabaseAccountGremlinGraph. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DatabaseAccountGremlinGraph; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The conflict resolution policy for the graph. */ readonly conflictResolutionPolicy: pulumi.Output<outputs.cosmosdb.ConflictResolutionPolicyResponse | undefined>; /** * Default time to live */ readonly defaultTtl: pulumi.Output<number | undefined>; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag: pulumi.Output<string | undefined>; /** * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph */ readonly indexingPolicy: pulumi.Output<outputs.cosmosdb.IndexingPolicyResponse | undefined>; /** * The location of the resource group to which the resource belongs. */ readonly location: pulumi.Output<string | undefined>; /** * The name of the database account. */ readonly name: pulumi.Output<string>; /** * The configuration of the partition key to be used for partitioning data into multiple partitions */ readonly partitionKey: pulumi.Output<outputs.cosmosdb.ContainerPartitionKeyResponse | undefined>; /** * A system generated property. A unique identifier. */ readonly rid: pulumi.Output<string | undefined>; /** * 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". */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A system generated property that denotes the last updated timestamp of the resource. */ readonly ts: pulumi.Output<any | undefined>; /** * The type of Azure resource. */ readonly type: pulumi.Output<string>; /** * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ readonly uniqueKeyPolicy: pulumi.Output<outputs.cosmosdb.UniqueKeyPolicyResponse | undefined>; /** * Create a DatabaseAccountGremlinGraph resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DatabaseAccountGremlinGraphArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DatabaseAccountGremlinGraph resource. */ export interface DatabaseAccountGremlinGraphArgs { /** * Cosmos DB database account name. */ accountName: pulumi.Input<string>; /** * Cosmos DB database name. */ databaseName: pulumi.Input<string>; /** * Cosmos DB graph name. */ graphName?: pulumi.Input<string>; /** * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The standard JSON format of a Gremlin graph */ resource: pulumi.Input<inputs.cosmosdb.GremlinGraphResourceArgs>; /** * Name of an Azure resource group. */ resourceGroupName: pulumi.Input<string>; }