1. Packages
  2. Azure Native
  3. API Docs
  4. documentdb
  5. DatabaseAccount
Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi

azure-native.documentdb.DatabaseAccount

Explore with Pulumi AI

azure-native logo
Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi

    An Azure Cosmos DB database account. API Version: 2021-03-15.

    Example Usage

    CosmosDBDatabaseAccountCreateMax

    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 = "3.2",
            },
            BackupPolicy = new AzureNative.DocumentDB.Inputs.PeriodicModeBackupPolicyArgs
            {
                PeriodicModeProperties = new AzureNative.DocumentDB.Inputs.PeriodicModePropertiesArgs
                {
                    BackupIntervalInMinutes = 240,
                    BackupRetentionIntervalInHours = 8,
                },
                Type = "Periodic",
            },
            ConsistencyPolicy = new AzureNative.DocumentDB.Inputs.ConsistencyPolicyArgs
            {
                DefaultConsistencyLevel = AzureNative.DocumentDB.DefaultConsistencyLevel.BoundedStaleness,
                MaxIntervalInSeconds = 10,
                MaxStalenessPrefix = 200,
            },
            Cors = new[]
            {
                new AzureNative.DocumentDB.Inputs.CorsPolicyArgs
                {
                    AllowedOrigins = "https://test",
                },
            },
            DatabaseAccountOfferType = AzureNative.DocumentDB.DatabaseAccountOfferType.Standard,
            DefaultIdentity = "FirstPartyIdentity",
            EnableAnalyticalStorage = true,
            EnableFreeTier = false,
            Identity = new AzureNative.DocumentDB.Inputs.ManagedServiceIdentityArgs
            {
                Type = AzureNative.DocumentDB.ResourceIdentityType.SystemAssigned_UserAssigned,
                UserAssignedIdentities = 
                {
                    { "/subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1", null },
                },
            },
            IpRules = new[]
            {
                new AzureNative.DocumentDB.Inputs.IpAddressOrRangeArgs
                {
                    IpAddressOrRange = "23.43.230.120",
                },
                new AzureNative.DocumentDB.Inputs.IpAddressOrRangeArgs
                {
                    IpAddressOrRange = "110.12.240.0/12",
                },
            },
            IsVirtualNetworkFilterEnabled = true,
            KeyVaultKeyUri = "https://myKeyVault.vault.azure.net",
            Kind = "MongoDB",
            Location = "westus",
            Locations = new[]
            {
                new AzureNative.DocumentDB.Inputs.LocationArgs
                {
                    FailoverPriority = 0,
                    IsZoneRedundant = false,
                    LocationName = "southcentralus",
                },
                new AzureNative.DocumentDB.Inputs.LocationArgs
                {
                    FailoverPriority = 1,
                    IsZoneRedundant = false,
                    LocationName = "eastus",
                },
            },
            NetworkAclBypass = AzureNative.DocumentDB.NetworkAclBypass.AzureServices,
            NetworkAclBypassResourceIds = new[]
            {
                "/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName",
            },
            PublicNetworkAccess = "Enabled",
            ResourceGroupName = "rg1",
            Tags = null,
            VirtualNetworkRules = new[]
            {
                new AzureNative.DocumentDB.Inputs.VirtualNetworkRuleArgs
                {
                    Id = "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
                    IgnoreMissingVNetServiceEndpoint = false,
                },
            },
        });
    
    });
    
    package main
    
    import (
    	documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb"
    	"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("3.2"),
    			},
    			BackupPolicy: documentdb.PeriodicModeBackupPolicy{
    				PeriodicModeProperties: documentdb.PeriodicModeProperties{
    					BackupIntervalInMinutes:        240,
    					BackupRetentionIntervalInHours: 8,
    				},
    				Type: "Periodic",
    			},
    			ConsistencyPolicy: &documentdb.ConsistencyPolicyArgs{
    				DefaultConsistencyLevel: documentdb.DefaultConsistencyLevelBoundedStaleness,
    				MaxIntervalInSeconds:    pulumi.Int(10),
    				MaxStalenessPrefix:      pulumi.Float64(200),
    			},
    			Cors: []documentdb.CorsPolicyArgs{
    				{
    					AllowedOrigins: pulumi.String("https://test"),
    				},
    			},
    			DatabaseAccountOfferType: documentdb.DatabaseAccountOfferTypeStandard,
    			DefaultIdentity:          pulumi.String("FirstPartyIdentity"),
    			EnableAnalyticalStorage:  pulumi.Bool(true),
    			EnableFreeTier:           pulumi.Bool(false),
    			Identity: &documentdb.ManagedServiceIdentityArgs{
    				Type: documentdb.ResourceIdentityType_SystemAssigned_UserAssigned,
    				UserAssignedIdentities: pulumi.AnyMap{
    					"/subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": nil,
    				},
    			},
    			IpRules: []documentdb.IpAddressOrRangeArgs{
    				{
    					IpAddressOrRange: pulumi.String("23.43.230.120"),
    				},
    				{
    					IpAddressOrRange: pulumi.String("110.12.240.0/12"),
    				},
    			},
    			IsVirtualNetworkFilterEnabled: pulumi.Bool(true),
    			KeyVaultKeyUri:                pulumi.String("https://myKeyVault.vault.azure.net"),
    			Kind:                          pulumi.String("MongoDB"),
    			Location:                      pulumi.String("westus"),
    			Locations: []documentdb.LocationArgs{
    				{
    					FailoverPriority: pulumi.Int(0),
    					IsZoneRedundant:  pulumi.Bool(false),
    					LocationName:     pulumi.String("southcentralus"),
    				},
    				{
    					FailoverPriority: pulumi.Int(1),
    					IsZoneRedundant:  pulumi.Bool(false),
    					LocationName:     pulumi.String("eastus"),
    				},
    			},
    			NetworkAclBypass: documentdb.NetworkAclBypassAzureServices,
    			NetworkAclBypassResourceIds: pulumi.StringArray{
    				pulumi.String("/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName"),
    			},
    			PublicNetworkAccess: pulumi.String("Enabled"),
    			ResourceGroupName:   pulumi.String("rg1"),
    			Tags:                nil,
    			VirtualNetworkRules: []documentdb.VirtualNetworkRuleArgs{
    				{
    					Id:                               pulumi.String("/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"),
    					IgnoreMissingVNetServiceEndpoint: pulumi.Bool(false),
    				},
    			},
    		})
    		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 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(Map.of("serverVersion", "3.2"))
                .backupPolicy(Map.ofEntries(
                    Map.entry("periodicModeProperties", Map.ofEntries(
                        Map.entry("backupIntervalInMinutes", 240),
                        Map.entry("backupRetentionIntervalInHours", 8)
                    )),
                    Map.entry("type", "Periodic")
                ))
                .consistencyPolicy(Map.ofEntries(
                    Map.entry("defaultConsistencyLevel", "BoundedStaleness"),
                    Map.entry("maxIntervalInSeconds", 10),
                    Map.entry("maxStalenessPrefix", 200)
                ))
                .cors(Map.of("allowedOrigins", "https://test"))
                .databaseAccountOfferType("Standard")
                .defaultIdentity("FirstPartyIdentity")
                .enableAnalyticalStorage(true)
                .enableFreeTier(false)
                .identity(Map.ofEntries(
                    Map.entry("type", "SystemAssigned,UserAssigned"),
                    Map.entry("userAssignedIdentities", Map.of("/subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1", ))
                ))
                .ipRules(            
                    Map.of("ipAddressOrRange", "23.43.230.120"),
                    Map.of("ipAddressOrRange", "110.12.240.0/12"))
                .isVirtualNetworkFilterEnabled(true)
                .keyVaultKeyUri("https://myKeyVault.vault.azure.net")
                .kind("MongoDB")
                .location("westus")
                .locations(            
                    Map.ofEntries(
                        Map.entry("failoverPriority", 0),
                        Map.entry("isZoneRedundant", false),
                        Map.entry("locationName", "southcentralus")
                    ),
                    Map.ofEntries(
                        Map.entry("failoverPriority", 1),
                        Map.entry("isZoneRedundant", false),
                        Map.entry("locationName", "eastus")
                    ))
                .networkAclBypass("AzureServices")
                .networkAclBypassResourceIds("/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName")
                .publicNetworkAccess("Enabled")
                .resourceGroupName("rg1")
                .tags()
                .virtualNetworkRules(Map.ofEntries(
                    Map.entry("id", "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"),
                    Map.entry("ignoreMissingVNetServiceEndpoint", false)
                ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    database_account = azure_native.documentdb.DatabaseAccount("databaseAccount",
        account_name="ddb1",
        api_properties=azure_native.documentdb.ApiPropertiesArgs(
            server_version="3.2",
        ),
        backup_policy=azure_native.documentdb.PeriodicModeBackupPolicyArgs(
            periodic_mode_properties=azure_native.documentdb.PeriodicModePropertiesArgs(
                backup_interval_in_minutes=240,
                backup_retention_interval_in_hours=8,
            ),
            type="Periodic",
        ),
        consistency_policy=azure_native.documentdb.ConsistencyPolicyArgs(
            default_consistency_level=azure_native.documentdb.DefaultConsistencyLevel.BOUNDED_STALENESS,
            max_interval_in_seconds=10,
            max_staleness_prefix=200,
        ),
        cors=[azure_native.documentdb.CorsPolicyArgs(
            allowed_origins="https://test",
        )],
        database_account_offer_type=azure_native.documentdb.DatabaseAccountOfferType.STANDARD,
        default_identity="FirstPartyIdentity",
        enable_analytical_storage=True,
        enable_free_tier=False,
        identity=azure_native.documentdb.ManagedServiceIdentityArgs(
            type=azure_native.documentdb.ResourceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED,
            user_assigned_identities={
                "/subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {},
            },
        ),
        ip_rules=[
            azure_native.documentdb.IpAddressOrRangeArgs(
                ip_address_or_range="23.43.230.120",
            ),
            azure_native.documentdb.IpAddressOrRangeArgs(
                ip_address_or_range="110.12.240.0/12",
            ),
        ],
        is_virtual_network_filter_enabled=True,
        key_vault_key_uri="https://myKeyVault.vault.azure.net",
        kind="MongoDB",
        location="westus",
        locations=[
            azure_native.documentdb.LocationArgs(
                failover_priority=0,
                is_zone_redundant=False,
                location_name="southcentralus",
            ),
            azure_native.documentdb.LocationArgs(
                failover_priority=1,
                is_zone_redundant=False,
                location_name="eastus",
            ),
        ],
        network_acl_bypass=azure_native.documentdb.NetworkAclBypass.AZURE_SERVICES,
        network_acl_bypass_resource_ids=["/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName"],
        public_network_access="Enabled",
        resource_group_name="rg1",
        tags={},
        virtual_network_rules=[azure_native.documentdb.VirtualNetworkRuleArgs(
            id="/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
            ignore_missing_v_net_service_endpoint=False,
        )])
    
    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: "3.2",
        },
        backupPolicy: {
            periodicModeProperties: {
                backupIntervalInMinutes: 240,
                backupRetentionIntervalInHours: 8,
            },
            type: "Periodic",
        },
        consistencyPolicy: {
            defaultConsistencyLevel: azure_native.documentdb.DefaultConsistencyLevel.BoundedStaleness,
            maxIntervalInSeconds: 10,
            maxStalenessPrefix: 200,
        },
        cors: [{
            allowedOrigins: "https://test",
        }],
        databaseAccountOfferType: azure_native.documentdb.DatabaseAccountOfferType.Standard,
        defaultIdentity: "FirstPartyIdentity",
        enableAnalyticalStorage: true,
        enableFreeTier: false,
        identity: {
            type: azure_native.documentdb.ResourceIdentityType.SystemAssigned_UserAssigned,
            userAssignedIdentities: {
                "/subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {},
            },
        },
        ipRules: [
            {
                ipAddressOrRange: "23.43.230.120",
            },
            {
                ipAddressOrRange: "110.12.240.0/12",
            },
        ],
        isVirtualNetworkFilterEnabled: true,
        keyVaultKeyUri: "https://myKeyVault.vault.azure.net",
        kind: "MongoDB",
        location: "westus",
        locations: [
            {
                failoverPriority: 0,
                isZoneRedundant: false,
                locationName: "southcentralus",
            },
            {
                failoverPriority: 1,
                isZoneRedundant: false,
                locationName: "eastus",
            },
        ],
        networkAclBypass: azure_native.documentdb.NetworkAclBypass.AzureServices,
        networkAclBypassResourceIds: ["/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName"],
        publicNetworkAccess: "Enabled",
        resourceGroupName: "rg1",
        tags: {},
        virtualNetworkRules: [{
            id: "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
            ignoreMissingVNetServiceEndpoint: false,
        }],
    });
    
    resources:
      databaseAccount:
        type: azure-native:documentdb:DatabaseAccount
        properties:
          accountName: ddb1
          apiProperties:
            serverVersion: '3.2'
          backupPolicy:
            periodicModeProperties:
              backupIntervalInMinutes: 240
              backupRetentionIntervalInHours: 8
            type: Periodic
          consistencyPolicy:
            defaultConsistencyLevel: BoundedStaleness
            maxIntervalInSeconds: 10
            maxStalenessPrefix: 200
          cors:
            - allowedOrigins: https://test
          databaseAccountOfferType: Standard
          defaultIdentity: FirstPartyIdentity
          enableAnalyticalStorage: true
          enableFreeTier: false
          identity:
            type: SystemAssigned,UserAssigned
            userAssignedIdentities:
              ? /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1
              : {}
          ipRules:
            - ipAddressOrRange: 23.43.230.120
            - ipAddressOrRange: 110.12.240.0/12
          isVirtualNetworkFilterEnabled: true
          keyVaultKeyUri: https://myKeyVault.vault.azure.net
          kind: MongoDB
          location: westus
          locations:
            - failoverPriority: 0
              isZoneRedundant: false
              locationName: southcentralus
            - failoverPriority: 1
              isZoneRedundant: false
              locationName: eastus
          networkAclBypass: AzureServices
          networkAclBypassResourceIds:
            - /subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName
          publicNetworkAccess: Enabled
          resourceGroupName: rg1
          tags: {}
          virtualNetworkRules:
            - id: /subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1
              ignoreMissingVNetServiceEndpoint: false
    

    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",
            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"
    	"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"),
    			DatabaseAccountOfferType: documentdb.DatabaseAccountOfferTypeStandard,
    			Location:                 pulumi.String("westus"),
    			Locations: []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 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")
                .databaseAccountOfferType("Standard")
                .location("westus")
                .locations(Map.ofEntries(
                    Map.entry("failoverPriority", 0),
                    Map.entry("isZoneRedundant", false),
                    Map.entry("locationName", "southcentralus")
                ))
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    database_account = azure_native.documentdb.DatabaseAccount("databaseAccount",
        account_name="ddb1",
        database_account_offer_type=azure_native.documentdb.DatabaseAccountOfferType.STANDARD,
        location="westus",
        locations=[azure_native.documentdb.LocationArgs(
            failover_priority=0,
            is_zone_redundant=False,
            location_name="southcentralus",
        )],
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const databaseAccount = new azure_native.documentdb.DatabaseAccount("databaseAccount", {
        accountName: "ddb1",
        databaseAccountOfferType: azure_native.documentdb.DatabaseAccountOfferType.Standard,
        location: "westus",
        locations: [{
            failoverPriority: 0,
            isZoneRedundant: false,
            locationName: "southcentralus",
        }],
        resourceGroupName: "rg1",
    });
    
    resources:
      databaseAccount:
        type: azure-native:documentdb:DatabaseAccount
        properties:
          accountName: ddb1
          databaseAccountOfferType: Standard
          location: westus
          locations:
            - failoverPriority: 0
              isZoneRedundant: false
              locationName: southcentralus
          resourceGroupName: rg1
    

    Create DatabaseAccount Resource

    new DatabaseAccount(name: string, args: DatabaseAccountArgs, opts?: CustomResourceOptions);
    @overload
    def DatabaseAccount(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        account_name: Optional[str] = None,
                        api_properties: Optional[ApiPropertiesArgs] = None,
                        backup_policy: Optional[Union[ContinuousModeBackupPolicyArgs, PeriodicModeBackupPolicyArgs]] = None,
                        capabilities: Optional[Sequence[CapabilityArgs]] = None,
                        connector_offer: Optional[Union[str, ConnectorOffer]] = None,
                        consistency_policy: Optional[ConsistencyPolicyArgs] = None,
                        cors: Optional[Sequence[CorsPolicyArgs]] = None,
                        database_account_offer_type: Optional[DatabaseAccountOfferType] = None,
                        default_identity: Optional[str] = None,
                        disable_key_based_metadata_write_access: Optional[bool] = None,
                        enable_analytical_storage: Optional[bool] = None,
                        enable_automatic_failover: Optional[bool] = None,
                        enable_cassandra_connector: Optional[bool] = None,
                        enable_free_tier: Optional[bool] = None,
                        enable_multiple_write_locations: Optional[bool] = 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,
                        locations: Optional[Sequence[LocationArgs]] = None,
                        network_acl_bypass: Optional[NetworkAclBypass] = None,
                        network_acl_bypass_resource_ids: Optional[Sequence[str]] = None,
                        public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
                        resource_group_name: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        virtual_network_rules: Optional[Sequence[VirtualNetworkRuleArgs]] = None)
    @overload
    def DatabaseAccount(resource_name: str,
                        args: DatabaseAccountArgs,
                        opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    The DatabaseAccount resource accepts the following input properties:

    DatabaseAccountOfferType Pulumi.AzureNative.DocumentDB.DatabaseAccountOfferType

    The offer type for the database

    Locations List<Pulumi.AzureNative.DocumentDB.Inputs.LocationArgs>

    An array that contains the georeplication locations enabled for the Cosmos DB account.

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    AccountName string

    Cosmos DB database account name.

    ApiProperties Pulumi.AzureNative.DocumentDB.Inputs.ApiPropertiesArgs

    API specific properties. Currently, supported only for MongoDB API.

    BackupPolicy Pulumi.AzureNative.DocumentDB.Inputs.ContinuousModeBackupPolicyArgs | Pulumi.AzureNative.DocumentDB.Inputs.PeriodicModeBackupPolicyArgs

    The object representing the policy for taking backups on an account.

    Capabilities List<Pulumi.AzureNative.DocumentDB.Inputs.CapabilityArgs>

    List of Cosmos DB capabilities for the account

    ConnectorOffer string | Pulumi.AzureNative.DocumentDB.ConnectorOffer

    The cassandra connector offer type for the Cosmos DB database C* account.

    ConsistencyPolicy Pulumi.AzureNative.DocumentDB.Inputs.ConsistencyPolicyArgs

    The consistency policy for the Cosmos DB account.

    Cors List<Pulumi.AzureNative.DocumentDB.Inputs.CorsPolicyArgs>

    The CORS policy for the Cosmos DB database account.

    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.

    DisableKeyBasedMetadataWriteAccess bool

    Disable write operations on metadata resources (databases, containers, throughput) via account keys

    EnableAnalyticalStorage bool

    Flag to indicate whether to enable storage analytics.

    EnableAutomaticFailover bool

    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.

    EnableCassandraConnector bool

    Enables the cassandra connector on the Cosmos DB C* account

    EnableFreeTier bool

    Flag to indicate whether Free Tier is enabled.

    EnableMultipleWriteLocations bool

    Enables the account to write in multiple locations

    Identity Pulumi.AzureNative.DocumentDB.Inputs.ManagedServiceIdentityArgs

    Identity for the resource.

    IpRules List<Pulumi.AzureNative.DocumentDB.Inputs.IpAddressOrRangeArgs>

    List of IpRules.

    IsVirtualNetworkFilterEnabled bool

    Flag to indicate whether to enable/disable Virtual Network ACL rules.

    KeyVaultKeyUri string

    The URI of the key vault

    Kind string | Pulumi.AzureNative.DocumentDB.DatabaseAccountKind

    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.

    NetworkAclBypass Pulumi.AzureNative.DocumentDB.NetworkAclBypass

    Indicates what services are allowed to bypass firewall checks.

    NetworkAclBypassResourceIds List<string>

    An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.

    PublicNetworkAccess string | Pulumi.AzureNative.DocumentDB.PublicNetworkAccess

    Whether requests from Public Network are allowed

    Tags 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".

    VirtualNetworkRules List<Pulumi.AzureNative.DocumentDB.Inputs.VirtualNetworkRuleArgs>

    List of Virtual Network ACL rules configured for the Cosmos DB account.

    DatabaseAccountOfferType DatabaseAccountOfferType

    The offer type for the database

    Locations []LocationArgs

    An array that contains the georeplication locations enabled for the Cosmos DB account.

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    AccountName string

    Cosmos DB database account name.

    ApiProperties ApiPropertiesArgs

    API specific properties. Currently, supported only for MongoDB API.

    BackupPolicy ContinuousModeBackupPolicyArgs | PeriodicModeBackupPolicyArgs

    The object representing the policy for taking backups on an account.

    Capabilities []CapabilityArgs

    List of Cosmos DB capabilities for the account

    ConnectorOffer string | ConnectorOffer

    The cassandra connector offer type for the Cosmos DB database C* account.

    ConsistencyPolicy ConsistencyPolicyArgs

    The consistency policy for the Cosmos DB account.

    Cors []CorsPolicyArgs

    The CORS policy for the Cosmos DB database account.

    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.

    DisableKeyBasedMetadataWriteAccess bool

    Disable write operations on metadata resources (databases, containers, throughput) via account keys

    EnableAnalyticalStorage bool

    Flag to indicate whether to enable storage analytics.

    EnableAutomaticFailover bool

    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.

    EnableCassandraConnector bool

    Enables the cassandra connector on the Cosmos DB C* account

    EnableFreeTier bool

    Flag to indicate whether Free Tier is enabled.

    EnableMultipleWriteLocations bool

    Enables the account to write in multiple locations

    Identity ManagedServiceIdentityArgs

    Identity for the resource.

    IpRules []IpAddressOrRangeArgs

    List of IpRules.

    IsVirtualNetworkFilterEnabled bool

    Flag to indicate whether to enable/disable Virtual Network ACL rules.

    KeyVaultKeyUri string

    The URI of the key vault

    Kind string | DatabaseAccountKind

    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.

    NetworkAclBypass NetworkAclBypass

    Indicates what services are allowed to bypass firewall checks.

    NetworkAclBypassResourceIds []string

    An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.

    PublicNetworkAccess string | PublicNetworkAccess

    Whether requests from Public Network are allowed

    Tags 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".

    VirtualNetworkRules []VirtualNetworkRuleArgs

    List of Virtual Network ACL rules configured for the Cosmos DB account.

    databaseAccountOfferType DatabaseAccountOfferType

    The offer type for the database

    locations List<LocationArgs>

    An array that contains the georeplication locations enabled for the Cosmos DB account.

    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    accountName String

    Cosmos DB database account name.

    apiProperties ApiPropertiesArgs

    API specific properties. Currently, supported only for MongoDB API.

    backupPolicy ContinuousModeBackupPolicyArgs | PeriodicModeBackupPolicyArgs

    The object representing the policy for taking backups on an account.

    capabilities List<CapabilityArgs>

    List of Cosmos DB capabilities for the account

    connectorOffer String | ConnectorOffer

    The cassandra connector offer type for the Cosmos DB database C* account.

    consistencyPolicy ConsistencyPolicyArgs

    The consistency policy for the Cosmos DB account.

    cors List<CorsPolicyArgs>

    The CORS policy for the Cosmos DB database account.

    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.

    disableKeyBasedMetadataWriteAccess Boolean

    Disable write operations on metadata resources (databases, containers, throughput) via account keys

    enableAnalyticalStorage Boolean

    Flag to indicate whether to enable storage analytics.

    enableAutomaticFailover Boolean

    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.

    enableCassandraConnector Boolean

    Enables the cassandra connector on the Cosmos DB C* account

    enableFreeTier Boolean

    Flag to indicate whether Free Tier is enabled.

    enableMultipleWriteLocations Boolean

    Enables the account to write in multiple locations

    identity ManagedServiceIdentityArgs

    Identity for the resource.

    ipRules List<IpAddressOrRangeArgs>

    List of IpRules.

    isVirtualNetworkFilterEnabled Boolean

    Flag to indicate whether to enable/disable Virtual Network ACL rules.

    keyVaultKeyUri String

    The URI of the key vault

    kind String | DatabaseAccountKind

    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.

    networkAclBypass NetworkAclBypass

    Indicates what services are allowed to bypass firewall checks.

    networkAclBypassResourceIds List<String>

    An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.

    publicNetworkAccess String | PublicNetworkAccess

    Whether requests from Public Network are allowed

    tags 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".

    virtualNetworkRules List<VirtualNetworkRuleArgs>

    List of Virtual Network ACL rules configured for the Cosmos DB account.

    databaseAccountOfferType DatabaseAccountOfferType

    The offer type for the database

    locations LocationArgs[]

    An array that contains the georeplication locations enabled for the Cosmos DB account.

    resourceGroupName string

    The name of the resource group. The name is case insensitive.

    accountName string

    Cosmos DB database account name.

    apiProperties ApiPropertiesArgs

    API specific properties. Currently, supported only for MongoDB API.

    backupPolicy ContinuousModeBackupPolicyArgs | PeriodicModeBackupPolicyArgs

    The object representing the policy for taking backups on an account.

    capabilities CapabilityArgs[]

    List of Cosmos DB capabilities for the account

    connectorOffer string | ConnectorOffer

    The cassandra connector offer type for the Cosmos DB database C* account.

    consistencyPolicy ConsistencyPolicyArgs

    The consistency policy for the Cosmos DB account.

    cors CorsPolicyArgs[]

    The CORS policy for the Cosmos DB database account.

    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.

    disableKeyBasedMetadataWriteAccess boolean

    Disable write operations on metadata resources (databases, containers, throughput) via account keys

    enableAnalyticalStorage boolean

    Flag to indicate whether to enable storage analytics.

    enableAutomaticFailover boolean

    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.

    enableCassandraConnector boolean

    Enables the cassandra connector on the Cosmos DB C* account

    enableFreeTier boolean

    Flag to indicate whether Free Tier is enabled.

    enableMultipleWriteLocations boolean

    Enables the account to write in multiple locations

    identity ManagedServiceIdentityArgs

    Identity for the resource.

    ipRules IpAddressOrRangeArgs[]

    List of IpRules.

    isVirtualNetworkFilterEnabled boolean

    Flag to indicate whether to enable/disable Virtual Network ACL rules.

    keyVaultKeyUri string

    The URI of the key vault

    kind string | DatabaseAccountKind

    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.

    networkAclBypass NetworkAclBypass

    Indicates what services are allowed to bypass firewall checks.

    networkAclBypassResourceIds string[]

    An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.

    publicNetworkAccess string | PublicNetworkAccess

    Whether requests from Public Network are allowed

    tags {[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".

    virtualNetworkRules VirtualNetworkRuleArgs[]

    List of Virtual Network ACL rules configured for the Cosmos DB account.

    database_account_offer_type DatabaseAccountOfferType

    The offer type for the database

    locations Sequence[LocationArgs]

    An array that contains the georeplication locations enabled for the Cosmos DB account.

    resource_group_name str

    The name of the resource group. The name is case insensitive.

    account_name str

    Cosmos DB database account name.

    api_properties ApiPropertiesArgs

    API specific properties. Currently, supported only for MongoDB API.

    backup_policy ContinuousModeBackupPolicyArgs | PeriodicModeBackupPolicyArgs

    The object representing the policy for taking backups on an account.

    capabilities Sequence[CapabilityArgs]

    List of Cosmos DB capabilities for the account

    connector_offer str | ConnectorOffer

    The cassandra connector offer type for the Cosmos DB database C* account.

    consistency_policy ConsistencyPolicyArgs

    The consistency policy for the Cosmos DB account.

    cors Sequence[CorsPolicyArgs]

    The CORS policy for the Cosmos DB database account.

    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_based_metadata_write_access bool

    Disable write operations on metadata resources (databases, containers, throughput) via account keys

    enable_analytical_storage bool

    Flag to indicate whether to enable storage analytics.

    enable_automatic_failover bool

    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_connector bool

    Enables the cassandra connector on the Cosmos DB C* account

    enable_free_tier bool

    Flag to indicate whether Free Tier is enabled.

    enable_multiple_write_locations bool

    Enables the account to write in multiple locations

    identity ManagedServiceIdentityArgs

    Identity for the resource.

    ip_rules Sequence[IpAddressOrRangeArgs]

    List of IpRules.

    is_virtual_network_filter_enabled bool

    Flag to indicate whether to enable/disable Virtual Network ACL rules.

    key_vault_key_uri str

    The URI of the key vault

    kind str | DatabaseAccountKind

    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.

    network_acl_bypass NetworkAclBypass

    Indicates what services are allowed to bypass firewall checks.

    network_acl_bypass_resource_ids Sequence[str]

    An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.

    public_network_access str | PublicNetworkAccess

    Whether requests from Public Network are allowed

    tags 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_rules Sequence[VirtualNetworkRuleArgs]

    List of Virtual Network ACL rules configured for the Cosmos DB account.

    databaseAccountOfferType "Standard"

    The offer type for the database

    locations List<Property Map>

    An array that contains the georeplication locations enabled for the Cosmos DB account.

    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    accountName String

    Cosmos DB database account name.

    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

    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.

    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.

    disableKeyBasedMetadataWriteAccess Boolean

    Disable write operations on metadata resources (databases, containers, throughput) via account keys

    enableAnalyticalStorage Boolean

    Flag to indicate whether to enable storage analytics.

    enableAutomaticFailover Boolean

    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.

    enableCassandraConnector Boolean

    Enables the cassandra connector on the Cosmos DB C* account

    enableFreeTier Boolean

    Flag to indicate whether Free Tier is enabled.

    enableMultipleWriteLocations Boolean

    Enables the account to write in multiple locations

    identity Property Map

    Identity for the resource.

    ipRules List<Property Map>

    List of IpRules.

    isVirtualNetworkFilterEnabled Boolean

    Flag to indicate whether to enable/disable Virtual Network ACL rules.

    keyVaultKeyUri String

    The URI of the key vault

    kind String | "GlobalDocumentDB" | "MongoDB" | "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.

    networkAclBypass "None" | "AzureServices"

    Indicates what services are allowed to bypass firewall checks.

    networkAclBypassResourceIds List<String>

    An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.

    publicNetworkAccess String | "Enabled" | "Disabled"

    Whether requests from Public Network are allowed

    tags 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".

    virtualNetworkRules List<Property Map>

    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.AzureNative.DocumentDB.Outputs.FailoverPolicyResponse>

    An array that contains the regions ordered by their failover priorities.

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    The name of the ARM resource.

    PrivateEndpointConnections List<Pulumi.AzureNative.DocumentDB.Outputs.PrivateEndpointConnectionResponse>

    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.AzureNative.DocumentDB.Outputs.LocationResponse>

    An array that contains of the read locations enabled for the Cosmos DB account.

    Type string

    The type of Azure resource.

    WriteLocations List<Pulumi.AzureNative.DocumentDB.Outputs.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 []FailoverPolicyResponse

    An array that contains the regions ordered by their failover priorities.

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    The name of the ARM resource.

    PrivateEndpointConnections []PrivateEndpointConnectionResponse

    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.

    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<FailoverPolicyResponse>

    An array that contains the regions ordered by their failover priorities.

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    The name of the ARM resource.

    privateEndpointConnections List<PrivateEndpointConnectionResponse>

    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.

    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 FailoverPolicyResponse[]

    An array that contains the regions ordered by their failover priorities.

    id string

    The provider-assigned unique ID for this managed resource.

    name string

    The name of the ARM resource.

    privateEndpointConnections PrivateEndpointConnectionResponse[]

    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.

    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[FailoverPolicyResponse]

    An array that contains the regions ordered by their failover priorities.

    id str

    The provider-assigned unique ID for this managed resource.

    name str

    The name of the ARM resource.

    private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]

    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.

    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.

    name String

    The name of the ARM resource.

    privateEndpointConnections List<Property Map>

    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.

    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

    ApiProperties

    ServerVersion string | Pulumi.AzureNative.DocumentDB.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.

    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"

    Describes the ServerVersion of an a MongoDB account.

    ApiPropertiesResponse

    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.

    Capability

    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

    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".

    ConnectorOffer

    Small
    Small
    ConnectorOfferSmall
    Small
    Small
    Small
    Small
    Small
    SMALL
    Small
    "Small"
    Small

    ConsistencyPolicy

    DefaultConsistencyLevel Pulumi.AzureNative.DocumentDB.DefaultConsistencyLevel

    The default consistency level and configuration settings of the Cosmos DB account.

    MaxIntervalInSeconds int

    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'.

    MaxStalenessPrefix double

    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'.

    DefaultConsistencyLevel DefaultConsistencyLevel

    The default consistency level and configuration settings of the Cosmos DB account.

    MaxIntervalInSeconds int

    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'.

    MaxStalenessPrefix float64

    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'.

    defaultConsistencyLevel DefaultConsistencyLevel

    The default consistency level and configuration settings of the Cosmos DB account.

    maxIntervalInSeconds Integer

    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'.

    maxStalenessPrefix Double

    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'.

    defaultConsistencyLevel DefaultConsistencyLevel

    The default consistency level and configuration settings of the Cosmos DB account.

    maxIntervalInSeconds number

    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'.

    maxStalenessPrefix number

    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_level DefaultConsistencyLevel

    The default consistency level and configuration settings of the Cosmos DB account.

    max_interval_in_seconds int

    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_prefix float

    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'.

    defaultConsistencyLevel "Eventual" | "Session" | "BoundedStaleness" | "Strong" | "ConsistentPrefix"

    The default consistency level and configuration settings of the Cosmos DB account.

    maxIntervalInSeconds Number

    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'.

    maxStalenessPrefix Number

    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

    DefaultConsistencyLevel string

    The default consistency level and configuration settings of the Cosmos DB account.

    MaxIntervalInSeconds int

    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'.

    MaxStalenessPrefix double

    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'.

    DefaultConsistencyLevel string

    The default consistency level and configuration settings of the Cosmos DB account.

    MaxIntervalInSeconds int

    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'.

    MaxStalenessPrefix float64

    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'.

    defaultConsistencyLevel String

    The default consistency level and configuration settings of the Cosmos DB account.

    maxIntervalInSeconds Integer

    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'.

    maxStalenessPrefix Double

    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'.

    defaultConsistencyLevel string

    The default consistency level and configuration settings of the Cosmos DB account.

    maxIntervalInSeconds number

    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'.

    maxStalenessPrefix number

    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_level str

    The default consistency level and configuration settings of the Cosmos DB account.

    max_interval_in_seconds int

    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_prefix float

    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'.

    defaultConsistencyLevel String

    The default consistency level and configuration settings of the Cosmos DB account.

    maxIntervalInSeconds Number

    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'.

    maxStalenessPrefix Number

    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

    ContinuousModeBackupPolicyResponse

    CorsPolicy

    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.

    MaxAgeInSeconds double

    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.

    MaxAgeInSeconds float64

    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.

    maxAgeInSeconds Double

    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.

    maxAgeInSeconds number

    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_in_seconds float

    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.

    maxAgeInSeconds Number

    The maximum amount time that a browser should cache the preflight OPTIONS request.

    CorsPolicyResponse

    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.

    MaxAgeInSeconds double

    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.

    MaxAgeInSeconds float64

    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.

    maxAgeInSeconds Double

    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.

    maxAgeInSeconds number

    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_in_seconds float

    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.

    maxAgeInSeconds Number

    The maximum amount time that a browser should cache the preflight OPTIONS request.

    DatabaseAccountKind

    GlobalDocumentDB
    GlobalDocumentDB
    MongoDB
    MongoDB
    Parse
    Parse
    DatabaseAccountKindGlobalDocumentDB
    GlobalDocumentDB
    DatabaseAccountKindMongoDB
    MongoDB
    DatabaseAccountKindParse
    Parse
    GlobalDocumentDB
    GlobalDocumentDB
    MongoDB
    MongoDB
    Parse
    Parse
    GlobalDocumentDB
    GlobalDocumentDB
    MongoDB
    MongoDB
    Parse
    Parse
    GLOBAL_DOCUMENT_DB
    GlobalDocumentDB
    MONGO_DB
    MongoDB
    PARSE
    Parse
    "GlobalDocumentDB"
    GlobalDocumentDB
    "MongoDB"
    MongoDB
    "Parse"
    Parse

    DatabaseAccountOfferType

    Standard
    Standard
    DatabaseAccountOfferTypeStandard
    Standard
    Standard
    Standard
    Standard
    Standard
    STANDARD
    Standard
    "Standard"
    Standard

    DefaultConsistencyLevel

    Eventual
    Eventual
    Session
    Session
    BoundedStaleness
    BoundedStaleness
    Strong
    Strong
    ConsistentPrefix
    ConsistentPrefix
    DefaultConsistencyLevelEventual
    Eventual
    DefaultConsistencyLevelSession
    Session
    DefaultConsistencyLevelBoundedStaleness
    BoundedStaleness
    DefaultConsistencyLevelStrong
    Strong
    DefaultConsistencyLevelConsistentPrefix
    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

    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.

    IpAddressOrRange

    IpAddressOrRange string

    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”.

    IpAddressOrRange string

    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”.

    ipAddressOrRange String

    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”.

    ipAddressOrRange string

    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_or_range str

    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”.

    ipAddressOrRange String

    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

    IpAddressOrRange string

    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”.

    IpAddressOrRange string

    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”.

    ipAddressOrRange String

    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”.

    ipAddressOrRange string

    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_or_range str

    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”.

    ipAddressOrRange String

    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

    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.

    IsZoneRedundant bool

    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.

    IsZoneRedundant bool

    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.

    isZoneRedundant Boolean

    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.

    isZoneRedundant boolean

    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_redundant bool

    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.

    isZoneRedundant Boolean

    Flag to indicate whether or not this region is an AvailabilityZone region

    locationName String

    The name of the region.

    LocationResponse

    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.

    IsZoneRedundant bool

    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.

    IsZoneRedundant bool

    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.

    isZoneRedundant Boolean

    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.

    isZoneRedundant boolean

    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_redundant bool

    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.

    isZoneRedundant Boolean

    Flag to indicate whether or not this region is an AvailabilityZone region

    locationName String

    The name of the region.

    ManagedServiceIdentity

    Type Pulumi.AzureNative.DocumentDB.ResourceIdentityType

    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.

    UserAssignedIdentities Dictionary<string, object>

    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 ResourceIdentityType

    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.

    UserAssignedIdentities map[string]interface{}

    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 ResourceIdentityType

    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.

    userAssignedIdentities Map<String,Object>

    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 ResourceIdentityType

    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.

    userAssignedIdentities {[key: string]: any}

    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 ResourceIdentityType

    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_identities Mapping[str, Any]

    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" | "UserAssigned" | "SystemAssigned,UserAssigned" | "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.

    userAssignedIdentities Map<Any>

    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

    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.

    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DocumentDB.Inputs.ManagedServiceIdentityResponseUserAssignedIdentities>

    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.

    UserAssignedIdentities map[string]ManagedServiceIdentityResponseUserAssignedIdentities

    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.

    userAssignedIdentities Map<String,ManagedServiceIdentityResponseUserAssignedIdentities>

    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.

    userAssignedIdentities {[key: string]: ManagedServiceIdentityResponseUserAssignedIdentities}

    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_identities Mapping[str, ManagedServiceIdentityResponseUserAssignedIdentities]

    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.

    userAssignedIdentities Map<Property Map>

    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

    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.

    NetworkAclBypass

    None
    None
    AzureServices
    AzureServices
    NetworkAclBypassNone
    None
    NetworkAclBypassAzureServices
    AzureServices
    None
    None
    AzureServices
    AzureServices
    None
    None
    AzureServices
    AzureServices
    NONE
    None
    AZURE_SERVICES
    AzureServices
    "None"
    None
    "AzureServices"
    AzureServices

    PeriodicModeBackupPolicy

    PeriodicModeProperties PeriodicModeProperties

    Configuration values for periodic mode backup

    periodicModeProperties PeriodicModeProperties

    Configuration values for periodic mode backup

    periodicModeProperties PeriodicModeProperties

    Configuration values for periodic mode backup

    periodic_mode_properties PeriodicModeProperties

    Configuration values for periodic mode backup

    periodicModeProperties Property Map

    Configuration values for periodic mode backup

    PeriodicModeBackupPolicyResponse

    PeriodicModeProperties PeriodicModePropertiesResponse

    Configuration values for periodic mode backup

    periodicModeProperties PeriodicModePropertiesResponse

    Configuration values for periodic mode backup

    periodicModeProperties PeriodicModePropertiesResponse

    Configuration values for periodic mode backup

    periodic_mode_properties PeriodicModePropertiesResponse

    Configuration values for periodic mode backup

    periodicModeProperties Property Map

    Configuration values for periodic mode backup

    PeriodicModeProperties

    BackupIntervalInMinutes int

    An integer representing the interval in minutes between two backups

    BackupRetentionIntervalInHours int

    An integer representing the time (in hours) that each backup is retained

    BackupIntervalInMinutes int

    An integer representing the interval in minutes between two backups

    BackupRetentionIntervalInHours int

    An integer representing the time (in hours) that each backup is retained

    backupIntervalInMinutes Integer

    An integer representing the interval in minutes between two backups

    backupRetentionIntervalInHours Integer

    An integer representing the time (in hours) that each backup is retained

    backupIntervalInMinutes number

    An integer representing the interval in minutes between two backups

    backupRetentionIntervalInHours number

    An integer representing the time (in hours) that each backup is retained

    backup_interval_in_minutes int

    An integer representing the interval in minutes between two backups

    backup_retention_interval_in_hours int

    An integer representing the time (in hours) that each backup is retained

    backupIntervalInMinutes Number

    An integer representing the interval in minutes between two backups

    backupRetentionIntervalInHours Number

    An integer representing the time (in hours) that each backup is retained

    PeriodicModePropertiesResponse

    BackupIntervalInMinutes int

    An integer representing the interval in minutes between two backups

    BackupRetentionIntervalInHours int

    An integer representing the time (in hours) that each backup is retained

    BackupIntervalInMinutes int

    An integer representing the interval in minutes between two backups

    BackupRetentionIntervalInHours int

    An integer representing the time (in hours) that each backup is retained

    backupIntervalInMinutes Integer

    An integer representing the interval in minutes between two backups

    backupRetentionIntervalInHours Integer

    An integer representing the time (in hours) that each backup is retained

    backupIntervalInMinutes number

    An integer representing the interval in minutes between two backups

    backupRetentionIntervalInHours number

    An integer representing the time (in hours) that each backup is retained

    backup_interval_in_minutes int

    An integer representing the interval in minutes between two backups

    backup_retention_interval_in_hours int

    An integer representing the time (in hours) that each backup is retained

    backupIntervalInMinutes Number

    An integer representing the interval in minutes between two backups

    backupRetentionIntervalInHours Number

    An integer representing the time (in hours) that each backup is retained

    PrivateEndpointConnectionResponse

    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.AzureNative.DocumentDB.Inputs.PrivateEndpointPropertyResponse

    Private endpoint which the connection belongs to.

    PrivateLinkServiceConnectionState Pulumi.AzureNative.DocumentDB.Inputs.PrivateLinkServiceConnectionStatePropertyResponse

    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 PrivateEndpointPropertyResponse

    Private endpoint which the connection belongs to.

    PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStatePropertyResponse

    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 PrivateEndpointPropertyResponse

    Private endpoint which the connection belongs to.

    privateLinkServiceConnectionState PrivateLinkServiceConnectionStatePropertyResponse

    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 PrivateEndpointPropertyResponse

    Private endpoint which the connection belongs to.

    privateLinkServiceConnectionState PrivateLinkServiceConnectionStatePropertyResponse

    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 PrivateEndpointPropertyResponse

    Private endpoint which the connection belongs to.

    private_link_service_connection_state PrivateLinkServiceConnectionStatePropertyResponse

    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.

    privateLinkServiceConnectionState Property Map

    Connection State of the Private Endpoint Connection.

    provisioningState String

    Provisioning state of the private endpoint.

    PrivateEndpointPropertyResponse

    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

    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

    Enabled
    Enabled
    Disabled
    Disabled
    PublicNetworkAccessEnabled
    Enabled
    PublicNetworkAccessDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    ResourceIdentityType

    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    ResourceIdentityTypeSystemAssigned
    SystemAssigned
    ResourceIdentityTypeUserAssigned
    UserAssigned
    ResourceIdentityType_SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    ResourceIdentityTypeNone
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    SYSTEM_ASSIGNED_USER_ASSIGNED
    SystemAssigned,UserAssigned
    NONE
    None
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned
    "SystemAssigned,UserAssigned"
    SystemAssigned,UserAssigned
    "None"
    None

    ServerVersion

    ServerVersion_3_2
    3.2
    ServerVersion_3_6
    3.6
    ServerVersion_4_0
    4.0
    ServerVersion_3_2
    3.2
    ServerVersion_3_6
    3.6
    ServerVersion_4_0
    4.0
    _3_2
    3.2
    _3_6
    3.6
    _4_0
    4.0
    ServerVersion_3_2
    3.2
    ServerVersion_3_6
    3.6
    ServerVersion_4_0
    4.0
    SERVER_VERSION_3_2
    3.2
    SERVER_VERSION_3_6
    3.6
    SERVER_VERSION_4_0
    4.0
    "3.2"
    3.2
    "3.6"
    3.6
    "4.0"
    4.0

    VirtualNetworkRule

    Id string

    Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.

    IgnoreMissingVNetServiceEndpoint bool

    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}.

    IgnoreMissingVNetServiceEndpoint bool

    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}.

    ignoreMissingVNetServiceEndpoint Boolean

    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}.

    ignoreMissingVNetServiceEndpoint boolean

    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_v_net_service_endpoint bool

    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}.

    ignoreMissingVNetServiceEndpoint Boolean

    Create firewall rule before the virtual network has vnet service endpoint enabled.

    VirtualNetworkRuleResponse

    Id string

    Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.

    IgnoreMissingVNetServiceEndpoint bool

    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}.

    IgnoreMissingVNetServiceEndpoint bool

    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}.

    ignoreMissingVNetServiceEndpoint Boolean

    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}.

    ignoreMissingVNetServiceEndpoint boolean

    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_v_net_service_endpoint bool

    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}.

    ignoreMissingVNetServiceEndpoint Boolean

    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/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi