azure-native.documentdb.CassandraDataCenter
Explore with Pulumi AI
A managed Cassandra data center. API Version: 2021-03-01-preview.
Example Usage
CosmosDBManagedCassandraDataCenterCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cassandraDataCenter = new AzureNative.DocumentDB.CassandraDataCenter("cassandraDataCenter", new()
{
ClusterName = "cassandra-prod",
DataCenterName = "dc1",
Properties = new AzureNative.DocumentDB.Inputs.DataCenterResourcePropertiesArgs
{
Base64EncodedCassandraYamlFragment = "Y29tcGFjdGlvbl90aHJvdWdocHV0X21iX3Blcl9zZWM6IDMyCmNvbXBhY3Rpb25fbGFyZ2VfcGFydGl0aW9uX3dhcm5pbmdfdGhyZXNob2xkX21iOiAxMDA=",
DataCenterLocation = "West US 2",
DelegatedSubnetId = "/subscriptions/536e130b-d7d6-4ac7-98a5-de20d69588d2/resourceGroups/customer-vnet-rg/providers/Microsoft.Network/virtualNetworks/customer-vnet/subnets/dc1-subnet",
NodeCount = 9,
},
ResourceGroupName = "cassandra-prod-rg",
});
});
package main
import (
documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := documentdb.NewCassandraDataCenter(ctx, "cassandraDataCenter", &documentdb.CassandraDataCenterArgs{
ClusterName: pulumi.String("cassandra-prod"),
DataCenterName: pulumi.String("dc1"),
Properties: &documentdb.DataCenterResourcePropertiesArgs{
Base64EncodedCassandraYamlFragment: pulumi.String("Y29tcGFjdGlvbl90aHJvdWdocHV0X21iX3Blcl9zZWM6IDMyCmNvbXBhY3Rpb25fbGFyZ2VfcGFydGl0aW9uX3dhcm5pbmdfdGhyZXNob2xkX21iOiAxMDA="),
DataCenterLocation: pulumi.String("West US 2"),
DelegatedSubnetId: pulumi.String("/subscriptions/536e130b-d7d6-4ac7-98a5-de20d69588d2/resourceGroups/customer-vnet-rg/providers/Microsoft.Network/virtualNetworks/customer-vnet/subnets/dc1-subnet"),
NodeCount: pulumi.Int(9),
},
ResourceGroupName: pulumi.String("cassandra-prod-rg"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.documentdb.CassandraDataCenter;
import com.pulumi.azurenative.documentdb.CassandraDataCenterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cassandraDataCenter = new CassandraDataCenter("cassandraDataCenter", CassandraDataCenterArgs.builder()
.clusterName("cassandra-prod")
.dataCenterName("dc1")
.properties(Map.ofEntries(
Map.entry("base64EncodedCassandraYamlFragment", "Y29tcGFjdGlvbl90aHJvdWdocHV0X21iX3Blcl9zZWM6IDMyCmNvbXBhY3Rpb25fbGFyZ2VfcGFydGl0aW9uX3dhcm5pbmdfdGhyZXNob2xkX21iOiAxMDA="),
Map.entry("dataCenterLocation", "West US 2"),
Map.entry("delegatedSubnetId", "/subscriptions/536e130b-d7d6-4ac7-98a5-de20d69588d2/resourceGroups/customer-vnet-rg/providers/Microsoft.Network/virtualNetworks/customer-vnet/subnets/dc1-subnet"),
Map.entry("nodeCount", 9)
))
.resourceGroupName("cassandra-prod-rg")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cassandra_data_center = azure_native.documentdb.CassandraDataCenter("cassandraDataCenter",
cluster_name="cassandra-prod",
data_center_name="dc1",
properties=azure_native.documentdb.DataCenterResourcePropertiesArgs(
base64_encoded_cassandra_yaml_fragment="Y29tcGFjdGlvbl90aHJvdWdocHV0X21iX3Blcl9zZWM6IDMyCmNvbXBhY3Rpb25fbGFyZ2VfcGFydGl0aW9uX3dhcm5pbmdfdGhyZXNob2xkX21iOiAxMDA=",
data_center_location="West US 2",
delegated_subnet_id="/subscriptions/536e130b-d7d6-4ac7-98a5-de20d69588d2/resourceGroups/customer-vnet-rg/providers/Microsoft.Network/virtualNetworks/customer-vnet/subnets/dc1-subnet",
node_count=9,
),
resource_group_name="cassandra-prod-rg")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cassandraDataCenter = new azure_native.documentdb.CassandraDataCenter("cassandraDataCenter", {
clusterName: "cassandra-prod",
dataCenterName: "dc1",
properties: {
base64EncodedCassandraYamlFragment: "Y29tcGFjdGlvbl90aHJvdWdocHV0X21iX3Blcl9zZWM6IDMyCmNvbXBhY3Rpb25fbGFyZ2VfcGFydGl0aW9uX3dhcm5pbmdfdGhyZXNob2xkX21iOiAxMDA=",
dataCenterLocation: "West US 2",
delegatedSubnetId: "/subscriptions/536e130b-d7d6-4ac7-98a5-de20d69588d2/resourceGroups/customer-vnet-rg/providers/Microsoft.Network/virtualNetworks/customer-vnet/subnets/dc1-subnet",
nodeCount: 9,
},
resourceGroupName: "cassandra-prod-rg",
});
resources:
cassandraDataCenter:
type: azure-native:documentdb:CassandraDataCenter
properties:
clusterName: cassandra-prod
dataCenterName: dc1
properties:
base64EncodedCassandraYamlFragment: Y29tcGFjdGlvbl90aHJvdWdocHV0X21iX3Blcl9zZWM6IDMyCmNvbXBhY3Rpb25fbGFyZ2VfcGFydGl0aW9uX3dhcm5pbmdfdGhyZXNob2xkX21iOiAxMDA=
dataCenterLocation: West US 2
delegatedSubnetId: /subscriptions/536e130b-d7d6-4ac7-98a5-de20d69588d2/resourceGroups/customer-vnet-rg/providers/Microsoft.Network/virtualNetworks/customer-vnet/subnets/dc1-subnet
nodeCount: 9
resourceGroupName: cassandra-prod-rg
Create CassandraDataCenter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CassandraDataCenter(name: string, args: CassandraDataCenterArgs, opts?: CustomResourceOptions);
@overload
def CassandraDataCenter(resource_name: str,
args: CassandraDataCenterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CassandraDataCenter(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
data_center_name: Optional[str] = None,
properties: Optional[DataCenterResourcePropertiesArgs] = None)
func NewCassandraDataCenter(ctx *Context, name string, args CassandraDataCenterArgs, opts ...ResourceOption) (*CassandraDataCenter, error)
public CassandraDataCenter(string name, CassandraDataCenterArgs args, CustomResourceOptions? opts = null)
public CassandraDataCenter(String name, CassandraDataCenterArgs args)
public CassandraDataCenter(String name, CassandraDataCenterArgs args, CustomResourceOptions options)
type: azure-native:documentdb:CassandraDataCenter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CassandraDataCenterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CassandraDataCenterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CassandraDataCenterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CassandraDataCenterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CassandraDataCenterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cassandraDataCenterResource = new AzureNative.Documentdb.CassandraDataCenter("cassandraDataCenterResource", new()
{
ClusterName = "string",
ResourceGroupName = "string",
DataCenterName = "string",
Properties =
{
{ "base64EncodedCassandraYamlFragment", "string" },
{ "dataCenterLocation", "string" },
{ "delegatedSubnetId", "string" },
{ "nodeCount", 0 },
{ "provisioningState", "string" },
},
});
example, err := documentdb.NewCassandraDataCenter(ctx, "cassandraDataCenterResource", &documentdb.CassandraDataCenterArgs{
ClusterName: "string",
ResourceGroupName: "string",
DataCenterName: "string",
Properties: map[string]interface{}{
"base64EncodedCassandraYamlFragment": "string",
"dataCenterLocation": "string",
"delegatedSubnetId": "string",
"nodeCount": 0,
"provisioningState": "string",
},
})
var cassandraDataCenterResource = new CassandraDataCenter("cassandraDataCenterResource", CassandraDataCenterArgs.builder()
.clusterName("string")
.resourceGroupName("string")
.dataCenterName("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
cassandra_data_center_resource = azure_native.documentdb.CassandraDataCenter("cassandraDataCenterResource",
cluster_name=string,
resource_group_name=string,
data_center_name=string,
properties={
base64EncodedCassandraYamlFragment: string,
dataCenterLocation: string,
delegatedSubnetId: string,
nodeCount: 0,
provisioningState: string,
})
const cassandraDataCenterResource = new azure_native.documentdb.CassandraDataCenter("cassandraDataCenterResource", {
clusterName: "string",
resourceGroupName: "string",
dataCenterName: "string",
properties: {
base64EncodedCassandraYamlFragment: "string",
dataCenterLocation: "string",
delegatedSubnetId: "string",
nodeCount: 0,
provisioningState: "string",
},
});
type: azure-native:documentdb:CassandraDataCenter
properties:
clusterName: string
dataCenterName: string
properties:
base64EncodedCassandraYamlFragment: string
dataCenterLocation: string
delegatedSubnetId: string
nodeCount: 0
provisioningState: string
resourceGroupName: string
CassandraDataCenter Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CassandraDataCenter resource accepts the following input properties:
- Cluster
Name string - Managed Cassandra cluster name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Data
Center stringName - Data center name in a managed Cassandra cluster.
- Properties
Pulumi.
Azure Native. Document DB. Inputs. Data Center Resource Properties - Properties of a managed Cassandra data center.
- Cluster
Name string - Managed Cassandra cluster name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Data
Center stringName - Data center name in a managed Cassandra cluster.
- Properties
Data
Center Resource Properties Args - Properties of a managed Cassandra data center.
- cluster
Name String - Managed Cassandra cluster name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- data
Center StringName - Data center name in a managed Cassandra cluster.
- properties
Data
Center Resource Properties - Properties of a managed Cassandra data center.
- cluster
Name string - Managed Cassandra cluster name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- data
Center stringName - Data center name in a managed Cassandra cluster.
- properties
Data
Center Resource Properties - Properties of a managed Cassandra data center.
- cluster_
name str - Managed Cassandra cluster name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- data_
center_ strname - Data center name in a managed Cassandra cluster.
- properties
Data
Center Resource Properties Args - Properties of a managed Cassandra data center.
- cluster
Name String - Managed Cassandra cluster name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- data
Center StringName - Data center name in a managed Cassandra cluster.
- properties Property Map
- Properties of a managed Cassandra data center.
Outputs
All input properties are implicitly available as output properties. Additionally, the CassandraDataCenter resource produces the following output properties:
Supporting Types
DataCenterResourceProperties, DataCenterResourcePropertiesArgs
- Base64Encoded
Cassandra stringYaml Fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- Data
Center stringLocation - The region this data center should be created in.
- Delegated
Subnet stringId - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- Node
Count int - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- Provisioning
State string | Pulumi.Azure Native. Document DB. Managed Cassandra Provisioning State - The status of the resource at the time the operation was called.
- Base64Encoded
Cassandra stringYaml Fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- Data
Center stringLocation - The region this data center should be created in.
- Delegated
Subnet stringId - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- Node
Count int - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- Provisioning
State string | ManagedCassandra Provisioning State - The status of the resource at the time the operation was called.
- base64Encoded
Cassandra StringYaml Fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- data
Center StringLocation - The region this data center should be created in.
- delegated
Subnet StringId - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- node
Count Integer - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- provisioning
State String | ManagedCassandra Provisioning State - The status of the resource at the time the operation was called.
- base64Encoded
Cassandra stringYaml Fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- data
Center stringLocation - The region this data center should be created in.
- delegated
Subnet stringId - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- node
Count number - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- provisioning
State string | ManagedCassandra Provisioning State - The status of the resource at the time the operation was called.
- base64_
encoded_ strcassandra_ yaml_ fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- data_
center_ strlocation - The region this data center should be created in.
- delegated_
subnet_ strid - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- node_
count int - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- provisioning_
state str | ManagedCassandra Provisioning State - The status of the resource at the time the operation was called.
- base64Encoded
Cassandra StringYaml Fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- data
Center StringLocation - The region this data center should be created in.
- delegated
Subnet StringId - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- node
Count Number - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- provisioning
State String | "Creating" | "Updating" | "Deleting" | "Succeeded" | "Failed" | "Canceled" - The status of the resource at the time the operation was called.
DataCenterResourceResponseProperties, DataCenterResourceResponsePropertiesArgs
- Seed
Nodes List<Pulumi.Azure Native. Document DB. Inputs. Seed Node Response> - IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster.
- Base64Encoded
Cassandra stringYaml Fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- Data
Center stringLocation - The region this data center should be created in.
- Delegated
Subnet stringId - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- Node
Count int - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- Provisioning
State string - The status of the resource at the time the operation was called.
- Seed
Nodes []SeedNode Response - IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster.
- Base64Encoded
Cassandra stringYaml Fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- Data
Center stringLocation - The region this data center should be created in.
- Delegated
Subnet stringId - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- Node
Count int - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- Provisioning
State string - The status of the resource at the time the operation was called.
- seed
Nodes List<SeedNode Response> - IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster.
- base64Encoded
Cassandra StringYaml Fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- data
Center StringLocation - The region this data center should be created in.
- delegated
Subnet StringId - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- node
Count Integer - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- provisioning
State String - The status of the resource at the time the operation was called.
- seed
Nodes SeedNode Response[] - IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster.
- base64Encoded
Cassandra stringYaml Fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- data
Center stringLocation - The region this data center should be created in.
- delegated
Subnet stringId - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- node
Count number - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- provisioning
State string - The status of the resource at the time the operation was called.
- seed_
nodes Sequence[SeedNode Response] - IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster.
- base64_
encoded_ strcassandra_ yaml_ fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- data_
center_ strlocation - The region this data center should be created in.
- delegated_
subnet_ strid - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- node_
count int - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- provisioning_
state str - The status of the resource at the time the operation was called.
- seed
Nodes List<Property Map> - IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster.
- base64Encoded
Cassandra StringYaml Fragment - A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed.
- data
Center StringLocation - The region this data center should be created in.
- delegated
Subnet StringId - Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
- node
Count Number - The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster.
- provisioning
State String - The status of the resource at the time the operation was called.
ManagedCassandraProvisioningState, ManagedCassandraProvisioningStateArgs
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Failed
- Failed
- Canceled
- Canceled
- Managed
Cassandra Provisioning State Creating - Creating
- Managed
Cassandra Provisioning State Updating - Updating
- Managed
Cassandra Provisioning State Deleting - Deleting
- Managed
Cassandra Provisioning State Succeeded - Succeeded
- Managed
Cassandra Provisioning State Failed - Failed
- Managed
Cassandra Provisioning State Canceled - Canceled
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Failed
- Failed
- Canceled
- Canceled
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Failed
- Failed
- Canceled
- Canceled
- CREATING
- Creating
- UPDATING
- Updating
- DELETING
- Deleting
- SUCCEEDED
- Succeeded
- FAILED
- Failed
- CANCELED
- Canceled
- "Creating"
- Creating
- "Updating"
- Updating
- "Deleting"
- Deleting
- "Succeeded"
- Succeeded
- "Failed"
- Failed
- "Canceled"
- Canceled
SeedNodeResponse, SeedNodeResponseArgs
- Ip
Address string - IP address of this seed node.
- Ip
Address string - IP address of this seed node.
- ip
Address String - IP address of this seed node.
- ip
Address string - IP address of this seed node.
- ip_
address str - IP address of this seed node.
- ip
Address String - IP address of this seed node.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:documentdb:CassandraDataCenter dc1 /subscriptions/subid/resourceGroups/cassandra-prod-rg/providers/Microsoft.DocumentDB/cassandraClusters/cassandra-prod/dataCenters/dc1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0