UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

124 lines 3.13 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; export declare function getCluster(args?: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>; /** * A collection of arguments for invoking getCluster. */ export interface GetClusterArgs { /** * The ID of the Kafka cluster */ clusterId?: string; /** * Name of the Kafka cluster */ name?: string; /** * The projectId you want to attach the resource to */ projectId?: string; /** * The region you want to attach the resource to */ region?: string; } /** * A collection of values returned by getCluster. */ export interface GetClusterResult { /** * The ID of the Kafka cluster */ readonly clusterId?: string; /** * Date and time of cluster creation (RFC 3339 format) */ readonly createdAt: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Name of the Kafka cluster */ readonly name?: string; /** * Number of nodes in the cluster */ readonly nodeAmount: number; /** * Node type to use for the cluster */ readonly nodeType: string; /** * Password for the Kafka user */ readonly password: string; /** * Private network to expose your Kafka cluster */ readonly privateNetworks: outputs.kafka.GetClusterPrivateNetwork[]; /** * The projectId you want to attach the resource to */ readonly projectId?: string; /** * Public endpoint configuration */ readonly publicNetworks: outputs.kafka.GetClusterPublicNetwork[]; /** * The region you want to attach the resource to */ readonly region?: string; /** * The status of the cluster */ readonly status: string; /** * List of tags to apply */ readonly tags: string[]; /** * Date and time of cluster last update (RFC 3339 format) */ readonly updatedAt: string; /** * Username for the Kafka user */ readonly userName: string; /** * Kafka version to use */ readonly version: string; /** * Volume size in GB */ readonly volumeSizeInGb: number; /** * Type of volume where data is stored */ readonly volumeType: string; } export declare function getClusterOutput(args?: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterResult>; /** * A collection of arguments for invoking getCluster. */ export interface GetClusterOutputArgs { /** * The ID of the Kafka cluster */ clusterId?: pulumi.Input<string | undefined>; /** * Name of the Kafka cluster */ name?: pulumi.Input<string | undefined>; /** * The projectId you want to attach the resource to */ projectId?: pulumi.Input<string | undefined>; /** * The region you want to attach the resource to */ region?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getCluster.d.ts.map