1. Packages
  2. CockroachDB Cloud
  3. API Docs
  4. Cluster
CockroachDB v0.9.2 published on Saturday, Feb 8, 2025 by pulumiverse

cockroach.Cluster

Explore with Pulumi AI

cockroach logo
CockroachDB v0.9.2 published on Saturday, Feb 8, 2025 by pulumiverse

    CockroachDB Cloud cluster.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cockroach.Cluster;
    import com.pulumi.cockroach.ClusterArgs;
    import com.pulumi.cockroach.inputs.ClusterDedicatedArgs;
    import com.pulumi.cockroach.inputs.ClusterRegionArgs;
    import com.pulumi.cockroach.inputs.ClusterBackupConfigArgs;
    import com.pulumi.cockroach.inputs.ClusterServerlessArgs;
    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 advanced = new Cluster("advanced", ClusterArgs.builder()
                .name("cockroach-advanced")
                .cloudProvider("GCP")
                .plan("ADVANCED")
                .dedicated(ClusterDedicatedArgs.builder()
                    .storage_gib(15)
                    .num_virtual_cpus(4)
                    .build())
                .regions(ClusterRegionArgs.builder()
                    .name("us-central1")
                    .node_count(1)
                    .build())
                .deleteProtection(true)
                .backupConfig(ClusterBackupConfigArgs.builder()
                    .enabled(true)
                    .frequency_minutes(60)
                    .retention_days(30)
                    .build())
                .build());
    
            var standard = new Cluster("standard", ClusterArgs.builder()
                .name("cockroach-standard")
                .cloudProvider("GCP")
                .plan("STANDARD")
                .serverless(ClusterServerlessArgs.builder()
                    .usage_limits(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .upgrade_type("AUTOMATIC")
                    .build())
                .regions(ClusterRegionArgs.builder()
                    .name("us-east1")
                    .build())
                .deleteProtection(false)
                .backupConfig(ClusterBackupConfigArgs.builder()
                    .enabled(true)
                    .frequency_minutes(60)
                    .retention_days(30)
                    .build())
                .build());
    
            var basic = new Cluster("basic", ClusterArgs.builder()
                .name("cockroach-basic")
                .cloudProvider("GCP")
                .plan("BASIC")
                .serverless()
                .regions(ClusterRegionArgs.builder()
                    .name("us-east1")
                    .build())
                .deleteProtection(false)
                .build());
    
        }
    }
    
    resources:
      advanced:
        type: cockroach:Cluster
        properties:
          name: cockroach-advanced
          cloudProvider: GCP
          plan: ADVANCED
          dedicated:
            storage_gib: 15
            num_virtual_cpus: 4
          regions:
            - name: us-central1
              node_count: 1
          deleteProtection: true
          backupConfig:
            enabled: true
            frequency_minutes: 60
            retention_days: 30
      standard:
        type: cockroach:Cluster
        properties:
          name: cockroach-standard
          cloudProvider: GCP
          plan: STANDARD
          serverless:
            usage_limits:
              provisionedVirtualCpus: 2
            upgrade_type: AUTOMATIC
          regions:
            - name: us-east1
          deleteProtection: false
          backupConfig:
            enabled: true
            frequency_minutes: 60
            retention_days: 30
      basic:
        type: cockroach:Cluster
        properties:
          name: cockroach-basic
          cloudProvider: GCP
          plan: BASIC
          serverless: {}
          regions:
            - name: us-east1
          deleteProtection: false
    

    Create Cluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
    @overload
    def Cluster(resource_name: str,
                args: ClusterArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Cluster(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                cloud_provider: Optional[str] = None,
                regions: Optional[Sequence[ClusterRegionArgs]] = None,
                backup_config: Optional[ClusterBackupConfigArgs] = None,
                cockroach_version: Optional[str] = None,
                dedicated: Optional[ClusterDedicatedArgs] = None,
                delete_protection: Optional[bool] = None,
                name: Optional[str] = None,
                parent_id: Optional[str] = None,
                plan: Optional[str] = None,
                serverless: Optional[ClusterServerlessArgs] = None)
    func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
    public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
    public Cluster(String name, ClusterArgs args)
    public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
    
    type: cockroach:Cluster
    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 ClusterArgs
    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 ClusterArgs
    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 ClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterArgs
    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 clusterResource = new Cockroach.Cluster("clusterResource", new()
    {
        CloudProvider = "string",
        Regions = new[]
        {
            new Cockroach.Inputs.ClusterRegionArgs
            {
                Name = "string",
                InternalDns = "string",
                NodeCount = 0,
                Primary = false,
                SqlDns = "string",
                UiDns = "string",
            },
        },
        BackupConfig = new Cockroach.Inputs.ClusterBackupConfigArgs
        {
            Enabled = false,
            FrequencyMinutes = 0,
            RetentionDays = 0,
        },
        CockroachVersion = "string",
        Dedicated = new Cockroach.Inputs.ClusterDedicatedArgs
        {
            CidrRange = "string",
            DiskIops = 0,
            MachineType = "string",
            MemoryGib = 0,
            NumVirtualCpus = 0,
            PrivateNetworkVisibility = false,
            StorageGib = 0,
        },
        DeleteProtection = false,
        Name = "string",
        ParentId = "string",
        Plan = "string",
        Serverless = new Cockroach.Inputs.ClusterServerlessArgs
        {
            RoutingId = "string",
            UpgradeType = "string",
            UsageLimits = new Cockroach.Inputs.ClusterServerlessUsageLimitsArgs
            {
                ProvisionedVirtualCpus = 0,
                RequestUnitLimit = 0,
                StorageMibLimit = 0,
            },
        },
    });
    
    example, err := cockroach.NewCluster(ctx, "clusterResource", &cockroach.ClusterArgs{
    	CloudProvider: pulumi.String("string"),
    	Regions: cockroach.ClusterRegionArray{
    		&cockroach.ClusterRegionArgs{
    			Name:        pulumi.String("string"),
    			InternalDns: pulumi.String("string"),
    			NodeCount:   pulumi.Int(0),
    			Primary:     pulumi.Bool(false),
    			SqlDns:      pulumi.String("string"),
    			UiDns:       pulumi.String("string"),
    		},
    	},
    	BackupConfig: &cockroach.ClusterBackupConfigArgs{
    		Enabled:          pulumi.Bool(false),
    		FrequencyMinutes: pulumi.Int(0),
    		RetentionDays:    pulumi.Int(0),
    	},
    	CockroachVersion: pulumi.String("string"),
    	Dedicated: &cockroach.ClusterDedicatedArgs{
    		CidrRange:                pulumi.String("string"),
    		DiskIops:                 pulumi.Int(0),
    		MachineType:              pulumi.String("string"),
    		MemoryGib:                pulumi.Float64(0),
    		NumVirtualCpus:           pulumi.Int(0),
    		PrivateNetworkVisibility: pulumi.Bool(false),
    		StorageGib:               pulumi.Int(0),
    	},
    	DeleteProtection: pulumi.Bool(false),
    	Name:             pulumi.String("string"),
    	ParentId:         pulumi.String("string"),
    	Plan:             pulumi.String("string"),
    	Serverless: &cockroach.ClusterServerlessArgs{
    		RoutingId:   pulumi.String("string"),
    		UpgradeType: pulumi.String("string"),
    		UsageLimits: &cockroach.ClusterServerlessUsageLimitsArgs{
    			ProvisionedVirtualCpus: pulumi.Int(0),
    			RequestUnitLimit:       pulumi.Int(0),
    			StorageMibLimit:        pulumi.Int(0),
    		},
    	},
    })
    
    var clusterResource = new Cluster("clusterResource", ClusterArgs.builder()
        .cloudProvider("string")
        .regions(ClusterRegionArgs.builder()
            .name("string")
            .internalDns("string")
            .nodeCount(0)
            .primary(false)
            .sqlDns("string")
            .uiDns("string")
            .build())
        .backupConfig(ClusterBackupConfigArgs.builder()
            .enabled(false)
            .frequencyMinutes(0)
            .retentionDays(0)
            .build())
        .cockroachVersion("string")
        .dedicated(ClusterDedicatedArgs.builder()
            .cidrRange("string")
            .diskIops(0)
            .machineType("string")
            .memoryGib(0)
            .numVirtualCpus(0)
            .privateNetworkVisibility(false)
            .storageGib(0)
            .build())
        .deleteProtection(false)
        .name("string")
        .parentId("string")
        .plan("string")
        .serverless(ClusterServerlessArgs.builder()
            .routingId("string")
            .upgradeType("string")
            .usageLimits(ClusterServerlessUsageLimitsArgs.builder()
                .provisionedVirtualCpus(0)
                .requestUnitLimit(0)
                .storageMibLimit(0)
                .build())
            .build())
        .build());
    
    cluster_resource = cockroach.Cluster("clusterResource",
        cloud_provider="string",
        regions=[{
            "name": "string",
            "internal_dns": "string",
            "node_count": 0,
            "primary": False,
            "sql_dns": "string",
            "ui_dns": "string",
        }],
        backup_config={
            "enabled": False,
            "frequency_minutes": 0,
            "retention_days": 0,
        },
        cockroach_version="string",
        dedicated={
            "cidr_range": "string",
            "disk_iops": 0,
            "machine_type": "string",
            "memory_gib": 0,
            "num_virtual_cpus": 0,
            "private_network_visibility": False,
            "storage_gib": 0,
        },
        delete_protection=False,
        name="string",
        parent_id="string",
        plan="string",
        serverless={
            "routing_id": "string",
            "upgrade_type": "string",
            "usage_limits": {
                "provisioned_virtual_cpus": 0,
                "request_unit_limit": 0,
                "storage_mib_limit": 0,
            },
        })
    
    const clusterResource = new cockroach.Cluster("clusterResource", {
        cloudProvider: "string",
        regions: [{
            name: "string",
            internalDns: "string",
            nodeCount: 0,
            primary: false,
            sqlDns: "string",
            uiDns: "string",
        }],
        backupConfig: {
            enabled: false,
            frequencyMinutes: 0,
            retentionDays: 0,
        },
        cockroachVersion: "string",
        dedicated: {
            cidrRange: "string",
            diskIops: 0,
            machineType: "string",
            memoryGib: 0,
            numVirtualCpus: 0,
            privateNetworkVisibility: false,
            storageGib: 0,
        },
        deleteProtection: false,
        name: "string",
        parentId: "string",
        plan: "string",
        serverless: {
            routingId: "string",
            upgradeType: "string",
            usageLimits: {
                provisionedVirtualCpus: 0,
                requestUnitLimit: 0,
                storageMibLimit: 0,
            },
        },
    });
    
    type: cockroach:Cluster
    properties:
        backupConfig:
            enabled: false
            frequencyMinutes: 0
            retentionDays: 0
        cloudProvider: string
        cockroachVersion: string
        dedicated:
            cidrRange: string
            diskIops: 0
            machineType: string
            memoryGib: 0
            numVirtualCpus: 0
            privateNetworkVisibility: false
            storageGib: 0
        deleteProtection: false
        name: string
        parentId: string
        plan: string
        regions:
            - internalDns: string
              name: string
              nodeCount: 0
              primary: false
              sqlDns: string
              uiDns: string
        serverless:
            routingId: string
            upgradeType: string
            usageLimits:
                provisionedVirtualCpus: 0
                requestUnitLimit: 0
                storageMibLimit: 0
    

    Cluster 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 Cluster resource accepts the following input properties:

    CloudProvider string
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    Regions List<Pulumiverse.Cockroach.Inputs.ClusterRegion>
    BackupConfig Pulumiverse.Cockroach.Inputs.ClusterBackupConfig
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    CockroachVersion string
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    Dedicated Pulumiverse.Cockroach.Inputs.ClusterDedicated
    DeleteProtection bool
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    Name string
    Name of the cluster.
    ParentId string
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    Plan string
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    Serverless Pulumiverse.Cockroach.Inputs.ClusterServerless
    CloudProvider string
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    Regions []ClusterRegionArgs
    BackupConfig ClusterBackupConfigArgs
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    CockroachVersion string
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    Dedicated ClusterDedicatedArgs
    DeleteProtection bool
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    Name string
    Name of the cluster.
    ParentId string
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    Plan string
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    Serverless ClusterServerlessArgs
    cloudProvider String
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    regions List<ClusterRegion>
    backupConfig ClusterBackupConfig
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    cockroachVersion String
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    dedicated ClusterDedicated
    deleteProtection Boolean
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    name String
    Name of the cluster.
    parentId String
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    plan String
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    serverless ClusterServerless
    cloudProvider string
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    regions ClusterRegion[]
    backupConfig ClusterBackupConfig
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    cockroachVersion string
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    dedicated ClusterDedicated
    deleteProtection boolean
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    name string
    Name of the cluster.
    parentId string
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    plan string
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    serverless ClusterServerless
    cloud_provider str
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    regions Sequence[ClusterRegionArgs]
    backup_config ClusterBackupConfigArgs
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    cockroach_version str
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    dedicated ClusterDedicatedArgs
    delete_protection bool
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    name str
    Name of the cluster.
    parent_id str
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    plan str
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    serverless ClusterServerlessArgs
    cloudProvider String
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    regions List<Property Map>
    backupConfig Property Map
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    cockroachVersion String
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    dedicated Property Map
    deleteProtection Boolean
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    name String
    Name of the cluster.
    parentId String
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    plan String
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    serverless Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:

    AccountId string
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    CreatorId string
    ID of the user who created the cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    OperationStatus string
    Describes the current long-running operation, if any.
    State string
    Describes whether the cluster is being created, updated, deleted, etc.
    UpgradeStatus string
    Describes the status of any in-progress CockroachDB upgrade or rollback.
    AccountId string
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    CreatorId string
    ID of the user who created the cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    OperationStatus string
    Describes the current long-running operation, if any.
    State string
    Describes whether the cluster is being created, updated, deleted, etc.
    UpgradeStatus string
    Describes the status of any in-progress CockroachDB upgrade or rollback.
    accountId String
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    creatorId String
    ID of the user who created the cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    operationStatus String
    Describes the current long-running operation, if any.
    state String
    Describes whether the cluster is being created, updated, deleted, etc.
    upgradeStatus String
    Describes the status of any in-progress CockroachDB upgrade or rollback.
    accountId string
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    creatorId string
    ID of the user who created the cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    operationStatus string
    Describes the current long-running operation, if any.
    state string
    Describes whether the cluster is being created, updated, deleted, etc.
    upgradeStatus string
    Describes the status of any in-progress CockroachDB upgrade or rollback.
    account_id str
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    creator_id str
    ID of the user who created the cluster.
    id str
    The provider-assigned unique ID for this managed resource.
    operation_status str
    Describes the current long-running operation, if any.
    state str
    Describes whether the cluster is being created, updated, deleted, etc.
    upgrade_status str
    Describes the status of any in-progress CockroachDB upgrade or rollback.
    accountId String
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    creatorId String
    ID of the user who created the cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    operationStatus String
    Describes the current long-running operation, if any.
    state String
    Describes whether the cluster is being created, updated, deleted, etc.
    upgradeStatus String
    Describes the status of any in-progress CockroachDB upgrade or rollback.

    Look up Existing Cluster Resource

    Get an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ClusterState, opts?: CustomResourceOptions): Cluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            backup_config: Optional[ClusterBackupConfigArgs] = None,
            cloud_provider: Optional[str] = None,
            cockroach_version: Optional[str] = None,
            creator_id: Optional[str] = None,
            dedicated: Optional[ClusterDedicatedArgs] = None,
            delete_protection: Optional[bool] = None,
            name: Optional[str] = None,
            operation_status: Optional[str] = None,
            parent_id: Optional[str] = None,
            plan: Optional[str] = None,
            regions: Optional[Sequence[ClusterRegionArgs]] = None,
            serverless: Optional[ClusterServerlessArgs] = None,
            state: Optional[str] = None,
            upgrade_status: Optional[str] = None) -> Cluster
    func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
    public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
    public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
    resources:  _:    type: cockroach:Cluster    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    BackupConfig Pulumiverse.Cockroach.Inputs.ClusterBackupConfig
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    CloudProvider string
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    CockroachVersion string
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    CreatorId string
    ID of the user who created the cluster.
    Dedicated Pulumiverse.Cockroach.Inputs.ClusterDedicated
    DeleteProtection bool
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    Name string
    Name of the cluster.
    OperationStatus string
    Describes the current long-running operation, if any.
    ParentId string
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    Plan string
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    Regions List<Pulumiverse.Cockroach.Inputs.ClusterRegion>
    Serverless Pulumiverse.Cockroach.Inputs.ClusterServerless
    State string
    Describes whether the cluster is being created, updated, deleted, etc.
    UpgradeStatus string
    Describes the status of any in-progress CockroachDB upgrade or rollback.
    AccountId string
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    BackupConfig ClusterBackupConfigArgs
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    CloudProvider string
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    CockroachVersion string
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    CreatorId string
    ID of the user who created the cluster.
    Dedicated ClusterDedicatedArgs
    DeleteProtection bool
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    Name string
    Name of the cluster.
    OperationStatus string
    Describes the current long-running operation, if any.
    ParentId string
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    Plan string
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    Regions []ClusterRegionArgs
    Serverless ClusterServerlessArgs
    State string
    Describes whether the cluster is being created, updated, deleted, etc.
    UpgradeStatus string
    Describes the status of any in-progress CockroachDB upgrade or rollback.
    accountId String
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    backupConfig ClusterBackupConfig
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    cloudProvider String
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    cockroachVersion String
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    creatorId String
    ID of the user who created the cluster.
    dedicated ClusterDedicated
    deleteProtection Boolean
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    name String
    Name of the cluster.
    operationStatus String
    Describes the current long-running operation, if any.
    parentId String
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    plan String
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    regions List<ClusterRegion>
    serverless ClusterServerless
    state String
    Describes whether the cluster is being created, updated, deleted, etc.
    upgradeStatus String
    Describes the status of any in-progress CockroachDB upgrade or rollback.
    accountId string
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    backupConfig ClusterBackupConfig
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    cloudProvider string
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    cockroachVersion string
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    creatorId string
    ID of the user who created the cluster.
    dedicated ClusterDedicated
    deleteProtection boolean
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    name string
    Name of the cluster.
    operationStatus string
    Describes the current long-running operation, if any.
    parentId string
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    plan string
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    regions ClusterRegion[]
    serverless ClusterServerless
    state string
    Describes whether the cluster is being created, updated, deleted, etc.
    upgradeStatus string
    Describes the status of any in-progress CockroachDB upgrade or rollback.
    account_id str
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    backup_config ClusterBackupConfigArgs
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    cloud_provider str
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    cockroach_version str
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    creator_id str
    ID of the user who created the cluster.
    dedicated ClusterDedicatedArgs
    delete_protection bool
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    name str
    Name of the cluster.
    operation_status str
    Describes the current long-running operation, if any.
    parent_id str
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    plan str
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    regions Sequence[ClusterRegionArgs]
    serverless ClusterServerlessArgs
    state str
    Describes whether the cluster is being created, updated, deleted, etc.
    upgrade_status str
    Describes the status of any in-progress CockroachDB upgrade or rollback.
    accountId String
    The cloud provider account ID that hosts the cluster. Needed for CMEK and other advanced features.
    backupConfig Property Map
    The backup settings for a cluster. Each cluster has backup settings that determine if backups are enabled, how frequently they are taken, and how long they are retained for. Use this attribute to manage those settings.
    cloudProvider String
    Cloud provider used to host the cluster. Allowed values are: * GCP * AWS * AZURE
    cockroachVersion String
    Major version of CockroachDB running on the cluster. This value can be used to orchestrate version upgrades. Supported for ADVANCED and STANDARD clusters (when serverless.upgrade_type set to 'MANUAL').
    creatorId String
    ID of the user who created the cluster.
    dedicated Property Map
    deleteProtection Boolean
    Set to true to enable delete protection on the cluster. If unset, the server chooses the value on cluster creation, and preserves the value on cluster update.
    name String
    Name of the cluster.
    operationStatus String
    Describes the current long-running operation, if any.
    parentId String
    The ID of the cluster's parent folder. 'root' is used for a cluster at the root level.
    plan String
    Denotes cluster plan type: 'BASIC' or 'STANDARD' or 'ADVANCED'.
    regions List<Property Map>
    serverless Property Map
    state String
    Describes whether the cluster is being created, updated, deleted, etc.
    upgradeStatus String
    Describes the status of any in-progress CockroachDB upgrade or rollback.

    Supporting Types

    ClusterBackupConfig, ClusterBackupConfigArgs

    Enabled bool
    Indicates whether backups are enabled. If set to false, no backups will be created.
    FrequencyMinutes int
    The frequency of backups in minutes. Valid values are [5, 10, 15, 30, 60, 240, 1440]
    RetentionDays int
    The number of days to retain backups for. Valid values are [2, 7, 30, 90, 365]. Can only be set once, further changes require opening a support ticket. See Updating backup retention for more information.
    Enabled bool
    Indicates whether backups are enabled. If set to false, no backups will be created.
    FrequencyMinutes int
    The frequency of backups in minutes. Valid values are [5, 10, 15, 30, 60, 240, 1440]
    RetentionDays int
    The number of days to retain backups for. Valid values are [2, 7, 30, 90, 365]. Can only be set once, further changes require opening a support ticket. See Updating backup retention for more information.
    enabled Boolean
    Indicates whether backups are enabled. If set to false, no backups will be created.
    frequencyMinutes Integer
    The frequency of backups in minutes. Valid values are [5, 10, 15, 30, 60, 240, 1440]
    retentionDays Integer
    The number of days to retain backups for. Valid values are [2, 7, 30, 90, 365]. Can only be set once, further changes require opening a support ticket. See Updating backup retention for more information.
    enabled boolean
    Indicates whether backups are enabled. If set to false, no backups will be created.
    frequencyMinutes number
    The frequency of backups in minutes. Valid values are [5, 10, 15, 30, 60, 240, 1440]
    retentionDays number
    The number of days to retain backups for. Valid values are [2, 7, 30, 90, 365]. Can only be set once, further changes require opening a support ticket. See Updating backup retention for more information.
    enabled bool
    Indicates whether backups are enabled. If set to false, no backups will be created.
    frequency_minutes int
    The frequency of backups in minutes. Valid values are [5, 10, 15, 30, 60, 240, 1440]
    retention_days int
    The number of days to retain backups for. Valid values are [2, 7, 30, 90, 365]. Can only be set once, further changes require opening a support ticket. See Updating backup retention for more information.
    enabled Boolean
    Indicates whether backups are enabled. If set to false, no backups will be created.
    frequencyMinutes Number
    The frequency of backups in minutes. Valid values are [5, 10, 15, 30, 60, 240, 1440]
    retentionDays Number
    The number of days to retain backups for. Valid values are [2, 7, 30, 90, 365]. Can only be set once, further changes require opening a support ticket. See Updating backup retention for more information.

    ClusterDedicated, ClusterDedicatedArgs

    CidrRange string
    The IPv4 range in CIDR format that will be used by the cluster. This is supported only on GCP, and must have a subnet mask no larger than /19. Defaults to "172.28.0.0/14". This cannot be changed after cluster creation.
    DiskIops int
    Number of disk I/O operations per second that are permitted on each node in the cluster. Omitting this attribute will result in the cloud provider-specific default.
    MachineType string
    Machine type identifier within the given cloud provider, e.g., m6.xlarge, n2-standard-4. This attribute requires a feature flag to be enabled. It is recommended to leave this empty and use num_virtual_cpus to control the machine type.
    MemoryGib double
    Memory per node in GiB.
    NumVirtualCpus int
    Number of virtual CPUs per node in the cluster.
    PrivateNetworkVisibility bool
    Set to true to assign private IP addresses to nodes. Required for CMEK and other advanced networking features. Clusters created with this flag will have advanced security features enabled. This cannot be changed after cluster creation and incurs additional charges. See Create an Advanced Cluster and Pricing for more information.
    StorageGib int
    Storage amount per node in GiB.
    CidrRange string
    The IPv4 range in CIDR format that will be used by the cluster. This is supported only on GCP, and must have a subnet mask no larger than /19. Defaults to "172.28.0.0/14". This cannot be changed after cluster creation.
    DiskIops int
    Number of disk I/O operations per second that are permitted on each node in the cluster. Omitting this attribute will result in the cloud provider-specific default.
    MachineType string
    Machine type identifier within the given cloud provider, e.g., m6.xlarge, n2-standard-4. This attribute requires a feature flag to be enabled. It is recommended to leave this empty and use num_virtual_cpus to control the machine type.
    MemoryGib float64
    Memory per node in GiB.
    NumVirtualCpus int
    Number of virtual CPUs per node in the cluster.
    PrivateNetworkVisibility bool
    Set to true to assign private IP addresses to nodes. Required for CMEK and other advanced networking features. Clusters created with this flag will have advanced security features enabled. This cannot be changed after cluster creation and incurs additional charges. See Create an Advanced Cluster and Pricing for more information.
    StorageGib int
    Storage amount per node in GiB.
    cidrRange String
    The IPv4 range in CIDR format that will be used by the cluster. This is supported only on GCP, and must have a subnet mask no larger than /19. Defaults to "172.28.0.0/14". This cannot be changed after cluster creation.
    diskIops Integer
    Number of disk I/O operations per second that are permitted on each node in the cluster. Omitting this attribute will result in the cloud provider-specific default.
    machineType String
    Machine type identifier within the given cloud provider, e.g., m6.xlarge, n2-standard-4. This attribute requires a feature flag to be enabled. It is recommended to leave this empty and use num_virtual_cpus to control the machine type.
    memoryGib Double
    Memory per node in GiB.
    numVirtualCpus Integer
    Number of virtual CPUs per node in the cluster.
    privateNetworkVisibility Boolean
    Set to true to assign private IP addresses to nodes. Required for CMEK and other advanced networking features. Clusters created with this flag will have advanced security features enabled. This cannot be changed after cluster creation and incurs additional charges. See Create an Advanced Cluster and Pricing for more information.
    storageGib Integer
    Storage amount per node in GiB.
    cidrRange string
    The IPv4 range in CIDR format that will be used by the cluster. This is supported only on GCP, and must have a subnet mask no larger than /19. Defaults to "172.28.0.0/14". This cannot be changed after cluster creation.
    diskIops number
    Number of disk I/O operations per second that are permitted on each node in the cluster. Omitting this attribute will result in the cloud provider-specific default.
    machineType string
    Machine type identifier within the given cloud provider, e.g., m6.xlarge, n2-standard-4. This attribute requires a feature flag to be enabled. It is recommended to leave this empty and use num_virtual_cpus to control the machine type.
    memoryGib number
    Memory per node in GiB.
    numVirtualCpus number
    Number of virtual CPUs per node in the cluster.
    privateNetworkVisibility boolean
    Set to true to assign private IP addresses to nodes. Required for CMEK and other advanced networking features. Clusters created with this flag will have advanced security features enabled. This cannot be changed after cluster creation and incurs additional charges. See Create an Advanced Cluster and Pricing for more information.
    storageGib number
    Storage amount per node in GiB.
    cidr_range str
    The IPv4 range in CIDR format that will be used by the cluster. This is supported only on GCP, and must have a subnet mask no larger than /19. Defaults to "172.28.0.0/14". This cannot be changed after cluster creation.
    disk_iops int
    Number of disk I/O operations per second that are permitted on each node in the cluster. Omitting this attribute will result in the cloud provider-specific default.
    machine_type str
    Machine type identifier within the given cloud provider, e.g., m6.xlarge, n2-standard-4. This attribute requires a feature flag to be enabled. It is recommended to leave this empty and use num_virtual_cpus to control the machine type.
    memory_gib float
    Memory per node in GiB.
    num_virtual_cpus int
    Number of virtual CPUs per node in the cluster.
    private_network_visibility bool
    Set to true to assign private IP addresses to nodes. Required for CMEK and other advanced networking features. Clusters created with this flag will have advanced security features enabled. This cannot be changed after cluster creation and incurs additional charges. See Create an Advanced Cluster and Pricing for more information.
    storage_gib int
    Storage amount per node in GiB.
    cidrRange String
    The IPv4 range in CIDR format that will be used by the cluster. This is supported only on GCP, and must have a subnet mask no larger than /19. Defaults to "172.28.0.0/14". This cannot be changed after cluster creation.
    diskIops Number
    Number of disk I/O operations per second that are permitted on each node in the cluster. Omitting this attribute will result in the cloud provider-specific default.
    machineType String
    Machine type identifier within the given cloud provider, e.g., m6.xlarge, n2-standard-4. This attribute requires a feature flag to be enabled. It is recommended to leave this empty and use num_virtual_cpus to control the machine type.
    memoryGib Number
    Memory per node in GiB.
    numVirtualCpus Number
    Number of virtual CPUs per node in the cluster.
    privateNetworkVisibility Boolean
    Set to true to assign private IP addresses to nodes. Required for CMEK and other advanced networking features. Clusters created with this flag will have advanced security features enabled. This cannot be changed after cluster creation and incurs additional charges. See Create an Advanced Cluster and Pricing for more information.
    storageGib Number
    Storage amount per node in GiB.

    ClusterRegion, ClusterRegionArgs

    Name string
    Name of the region. Should match the region code used by the cluster's cloud provider.
    InternalDns string
    Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
    NodeCount int
    Number of nodes in the region. Valid for Advanced clusters only.
    Primary bool
    Set to true to mark this region as the primary for a serverless cluster. Exactly one region must be primary. Dedicated clusters expect to have no primary region.
    SqlDns string
    DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
    UiDns string
    DNS name used when connecting to the DB Console for the cluster.
    Name string
    Name of the region. Should match the region code used by the cluster's cloud provider.
    InternalDns string
    Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
    NodeCount int
    Number of nodes in the region. Valid for Advanced clusters only.
    Primary bool
    Set to true to mark this region as the primary for a serverless cluster. Exactly one region must be primary. Dedicated clusters expect to have no primary region.
    SqlDns string
    DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
    UiDns string
    DNS name used when connecting to the DB Console for the cluster.
    name String
    Name of the region. Should match the region code used by the cluster's cloud provider.
    internalDns String
    Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
    nodeCount Integer
    Number of nodes in the region. Valid for Advanced clusters only.
    primary Boolean
    Set to true to mark this region as the primary for a serverless cluster. Exactly one region must be primary. Dedicated clusters expect to have no primary region.
    sqlDns String
    DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
    uiDns String
    DNS name used when connecting to the DB Console for the cluster.
    name string
    Name of the region. Should match the region code used by the cluster's cloud provider.
    internalDns string
    Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
    nodeCount number
    Number of nodes in the region. Valid for Advanced clusters only.
    primary boolean
    Set to true to mark this region as the primary for a serverless cluster. Exactly one region must be primary. Dedicated clusters expect to have no primary region.
    sqlDns string
    DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
    uiDns string
    DNS name used when connecting to the DB Console for the cluster.
    name str
    Name of the region. Should match the region code used by the cluster's cloud provider.
    internal_dns str
    Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
    node_count int
    Number of nodes in the region. Valid for Advanced clusters only.
    primary bool
    Set to true to mark this region as the primary for a serverless cluster. Exactly one region must be primary. Dedicated clusters expect to have no primary region.
    sql_dns str
    DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
    ui_dns str
    DNS name used when connecting to the DB Console for the cluster.
    name String
    Name of the region. Should match the region code used by the cluster's cloud provider.
    internalDns String
    Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
    nodeCount Number
    Number of nodes in the region. Valid for Advanced clusters only.
    primary Boolean
    Set to true to mark this region as the primary for a serverless cluster. Exactly one region must be primary. Dedicated clusters expect to have no primary region.
    sqlDns String
    DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
    uiDns String
    DNS name used when connecting to the DB Console for the cluster.

    ClusterServerless, ClusterServerlessArgs

    RoutingId string
    Cluster identifier in a connection string.
    SpendLimit int
    Spend limit in US cents.

    Deprecated: The spend_limit attribute is deprecated and will be removed in a future release of the provider. Configure 'usage_limits' instead.

    UpgradeType string
    Dictates the behavior of CockroachDB major version upgrades. Manual upgrades are not supported on CockroachDB Basic. Manual or automatic upgrades are supported on CockroachDB Standard. If you omit the field, it defaults to AUTOMATIC. Allowed values are:

    • MANUAL
    • AUTOMATIC
    UsageLimits Pulumiverse.Cockroach.Inputs.ClusterServerlessUsageLimits
    RoutingId string
    Cluster identifier in a connection string.
    SpendLimit int
    Spend limit in US cents.

    Deprecated: The spend_limit attribute is deprecated and will be removed in a future release of the provider. Configure 'usage_limits' instead.

    UpgradeType string
    Dictates the behavior of CockroachDB major version upgrades. Manual upgrades are not supported on CockroachDB Basic. Manual or automatic upgrades are supported on CockroachDB Standard. If you omit the field, it defaults to AUTOMATIC. Allowed values are:

    • MANUAL
    • AUTOMATIC
    UsageLimits ClusterServerlessUsageLimits
    routingId String
    Cluster identifier in a connection string.
    spendLimit Integer
    Spend limit in US cents.

    Deprecated: The spend_limit attribute is deprecated and will be removed in a future release of the provider. Configure 'usage_limits' instead.

    upgradeType String
    Dictates the behavior of CockroachDB major version upgrades. Manual upgrades are not supported on CockroachDB Basic. Manual or automatic upgrades are supported on CockroachDB Standard. If you omit the field, it defaults to AUTOMATIC. Allowed values are:

    • MANUAL
    • AUTOMATIC
    usageLimits ClusterServerlessUsageLimits
    routingId string
    Cluster identifier in a connection string.
    spendLimit number
    Spend limit in US cents.

    Deprecated: The spend_limit attribute is deprecated and will be removed in a future release of the provider. Configure 'usage_limits' instead.

    upgradeType string
    Dictates the behavior of CockroachDB major version upgrades. Manual upgrades are not supported on CockroachDB Basic. Manual or automatic upgrades are supported on CockroachDB Standard. If you omit the field, it defaults to AUTOMATIC. Allowed values are:

    • MANUAL
    • AUTOMATIC
    usageLimits ClusterServerlessUsageLimits
    routing_id str
    Cluster identifier in a connection string.
    spend_limit int
    Spend limit in US cents.

    Deprecated: The spend_limit attribute is deprecated and will be removed in a future release of the provider. Configure 'usage_limits' instead.

    upgrade_type str
    Dictates the behavior of CockroachDB major version upgrades. Manual upgrades are not supported on CockroachDB Basic. Manual or automatic upgrades are supported on CockroachDB Standard. If you omit the field, it defaults to AUTOMATIC. Allowed values are:

    • MANUAL
    • AUTOMATIC
    usage_limits ClusterServerlessUsageLimits
    routingId String
    Cluster identifier in a connection string.
    spendLimit Number
    Spend limit in US cents.

    Deprecated: The spend_limit attribute is deprecated and will be removed in a future release of the provider. Configure 'usage_limits' instead.

    upgradeType String
    Dictates the behavior of CockroachDB major version upgrades. Manual upgrades are not supported on CockroachDB Basic. Manual or automatic upgrades are supported on CockroachDB Standard. If you omit the field, it defaults to AUTOMATIC. Allowed values are:

    • MANUAL
    • AUTOMATIC
    usageLimits Property Map

    ClusterServerlessUsageLimits, ClusterServerlessUsageLimitsArgs

    ProvisionedVirtualCpus int
    Maximum number of vCPUs that the cluster can use.
    RequestUnitLimit int
    Maximum number of Request Units that the cluster can consume during the month.
    StorageMibLimit int
    Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
    ProvisionedVirtualCpus int
    Maximum number of vCPUs that the cluster can use.
    RequestUnitLimit int
    Maximum number of Request Units that the cluster can consume during the month.
    StorageMibLimit int
    Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
    provisionedVirtualCpus Integer
    Maximum number of vCPUs that the cluster can use.
    requestUnitLimit Integer
    Maximum number of Request Units that the cluster can consume during the month.
    storageMibLimit Integer
    Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
    provisionedVirtualCpus number
    Maximum number of vCPUs that the cluster can use.
    requestUnitLimit number
    Maximum number of Request Units that the cluster can consume during the month.
    storageMibLimit number
    Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
    provisioned_virtual_cpus int
    Maximum number of vCPUs that the cluster can use.
    request_unit_limit int
    Maximum number of Request Units that the cluster can consume during the month.
    storage_mib_limit int
    Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
    provisionedVirtualCpus Number
    Maximum number of vCPUs that the cluster can use.
    requestUnitLimit Number
    Maximum number of Request Units that the cluster can consume during the month.
    storageMibLimit Number
    Maximum amount of storage (in MiB) that the cluster can have at any time during the month.

    Import

    format:

    $ pulumi import cockroach:index/cluster:Cluster my_cluster 1f69fdd2-600a-4cfc-a9ba-16995df0d77d
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    cockroach pulumiverse/pulumi-cockroach
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cockroach Terraform Provider.
    cockroach logo
    CockroachDB v0.9.2 published on Saturday, Feb 8, 2025 by pulumiverse