UNPKG

@mapped/pulumi-astra

Version:

A Pulumi package for creating and managing astra cloud resources.

46 lines (45 loc) 1.48 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "./types"; /** * `astra.getPrivateLinks` provides a datasource that lists the private links in an Astra database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as astra from "@pulumi/astra"; * * const dev = pulumi.output(astra.getPrivateLinks({ * databaseId: "a6bc9c26-e7ce-424f-84c7-0a00afb12588", * datacenterId: "a6bc9c26-e7ce-424f-84c7-0a00afb12588", * })); * ``` */ export declare function getPrivateLinks(args: GetPrivateLinksArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateLinksResult>; /** * A collection of arguments for invoking getPrivateLinks. */ export interface GetPrivateLinksArgs { databaseId: string; datacenterId: string; } /** * A collection of values returned by getPrivateLinks. */ export interface GetPrivateLinksResult { readonly databaseId: string; readonly datacenterId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly results: outputs.GetPrivateLinksResult[]; } export declare function getPrivateLinksOutput(args: GetPrivateLinksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPrivateLinksResult>; /** * A collection of arguments for invoking getPrivateLinks. */ export interface GetPrivateLinksOutputArgs { databaseId: pulumi.Input<string>; datacenterId: pulumi.Input<string>; }