@ediri/vultr
Version:
A Pulumi package for creating and managing Vultr cloud resources.
136 lines (135 loc) • 3.58 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Get information about a Vultr Kubernetes Engine (VKE) Cluster.
*
* ## Example Usage
*
* Create a new VKE cluster:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vultr from "@ediri/vultr";
*
* const myVke = vultr.getKubernetes({
* filters: [{
* name: "label",
* values: ["my-lb-label"],
* }],
* });
* ```
*/
export declare function getKubernetes(args?: GetKubernetesArgs, opts?: pulumi.InvokeOptions): Promise<GetKubernetesResult>;
/**
* A collection of arguments for invoking getKubernetes.
*/
export interface GetKubernetesArgs {
/**
* Query parameters for finding VKE.
*/
filters?: inputs.GetKubernetesFilter[];
}
/**
* A collection of values returned by getKubernetes.
*/
export interface GetKubernetesResult {
/**
* The base64 encoded public certificate used by clients to access the cluster.
*/
readonly clientCertificate: string;
/**
* The base64 encoded private key used by clients to access the cluster.
*/
readonly clientKey: string;
/**
* The base64 encoded public certificate for the cluster's certificate authority.
*/
readonly clusterCaCertificate: string;
/**
* IP range that your pods will run on in this cluster.
*/
readonly clusterSubnet: string;
/**
* Date node was created.
*/
readonly dateCreated: string;
/**
* Domain for your Kubernetes clusters control plane.
*/
readonly endpoint: string;
readonly filters?: outputs.GetKubernetesFilter[];
/**
* The ID of the firewall group managed by this cluster.
*/
readonly firewallGroupId: string;
/**
* Boolean indicating whether or not the cluster has multiple, highly available controlplanes.
*/
readonly haControlplanes: boolean;
/**
* ID of node.
*/
readonly id: string;
/**
* IP address of VKE cluster control plane.
*/
readonly ip: string;
/**
* Base64 encoded Kubeconfig for this VKE cluster.
*/
readonly kubeConfig: string;
/**
* Label of node.
*/
readonly label: string;
/**
* Contains the default node pool that was deployed.
*/
readonly nodePools: outputs.GetKubernetesNodePool[];
/**
* The region your VKE cluster is deployed in.
*/
readonly region: string;
/**
* IP range that services will run on this cluster.
*/
readonly serviceSubnet: string;
/**
* Status of node.
*/
readonly status: string;
/**
* The current kubernetes version your VKE cluster is running on.
*/
readonly version: string;
}
/**
* Get information about a Vultr Kubernetes Engine (VKE) Cluster.
*
* ## Example Usage
*
* Create a new VKE cluster:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vultr from "@ediri/vultr";
*
* const myVke = vultr.getKubernetes({
* filters: [{
* name: "label",
* values: ["my-lb-label"],
* }],
* });
* ```
*/
export declare function getKubernetesOutput(args?: GetKubernetesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetKubernetesResult>;
/**
* A collection of arguments for invoking getKubernetes.
*/
export interface GetKubernetesOutputArgs {
/**
* Query parameters for finding VKE.
*/
filters?: pulumi.Input<pulumi.Input<inputs.GetKubernetesFilterArgs>[]>;
}