qdrant-cloud 1.3.1 published on Friday, Mar 7, 2025 by qdrant
qdrant-cloud.getBookingPackages
Explore with Pulumi AI
qdrant-cloud 1.3.1 published on Friday, Mar 7, 2025 by qdrant
Booking packages Data Source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as qdrant_cloud from "@pulumi/qdrant-cloud";
const test = qdrant_cloud.getBookingPackages({
    cloudProvider: "aws",
    cloudRegion: "us-west-2",
});
export const packages = test.then(test => test.packages);
import pulumi
import pulumi_qdrant_cloud as qdrant_cloud
test = qdrant_cloud.get_booking_packages(cloud_provider="aws",
    cloud_region="us-west-2")
pulumi.export("packages", test.packages)
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 {
		test, err := qdrantcloud.GetBookingPackages(ctx, &qdrantcloud.GetBookingPackagesArgs{
			CloudProvider: "aws",
			CloudRegion:   "us-west-2",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("packages", test.Packages)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using QdrantCloud = Pulumi.QdrantCloud;
return await Deployment.RunAsync(() => 
{
    var test = QdrantCloud.GetBookingPackages.Invoke(new()
    {
        CloudProvider = "aws",
        CloudRegion = "us-west-2",
    });
    return new Dictionary<string, object?>
    {
        ["packages"] = test.Apply(getBookingPackagesResult => getBookingPackagesResult.Packages),
    };
});
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.GetBookingPackagesArgs;
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 test = Qdrant-cloudFunctions.getBookingPackages(GetBookingPackagesArgs.builder()
            .cloudProvider("aws")
            .cloudRegion("us-west-2")
            .build());
        ctx.export("packages", test.applyValue(getBookingPackagesResult -> getBookingPackagesResult.packages()));
    }
}
variables:
  test:
    fn::invoke:
      function: qdrant-cloud:getBookingPackages
      arguments:
        cloudProvider: aws
        cloudRegion: us-west-2
outputs:
  # Output the packages (Note that the package id is relevent for creating a cluster)
  packages: ${test.packages}
Using getBookingPackages
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 getBookingPackages(args: GetBookingPackagesArgs, opts?: InvokeOptions): Promise<GetBookingPackagesResult>
function getBookingPackagesOutput(args: GetBookingPackagesOutputArgs, opts?: InvokeOptions): Output<GetBookingPackagesResult>def get_booking_packages(cloud_provider: Optional[str] = None,
                         cloud_region: Optional[str] = None,
                         id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetBookingPackagesResult
def get_booking_packages_output(cloud_provider: Optional[pulumi.Input[str]] = None,
                         cloud_region: Optional[pulumi.Input[str]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetBookingPackagesResult]func GetBookingPackages(ctx *Context, args *GetBookingPackagesArgs, opts ...InvokeOption) (*GetBookingPackagesResult, error)
func GetBookingPackagesOutput(ctx *Context, args *GetBookingPackagesOutputArgs, opts ...InvokeOption) GetBookingPackagesResultOutput> Note: This function is named GetBookingPackages in the Go SDK.
public static class GetBookingPackages 
{
    public static Task<GetBookingPackagesResult> InvokeAsync(GetBookingPackagesArgs args, InvokeOptions? opts = null)
    public static Output<GetBookingPackagesResult> Invoke(GetBookingPackagesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBookingPackagesResult> getBookingPackages(GetBookingPackagesArgs args, InvokeOptions options)
public static Output<GetBookingPackagesResult> getBookingPackages(GetBookingPackagesArgs args, InvokeOptions options)
fn::invoke:
  function: qdrant-cloud:index/getBookingPackages:getBookingPackages
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Cloud
Provider string - Cluster Schema Cloud provider where the cluster resides field
 - Cloud
Region string - Cluster Schema Cloud region where the cluster resides field
 - Id string
 - The ID of this resource.
 
- Cloud
Provider string - Cluster Schema Cloud provider where the cluster resides field
 - Cloud
Region string - Cluster Schema Cloud region where the cluster resides field
 - Id string
 - The ID of this resource.
 
- cloud
Provider String - Cluster Schema Cloud provider where the cluster resides field
 - cloud
Region String - Cluster Schema Cloud region where the cluster resides field
 - id String
 - The ID of this resource.
 
- cloud
Provider string - Cluster Schema Cloud provider where the cluster resides field
 - cloud
Region string - Cluster Schema Cloud region where the cluster resides field
 - id string
 - The ID of this resource.
 
- cloud_
provider str - Cluster Schema Cloud provider where the cluster resides field
 - cloud_
region str - Cluster Schema Cloud region where the cluster resides field
 - id str
 - The ID of this resource.
 
- cloud
Provider String - Cluster Schema Cloud provider where the cluster resides field
 - cloud
Region String - Cluster Schema Cloud region where the cluster resides field
 - id String
 - The ID of this resource.
 
getBookingPackages Result
The following output properties are available:
- Cloud
Provider string - Cluster Schema Cloud provider where the cluster resides field
 - Cloud
Region string - Cluster Schema Cloud region where the cluster resides field
 - Id string
 - The ID of this resource.
 - Packages
List<Pulumi.
Qdrant Cloud. Outputs. Get Booking Packages Package>  - List of packages
 
- Cloud
Provider string - Cluster Schema Cloud provider where the cluster resides field
 - Cloud
Region string - Cluster Schema Cloud region where the cluster resides field
 - Id string
 - The ID of this resource.
 - Packages
[]Get
Booking Packages Package  - List of packages
 
- cloud
Provider String - Cluster Schema Cloud provider where the cluster resides field
 - cloud
Region String - Cluster Schema Cloud region where the cluster resides field
 - id String
 - The ID of this resource.
 - packages
List<Get
Booking Packages Package>  - List of packages
 
- cloud
Provider string - Cluster Schema Cloud provider where the cluster resides field
 - cloud
Region string - Cluster Schema Cloud region where the cluster resides field
 - id string
 - The ID of this resource.
 - packages
Get
Booking Packages Package[]  - List of packages
 
- cloud_
provider str - Cluster Schema Cloud provider where the cluster resides field
 - cloud_
region str - Cluster Schema Cloud region where the cluster resides field
 - id str
 - The ID of this resource.
 - packages
Sequence[Get
Booking Packages Package]  - List of packages
 
- cloud
Provider String - Cluster Schema Cloud provider where the cluster resides field
 - cloud
Region String - Cluster Schema Cloud region where the cluster resides field
 - id String
 - The ID of this resource.
 - packages List<Property Map>
 - List of packages
 
Supporting Types
GetBookingPackagesPackage   
- Currency string
 - Id string
 - Name string
 - Resource
Configurations []GetBooking Packages Package Resource Configuration  - Unit
Int float64Price Per Hour  
- currency String
 - id String
 - name String
 - resource
Configurations List<GetBooking Packages Package Resource Configuration>  - unit
Int DoublePrice Per Hour  
- currency string
 - id string
 - name string
 - resource
Configurations GetBooking Packages Package Resource Configuration[]  - unit
Int numberPrice Per Hour  
- currency String
 - id String
 - name String
 - resource
Configurations List<Property Map> - unit
Int NumberPrice Per Hour  
GetBookingPackagesPackageResourceConfiguration     
- 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-cloudTerraform Provider. 
qdrant-cloud 1.3.1 published on Friday, Mar 7, 2025 by qdrant