Astra DB v1.0.42 published on Tuesday, Jun 6, 2023 by pulumiverse
astra.getAstraDatabases
Explore with Pulumi AI
astra.getAstraDatabases
provides a datasource for a list of Astra databases. This can be used to select databases within your Astra Organization.
Using getAstraDatabases
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 getAstraDatabases(args: GetAstraDatabasesArgs, opts?: InvokeOptions): Promise<GetAstraDatabasesResult>
function getAstraDatabasesOutput(args: GetAstraDatabasesOutputArgs, opts?: InvokeOptions): Output<GetAstraDatabasesResult>
def get_astra_databases(cloud_provider: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAstraDatabasesResult
def get_astra_databases_output(cloud_provider: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAstraDatabasesResult]
func LookupAstraDatabases(ctx *Context, args *LookupAstraDatabasesArgs, opts ...InvokeOption) (*LookupAstraDatabasesResult, error)
func LookupAstraDatabasesOutput(ctx *Context, args *LookupAstraDatabasesOutputArgs, opts ...InvokeOption) LookupAstraDatabasesResultOutput
> Note: This function is named LookupAstraDatabases
in the Go SDK.
public static class GetAstraDatabases
{
public static Task<GetAstraDatabasesResult> InvokeAsync(GetAstraDatabasesArgs args, InvokeOptions? opts = null)
public static Output<GetAstraDatabasesResult> Invoke(GetAstraDatabasesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAstraDatabasesResult> getAstraDatabases(GetAstraDatabasesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: astra:index/getAstraDatabases:getAstraDatabases
arguments:
# arguments dictionary
The following arguments are supported:
- Cloud
Provider string - The cloud provider
- Status string
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- Cloud
Provider string - The cloud provider
- Status string
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- cloud
Provider String - The cloud provider
- status String
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- cloud
Provider string - The cloud provider
- status string
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- cloud_
provider str - The cloud provider
- status str
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- cloud
Provider String - The cloud provider
- status String
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
getAstraDatabases Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Pulumiverse.
Astra. Outputs. Get Astra Databases Result> - The list of Astra databases that match the search criteria.
- Cloud
Provider string - The cloud provider
- Status string
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Astra Databases Result - The list of Astra databases that match the search criteria.
- Cloud
Provider string - The cloud provider
- Status string
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Astra Databases Result> - The list of Astra databases that match the search criteria.
- cloud
Provider String - The cloud provider
- status String
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Astra Databases Result[] - The list of Astra databases that match the search criteria.
- cloud
Provider string - The cloud provider
- status string
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Astra Databases Result] - The list of Astra databases that match the search criteria.
- cloud_
provider str - The cloud provider
- status str
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The list of Astra databases that match the search criteria.
- cloud
Provider String - The cloud provider
- status String
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
Supporting Types
GetAstraDatabasesResult
- Additional
Keyspaces List<string> - Cloud
Provider string - The cloud provider
- Cqlsh
Url string - Data
Endpoint stringUrl - Datacenters Dictionary<string, string>
- Grafana
Url string - Graphql
Url string - Id string
- The ID of this resource.
- Keyspace string
- Name string
- Node
Count int - Organization
Id string - Owner
Id string - Regions List<string>
- Replication
Factor int - Status string
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- Total
Storage int
- Additional
Keyspaces []string - Cloud
Provider string - The cloud provider
- Cqlsh
Url string - Data
Endpoint stringUrl - Datacenters map[string]string
- Grafana
Url string - Graphql
Url string - Id string
- The ID of this resource.
- Keyspace string
- Name string
- Node
Count int - Organization
Id string - Owner
Id string - Regions []string
- Replication
Factor int - Status string
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- Total
Storage int
- additional
Keyspaces List<String> - cloud
Provider String - The cloud provider
- cqlsh
Url String - data
Endpoint StringUrl - datacenters Map<String,String>
- grafana
Url String - graphql
Url String - id String
- The ID of this resource.
- keyspace String
- name String
- node
Count Integer - organization
Id String - owner
Id String - regions List<String>
- replication
Factor Integer - status String
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- total
Storage Integer
- additional
Keyspaces string[] - cloud
Provider string - The cloud provider
- cqlsh
Url string - data
Endpoint stringUrl - datacenters {[key: string]: string}
- grafana
Url string - graphql
Url string - id string
- The ID of this resource.
- keyspace string
- name string
- node
Count number - organization
Id string - owner
Id string - regions string[]
- replication
Factor number - status string
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- total
Storage number
- additional_
keyspaces Sequence[str] - cloud_
provider str - The cloud provider
- cqlsh_
url str - data_
endpoint_ strurl - datacenters Mapping[str, str]
- grafana_
url str - graphql_
url str - id str
- The ID of this resource.
- keyspace str
- name str
- node_
count int - organization_
id str - owner_
id str - regions Sequence[str]
- replication_
factor int - status str
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- total_
storage int
- additional
Keyspaces List<String> - cloud
Provider String - The cloud provider
- cqlsh
Url String - data
Endpoint StringUrl - datacenters Map<String>
- grafana
Url String - graphql
Url String - id String
- The ID of this resource.
- keyspace String
- name String
- node
Count Number - organization
Id String - owner
Id String - regions List<String>
- replication
Factor Number - status String
- Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
- total
Storage Number
Package Details
- Repository
- astra pulumiverse/pulumi-astra
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
astra
Terraform Provider.