GetCloudCredential
Use this data source to retrieve information about a Rancher v2 Cloud Credential.
Example Usage
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
class MyStack : Stack
{
public MyStack()
{
var test = Output.Create(Rancher2.GetCloudCredential.InvokeAsync(new Rancher2.GetCloudCredentialArgs
{
Name = "test",
}));
}
}
Coming soon!
import pulumi
import pulumi_rancher2 as rancher2
test = rancher2.get_cloud_credential(name="test")import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
const test = pulumi.output(rancher2.getCloudCredential({
name: "test",
}, { async: true }));Using GetCloudCredential
function getCloudCredential(args: GetCloudCredentialArgs, opts?: InvokeOptions): Promise<GetCloudCredentialResult>function get_cloud_credential(name=None, opts=None)func LookupCloudCredential(ctx *Context, args *LookupCloudCredentialArgs, opts ...InvokeOption) (*LookupCloudCredentialResult, error)Note: This function is named
LookupCloudCredentialin the Go SDK.
public static class GetCloudCredential {
public static Task<GetCloudCredentialResult> InvokeAsync(GetCloudCredentialArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetCloudCredential Result
The following output properties are available:
Package Details
- Repository
- https://github.com/pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2Terraform Provider.