Class MongoCollectionState
Inheritance
System.Object
MongoCollectionState
Inherited Members
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()
Assembly: Pulumi.Azure.dll
Syntax
public sealed class MongoCollectionState : ResourceArgs
Constructors
View Source
MongoCollectionState()
Declaration
public MongoCollectionState()
Properties
View Source
AccountName
Declaration
public Input<string> AccountName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DatabaseName
The name of the Cosmos DB Mongo Database in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
Declaration
public Input<string> DatabaseName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DefaultTtlSeconds
The default Time To Live in seconds. If the value is 0 items are not automatically expired.
Declaration
public Input<int> DefaultTtlSeconds { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Indices
One or more index blocks as defined below.
Declaration
public InputList<MongoCollectionIndexGetArgs> Indices { get; set; }
Property Value
View Source
Name
Specifies the name of the Cosmos DB Mongo Collection. 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
ResourceGroupName
The name of the resource group in which the Cosmos DB Mongo Collection 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
ShardKey
The name of the key to partition on for sharding. There must not be any other unique index keys.
Declaration
public Input<string> ShardKey { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SystemIndexes
One or more system_indexes blocks as defined below.
Declaration
public InputList<MongoCollectionSystemIndexGetArgs> SystemIndexes { get; set; }
Property Value
View Source
Throughput
The throughput of the MongoDB collection (RU/s). Must be set in increments of 100. The minimum value is 400. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
Declaration
public Input<int> Throughput { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|