azure-native.documentdb.SqlResourceSqlContainer
Explore with Pulumi AI
An Azure Cosmos DB container. Azure REST API version: 2023-04-15. Prior API version in Azure Native 1.x: 2021-03-15.
Other available API versions: 2023-03-15-preview, 2023-09-15, 2023-09-15-preview, 2023-11-15, 2023-11-15-preview, 2024-02-15-preview, 2024-05-15, 2024-05-15-preview, 2024-08-15, 2024-09-01-preview, 2024-11-15, 2024-12-01-preview.
Example Usage
CosmosDBSqlContainerCreateUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var sqlResourceSqlContainer = new AzureNative.DocumentDB.SqlResourceSqlContainer("sqlResourceSqlContainer", new()
    {
        AccountName = "ddb1",
        ContainerName = "containerName",
        DatabaseName = "databaseName",
        Location = "West US",
        Options = null,
        Resource = new AzureNative.DocumentDB.Inputs.SqlContainerResourceArgs
        {
            ClientEncryptionPolicy = new AzureNative.DocumentDB.Inputs.ClientEncryptionPolicyArgs
            {
                IncludedPaths = new[]
                {
                    new AzureNative.DocumentDB.Inputs.ClientEncryptionIncludedPathArgs
                    {
                        ClientEncryptionKeyId = "keyId",
                        EncryptionAlgorithm = "AEAD_AES_256_CBC_HMAC_SHA256",
                        EncryptionType = "Deterministic",
                        Path = "/path",
                    },
                },
                PolicyFormatVersion = 2,
            },
            ConflictResolutionPolicy = new AzureNative.DocumentDB.Inputs.ConflictResolutionPolicyArgs
            {
                ConflictResolutionPath = "/path",
                Mode = AzureNative.DocumentDB.ConflictResolutionMode.LastWriterWins,
            },
            DefaultTtl = 100,
            Id = "containerName",
            IndexingPolicy = new AzureNative.DocumentDB.Inputs.IndexingPolicyArgs
            {
                Automatic = true,
                ExcludedPaths = new() { },
                IncludedPaths = new[]
                {
                    new AzureNative.DocumentDB.Inputs.IncludedPathArgs
                    {
                        Indexes = new[]
                        {
                            new AzureNative.DocumentDB.Inputs.IndexesArgs
                            {
                                DataType = AzureNative.DocumentDB.DataType.String,
                                Kind = AzureNative.DocumentDB.IndexKind.Range,
                                Precision = -1,
                            },
                            new AzureNative.DocumentDB.Inputs.IndexesArgs
                            {
                                DataType = AzureNative.DocumentDB.DataType.Number,
                                Kind = AzureNative.DocumentDB.IndexKind.Range,
                                Precision = -1,
                            },
                        },
                        Path = "/*",
                    },
                },
                IndexingMode = AzureNative.DocumentDB.IndexingMode.Consistent,
            },
            PartitionKey = new AzureNative.DocumentDB.Inputs.ContainerPartitionKeyArgs
            {
                Kind = AzureNative.DocumentDB.PartitionKind.Hash,
                Paths = new[]
                {
                    "/AccountNumber",
                },
            },
            UniqueKeyPolicy = new AzureNative.DocumentDB.Inputs.UniqueKeyPolicyArgs
            {
                UniqueKeys = new[]
                {
                    new AzureNative.DocumentDB.Inputs.UniqueKeyArgs
                    {
                        Paths = new[]
                        {
                            "/testPath",
                        },
                    },
                },
            },
        },
        ResourceGroupName = "rg1",
        Tags = null,
    });
});
package main
import (
	documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := documentdb.NewSqlResourceSqlContainer(ctx, "sqlResourceSqlContainer", &documentdb.SqlResourceSqlContainerArgs{
			AccountName:   pulumi.String("ddb1"),
			ContainerName: pulumi.String("containerName"),
			DatabaseName:  pulumi.String("databaseName"),
			Location:      pulumi.String("West US"),
			Options:       &documentdb.CreateUpdateOptionsArgs{},
			Resource: &documentdb.SqlContainerResourceArgs{
				ClientEncryptionPolicy: &documentdb.ClientEncryptionPolicyArgs{
					IncludedPaths: documentdb.ClientEncryptionIncludedPathArray{
						&documentdb.ClientEncryptionIncludedPathArgs{
							ClientEncryptionKeyId: pulumi.String("keyId"),
							EncryptionAlgorithm:   pulumi.String("AEAD_AES_256_CBC_HMAC_SHA256"),
							EncryptionType:        pulumi.String("Deterministic"),
							Path:                  pulumi.String("/path"),
						},
					},
					PolicyFormatVersion: pulumi.Int(2),
				},
				ConflictResolutionPolicy: &documentdb.ConflictResolutionPolicyArgs{
					ConflictResolutionPath: pulumi.String("/path"),
					Mode:                   pulumi.String(documentdb.ConflictResolutionModeLastWriterWins),
				},
				DefaultTtl: pulumi.Int(100),
				Id:         pulumi.String("containerName"),
				IndexingPolicy: &documentdb.IndexingPolicyArgs{
					Automatic:     pulumi.Bool(true),
					ExcludedPaths: documentdb.ExcludedPathArray{},
					IncludedPaths: documentdb.IncludedPathArray{
						&documentdb.IncludedPathArgs{
							Indexes: documentdb.IndexesArray{
								&documentdb.IndexesArgs{
									DataType:  pulumi.String(documentdb.DataTypeString),
									Kind:      pulumi.String(documentdb.IndexKindRange),
									Precision: pulumi.Int(-1),
								},
								&documentdb.IndexesArgs{
									DataType:  pulumi.String(documentdb.DataTypeNumber),
									Kind:      pulumi.String(documentdb.IndexKindRange),
									Precision: pulumi.Int(-1),
								},
							},
							Path: pulumi.String("/*"),
						},
					},
					IndexingMode: pulumi.String(documentdb.IndexingModeConsistent),
				},
				PartitionKey: &documentdb.ContainerPartitionKeyArgs{
					Kind: pulumi.String(documentdb.PartitionKindHash),
					Paths: pulumi.StringArray{
						pulumi.String("/AccountNumber"),
					},
				},
				UniqueKeyPolicy: &documentdb.UniqueKeyPolicyArgs{
					UniqueKeys: documentdb.UniqueKeyArray{
						&documentdb.UniqueKeyArgs{
							Paths: pulumi.StringArray{
								pulumi.String("/testPath"),
							},
						},
					},
				},
			},
			ResourceGroupName: pulumi.String("rg1"),
			Tags:              pulumi.StringMap{},
		})
		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.documentdb.SqlResourceSqlContainer;
import com.pulumi.azurenative.documentdb.SqlResourceSqlContainerArgs;
import com.pulumi.azurenative.documentdb.inputs.CreateUpdateOptionsArgs;
import com.pulumi.azurenative.documentdb.inputs.SqlContainerResourceArgs;
import com.pulumi.azurenative.documentdb.inputs.ClientEncryptionPolicyArgs;
import com.pulumi.azurenative.documentdb.inputs.ConflictResolutionPolicyArgs;
import com.pulumi.azurenative.documentdb.inputs.IndexingPolicyArgs;
import com.pulumi.azurenative.documentdb.inputs.ContainerPartitionKeyArgs;
import com.pulumi.azurenative.documentdb.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 sqlResourceSqlContainer = new SqlResourceSqlContainer("sqlResourceSqlContainer", SqlResourceSqlContainerArgs.builder()
            .accountName("ddb1")
            .containerName("containerName")
            .databaseName("databaseName")
            .location("West US")
            .options()
            .resource(SqlContainerResourceArgs.builder()
                .clientEncryptionPolicy(ClientEncryptionPolicyArgs.builder()
                    .includedPaths(ClientEncryptionIncludedPathArgs.builder()
                        .clientEncryptionKeyId("keyId")
                        .encryptionAlgorithm("AEAD_AES_256_CBC_HMAC_SHA256")
                        .encryptionType("Deterministic")
                        .path("/path")
                        .build())
                    .policyFormatVersion(2)
                    .build())
                .conflictResolutionPolicy(ConflictResolutionPolicyArgs.builder()
                    .conflictResolutionPath("/path")
                    .mode("LastWriterWins")
                    .build())
                .defaultTtl(100)
                .id("containerName")
                .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")
            .tags()
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const sqlResourceSqlContainer = new azure_native.documentdb.SqlResourceSqlContainer("sqlResourceSqlContainer", {
    accountName: "ddb1",
    containerName: "containerName",
    databaseName: "databaseName",
    location: "West US",
    options: {},
    resource: {
        clientEncryptionPolicy: {
            includedPaths: [{
                clientEncryptionKeyId: "keyId",
                encryptionAlgorithm: "AEAD_AES_256_CBC_HMAC_SHA256",
                encryptionType: "Deterministic",
                path: "/path",
            }],
            policyFormatVersion: 2,
        },
        conflictResolutionPolicy: {
            conflictResolutionPath: "/path",
            mode: azure_native.documentdb.ConflictResolutionMode.LastWriterWins,
        },
        defaultTtl: 100,
        id: "containerName",
        indexingPolicy: {
            automatic: true,
            excludedPaths: [],
            includedPaths: [{
                indexes: [
                    {
                        dataType: azure_native.documentdb.DataType.String,
                        kind: azure_native.documentdb.IndexKind.Range,
                        precision: -1,
                    },
                    {
                        dataType: azure_native.documentdb.DataType.Number,
                        kind: azure_native.documentdb.IndexKind.Range,
                        precision: -1,
                    },
                ],
                path: "/*",
            }],
            indexingMode: azure_native.documentdb.IndexingMode.Consistent,
        },
        partitionKey: {
            kind: azure_native.documentdb.PartitionKind.Hash,
            paths: ["/AccountNumber"],
        },
        uniqueKeyPolicy: {
            uniqueKeys: [{
                paths: ["/testPath"],
            }],
        },
    },
    resourceGroupName: "rg1",
    tags: {},
});
import pulumi
import pulumi_azure_native as azure_native
sql_resource_sql_container = azure_native.documentdb.SqlResourceSqlContainer("sqlResourceSqlContainer",
    account_name="ddb1",
    container_name="containerName",
    database_name="databaseName",
    location="West US",
    options={},
    resource={
        "client_encryption_policy": {
            "included_paths": [{
                "client_encryption_key_id": "keyId",
                "encryption_algorithm": "AEAD_AES_256_CBC_HMAC_SHA256",
                "encryption_type": "Deterministic",
                "path": "/path",
            }],
            "policy_format_version": 2,
        },
        "conflict_resolution_policy": {
            "conflict_resolution_path": "/path",
            "mode": azure_native.documentdb.ConflictResolutionMode.LAST_WRITER_WINS,
        },
        "default_ttl": 100,
        "id": "containerName",
        "indexing_policy": {
            "automatic": True,
            "excluded_paths": [],
            "included_paths": [{
                "indexes": [
                    {
                        "data_type": azure_native.documentdb.DataType.STRING,
                        "kind": azure_native.documentdb.IndexKind.RANGE,
                        "precision": -1,
                    },
                    {
                        "data_type": azure_native.documentdb.DataType.NUMBER,
                        "kind": azure_native.documentdb.IndexKind.RANGE,
                        "precision": -1,
                    },
                ],
                "path": "/*",
            }],
            "indexing_mode": azure_native.documentdb.IndexingMode.CONSISTENT,
        },
        "partition_key": {
            "kind": azure_native.documentdb.PartitionKind.HASH,
            "paths": ["/AccountNumber"],
        },
        "unique_key_policy": {
            "unique_keys": [{
                "paths": ["/testPath"],
            }],
        },
    },
    resource_group_name="rg1",
    tags={})
resources:
  sqlResourceSqlContainer:
    type: azure-native:documentdb:SqlResourceSqlContainer
    properties:
      accountName: ddb1
      containerName: containerName
      databaseName: databaseName
      location: West US
      options: {}
      resource:
        clientEncryptionPolicy:
          includedPaths:
            - clientEncryptionKeyId: keyId
              encryptionAlgorithm: AEAD_AES_256_CBC_HMAC_SHA256
              encryptionType: Deterministic
              path: /path
          policyFormatVersion: 2
        conflictResolutionPolicy:
          conflictResolutionPath: /path
          mode: LastWriterWins
        defaultTtl: 100
        id: containerName
        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
      tags: {}
Create SqlResourceSqlContainer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SqlResourceSqlContainer(name: string, args: SqlResourceSqlContainerArgs, opts?: CustomResourceOptions);@overload
def SqlResourceSqlContainer(resource_name: str,
                            args: SqlResourceSqlContainerArgs,
                            opts: Optional[ResourceOptions] = None)
@overload
def SqlResourceSqlContainer(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            account_name: Optional[str] = None,
                            database_name: Optional[str] = None,
                            resource: Optional[SqlContainerResourceArgs] = None,
                            resource_group_name: Optional[str] = None,
                            container_name: Optional[str] = None,
                            location: Optional[str] = None,
                            options: Optional[CreateUpdateOptionsArgs] = None,
                            tags: Optional[Mapping[str, str]] = None)func NewSqlResourceSqlContainer(ctx *Context, name string, args SqlResourceSqlContainerArgs, opts ...ResourceOption) (*SqlResourceSqlContainer, error)public SqlResourceSqlContainer(string name, SqlResourceSqlContainerArgs args, CustomResourceOptions? opts = null)
public SqlResourceSqlContainer(String name, SqlResourceSqlContainerArgs args)
public SqlResourceSqlContainer(String name, SqlResourceSqlContainerArgs args, CustomResourceOptions options)
type: azure-native:documentdb:SqlResourceSqlContainer
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 SqlResourceSqlContainerArgs
- 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 SqlResourceSqlContainerArgs
- 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 SqlResourceSqlContainerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SqlResourceSqlContainerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SqlResourceSqlContainerArgs
- 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 sqlResourceSqlContainerResource = new AzureNative.DocumentDB.SqlResourceSqlContainer("sqlResourceSqlContainerResource", new()
{
    AccountName = "string",
    DatabaseName = "string",
    Resource = new AzureNative.DocumentDB.Inputs.SqlContainerResourceArgs
    {
        Id = "string",
        AnalyticalStorageTtl = 0,
        ClientEncryptionPolicy = new AzureNative.DocumentDB.Inputs.ClientEncryptionPolicyArgs
        {
            IncludedPaths = new[]
            {
                new AzureNative.DocumentDB.Inputs.ClientEncryptionIncludedPathArgs
                {
                    ClientEncryptionKeyId = "string",
                    EncryptionAlgorithm = "string",
                    EncryptionType = "string",
                    Path = "string",
                },
            },
            PolicyFormatVersion = 0,
        },
        ConflictResolutionPolicy = new AzureNative.DocumentDB.Inputs.ConflictResolutionPolicyArgs
        {
            ConflictResolutionPath = "string",
            ConflictResolutionProcedure = "string",
            Mode = "string",
        },
        DefaultTtl = 0,
        IndexingPolicy = new AzureNative.DocumentDB.Inputs.IndexingPolicyArgs
        {
            Automatic = false,
            CompositeIndexes = new[]
            {
                new[]
                {
                    new AzureNative.DocumentDB.Inputs.CompositePathArgs
                    {
                        Order = "string",
                        Path = "string",
                    },
                },
            },
            ExcludedPaths = new[]
            {
                new AzureNative.DocumentDB.Inputs.ExcludedPathArgs
                {
                    Path = "string",
                },
            },
            IncludedPaths = new[]
            {
                new AzureNative.DocumentDB.Inputs.IncludedPathArgs
                {
                    Indexes = new[]
                    {
                        new AzureNative.DocumentDB.Inputs.IndexesArgs
                        {
                            DataType = "string",
                            Kind = "string",
                            Precision = 0,
                        },
                    },
                    Path = "string",
                },
            },
            IndexingMode = "string",
            SpatialIndexes = new[]
            {
                new AzureNative.DocumentDB.Inputs.SpatialSpecArgs
                {
                    Path = "string",
                    Types = new[]
                    {
                        "string",
                    },
                },
            },
        },
        PartitionKey = new AzureNative.DocumentDB.Inputs.ContainerPartitionKeyArgs
        {
            Kind = "string",
            Paths = new[]
            {
                "string",
            },
            Version = 0,
        },
        UniqueKeyPolicy = new AzureNative.DocumentDB.Inputs.UniqueKeyPolicyArgs
        {
            UniqueKeys = new[]
            {
                new AzureNative.DocumentDB.Inputs.UniqueKeyArgs
                {
                    Paths = new[]
                    {
                        "string",
                    },
                },
            },
        },
    },
    ResourceGroupName = "string",
    ContainerName = "string",
    Location = "string",
    Options = new AzureNative.DocumentDB.Inputs.CreateUpdateOptionsArgs
    {
        AutoscaleSettings = new AzureNative.DocumentDB.Inputs.AutoscaleSettingsArgs
        {
            MaxThroughput = 0,
        },
        Throughput = 0,
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := documentdb.NewSqlResourceSqlContainer(ctx, "sqlResourceSqlContainerResource", &documentdb.SqlResourceSqlContainerArgs{
	AccountName:  pulumi.String("string"),
	DatabaseName: pulumi.String("string"),
	Resource: &documentdb.SqlContainerResourceArgs{
		Id:                   pulumi.String("string"),
		AnalyticalStorageTtl: pulumi.Float64(0),
		ClientEncryptionPolicy: &documentdb.ClientEncryptionPolicyArgs{
			IncludedPaths: documentdb.ClientEncryptionIncludedPathArray{
				&documentdb.ClientEncryptionIncludedPathArgs{
					ClientEncryptionKeyId: pulumi.String("string"),
					EncryptionAlgorithm:   pulumi.String("string"),
					EncryptionType:        pulumi.String("string"),
					Path:                  pulumi.String("string"),
				},
			},
			PolicyFormatVersion: pulumi.Int(0),
		},
		ConflictResolutionPolicy: &documentdb.ConflictResolutionPolicyArgs{
			ConflictResolutionPath:      pulumi.String("string"),
			ConflictResolutionProcedure: pulumi.String("string"),
			Mode:                        pulumi.String("string"),
		},
		DefaultTtl: pulumi.Int(0),
		IndexingPolicy: &documentdb.IndexingPolicyArgs{
			Automatic: pulumi.Bool(false),
			CompositeIndexes: documentdb.CompositePathArrayArray{
				documentdb.CompositePathArray{
					&documentdb.CompositePathArgs{
						Order: pulumi.String("string"),
						Path:  pulumi.String("string"),
					},
				},
			},
			ExcludedPaths: documentdb.ExcludedPathArray{
				&documentdb.ExcludedPathArgs{
					Path: pulumi.String("string"),
				},
			},
			IncludedPaths: documentdb.IncludedPathArray{
				&documentdb.IncludedPathArgs{
					Indexes: documentdb.IndexesArray{
						&documentdb.IndexesArgs{
							DataType:  pulumi.String("string"),
							Kind:      pulumi.String("string"),
							Precision: pulumi.Int(0),
						},
					},
					Path: pulumi.String("string"),
				},
			},
			IndexingMode: pulumi.String("string"),
			SpatialIndexes: documentdb.SpatialSpecArray{
				&documentdb.SpatialSpecArgs{
					Path: pulumi.String("string"),
					Types: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
		},
		PartitionKey: &documentdb.ContainerPartitionKeyArgs{
			Kind: pulumi.String("string"),
			Paths: pulumi.StringArray{
				pulumi.String("string"),
			},
			Version: pulumi.Int(0),
		},
		UniqueKeyPolicy: &documentdb.UniqueKeyPolicyArgs{
			UniqueKeys: documentdb.UniqueKeyArray{
				&documentdb.UniqueKeyArgs{
					Paths: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
		},
	},
	ResourceGroupName: pulumi.String("string"),
	ContainerName:     pulumi.String("string"),
	Location:          pulumi.String("string"),
	Options: &documentdb.CreateUpdateOptionsArgs{
		AutoscaleSettings: &documentdb.AutoscaleSettingsArgs{
			MaxThroughput: pulumi.Int(0),
		},
		Throughput: pulumi.Int(0),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var sqlResourceSqlContainerResource = new SqlResourceSqlContainer("sqlResourceSqlContainerResource", SqlResourceSqlContainerArgs.builder()
    .accountName("string")
    .databaseName("string")
    .resource(SqlContainerResourceArgs.builder()
        .id("string")
        .analyticalStorageTtl(0)
        .clientEncryptionPolicy(ClientEncryptionPolicyArgs.builder()
            .includedPaths(ClientEncryptionIncludedPathArgs.builder()
                .clientEncryptionKeyId("string")
                .encryptionAlgorithm("string")
                .encryptionType("string")
                .path("string")
                .build())
            .policyFormatVersion(0)
            .build())
        .conflictResolutionPolicy(ConflictResolutionPolicyArgs.builder()
            .conflictResolutionPath("string")
            .conflictResolutionProcedure("string")
            .mode("string")
            .build())
        .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())
            .build())
        .partitionKey(ContainerPartitionKeyArgs.builder()
            .kind("string")
            .paths("string")
            .version(0)
            .build())
        .uniqueKeyPolicy(UniqueKeyPolicyArgs.builder()
            .uniqueKeys(UniqueKeyArgs.builder()
                .paths("string")
                .build())
            .build())
        .build())
    .resourceGroupName("string")
    .containerName("string")
    .location("string")
    .options(CreateUpdateOptionsArgs.builder()
        .autoscaleSettings(AutoscaleSettingsArgs.builder()
            .maxThroughput(0)
            .build())
        .throughput(0)
        .build())
    .tags(Map.of("string", "string"))
    .build());
sql_resource_sql_container_resource = azure_native.documentdb.SqlResourceSqlContainer("sqlResourceSqlContainerResource",
    account_name="string",
    database_name="string",
    resource={
        "id": "string",
        "analytical_storage_ttl": 0,
        "client_encryption_policy": {
            "included_paths": [{
                "client_encryption_key_id": "string",
                "encryption_algorithm": "string",
                "encryption_type": "string",
                "path": "string",
            }],
            "policy_format_version": 0,
        },
        "conflict_resolution_policy": {
            "conflict_resolution_path": "string",
            "conflict_resolution_procedure": "string",
            "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"],
            }],
        },
        "partition_key": {
            "kind": "string",
            "paths": ["string"],
            "version": 0,
        },
        "unique_key_policy": {
            "unique_keys": [{
                "paths": ["string"],
            }],
        },
    },
    resource_group_name="string",
    container_name="string",
    location="string",
    options={
        "autoscale_settings": {
            "max_throughput": 0,
        },
        "throughput": 0,
    },
    tags={
        "string": "string",
    })
const sqlResourceSqlContainerResource = new azure_native.documentdb.SqlResourceSqlContainer("sqlResourceSqlContainerResource", {
    accountName: "string",
    databaseName: "string",
    resource: {
        id: "string",
        analyticalStorageTtl: 0,
        clientEncryptionPolicy: {
            includedPaths: [{
                clientEncryptionKeyId: "string",
                encryptionAlgorithm: "string",
                encryptionType: "string",
                path: "string",
            }],
            policyFormatVersion: 0,
        },
        conflictResolutionPolicy: {
            conflictResolutionPath: "string",
            conflictResolutionProcedure: "string",
            mode: "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"],
            }],
        },
        partitionKey: {
            kind: "string",
            paths: ["string"],
            version: 0,
        },
        uniqueKeyPolicy: {
            uniqueKeys: [{
                paths: ["string"],
            }],
        },
    },
    resourceGroupName: "string",
    containerName: "string",
    location: "string",
    options: {
        autoscaleSettings: {
            maxThroughput: 0,
        },
        throughput: 0,
    },
    tags: {
        string: "string",
    },
});
type: azure-native:documentdb:SqlResourceSqlContainer
properties:
    accountName: string
    containerName: string
    databaseName: string
    location: string
    options:
        autoscaleSettings:
            maxThroughput: 0
        throughput: 0
    resource:
        analyticalStorageTtl: 0
        clientEncryptionPolicy:
            includedPaths:
                - clientEncryptionKeyId: string
                  encryptionAlgorithm: string
                  encryptionType: string
                  path: string
            policyFormatVersion: 0
        conflictResolutionPolicy:
            conflictResolutionPath: string
            conflictResolutionProcedure: string
            mode: 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
        partitionKey:
            kind: string
            paths:
                - string
            version: 0
        uniqueKeyPolicy:
            uniqueKeys:
                - paths:
                    - string
    resourceGroupName: string
    tags:
        string: string
SqlResourceSqlContainer 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 SqlResourceSqlContainer resource accepts the following input properties:
- AccountName string
- Cosmos DB database account name.
- DatabaseName string
- Cosmos DB database name.
- Resource
Pulumi.Azure Native. Document DB. Inputs. Sql Container Resource 
- The standard JSON format of a container
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ContainerName string
- Cosmos DB container name.
- Location string
- The location of the resource group to which the resource belongs.
- Options
Pulumi.Azure Native. Document DB. Inputs. Create Update Options 
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- 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".
- AccountName string
- Cosmos DB database account name.
- DatabaseName string
- Cosmos DB database name.
- Resource
SqlContainer Resource Args 
- The standard JSON format of a container
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ContainerName string
- Cosmos DB container name.
- Location string
- The location of the resource group to which the resource belongs.
- Options
CreateUpdate Options Args 
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- 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".
- accountName String
- Cosmos DB database account name.
- databaseName String
- Cosmos DB database name.
- resource
SqlContainer Resource 
- The standard JSON format of a container
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- containerName String
- Cosmos DB container name.
- location String
- The location of the resource group to which the resource belongs.
- options
CreateUpdate Options 
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- 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".
- accountName string
- Cosmos DB database account name.
- databaseName string
- Cosmos DB database name.
- resource
SqlContainer Resource 
- The standard JSON format of a container
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- containerName string
- Cosmos DB container name.
- location string
- The location of the resource group to which the resource belongs.
- options
CreateUpdate Options 
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- {[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".
- account_name str
- Cosmos DB database account name.
- database_name str
- Cosmos DB database name.
- resource
SqlContainer Resource Args 
- The standard JSON format of a container
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- container_name str
- Cosmos DB container name.
- location str
- The location of the resource group to which the resource belongs.
- options
CreateUpdate Options Args 
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- 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".
- accountName String
- Cosmos DB database account name.
- databaseName String
- Cosmos DB database name.
- resource Property Map
- The standard JSON format of a container
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- containerName String
- Cosmos DB container name.
- location String
- The location of the resource group to which the resource belongs.
- options Property Map
- A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- 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".
Outputs
All input properties are implicitly available as output properties. Additionally, the SqlResourceSqlContainer resource produces the following output properties:
Supporting Types
AutoscaleSettings, AutoscaleSettingsArgs    
- MaxThroughput int
- Represents maximum throughput, the resource can scale up to.
- MaxThroughput int
- Represents maximum throughput, the resource can scale up to.
- maxThroughput Integer
- Represents maximum throughput, the resource can scale up to.
- maxThroughput number
- Represents maximum throughput, the resource can scale up to.
- max_throughput int
- Represents maximum throughput, the resource can scale up to.
- maxThroughput Number
- Represents maximum throughput, the resource can scale up to.
AutoscaleSettingsResponse, AutoscaleSettingsResponseArgs      
- MaxThroughput int
- Represents maximum throughput, the resource can scale up to.
- MaxThroughput int
- Represents maximum throughput, the resource can scale up to.
- maxThroughput Integer
- Represents maximum throughput, the resource can scale up to.
- maxThroughput number
- Represents maximum throughput, the resource can scale up to.
- max_throughput int
- Represents maximum throughput, the resource can scale up to.
- maxThroughput Number
- Represents maximum throughput, the resource can scale up to.
ClientEncryptionIncludedPath, ClientEncryptionIncludedPathArgs        
- ClientEncryption stringKey Id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- EncryptionAlgorithm string
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- EncryptionType string
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- Path string
- Path that needs to be encrypted.
- ClientEncryption stringKey Id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- EncryptionAlgorithm string
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- EncryptionType string
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- Path string
- Path that needs to be encrypted.
- clientEncryption StringKey Id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- encryptionAlgorithm String
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- encryptionType String
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- path String
- Path that needs to be encrypted.
- clientEncryption stringKey Id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- encryptionAlgorithm string
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- encryptionType string
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- path string
- Path that needs to be encrypted.
- client_encryption_ strkey_ id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- encryption_algorithm str
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- encryption_type str
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- path str
- Path that needs to be encrypted.
- clientEncryption StringKey Id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- encryptionAlgorithm String
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- encryptionType String
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- path String
- Path that needs to be encrypted.
ClientEncryptionIncludedPathResponse, ClientEncryptionIncludedPathResponseArgs          
- ClientEncryption stringKey Id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- EncryptionAlgorithm string
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- EncryptionType string
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- Path string
- Path that needs to be encrypted.
- ClientEncryption stringKey Id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- EncryptionAlgorithm string
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- EncryptionType string
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- Path string
- Path that needs to be encrypted.
- clientEncryption StringKey Id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- encryptionAlgorithm String
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- encryptionType String
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- path String
- Path that needs to be encrypted.
- clientEncryption stringKey Id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- encryptionAlgorithm string
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- encryptionType string
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- path string
- Path that needs to be encrypted.
- client_encryption_ strkey_ id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- encryption_algorithm str
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- encryption_type str
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- path str
- Path that needs to be encrypted.
- clientEncryption StringKey Id 
- The identifier of the Client Encryption Key to be used to encrypt the path.
- encryptionAlgorithm String
- The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
- encryptionType String
- The type of encryption to be performed. Eg - Deterministic, Randomized.
- path String
- Path that needs to be encrypted.
ClientEncryptionPolicy, ClientEncryptionPolicyArgs      
- IncludedPaths List<Pulumi.Azure Native. Document DB. Inputs. Client Encryption Included Path> 
- Paths of the item that need encryption along with path-specific settings.
- PolicyFormat intVersion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
- IncludedPaths []ClientEncryption Included Path 
- Paths of the item that need encryption along with path-specific settings.
- PolicyFormat intVersion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
- includedPaths List<ClientEncryption Included Path> 
- Paths of the item that need encryption along with path-specific settings.
- policyFormat IntegerVersion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
- includedPaths ClientEncryption Included Path[] 
- Paths of the item that need encryption along with path-specific settings.
- policyFormat numberVersion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
- included_paths Sequence[ClientEncryption Included Path] 
- Paths of the item that need encryption along with path-specific settings.
- policy_format_ intversion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
- includedPaths List<Property Map>
- Paths of the item that need encryption along with path-specific settings.
- policyFormat NumberVersion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
ClientEncryptionPolicyResponse, ClientEncryptionPolicyResponseArgs        
- IncludedPaths List<Pulumi.Azure Native. Document DB. Inputs. Client Encryption Included Path Response> 
- Paths of the item that need encryption along with path-specific settings.
- PolicyFormat intVersion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
- IncludedPaths []ClientEncryption Included Path Response 
- Paths of the item that need encryption along with path-specific settings.
- PolicyFormat intVersion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
- includedPaths List<ClientEncryption Included Path Response> 
- Paths of the item that need encryption along with path-specific settings.
- policyFormat IntegerVersion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
- includedPaths ClientEncryption Included Path Response[] 
- Paths of the item that need encryption along with path-specific settings.
- policyFormat numberVersion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
- included_paths Sequence[ClientEncryption Included Path Response] 
- Paths of the item that need encryption along with path-specific settings.
- policy_format_ intversion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
- includedPaths List<Property Map>
- Paths of the item that need encryption along with path-specific settings.
- policyFormat NumberVersion 
- Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
CompositePath, CompositePathArgs    
- Order
string | Pulumi.Azure Native. Document 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 | CompositePath 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 | CompositePath 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 | CompositePath 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 | CompositePath 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
- CompositePath Sort Order Ascending 
- ascending
- CompositePath Sort Order Descending 
- descending
- Ascending
- ascending
- Descending
- descending
- Ascending
- ascending
- Descending
- descending
- ASCENDING
- ascending
- DESCENDING
- descending
- "ascending"
- ascending
- "descending"
- descending
ConflictResolutionMode, ConflictResolutionModeArgs      
- LastWriter Wins 
- LastWriterWins
- Custom
- Custom
- ConflictResolution Mode Last Writer Wins 
- LastWriterWins
- ConflictResolution Mode Custom 
- Custom
- LastWriter Wins 
- LastWriterWins
- Custom
- Custom
- LastWriter Wins 
- LastWriterWins
- Custom
- Custom
- LAST_WRITER_WINS
- LastWriterWins
- CUSTOM
- Custom
- "LastWriter Wins" 
- LastWriterWins
- "Custom"
- Custom
ConflictResolutionPolicy, ConflictResolutionPolicyArgs      
- ConflictResolution stringPath 
- The conflict resolution path in the case of LastWriterWins mode.
- ConflictResolution stringProcedure 
- The procedure to resolve conflicts in the case of custom mode.
- Mode
string | Pulumi.Azure Native. Document DB. Conflict Resolution Mode 
- Indicates the conflict resolution mode.
- ConflictResolution stringPath 
- The conflict resolution path in the case of LastWriterWins mode.
- ConflictResolution stringProcedure 
- The procedure to resolve conflicts in the case of custom mode.
- Mode
string | ConflictResolution Mode 
- Indicates the conflict resolution mode.
- conflictResolution StringPath 
- The conflict resolution path in the case of LastWriterWins mode.
- conflictResolution StringProcedure 
- The procedure to resolve conflicts in the case of custom mode.
- mode
String | ConflictResolution Mode 
- Indicates the conflict resolution mode.
- conflictResolution stringPath 
- The conflict resolution path in the case of LastWriterWins mode.
- conflictResolution stringProcedure 
- The procedure to resolve conflicts in the case of custom mode.
- mode
string | ConflictResolution 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 | ConflictResolution Mode 
- Indicates the conflict resolution mode.
- conflictResolution StringPath 
- The conflict resolution path in the case of LastWriterWins mode.
- conflictResolution StringProcedure 
- The procedure to resolve conflicts in the case of custom mode.
- mode
String | "LastWriter Wins" | "Custom" 
- Indicates the conflict resolution mode.
ConflictResolutionPolicyResponse, ConflictResolutionPolicyResponseArgs        
- ConflictResolution stringPath 
- The conflict resolution path in the case of LastWriterWins mode.
- ConflictResolution stringProcedure 
- The procedure to resolve conflicts in the case of custom mode.
- Mode string
- Indicates the conflict resolution mode.
- ConflictResolution stringPath 
- The conflict resolution path in the case of LastWriterWins mode.
- ConflictResolution stringProcedure 
- The procedure to resolve conflicts in the case of custom mode.
- Mode string
- Indicates the conflict resolution mode.
- conflictResolution StringPath 
- The conflict resolution path in the case of LastWriterWins mode.
- conflictResolution StringProcedure 
- The procedure to resolve conflicts in the case of custom mode.
- mode String
- Indicates the conflict resolution mode.
- conflictResolution stringPath 
- The conflict resolution path in the case of LastWriterWins mode.
- conflictResolution 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.
- conflictResolution StringPath 
- The conflict resolution path in the case of LastWriterWins mode.
- conflictResolution 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. Document 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 | PartitionKind 
- 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 | PartitionKind 
- 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 | PartitionKind 
- 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 | PartitionKind 
- 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" | "MultiHash" 
- 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        
- SystemKey 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
- SystemKey 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
- systemKey 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
- systemKey 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
- systemKey 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
CreateUpdateOptions, CreateUpdateOptionsArgs      
- AutoscaleSettings Pulumi.Azure Native. Document DB. Inputs. Autoscale Settings 
- Specifies the Autoscale settings.
- Throughput int
- Request Units per second. For example, "throughput": 10000.
- AutoscaleSettings AutoscaleSettings 
- Specifies the Autoscale settings.
- Throughput int
- Request Units per second. For example, "throughput": 10000.
- autoscaleSettings AutoscaleSettings 
- Specifies the Autoscale settings.
- throughput Integer
- Request Units per second. For example, "throughput": 10000.
- autoscaleSettings AutoscaleSettings 
- Specifies the Autoscale settings.
- throughput number
- Request Units per second. For example, "throughput": 10000.
- autoscale_settings AutoscaleSettings 
- Specifies the Autoscale settings.
- throughput int
- Request Units per second. For example, "throughput": 10000.
- autoscaleSettings Property Map
- Specifies the Autoscale settings.
- throughput Number
- Request Units per second. For example, "throughput": 10000.
DataType, DataTypeArgs    
- String
- String
- Number
- Number
- Point
- Point
- Polygon
- Polygon
- LineString 
- LineString
- MultiPolygon 
- MultiPolygon
- DataType String 
- String
- DataType Number 
- Number
- DataType Point 
- Point
- DataType Polygon 
- Polygon
- DataType Line String 
- LineString
- DataType Multi Polygon 
- MultiPolygon
- String
- String
- Number
- Number
- Point
- Point
- Polygon
- Polygon
- LineString 
- LineString
- MultiPolygon 
- MultiPolygon
- String
- String
- Number
- Number
- Point
- Point
- Polygon
- Polygon
- LineString 
- LineString
- MultiPolygon 
- MultiPolygon
- STRING
- String
- NUMBER
- Number
- POINT
- Point
- POLYGON
- Polygon
- LINE_STRING
- LineString
- MULTI_POLYGON
- MultiPolygon
- "String"
- String
- "Number"
- Number
- "Point"
- Point
- "Polygon"
- Polygon
- "LineString" 
- LineString
- "MultiPolygon" 
- 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/*)
IncludedPath, IncludedPathArgs    
- Indexes
List<Pulumi.Azure Native. Document 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. Document 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
[]IndexesResponse 
- 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<IndexesResponse> 
- 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
IndexesResponse[] 
- 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[IndexesResponse] 
- 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
- IndexKind Hash 
- Hash
- IndexKind Range 
- Range
- IndexKind 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  
- DataType string | Pulumi.Azure Native. Document DB. Data Type 
- The datatype for which the indexing behavior is applied to.
- Kind
string | Pulumi.Azure Native. Document DB. Index Kind 
- Indicates the type of index.
- Precision int
- The precision of the index. -1 is maximum precision.
- dataType 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
- IndexingMode Consistent 
- consistent
- IndexingMode Lazy 
- lazy
- IndexingMode 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
- CompositeIndexes List<ImmutableArray<Pulumi. Azure Native. Document DB. Inputs. Composite Path>> 
- List of composite path list
- ExcludedPaths List<Pulumi.Azure Native. Document DB. Inputs. Excluded Path> 
- List of paths to exclude from indexing
- IncludedPaths List<Pulumi.Azure Native. Document DB. Inputs. Included Path> 
- List of paths to include in the indexing
- IndexingMode string | Pulumi.Azure Native. Document DB. Indexing Mode 
- Indicates the indexing mode.
- SpatialIndexes List<Pulumi.Azure Native. Document DB. Inputs. Spatial Spec> 
- List of spatial specifics
- Automatic bool
- Indicates if the indexing policy is automatic
- CompositeIndexes [][]CompositePath 
- List of composite path list
- ExcludedPaths []ExcludedPath 
- List of paths to exclude from indexing
- IncludedPaths []IncludedPath 
- List of paths to include in the indexing
- IndexingMode string | IndexingMode 
- Indicates the indexing mode.
- SpatialIndexes []SpatialSpec 
- List of spatial specifics
- automatic Boolean
- Indicates if the indexing policy is automatic
- compositeIndexes List<List<CompositePath>> 
- List of composite path list
- excludedPaths List<ExcludedPath> 
- List of paths to exclude from indexing
- includedPaths List<IncludedPath> 
- List of paths to include in the indexing
- indexingMode String | IndexingMode 
- Indicates the indexing mode.
- spatialIndexes List<SpatialSpec> 
- List of spatial specifics
- automatic boolean
- Indicates if the indexing policy is automatic
- compositeIndexes CompositePath[][] 
- List of composite path list
- excludedPaths ExcludedPath[] 
- List of paths to exclude from indexing
- includedPaths IncludedPath[] 
- List of paths to include in the indexing
- indexingMode string | IndexingMode 
- Indicates the indexing mode.
- spatialIndexes SpatialSpec[] 
- List of spatial specifics
- 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
- automatic Boolean
- Indicates if the indexing policy is automatic
- compositeIndexes List<List<Property Map>>
- List of composite path list
- excludedPaths List<Property Map>
- List of paths to exclude from indexing
- includedPaths List<Property Map>
- List of paths to include in the indexing
- indexingMode String | "consistent" | "lazy" | "none"
- Indicates the indexing mode.
- spatialIndexes List<Property Map>
- List of spatial specifics
IndexingPolicyResponse, IndexingPolicyResponseArgs      
- Automatic bool
- Indicates if the indexing policy is automatic
- CompositeIndexes List<ImmutableArray<Pulumi. Azure Native. Document DB. Inputs. Composite Path Response>> 
- List of composite path list
- ExcludedPaths List<Pulumi.Azure Native. Document DB. Inputs. Excluded Path Response> 
- List of paths to exclude from indexing
- IncludedPaths List<Pulumi.Azure Native. Document DB. Inputs. Included Path Response> 
- List of paths to include in the indexing
- IndexingMode string
- Indicates the indexing mode.
- SpatialIndexes List<Pulumi.Azure Native. Document DB. Inputs. Spatial Spec Response> 
- List of spatial specifics
- Automatic bool
- Indicates if the indexing policy is automatic
- CompositeIndexes [][]CompositePath Response 
- List of composite path list
- ExcludedPaths []ExcludedPath Response 
- List of paths to exclude from indexing
- IncludedPaths []IncludedPath Response 
- List of paths to include in the indexing
- IndexingMode string
- Indicates the indexing mode.
- SpatialIndexes []SpatialSpec Response 
- List of spatial specifics
- automatic Boolean
- Indicates if the indexing policy is automatic
- compositeIndexes List<List<CompositePath Response>> 
- List of composite path list
- excludedPaths List<ExcludedPath Response> 
- List of paths to exclude from indexing
- includedPaths List<IncludedPath Response> 
- List of paths to include in the indexing
- indexingMode String
- Indicates the indexing mode.
- spatialIndexes List<SpatialSpec Response> 
- List of spatial specifics
- automatic boolean
- Indicates if the indexing policy is automatic
- compositeIndexes CompositePath Response[][] 
- List of composite path list
- excludedPaths ExcludedPath Response[] 
- List of paths to exclude from indexing
- includedPaths IncludedPath Response[] 
- List of paths to include in the indexing
- indexingMode string
- Indicates the indexing mode.
- spatialIndexes SpatialSpec Response[] 
- List of spatial specifics
- 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
- automatic Boolean
- Indicates if the indexing policy is automatic
- compositeIndexes List<List<Property Map>>
- List of composite path list
- excludedPaths List<Property Map>
- List of paths to exclude from indexing
- includedPaths List<Property Map>
- List of paths to include in the indexing
- indexingMode String
- Indicates the indexing mode.
- spatialIndexes List<Property Map>
- List of spatial specifics
PartitionKind, PartitionKindArgs    
- Hash
- Hash
- Range
- Range
- MultiHash 
- MultiHash
- PartitionKind Hash 
- Hash
- PartitionKind Range 
- Range
- PartitionKind Multi Hash 
- MultiHash
- Hash
- Hash
- Range
- Range
- MultiHash 
- MultiHash
- Hash
- Hash
- Range
- Range
- MultiHash 
- MultiHash
- HASH
- Hash
- RANGE
- Range
- MULTI_HASH
- MultiHash
- "Hash"
- Hash
- "Range"
- Range
- "MultiHash" 
- MultiHash
SpatialSpec, SpatialSpecArgs    
SpatialSpecResponse, SpatialSpecResponseArgs      
SpatialType, SpatialTypeArgs    
- Point
- Point
- LineString 
- LineString
- Polygon
- Polygon
- MultiPolygon 
- MultiPolygon
- SpatialType Point 
- Point
- SpatialType Line String 
- LineString
- SpatialType Polygon 
- Polygon
- SpatialType Multi Polygon 
- MultiPolygon
- Point
- Point
- LineString 
- LineString
- Polygon
- Polygon
- MultiPolygon 
- MultiPolygon
- Point
- Point
- LineString 
- LineString
- Polygon
- Polygon
- MultiPolygon 
- MultiPolygon
- POINT
- Point
- LINE_STRING
- LineString
- POLYGON
- Polygon
- MULTI_POLYGON
- MultiPolygon
- "Point"
- Point
- "LineString" 
- LineString
- "Polygon"
- Polygon
- "MultiPolygon" 
- MultiPolygon
SqlContainerGetPropertiesResponseOptions, SqlContainerGetPropertiesResponseOptionsArgs            
- AutoscaleSettings Pulumi.Azure Native. Document DB. Inputs. Autoscale Settings Response 
- Specifies the Autoscale settings.
- Throughput int
- Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
- AutoscaleSettings AutoscaleSettings Response 
- Specifies the Autoscale settings.
- Throughput int
- Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
- autoscaleSettings AutoscaleSettings Response 
- Specifies the Autoscale settings.
- throughput Integer
- Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
- autoscaleSettings AutoscaleSettings Response 
- Specifies the Autoscale settings.
- throughput number
- Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
- autoscale_settings AutoscaleSettings Response 
- Specifies the Autoscale settings.
- throughput int
- Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
- autoscaleSettings Property Map
- Specifies the Autoscale settings.
- throughput Number
- Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
SqlContainerGetPropertiesResponseResource, SqlContainerGetPropertiesResponseResourceArgs            
- Etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- Id string
- Name of the Cosmos DB SQL container
- Rid string
- A system generated property. A unique identifier.
- Ts double
- A system generated property that denotes the last updated timestamp of the resource.
- AnalyticalStorage doubleTtl 
- Analytical TTL.
- ClientEncryption Pulumi.Policy Azure Native. Document DB. Inputs. Client Encryption Policy Response 
- The client encryption policy for the container.
- ConflictResolution Pulumi.Policy Azure Native. Document DB. Inputs. Conflict Resolution Policy Response 
- The conflict resolution policy for the container.
- DefaultTtl int
- Default time to live
- IndexingPolicy Pulumi.Azure Native. Document DB. Inputs. Indexing Policy Response 
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- PartitionKey Pulumi.Azure Native. Document DB. Inputs. Container Partition Key Response 
- The configuration of the partition key to be used for partitioning data into multiple partitions
- UniqueKey Pulumi.Policy Azure Native. Document DB. Inputs. Unique Key Policy Response 
- The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- Etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- Id string
- Name of the Cosmos DB SQL container
- Rid string
- A system generated property. A unique identifier.
- Ts float64
- A system generated property that denotes the last updated timestamp of the resource.
- AnalyticalStorage float64Ttl 
- Analytical TTL.
- ClientEncryption ClientPolicy Encryption Policy Response 
- The client encryption policy for the container.
- ConflictResolution ConflictPolicy Resolution Policy Response 
- The conflict resolution policy for the container.
- DefaultTtl int
- Default time to live
- IndexingPolicy IndexingPolicy Response 
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- PartitionKey ContainerPartition Key Response 
- The configuration of the partition key to be used for partitioning data into multiple partitions
- UniqueKey UniquePolicy Key Policy Response 
- The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- etag String
- A system generated property representing the resource etag required for optimistic concurrency control.
- id String
- Name of the Cosmos DB SQL container
- rid String
- A system generated property. A unique identifier.
- ts Double
- A system generated property that denotes the last updated timestamp of the resource.
- analyticalStorage DoubleTtl 
- Analytical TTL.
- clientEncryption ClientPolicy Encryption Policy Response 
- The client encryption policy for the container.
- conflictResolution ConflictPolicy Resolution Policy Response 
- The conflict resolution policy for the container.
- defaultTtl Integer
- Default time to live
- indexingPolicy IndexingPolicy Response 
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- partitionKey ContainerPartition Key Response 
- The configuration of the partition key to be used for partitioning data into multiple partitions
- uniqueKey UniquePolicy Key Policy Response 
- The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- id string
- Name of the Cosmos DB SQL container
- rid string
- A system generated property. A unique identifier.
- ts number
- A system generated property that denotes the last updated timestamp of the resource.
- analyticalStorage numberTtl 
- Analytical TTL.
- clientEncryption ClientPolicy Encryption Policy Response 
- The client encryption policy for the container.
- conflictResolution ConflictPolicy Resolution Policy Response 
- The conflict resolution policy for the container.
- defaultTtl number
- Default time to live
- indexingPolicy IndexingPolicy Response 
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- partitionKey ContainerPartition Key Response 
- The configuration of the partition key to be used for partitioning data into multiple partitions
- uniqueKey UniquePolicy Key Policy Response 
- The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- etag str
- A system generated property representing the resource etag required for optimistic concurrency control.
- id str
- Name of the Cosmos DB SQL container
- rid str
- A system generated property. A unique identifier.
- ts float
- A system generated property that denotes the last updated timestamp of the resource.
- analytical_storage_ floatttl 
- Analytical TTL.
- client_encryption_ Clientpolicy Encryption Policy Response 
- The client encryption policy for the container.
- conflict_resolution_ Conflictpolicy Resolution Policy Response 
- The conflict resolution policy for the container.
- default_ttl int
- Default time to live
- indexing_policy IndexingPolicy Response 
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- partition_key ContainerPartition Key Response 
- The configuration of the partition key to be used for partitioning data into multiple partitions
- 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.
- etag String
- A system generated property representing the resource etag required for optimistic concurrency control.
- id String
- Name of the Cosmos DB SQL container
- rid String
- A system generated property. A unique identifier.
- ts Number
- A system generated property that denotes the last updated timestamp of the resource.
- analyticalStorage NumberTtl 
- Analytical TTL.
- clientEncryption Property MapPolicy 
- The client encryption policy for the container.
- conflictResolution Property MapPolicy 
- The conflict resolution policy for the container.
- defaultTtl Number
- Default time to live
- indexingPolicy Property Map
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- partitionKey Property Map
- The configuration of the partition key to be used for partitioning data into multiple partitions
- uniqueKey Property MapPolicy 
- The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
SqlContainerResource, SqlContainerResourceArgs      
- Id string
- Name of the Cosmos DB SQL container
- AnalyticalStorage doubleTtl 
- Analytical TTL.
- ClientEncryption Pulumi.Policy Azure Native. Document DB. Inputs. Client Encryption Policy 
- The client encryption policy for the container.
- ConflictResolution Pulumi.Policy Azure Native. Document DB. Inputs. Conflict Resolution Policy 
- The conflict resolution policy for the container.
- DefaultTtl int
- Default time to live
- IndexingPolicy Pulumi.Azure Native. Document DB. Inputs. Indexing Policy 
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- PartitionKey Pulumi.Azure Native. Document DB. Inputs. Container Partition Key 
- The configuration of the partition key to be used for partitioning data into multiple partitions
- UniqueKey Pulumi.Policy Azure Native. Document 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 SQL container
- AnalyticalStorage float64Ttl 
- Analytical TTL.
- ClientEncryption ClientPolicy Encryption Policy 
- The client encryption policy for the container.
- ConflictResolution ConflictPolicy Resolution Policy 
- The conflict resolution policy for the container.
- DefaultTtl int
- Default time to live
- IndexingPolicy IndexingPolicy 
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- PartitionKey ContainerPartition Key 
- The configuration of the partition key to be used for partitioning data into multiple partitions
- UniqueKey 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 SQL container
- analyticalStorage DoubleTtl 
- Analytical TTL.
- clientEncryption ClientPolicy Encryption Policy 
- The client encryption policy for the container.
- conflictResolution ConflictPolicy Resolution Policy 
- The conflict resolution policy for the container.
- defaultTtl Integer
- Default time to live
- indexingPolicy IndexingPolicy 
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- partitionKey ContainerPartition Key 
- The configuration of the partition key to be used for partitioning data into multiple partitions
- uniqueKey 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 SQL container
- analyticalStorage numberTtl 
- Analytical TTL.
- clientEncryption ClientPolicy Encryption Policy 
- The client encryption policy for the container.
- conflictResolution ConflictPolicy Resolution Policy 
- The conflict resolution policy for the container.
- defaultTtl number
- Default time to live
- indexingPolicy IndexingPolicy 
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- partitionKey ContainerPartition Key 
- The configuration of the partition key to be used for partitioning data into multiple partitions
- uniqueKey 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 SQL container
- analytical_storage_ floatttl 
- Analytical TTL.
- client_encryption_ Clientpolicy Encryption Policy 
- The client encryption policy for the container.
- conflict_resolution_ Conflictpolicy Resolution Policy 
- The conflict resolution policy for the container.
- 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 container
- partition_key ContainerPartition Key 
- The configuration of the partition key to be used for partitioning data into multiple partitions
- 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 SQL container
- analyticalStorage NumberTtl 
- Analytical TTL.
- clientEncryption Property MapPolicy 
- The client encryption policy for the container.
- conflictResolution Property MapPolicy 
- The conflict resolution policy for the container.
- defaultTtl Number
- Default time to live
- indexingPolicy Property Map
- The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
- partitionKey Property Map
- The configuration of the partition key to be used for partitioning data into multiple partitions
- uniqueKey Property MapPolicy 
- The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
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      
- UniqueKeys List<Pulumi.Azure Native. Document DB. Inputs. Unique Key> 
- List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- UniqueKeys []UniqueKey 
- List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- uniqueKeys List<UniqueKey> 
- List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- uniqueKeys 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.
- uniqueKeys 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        
- UniqueKeys List<Pulumi.Azure Native. Document 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.
- UniqueKeys []UniqueKey Response 
- List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- uniqueKeys List<UniqueKey Response> 
- List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
- uniqueKeys 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.
- uniqueKeys 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
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:documentdb:SqlResourceSqlContainer containerName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0