Show / Hide Table of Contents

Class GetDatabaseCluster

Inheritance
System.Object
GetDatabaseCluster
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public static class GetDatabaseCluster

Methods

View Source

InvokeAsync(GetDatabaseClusterArgs, InvokeOptions)

Provides information on a DigitalOcean database cluster resource.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(DigitalOcean.GetDatabaseCluster.InvokeAsync(new DigitalOcean.GetDatabaseClusterArgs
    {
        Name = "example-cluster",
    }));
    this.DatabaseOutput = example.Apply(example => example.Uri);
}

[Output("databaseOutput")]
public Output<string> DatabaseOutput { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetDatabaseClusterResult> InvokeAsync(GetDatabaseClusterArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetDatabaseClusterArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetDatabaseClusterResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.