1. Packages
  2. Azure Native v1
  3. API Docs
  4. documentdb
  5. getCassandraDataCenter
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

azure-native-v1 logo
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:

    ClusterName string
    Managed Cassandra cluster name.
    DataCenterName string
    Data center name in a managed Cassandra cluster.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ClusterName string
    Managed Cassandra cluster name.
    DataCenterName string
    Data center name in a managed Cassandra cluster.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    clusterName String
    Managed Cassandra cluster name.
    dataCenterName String
    Data center name in a managed Cassandra cluster.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    clusterName string
    Managed Cassandra cluster name.
    dataCenterName string
    Data center name in a managed Cassandra cluster.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    cluster_name str
    Managed Cassandra cluster name.
    data_center_name str
    Data center name in a managed Cassandra cluster.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    clusterName String
    Managed Cassandra cluster name.
    dataCenterName String
    Data center name in a managed Cassandra cluster.
    resourceGroupName String
    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.AzureNative.DocumentDB.Outputs.DataCenterResourceResponseProperties
    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 DataCenterResourceResponseProperties
    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 DataCenterResourceResponseProperties
    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 DataCenterResourceResponseProperties
    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 DataCenterResourceResponseProperties
    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

    SeedNodes List<Pulumi.AzureNative.DocumentDB.Inputs.SeedNodeResponse>
    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.
    Base64EncodedCassandraYamlFragment string
    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.
    DataCenterLocation string
    The region this data center should be created in.
    DelegatedSubnetId string
    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/'.
    NodeCount 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.
    ProvisioningState string
    The status of the resource at the time the operation was called.
    SeedNodes []SeedNodeResponse
    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.
    Base64EncodedCassandraYamlFragment string
    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.
    DataCenterLocation string
    The region this data center should be created in.
    DelegatedSubnetId string
    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/'.
    NodeCount 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.
    ProvisioningState string
    The status of the resource at the time the operation was called.
    seedNodes List<SeedNodeResponse>
    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.
    base64EncodedCassandraYamlFragment String
    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.
    dataCenterLocation String
    The region this data center should be created in.
    delegatedSubnetId String
    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/'.
    nodeCount 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.
    provisioningState String
    The status of the resource at the time the operation was called.
    seedNodes SeedNodeResponse[]
    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.
    base64EncodedCassandraYamlFragment string
    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.
    dataCenterLocation string
    The region this data center should be created in.
    delegatedSubnetId string
    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/'.
    nodeCount 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.
    provisioningState string
    The status of the resource at the time the operation was called.
    seed_nodes Sequence[SeedNodeResponse]
    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_cassandra_yaml_fragment str
    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_location str
    The region this data center should be created in.
    delegated_subnet_id str
    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.
    seedNodes 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.
    base64EncodedCassandraYamlFragment String
    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.
    dataCenterLocation String
    The region this data center should be created in.
    delegatedSubnetId String
    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/'.
    nodeCount 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.
    provisioningState String
    The status of the resource at the time the operation was called.

    SeedNodeResponse

    IpAddress string
    IP address of this seed node.
    IpAddress string
    IP address of this seed node.
    ipAddress String
    IP address of this seed node.
    ipAddress string
    IP address of this seed node.
    ip_address str
    IP address of this seed node.
    ipAddress String
    IP address of this seed node.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    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