Show / Hide Table of Contents

Class GetTrunk

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

Methods

View Source

InvokeAsync(GetTrunkArgs, InvokeOptions)

Use this data source to get the ID of an available OpenStack trunk.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var trunk1 = Output.Create(OpenStack.Networking.GetTrunk.InvokeAsync(new OpenStack.Networking.GetTrunkArgs
    {
        Name = "trunk_1",
    }));
}

}

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

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