Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi
yandex.getResourcemanagerCloud
Start a Neo task
Explain and create a yandex.getResourcemanagerCloud resource
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
})
}
Example coming soon!
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;
import pulumi
import pulumi_yandex as yandex
foo = yandex.get_resourcemanager_cloud(name="foo-cloud")
pulumi.export("cloudCreateTimestamp", foo.created_at)
Example 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)
public static Output<GetResourcemanagerCloudResult> getResourcemanagerCloud(GetResourcemanagerCloudArgs args, InvokeOptions options)
fn::invoke:
function: yandex:index/getResourcemanagerCloud:getResourcemanagerCloud
arguments:
# arguments dictionaryThe following arguments are supported:
- Cloud
Id string - ID of the cloud.
- Description string
- Description of the cloud.
- Name string
- Name of the cloud.
- Cloud
Id string - ID of the cloud.
- Description string
- Description of the cloud.
- Name string
- Name of the cloud.
- cloud
Id String - ID of the cloud.
- description String
- Description of the cloud.
- name String
- Name of the cloud.
- cloud
Id 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.
- cloud
Id 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:
- Cloud
Id string - Created
At 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 string - Created
At 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 String - created
At 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 string - created
At 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.
- cloud
Id String - created
At 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
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandexTerraform Provider.
