Show / Hide Table of Contents

Class GetEndpoint

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

Methods

View Source

InvokeAsync(GetEndpointArgs, InvokeOptions)

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

Note: This usually requires admin privileges.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var endpoint1 = Output.Create(OpenStack.Identity.GetEndpoint.InvokeAsync(new OpenStack.Identity.GetEndpointArgs
    {
        ServiceName = "demo",
    }));
}

}

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

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