azure-native.documentdb.DatabaseAccount
Explore with Pulumi AI
An Azure Cosmos DB database account. Azure REST API version: 2023-04-15. Prior API version in Azure Native 1.x: 2021-03-15.
Other available API versions: 2021-04-01-preview, 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
CosmosDBDatabaseAccountCreateMin
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var databaseAccount = new AzureNative.DocumentDB.DatabaseAccount("databaseAccount", new()
    {
        AccountName = "ddb1",
        CreateMode = AzureNative.DocumentDB.CreateMode.Default,
        DatabaseAccountOfferType = AzureNative.DocumentDB.DatabaseAccountOfferType.Standard,
        Location = "westus",
        Locations = new[]
        {
            new AzureNative.DocumentDB.Inputs.LocationArgs
            {
                FailoverPriority = 0,
                IsZoneRedundant = false,
                LocationName = "southcentralus",
            },
        },
        ResourceGroupName = "rg1",
    });
});
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.NewDatabaseAccount(ctx, "databaseAccount", &documentdb.DatabaseAccountArgs{
			AccountName:              pulumi.String("ddb1"),
			CreateMode:               pulumi.String(documentdb.CreateModeDefault),
			DatabaseAccountOfferType: documentdb.DatabaseAccountOfferTypeStandard,
			Location:                 pulumi.String("westus"),
			Locations: documentdb.LocationArray{
				&documentdb.LocationArgs{
					FailoverPriority: pulumi.Int(0),
					IsZoneRedundant:  pulumi.Bool(false),
					LocationName:     pulumi.String("southcentralus"),
				},
			},
			ResourceGroupName: pulumi.String("rg1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.documentdb.DatabaseAccount;
import com.pulumi.azurenative.documentdb.DatabaseAccountArgs;
import com.pulumi.azurenative.documentdb.inputs.LocationArgs;
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 databaseAccount = new DatabaseAccount("databaseAccount", DatabaseAccountArgs.builder()
            .accountName("ddb1")
            .createMode("Default")
            .databaseAccountOfferType("Standard")
            .location("westus")
            .locations(LocationArgs.builder()
                .failoverPriority(0)
                .isZoneRedundant(false)
                .locationName("southcentralus")
                .build())
            .resourceGroupName("rg1")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const databaseAccount = new azure_native.documentdb.DatabaseAccount("databaseAccount", {
    accountName: "ddb1",
    createMode: azure_native.documentdb.CreateMode.Default,
    databaseAccountOfferType: azure_native.documentdb.DatabaseAccountOfferType.Standard,
    location: "westus",
    locations: [{
        failoverPriority: 0,
        isZoneRedundant: false,
        locationName: "southcentralus",
    }],
    resourceGroupName: "rg1",
});
import pulumi
import pulumi_azure_native as azure_native
database_account = azure_native.documentdb.DatabaseAccount("databaseAccount",
    account_name="ddb1",
    create_mode=azure_native.documentdb.CreateMode.DEFAULT,
    database_account_offer_type=azure_native.documentdb.DatabaseAccountOfferType.STANDARD,
    location="westus",
    locations=[{
        "failover_priority": 0,
        "is_zone_redundant": False,
        "location_name": "southcentralus",
    }],
    resource_group_name="rg1")
resources:
  databaseAccount:
    type: azure-native:documentdb:DatabaseAccount
    properties:
      accountName: ddb1
      createMode: Default
      databaseAccountOfferType: Standard
      location: westus
      locations:
        - failoverPriority: 0
          isZoneRedundant: false
          locationName: southcentralus
      resourceGroupName: rg1
CosmosDBRestoreDatabaseAccountCreateUpdate.json
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var databaseAccount = new AzureNative.DocumentDB.DatabaseAccount("databaseAccount", new()
    {
        AccountName = "ddb1",
        ApiProperties = new AzureNative.DocumentDB.Inputs.ApiPropertiesArgs
        {
            ServerVersion = AzureNative.DocumentDB.ServerVersion.ServerVersion_3_2,
        },
        BackupPolicy = new AzureNative.DocumentDB.Inputs.ContinuousModeBackupPolicyArgs
        {
            ContinuousModeProperties = new AzureNative.DocumentDB.Inputs.ContinuousModePropertiesArgs
            {
                Tier = AzureNative.DocumentDB.ContinuousTier.Continuous30Days,
            },
            Type = "Continuous",
        },
        ConsistencyPolicy = new AzureNative.DocumentDB.Inputs.ConsistencyPolicyArgs
        {
            DefaultConsistencyLevel = AzureNative.DocumentDB.DefaultConsistencyLevel.BoundedStaleness,
            MaxIntervalInSeconds = 10,
            MaxStalenessPrefix = 200,
        },
        CreateMode = "Restore",
        DatabaseAccountOfferType = AzureNative.DocumentDB.DatabaseAccountOfferType.Standard,
        EnableAnalyticalStorage = true,
        EnableFreeTier = false,
        KeyVaultKeyUri = "https://myKeyVault.vault.azure.net",
        Kind = AzureNative.DocumentDB.DatabaseAccountKind.GlobalDocumentDB,
        Location = "westus",
        Locations = new[]
        {
            new AzureNative.DocumentDB.Inputs.LocationArgs
            {
                FailoverPriority = 0,
                IsZoneRedundant = false,
                LocationName = "southcentralus",
            },
        },
        MinimalTlsVersion = AzureNative.DocumentDB.MinimalTlsVersion.Tls,
        ResourceGroupName = "rg1",
        RestoreParameters = new AzureNative.DocumentDB.Inputs.RestoreParametersArgs
        {
            DatabasesToRestore = new[]
            {
                new AzureNative.DocumentDB.Inputs.DatabaseRestoreResourceArgs
                {
                    CollectionNames = new[]
                    {
                        "collection1",
                        "collection2",
                    },
                    DatabaseName = "db1",
                },
                new AzureNative.DocumentDB.Inputs.DatabaseRestoreResourceArgs
                {
                    CollectionNames = new[]
                    {
                        "collection3",
                        "collection4",
                    },
                    DatabaseName = "db2",
                },
            },
            RestoreMode = AzureNative.DocumentDB.RestoreMode.PointInTime,
            RestoreSource = "/subscriptions/subid/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/1a97b4bb-f6a0-430e-ade1-638d781830cc",
            RestoreTimestampInUtc = "2021-03-11T22:05:09Z",
        },
        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.NewDatabaseAccount(ctx, "databaseAccount", &documentdb.DatabaseAccountArgs{
			AccountName: pulumi.String("ddb1"),
			ApiProperties: &documentdb.ApiPropertiesArgs{
				ServerVersion: pulumi.String(documentdb.ServerVersion_3_2),
			},
			BackupPolicy: &documentdb.ContinuousModeBackupPolicyArgs{
				ContinuousModeProperties: &documentdb.ContinuousModePropertiesArgs{
					Tier: pulumi.String(documentdb.ContinuousTierContinuous30Days),
				},
				Type: pulumi.String("Continuous"),
			},
			ConsistencyPolicy: &documentdb.ConsistencyPolicyArgs{
				DefaultConsistencyLevel: documentdb.DefaultConsistencyLevelBoundedStaleness,
				MaxIntervalInSeconds:    pulumi.Int(10),
				MaxStalenessPrefix:      pulumi.Float64(200),
			},
			CreateMode:               pulumi.String("Restore"),
			DatabaseAccountOfferType: documentdb.DatabaseAccountOfferTypeStandard,
			EnableAnalyticalStorage:  pulumi.Bool(true),
			EnableFreeTier:           pulumi.Bool(false),
			KeyVaultKeyUri:           pulumi.String("https://myKeyVault.vault.azure.net"),
			Kind:                     pulumi.String(documentdb.DatabaseAccountKindGlobalDocumentDB),
			Location:                 pulumi.String("westus"),
			Locations: documentdb.LocationArray{
				&documentdb.LocationArgs{
					FailoverPriority: pulumi.Int(0),
					IsZoneRedundant:  pulumi.Bool(false),
					LocationName:     pulumi.String("southcentralus"),
				},
			},
			MinimalTlsVersion: pulumi.String(documentdb.MinimalTlsVersionTls),
			ResourceGroupName: pulumi.String("rg1"),
			RestoreParameters: &documentdb.RestoreParametersArgs{
				DatabasesToRestore: documentdb.DatabaseRestoreResourceArray{
					&documentdb.DatabaseRestoreResourceArgs{
						CollectionNames: pulumi.StringArray{
							pulumi.String("collection1"),
							pulumi.String("collection2"),
						},
						DatabaseName: pulumi.String("db1"),
					},
					&documentdb.DatabaseRestoreResourceArgs{
						CollectionNames: pulumi.StringArray{
							pulumi.String("collection3"),
							pulumi.String("collection4"),
						},
						DatabaseName: pulumi.String("db2"),
					},
				},
				RestoreMode:           pulumi.String(documentdb.RestoreModePointInTime),
				RestoreSource:         pulumi.String("/subscriptions/subid/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/1a97b4bb-f6a0-430e-ade1-638d781830cc"),
				RestoreTimestampInUtc: pulumi.String("2021-03-11T22:05:09Z"),
			},
			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.DatabaseAccount;
import com.pulumi.azurenative.documentdb.DatabaseAccountArgs;
import com.pulumi.azurenative.documentdb.inputs.ApiPropertiesArgs;
import com.pulumi.azurenative.documentdb.inputs.ConsistencyPolicyArgs;
import com.pulumi.azurenative.documentdb.inputs.LocationArgs;
import com.pulumi.azurenative.documentdb.inputs.RestoreParametersArgs;
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 databaseAccount = new DatabaseAccount("databaseAccount", DatabaseAccountArgs.builder()
            .accountName("ddb1")
            .apiProperties(ApiPropertiesArgs.builder()
                .serverVersion("3.2")
                .build())
            .backupPolicy(ContinuousModeBackupPolicyArgs.builder()
                .continuousModeProperties(ContinuousModePropertiesArgs.builder()
                    .tier("Continuous30Days")
                    .build())
                .type("Continuous")
                .build())
            .consistencyPolicy(ConsistencyPolicyArgs.builder()
                .defaultConsistencyLevel("BoundedStaleness")
                .maxIntervalInSeconds(10)
                .maxStalenessPrefix(200)
                .build())
            .createMode("Restore")
            .databaseAccountOfferType("Standard")
            .enableAnalyticalStorage(true)
            .enableFreeTier(false)
            .keyVaultKeyUri("https://myKeyVault.vault.azure.net")
            .kind("GlobalDocumentDB")
            .location("westus")
            .locations(LocationArgs.builder()
                .failoverPriority(0)
                .isZoneRedundant(false)
                .locationName("southcentralus")
                .build())
            .minimalTlsVersion("Tls")
            .resourceGroupName("rg1")
            .restoreParameters(RestoreParametersArgs.builder()
                .databasesToRestore(                
                    DatabaseRestoreResourceArgs.builder()
                        .collectionNames(                        
                            "collection1",
                            "collection2")
                        .databaseName("db1")
                        .build(),
                    DatabaseRestoreResourceArgs.builder()
                        .collectionNames(                        
                            "collection3",
                            "collection4")
                        .databaseName("db2")
                        .build())
                .restoreMode("PointInTime")
                .restoreSource("/subscriptions/subid/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/1a97b4bb-f6a0-430e-ade1-638d781830cc")
                .restoreTimestampInUtc("2021-03-11T22:05:09Z")
                .build())
            .tags()
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const databaseAccount = new azure_native.documentdb.DatabaseAccount("databaseAccount", {
    accountName: "ddb1",
    apiProperties: {
        serverVersion: azure_native.documentdb.ServerVersion.ServerVersion_3_2,
    },
    backupPolicy: {
        continuousModeProperties: {
            tier: azure_native.documentdb.ContinuousTier.Continuous30Days,
        },
        type: "Continuous",
    },
    consistencyPolicy: {
        defaultConsistencyLevel: azure_native.documentdb.DefaultConsistencyLevel.BoundedStaleness,
        maxIntervalInSeconds: 10,
        maxStalenessPrefix: 200,
    },
    createMode: "Restore",
    databaseAccountOfferType: azure_native.documentdb.DatabaseAccountOfferType.Standard,
    enableAnalyticalStorage: true,
    enableFreeTier: false,
    keyVaultKeyUri: "https://myKeyVault.vault.azure.net",
    kind: azure_native.documentdb.DatabaseAccountKind.GlobalDocumentDB,
    location: "westus",
    locations: [{
        failoverPriority: 0,
        isZoneRedundant: false,
        locationName: "southcentralus",
    }],
    minimalTlsVersion: azure_native.documentdb.MinimalTlsVersion.Tls,
    resourceGroupName: "rg1",
    restoreParameters: {
        databasesToRestore: [
            {
                collectionNames: [
                    "collection1",
                    "collection2",
                ],
                databaseName: "db1",
            },
            {
                collectionNames: [
                    "collection3",
                    "collection4",
                ],
                databaseName: "db2",
            },
        ],
        restoreMode: azure_native.documentdb.RestoreMode.PointInTime,
        restoreSource: "/subscriptions/subid/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/1a97b4bb-f6a0-430e-ade1-638d781830cc",
        restoreTimestampInUtc: "2021-03-11T22:05:09Z",
    },
    tags: {},
});
import pulumi
import pulumi_azure_native as azure_native
database_account = azure_native.documentdb.DatabaseAccount("databaseAccount",
    account_name="ddb1",
    api_properties={
        "server_version": azure_native.documentdb.ServerVersion.SERVER_VERSION_3_2,
    },
    backup_policy={
        "continuous_mode_properties": {
            "tier": azure_native.documentdb.ContinuousTier.CONTINUOUS30_DAYS,
        },
        "type": "Continuous",
    },
    consistency_policy={
        "default_consistency_level": azure_native.documentdb.DefaultConsistencyLevel.BOUNDED_STALENESS,
        "max_interval_in_seconds": 10,
        "max_staleness_prefix": 200,
    },
    create_mode="Restore",
    database_account_offer_type=azure_native.documentdb.DatabaseAccountOfferType.STANDARD,
    enable_analytical_storage=True,
    enable_free_tier=False,
    key_vault_key_uri="https://myKeyVault.vault.azure.net",
    kind=azure_native.documentdb.DatabaseAccountKind.GLOBAL_DOCUMENT_DB,
    location="westus",
    locations=[{
        "failover_priority": 0,
        "is_zone_redundant": False,
        "location_name": "southcentralus",
    }],
    minimal_tls_version=azure_native.documentdb.MinimalTlsVersion.TLS,
    resource_group_name="rg1",
    restore_parameters={
        "databases_to_restore": [
            {
                "collection_names": [
                    "collection1",
                    "collection2",
                ],
                "database_name": "db1",
            },
            {
                "collection_names": [
                    "collection3",
                    "collection4",
                ],
                "database_name": "db2",
            },
        ],
        "restore_mode": azure_native.documentdb.RestoreMode.POINT_IN_TIME,
        "restore_source": "/subscriptions/subid/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/1a97b4bb-f6a0-430e-ade1-638d781830cc",
        "restore_timestamp_in_utc": "2021-03-11T22:05:09Z",
    },
    tags={})
resources:
  databaseAccount:
    type: azure-native:documentdb:DatabaseAccount
    properties:
      accountName: ddb1
      apiProperties:
        serverVersion: '3.2'
      backupPolicy:
        continuousModeProperties:
          tier: Continuous30Days
        type: Continuous
      consistencyPolicy:
        defaultConsistencyLevel: BoundedStaleness
        maxIntervalInSeconds: 10
        maxStalenessPrefix: 200
      createMode: Restore
      databaseAccountOfferType: Standard
      enableAnalyticalStorage: true
      enableFreeTier: false
      keyVaultKeyUri: https://myKeyVault.vault.azure.net
      kind: GlobalDocumentDB
      location: westus
      locations:
        - failoverPriority: 0
          isZoneRedundant: false
          locationName: southcentralus
      minimalTlsVersion: Tls
      resourceGroupName: rg1
      restoreParameters:
        databasesToRestore:
          - collectionNames:
              - collection1
              - collection2
            databaseName: db1
          - collectionNames:
              - collection3
              - collection4
            databaseName: db2
        restoreMode: PointInTime
        restoreSource: /subscriptions/subid/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/1a97b4bb-f6a0-430e-ade1-638d781830cc
        restoreTimestampInUtc: 2021-03-11T22:05:09Z
      tags: {}
Create DatabaseAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DatabaseAccount(name: string, args: DatabaseAccountArgs, opts?: CustomResourceOptions);@overload
def DatabaseAccount(resource_name: str,
                    args: DatabaseAccountArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def DatabaseAccount(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    database_account_offer_type: Optional[DatabaseAccountOfferType] = None,
                    resource_group_name: Optional[str] = None,
                    locations: Optional[Sequence[LocationArgs]] = None,
                    enable_cassandra_connector: Optional[bool] = None,
                    restore_parameters: Optional[RestoreParametersArgs] = None,
                    capacity: Optional[CapacityArgs] = None,
                    connector_offer: Optional[Union[str, ConnectorOffer]] = None,
                    consistency_policy: Optional[ConsistencyPolicyArgs] = None,
                    cors: Optional[Sequence[CorsPolicyArgs]] = None,
                    enable_partition_merge: Optional[bool] = None,
                    backup_policy: Optional[Union[ContinuousModeBackupPolicyArgs, PeriodicModeBackupPolicyArgs]] = None,
                    default_identity: Optional[str] = None,
                    disable_key_based_metadata_write_access: Optional[bool] = None,
                    disable_local_auth: Optional[bool] = None,
                    enable_analytical_storage: Optional[bool] = None,
                    enable_automatic_failover: Optional[bool] = None,
                    account_name: Optional[str] = None,
                    virtual_network_rules: Optional[Sequence[VirtualNetworkRuleArgs]] = None,
                    capabilities: Optional[Sequence[CapabilityArgs]] = None,
                    create_mode: Optional[Union[str, CreateMode]] = None,
                    identity: Optional[ManagedServiceIdentityArgs] = None,
                    ip_rules: Optional[Sequence[IpAddressOrRangeArgs]] = None,
                    is_virtual_network_filter_enabled: Optional[bool] = None,
                    key_vault_key_uri: Optional[str] = None,
                    kind: Optional[Union[str, DatabaseAccountKind]] = None,
                    location: Optional[str] = None,
                    api_properties: Optional[ApiPropertiesArgs] = None,
                    minimal_tls_version: Optional[Union[str, MinimalTlsVersion]] = None,
                    network_acl_bypass: Optional[NetworkAclBypass] = None,
                    network_acl_bypass_resource_ids: Optional[Sequence[str]] = None,
                    public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
                    analytical_storage_configuration: Optional[AnalyticalStorageConfigurationArgs] = None,
                    enable_multiple_write_locations: Optional[bool] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    enable_free_tier: Optional[bool] = None)func NewDatabaseAccount(ctx *Context, name string, args DatabaseAccountArgs, opts ...ResourceOption) (*DatabaseAccount, error)public DatabaseAccount(string name, DatabaseAccountArgs args, CustomResourceOptions? opts = null)
public DatabaseAccount(String name, DatabaseAccountArgs args)
public DatabaseAccount(String name, DatabaseAccountArgs args, CustomResourceOptions options)
type: azure-native:documentdb:DatabaseAccount
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 DatabaseAccountArgs
- 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 DatabaseAccountArgs
- 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 DatabaseAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseAccountArgs
- 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 databaseAccountResource = new AzureNative.DocumentDB.DatabaseAccount("databaseAccountResource", new()
{
    DatabaseAccountOfferType = AzureNative.DocumentDB.DatabaseAccountOfferType.Standard,
    ResourceGroupName = "string",
    Locations = new[]
    {
        new AzureNative.DocumentDB.Inputs.LocationArgs
        {
            FailoverPriority = 0,
            IsZoneRedundant = false,
            LocationName = "string",
        },
    },
    EnableCassandraConnector = false,
    RestoreParameters = new AzureNative.DocumentDB.Inputs.RestoreParametersArgs
    {
        DatabasesToRestore = new[]
        {
            new AzureNative.DocumentDB.Inputs.DatabaseRestoreResourceArgs
            {
                CollectionNames = new[]
                {
                    "string",
                },
                DatabaseName = "string",
            },
        },
        GremlinDatabasesToRestore = new[]
        {
            new AzureNative.DocumentDB.Inputs.GremlinDatabaseRestoreResourceArgs
            {
                DatabaseName = "string",
                GraphNames = new[]
                {
                    "string",
                },
            },
        },
        RestoreMode = "string",
        RestoreSource = "string",
        RestoreTimestampInUtc = "string",
        TablesToRestore = new[]
        {
            "string",
        },
    },
    Capacity = new AzureNative.DocumentDB.Inputs.CapacityArgs
    {
        TotalThroughputLimit = 0,
    },
    ConnectorOffer = "string",
    ConsistencyPolicy = new AzureNative.DocumentDB.Inputs.ConsistencyPolicyArgs
    {
        DefaultConsistencyLevel = AzureNative.DocumentDB.DefaultConsistencyLevel.Eventual,
        MaxIntervalInSeconds = 0,
        MaxStalenessPrefix = 0,
    },
    Cors = new[]
    {
        new AzureNative.DocumentDB.Inputs.CorsPolicyArgs
        {
            AllowedOrigins = "string",
            AllowedHeaders = "string",
            AllowedMethods = "string",
            ExposedHeaders = "string",
            MaxAgeInSeconds = 0,
        },
    },
    EnablePartitionMerge = false,
    BackupPolicy = new AzureNative.DocumentDB.Inputs.ContinuousModeBackupPolicyArgs
    {
        Type = "Continuous",
        ContinuousModeProperties = new AzureNative.DocumentDB.Inputs.ContinuousModePropertiesArgs
        {
            Tier = "string",
        },
        MigrationState = new AzureNative.DocumentDB.Inputs.BackupPolicyMigrationStateArgs
        {
            StartTime = "string",
            Status = "string",
            TargetType = "string",
        },
    },
    DefaultIdentity = "string",
    DisableKeyBasedMetadataWriteAccess = false,
    DisableLocalAuth = false,
    EnableAnalyticalStorage = false,
    EnableAutomaticFailover = false,
    AccountName = "string",
    VirtualNetworkRules = new[]
    {
        new AzureNative.DocumentDB.Inputs.VirtualNetworkRuleArgs
        {
            Id = "string",
            IgnoreMissingVNetServiceEndpoint = false,
        },
    },
    Capabilities = new[]
    {
        new AzureNative.DocumentDB.Inputs.CapabilityArgs
        {
            Name = "string",
        },
    },
    CreateMode = "string",
    Identity = new AzureNative.DocumentDB.Inputs.ManagedServiceIdentityArgs
    {
        Type = AzureNative.DocumentDB.ResourceIdentityType.SystemAssigned,
        UserAssignedIdentities = new[]
        {
            "string",
        },
    },
    IpRules = new[]
    {
        new AzureNative.DocumentDB.Inputs.IpAddressOrRangeArgs
        {
            IpAddressOrRange = "string",
        },
    },
    IsVirtualNetworkFilterEnabled = false,
    KeyVaultKeyUri = "string",
    Kind = "string",
    Location = "string",
    ApiProperties = new AzureNative.DocumentDB.Inputs.ApiPropertiesArgs
    {
        ServerVersion = "string",
    },
    MinimalTlsVersion = "string",
    NetworkAclBypass = AzureNative.DocumentDB.NetworkAclBypass.None,
    NetworkAclBypassResourceIds = new[]
    {
        "string",
    },
    PublicNetworkAccess = "string",
    AnalyticalStorageConfiguration = new AzureNative.DocumentDB.Inputs.AnalyticalStorageConfigurationArgs
    {
        SchemaType = "string",
    },
    EnableMultipleWriteLocations = false,
    Tags = 
    {
        { "string", "string" },
    },
    EnableFreeTier = false,
});
example, err := documentdb.NewDatabaseAccount(ctx, "databaseAccountResource", &documentdb.DatabaseAccountArgs{
	DatabaseAccountOfferType: documentdb.DatabaseAccountOfferTypeStandard,
	ResourceGroupName:        pulumi.String("string"),
	Locations: documentdb.LocationArray{
		&documentdb.LocationArgs{
			FailoverPriority: pulumi.Int(0),
			IsZoneRedundant:  pulumi.Bool(false),
			LocationName:     pulumi.String("string"),
		},
	},
	EnableCassandraConnector: pulumi.Bool(false),
	RestoreParameters: &documentdb.RestoreParametersArgs{
		DatabasesToRestore: documentdb.DatabaseRestoreResourceArray{
			&documentdb.DatabaseRestoreResourceArgs{
				CollectionNames: pulumi.StringArray{
					pulumi.String("string"),
				},
				DatabaseName: pulumi.String("string"),
			},
		},
		GremlinDatabasesToRestore: documentdb.GremlinDatabaseRestoreResourceArray{
			&documentdb.GremlinDatabaseRestoreResourceArgs{
				DatabaseName: pulumi.String("string"),
				GraphNames: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
		RestoreMode:           pulumi.String("string"),
		RestoreSource:         pulumi.String("string"),
		RestoreTimestampInUtc: pulumi.String("string"),
		TablesToRestore: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Capacity: &documentdb.CapacityArgs{
		TotalThroughputLimit: pulumi.Int(0),
	},
	ConnectorOffer: pulumi.String("string"),
	ConsistencyPolicy: &documentdb.ConsistencyPolicyArgs{
		DefaultConsistencyLevel: documentdb.DefaultConsistencyLevelEventual,
		MaxIntervalInSeconds:    pulumi.Int(0),
		MaxStalenessPrefix:      pulumi.Float64(0),
	},
	Cors: documentdb.CorsPolicyArray{
		&documentdb.CorsPolicyArgs{
			AllowedOrigins:  pulumi.String("string"),
			AllowedHeaders:  pulumi.String("string"),
			AllowedMethods:  pulumi.String("string"),
			ExposedHeaders:  pulumi.String("string"),
			MaxAgeInSeconds: pulumi.Float64(0),
		},
	},
	EnablePartitionMerge: pulumi.Bool(false),
	BackupPolicy: &documentdb.ContinuousModeBackupPolicyArgs{
		Type: pulumi.String("Continuous"),
		ContinuousModeProperties: &documentdb.ContinuousModePropertiesArgs{
			Tier: pulumi.String("string"),
		},
		MigrationState: &documentdb.BackupPolicyMigrationStateArgs{
			StartTime:  pulumi.String("string"),
			Status:     pulumi.String("string"),
			TargetType: pulumi.String("string"),
		},
	},
	DefaultIdentity:                    pulumi.String("string"),
	DisableKeyBasedMetadataWriteAccess: pulumi.Bool(false),
	DisableLocalAuth:                   pulumi.Bool(false),
	EnableAnalyticalStorage:            pulumi.Bool(false),
	EnableAutomaticFailover:            pulumi.Bool(false),
	AccountName:                        pulumi.String("string"),
	VirtualNetworkRules: documentdb.VirtualNetworkRuleArray{
		&documentdb.VirtualNetworkRuleArgs{
			Id:                               pulumi.String("string"),
			IgnoreMissingVNetServiceEndpoint: pulumi.Bool(false),
		},
	},
	Capabilities: documentdb.CapabilityArray{
		&documentdb.CapabilityArgs{
			Name: pulumi.String("string"),
		},
	},
	CreateMode: pulumi.String("string"),
	Identity: &documentdb.ManagedServiceIdentityArgs{
		Type: documentdb.ResourceIdentityTypeSystemAssigned,
		UserAssignedIdentities: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	IpRules: documentdb.IpAddressOrRangeArray{
		&documentdb.IpAddressOrRangeArgs{
			IpAddressOrRange: pulumi.String("string"),
		},
	},
	IsVirtualNetworkFilterEnabled: pulumi.Bool(false),
	KeyVaultKeyUri:                pulumi.String("string"),
	Kind:                          pulumi.String("string"),
	Location:                      pulumi.String("string"),
	ApiProperties: &documentdb.ApiPropertiesArgs{
		ServerVersion: pulumi.String("string"),
	},
	MinimalTlsVersion: pulumi.String("string"),
	NetworkAclBypass:  documentdb.NetworkAclBypassNone,
	NetworkAclBypassResourceIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	PublicNetworkAccess: pulumi.String("string"),
	AnalyticalStorageConfiguration: &documentdb.AnalyticalStorageConfigurationArgs{
		SchemaType: pulumi.String("string"),
	},
	EnableMultipleWriteLocations: pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	EnableFreeTier: pulumi.Bool(false),
})
var databaseAccountResource = new DatabaseAccount("databaseAccountResource", DatabaseAccountArgs.builder()
    .databaseAccountOfferType("Standard")
    .resourceGroupName("string")
    .locations(LocationArgs.builder()
        .failoverPriority(0)
        .isZoneRedundant(false)
        .locationName("string")
        .build())
    .enableCassandraConnector(false)
    .restoreParameters(RestoreParametersArgs.builder()
        .databasesToRestore(DatabaseRestoreResourceArgs.builder()
            .collectionNames("string")
            .databaseName("string")
            .build())
        .gremlinDatabasesToRestore(GremlinDatabaseRestoreResourceArgs.builder()
            .databaseName("string")
            .graphNames("string")
            .build())
        .restoreMode("string")
        .restoreSource("string")
        .restoreTimestampInUtc("string")
        .tablesToRestore("string")
        .build())
    .capacity(CapacityArgs.builder()
        .totalThroughputLimit(0)
        .build())
    .connectorOffer("string")
    .consistencyPolicy(ConsistencyPolicyArgs.builder()
        .defaultConsistencyLevel("Eventual")
        .maxIntervalInSeconds(0)
        .maxStalenessPrefix(0)
        .build())
    .cors(CorsPolicyArgs.builder()
        .allowedOrigins("string")
        .allowedHeaders("string")
        .allowedMethods("string")
        .exposedHeaders("string")
        .maxAgeInSeconds(0)
        .build())
    .enablePartitionMerge(false)
    .backupPolicy(ContinuousModeBackupPolicyArgs.builder()
        .type("Continuous")
        .continuousModeProperties(ContinuousModePropertiesArgs.builder()
            .tier("string")
            .build())
        .migrationState(BackupPolicyMigrationStateArgs.builder()
            .startTime("string")
            .status("string")
            .targetType("string")
            .build())
        .build())
    .defaultIdentity("string")
    .disableKeyBasedMetadataWriteAccess(false)
    .disableLocalAuth(false)
    .enableAnalyticalStorage(false)
    .enableAutomaticFailover(false)
    .accountName("string")
    .virtualNetworkRules(VirtualNetworkRuleArgs.builder()
        .id("string")
        .ignoreMissingVNetServiceEndpoint(false)
        .build())
    .capabilities(CapabilityArgs.builder()
        .name("string")
        .build())
    .createMode("string")
    .identity(ManagedServiceIdentityArgs.builder()
        .type("SystemAssigned")
        .userAssignedIdentities("string")
        .build())
    .ipRules(IpAddressOrRangeArgs.builder()
        .ipAddressOrRange("string")
        .build())
    .isVirtualNetworkFilterEnabled(false)
    .keyVaultKeyUri("string")
    .kind("string")
    .location("string")
    .apiProperties(ApiPropertiesArgs.builder()
        .serverVersion("string")
        .build())
    .minimalTlsVersion("string")
    .networkAclBypass("None")
    .networkAclBypassResourceIds("string")
    .publicNetworkAccess("string")
    .analyticalStorageConfiguration(AnalyticalStorageConfigurationArgs.builder()
        .schemaType("string")
        .build())
    .enableMultipleWriteLocations(false)
    .tags(Map.of("string", "string"))
    .enableFreeTier(false)
    .build());
database_account_resource = azure_native.documentdb.DatabaseAccount("databaseAccountResource",
    database_account_offer_type=azure_native.documentdb.DatabaseAccountOfferType.STANDARD,
    resource_group_name="string",
    locations=[{
        "failover_priority": 0,
        "is_zone_redundant": False,
        "location_name": "string",
    }],
    enable_cassandra_connector=False,
    restore_parameters={
        "databases_to_restore": [{
            "collection_names": ["string"],
            "database_name": "string",
        }],
        "gremlin_databases_to_restore": [{
            "database_name": "string",
            "graph_names": ["string"],
        }],
        "restore_mode": "string",
        "restore_source": "string",
        "restore_timestamp_in_utc": "string",
        "tables_to_restore": ["string"],
    },
    capacity={
        "total_throughput_limit": 0,
    },
    connector_offer="string",
    consistency_policy={
        "default_consistency_level": azure_native.documentdb.DefaultConsistencyLevel.EVENTUAL,
        "max_interval_in_seconds": 0,
        "max_staleness_prefix": 0,
    },
    cors=[{
        "allowed_origins": "string",
        "allowed_headers": "string",
        "allowed_methods": "string",
        "exposed_headers": "string",
        "max_age_in_seconds": 0,
    }],
    enable_partition_merge=False,
    backup_policy={
        "type": "Continuous",
        "continuous_mode_properties": {
            "tier": "string",
        },
        "migration_state": {
            "start_time": "string",
            "status": "string",
            "target_type": "string",
        },
    },
    default_identity="string",
    disable_key_based_metadata_write_access=False,
    disable_local_auth=False,
    enable_analytical_storage=False,
    enable_automatic_failover=False,
    account_name="string",
    virtual_network_rules=[{
        "id": "string",
        "ignore_missing_v_net_service_endpoint": False,
    }],
    capabilities=[{
        "name": "string",
    }],
    create_mode="string",
    identity={
        "type": azure_native.documentdb.ResourceIdentityType.SYSTEM_ASSIGNED,
        "user_assigned_identities": ["string"],
    },
    ip_rules=[{
        "ip_address_or_range": "string",
    }],
    is_virtual_network_filter_enabled=False,
    key_vault_key_uri="string",
    kind="string",
    location="string",
    api_properties={
        "server_version": "string",
    },
    minimal_tls_version="string",
    network_acl_bypass=azure_native.documentdb.NetworkAclBypass.NONE,
    network_acl_bypass_resource_ids=["string"],
    public_network_access="string",
    analytical_storage_configuration={
        "schema_type": "string",
    },
    enable_multiple_write_locations=False,
    tags={
        "string": "string",
    },
    enable_free_tier=False)
const databaseAccountResource = new azure_native.documentdb.DatabaseAccount("databaseAccountResource", {
    databaseAccountOfferType: azure_native.documentdb.DatabaseAccountOfferType.Standard,
    resourceGroupName: "string",
    locations: [{
        failoverPriority: 0,
        isZoneRedundant: false,
        locationName: "string",
    }],
    enableCassandraConnector: false,
    restoreParameters: {
        databasesToRestore: [{
            collectionNames: ["string"],
            databaseName: "string",
        }],
        gremlinDatabasesToRestore: [{
            databaseName: "string",
            graphNames: ["string"],
        }],
        restoreMode: "string",
        restoreSource: "string",
        restoreTimestampInUtc: "string",
        tablesToRestore: ["string"],
    },
    capacity: {
        totalThroughputLimit: 0,
    },
    connectorOffer: "string",
    consistencyPolicy: {
        defaultConsistencyLevel: azure_native.documentdb.DefaultConsistencyLevel.Eventual,
        maxIntervalInSeconds: 0,
        maxStalenessPrefix: 0,
    },
    cors: [{
        allowedOrigins: "string",
        allowedHeaders: "string",
        allowedMethods: "string",
        exposedHeaders: "string",
        maxAgeInSeconds: 0,
    }],
    enablePartitionMerge: false,
    backupPolicy: {
        type: "Continuous",
        continuousModeProperties: {
            tier: "string",
        },
        migrationState: {
            startTime: "string",
            status: "string",
            targetType: "string",
        },
    },
    defaultIdentity: "string",
    disableKeyBasedMetadataWriteAccess: false,
    disableLocalAuth: false,
    enableAnalyticalStorage: false,
    enableAutomaticFailover: false,
    accountName: "string",
    virtualNetworkRules: [{
        id: "string",
        ignoreMissingVNetServiceEndpoint: false,
    }],
    capabilities: [{
        name: "string",
    }],
    createMode: "string",
    identity: {
        type: azure_native.documentdb.ResourceIdentityType.SystemAssigned,
        userAssignedIdentities: ["string"],
    },
    ipRules: [{
        ipAddressOrRange: "string",
    }],
    isVirtualNetworkFilterEnabled: false,
    keyVaultKeyUri: "string",
    kind: "string",
    location: "string",
    apiProperties: {
        serverVersion: "string",
    },
    minimalTlsVersion: "string",
    networkAclBypass: azure_native.documentdb.NetworkAclBypass.None,
    networkAclBypassResourceIds: ["string"],
    publicNetworkAccess: "string",
    analyticalStorageConfiguration: {
        schemaType: "string",
    },
    enableMultipleWriteLocations: false,
    tags: {
        string: "string",
    },
    enableFreeTier: false,
});
type: azure-native:documentdb:DatabaseAccount
properties:
    accountName: string
    analyticalStorageConfiguration:
        schemaType: string
    apiProperties:
        serverVersion: string
    backupPolicy:
        continuousModeProperties:
            tier: string
        migrationState:
            startTime: string
            status: string
            targetType: string
        type: Continuous
    capabilities:
        - name: string
    capacity:
        totalThroughputLimit: 0
    connectorOffer: string
    consistencyPolicy:
        defaultConsistencyLevel: Eventual
        maxIntervalInSeconds: 0
        maxStalenessPrefix: 0
    cors:
        - allowedHeaders: string
          allowedMethods: string
          allowedOrigins: string
          exposedHeaders: string
          maxAgeInSeconds: 0
    createMode: string
    databaseAccountOfferType: Standard
    defaultIdentity: string
    disableKeyBasedMetadataWriteAccess: false
    disableLocalAuth: false
    enableAnalyticalStorage: false
    enableAutomaticFailover: false
    enableCassandraConnector: false
    enableFreeTier: false
    enableMultipleWriteLocations: false
    enablePartitionMerge: false
    identity:
        type: SystemAssigned
        userAssignedIdentities:
            - string
    ipRules:
        - ipAddressOrRange: string
    isVirtualNetworkFilterEnabled: false
    keyVaultKeyUri: string
    kind: string
    location: string
    locations:
        - failoverPriority: 0
          isZoneRedundant: false
          locationName: string
    minimalTlsVersion: string
    networkAclBypass: None
    networkAclBypassResourceIds:
        - string
    publicNetworkAccess: string
    resourceGroupName: string
    restoreParameters:
        databasesToRestore:
            - collectionNames:
                - string
              databaseName: string
        gremlinDatabasesToRestore:
            - databaseName: string
              graphNames:
                - string
        restoreMode: string
        restoreSource: string
        restoreTimestampInUtc: string
        tablesToRestore:
            - string
    tags:
        string: string
    virtualNetworkRules:
        - id: string
          ignoreMissingVNetServiceEndpoint: false
DatabaseAccount 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 DatabaseAccount resource accepts the following input properties:
- DatabaseAccount Pulumi.Offer Type Azure Native. Document DB. Database Account Offer Type 
- The offer type for the database
- Locations
List<Pulumi.Azure Native. Document DB. Inputs. Location> 
- An array that contains the georeplication locations enabled for the Cosmos DB account.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AccountName string
- Cosmos DB database account name.
- AnalyticalStorage Pulumi.Configuration Azure Native. Document DB. Inputs. Analytical Storage Configuration 
- Analytical storage specific properties.
- ApiProperties Pulumi.Azure Native. Document DB. Inputs. Api Properties 
- API specific properties. Currently, supported only for MongoDB API.
- BackupPolicy Pulumi.Azure | Pulumi.Native. Document DB. Inputs. Continuous Mode Backup Policy Azure Native. Document DB. Inputs. Periodic Mode Backup Policy 
- The object representing the policy for taking backups on an account.
- Capabilities
List<Pulumi.Azure Native. Document DB. Inputs. Capability> 
- List of Cosmos DB capabilities for the account
- Capacity
Pulumi.Azure Native. Document DB. Inputs. Capacity 
- The object that represents all properties related to capacity enforcement on an account.
- ConnectorOffer string | Pulumi.Azure Native. Document DB. Connector Offer 
- The cassandra connector offer type for the Cosmos DB database C* account.
- ConsistencyPolicy Pulumi.Azure Native. Document DB. Inputs. Consistency Policy 
- The consistency policy for the Cosmos DB account.
- Cors
List<Pulumi.Azure Native. Document DB. Inputs. Cors Policy> 
- The CORS policy for the Cosmos DB database account.
- CreateMode string | Pulumi.Azure Native. Document DB. Create Mode 
- Enum to indicate the mode of account creation.
- DefaultIdentity string
- The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.
- DisableKey boolBased Metadata Write Access 
- Disable write operations on metadata resources (databases, containers, throughput) via account keys
- DisableLocal boolAuth 
- Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
- EnableAnalytical boolStorage 
- Flag to indicate whether to enable storage analytics.
- EnableAutomatic boolFailover 
- Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- EnableCassandra boolConnector 
- Enables the cassandra connector on the Cosmos DB C* account
- EnableFree boolTier 
- Flag to indicate whether Free Tier is enabled.
- EnableMultiple boolWrite Locations 
- Enables the account to write in multiple locations
- EnablePartition boolMerge 
- Flag to indicate enabling/disabling of Partition Merge feature on the account
- Identity
Pulumi.Azure Native. Document DB. Inputs. Managed Service Identity 
- Identity for the resource.
- IpRules List<Pulumi.Azure Native. Document DB. Inputs. Ip Address Or Range> 
- List of IpRules.
- IsVirtual boolNetwork Filter Enabled 
- Flag to indicate whether to enable/disable Virtual Network ACL rules.
- KeyVault stringKey Uri 
- The URI of the key vault
- Kind
string | Pulumi.Azure Native. Document DB. Database Account Kind 
- Indicates the type of database account. This can only be set at database account creation.
- Location string
- The location of the resource group to which the resource belongs.
- MinimalTls string | Pulumi.Version Azure Native. Document DB. Minimal Tls Version 
- Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.
- NetworkAcl Pulumi.Bypass Azure Native. Document DB. Network Acl Bypass 
- Indicates what services are allowed to bypass firewall checks.
- NetworkAcl List<string>Bypass Resource Ids 
- An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- PublicNetwork string | Pulumi.Access Azure Native. Document DB. Public Network Access 
- Whether requests from Public Network are allowed
- RestoreParameters Pulumi.Azure Native. Document DB. Inputs. Restore Parameters 
- Parameters to indicate the information about the restore.
- 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".
- VirtualNetwork List<Pulumi.Rules Azure Native. Document DB. Inputs. Virtual Network Rule> 
- List of Virtual Network ACL rules configured for the Cosmos DB account.
- DatabaseAccount DatabaseOffer Type Account Offer Type 
- The offer type for the database
- Locations
[]LocationArgs 
- An array that contains the georeplication locations enabled for the Cosmos DB account.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AccountName string
- Cosmos DB database account name.
- AnalyticalStorage AnalyticalConfiguration Storage Configuration Args 
- Analytical storage specific properties.
- ApiProperties ApiProperties Args 
- API specific properties. Currently, supported only for MongoDB API.
- BackupPolicy ContinuousMode | PeriodicBackup Policy Args Mode Backup Policy Args 
- The object representing the policy for taking backups on an account.
- Capabilities
[]CapabilityArgs 
- List of Cosmos DB capabilities for the account
- Capacity
CapacityArgs 
- The object that represents all properties related to capacity enforcement on an account.
- ConnectorOffer string | ConnectorOffer 
- The cassandra connector offer type for the Cosmos DB database C* account.
- ConsistencyPolicy ConsistencyPolicy Args 
- The consistency policy for the Cosmos DB account.
- Cors
[]CorsPolicy Args 
- The CORS policy for the Cosmos DB database account.
- CreateMode string | CreateMode 
- Enum to indicate the mode of account creation.
- DefaultIdentity string
- The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.
- DisableKey boolBased Metadata Write Access 
- Disable write operations on metadata resources (databases, containers, throughput) via account keys
- DisableLocal boolAuth 
- Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
- EnableAnalytical boolStorage 
- Flag to indicate whether to enable storage analytics.
- EnableAutomatic boolFailover 
- Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- EnableCassandra boolConnector 
- Enables the cassandra connector on the Cosmos DB C* account
- EnableFree boolTier 
- Flag to indicate whether Free Tier is enabled.
- EnableMultiple boolWrite Locations 
- Enables the account to write in multiple locations
- EnablePartition boolMerge 
- Flag to indicate enabling/disabling of Partition Merge feature on the account
- Identity
ManagedService Identity Args 
- Identity for the resource.
- IpRules []IpAddress Or Range Args 
- List of IpRules.
- IsVirtual boolNetwork Filter Enabled 
- Flag to indicate whether to enable/disable Virtual Network ACL rules.
- KeyVault stringKey Uri 
- The URI of the key vault
- Kind
string | DatabaseAccount Kind 
- Indicates the type of database account. This can only be set at database account creation.
- Location string
- The location of the resource group to which the resource belongs.
- MinimalTls string | MinimalVersion Tls Version 
- Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.
- NetworkAcl NetworkBypass Acl Bypass 
- Indicates what services are allowed to bypass firewall checks.
- NetworkAcl []stringBypass Resource Ids 
- An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- PublicNetwork string | PublicAccess Network Access 
- Whether requests from Public Network are allowed
- RestoreParameters RestoreParameters Args 
- Parameters to indicate the information about the restore.
- 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".
- VirtualNetwork []VirtualRules Network Rule Args 
- List of Virtual Network ACL rules configured for the Cosmos DB account.
- databaseAccount DatabaseOffer Type Account Offer Type 
- The offer type for the database
- locations List<Location>
- An array that contains the georeplication locations enabled for the Cosmos DB account.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- accountName String
- Cosmos DB database account name.
- analyticalStorage AnalyticalConfiguration Storage Configuration 
- Analytical storage specific properties.
- apiProperties ApiProperties 
- API specific properties. Currently, supported only for MongoDB API.
- backupPolicy ContinuousMode | PeriodicBackup Policy Mode Backup Policy 
- The object representing the policy for taking backups on an account.
- capabilities List<Capability>
- List of Cosmos DB capabilities for the account
- capacity Capacity
- The object that represents all properties related to capacity enforcement on an account.
- connectorOffer String | ConnectorOffer 
- The cassandra connector offer type for the Cosmos DB database C* account.
- consistencyPolicy ConsistencyPolicy 
- The consistency policy for the Cosmos DB account.
- cors
List<CorsPolicy> 
- The CORS policy for the Cosmos DB database account.
- createMode String | CreateMode 
- Enum to indicate the mode of account creation.
- defaultIdentity String
- The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.
- disableKey BooleanBased Metadata Write Access 
- Disable write operations on metadata resources (databases, containers, throughput) via account keys
- disableLocal BooleanAuth 
- Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
- enableAnalytical BooleanStorage 
- Flag to indicate whether to enable storage analytics.
- enableAutomatic BooleanFailover 
- Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- enableCassandra BooleanConnector 
- Enables the cassandra connector on the Cosmos DB C* account
- enableFree BooleanTier 
- Flag to indicate whether Free Tier is enabled.
- enableMultiple BooleanWrite Locations 
- Enables the account to write in multiple locations
- enablePartition BooleanMerge 
- Flag to indicate enabling/disabling of Partition Merge feature on the account
- identity
ManagedService Identity 
- Identity for the resource.
- ipRules List<IpAddress Or Range> 
- List of IpRules.
- isVirtual BooleanNetwork Filter Enabled 
- Flag to indicate whether to enable/disable Virtual Network ACL rules.
- keyVault StringKey Uri 
- The URI of the key vault
- kind
String | DatabaseAccount Kind 
- Indicates the type of database account. This can only be set at database account creation.
- location String
- The location of the resource group to which the resource belongs.
- minimalTls String | MinimalVersion Tls Version 
- Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.
- networkAcl NetworkBypass Acl Bypass 
- Indicates what services are allowed to bypass firewall checks.
- networkAcl List<String>Bypass Resource Ids 
- An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- publicNetwork String | PublicAccess Network Access 
- Whether requests from Public Network are allowed
- restoreParameters RestoreParameters 
- Parameters to indicate the information about the restore.
- 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".
- virtualNetwork List<VirtualRules Network Rule> 
- List of Virtual Network ACL rules configured for the Cosmos DB account.
- databaseAccount DatabaseOffer Type Account Offer Type 
- The offer type for the database
- locations Location[]
- An array that contains the georeplication locations enabled for the Cosmos DB account.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- accountName string
- Cosmos DB database account name.
- analyticalStorage AnalyticalConfiguration Storage Configuration 
- Analytical storage specific properties.
- apiProperties ApiProperties 
- API specific properties. Currently, supported only for MongoDB API.
- backupPolicy ContinuousMode | PeriodicBackup Policy Mode Backup Policy 
- The object representing the policy for taking backups on an account.
- capabilities Capability[]
- List of Cosmos DB capabilities for the account
- capacity Capacity
- The object that represents all properties related to capacity enforcement on an account.
- connectorOffer string | ConnectorOffer 
- The cassandra connector offer type for the Cosmos DB database C* account.
- consistencyPolicy ConsistencyPolicy 
- The consistency policy for the Cosmos DB account.
- cors
CorsPolicy[] 
- The CORS policy for the Cosmos DB database account.
- createMode string | CreateMode 
- Enum to indicate the mode of account creation.
- defaultIdentity string
- The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.
- disableKey booleanBased Metadata Write Access 
- Disable write operations on metadata resources (databases, containers, throughput) via account keys
- disableLocal booleanAuth 
- Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
- enableAnalytical booleanStorage 
- Flag to indicate whether to enable storage analytics.
- enableAutomatic booleanFailover 
- Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- enableCassandra booleanConnector 
- Enables the cassandra connector on the Cosmos DB C* account
- enableFree booleanTier 
- Flag to indicate whether Free Tier is enabled.
- enableMultiple booleanWrite Locations 
- Enables the account to write in multiple locations
- enablePartition booleanMerge 
- Flag to indicate enabling/disabling of Partition Merge feature on the account
- identity
ManagedService Identity 
- Identity for the resource.
- ipRules IpAddress Or Range[] 
- List of IpRules.
- isVirtual booleanNetwork Filter Enabled 
- Flag to indicate whether to enable/disable Virtual Network ACL rules.
- keyVault stringKey Uri 
- The URI of the key vault
- kind
string | DatabaseAccount Kind 
- Indicates the type of database account. This can only be set at database account creation.
- location string
- The location of the resource group to which the resource belongs.
- minimalTls string | MinimalVersion Tls Version 
- Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.
- networkAcl NetworkBypass Acl Bypass 
- Indicates what services are allowed to bypass firewall checks.
- networkAcl string[]Bypass Resource Ids 
- An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- publicNetwork string | PublicAccess Network Access 
- Whether requests from Public Network are allowed
- restoreParameters RestoreParameters 
- Parameters to indicate the information about the restore.
- {[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".
- virtualNetwork VirtualRules Network Rule[] 
- List of Virtual Network ACL rules configured for the Cosmos DB account.
- database_account_ Databaseoffer_ type Account Offer Type 
- The offer type for the database
- locations
Sequence[LocationArgs] 
- An array that contains the georeplication locations enabled for the Cosmos DB account.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- account_name str
- Cosmos DB database account name.
- analytical_storage_ Analyticalconfiguration Storage Configuration Args 
- Analytical storage specific properties.
- api_properties ApiProperties Args 
- API specific properties. Currently, supported only for MongoDB API.
- backup_policy ContinuousMode | PeriodicBackup Policy Args Mode Backup Policy Args 
- The object representing the policy for taking backups on an account.
- capabilities
Sequence[CapabilityArgs] 
- List of Cosmos DB capabilities for the account
- capacity
CapacityArgs 
- The object that represents all properties related to capacity enforcement on an account.
- connector_offer str | ConnectorOffer 
- The cassandra connector offer type for the Cosmos DB database C* account.
- consistency_policy ConsistencyPolicy Args 
- The consistency policy for the Cosmos DB account.
- cors
Sequence[CorsPolicy Args] 
- The CORS policy for the Cosmos DB database account.
- create_mode str | CreateMode 
- Enum to indicate the mode of account creation.
- default_identity str
- The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.
- disable_key_ boolbased_ metadata_ write_ access 
- Disable write operations on metadata resources (databases, containers, throughput) via account keys
- disable_local_ boolauth 
- Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
- enable_analytical_ boolstorage 
- Flag to indicate whether to enable storage analytics.
- enable_automatic_ boolfailover 
- Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- enable_cassandra_ boolconnector 
- Enables the cassandra connector on the Cosmos DB C* account
- enable_free_ booltier 
- Flag to indicate whether Free Tier is enabled.
- enable_multiple_ boolwrite_ locations 
- Enables the account to write in multiple locations
- enable_partition_ boolmerge 
- Flag to indicate enabling/disabling of Partition Merge feature on the account
- identity
ManagedService Identity Args 
- Identity for the resource.
- ip_rules Sequence[IpAddress Or Range Args] 
- List of IpRules.
- is_virtual_ boolnetwork_ filter_ enabled 
- Flag to indicate whether to enable/disable Virtual Network ACL rules.
- key_vault_ strkey_ uri 
- The URI of the key vault
- kind
str | DatabaseAccount Kind 
- Indicates the type of database account. This can only be set at database account creation.
- location str
- The location of the resource group to which the resource belongs.
- minimal_tls_ str | Minimalversion Tls Version 
- Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.
- network_acl_ Networkbypass Acl Bypass 
- Indicates what services are allowed to bypass firewall checks.
- network_acl_ Sequence[str]bypass_ resource_ ids 
- An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- public_network_ str | Publicaccess Network Access 
- Whether requests from Public Network are allowed
- restore_parameters RestoreParameters Args 
- Parameters to indicate the information about the restore.
- 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".
- virtual_network_ Sequence[Virtualrules Network Rule Args] 
- List of Virtual Network ACL rules configured for the Cosmos DB account.
- databaseAccount "Standard"Offer Type 
- The offer type for the database
- locations List<Property Map>
- An array that contains the georeplication locations enabled for the Cosmos DB account.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- accountName String
- Cosmos DB database account name.
- analyticalStorage Property MapConfiguration 
- Analytical storage specific properties.
- apiProperties Property Map
- API specific properties. Currently, supported only for MongoDB API.
- backupPolicy Property Map | Property Map
- The object representing the policy for taking backups on an account.
- capabilities List<Property Map>
- List of Cosmos DB capabilities for the account
- capacity Property Map
- The object that represents all properties related to capacity enforcement on an account.
- connectorOffer String | "Small"
- The cassandra connector offer type for the Cosmos DB database C* account.
- consistencyPolicy Property Map
- The consistency policy for the Cosmos DB account.
- cors List<Property Map>
- The CORS policy for the Cosmos DB database account.
- createMode String | "Default" | "PointIn Time Restore" 
- Enum to indicate the mode of account creation.
- defaultIdentity String
- The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.
- disableKey BooleanBased Metadata Write Access 
- Disable write operations on metadata resources (databases, containers, throughput) via account keys
- disableLocal BooleanAuth 
- Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
- enableAnalytical BooleanStorage 
- Flag to indicate whether to enable storage analytics.
- enableAutomatic BooleanFailover 
- Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- enableCassandra BooleanConnector 
- Enables the cassandra connector on the Cosmos DB C* account
- enableFree BooleanTier 
- Flag to indicate whether Free Tier is enabled.
- enableMultiple BooleanWrite Locations 
- Enables the account to write in multiple locations
- enablePartition BooleanMerge 
- Flag to indicate enabling/disabling of Partition Merge feature on the account
- identity Property Map
- Identity for the resource.
- ipRules List<Property Map>
- List of IpRules.
- isVirtual BooleanNetwork Filter Enabled 
- Flag to indicate whether to enable/disable Virtual Network ACL rules.
- keyVault StringKey Uri 
- The URI of the key vault
- kind
String | "GlobalDocument DB" | "Mongo DB" | "Parse" 
- Indicates the type of database account. This can only be set at database account creation.
- location String
- The location of the resource group to which the resource belongs.
- minimalTls String | "Tls" | "Tls11" | "Tls12"Version 
- Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.
- networkAcl "None" | "AzureBypass Services" 
- Indicates what services are allowed to bypass firewall checks.
- networkAcl List<String>Bypass Resource Ids 
- An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- publicNetwork String | "Enabled" | "Disabled" | "SecuredAccess By Perimeter" 
- Whether requests from Public Network are allowed
- restoreParameters Property Map
- Parameters to indicate the information about the restore.
- 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".
- virtualNetwork List<Property Map>Rules 
- List of Virtual Network ACL rules configured for the Cosmos DB account.
Outputs
All input properties are implicitly available as output properties. Additionally, the DatabaseAccount resource produces the following output properties:
- DocumentEndpoint string
- The connection endpoint for the Cosmos DB database account.
- FailoverPolicies List<Pulumi.Azure Native. Document DB. Outputs. Failover Policy Response> 
- An array that contains the regions ordered by their failover priorities.
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- A unique identifier assigned to the database account
- KeysMetadata Pulumi.Azure Native. Document DB. Outputs. Database Account Keys Metadata Response 
- The object that represents the metadata for the Account Keys of the Cosmos DB account.
- Name string
- The name of the ARM resource.
- PrivateEndpoint List<Pulumi.Connections Azure Native. Document DB. Outputs. Private Endpoint Connection Response> 
- List of Private Endpoint Connections configured for the Cosmos DB account.
- ProvisioningState string
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- ReadLocations List<Pulumi.Azure Native. Document DB. Outputs. Location Response> 
- An array that contains of the read locations enabled for the Cosmos DB account.
- SystemData Pulumi.Azure Native. Document DB. Outputs. System Data Response 
- The system meta data relating to this resource.
- Type string
- The type of Azure resource.
- WriteLocations List<Pulumi.Azure Native. Document DB. Outputs. Location Response> 
- An array that contains the write location for the Cosmos DB account.
- DocumentEndpoint string
- The connection endpoint for the Cosmos DB database account.
- FailoverPolicies []FailoverPolicy Response 
- An array that contains the regions ordered by their failover priorities.
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- A unique identifier assigned to the database account
- KeysMetadata DatabaseAccount Keys Metadata Response 
- The object that represents the metadata for the Account Keys of the Cosmos DB account.
- Name string
- The name of the ARM resource.
- PrivateEndpoint []PrivateConnections Endpoint Connection Response 
- List of Private Endpoint Connections configured for the Cosmos DB account.
- ProvisioningState string
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- ReadLocations []LocationResponse 
- An array that contains of the read locations enabled for the Cosmos DB account.
- SystemData SystemData Response 
- The system meta data relating to this resource.
- Type string
- The type of Azure resource.
- WriteLocations []LocationResponse 
- An array that contains the write location for the Cosmos DB account.
- documentEndpoint String
- The connection endpoint for the Cosmos DB database account.
- failoverPolicies List<FailoverPolicy Response> 
- An array that contains the regions ordered by their failover priorities.
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- A unique identifier assigned to the database account
- keysMetadata DatabaseAccount Keys Metadata Response 
- The object that represents the metadata for the Account Keys of the Cosmos DB account.
- name String
- The name of the ARM resource.
- privateEndpoint List<PrivateConnections Endpoint Connection Response> 
- List of Private Endpoint Connections configured for the Cosmos DB account.
- provisioningState String
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- readLocations List<LocationResponse> 
- An array that contains of the read locations enabled for the Cosmos DB account.
- systemData SystemData Response 
- The system meta data relating to this resource.
- type String
- The type of Azure resource.
- writeLocations List<LocationResponse> 
- An array that contains the write location for the Cosmos DB account.
- documentEndpoint string
- The connection endpoint for the Cosmos DB database account.
- failoverPolicies FailoverPolicy Response[] 
- An array that contains the regions ordered by their failover priorities.
- id string
- The provider-assigned unique ID for this managed resource.
- instanceId string
- A unique identifier assigned to the database account
- keysMetadata DatabaseAccount Keys Metadata Response 
- The object that represents the metadata for the Account Keys of the Cosmos DB account.
- name string
- The name of the ARM resource.
- privateEndpoint PrivateConnections Endpoint Connection Response[] 
- List of Private Endpoint Connections configured for the Cosmos DB account.
- provisioningState string
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- readLocations LocationResponse[] 
- An array that contains of the read locations enabled for the Cosmos DB account.
- systemData SystemData Response 
- The system meta data relating to this resource.
- type string
- The type of Azure resource.
- writeLocations LocationResponse[] 
- An array that contains the write location for the Cosmos DB account.
- document_endpoint str
- The connection endpoint for the Cosmos DB database account.
- failover_policies Sequence[FailoverPolicy Response] 
- An array that contains the regions ordered by their failover priorities.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_id str
- A unique identifier assigned to the database account
- keys_metadata DatabaseAccount Keys Metadata Response 
- The object that represents the metadata for the Account Keys of the Cosmos DB account.
- name str
- The name of the ARM resource.
- private_endpoint_ Sequence[Privateconnections Endpoint Connection Response] 
- List of Private Endpoint Connections configured for the Cosmos DB account.
- provisioning_state str
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- read_locations Sequence[LocationResponse] 
- An array that contains of the read locations enabled for the Cosmos DB account.
- system_data SystemData Response 
- The system meta data relating to this resource.
- type str
- The type of Azure resource.
- write_locations Sequence[LocationResponse] 
- An array that contains the write location for the Cosmos DB account.
- documentEndpoint String
- The connection endpoint for the Cosmos DB database account.
- failoverPolicies List<Property Map>
- An array that contains the regions ordered by their failover priorities.
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- A unique identifier assigned to the database account
- keysMetadata Property Map
- The object that represents the metadata for the Account Keys of the Cosmos DB account.
- name String
- The name of the ARM resource.
- privateEndpoint List<Property Map>Connections 
- List of Private Endpoint Connections configured for the Cosmos DB account.
- provisioningState String
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- readLocations List<Property Map>
- An array that contains of the read locations enabled for the Cosmos DB account.
- systemData Property Map
- The system meta data relating to this resource.
- type String
- The type of Azure resource.
- writeLocations List<Property Map>
- An array that contains the write location for the Cosmos DB account.
Supporting Types
AccountKeyMetadataResponse, AccountKeyMetadataResponseArgs        
- GenerationTime string
- Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18.
- GenerationTime string
- Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18.
- generationTime String
- Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18.
- generationTime string
- Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18.
- generation_time str
- Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18.
- generationTime String
- Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18.
AnalyticalStorageConfiguration, AnalyticalStorageConfigurationArgs      
- SchemaType string | Pulumi.Azure Native. Document DB. Analytical Storage Schema Type 
- Describes the types of schema for analytical storage.
- SchemaType string | AnalyticalStorage Schema Type 
- Describes the types of schema for analytical storage.
- schemaType String | AnalyticalStorage Schema Type 
- Describes the types of schema for analytical storage.
- schemaType string | AnalyticalStorage Schema Type 
- Describes the types of schema for analytical storage.
- schema_type str | AnalyticalStorage Schema Type 
- Describes the types of schema for analytical storage.
- schemaType String | "WellDefined" | "Full Fidelity" 
- Describes the types of schema for analytical storage.
AnalyticalStorageConfigurationResponse, AnalyticalStorageConfigurationResponseArgs        
- SchemaType string
- Describes the types of schema for analytical storage.
- SchemaType string
- Describes the types of schema for analytical storage.
- schemaType String
- Describes the types of schema for analytical storage.
- schemaType string
- Describes the types of schema for analytical storage.
- schema_type str
- Describes the types of schema for analytical storage.
- schemaType String
- Describes the types of schema for analytical storage.
AnalyticalStorageSchemaType, AnalyticalStorageSchemaTypeArgs        
- WellDefined 
- WellDefined
- FullFidelity 
- FullFidelity
- AnalyticalStorage Schema Type Well Defined 
- WellDefined
- AnalyticalStorage Schema Type Full Fidelity 
- FullFidelity
- WellDefined 
- WellDefined
- FullFidelity 
- FullFidelity
- WellDefined 
- WellDefined
- FullFidelity 
- FullFidelity
- WELL_DEFINED
- WellDefined
- FULL_FIDELITY
- FullFidelity
- "WellDefined" 
- WellDefined
- "FullFidelity" 
- FullFidelity
ApiProperties, ApiPropertiesArgs    
- ServerVersion string | Pulumi.Azure Native. Document DB. Server Version 
- Describes the ServerVersion of an a MongoDB account.
- ServerVersion string | ServerVersion 
- Describes the ServerVersion of an a MongoDB account.
- serverVersion String | ServerVersion 
- Describes the ServerVersion of an a MongoDB account.
- serverVersion string | ServerVersion 
- Describes the ServerVersion of an a MongoDB account.
- server_version str | ServerVersion 
- Describes the ServerVersion of an a MongoDB account.
- serverVersion String | "3.2" | "3.6" | "4.0" | "4.2"
- Describes the ServerVersion of an a MongoDB account.
ApiPropertiesResponse, ApiPropertiesResponseArgs      
- ServerVersion string
- Describes the ServerVersion of an a MongoDB account.
- ServerVersion string
- Describes the ServerVersion of an a MongoDB account.
- serverVersion String
- Describes the ServerVersion of an a MongoDB account.
- serverVersion string
- Describes the ServerVersion of an a MongoDB account.
- server_version str
- Describes the ServerVersion of an a MongoDB account.
- serverVersion String
- Describes the ServerVersion of an a MongoDB account.
BackupPolicyMigrationState, BackupPolicyMigrationStateArgs        
- StartTime string
- Time at which the backup policy migration started (ISO-8601 format).
- Status
string | Pulumi.Azure Native. Document DB. Backup Policy Migration Status 
- Describes the status of migration between backup policy types.
- TargetType string | Pulumi.Azure Native. Document DB. Backup Policy Type 
- Describes the target backup policy type of the backup policy migration.
- StartTime string
- Time at which the backup policy migration started (ISO-8601 format).
- Status
string | BackupPolicy Migration Status 
- Describes the status of migration between backup policy types.
- TargetType string | BackupPolicy Type 
- Describes the target backup policy type of the backup policy migration.
- startTime String
- Time at which the backup policy migration started (ISO-8601 format).
- status
String | BackupPolicy Migration Status 
- Describes the status of migration between backup policy types.
- targetType String | BackupPolicy Type 
- Describes the target backup policy type of the backup policy migration.
- startTime string
- Time at which the backup policy migration started (ISO-8601 format).
- status
string | BackupPolicy Migration Status 
- Describes the status of migration between backup policy types.
- targetType string | BackupPolicy Type 
- Describes the target backup policy type of the backup policy migration.
- start_time str
- Time at which the backup policy migration started (ISO-8601 format).
- status
str | BackupPolicy Migration Status 
- Describes the status of migration between backup policy types.
- target_type str | BackupPolicy Type 
- Describes the target backup policy type of the backup policy migration.
- startTime String
- Time at which the backup policy migration started (ISO-8601 format).
- status
String | "Invalid" | "InProgress" | "Completed" | "Failed" 
- Describes the status of migration between backup policy types.
- targetType String | "Periodic" | "Continuous"
- Describes the target backup policy type of the backup policy migration.
BackupPolicyMigrationStateResponse, BackupPolicyMigrationStateResponseArgs          
- StartTime string
- Time at which the backup policy migration started (ISO-8601 format).
- Status string
- Describes the status of migration between backup policy types.
- TargetType string
- Describes the target backup policy type of the backup policy migration.
- StartTime string
- Time at which the backup policy migration started (ISO-8601 format).
- Status string
- Describes the status of migration between backup policy types.
- TargetType string
- Describes the target backup policy type of the backup policy migration.
- startTime String
- Time at which the backup policy migration started (ISO-8601 format).
- status String
- Describes the status of migration between backup policy types.
- targetType String
- Describes the target backup policy type of the backup policy migration.
- startTime string
- Time at which the backup policy migration started (ISO-8601 format).
- status string
- Describes the status of migration between backup policy types.
- targetType string
- Describes the target backup policy type of the backup policy migration.
- start_time str
- Time at which the backup policy migration started (ISO-8601 format).
- status str
- Describes the status of migration between backup policy types.
- target_type str
- Describes the target backup policy type of the backup policy migration.
- startTime String
- Time at which the backup policy migration started (ISO-8601 format).
- status String
- Describes the status of migration between backup policy types.
- targetType String
- Describes the target backup policy type of the backup policy migration.
BackupPolicyMigrationStatus, BackupPolicyMigrationStatusArgs        
- Invalid
- Invalid
- InProgress 
- InProgress
- Completed
- Completed
- Failed
- Failed
- BackupPolicy Migration Status Invalid 
- Invalid
- BackupPolicy Migration Status In Progress 
- InProgress
- BackupPolicy Migration Status Completed 
- Completed
- BackupPolicy Migration Status Failed 
- Failed
- Invalid
- Invalid
- InProgress 
- InProgress
- Completed
- Completed
- Failed
- Failed
- Invalid
- Invalid
- InProgress 
- InProgress
- Completed
- Completed
- Failed
- Failed
- INVALID
- Invalid
- IN_PROGRESS
- InProgress
- COMPLETED
- Completed
- FAILED
- Failed
- "Invalid"
- Invalid
- "InProgress" 
- InProgress
- "Completed"
- Completed
- "Failed"
- Failed
BackupPolicyType, BackupPolicyTypeArgs      
- Periodic
- Periodic
- Continuous
- Continuous
- BackupPolicy Type Periodic 
- Periodic
- BackupPolicy Type Continuous 
- Continuous
- Periodic
- Periodic
- Continuous
- Continuous
- Periodic
- Periodic
- Continuous
- Continuous
- PERIODIC
- Periodic
- CONTINUOUS
- Continuous
- "Periodic"
- Periodic
- "Continuous"
- Continuous
BackupStorageRedundancy, BackupStorageRedundancyArgs      
- Geo
- Geo
- Local
- Local
- Zone
- Zone
- BackupStorage Redundancy Geo 
- Geo
- BackupStorage Redundancy Local 
- Local
- BackupStorage Redundancy Zone 
- Zone
- Geo
- Geo
- Local
- Local
- Zone
- Zone
- Geo
- Geo
- Local
- Local
- Zone
- Zone
- GEO
- Geo
- LOCAL
- Local
- ZONE
- Zone
- "Geo"
- Geo
- "Local"
- Local
- "Zone"
- Zone
Capability, CapabilityArgs  
- Name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- Name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name String
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name str
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name String
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
CapabilityResponse, CapabilityResponseArgs    
- Name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- Name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name String
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name str
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name String
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
Capacity, CapacityArgs  
- TotalThroughput intLimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
- TotalThroughput intLimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
- totalThroughput IntegerLimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
- totalThroughput numberLimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
- total_throughput_ intlimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
- totalThroughput NumberLimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
CapacityResponse, CapacityResponseArgs    
- TotalThroughput intLimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
- TotalThroughput intLimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
- totalThroughput IntegerLimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
- totalThroughput numberLimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
- total_throughput_ intlimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
- totalThroughput NumberLimit 
- The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
ConnectorOffer, ConnectorOfferArgs    
- Small
- Small
- ConnectorOffer Small 
- Small
- Small
- Small
- Small
- Small
- SMALL
- Small
- "Small"
- Small
ConsistencyPolicy, ConsistencyPolicyArgs    
- DefaultConsistency Pulumi.Level Azure Native. Document DB. Default Consistency Level 
- The default consistency level and configuration settings of the Cosmos DB account.
- MaxInterval intIn Seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- MaxStaleness doublePrefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- DefaultConsistency DefaultLevel Consistency Level 
- The default consistency level and configuration settings of the Cosmos DB account.
- MaxInterval intIn Seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- MaxStaleness float64Prefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- defaultConsistency DefaultLevel Consistency Level 
- The default consistency level and configuration settings of the Cosmos DB account.
- maxInterval IntegerIn Seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- maxStaleness DoublePrefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- defaultConsistency DefaultLevel Consistency Level 
- The default consistency level and configuration settings of the Cosmos DB account.
- maxInterval numberIn Seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- maxStaleness numberPrefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- default_consistency_ Defaultlevel Consistency Level 
- The default consistency level and configuration settings of the Cosmos DB account.
- max_interval_ intin_ seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- max_staleness_ floatprefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- defaultConsistency "Eventual" | "Session" | "BoundedLevel Staleness" | "Strong" | "Consistent Prefix" 
- The default consistency level and configuration settings of the Cosmos DB account.
- maxInterval NumberIn Seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- maxStaleness NumberPrefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
ConsistencyPolicyResponse, ConsistencyPolicyResponseArgs      
- DefaultConsistency stringLevel 
- The default consistency level and configuration settings of the Cosmos DB account.
- MaxInterval intIn Seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- MaxStaleness doublePrefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- DefaultConsistency stringLevel 
- The default consistency level and configuration settings of the Cosmos DB account.
- MaxInterval intIn Seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- MaxStaleness float64Prefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- defaultConsistency StringLevel 
- The default consistency level and configuration settings of the Cosmos DB account.
- maxInterval IntegerIn Seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- maxStaleness DoublePrefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- defaultConsistency stringLevel 
- The default consistency level and configuration settings of the Cosmos DB account.
- maxInterval numberIn Seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- maxStaleness numberPrefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- default_consistency_ strlevel 
- The default consistency level and configuration settings of the Cosmos DB account.
- max_interval_ intin_ seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- max_staleness_ floatprefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- defaultConsistency StringLevel 
- The default consistency level and configuration settings of the Cosmos DB account.
- maxInterval NumberIn Seconds 
- When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- maxStaleness NumberPrefix 
- When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
ContinuousModeBackupPolicy, ContinuousModeBackupPolicyArgs        
- ContinuousMode Pulumi.Properties Azure Native. Document DB. Inputs. Continuous Mode Properties 
- Configuration values for continuous mode backup
- MigrationState Pulumi.Azure Native. Document DB. Inputs. Backup Policy Migration State 
- The object representing the state of the migration between the backup policies.
- ContinuousMode ContinuousProperties Mode Properties 
- Configuration values for continuous mode backup
- MigrationState BackupPolicy Migration State 
- The object representing the state of the migration between the backup policies.
- continuousMode ContinuousProperties Mode Properties 
- Configuration values for continuous mode backup
- migrationState BackupPolicy Migration State 
- The object representing the state of the migration between the backup policies.
- continuousMode ContinuousProperties Mode Properties 
- Configuration values for continuous mode backup
- migrationState BackupPolicy Migration State 
- The object representing the state of the migration between the backup policies.
- continuous_mode_ Continuousproperties Mode Properties 
- Configuration values for continuous mode backup
- migration_state BackupPolicy Migration State 
- The object representing the state of the migration between the backup policies.
- continuousMode Property MapProperties 
- Configuration values for continuous mode backup
- migrationState Property Map
- The object representing the state of the migration between the backup policies.
ContinuousModeBackupPolicyResponse, ContinuousModeBackupPolicyResponseArgs          
- ContinuousMode Pulumi.Properties Azure Native. Document DB. Inputs. Continuous Mode Properties Response 
- Configuration values for continuous mode backup
- MigrationState Pulumi.Azure Native. Document DB. Inputs. Backup Policy Migration State Response 
- The object representing the state of the migration between the backup policies.
- ContinuousMode ContinuousProperties Mode Properties Response 
- Configuration values for continuous mode backup
- MigrationState BackupPolicy Migration State Response 
- The object representing the state of the migration between the backup policies.
- continuousMode ContinuousProperties Mode Properties Response 
- Configuration values for continuous mode backup
- migrationState BackupPolicy Migration State Response 
- The object representing the state of the migration between the backup policies.
- continuousMode ContinuousProperties Mode Properties Response 
- Configuration values for continuous mode backup
- migrationState BackupPolicy Migration State Response 
- The object representing the state of the migration between the backup policies.
- continuous_mode_ Continuousproperties Mode Properties Response 
- Configuration values for continuous mode backup
- migration_state BackupPolicy Migration State Response 
- The object representing the state of the migration between the backup policies.
- continuousMode Property MapProperties 
- Configuration values for continuous mode backup
- migrationState Property Map
- The object representing the state of the migration between the backup policies.
ContinuousModeProperties, ContinuousModePropertiesArgs      
- Tier
string | Pulumi.Azure Native. Document DB. Continuous Tier 
- Enum to indicate type of Continuous backup mode
- Tier
string | ContinuousTier 
- Enum to indicate type of Continuous backup mode
- tier
String | ContinuousTier 
- Enum to indicate type of Continuous backup mode
- tier
string | ContinuousTier 
- Enum to indicate type of Continuous backup mode
- tier
str | ContinuousTier 
- Enum to indicate type of Continuous backup mode
- tier String | "Continuous7Days" | "Continuous30Days"
- Enum to indicate type of Continuous backup mode
ContinuousModePropertiesResponse, ContinuousModePropertiesResponseArgs        
- Tier string
- Enum to indicate type of Continuous backup mode
- Tier string
- Enum to indicate type of Continuous backup mode
- tier String
- Enum to indicate type of Continuous backup mode
- tier string
- Enum to indicate type of Continuous backup mode
- tier str
- Enum to indicate type of Continuous backup mode
- tier String
- Enum to indicate type of Continuous backup mode
ContinuousTier, ContinuousTierArgs    
- Continuous7Days
- Continuous7Days
- Continuous30Days
- Continuous30Days
- ContinuousTier Continuous7Days 
- Continuous7Days
- ContinuousTier Continuous30Days 
- Continuous30Days
- Continuous7Days
- Continuous7Days
- Continuous30Days
- Continuous30Days
- Continuous7Days
- Continuous7Days
- Continuous30Days
- Continuous30Days
- CONTINUOUS7_DAYS
- Continuous7Days
- CONTINUOUS30_DAYS
- Continuous30Days
- "Continuous7Days"
- Continuous7Days
- "Continuous30Days"
- Continuous30Days
CorsPolicy, CorsPolicyArgs    
- AllowedOrigins string
- The origin domains that are permitted to make a request against the service via CORS.
- AllowedHeaders string
- The request headers that the origin domain may specify on the CORS request.
- AllowedMethods string
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- ExposedHeaders string
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- MaxAge doubleIn Seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
- AllowedOrigins string
- The origin domains that are permitted to make a request against the service via CORS.
- AllowedHeaders string
- The request headers that the origin domain may specify on the CORS request.
- AllowedMethods string
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- ExposedHeaders string
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- MaxAge float64In Seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowedOrigins String
- The origin domains that are permitted to make a request against the service via CORS.
- allowedHeaders String
- The request headers that the origin domain may specify on the CORS request.
- allowedMethods String
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposedHeaders String
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- maxAge DoubleIn Seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowedOrigins string
- The origin domains that are permitted to make a request against the service via CORS.
- allowedHeaders string
- The request headers that the origin domain may specify on the CORS request.
- allowedMethods string
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposedHeaders string
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- maxAge numberIn Seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowed_origins str
- The origin domains that are permitted to make a request against the service via CORS.
- allowed_headers str
- The request headers that the origin domain may specify on the CORS request.
- allowed_methods str
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposed_headers str
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- max_age_ floatin_ seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowedOrigins String
- The origin domains that are permitted to make a request against the service via CORS.
- allowedHeaders String
- The request headers that the origin domain may specify on the CORS request.
- allowedMethods String
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposedHeaders String
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- maxAge NumberIn Seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
CorsPolicyResponse, CorsPolicyResponseArgs      
- AllowedOrigins string
- The origin domains that are permitted to make a request against the service via CORS.
- AllowedHeaders string
- The request headers that the origin domain may specify on the CORS request.
- AllowedMethods string
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- ExposedHeaders string
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- MaxAge doubleIn Seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
- AllowedOrigins string
- The origin domains that are permitted to make a request against the service via CORS.
- AllowedHeaders string
- The request headers that the origin domain may specify on the CORS request.
- AllowedMethods string
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- ExposedHeaders string
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- MaxAge float64In Seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowedOrigins String
- The origin domains that are permitted to make a request against the service via CORS.
- allowedHeaders String
- The request headers that the origin domain may specify on the CORS request.
- allowedMethods String
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposedHeaders String
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- maxAge DoubleIn Seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowedOrigins string
- The origin domains that are permitted to make a request against the service via CORS.
- allowedHeaders string
- The request headers that the origin domain may specify on the CORS request.
- allowedMethods string
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposedHeaders string
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- maxAge numberIn Seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowed_origins str
- The origin domains that are permitted to make a request against the service via CORS.
- allowed_headers str
- The request headers that the origin domain may specify on the CORS request.
- allowed_methods str
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposed_headers str
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- max_age_ floatin_ seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowedOrigins String
- The origin domains that are permitted to make a request against the service via CORS.
- allowedHeaders String
- The request headers that the origin domain may specify on the CORS request.
- allowedMethods String
- The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposedHeaders String
- The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- maxAge NumberIn Seconds 
- The maximum amount time that a browser should cache the preflight OPTIONS request.
CreateMode, CreateModeArgs    
- Default
- Default
- PointIn Time Restore 
- PointInTimeRestore
- CreateMode Default 
- Default
- CreateMode Point In Time Restore 
- PointInTimeRestore
- Default
- Default
- PointIn Time Restore 
- PointInTimeRestore
- Default
- Default
- PointIn Time Restore 
- PointInTimeRestore
- DEFAULT
- Default
- POINT_IN_TIME_RESTORE
- PointInTimeRestore
- "Default"
- Default
- "PointIn Time Restore" 
- PointInTimeRestore
DatabaseAccountKeysMetadataResponse, DatabaseAccountKeysMetadataResponseArgs          
- PrimaryMaster Pulumi.Key Azure Native. Document DB. Inputs. Account Key Metadata Response 
- The metadata related to the Primary Read-Write Key for the given Cosmos DB database account.
- PrimaryReadonly Pulumi.Master Key Azure Native. Document DB. Inputs. Account Key Metadata Response 
- The metadata related to the Primary Read-Only Key for the given Cosmos DB database account.
- SecondaryMaster Pulumi.Key Azure Native. Document DB. Inputs. Account Key Metadata Response 
- The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account.
- SecondaryReadonly Pulumi.Master Key Azure Native. Document DB. Inputs. Account Key Metadata Response 
- The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account.
- PrimaryMaster AccountKey Key Metadata Response 
- The metadata related to the Primary Read-Write Key for the given Cosmos DB database account.
- PrimaryReadonly AccountMaster Key Key Metadata Response 
- The metadata related to the Primary Read-Only Key for the given Cosmos DB database account.
- SecondaryMaster AccountKey Key Metadata Response 
- The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account.
- SecondaryReadonly AccountMaster Key Key Metadata Response 
- The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account.
- primaryMaster AccountKey Key Metadata Response 
- The metadata related to the Primary Read-Write Key for the given Cosmos DB database account.
- primaryReadonly AccountMaster Key Key Metadata Response 
- The metadata related to the Primary Read-Only Key for the given Cosmos DB database account.
- secondaryMaster AccountKey Key Metadata Response 
- The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account.
- secondaryReadonly AccountMaster Key Key Metadata Response 
- The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account.
- primaryMaster AccountKey Key Metadata Response 
- The metadata related to the Primary Read-Write Key for the given Cosmos DB database account.
- primaryReadonly AccountMaster Key Key Metadata Response 
- The metadata related to the Primary Read-Only Key for the given Cosmos DB database account.
- secondaryMaster AccountKey Key Metadata Response 
- The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account.
- secondaryReadonly AccountMaster Key Key Metadata Response 
- The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account.
- primary_master_ Accountkey Key Metadata Response 
- The metadata related to the Primary Read-Write Key for the given Cosmos DB database account.
- primary_readonly_ Accountmaster_ key Key Metadata Response 
- The metadata related to the Primary Read-Only Key for the given Cosmos DB database account.
- secondary_master_ Accountkey Key Metadata Response 
- The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account.
- secondary_readonly_ Accountmaster_ key Key Metadata Response 
- The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account.
- primaryMaster Property MapKey 
- The metadata related to the Primary Read-Write Key for the given Cosmos DB database account.
- primaryReadonly Property MapMaster Key 
- The metadata related to the Primary Read-Only Key for the given Cosmos DB database account.
- secondaryMaster Property MapKey 
- The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account.
- secondaryReadonly Property MapMaster Key 
- The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account.
DatabaseAccountKind, DatabaseAccountKindArgs      
- GlobalDocument DB 
- GlobalDocumentDB
- MongoDB 
- MongoDB
- Parse
- Parse
- DatabaseAccount Kind Global Document DB 
- GlobalDocumentDB
- DatabaseAccount Kind Mongo DB 
- MongoDB
- DatabaseAccount Kind Parse 
- Parse
- GlobalDocument DB 
- GlobalDocumentDB
- MongoDB 
- MongoDB
- Parse
- Parse
- GlobalDocument DB 
- GlobalDocumentDB
- MongoDB 
- MongoDB
- Parse
- Parse
- GLOBAL_DOCUMENT_DB
- GlobalDocumentDB
- MONGO_DB
- MongoDB
- PARSE
- Parse
- "GlobalDocument DB" 
- GlobalDocumentDB
- "MongoDB" 
- MongoDB
- "Parse"
- Parse
DatabaseAccountOfferType, DatabaseAccountOfferTypeArgs        
- Standard
- Standard
- DatabaseAccount Offer Type Standard 
- Standard
- Standard
- Standard
- Standard
- Standard
- STANDARD
- Standard
- "Standard"
- Standard
DatabaseRestoreResource, DatabaseRestoreResourceArgs      
- CollectionNames List<string>
- The names of the collections available for restore.
- DatabaseName string
- The name of the database available for restore.
- CollectionNames []string
- The names of the collections available for restore.
- DatabaseName string
- The name of the database available for restore.
- collectionNames List<String>
- The names of the collections available for restore.
- databaseName String
- The name of the database available for restore.
- collectionNames string[]
- The names of the collections available for restore.
- databaseName string
- The name of the database available for restore.
- collection_names Sequence[str]
- The names of the collections available for restore.
- database_name str
- The name of the database available for restore.
- collectionNames List<String>
- The names of the collections available for restore.
- databaseName String
- The name of the database available for restore.
DatabaseRestoreResourceResponse, DatabaseRestoreResourceResponseArgs        
- CollectionNames List<string>
- The names of the collections available for restore.
- DatabaseName string
- The name of the database available for restore.
- CollectionNames []string
- The names of the collections available for restore.
- DatabaseName string
- The name of the database available for restore.
- collectionNames List<String>
- The names of the collections available for restore.
- databaseName String
- The name of the database available for restore.
- collectionNames string[]
- The names of the collections available for restore.
- databaseName string
- The name of the database available for restore.
- collection_names Sequence[str]
- The names of the collections available for restore.
- database_name str
- The name of the database available for restore.
- collectionNames List<String>
- The names of the collections available for restore.
- databaseName String
- The name of the database available for restore.
DefaultConsistencyLevel, DefaultConsistencyLevelArgs      
- Eventual
- Eventual
- Session
- Session
- BoundedStaleness 
- BoundedStaleness
- Strong
- Strong
- ConsistentPrefix 
- ConsistentPrefix
- DefaultConsistency Level Eventual 
- Eventual
- DefaultConsistency Level Session 
- Session
- DefaultConsistency Level Bounded Staleness 
- BoundedStaleness
- DefaultConsistency Level Strong 
- Strong
- DefaultConsistency Level Consistent Prefix 
- ConsistentPrefix
- Eventual
- Eventual
- Session
- Session
- BoundedStaleness 
- BoundedStaleness
- Strong
- Strong
- ConsistentPrefix 
- ConsistentPrefix
- Eventual
- Eventual
- Session
- Session
- BoundedStaleness 
- BoundedStaleness
- Strong
- Strong
- ConsistentPrefix 
- ConsistentPrefix
- EVENTUAL
- Eventual
- SESSION
- Session
- BOUNDED_STALENESS
- BoundedStaleness
- STRONG
- Strong
- CONSISTENT_PREFIX
- ConsistentPrefix
- "Eventual"
- Eventual
- "Session"
- Session
- "BoundedStaleness" 
- BoundedStaleness
- "Strong"
- Strong
- "ConsistentPrefix" 
- ConsistentPrefix
FailoverPolicyResponse, FailoverPolicyResponseArgs      
- Id string
- The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>.
- FailoverPriority int
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- LocationName string
- The name of the region in which the database account exists.
- Id string
- The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>.
- FailoverPriority int
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- LocationName string
- The name of the region in which the database account exists.
- id String
- The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>.
- failoverPriority Integer
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- locationName String
- The name of the region in which the database account exists.
- id string
- The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>.
- failoverPriority number
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- locationName string
- The name of the region in which the database account exists.
- id str
- The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>.
- failover_priority int
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- location_name str
- The name of the region in which the database account exists.
- id String
- The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>.
- failoverPriority Number
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- locationName String
- The name of the region in which the database account exists.
GremlinDatabaseRestoreResource, GremlinDatabaseRestoreResourceArgs        
- DatabaseName string
- The name of the gremlin database available for restore.
- GraphNames List<string>
- The names of the graphs available for restore.
- DatabaseName string
- The name of the gremlin database available for restore.
- GraphNames []string
- The names of the graphs available for restore.
- databaseName String
- The name of the gremlin database available for restore.
- graphNames List<String>
- The names of the graphs available for restore.
- databaseName string
- The name of the gremlin database available for restore.
- graphNames string[]
- The names of the graphs available for restore.
- database_name str
- The name of the gremlin database available for restore.
- graph_names Sequence[str]
- The names of the graphs available for restore.
- databaseName String
- The name of the gremlin database available for restore.
- graphNames List<String>
- The names of the graphs available for restore.
GremlinDatabaseRestoreResourceResponse, GremlinDatabaseRestoreResourceResponseArgs          
- DatabaseName string
- The name of the gremlin database available for restore.
- GraphNames List<string>
- The names of the graphs available for restore.
- DatabaseName string
- The name of the gremlin database available for restore.
- GraphNames []string
- The names of the graphs available for restore.
- databaseName String
- The name of the gremlin database available for restore.
- graphNames List<String>
- The names of the graphs available for restore.
- databaseName string
- The name of the gremlin database available for restore.
- graphNames string[]
- The names of the graphs available for restore.
- database_name str
- The name of the gremlin database available for restore.
- graph_names Sequence[str]
- The names of the graphs available for restore.
- databaseName String
- The name of the gremlin database available for restore.
- graphNames List<String>
- The names of the graphs available for restore.
IpAddressOrRange, IpAddressOrRangeArgs        
- IpAddress stringOr Range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- IpAddress stringOr Range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ipAddress StringOr Range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ipAddress stringOr Range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ip_address_ stror_ range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ipAddress StringOr Range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
IpAddressOrRangeResponse, IpAddressOrRangeResponseArgs          
- IpAddress stringOr Range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- IpAddress stringOr Range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ipAddress StringOr Range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ipAddress stringOr Range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ip_address_ stror_ range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ipAddress StringOr Range 
- A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
Location, LocationArgs  
- FailoverPriority int
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- IsZone boolRedundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- LocationName string
- The name of the region.
- FailoverPriority int
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- IsZone boolRedundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- LocationName string
- The name of the region.
- failoverPriority Integer
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- isZone BooleanRedundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- locationName String
- The name of the region.
- failoverPriority number
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- isZone booleanRedundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- locationName string
- The name of the region.
- failover_priority int
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- is_zone_ boolredundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- location_name str
- The name of the region.
- failoverPriority Number
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- isZone BooleanRedundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- locationName String
- The name of the region.
LocationResponse, LocationResponseArgs    
- DocumentEndpoint string
- The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/
- Id string
- The unique identifier of the region within the database account. Example: <accountName>-<locationName>.
- ProvisioningState string
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- FailoverPriority int
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- IsZone boolRedundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- LocationName string
- The name of the region.
- DocumentEndpoint string
- The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/
- Id string
- The unique identifier of the region within the database account. Example: <accountName>-<locationName>.
- ProvisioningState string
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- FailoverPriority int
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- IsZone boolRedundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- LocationName string
- The name of the region.
- documentEndpoint String
- The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/
- id String
- The unique identifier of the region within the database account. Example: <accountName>-<locationName>.
- provisioningState String
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- failoverPriority Integer
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- isZone BooleanRedundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- locationName String
- The name of the region.
- documentEndpoint string
- The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/
- id string
- The unique identifier of the region within the database account. Example: <accountName>-<locationName>.
- provisioningState string
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- failoverPriority number
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- isZone booleanRedundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- locationName string
- The name of the region.
- document_endpoint str
- The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/
- id str
- The unique identifier of the region within the database account. Example: <accountName>-<locationName>.
- provisioning_state str
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- failover_priority int
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- is_zone_ boolredundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- location_name str
- The name of the region.
- documentEndpoint String
- The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/
- id String
- The unique identifier of the region within the database account. Example: <accountName>-<locationName>.
- provisioningState String
- The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- failoverPriority Number
- The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- isZone BooleanRedundant 
- Flag to indicate whether or not this region is an AvailabilityZone region
- locationName String
- The name of the region.
ManagedServiceIdentity, ManagedServiceIdentityArgs      
- Type
Pulumi.Azure Native. Document DB. Resource Identity Type 
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- UserAssigned List<string>Identities 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- Type
ResourceIdentity Type 
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- UserAssigned []stringIdentities 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
ResourceIdentity Type 
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- userAssigned List<String>Identities 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
ResourceIdentity Type 
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- userAssigned string[]Identities 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
ResourceIdentity Type 
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- user_assigned_ Sequence[str]identities 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
"SystemAssigned" | "User Assigned" | "System Assigned,User Assigned" | "None" 
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- userAssigned List<String>Identities 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs        
- PrincipalId string
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- TenantId string
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Document DB. Inputs. Managed Service Identity Response User Assigned Identities> 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- PrincipalId string
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- TenantId string
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- UserAssigned map[string]ManagedIdentities Service Identity Response User Assigned Identities 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId String
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenantId String
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- userAssigned Map<String,ManagedIdentities Service Identity Response User Assigned Identities> 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId string
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenantId string
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- userAssigned {[key: string]: ManagedIdentities Service Identity Response User Assigned Identities} 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal_id str
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_id str
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- user_assigned_ Mapping[str, Managedidentities Service Identity Response User Assigned Identities] 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId String
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenantId String
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- userAssigned Map<Property Map>Identities 
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ManagedServiceIdentityResponseUserAssignedIdentities, ManagedServiceIdentityResponseUserAssignedIdentitiesArgs              
- ClientId string
- The client id of user assigned identity.
- PrincipalId string
- The principal id of user assigned identity.
- ClientId string
- The client id of user assigned identity.
- PrincipalId string
- The principal id of user assigned identity.
- clientId String
- The client id of user assigned identity.
- principalId String
- The principal id of user assigned identity.
- clientId string
- The client id of user assigned identity.
- principalId string
- The principal id of user assigned identity.
- client_id str
- The client id of user assigned identity.
- principal_id str
- The principal id of user assigned identity.
- clientId String
- The client id of user assigned identity.
- principalId String
- The principal id of user assigned identity.
MinimalTlsVersion, MinimalTlsVersionArgs      
- Tls
- Tls
- Tls11
- Tls11
- Tls12
- Tls12
- MinimalTls Version Tls 
- Tls
- MinimalTls Version Tls11 
- Tls11
- MinimalTls Version Tls12 
- Tls12
- Tls
- Tls
- Tls11
- Tls11
- Tls12
- Tls12
- Tls
- Tls
- Tls11
- Tls11
- Tls12
- Tls12
- TLS
- Tls
- TLS11
- Tls11
- TLS12
- Tls12
- "Tls"
- Tls
- "Tls11"
- Tls11
- "Tls12"
- Tls12
NetworkAclBypass, NetworkAclBypassArgs      
- None
- None
- AzureServices 
- AzureServices
- NetworkAcl Bypass None 
- None
- NetworkAcl Bypass Azure Services 
- AzureServices
- None
- None
- AzureServices 
- AzureServices
- None
- None
- AzureServices 
- AzureServices
- NONE
- None
- AZURE_SERVICES
- AzureServices
- "None"
- None
- "AzureServices" 
- AzureServices
PeriodicModeBackupPolicy, PeriodicModeBackupPolicyArgs        
- MigrationState Pulumi.Azure Native. Document DB. Inputs. Backup Policy Migration State 
- The object representing the state of the migration between the backup policies.
- PeriodicMode Pulumi.Properties Azure Native. Document DB. Inputs. Periodic Mode Properties 
- Configuration values for periodic mode backup
- MigrationState BackupPolicy Migration State 
- The object representing the state of the migration between the backup policies.
- PeriodicMode PeriodicProperties Mode Properties 
- Configuration values for periodic mode backup
- migrationState BackupPolicy Migration State 
- The object representing the state of the migration between the backup policies.
- periodicMode PeriodicProperties Mode Properties 
- Configuration values for periodic mode backup
- migrationState BackupPolicy Migration State 
- The object representing the state of the migration between the backup policies.
- periodicMode PeriodicProperties Mode Properties 
- Configuration values for periodic mode backup
- migration_state BackupPolicy Migration State 
- The object representing the state of the migration between the backup policies.
- periodic_mode_ Periodicproperties Mode Properties 
- Configuration values for periodic mode backup
- migrationState Property Map
- The object representing the state of the migration between the backup policies.
- periodicMode Property MapProperties 
- Configuration values for periodic mode backup
PeriodicModeBackupPolicyResponse, PeriodicModeBackupPolicyResponseArgs          
- MigrationState Pulumi.Azure Native. Document DB. Inputs. Backup Policy Migration State Response 
- The object representing the state of the migration between the backup policies.
- PeriodicMode Pulumi.Properties Azure Native. Document DB. Inputs. Periodic Mode Properties Response 
- Configuration values for periodic mode backup
- MigrationState BackupPolicy Migration State Response 
- The object representing the state of the migration between the backup policies.
- PeriodicMode PeriodicProperties Mode Properties Response 
- Configuration values for periodic mode backup
- migrationState BackupPolicy Migration State Response 
- The object representing the state of the migration between the backup policies.
- periodicMode PeriodicProperties Mode Properties Response 
- Configuration values for periodic mode backup
- migrationState BackupPolicy Migration State Response 
- The object representing the state of the migration between the backup policies.
- periodicMode PeriodicProperties Mode Properties Response 
- Configuration values for periodic mode backup
- migration_state BackupPolicy Migration State Response 
- The object representing the state of the migration between the backup policies.
- periodic_mode_ Periodicproperties Mode Properties Response 
- Configuration values for periodic mode backup
- migrationState Property Map
- The object representing the state of the migration between the backup policies.
- periodicMode Property MapProperties 
- Configuration values for periodic mode backup
PeriodicModeProperties, PeriodicModePropertiesArgs      
- BackupInterval intIn Minutes 
- An integer representing the interval in minutes between two backups
- BackupRetention intInterval In Hours 
- An integer representing the time (in hours) that each backup is retained
- BackupStorage string | Pulumi.Redundancy Azure Native. Document DB. Backup Storage Redundancy 
- Enum to indicate type of backup residency
- BackupInterval intIn Minutes 
- An integer representing the interval in minutes between two backups
- BackupRetention intInterval In Hours 
- An integer representing the time (in hours) that each backup is retained
- BackupStorage string | BackupRedundancy Storage Redundancy 
- Enum to indicate type of backup residency
- backupInterval IntegerIn Minutes 
- An integer representing the interval in minutes between two backups
- backupRetention IntegerInterval In Hours 
- An integer representing the time (in hours) that each backup is retained
- backupStorage String | BackupRedundancy Storage Redundancy 
- Enum to indicate type of backup residency
- backupInterval numberIn Minutes 
- An integer representing the interval in minutes between two backups
- backupRetention numberInterval In Hours 
- An integer representing the time (in hours) that each backup is retained
- backupStorage string | BackupRedundancy Storage Redundancy 
- Enum to indicate type of backup residency
- backup_interval_ intin_ minutes 
- An integer representing the interval in minutes between two backups
- backup_retention_ intinterval_ in_ hours 
- An integer representing the time (in hours) that each backup is retained
- backup_storage_ str | Backupredundancy Storage Redundancy 
- Enum to indicate type of backup residency
- backupInterval NumberIn Minutes 
- An integer representing the interval in minutes between two backups
- backupRetention NumberInterval In Hours 
- An integer representing the time (in hours) that each backup is retained
- backupStorage String | "Geo" | "Local" | "Zone"Redundancy 
- Enum to indicate type of backup residency
PeriodicModePropertiesResponse, PeriodicModePropertiesResponseArgs        
- BackupInterval intIn Minutes 
- An integer representing the interval in minutes between two backups
- BackupRetention intInterval In Hours 
- An integer representing the time (in hours) that each backup is retained
- BackupStorage stringRedundancy 
- Enum to indicate type of backup residency
- BackupInterval intIn Minutes 
- An integer representing the interval in minutes between two backups
- BackupRetention intInterval In Hours 
- An integer representing the time (in hours) that each backup is retained
- BackupStorage stringRedundancy 
- Enum to indicate type of backup residency
- backupInterval IntegerIn Minutes 
- An integer representing the interval in minutes between two backups
- backupRetention IntegerInterval In Hours 
- An integer representing the time (in hours) that each backup is retained
- backupStorage StringRedundancy 
- Enum to indicate type of backup residency
- backupInterval numberIn Minutes 
- An integer representing the interval in minutes between two backups
- backupRetention numberInterval In Hours 
- An integer representing the time (in hours) that each backup is retained
- backupStorage stringRedundancy 
- Enum to indicate type of backup residency
- backup_interval_ intin_ minutes 
- An integer representing the interval in minutes between two backups
- backup_retention_ intinterval_ in_ hours 
- An integer representing the time (in hours) that each backup is retained
- backup_storage_ strredundancy 
- Enum to indicate type of backup residency
- backupInterval NumberIn Minutes 
- An integer representing the interval in minutes between two backups
- backupRetention NumberInterval In Hours 
- An integer representing the time (in hours) that each backup is retained
- backupStorage StringRedundancy 
- Enum to indicate type of backup residency
PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs        
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- GroupId string
- Group id of the private endpoint.
- PrivateEndpoint Pulumi.Azure Native. Document DB. Inputs. Private Endpoint Property Response 
- Private endpoint which the connection belongs to.
- PrivateLink Pulumi.Service Connection State Azure Native. Document DB. Inputs. Private Link Service Connection State Property Response 
- Connection State of the Private Endpoint Connection.
- ProvisioningState string
- Provisioning state of the private endpoint.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- GroupId string
- Group id of the private endpoint.
- PrivateEndpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- PrivateLink PrivateService Connection State Link Service Connection State Property Response 
- Connection State of the Private Endpoint Connection.
- ProvisioningState string
- Provisioning state of the private endpoint.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- groupId String
- Group id of the private endpoint.
- privateEndpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- privateLink PrivateService Connection State Link Service Connection State Property Response 
- Connection State of the Private Endpoint Connection.
- provisioningState String
- Provisioning state of the private endpoint.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- groupId string
- Group id of the private endpoint.
- privateEndpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- privateLink PrivateService Connection State Link Service Connection State Property Response 
- Connection State of the Private Endpoint Connection.
- provisioningState string
- Provisioning state of the private endpoint.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- group_id str
- Group id of the private endpoint.
- private_endpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- private_link_ Privateservice_ connection_ state Link Service Connection State Property Response 
- Connection State of the Private Endpoint Connection.
- provisioning_state str
- Provisioning state of the private endpoint.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- groupId String
- Group id of the private endpoint.
- privateEndpoint Property Map
- Private endpoint which the connection belongs to.
- privateLink Property MapService Connection State 
- Connection State of the Private Endpoint Connection.
- provisioningState String
- Provisioning state of the private endpoint.
PrivateEndpointPropertyResponse, PrivateEndpointPropertyResponseArgs        
- Id string
- Resource id of the private endpoint.
- Id string
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
- id string
- Resource id of the private endpoint.
- id str
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
PrivateLinkServiceConnectionStatePropertyResponse, PrivateLinkServiceConnectionStatePropertyResponseArgs              
- ActionsRequired string
- Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- Description string
- The private link service connection description.
- Status string
- The private link service connection status.
- ActionsRequired string
- Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- Description string
- The private link service connection description.
- Status string
- The private link service connection status.
- actionsRequired String
- Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- description String
- The private link service connection description.
- status String
- The private link service connection status.
- actionsRequired string
- Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- description string
- The private link service connection description.
- status string
- The private link service connection status.
- actions_required str
- Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- description str
- The private link service connection description.
- status str
- The private link service connection status.
- actionsRequired String
- Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- description String
- The private link service connection description.
- status String
- The private link service connection status.
PublicNetworkAccess, PublicNetworkAccessArgs      
- Enabled
- Enabled
- Disabled
- Disabled
- SecuredBy Perimeter 
- SecuredByPerimeter
- PublicNetwork Access Enabled 
- Enabled
- PublicNetwork Access Disabled 
- Disabled
- PublicNetwork Access Secured By Perimeter 
- SecuredByPerimeter
- Enabled
- Enabled
- Disabled
- Disabled
- SecuredBy Perimeter 
- SecuredByPerimeter
- Enabled
- Enabled
- Disabled
- Disabled
- SecuredBy Perimeter 
- SecuredByPerimeter
- ENABLED
- Enabled
- DISABLED
- Disabled
- SECURED_BY_PERIMETER
- SecuredByPerimeter
- "Enabled"
- Enabled
- "Disabled"
- Disabled
- "SecuredBy Perimeter" 
- SecuredByPerimeter
ResourceIdentityType, ResourceIdentityTypeArgs      
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- SystemAssigned_User Assigned 
- SystemAssigned,UserAssigned
- None
- None
- ResourceIdentity Type System Assigned 
- SystemAssigned
- ResourceIdentity Type User Assigned 
- UserAssigned
- ResourceIdentity Type_System Assigned_User Assigned 
- SystemAssigned,UserAssigned
- ResourceIdentity Type None 
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- SystemAssigned_User Assigned 
- SystemAssigned,UserAssigned
- None
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- SystemAssigned_User Assigned 
- SystemAssigned,UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- NONE
- None
- "SystemAssigned" 
- SystemAssigned
- "UserAssigned" 
- UserAssigned
- "SystemAssigned,User Assigned" 
- SystemAssigned,UserAssigned
- "None"
- None
RestoreMode, RestoreModeArgs    
- PointIn Time 
- PointInTime
- RestoreMode Point In Time 
- PointInTime
- PointIn Time 
- PointInTime
- PointIn Time 
- PointInTime
- POINT_IN_TIME
- PointInTime
- "PointIn Time" 
- PointInTime
RestoreParameters, RestoreParametersArgs    
- DatabasesTo List<Pulumi.Restore Azure Native. Document DB. Inputs. Database Restore Resource> 
- List of specific databases available for restore.
- GremlinDatabases List<Pulumi.To Restore Azure Native. Document DB. Inputs. Gremlin Database Restore Resource> 
- List of specific gremlin databases available for restore.
- RestoreMode string | Pulumi.Azure Native. Document DB. Restore Mode 
- Describes the mode of the restore.
- RestoreSource string
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- RestoreTimestamp stringIn Utc 
- Time to which the account has to be restored (ISO-8601 format).
- TablesTo List<string>Restore 
- List of specific tables available for restore.
- DatabasesTo []DatabaseRestore Restore Resource 
- List of specific databases available for restore.
- GremlinDatabases []GremlinTo Restore Database Restore Resource 
- List of specific gremlin databases available for restore.
- RestoreMode string | RestoreMode 
- Describes the mode of the restore.
- RestoreSource string
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- RestoreTimestamp stringIn Utc 
- Time to which the account has to be restored (ISO-8601 format).
- TablesTo []stringRestore 
- List of specific tables available for restore.
- databasesTo List<DatabaseRestore Restore Resource> 
- List of specific databases available for restore.
- gremlinDatabases List<GremlinTo Restore Database Restore Resource> 
- List of specific gremlin databases available for restore.
- restoreMode String | RestoreMode 
- Describes the mode of the restore.
- restoreSource String
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restoreTimestamp StringIn Utc 
- Time to which the account has to be restored (ISO-8601 format).
- tablesTo List<String>Restore 
- List of specific tables available for restore.
- databasesTo DatabaseRestore Restore Resource[] 
- List of specific databases available for restore.
- gremlinDatabases GremlinTo Restore Database Restore Resource[] 
- List of specific gremlin databases available for restore.
- restoreMode string | RestoreMode 
- Describes the mode of the restore.
- restoreSource string
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restoreTimestamp stringIn Utc 
- Time to which the account has to be restored (ISO-8601 format).
- tablesTo string[]Restore 
- List of specific tables available for restore.
- databases_to_ Sequence[Databaserestore Restore Resource] 
- List of specific databases available for restore.
- gremlin_databases_ Sequence[Gremlinto_ restore Database Restore Resource] 
- List of specific gremlin databases available for restore.
- restore_mode str | RestoreMode 
- Describes the mode of the restore.
- restore_source str
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restore_timestamp_ strin_ utc 
- Time to which the account has to be restored (ISO-8601 format).
- tables_to_ Sequence[str]restore 
- List of specific tables available for restore.
- databasesTo List<Property Map>Restore 
- List of specific databases available for restore.
- gremlinDatabases List<Property Map>To Restore 
- List of specific gremlin databases available for restore.
- restoreMode String | "PointIn Time" 
- Describes the mode of the restore.
- restoreSource String
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restoreTimestamp StringIn Utc 
- Time to which the account has to be restored (ISO-8601 format).
- tablesTo List<String>Restore 
- List of specific tables available for restore.
RestoreParametersResponse, RestoreParametersResponseArgs      
- DatabasesTo List<Pulumi.Restore Azure Native. Document DB. Inputs. Database Restore Resource Response> 
- List of specific databases available for restore.
- GremlinDatabases List<Pulumi.To Restore Azure Native. Document DB. Inputs. Gremlin Database Restore Resource Response> 
- List of specific gremlin databases available for restore.
- RestoreMode string
- Describes the mode of the restore.
- RestoreSource string
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- RestoreTimestamp stringIn Utc 
- Time to which the account has to be restored (ISO-8601 format).
- TablesTo List<string>Restore 
- List of specific tables available for restore.
- DatabasesTo []DatabaseRestore Restore Resource Response 
- List of specific databases available for restore.
- GremlinDatabases []GremlinTo Restore Database Restore Resource Response 
- List of specific gremlin databases available for restore.
- RestoreMode string
- Describes the mode of the restore.
- RestoreSource string
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- RestoreTimestamp stringIn Utc 
- Time to which the account has to be restored (ISO-8601 format).
- TablesTo []stringRestore 
- List of specific tables available for restore.
- databasesTo List<DatabaseRestore Restore Resource Response> 
- List of specific databases available for restore.
- gremlinDatabases List<GremlinTo Restore Database Restore Resource Response> 
- List of specific gremlin databases available for restore.
- restoreMode String
- Describes the mode of the restore.
- restoreSource String
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restoreTimestamp StringIn Utc 
- Time to which the account has to be restored (ISO-8601 format).
- tablesTo List<String>Restore 
- List of specific tables available for restore.
- databasesTo DatabaseRestore Restore Resource Response[] 
- List of specific databases available for restore.
- gremlinDatabases GremlinTo Restore Database Restore Resource Response[] 
- List of specific gremlin databases available for restore.
- restoreMode string
- Describes the mode of the restore.
- restoreSource string
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restoreTimestamp stringIn Utc 
- Time to which the account has to be restored (ISO-8601 format).
- tablesTo string[]Restore 
- List of specific tables available for restore.
- databases_to_ Sequence[Databaserestore Restore Resource Response] 
- List of specific databases available for restore.
- gremlin_databases_ Sequence[Gremlinto_ restore Database Restore Resource Response] 
- List of specific gremlin databases available for restore.
- restore_mode str
- Describes the mode of the restore.
- restore_source str
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restore_timestamp_ strin_ utc 
- Time to which the account has to be restored (ISO-8601 format).
- tables_to_ Sequence[str]restore 
- List of specific tables available for restore.
- databasesTo List<Property Map>Restore 
- List of specific databases available for restore.
- gremlinDatabases List<Property Map>To Restore 
- List of specific gremlin databases available for restore.
- restoreMode String
- Describes the mode of the restore.
- restoreSource String
- The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
- restoreTimestamp StringIn Utc 
- Time to which the account has to be restored (ISO-8601 format).
- tablesTo List<String>Restore 
- List of specific tables available for restore.
ServerVersion, ServerVersionArgs    
- ServerVersion_3_2 
- 3.2
- ServerVersion_3_6 
- 3.6
- ServerVersion_4_0 
- 4.0
- ServerVersion_4_2 
- 4.2
- ServerVersion_3_2 
- 3.2
- ServerVersion_3_6 
- 3.6
- ServerVersion_4_0 
- 4.0
- ServerVersion_4_2 
- 4.2
- _3_2
- 3.2
- _3_6
- 3.6
- _4_0
- 4.0
- _4_2
- 4.2
- ServerVersion_3_2 
- 3.2
- ServerVersion_3_6 
- 3.6
- ServerVersion_4_0 
- 4.0
- ServerVersion_4_2 
- 4.2
- SERVER_VERSION_3_2
- 3.2
- SERVER_VERSION_3_6
- 3.6
- SERVER_VERSION_4_0
- 4.0
- SERVER_VERSION_4_2
- 4.2
- "3.2"
- 3.2
- "3.6"
- 3.6
- "4.0"
- 4.0
- "4.2"
- 4.2
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
VirtualNetworkRule, VirtualNetworkRuleArgs      
- Id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- IgnoreMissing boolVNet Service Endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
- Id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- IgnoreMissing boolVNet Service Endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
- id String
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignoreMissing BooleanVNet Service Endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
- id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignoreMissing booleanVNet Service Endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
- id str
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignore_missing_ boolv_ net_ service_ endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
- id String
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignoreMissing BooleanVNet Service Endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
VirtualNetworkRuleResponse, VirtualNetworkRuleResponseArgs        
- Id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- IgnoreMissing boolVNet Service Endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
- Id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- IgnoreMissing boolVNet Service Endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
- id String
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignoreMissing BooleanVNet Service Endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
- id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignoreMissing booleanVNet Service Endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
- id str
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignore_missing_ boolv_ net_ service_ endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
- id String
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignoreMissing BooleanVNet Service Endpoint 
- Create firewall rule before the virtual network has vnet service endpoint enabled.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:documentdb:DatabaseAccount ddb1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0