Class AccountState
Inherited Members
Namespace: Pulumi.Azure.CosmosDB
Assembly: Pulumi.Azure.dll
Syntax
public sealed class AccountState : ResourceArgs
Constructors
View SourceAccountState()
Declaration
public AccountState()
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<AccountCapabilityGetArgs> Capabilities { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AccountCapabilityGetArgs> |
ConnectionStrings
A list of connection strings available for this CosmosDB account.
Declaration
public InputList<string> ConnectionStrings { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
ConsistencyPolicy
Specifies a consistency_policy resource, used to define the consistency policy for this CosmosDB account.
Declaration
public Input<AccountConsistencyPolicyGetArgs> ConsistencyPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<AccountConsistencyPolicyGetArgs> |
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> |
Endpoint
The endpoint used to connect to the CosmosDB account.
Declaration
public Input<string> Endpoint { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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<AccountGeoLocationGetArgs> GeoLocations { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AccountGeoLocationGetArgs> |
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> |
PrimaryMasterKey
The Primary master key for the CosmosDB Account.
Declaration
public Input<string> PrimaryMasterKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PrimaryReadonlyMasterKey
The Primary read-only master Key for the CosmosDB Account.
Declaration
public Input<string> PrimaryReadonlyMasterKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ReadEndpoints
A list of read endpoints available for this CosmosDB account.
Declaration
public InputList<string> ReadEndpoints { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<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> |
SecondaryMasterKey
The Secondary master key for the CosmosDB Account.
Declaration
public Input<string> SecondaryMasterKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecondaryReadonlyMasterKey
The Secondary read-only master key for the CosmosDB Account.
Declaration
public Input<string> SecondaryReadonlyMasterKey { 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<AccountVirtualNetworkRuleGetArgs> VirtualNetworkRules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AccountVirtualNetworkRuleGetArgs> |
WriteEndpoints
A list of write endpoints available for this CosmosDB account.
Declaration
public InputList<string> WriteEndpoints { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |