Show / Hide Table of Contents

Class GetManagedZone

Inheritance
System.Object
GetManagedZone
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.Gcp.Dns
Assembly: Pulumi.Gcp.dll
Syntax
public static class GetManagedZone

Methods

View Source

InvokeAsync(GetManagedZoneArgs, InvokeOptions)

Provides access to a zone's attributes within Google Cloud DNS. For more information see the official documentation and API.

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var envDnsZone = Output.Create(Gcp.Dns.GetManagedZone.InvokeAsync(new Gcp.Dns.GetManagedZoneArgs
    {
        Name = "qa-zone",
    }));
    var dns = new Gcp.Dns.RecordSet("dns", new Gcp.Dns.RecordSetArgs
    {
        Type = "TXT",
        Ttl = 300,
        ManagedZone = envDnsZone.Apply(envDnsZone => envDnsZone.Name),
        Rrdatas = 
        {
            "test",
        },
    });
}

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