Show / Hide Table of Contents

Class GetAuthScope

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

Methods

View Source

InvokeAsync(GetAuthScopeArgs, InvokeOptions)

Use this data source to get authentication information about the current auth scope in use. This can be used as self-discovery or introspection of the username or project name currently in use.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var scope = Output.Create(OpenStack.Identity.GetAuthScope.InvokeAsync(new OpenStack.Identity.GetAuthScopeArgs
    {
        Name = "my_scope",
    }));
}

}

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

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