qdrant-cloud 1.3.1 published on Friday, Mar 7, 2025 by qdrant
qdrant-cloud.getAccountsClusters
Explore with Pulumi AI
qdrant-cloud 1.3.1 published on Friday, Mar 7, 2025 by qdrant
Account Cluster List Data Source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as qdrant_cloud from "@pulumi/qdrant-cloud";
const allClusters = qdrant_cloud.getAccountsClusters({});
export const clusters = allClusters.then(allClusters => allClusters.clusters);
import pulumi
import pulumi_qdrant_cloud as qdrant_cloud
all_clusters = qdrant_cloud.get_accounts_clusters()
pulumi.export("clusters", all_clusters.clusters)
package main
import (
qdrantcloud "github.com/pulumi/pulumi-terraform-provider/sdks/go/qdrant-cloud/qdrant-cloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
allClusters, err := qdrantcloud.GetAccountsClusters(ctx, &qdrantcloud.GetAccountsClustersArgs{}, nil)
if err != nil {
return err
}
ctx.Export("clusters", allClusters.Clusters)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using QdrantCloud = Pulumi.QdrantCloud;
return await Deployment.RunAsync(() =>
{
var allClusters = QdrantCloud.GetAccountsClusters.Invoke();
return new Dictionary<string, object?>
{
["clusters"] = allClusters.Apply(getAccountsClustersResult => getAccountsClustersResult.Clusters),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.qdrantcloud.QdrantcloudFunctions;
import com.pulumi.qdrantcloud.inputs.GetAccountsClustersArgs;
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) {
final var allClusters = Qdrant-cloudFunctions.getAccountsClusters();
ctx.export("clusters", allClusters.applyValue(getAccountsClustersResult -> getAccountsClustersResult.clusters()));
}
}
variables:
allClusters:
fn::invoke:
function: qdrant-cloud:getAccountsClusters
arguments: {}
outputs:
clusters: ${allClusters.clusters}
Using getAccountsClusters
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 getAccountsClusters(args: GetAccountsClustersArgs, opts?: InvokeOptions): Promise<GetAccountsClustersResult>
function getAccountsClustersOutput(args: GetAccountsClustersOutputArgs, opts?: InvokeOptions): Output<GetAccountsClustersResult>
def get_accounts_clusters(account_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountsClustersResult
def get_accounts_clusters_output(account_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccountsClustersResult]
func GetAccountsClusters(ctx *Context, args *GetAccountsClustersArgs, opts ...InvokeOption) (*GetAccountsClustersResult, error)
func GetAccountsClustersOutput(ctx *Context, args *GetAccountsClustersOutputArgs, opts ...InvokeOption) GetAccountsClustersResultOutput
> Note: This function is named GetAccountsClusters
in the Go SDK.
public static class GetAccountsClusters
{
public static Task<GetAccountsClustersResult> InvokeAsync(GetAccountsClustersArgs args, InvokeOptions? opts = null)
public static Output<GetAccountsClustersResult> Invoke(GetAccountsClustersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountsClustersResult> getAccountsClusters(GetAccountsClustersArgs args, InvokeOptions options)
public static Output<GetAccountsClustersResult> getAccountsClusters(GetAccountsClustersArgs args, InvokeOptions options)
fn::invoke:
function: qdrant-cloud:index/getAccountsClusters:getAccountsClusters
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - Clusters Schema Identifier of the account field
- id str
- The ID of this resource.
getAccountsClusters Result
The following output properties are available:
- Account
Id string - Clusters Schema Identifier of the account field
- Clusters
List<Pulumi.
Qdrant Cloud. Outputs. Get Accounts Clusters Cluster> - Clusters Schema List of clusters field
- Id string
- The ID of this resource.
- Account
Id string - Clusters Schema Identifier of the account field
- Clusters
[]Get
Accounts Clusters Cluster - Clusters Schema List of clusters field
- Id string
- The ID of this resource.
- account
Id String - Clusters Schema Identifier of the account field
- clusters
List<Get
Accounts Clusters Cluster> - Clusters Schema List of clusters field
- id String
- The ID of this resource.
- account
Id string - Clusters Schema Identifier of the account field
- clusters
Get
Accounts Clusters Cluster[] - Clusters Schema List of clusters field
- id string
- The ID of this resource.
- account_
id str - Clusters Schema Identifier of the account field
- clusters
Sequence[Get
Accounts Clusters Cluster] - Clusters Schema List of clusters field
- id str
- The ID of this resource.
- account
Id String - Clusters Schema Identifier of the account field
- clusters List<Property Map>
- Clusters Schema List of clusters field
- id String
- The ID of this resource.
Supporting Types
GetAccountsClustersCluster
- Account
Id string - Cloud
Provider string - Cloud
Region string - Configurations
List<Pulumi.
Qdrant Cloud. Inputs. Get Accounts Clusters Cluster Configuration> - Created
At string - Id string
- Marked
For stringDeletion At - Name string
- Private
Region stringId - Url string
- Account
Id string - Cloud
Provider string - Cloud
Region string - Configurations
[]Get
Accounts Clusters Cluster Configuration - Created
At string - Id string
- Marked
For stringDeletion At - Name string
- Private
Region stringId - Url string
- account
Id String - cloud
Provider String - cloud
Region String - configurations
List<Get
Accounts Clusters Cluster Configuration> - created
At String - id String
- marked
For StringDeletion At - name String
- private
Region StringId - url String
- account
Id string - cloud
Provider string - cloud
Region string - configurations
Get
Accounts Clusters Cluster Configuration[] - created
At string - id string
- marked
For stringDeletion At - name string
- private
Region stringId - url string
- account
Id String - cloud
Provider String - cloud
Region String - configurations List<Property Map>
- created
At String - id String
- marked
For StringDeletion At - name String
- private
Region StringId - url String
GetAccountsClustersClusterConfiguration
- node
Configurations List<Property Map> - number
Of NumberNodes - version String
GetAccountsClustersClusterConfigurationNodeConfiguration
GetAccountsClustersClusterConfigurationNodeConfigurationResourceConfiguration
- Amount double
- Resource
Type string - Resource
Unit string
- Amount float64
- Resource
Type string - Resource
Unit string
- amount Double
- resource
Type String - resource
Unit String
- amount number
- resource
Type string - resource
Unit string
- amount float
- resource_
type str - resource_
unit str
- amount Number
- resource
Type String - resource
Unit String
Package Details
- Repository
- qdrant-cloud qdrant/terraform-provider-qdrant-cloud
- License
- Notes
- This Pulumi package is based on the
qdrant-cloud
Terraform Provider.
qdrant-cloud 1.3.1 published on Friday, Mar 7, 2025 by qdrant