CockroachDB v0.2.3 published on Monday, May 27, 2024 by pulumiverse
cockroach.getCockroachCluster
Explore with Pulumi AI
CockroachDB Cloud cluster. Can be Dedicated or Serverless.
Using getCockroachCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCockroachCluster(args: GetCockroachClusterArgs, opts?: InvokeOptions): Promise<GetCockroachClusterResult>
function getCockroachClusterOutput(args: GetCockroachClusterOutputArgs, opts?: InvokeOptions): Output<GetCockroachClusterResult>
def get_cockroach_cluster(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCockroachClusterResult
def get_cockroach_cluster_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCockroachClusterResult]
func GetCockroachCluster(ctx *Context, args *GetCockroachClusterArgs, opts ...InvokeOption) (*GetCockroachClusterResult, error)
func GetCockroachClusterOutput(ctx *Context, args *GetCockroachClusterOutputArgs, opts ...InvokeOption) GetCockroachClusterResultOutput
> Note: This function is named GetCockroachCluster
in the Go SDK.
public static class GetCockroachCluster
{
public static Task<GetCockroachClusterResult> InvokeAsync(GetCockroachClusterArgs args, InvokeOptions? opts = null)
public static Output<GetCockroachClusterResult> Invoke(GetCockroachClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCockroachClusterResult> getCockroachCluster(GetCockroachClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cockroach:index/getCockroachCluster:getCockroachCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getCockroachCluster Result
The following output properties are available:
- Account
Id string - Cloud
Provider string - Cockroach
Version string - Creator
Id string - Dedicated
Pulumiverse.
Cockroach. Outputs. Get Cockroach Cluster Dedicated - Id string
- Name string
- Operation
Status string - Parent
Id string - Plan string
- Regions
List<Pulumiverse.
Cockroach. Outputs. Get Cockroach Cluster Region> - Serverless
Pulumiverse.
Cockroach. Outputs. Get Cockroach Cluster Serverless - State string
- Upgrade
Status string
- Account
Id string - Cloud
Provider string - Cockroach
Version string - Creator
Id string - Dedicated
Get
Cockroach Cluster Dedicated - Id string
- Name string
- Operation
Status string - Parent
Id string - Plan string
- Regions
[]Get
Cockroach Cluster Region - Serverless
Get
Cockroach Cluster Serverless - State string
- Upgrade
Status string
- account
Id String - cloud
Provider String - cockroach
Version String - creator
Id String - dedicated
Get
Cockroach Cluster Dedicated - id String
- name String
- operation
Status String - parent
Id String - plan String
- regions
List<Get
Cockroach Cluster Region> - serverless
Get
Cockroach Cluster Serverless - state String
- upgrade
Status String
- account
Id string - cloud
Provider string - cockroach
Version string - creator
Id string - dedicated
Get
Cockroach Cluster Dedicated - id string
- name string
- operation
Status string - parent
Id string - plan string
- regions
Get
Cockroach Cluster Region[] - serverless
Get
Cockroach Cluster Serverless - state string
- upgrade
Status string
- account
Id String - cloud
Provider String - cockroach
Version String - creator
Id String - dedicated Property Map
- id String
- name String
- operation
Status String - parent
Id String - plan String
- regions List<Property Map>
- serverless Property Map
- state String
- upgrade
Status String
Supporting Types
GetCockroachClusterDedicated
- Disk
Iops int - Number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default.
- Machine
Type string - Machine type identifier within the given cloud provider, ex. m6.xlarge, n2-standard-4.
- Memory
Gib double - Memory per node in GiB.
- Num
Virtual intCpus - Number of virtual CPUs per node in the cluster.
- Private
Network boolVisibility - Indicates whether private IP addresses are assigned to nodes. Required for CMEK and other advanced networking features.
- Storage
Gib int - Storage amount per node in GiB.
- Disk
Iops int - Number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default.
- Machine
Type string - Machine type identifier within the given cloud provider, ex. m6.xlarge, n2-standard-4.
- Memory
Gib float64 - Memory per node in GiB.
- Num
Virtual intCpus - Number of virtual CPUs per node in the cluster.
- Private
Network boolVisibility - Indicates whether private IP addresses are assigned to nodes. Required for CMEK and other advanced networking features.
- Storage
Gib int - Storage amount per node in GiB.
- disk
Iops Integer - Number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default.
- machine
Type String - Machine type identifier within the given cloud provider, ex. m6.xlarge, n2-standard-4.
- memory
Gib Double - Memory per node in GiB.
- num
Virtual IntegerCpus - Number of virtual CPUs per node in the cluster.
- private
Network BooleanVisibility - Indicates whether private IP addresses are assigned to nodes. Required for CMEK and other advanced networking features.
- storage
Gib Integer - Storage amount per node in GiB.
- disk
Iops number - Number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default.
- machine
Type string - Machine type identifier within the given cloud provider, ex. m6.xlarge, n2-standard-4.
- memory
Gib number - Memory per node in GiB.
- num
Virtual numberCpus - Number of virtual CPUs per node in the cluster.
- private
Network booleanVisibility - Indicates whether private IP addresses are assigned to nodes. Required for CMEK and other advanced networking features.
- storage
Gib number - Storage amount per node in GiB.
- disk_
iops int - Number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default.
- machine_
type str - Machine type identifier within the given cloud provider, ex. m6.xlarge, n2-standard-4.
- memory_
gib float - Memory per node in GiB.
- num_
virtual_ intcpus - Number of virtual CPUs per node in the cluster.
- private_
network_ boolvisibility - Indicates whether private IP addresses are assigned to nodes. Required for CMEK and other advanced networking features.
- storage_
gib int - Storage amount per node in GiB.
- disk
Iops Number - Number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default.
- machine
Type String - Machine type identifier within the given cloud provider, ex. m6.xlarge, n2-standard-4.
- memory
Gib Number - Memory per node in GiB.
- num
Virtual NumberCpus - Number of virtual CPUs per node in the cluster.
- private
Network BooleanVisibility - Indicates whether private IP addresses are assigned to nodes. Required for CMEK and other advanced networking features.
- storage
Gib Number - Storage amount per node in GiB.
GetCockroachClusterRegion
- Internal
Dns string - Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
- Name string
- Region code used by the cluster's cloud provider.
- Node
Count int - Number of nodes in the region. Will always be 0 for serverless clusters.
- Primary bool
- Denotes whether this is the primary region in a serverless cluster. Dedicated clusters don't have a primary region.
- Sql
Dns string - DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
- Ui
Dns string - DNS name used when connecting to the DB Console for the cluster.
- Internal
Dns string - Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
- Name string
- Region code used by the cluster's cloud provider.
- Node
Count int - Number of nodes in the region. Will always be 0 for serverless clusters.
- Primary bool
- Denotes whether this is the primary region in a serverless cluster. Dedicated clusters don't have a primary region.
- Sql
Dns string - DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
- Ui
Dns string - DNS name used when connecting to the DB Console for the cluster.
- internal
Dns String - Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
- name String
- Region code used by the cluster's cloud provider.
- node
Count Integer - Number of nodes in the region. Will always be 0 for serverless clusters.
- primary Boolean
- Denotes whether this is the primary region in a serverless cluster. Dedicated clusters don't have a primary region.
- sql
Dns String - DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
- ui
Dns String - DNS name used when connecting to the DB Console for the cluster.
- internal
Dns string - Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
- name string
- Region code used by the cluster's cloud provider.
- node
Count number - Number of nodes in the region. Will always be 0 for serverless clusters.
- primary boolean
- Denotes whether this is the primary region in a serverless cluster. Dedicated clusters don't have a primary region.
- sql
Dns string - DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
- ui
Dns string - DNS name used when connecting to the DB Console for the cluster.
- 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.
- name str
- Region code used by the cluster's cloud provider.
- node_
count int - Number of nodes in the region. Will always be 0 for serverless clusters.
- primary bool
- Denotes whether this is the primary region in a serverless cluster. Dedicated clusters don't have a 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.
- internal
Dns String - Internal DNS name of the cluster within the cloud provider's network. Used to connect to the cluster with PrivateLink or VPC peering.
- name String
- Region code used by the cluster's cloud provider.
- node
Count Number - Number of nodes in the region. Will always be 0 for serverless clusters.
- primary Boolean
- Denotes whether this is the primary region in a serverless cluster. Dedicated clusters don't have a primary region.
- sql
Dns String - DNS name of the cluster's SQL interface. Used to connect to the cluster with IP allowlisting.
- ui
Dns String - DNS name used when connecting to the DB Console for the cluster.
GetCockroachClusterServerless
- Routing
Id string - Cluster identifier in a connection string.
- Spend
Limit int - Spend limit in US cents.
- Usage
Limits Pulumiverse.Cockroach. Inputs. Get Cockroach Cluster Serverless Usage Limits
- Routing
Id string - Cluster identifier in a connection string.
- Spend
Limit int - Spend limit in US cents.
- Usage
Limits GetCockroach Cluster Serverless Usage Limits
- routing
Id String - Cluster identifier in a connection string.
- spend
Limit Integer - Spend limit in US cents.
- usage
Limits GetCockroach Cluster Serverless Usage Limits
- routing
Id string - Cluster identifier in a connection string.
- spend
Limit number - Spend limit in US cents.
- usage
Limits GetCockroach Cluster Serverless Usage Limits
- routing_
id str - Cluster identifier in a connection string.
- spend_
limit int - Spend limit in US cents.
- usage_
limits GetCockroach Cluster Serverless Usage Limits
- routing
Id String - Cluster identifier in a connection string.
- spend
Limit Number - Spend limit in US cents.
- usage
Limits Property Map
GetCockroachClusterServerlessUsageLimits
- Request
Unit intLimit - Maximum number of Request Units that the cluster can consume during the month.
- Storage
Mib intLimit - Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
- Request
Unit intLimit - Maximum number of Request Units that the cluster can consume during the month.
- Storage
Mib intLimit - Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
- request
Unit IntegerLimit - Maximum number of Request Units that the cluster can consume during the month.
- storage
Mib IntegerLimit - Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
- request
Unit numberLimit - Maximum number of Request Units that the cluster can consume during the month.
- storage
Mib numberLimit - Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
- request_
unit_ intlimit - Maximum number of Request Units that the cluster can consume during the month.
- storage_
mib_ intlimit - Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
- request
Unit NumberLimit - Maximum number of Request Units that the cluster can consume during the month.
- storage
Mib NumberLimit - Maximum amount of storage (in MiB) that the cluster can have at any time during the month.
Package Details
- Repository
- cockroach pulumiverse/pulumi-cockroach
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cockroach
Terraform Provider.