Show / Hide Table of Contents

Class GetDomain

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

Methods

View Source

InvokeAsync(GetDomainArgs, InvokeOptions)

Provides information about a Linode domain.

{{% examples %}}

Example Usage

{{% example %}}

The following example shows how one might use this data source to access information about a Linode domain.

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
public MyStack()
{
    var foo = Output.Create(Linode.GetDomain.InvokeAsync(new Linode.GetDomainArgs
    {
        Id = "1234567",
    }));
    var bar = Output.Create(Linode.GetDomain.InvokeAsync(new Linode.GetDomainArgs
    {
        Domain = "bar.example.com",
    }));
}

}

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

Attributes

The Linode Domain resource exports the following attributes:

  • id - The unique ID of this Domain.

  • domain - The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain

  • type - If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave)

  • group - The group this Domain belongs to.

  • status - Used to control whether this Domain is currently being rendered.

  • description - A description for this Domain.

  • master_ips - The IP addresses representing the master DNS for this Domain.

  • axfr_ips - The list of IPs that may perform a zone transfer for this Domain.

  • ttl_sec - 'Time to Live'-the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers.

  • retry_sec - The interval, in seconds, at which a failed refresh should be retried.

  • expire_sec - The amount of time in seconds that may pass before this Domain is no longer authoritative.

  • refresh_sec - The amount of time in seconds before this Domain should be refreshed.

  • soa_email - Start of Authority email address.

  • tags - An array of tags applied to this object.

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