Class AccountArgs
Inherited Members
Namespace: Pulumi.Azure.CosmosDB
Assembly: Pulumi.Azure.dll
Syntax
public sealed class AccountArgs : ResourceArgs
Constructors
View SourceAccountArgs()
Declaration
public AccountArgs()
Properties
View SourceCapabilities
The capabilities which should be enabled for this Cosmos DB account. Possible values are EnableAggregationPipeline, EnableCassandra, EnableGremlin, EnableTable, MongoDBv3.4, and mongoEnableDocLevelTTL.
Declaration
public InputList<AccountCapabilityArgs> Capabilities { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AccountCapabilityArgs> |
ConsistencyPolicy
Specifies a consistency_policy resource, used to define the consistency policy for this CosmosDB account.
Declaration
public Input<AccountConsistencyPolicyArgs> ConsistencyPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<AccountConsistencyPolicyArgs> |
EnableAutomaticFailover
Enable automatic fail over for this Cosmos DB account.
Declaration
public Input<bool> EnableAutomaticFailover { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EnableMultipleWriteLocations
Enable multi-master support for this Cosmos DB account.
Declaration
public Input<bool> EnableMultipleWriteLocations { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
GeoLocations
Specifies a geo_location resource, used to define where data should be replicated with the failover_priority 0 specifying the primary location.
Declaration
public InputList<AccountGeoLocationArgs> GeoLocations { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AccountGeoLocationArgs> |
IpRangeFilter
CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IP's for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.
Declaration
public Input<string> IpRangeFilter { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IsVirtualNetworkFilterEnabled
Enables virtual network filtering for this Cosmos DB account.
Declaration
public Input<bool> IsVirtualNetworkFilterEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Kind
Specifies the Kind of CosmosDB to create - possible values are GlobalDocumentDB and MongoDB. Defaults to GlobalDocumentDB. Changing this forces a new resource to be created.
Declaration
public Input<string> Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Location
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Input<string> Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OfferType
Specifies the Offer Type to use for this CosmosDB Account - currently this can only be set to Standard.
Declaration
public Input<string> OfferType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
VirtualNetworkRules
Specifies a virtual_network_rules resource, used to define which subnets are allowed to access this CosmosDB account.
Declaration
public InputList<AccountVirtualNetworkRuleArgs> VirtualNetworkRules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AccountVirtualNetworkRuleArgs> |