@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
31 lines • 1.04 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getClientConfig = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* 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",
* });
* ```
*/
function getClientConfig(opts) {
if (!opts) {
opts = {};
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
return pulumi.runtime.invoke("yandex:index/getClientConfig:getClientConfig", {}, opts);
}
exports.getClientConfig = getClientConfig;
//# sourceMappingURL=getClientConfig.js.map