Class CassandraKeyspace
Manages a Cassandra KeySpace within a Cosmos DB Account.
Inherited Members
Namespace: Pulumi.Azure.CosmosDB
Assembly: Pulumi.Azure.dll
Syntax
public class CassandraKeyspace : CustomResource
Constructors
View SourceCassandraKeyspace(String, CassandraKeyspaceArgs, CustomResourceOptions)
Create a CassandraKeyspace resource with the given unique name, arguments, and options.
Declaration
public CassandraKeyspace(string name, CassandraKeyspaceArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| CassandraKeyspaceArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccountName
The name of the Cosmos DB Cassandra KeySpace to create the table within. Changing this forces a new resource to be created.
Declaration
public Output<string> AccountName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Cosmos DB Cassandra KeySpace. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which the Cosmos DB Cassandra KeySpace is created. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Throughput
The throughput of Cassandra keyspace (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 Output<int> Throughput { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(String, Input<String>, CassandraKeyspaceState, CustomResourceOptions)
Get an existing CassandraKeyspace resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static CassandraKeyspace Get(string name, Input<string> id, CassandraKeyspaceState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| CassandraKeyspaceState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| CassandraKeyspace |