azure-native.documentdb.DatabaseAccount
Explore with Pulumi AI
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DatabaseAccount(name: string, args: DatabaseAccountArgs, opts?: CustomResourceOptions);
@overload
def DatabaseAccount(resource_name: str,
args: DatabaseAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DatabaseAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
locations: Optional[Sequence[LocationArgs]] = None,
resource_group_name: Optional[str] = None,
database_account_offer_type: Optional[DatabaseAccountOfferType] = None,
connector_offer: Optional[Union[str, ConnectorOffer]] = None,
backup_policy: Optional[Union[ContinuousModeBackupPolicyArgs, PeriodicModeBackupPolicyArgs]] = None,
capabilities: Optional[Sequence[CapabilityArgs]] = None,
cors: Optional[Sequence[CorsPolicyArgs]] = None,
consistency_policy: Optional[ConsistencyPolicyArgs] = None,
default_identity: Optional[str] = None,
disable_key_based_metadata_write_access: Optional[bool] = None,
is_virtual_network_filter_enabled: Optional[bool] = None,
enable_automatic_failover: Optional[bool] = None,
virtual_network_rules: Optional[Sequence[VirtualNetworkRuleArgs]] = None,
api_properties: Optional[ApiPropertiesArgs] = None,
enable_cassandra_connector: Optional[bool] = None,
ip_rules: Optional[Sequence[IpAddressOrRangeArgs]] = None,
identity: Optional[ManagedServiceIdentityArgs] = None,
enable_analytical_storage: Optional[bool] = None,
enable_multiple_write_locations: Optional[bool] = None,
kind: Optional[Union[str, DatabaseAccountKind]] = None,
location: Optional[str] = None,
account_name: Optional[str] = None,
network_acl_bypass: Optional[NetworkAclBypass] = None,
network_acl_bypass_resource_ids: Optional[Sequence[str]] = None,
public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
enable_free_tier: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
key_vault_key_uri: Optional[str] = None)
func NewDatabaseAccount(ctx *Context, name string, args DatabaseAccountArgs, opts ...ResourceOption) (*DatabaseAccount, error)
public DatabaseAccount(string name, DatabaseAccountArgs args, CustomResourceOptions? opts = null)
public DatabaseAccount(String name, DatabaseAccountArgs args)
public DatabaseAccount(String name, DatabaseAccountArgs args, CustomResourceOptions options)
type: azure-native:documentdb:DatabaseAccount
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatabaseAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DatabaseAccountArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DatabaseAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseAccountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var databaseAccountResource = new AzureNative.Documentdb.DatabaseAccount("databaseAccountResource", new()
{
Locations = new[]
{
{
{ "failoverPriority", 0 },
{ "isZoneRedundant", false },
{ "locationName", "string" },
},
},
ResourceGroupName = "string",
DatabaseAccountOfferType = "Standard",
ConnectorOffer = "string",
BackupPolicy =
{
{ "type", "Continuous" },
},
Capabilities = new[]
{
{
{ "name", "string" },
},
},
Cors = new[]
{
{
{ "allowedOrigins", "string" },
{ "allowedHeaders", "string" },
{ "allowedMethods", "string" },
{ "exposedHeaders", "string" },
{ "maxAgeInSeconds", 0 },
},
},
ConsistencyPolicy =
{
{ "defaultConsistencyLevel", "Eventual" },
{ "maxIntervalInSeconds", 0 },
{ "maxStalenessPrefix", 0 },
},
DefaultIdentity = "string",
DisableKeyBasedMetadataWriteAccess = false,
IsVirtualNetworkFilterEnabled = false,
EnableAutomaticFailover = false,
VirtualNetworkRules = new[]
{
{
{ "id", "string" },
{ "ignoreMissingVNetServiceEndpoint", false },
},
},
ApiProperties =
{
{ "serverVersion", "string" },
},
EnableCassandraConnector = false,
IpRules = new[]
{
{
{ "ipAddressOrRange", "string" },
},
},
Identity =
{
{ "type", "SystemAssigned" },
{ "userAssignedIdentities",
{
{ "string", "any" },
} },
},
EnableAnalyticalStorage = false,
EnableMultipleWriteLocations = false,
Kind = "string",
Location = "string",
AccountName = "string",
NetworkAclBypass = "None",
NetworkAclBypassResourceIds = new[]
{
"string",
},
PublicNetworkAccess = "string",
EnableFreeTier = false,
Tags =
{
{ "string", "string" },
},
KeyVaultKeyUri = "string",
});
example, err := documentdb.NewDatabaseAccount(ctx, "databaseAccountResource", &documentdb.DatabaseAccountArgs{
Locations: []map[string]interface{}{
map[string]interface{}{
"failoverPriority": 0,
"isZoneRedundant": false,
"locationName": "string",
},
},
ResourceGroupName: "string",
DatabaseAccountOfferType: "Standard",
ConnectorOffer: "string",
BackupPolicy: map[string]interface{}{
"type": "Continuous",
},
Capabilities: []map[string]interface{}{
map[string]interface{}{
"name": "string",
},
},
Cors: []map[string]interface{}{
map[string]interface{}{
"allowedOrigins": "string",
"allowedHeaders": "string",
"allowedMethods": "string",
"exposedHeaders": "string",
"maxAgeInSeconds": 0,
},
},
ConsistencyPolicy: map[string]interface{}{
"defaultConsistencyLevel": "Eventual",
"maxIntervalInSeconds": 0,
"maxStalenessPrefix": 0,
},
DefaultIdentity: "string",
DisableKeyBasedMetadataWriteAccess: false,
IsVirtualNetworkFilterEnabled: false,
EnableAutomaticFailover: false,
VirtualNetworkRules: []map[string]interface{}{
map[string]interface{}{
"id": "string",
"ignoreMissingVNetServiceEndpoint": false,
},
},
ApiProperties: map[string]interface{}{
"serverVersion": "string",
},
EnableCassandraConnector: false,
IpRules: []map[string]interface{}{
map[string]interface{}{
"ipAddressOrRange": "string",
},
},
Identity: map[string]interface{}{
"type": "SystemAssigned",
"userAssignedIdentities": map[string]interface{}{
"string": "any",
},
},
EnableAnalyticalStorage: false,
EnableMultipleWriteLocations: false,
Kind: "string",
Location: "string",
AccountName: "string",
NetworkAclBypass: "None",
NetworkAclBypassResourceIds: []string{
"string",
},
PublicNetworkAccess: "string",
EnableFreeTier: false,
Tags: map[string]interface{}{
"string": "string",
},
KeyVaultKeyUri: "string",
})
var databaseAccountResource = new DatabaseAccount("databaseAccountResource", DatabaseAccountArgs.builder()
.locations(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.databaseAccountOfferType("Standard")
.connectorOffer("string")
.backupPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.capabilities(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.cors(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.consistencyPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.defaultIdentity("string")
.disableKeyBasedMetadataWriteAccess(false)
.isVirtualNetworkFilterEnabled(false)
.enableAutomaticFailover(false)
.virtualNetworkRules(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.apiProperties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.enableCassandraConnector(false)
.ipRules(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.enableAnalyticalStorage(false)
.enableMultipleWriteLocations(false)
.kind("string")
.location("string")
.accountName("string")
.networkAclBypass("None")
.networkAclBypassResourceIds("string")
.publicNetworkAccess("string")
.enableFreeTier(false)
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.keyVaultKeyUri("string")
.build());
database_account_resource = azure_native.documentdb.DatabaseAccount("databaseAccountResource",
locations=[{
failoverPriority: 0,
isZoneRedundant: False,
locationName: string,
}],
resource_group_name=string,
database_account_offer_type=Standard,
connector_offer=string,
backup_policy={
type: Continuous,
},
capabilities=[{
name: string,
}],
cors=[{
allowedOrigins: string,
allowedHeaders: string,
allowedMethods: string,
exposedHeaders: string,
maxAgeInSeconds: 0,
}],
consistency_policy={
defaultConsistencyLevel: Eventual,
maxIntervalInSeconds: 0,
maxStalenessPrefix: 0,
},
default_identity=string,
disable_key_based_metadata_write_access=False,
is_virtual_network_filter_enabled=False,
enable_automatic_failover=False,
virtual_network_rules=[{
id: string,
ignoreMissingVNetServiceEndpoint: False,
}],
api_properties={
serverVersion: string,
},
enable_cassandra_connector=False,
ip_rules=[{
ipAddressOrRange: string,
}],
identity={
type: SystemAssigned,
userAssignedIdentities: {
string: any,
},
},
enable_analytical_storage=False,
enable_multiple_write_locations=False,
kind=string,
location=string,
account_name=string,
network_acl_bypass=None,
network_acl_bypass_resource_ids=[string],
public_network_access=string,
enable_free_tier=False,
tags={
string: string,
},
key_vault_key_uri=string)
const databaseAccountResource = new azure_native.documentdb.DatabaseAccount("databaseAccountResource", {
locations: [{
failoverPriority: 0,
isZoneRedundant: false,
locationName: "string",
}],
resourceGroupName: "string",
databaseAccountOfferType: "Standard",
connectorOffer: "string",
backupPolicy: {
type: "Continuous",
},
capabilities: [{
name: "string",
}],
cors: [{
allowedOrigins: "string",
allowedHeaders: "string",
allowedMethods: "string",
exposedHeaders: "string",
maxAgeInSeconds: 0,
}],
consistencyPolicy: {
defaultConsistencyLevel: "Eventual",
maxIntervalInSeconds: 0,
maxStalenessPrefix: 0,
},
defaultIdentity: "string",
disableKeyBasedMetadataWriteAccess: false,
isVirtualNetworkFilterEnabled: false,
enableAutomaticFailover: false,
virtualNetworkRules: [{
id: "string",
ignoreMissingVNetServiceEndpoint: false,
}],
apiProperties: {
serverVersion: "string",
},
enableCassandraConnector: false,
ipRules: [{
ipAddressOrRange: "string",
}],
identity: {
type: "SystemAssigned",
userAssignedIdentities: {
string: "any",
},
},
enableAnalyticalStorage: false,
enableMultipleWriteLocations: false,
kind: "string",
location: "string",
accountName: "string",
networkAclBypass: "None",
networkAclBypassResourceIds: ["string"],
publicNetworkAccess: "string",
enableFreeTier: false,
tags: {
string: "string",
},
keyVaultKeyUri: "string",
});
type: azure-native:documentdb:DatabaseAccount
properties:
accountName: string
apiProperties:
serverVersion: string
backupPolicy:
type: Continuous
capabilities:
- name: string
connectorOffer: string
consistencyPolicy:
defaultConsistencyLevel: Eventual
maxIntervalInSeconds: 0
maxStalenessPrefix: 0
cors:
- allowedHeaders: string
allowedMethods: string
allowedOrigins: string
exposedHeaders: string
maxAgeInSeconds: 0
databaseAccountOfferType: Standard
defaultIdentity: string
disableKeyBasedMetadataWriteAccess: false
enableAnalyticalStorage: false
enableAutomaticFailover: false
enableCassandraConnector: false
enableFreeTier: false
enableMultipleWriteLocations: false
identity:
type: SystemAssigned
userAssignedIdentities:
string: any
ipRules:
- ipAddressOrRange: string
isVirtualNetworkFilterEnabled: false
keyVaultKeyUri: string
kind: string
location: string
locations:
- failoverPriority: 0
isZoneRedundant: false
locationName: string
networkAclBypass: None
networkAclBypassResourceIds:
- string
publicNetworkAccess: string
resourceGroupName: string
tags:
string: string
virtualNetworkRules:
- id: string
ignoreMissingVNetServiceEndpoint: false
DatabaseAccount Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DatabaseAccount resource accepts the following input properties:
- Database
Account Pulumi.Offer Type Azure Native. Document DB. Database Account Offer Type - The offer type for the database
- Locations
List<Pulumi.
Azure Native. Document DB. Inputs. Location> - An array that contains the georeplication locations enabled for the Cosmos DB account.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Account
Name string - Cosmos DB database account name.
- Api
Properties Pulumi.Azure Native. Document DB. Inputs. Api Properties - API specific properties. Currently, supported only for MongoDB API.
- Backup
Policy Pulumi.Azure | Pulumi.Native. Document DB. Inputs. Continuous Mode Backup Policy Azure Native. Document DB. Inputs. Periodic Mode Backup Policy - The object representing the policy for taking backups on an account.
- Capabilities
List<Pulumi.
Azure Native. Document DB. Inputs. Capability> - List of Cosmos DB capabilities for the account
- Connector
Offer string | Pulumi.Azure Native. Document DB. Connector Offer - The cassandra connector offer type for the Cosmos DB database C* account.
- Consistency
Policy Pulumi.Azure Native. Document DB. Inputs. Consistency Policy - The consistency policy for the Cosmos DB account.
- Cors
List<Pulumi.
Azure Native. Document DB. Inputs. Cors Policy> - The CORS policy for the Cosmos DB database account.
- Default
Identity 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.
- Disable
Key boolBased Metadata Write Access - Disable write operations on metadata resources (databases, containers, throughput) via account keys
- Enable
Analytical boolStorage - Flag to indicate whether to enable storage analytics.
- Enable
Automatic boolFailover - Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- Enable
Cassandra boolConnector - Enables the cassandra connector on the Cosmos DB C* account
- Enable
Free boolTier - Flag to indicate whether Free Tier is enabled.
- Enable
Multiple boolWrite Locations - Enables the account to write in multiple locations
- Identity
Pulumi.
Azure Native. Document DB. Inputs. Managed Service Identity - Identity for the resource.
- Ip
Rules List<Pulumi.Azure Native. Document DB. Inputs. Ip Address Or Range> - List of IpRules.
- Is
Virtual boolNetwork Filter Enabled - Flag to indicate whether to enable/disable Virtual Network ACL rules.
- Key
Vault stringKey Uri - The URI of the key vault
- Kind
string | Pulumi.
Azure Native. Document DB. Database Account Kind - Indicates the type of database account. This can only be set at database account creation.
- Location string
- The location of the resource group to which the resource belongs.
- Network
Acl Pulumi.Bypass Azure Native. Document DB. Network Acl Bypass - Indicates what services are allowed to bypass firewall checks.
- Network
Acl List<string>Bypass Resource Ids - An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- Public
Network string | Pulumi.Access Azure Native. Document DB. Public Network Access - Whether requests from Public Network are allowed
- 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".
- Virtual
Network List<Pulumi.Rules Azure Native. Document DB. Inputs. Virtual Network Rule> - List of Virtual Network ACL rules configured for the Cosmos DB account.
- Database
Account DatabaseOffer Type Account Offer Type - The offer type for the database
- Locations
[]Location
Args - An array that contains the georeplication locations enabled for the Cosmos DB account.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Account
Name string - Cosmos DB database account name.
- Api
Properties ApiProperties Args - API specific properties. Currently, supported only for MongoDB API.
- Backup
Policy ContinuousMode | PeriodicBackup Policy Args Mode Backup Policy Args - The object representing the policy for taking backups on an account.
- Capabilities
[]Capability
Args - List of Cosmos DB capabilities for the account
- Connector
Offer string | ConnectorOffer - The cassandra connector offer type for the Cosmos DB database C* account.
- Consistency
Policy ConsistencyPolicy Args - The consistency policy for the Cosmos DB account.
- Cors
[]Cors
Policy Args - The CORS policy for the Cosmos DB database account.
- Default
Identity 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.
- Disable
Key boolBased Metadata Write Access - Disable write operations on metadata resources (databases, containers, throughput) via account keys
- Enable
Analytical boolStorage - Flag to indicate whether to enable storage analytics.
- Enable
Automatic boolFailover - Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- Enable
Cassandra boolConnector - Enables the cassandra connector on the Cosmos DB C* account
- Enable
Free boolTier - Flag to indicate whether Free Tier is enabled.
- Enable
Multiple boolWrite Locations - Enables the account to write in multiple locations
- Identity
Managed
Service Identity Args - Identity for the resource.
- Ip
Rules []IpAddress Or Range Args - List of IpRules.
- Is
Virtual boolNetwork Filter Enabled - Flag to indicate whether to enable/disable Virtual Network ACL rules.
- Key
Vault stringKey Uri - The URI of the key vault
- Kind
string | Database
Account Kind - Indicates the type of database account. This can only be set at database account creation.
- Location string
- The location of the resource group to which the resource belongs.
- Network
Acl NetworkBypass Acl Bypass - Indicates what services are allowed to bypass firewall checks.
- Network
Acl []stringBypass Resource Ids - An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- Public
Network string | PublicAccess Network Access - Whether requests from Public Network are allowed
- 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".
- Virtual
Network []VirtualRules Network Rule Args - List of Virtual Network ACL rules configured for the Cosmos DB account.
- database
Account DatabaseOffer Type Account Offer Type - The offer type for the database
- locations List<Location>
- An array that contains the georeplication locations enabled for the Cosmos DB account.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- account
Name String - Cosmos DB database account name.
- api
Properties ApiProperties - API specific properties. Currently, supported only for MongoDB API.
- backup
Policy ContinuousMode | PeriodicBackup Policy Mode Backup Policy - The object representing the policy for taking backups on an account.
- capabilities List<Capability>
- List of Cosmos DB capabilities for the account
- connector
Offer String | ConnectorOffer - The cassandra connector offer type for the Cosmos DB database C* account.
- consistency
Policy ConsistencyPolicy - The consistency policy for the Cosmos DB account.
- cors
List<Cors
Policy> - The CORS policy for the Cosmos DB database account.
- default
Identity 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.
- disable
Key BooleanBased Metadata Write Access - Disable write operations on metadata resources (databases, containers, throughput) via account keys
- enable
Analytical BooleanStorage - Flag to indicate whether to enable storage analytics.
- enable
Automatic BooleanFailover - Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- enable
Cassandra BooleanConnector - Enables the cassandra connector on the Cosmos DB C* account
- enable
Free BooleanTier - Flag to indicate whether Free Tier is enabled.
- enable
Multiple BooleanWrite Locations - Enables the account to write in multiple locations
- identity
Managed
Service Identity - Identity for the resource.
- ip
Rules List<IpAddress Or Range> - List of IpRules.
- is
Virtual BooleanNetwork Filter Enabled - Flag to indicate whether to enable/disable Virtual Network ACL rules.
- key
Vault StringKey Uri - The URI of the key vault
- kind
String | Database
Account Kind - Indicates the type of database account. This can only be set at database account creation.
- location String
- The location of the resource group to which the resource belongs.
- network
Acl NetworkBypass Acl Bypass - Indicates what services are allowed to bypass firewall checks.
- network
Acl List<String>Bypass Resource Ids - An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- public
Network String | PublicAccess Network Access - Whether requests from Public Network are allowed
- 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".
- virtual
Network List<VirtualRules Network Rule> - List of Virtual Network ACL rules configured for the Cosmos DB account.
- database
Account DatabaseOffer Type Account Offer Type - The offer type for the database
- locations Location[]
- An array that contains the georeplication locations enabled for the Cosmos DB account.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- account
Name string - Cosmos DB database account name.
- api
Properties ApiProperties - API specific properties. Currently, supported only for MongoDB API.
- backup
Policy ContinuousMode | PeriodicBackup Policy Mode Backup Policy - The object representing the policy for taking backups on an account.
- capabilities Capability[]
- List of Cosmos DB capabilities for the account
- connector
Offer string | ConnectorOffer - The cassandra connector offer type for the Cosmos DB database C* account.
- consistency
Policy ConsistencyPolicy - The consistency policy for the Cosmos DB account.
- cors
Cors
Policy[] - The CORS policy for the Cosmos DB database account.
- default
Identity 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.
- disable
Key booleanBased Metadata Write Access - Disable write operations on metadata resources (databases, containers, throughput) via account keys
- enable
Analytical booleanStorage - Flag to indicate whether to enable storage analytics.
- enable
Automatic booleanFailover - Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- enable
Cassandra booleanConnector - Enables the cassandra connector on the Cosmos DB C* account
- enable
Free booleanTier - Flag to indicate whether Free Tier is enabled.
- enable
Multiple booleanWrite Locations - Enables the account to write in multiple locations
- identity
Managed
Service Identity - Identity for the resource.
- ip
Rules IpAddress Or Range[] - List of IpRules.
- is
Virtual booleanNetwork Filter Enabled - Flag to indicate whether to enable/disable Virtual Network ACL rules.
- key
Vault stringKey Uri - The URI of the key vault
- kind
string | Database
Account Kind - Indicates the type of database account. This can only be set at database account creation.
- location string
- The location of the resource group to which the resource belongs.
- network
Acl NetworkBypass Acl Bypass - Indicates what services are allowed to bypass firewall checks.
- network
Acl string[]Bypass Resource Ids - An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- public
Network string | PublicAccess Network Access - Whether requests from Public Network are allowed
- {[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".
- virtual
Network VirtualRules Network Rule[] - List of Virtual Network ACL rules configured for the Cosmos DB account.
- database_
account_ Databaseoffer_ type Account Offer Type - The offer type for the database
- locations
Sequence[Location
Args] - An array that contains the georeplication locations enabled for the Cosmos DB account.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- account_
name str - Cosmos DB database account name.
- api_
properties ApiProperties Args - API specific properties. Currently, supported only for MongoDB API.
- backup_
policy ContinuousMode | PeriodicBackup Policy Args Mode Backup Policy Args - The object representing the policy for taking backups on an account.
- capabilities
Sequence[Capability
Args] - 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 ConsistencyPolicy Args - The consistency policy for the Cosmos DB account.
- cors
Sequence[Cors
Policy Args] - 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_ boolbased_ metadata_ write_ access - Disable write operations on metadata resources (databases, containers, throughput) via account keys
- enable_
analytical_ boolstorage - Flag to indicate whether to enable storage analytics.
- enable_
automatic_ boolfailover - Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- enable_
cassandra_ boolconnector - Enables the cassandra connector on the Cosmos DB C* account
- enable_
free_ booltier - Flag to indicate whether Free Tier is enabled.
- enable_
multiple_ boolwrite_ locations - Enables the account to write in multiple locations
- identity
Managed
Service Identity Args - Identity for the resource.
- ip_
rules Sequence[IpAddress Or Range Args] - List of IpRules.
- is_
virtual_ boolnetwork_ filter_ enabled - Flag to indicate whether to enable/disable Virtual Network ACL rules.
- key_
vault_ strkey_ uri - The URI of the key vault
- kind
str | Database
Account Kind - Indicates the type of database account. This can only be set at database account creation.
- location str
- The location of the resource group to which the resource belongs.
- network_
acl_ Networkbypass Acl Bypass - Indicates what services are allowed to bypass firewall checks.
- network_
acl_ Sequence[str]bypass_ resource_ ids - An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- public_
network_ str | Publicaccess Network Access - Whether requests from Public Network are allowed
- Mapping[str, str]
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- virtual_
network_ Sequence[Virtualrules Network Rule Args] - List of Virtual Network ACL rules configured for the Cosmos DB account.
- database
Account "Standard"Offer Type - The offer type for the database
- locations List<Property Map>
- An array that contains the georeplication locations enabled for the Cosmos DB account.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- account
Name String - Cosmos DB database account name.
- api
Properties Property Map - API specific properties. Currently, supported only for MongoDB API.
- backup
Policy 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
- connector
Offer String | "Small" - The cassandra connector offer type for the Cosmos DB database C* account.
- consistency
Policy Property Map - The consistency policy for the Cosmos DB account.
- cors List<Property Map>
- The CORS policy for the Cosmos DB database account.
- default
Identity 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.
- disable
Key BooleanBased Metadata Write Access - Disable write operations on metadata resources (databases, containers, throughput) via account keys
- enable
Analytical BooleanStorage - Flag to indicate whether to enable storage analytics.
- enable
Automatic BooleanFailover - Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- enable
Cassandra BooleanConnector - Enables the cassandra connector on the Cosmos DB C* account
- enable
Free BooleanTier - Flag to indicate whether Free Tier is enabled.
- enable
Multiple BooleanWrite Locations - Enables the account to write in multiple locations
- identity Property Map
- Identity for the resource.
- ip
Rules List<Property Map> - List of IpRules.
- is
Virtual BooleanNetwork Filter Enabled - Flag to indicate whether to enable/disable Virtual Network ACL rules.
- key
Vault StringKey Uri - The URI of the key vault
- kind
String | "Global
Document DB" | "Mongo DB" | "Parse" - Indicates the type of database account. This can only be set at database account creation.
- location String
- The location of the resource group to which the resource belongs.
- network
Acl "None" | "AzureBypass Services" - Indicates what services are allowed to bypass firewall checks.
- network
Acl List<String>Bypass Resource Ids - An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- public
Network String | "Enabled" | "Disabled"Access - Whether requests from Public Network are allowed
- 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".
- virtual
Network List<Property Map>Rules - List of Virtual Network ACL rules configured for the Cosmos DB account.
Outputs
All input properties are implicitly available as output properties. Additionally, the DatabaseAccount resource produces the following output properties:
- Document
Endpoint string - The connection endpoint for the Cosmos DB database account.
- Failover
Policies List<Pulumi.Azure Native. Document DB. Outputs. Failover Policy Response> - An array that contains the regions ordered by their failover priorities.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the ARM resource.
- Private
Endpoint List<Pulumi.Connections Azure Native. Document DB. Outputs. Private Endpoint Connection Response> - List of Private Endpoint Connections configured for the Cosmos DB account.
- Provisioning
State 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.
- Read
Locations List<Pulumi.Azure Native. Document DB. Outputs. Location Response> - An array that contains of the read locations enabled for the Cosmos DB account.
- Type string
- The type of Azure resource.
- Write
Locations List<Pulumi.Azure Native. Document DB. Outputs. Location Response> - An array that contains the write location for the Cosmos DB account.
- Document
Endpoint string - The connection endpoint for the Cosmos DB database account.
- Failover
Policies []FailoverPolicy Response - 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.
- Private
Endpoint []PrivateConnections Endpoint Connection Response - List of Private Endpoint Connections configured for the Cosmos DB account.
- Provisioning
State 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.
- Read
Locations []LocationResponse - An array that contains of the read locations enabled for the Cosmos DB account.
- Type string
- The type of Azure resource.
- Write
Locations []LocationResponse - An array that contains the write location for the Cosmos DB account.
- document
Endpoint String - The connection endpoint for the Cosmos DB database account.
- failover
Policies List<FailoverPolicy Response> - An array that contains the regions ordered by their failover priorities.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the ARM resource.
- private
Endpoint List<PrivateConnections Endpoint Connection Response> - List of Private Endpoint Connections configured for the Cosmos DB account.
- provisioning
State 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.
- read
Locations List<LocationResponse> - An array that contains of the read locations enabled for the Cosmos DB account.
- type String
- The type of Azure resource.
- write
Locations List<LocationResponse> - An array that contains the write location for the Cosmos DB account.
- document
Endpoint string - The connection endpoint for the Cosmos DB database account.
- failover
Policies FailoverPolicy Response[] - 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.
- private
Endpoint PrivateConnections Endpoint Connection Response[] - List of Private Endpoint Connections configured for the Cosmos DB account.
- provisioning
State 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.
- read
Locations LocationResponse[] - An array that contains of the read locations enabled for the Cosmos DB account.
- type string
- The type of Azure resource.
- write
Locations LocationResponse[] - An array that contains the write location for the Cosmos DB account.
- document_
endpoint str - The connection endpoint for the Cosmos DB database account.
- failover_
policies Sequence[FailoverPolicy Response] - An array that contains the regions ordered by their failover priorities.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the ARM resource.
- private_
endpoint_ Sequence[Privateconnections Endpoint Connection Response] - List of Private Endpoint Connections configured for the Cosmos DB account.
- provisioning_
state str - The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- read_
locations Sequence[LocationResponse] - An array that contains of the read locations enabled for the Cosmos DB account.
- type str
- The type of Azure resource.
- write_
locations Sequence[LocationResponse] - An array that contains the write location for the Cosmos DB account.
- document
Endpoint String - The connection endpoint for the Cosmos DB database account.
- failover
Policies 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.
- private
Endpoint List<Property Map>Connections - List of Private Endpoint Connections configured for the Cosmos DB account.
- provisioning
State 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.
- read
Locations List<Property Map> - An array that contains of the read locations enabled for the Cosmos DB account.
- type String
- The type of Azure resource.
- write
Locations List<Property Map> - An array that contains the write location for the Cosmos DB account.
Supporting Types
ApiProperties, ApiPropertiesArgs
- Server
Version string | Pulumi.Azure Native. Document DB. Server Version - Describes the ServerVersion of an a MongoDB account.
- Server
Version string | ServerVersion - Describes the ServerVersion of an a MongoDB account.
- server
Version String | ServerVersion - Describes the ServerVersion of an a MongoDB account.
- server
Version string | ServerVersion - Describes the ServerVersion of an a MongoDB account.
- server_
version str | ServerVersion - Describes the ServerVersion of an a MongoDB account.
- server
Version String | "3.2" | "3.6" | "4.0" - Describes the ServerVersion of an a MongoDB account.
ApiPropertiesResponse, ApiPropertiesResponseArgs
- Server
Version string - Describes the ServerVersion of an a MongoDB account.
- Server
Version string - Describes the ServerVersion of an a MongoDB account.
- server
Version String - Describes the ServerVersion of an a MongoDB account.
- server
Version string - Describes the ServerVersion of an a MongoDB account.
- server_
version str - Describes the ServerVersion of an a MongoDB account.
- server
Version String - Describes the ServerVersion of an a MongoDB account.
Capability, CapabilityArgs
- Name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- Name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name String
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name str
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name String
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
CapabilityResponse, CapabilityResponseArgs
- Name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- Name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name String
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name string
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name str
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
- name String
- Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
ConnectorOffer, ConnectorOfferArgs
- Small
- Small
- Connector
Offer Small - Small
- Small
- Small
- Small
- Small
- SMALL
- Small
- "Small"
- Small
ConsistencyPolicy, ConsistencyPolicyArgs
- Default
Consistency Pulumi.Level Azure Native. Document DB. Default Consistency Level - The default consistency level and configuration settings of the Cosmos DB account.
- Max
Interval intIn Seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- Max
Staleness doublePrefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- Default
Consistency DefaultLevel Consistency Level - The default consistency level and configuration settings of the Cosmos DB account.
- Max
Interval intIn Seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- Max
Staleness float64Prefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- default
Consistency DefaultLevel Consistency Level - The default consistency level and configuration settings of the Cosmos DB account.
- max
Interval IntegerIn Seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- max
Staleness DoublePrefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- default
Consistency DefaultLevel Consistency Level - The default consistency level and configuration settings of the Cosmos DB account.
- max
Interval numberIn Seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- max
Staleness numberPrefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- default_
consistency_ Defaultlevel Consistency Level - The default consistency level and configuration settings of the Cosmos DB account.
- max_
interval_ intin_ seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- max_
staleness_ floatprefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- default
Consistency "Eventual" | "Session" | "BoundedLevel Staleness" | "Strong" | "Consistent Prefix" - The default consistency level and configuration settings of the Cosmos DB account.
- max
Interval NumberIn Seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- max
Staleness NumberPrefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
ConsistencyPolicyResponse, ConsistencyPolicyResponseArgs
- Default
Consistency stringLevel - The default consistency level and configuration settings of the Cosmos DB account.
- Max
Interval intIn Seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- Max
Staleness doublePrefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- Default
Consistency stringLevel - The default consistency level and configuration settings of the Cosmos DB account.
- Max
Interval intIn Seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- Max
Staleness float64Prefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- default
Consistency StringLevel - The default consistency level and configuration settings of the Cosmos DB account.
- max
Interval IntegerIn Seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- max
Staleness DoublePrefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- default
Consistency stringLevel - The default consistency level and configuration settings of the Cosmos DB account.
- max
Interval numberIn Seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- max
Staleness numberPrefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- default_
consistency_ strlevel - The default consistency level and configuration settings of the Cosmos DB account.
- max_
interval_ intin_ seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- max_
staleness_ floatprefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- default
Consistency StringLevel - The default consistency level and configuration settings of the Cosmos DB account.
- max
Interval NumberIn Seconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
- max
Staleness NumberPrefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
ContinuousModeBackupPolicy, ContinuousModeBackupPolicyArgs
ContinuousModeBackupPolicyResponse, ContinuousModeBackupPolicyResponseArgs
CorsPolicy, CorsPolicyArgs
- Allowed
Origins string - The origin domains that are permitted to make a request against the service via CORS.
- Allowed
Headers string - The request headers that the origin domain may specify on the CORS request.
- Allowed
Methods string - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- Exposed
Headers string - 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 doubleIn Seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
- Allowed
Origins string - The origin domains that are permitted to make a request against the service via CORS.
- Allowed
Headers string - The request headers that the origin domain may specify on the CORS request.
- Allowed
Methods string - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- Exposed
Headers string - 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 float64In Seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowed
Origins String - The origin domains that are permitted to make a request against the service via CORS.
- allowed
Headers String - The request headers that the origin domain may specify on the CORS request.
- allowed
Methods String - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposed
Headers String - 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 DoubleIn Seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowed
Origins string - The origin domains that are permitted to make a request against the service via CORS.
- allowed
Headers string - The request headers that the origin domain may specify on the CORS request.
- allowed
Methods string - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposed
Headers string - 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 numberIn Seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowed_
origins str - The origin domains that are permitted to make a request against the service via CORS.
- allowed_
headers str - The request headers that the origin domain may specify on the CORS request.
- allowed_
methods str - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposed_
headers str - The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- max_
age_ floatin_ seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowed
Origins String - The origin domains that are permitted to make a request against the service via CORS.
- allowed
Headers String - The request headers that the origin domain may specify on the CORS request.
- allowed
Methods String - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposed
Headers String - 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 NumberIn Seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
CorsPolicyResponse, CorsPolicyResponseArgs
- Allowed
Origins string - The origin domains that are permitted to make a request against the service via CORS.
- Allowed
Headers string - The request headers that the origin domain may specify on the CORS request.
- Allowed
Methods string - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- Exposed
Headers string - 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 doubleIn Seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
- Allowed
Origins string - The origin domains that are permitted to make a request against the service via CORS.
- Allowed
Headers string - The request headers that the origin domain may specify on the CORS request.
- Allowed
Methods string - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- Exposed
Headers string - 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 float64In Seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowed
Origins String - The origin domains that are permitted to make a request against the service via CORS.
- allowed
Headers String - The request headers that the origin domain may specify on the CORS request.
- allowed
Methods String - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposed
Headers String - 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 DoubleIn Seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowed
Origins string - The origin domains that are permitted to make a request against the service via CORS.
- allowed
Headers string - The request headers that the origin domain may specify on the CORS request.
- allowed
Methods string - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposed
Headers string - 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 numberIn Seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowed_
origins str - The origin domains that are permitted to make a request against the service via CORS.
- allowed_
headers str - The request headers that the origin domain may specify on the CORS request.
- allowed_
methods str - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposed_
headers str - The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
- max_
age_ floatin_ seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
- allowed
Origins String - The origin domains that are permitted to make a request against the service via CORS.
- allowed
Headers String - The request headers that the origin domain may specify on the CORS request.
- allowed
Methods String - The methods (HTTP request verbs) that the origin domain may use for a CORS request.
- exposed
Headers String - 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 NumberIn Seconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
DatabaseAccountKind, DatabaseAccountKindArgs
- Global
Document DB - GlobalDocumentDB
- Mongo
DB - MongoDB
- Parse
- Parse
- Database
Account Kind Global Document DB - GlobalDocumentDB
- Database
Account Kind Mongo DB - MongoDB
- Database
Account Kind Parse - Parse
- Global
Document DB - GlobalDocumentDB
- Mongo
DB - MongoDB
- Parse
- Parse
- Global
Document DB - GlobalDocumentDB
- Mongo
DB - MongoDB
- Parse
- Parse
- GLOBAL_DOCUMENT_DB
- GlobalDocumentDB
- MONGO_DB
- MongoDB
- PARSE
- Parse
- "Global
Document DB" - GlobalDocumentDB
- "Mongo
DB" - MongoDB
- "Parse"
- Parse
DatabaseAccountOfferType, DatabaseAccountOfferTypeArgs
- Standard
- Standard
- Database
Account Offer Type Standard - Standard
- Standard
- Standard
- Standard
- Standard
- STANDARD
- Standard
- "Standard"
- Standard
DefaultConsistencyLevel, DefaultConsistencyLevelArgs
- Eventual
- Eventual
- Session
- Session
- Bounded
Staleness - BoundedStaleness
- Strong
- Strong
- Consistent
Prefix - ConsistentPrefix
- Default
Consistency Level Eventual - Eventual
- Default
Consistency Level Session - Session
- Default
Consistency Level Bounded Staleness - BoundedStaleness
- Default
Consistency Level Strong - Strong
- Default
Consistency Level Consistent Prefix - ConsistentPrefix
- Eventual
- Eventual
- Session
- Session
- Bounded
Staleness - BoundedStaleness
- Strong
- Strong
- Consistent
Prefix - ConsistentPrefix
- Eventual
- Eventual
- Session
- Session
- Bounded
Staleness - BoundedStaleness
- Strong
- Strong
- Consistent
Prefix - ConsistentPrefix
- EVENTUAL
- Eventual
- SESSION
- Session
- BOUNDED_STALENESS
- BoundedStaleness
- STRONG
- Strong
- CONSISTENT_PREFIX
- ConsistentPrefix
- "Eventual"
- Eventual
- "Session"
- Session
- "Bounded
Staleness" - BoundedStaleness
- "Strong"
- Strong
- "Consistent
Prefix" - ConsistentPrefix
FailoverPolicyResponse, FailoverPolicyResponseArgs
- Id string
- 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 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>.
- 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 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>.
- failover
Priority 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.
- location
Name 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>.
- failover
Priority 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.
- location
Name 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>.
- failover
Priority 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.
- location
Name String - The name of the region in which the database account exists.
IpAddressOrRange, IpAddressOrRangeArgs
- Ip
Address stringOr Range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- Ip
Address stringOr Range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ip
Address StringOr Range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ip
Address stringOr Range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ip_
address_ stror_ range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ip
Address StringOr Range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
IpAddressOrRangeResponse, IpAddressOrRangeResponseArgs
- Ip
Address stringOr Range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- Ip
Address stringOr Range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ip
Address StringOr Range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ip
Address stringOr Range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ip_
address_ stror_ range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
- ip
Address StringOr Range - A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
Location, LocationArgs
- Failover
Priority int - The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- Is
Zone boolRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
- Location
Name string - The name of the region.
- Failover
Priority int - The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- Is
Zone boolRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
- Location
Name string - The name of the region.
- failover
Priority 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.
- is
Zone BooleanRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
- location
Name String - The name of the region.
- failover
Priority 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.
- is
Zone booleanRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
- location
Name string - The name of the region.
- failover_
priority int - The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- is_
zone_ boolredundant - Flag to indicate whether or not this region is an AvailabilityZone region
- location_
name str - The name of the region.
- failover
Priority 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.
- is
Zone BooleanRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
- location
Name String - The name of the region.
LocationResponse, LocationResponseArgs
- Document
Endpoint 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>.
- Provisioning
State 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.
- Failover
Priority int - The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- Is
Zone boolRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
- Location
Name string - The name of the region.
- Document
Endpoint 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>.
- Provisioning
State 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.
- Failover
Priority int - The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- Is
Zone boolRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
- Location
Name string - The name of the region.
- document
Endpoint 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>.
- provisioning
State 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.
- failover
Priority 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.
- is
Zone BooleanRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
- location
Name String - The name of the region.
- document
Endpoint 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>.
- provisioning
State 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.
- failover
Priority 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.
- is
Zone booleanRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
- location
Name string - The name of the region.
- document_
endpoint str - The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/
- id str
- The unique identifier of the region within the database account. Example: <accountName>-<locationName>.
- provisioning_
state str - The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.
- failover_
priority int - The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
- is_
zone_ boolredundant - Flag to indicate whether or not this region is an AvailabilityZone region
- location_
name str - The name of the region.
- document
Endpoint 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>.
- provisioning
State 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.
- failover
Priority 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.
- is
Zone BooleanRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
- location
Name String - The name of the region.
ManagedServiceIdentity, ManagedServiceIdentityArgs
- Type
Pulumi.
Azure Native. Document DB. Resource Identity Type - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- User
Assigned Dictionary<string, object>Identities - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- Type
Resource
Identity Type - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- User
Assigned map[string]interface{}Identities - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
Resource
Identity Type - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- user
Assigned Map<String,Object>Identities - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
Resource
Identity Type - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- user
Assigned {[key: string]: any}Identities - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
Resource
Identity Type - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- user_
assigned_ Mapping[str, Any]identities - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
"System
Assigned" | "User Assigned" | "System Assigned,User Assigned" | "None" - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- user
Assigned Map<Any>Identities - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs
- Principal
Id string - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Document DB. Inputs. Managed Service Identity Response User Assigned Identities> - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- Principal
Id string - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned map[string]ManagedIdentities Service Identity Response User Assigned Identities - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id String - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned Map<String,ManagedIdentities Service Identity Response User Assigned Identities> - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id string - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned {[key: string]: ManagedIdentities Service Identity Response User Assigned Identities} - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal_
id str - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
- user_
assigned_ Mapping[str, Managedidentities Service Identity Response User Assigned Identities] - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id String - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned Map<Property Map>Identities - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ManagedServiceIdentityResponseUserAssignedIdentities, ManagedServiceIdentityResponseUserAssignedIdentitiesArgs
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id 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.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
NetworkAclBypass, NetworkAclBypassArgs
- None
- None
- Azure
Services - AzureServices
- Network
Acl Bypass None - None
- Network
Acl Bypass Azure Services - AzureServices
- None
- None
- Azure
Services - AzureServices
- None
- None
- Azure
Services - AzureServices
- NONE
- None
- AZURE_SERVICES
- AzureServices
- "None"
- None
- "Azure
Services" - AzureServices
PeriodicModeBackupPolicy, PeriodicModeBackupPolicyArgs
- Periodic
Mode Pulumi.Properties Azure Native. Document DB. Inputs. Periodic Mode Properties - Configuration values for periodic mode backup
- Periodic
Mode PeriodicProperties Mode Properties - Configuration values for periodic mode backup
- periodic
Mode PeriodicProperties Mode Properties - Configuration values for periodic mode backup
- periodic
Mode PeriodicProperties Mode Properties - Configuration values for periodic mode backup
- periodic_
mode_ Periodicproperties Mode Properties - Configuration values for periodic mode backup
- periodic
Mode Property MapProperties - Configuration values for periodic mode backup
PeriodicModeBackupPolicyResponse, PeriodicModeBackupPolicyResponseArgs
- Periodic
Mode Pulumi.Properties Azure Native. Document DB. Inputs. Periodic Mode Properties Response - Configuration values for periodic mode backup
- Periodic
Mode PeriodicProperties Mode Properties Response - Configuration values for periodic mode backup
- periodic
Mode PeriodicProperties Mode Properties Response - Configuration values for periodic mode backup
- periodic
Mode PeriodicProperties Mode Properties Response - Configuration values for periodic mode backup
- periodic_
mode_ Periodicproperties Mode Properties Response - Configuration values for periodic mode backup
- periodic
Mode Property MapProperties - Configuration values for periodic mode backup
PeriodicModeProperties, PeriodicModePropertiesArgs
- Backup
Interval intIn Minutes - An integer representing the interval in minutes between two backups
- Backup
Retention intInterval In Hours - An integer representing the time (in hours) that each backup is retained
- Backup
Interval intIn Minutes - An integer representing the interval in minutes between two backups
- Backup
Retention intInterval In Hours - An integer representing the time (in hours) that each backup is retained
- backup
Interval IntegerIn Minutes - An integer representing the interval in minutes between two backups
- backup
Retention IntegerInterval In Hours - An integer representing the time (in hours) that each backup is retained
- backup
Interval numberIn Minutes - An integer representing the interval in minutes between two backups
- backup
Retention numberInterval In Hours - An integer representing the time (in hours) that each backup is retained
- backup_
interval_ intin_ minutes - An integer representing the interval in minutes between two backups
- backup_
retention_ intinterval_ in_ hours - An integer representing the time (in hours) that each backup is retained
- backup
Interval NumberIn Minutes - An integer representing the interval in minutes between two backups
- backup
Retention NumberInterval In Hours - An integer representing the time (in hours) that each backup is retained
PeriodicModePropertiesResponse, PeriodicModePropertiesResponseArgs
- Backup
Interval intIn Minutes - An integer representing the interval in minutes between two backups
- Backup
Retention intInterval In Hours - An integer representing the time (in hours) that each backup is retained
- Backup
Interval intIn Minutes - An integer representing the interval in minutes between two backups
- Backup
Retention intInterval In Hours - An integer representing the time (in hours) that each backup is retained
- backup
Interval IntegerIn Minutes - An integer representing the interval in minutes between two backups
- backup
Retention IntegerInterval In Hours - An integer representing the time (in hours) that each backup is retained
- backup
Interval numberIn Minutes - An integer representing the interval in minutes between two backups
- backup
Retention numberInterval In Hours - An integer representing the time (in hours) that each backup is retained
- backup_
interval_ intin_ minutes - An integer representing the interval in minutes between two backups
- backup_
retention_ intinterval_ in_ hours - An integer representing the time (in hours) that each backup is retained
- backup
Interval NumberIn Minutes - An integer representing the interval in minutes between two backups
- backup
Retention NumberInterval In Hours - An integer representing the time (in hours) that each backup is retained
PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Group
Id string - Group id of the private endpoint.
- Private
Endpoint Pulumi.Azure Native. Document DB. Inputs. Private Endpoint Property Response - Private endpoint which the connection belongs to.
- Private
Link Pulumi.Service Connection State Azure Native. Document DB. Inputs. Private Link Service Connection State Property Response - Connection State of the Private Endpoint Connection.
- Provisioning
State 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"
- Group
Id string - Group id of the private endpoint.
- Private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- Private
Link PrivateService Connection State Link Service Connection State Property Response - Connection State of the Private Endpoint Connection.
- Provisioning
State 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"
- group
Id String - Group id of the private endpoint.
- private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private
Link PrivateService Connection State Link Service Connection State Property Response - Connection State of the Private Endpoint Connection.
- provisioning
State 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"
- group
Id string - Group id of the private endpoint.
- private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private
Link PrivateService Connection State Link Service Connection State Property Response - Connection State of the Private Endpoint Connection.
- provisioning
State string - Provisioning state of the private endpoint.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- group_
id str - Group id of the private endpoint.
- private_
endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private_
link_ Privateservice_ connection_ state Link Service Connection State Property Response - Connection State of the Private Endpoint Connection.
- provisioning_
state str - Provisioning state of the private endpoint.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- group
Id String - Group id of the private endpoint.
- private
Endpoint Property Map - Private endpoint which the connection belongs to.
- private
Link Property MapService Connection State - Connection State of the Private Endpoint Connection.
- provisioning
State String - Provisioning state of the private endpoint.
PrivateEndpointPropertyResponse, PrivateEndpointPropertyResponseArgs
- Id string
- Resource id of the private endpoint.
- Id string
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
- id string
- Resource id of the private endpoint.
- id str
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
PrivateLinkServiceConnectionStatePropertyResponse, PrivateLinkServiceConnectionStatePropertyResponseArgs
- Actions
Required 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 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 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 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.
- actions
Required String - Any action that is required beyond basic workflow (approve/ reject/ disconnect)
- description String
- The private link service connection description.
- status String
- The private link service connection status.
PublicNetworkAccess, PublicNetworkAccessArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Public
Network Access Enabled - Enabled
- Public
Network Access Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
ResourceIdentityType, ResourceIdentityTypeArgs
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- Resource
Identity Type System Assigned - SystemAssigned
- Resource
Identity Type User Assigned - UserAssigned
- Resource
Identity Type_System Assigned_User Assigned - SystemAssigned,UserAssigned
- Resource
Identity Type None - None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- NONE
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned,User Assigned" - SystemAssigned,UserAssigned
- "None"
- None
ServerVersion, ServerVersionArgs
- Server
Version_3_2 - 3.2
- Server
Version_3_6 - 3.6
- Server
Version_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
- Server
Version_3_2 - 3.2
- Server
Version_3_6 - 3.6
- Server
Version_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, VirtualNetworkRuleArgs
- Id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- Ignore
Missing boolVNet Service Endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
- Id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- Ignore
Missing boolVNet Service Endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
- id String
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignore
Missing BooleanVNet Service Endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
- id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignore
Missing booleanVNet Service Endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
- id str
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignore_
missing_ boolv_ net_ service_ endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
- id String
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignore
Missing BooleanVNet Service Endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
VirtualNetworkRuleResponse, VirtualNetworkRuleResponseArgs
- Id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- Ignore
Missing boolVNet Service Endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
- Id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- Ignore
Missing boolVNet Service Endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
- id String
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignore
Missing BooleanVNet Service Endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
- id string
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignore
Missing booleanVNet Service Endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
- id str
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignore_
missing_ boolv_ net_ service_ endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
- id String
- Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
- ignore
Missing BooleanVNet Service Endpoint - Create firewall rule before the virtual network has vnet service endpoint enabled.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:documentdb:DatabaseAccount ddb1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0