@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
77 lines (76 loc) • 2.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get cloud details.
* For more information, see [Cloud](https://cloud.yandex.com/docs/resource-manager/concepts/resources-hierarchy#cloud).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as yandex from "@pulumi/yandex";
*
* const foo = pulumi.output(yandex.getResourcemanagerCloud({
* name: "foo-cloud",
* }));
*
* export const cloudCreateTimestamp = foo.createdAt;
* ```
*/
export declare function getResourcemanagerCloud(args?: GetResourcemanagerCloudArgs, opts?: pulumi.InvokeOptions): Promise<GetResourcemanagerCloudResult>;
/**
* A collection of arguments for invoking getResourcemanagerCloud.
*/
export interface GetResourcemanagerCloudArgs {
/**
* ID of the cloud.
*/
cloudId?: string;
/**
* Description of the cloud.
*/
description?: string;
/**
* Name of the cloud.
*/
name?: string;
}
/**
* A collection of values returned by getResourcemanagerCloud.
*/
export interface GetResourcemanagerCloudResult {
readonly cloudId: string;
/**
* Cloud creation timestamp.
*/
readonly createdAt: string;
/**
* Description of the cloud.
*/
readonly description?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Name of the cloud.
*/
readonly name: string;
}
export declare function getResourcemanagerCloudOutput(args?: GetResourcemanagerCloudOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetResourcemanagerCloudResult>;
/**
* A collection of arguments for invoking getResourcemanagerCloud.
*/
export interface GetResourcemanagerCloudOutputArgs {
/**
* ID of the cloud.
*/
cloudId?: pulumi.Input<string>;
/**
* Description of the cloud.
*/
description?: pulumi.Input<string>;
/**
* Name of the cloud.
*/
name?: pulumi.Input<string>;
}