Show / Hide Table of Contents

Class AccountArgs

Inheritance
System.Object
InputArgs
ResourceArgs
AccountArgs
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 AccountArgs : ResourceArgs

Constructors

View Source

AccountArgs()

Declaration
public AccountArgs()

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<AccountCapabilityArgs> Capabilities { get; set; }
Property Value
Type Description
InputList<AccountCapabilityArgs>
View Source

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

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

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

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<AccountVirtualNetworkRuleArgs> VirtualNetworkRules { get; set; }
Property Value
Type Description
InputList<AccountVirtualNetworkRuleArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.