Show / Hide Table of Contents

Class GetLab

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

Methods

View Source

InvokeAsync(GetLabArgs, InvokeOptions)

Use this data source to access information about an existing Dev Test Lab.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.DevTest.GetLab.InvokeAsync(new Azure.DevTest.GetLabArgs
    {
        Name = "example-lab",
        ResourceGroupName = "example-resources",
    }));
    this.UniqueIdentifier = example.Apply(example => example.UniqueIdentifier);
}

[Output("uniqueIdentifier")]
public Output<string> UniqueIdentifier { get; set; }
}

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

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