Show / Hide Table of Contents

Class GetRegion

Inheritance
System.Object
GetRegion
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 GetRegion

Methods

View Source

InvokeAsync(GetRegionArgs, InvokeOptions)

linode..getRegion provides details about a specific Linode region. See all regions here.

{{% examples %}}

Example Usage

{{% example %}}

The following example shows how the resource might be used to obtain additional information about a Linode region.

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
public MyStack()
{
    var region = Output.Create(Linode.GetRegion.InvokeAsync(new Linode.GetRegionArgs
    {
        Id = "us-east",
    }));
}

}

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

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