Class SqlContainerArgs
Inherited Members
Namespace: Pulumi.Azure.CosmosDB
Assembly: Pulumi.Azure.dll
Syntax
public sealed class SqlContainerArgs : ResourceArgs
Constructors
View SourceSqlContainerArgs()
Declaration
public SqlContainerArgs()
Properties
View SourceAccountName
The name of the Cosmos DB Account to create the container within. Changing this forces a new resource to be created.
Declaration
public Input<string> AccountName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DatabaseName
The name of the Cosmos DB SQL Database to create the container within. Changing this forces a new resource to be created.
Declaration
public Input<string> DatabaseName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DefaultTtl
The default time to live of SQL container. If missing, items are not expired automatically. If present and the value is set to -1, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number n – items will expire n seconds after their last modified time.
Declaration
public Input<int> DefaultTtl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Name
Specifies the name of the Cosmos DB SQL Database. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PartitionKeyPath
Define a partition key. Changing this forces a new resource to be created.
Declaration
public Input<string> PartitionKeyPath { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the resource group in which the Cosmos DB SQL Database 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> |
Throughput
The throughput of SQL container (RU/s). Must be set in increments of 100. The minimum value is 400. This must be set upon container 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> |
UniqueKeys
One or more unique_key blocks as defined below. Changing this forces a new resource to be created.
Declaration
public InputList<SqlContainerUniqueKeyArgs> UniqueKeys { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<SqlContainerUniqueKeyArgs> |