@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
43 lines (42 loc) • 1.13 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get attributes used by provider to configure client connection.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as yandex from "@pulumi/yandex";
*
* const client = yandex.getClientConfig({});
* const kubernetes = yandex.getKubernetesCluster({
* name: "kubernetes",
* });
* ```
*/
export declare function getClientConfig(opts?: pulumi.InvokeOptions): Promise<GetClientConfigResult>;
/**
* A collection of values returned by getClientConfig.
*/
export interface GetClientConfigResult {
/**
* The ID of the cloud that the provider is connecting to.
*/
readonly cloudId: string;
/**
* The ID of the folder in which we operate.
*/
readonly folderId: string;
/**
* A short-lived token that can be used for authentication in a Kubernetes cluster.
*/
readonly iamToken: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The default availability zone.
*/
readonly zone: string;
}