Yandex

Pulumi Official
Package maintained by Pulumi
v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

getResourcemanagerCloud

Use this data source to get cloud details. For more information, see Cloud.

Example Usage

using Pulumi;
using Yandex = Pulumi.Yandex;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = Output.Create(Yandex.GetResourcemanagerCloud.InvokeAsync(new Yandex.GetResourcemanagerCloudArgs
        {
            Name = "foo-cloud",
        }));
        this.CloudCreateTimestamp = foo.Apply(foo => foo.CreatedAt);
    }

    [Output("cloudCreateTimestamp")]
    public Output<string> CloudCreateTimestamp { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "foo-cloud"
		foo, err := yandex.GetResourcemanagerCloud(ctx, &GetResourcemanagerCloudArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudCreateTimestamp", foo.CreatedAt)
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_yandex as yandex

foo = yandex.get_resourcemanager_cloud(name="foo-cloud")
pulumi.export("cloudCreateTimestamp", foo.created_at)
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;

Coming soon!

Using getResourcemanagerCloud

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getResourcemanagerCloud(args: GetResourcemanagerCloudArgs, opts?: InvokeOptions): Promise<GetResourcemanagerCloudResult>
function getResourcemanagerCloudOutput(args: GetResourcemanagerCloudOutputArgs, opts?: InvokeOptions): Output<GetResourcemanagerCloudResult>
def get_resourcemanager_cloud(cloud_id: Optional[str] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetResourcemanagerCloudResult
def get_resourcemanager_cloud_output(cloud_id: Optional[pulumi.Input[str]] = None,
                              description: Optional[pulumi.Input[str]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetResourcemanagerCloudResult]
func GetResourcemanagerCloud(ctx *Context, args *GetResourcemanagerCloudArgs, opts ...InvokeOption) (*GetResourcemanagerCloudResult, error)
func GetResourcemanagerCloudOutput(ctx *Context, args *GetResourcemanagerCloudOutputArgs, opts ...InvokeOption) GetResourcemanagerCloudResultOutput

> Note: This function is named GetResourcemanagerCloud in the Go SDK.

public static class GetResourcemanagerCloud 
{
    public static Task<GetResourcemanagerCloudResult> InvokeAsync(GetResourcemanagerCloudArgs args, InvokeOptions? opts = null)
    public static Output<GetResourcemanagerCloudResult> Invoke(GetResourcemanagerCloudInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResourcemanagerCloudResult> getResourcemanagerCloud(GetResourcemanagerCloudArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: yandex:index/getResourcemanagerCloud:getResourcemanagerCloud
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CloudId string

ID of the cloud.

Description string

Description of the cloud.

Name string

Name of the cloud.

CloudId string

ID of the cloud.

Description string

Description of the cloud.

Name string

Name of the cloud.

cloudId String

ID of the cloud.

description String

Description of the cloud.

name String

Name of the cloud.

cloudId string

ID of the cloud.

description string

Description of the cloud.

name string

Name of the cloud.

cloud_id str

ID of the cloud.

description str

Description of the cloud.

name str

Name of the cloud.

cloudId String

ID of the cloud.

description String

Description of the cloud.

name String

Name of the cloud.

getResourcemanagerCloud Result

The following output properties are available:

CloudId string
CreatedAt string

Cloud creation timestamp.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Name of the cloud.

Description string

Description of the cloud.

CloudId string
CreatedAt string

Cloud creation timestamp.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Name of the cloud.

Description string

Description of the cloud.

cloudId String
createdAt String

Cloud creation timestamp.

id String

The provider-assigned unique ID for this managed resource.

name String

Name of the cloud.

description String

Description of the cloud.

cloudId string
createdAt string

Cloud creation timestamp.

id string

The provider-assigned unique ID for this managed resource.

name string

Name of the cloud.

description string

Description of the cloud.

cloud_id str
created_at str

Cloud creation timestamp.

id str

The provider-assigned unique ID for this managed resource.

name str

Name of the cloud.

description str

Description of the cloud.

cloudId String
createdAt String

Cloud creation timestamp.

id String

The provider-assigned unique ID for this managed resource.

name String

Name of the cloud.

description String

Description of the cloud.

Package Details

Repository
https://github.com/pulumi/pulumi-yandex
License
Apache-2.0
Notes

This Pulumi package is based on the yandex Terraform Provider.