Show / Hide Table of Contents

Class AccountState

Inheritance
System.Object
InputArgs
ResourceArgs
AccountState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.CosmosDB
Assembly: Pulumi.Azure.dll
Syntax
public sealed class AccountState : ResourceArgs

Constructors

View Source

AccountState()

Declaration
public AccountState()

Properties

View Source

Capabilities

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>
View Source

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>
View Source

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>
View Source

EnableAutomaticFailover

Enable automatic fail over for this Cosmos DB account.

Declaration
public Input<bool> EnableAutomaticFailover { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

EnableMultipleWriteLocations

Enable multi-master support for this Cosmos DB account.

Declaration
public Input<bool> EnableMultipleWriteLocations { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Endpoint

The endpoint used to connect to the CosmosDB account.

Declaration
public Input<string> Endpoint { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

IsVirtualNetworkFilterEnabled

Enables virtual network filtering for this Cosmos DB account.

Declaration
public Input<bool> IsVirtualNetworkFilterEnabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

PrimaryMasterKey

The Primary master key for the CosmosDB Account.

Declaration
public Input<string> PrimaryMasterKey { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

SecondaryMasterKey

The Secondary master key for the CosmosDB Account.

Declaration
public Input<string> SecondaryMasterKey { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public InputMap<string> Tags { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.