These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.documentdb.getCassandraDataCenter
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Get the properties of a managed Cassandra data center. API Version: 2021-03-01-preview.
Using getCassandraDataCenter
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 getCassandraDataCenter(args: GetCassandraDataCenterArgs, opts?: InvokeOptions): Promise<GetCassandraDataCenterResult>
function getCassandraDataCenterOutput(args: GetCassandraDataCenterOutputArgs, opts?: InvokeOptions): Output<GetCassandraDataCenterResult>
def get_cassandra_data_center(cluster_name: Optional[str] = None,
data_center_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCassandraDataCenterResult
def get_cassandra_data_center_output(cluster_name: Optional[pulumi.Input[str]] = None,
data_center_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCassandraDataCenterResult]
func LookupCassandraDataCenter(ctx *Context, args *LookupCassandraDataCenterArgs, opts ...InvokeOption) (*LookupCassandraDataCenterResult, error)
func LookupCassandraDataCenterOutput(ctx *Context, args *LookupCassandraDataCenterOutputArgs, opts ...InvokeOption) LookupCassandraDataCenterResultOutput
> Note: This function is named LookupCassandraDataCenter
in the Go SDK.
public static class GetCassandraDataCenter
{
public static Task<GetCassandraDataCenterResult> InvokeAsync(GetCassandraDataCenterArgs args, InvokeOptions? opts = null)
public static Output<GetCassandraDataCenterResult> Invoke(GetCassandraDataCenterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCassandraDataCenterResult> getCassandraDataCenter(GetCassandraDataCenterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:documentdb:getCassandraDataCenter
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Name string - Managed Cassandra cluster name.
- Data
Center stringName - Data center name in a managed Cassandra cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Cluster
Name string - Managed Cassandra cluster name.
- Data
Center stringName - Data center name in a managed Cassandra cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- cluster
Name String - Managed Cassandra cluster name.
- data
Center StringName - Data center name in a managed Cassandra cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- cluster
Name string - Managed Cassandra cluster name.
- data
Center stringName - Data center name in a managed Cassandra cluster.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- cluster_
name str - Managed Cassandra cluster name.
- data_
center_ strname - Data center name in a managed Cassandra cluster.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- cluster
Name String - Managed Cassandra cluster name.
- data
Center StringName - Data center name in a managed Cassandra cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getCassandraDataCenter Result
The following output properties are available:
- Id string
- The unique resource identifier of the database account.
- Name string
- The name of the database account.
- Properties
Pulumi.
Azure Native. Document DB. Outputs. Data Center Resource Response Properties - Properties of a managed Cassandra data center.
- Type string
- The type of Azure resource.
- Id string
- The unique resource identifier of the database account.
- Name string
- The name of the database account.
- Properties
Data
Center Resource Response Properties - Properties of a managed Cassandra data center.
- Type string
- The type of Azure resource.
- id String
- The unique resource identifier of the database account.
- name String
- The name of the database account.
- properties
Data
Center Resource Response Properties - Properties of a managed Cassandra data center.
- type String
- The type of Azure resource.
- id string
- The unique resource identifier of the database account.
- name string
- The name of the database account.
- properties
Data
Center Resource Response Properties - Properties of a managed Cassandra data center.
- type string
- The type of Azure resource.
- id str
- The unique resource identifier of the database account.
- name str
- The name of the database account.
- properties
Data
Center Resource Response Properties - Properties of a managed Cassandra data center.
- type str
- The type of Azure resource.
- id String
- The unique resource identifier of the database account.
- name String
- The name of the database account.
- properties Property Map
- Properties of a managed Cassandra data center.
- type String
- The type of Azure resource.
Supporting Types
DataCenterResourceResponseProperties
- 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.
SeedNodeResponse
- 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.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi