UNPKG

@mapped/pulumi-astra

Version:

A Pulumi package for creating and managing astra cloud resources.

121 lines (120 loc) 3.46 kB
import * as pulumi from "@pulumi/pulumi"; /** * `astra.Cdc` enables cdc for an Astra Serverless table. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as astra from "@pulumi/astra"; * * const streaming_tenant_1 = new astra.StreamingTenant("streaming_tenant-1", { * cloudProvider: "gcp", * region: "useast-4", * tenantName: "terraformtest", * topic: "terraformtest", * userEmail: "seb@datastax.com", * }); * ``` * * ## Import * * ```sh * $ pulumi import astra:index/streamingTenant:StreamingTenant example tenant_name * ``` */ export declare class StreamingTenant extends pulumi.CustomResource { /** * Get an existing StreamingTenant resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StreamingTenantState, opts?: pulumi.CustomResourceOptions): StreamingTenant; /** * Returns true if the given object is an instance of StreamingTenant. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is StreamingTenant; /** * Cloud provider */ readonly cloudProvider: pulumi.Output<string>; /** * cloud region */ readonly region: pulumi.Output<string>; /** * Streaming tenant name. */ readonly tenantName: pulumi.Output<string>; /** * Streaming tenant topic. */ readonly topic: pulumi.Output<string>; /** * User email for tenant. */ readonly userEmail: pulumi.Output<string>; /** * Create a StreamingTenant resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: StreamingTenantArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StreamingTenant resources. */ export interface StreamingTenantState { /** * Cloud provider */ cloudProvider?: pulumi.Input<string>; /** * cloud region */ region?: pulumi.Input<string>; /** * Streaming tenant name. */ tenantName?: pulumi.Input<string>; /** * Streaming tenant topic. */ topic?: pulumi.Input<string>; /** * User email for tenant. */ userEmail?: pulumi.Input<string>; } /** * The set of arguments for constructing a StreamingTenant resource. */ export interface StreamingTenantArgs { /** * Cloud provider */ cloudProvider: pulumi.Input<string>; /** * cloud region */ region: pulumi.Input<string>; /** * Streaming tenant name. */ tenantName: pulumi.Input<string>; /** * Streaming tenant topic. */ topic: pulumi.Input<string>; /** * User email for tenant. */ userEmail: pulumi.Input<string>; }