Show / Hide Table of Contents

Class Lab

Manages a Dev Test Lab.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
    {
        Location = "West US",
    });
    var exampleLab = new Azure.DevTest.Lab("exampleLab", new Azure.DevTest.LabArgs
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        Tags = 
        {
            { "Sydney", "Australia" },
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Lab
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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 class Lab : CustomResource

Constructors

View Source

Lab(String, LabArgs, CustomResourceOptions)

Create a Lab resource with the given unique name, arguments, and options.

Declaration
public Lab(string name, LabArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

LabArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ArtifactsStorageAccountId

The ID of the Storage Account used for Artifact Storage.

Declaration
public Output<string> ArtifactsStorageAccountId { get; }
Property Value
Type Description
Output<System.String>
View Source

DefaultPremiumStorageAccountId

The ID of the Default Premium Storage Account for this Dev Test Lab.

Declaration
public Output<string> DefaultPremiumStorageAccountId { get; }
Property Value
Type Description
Output<System.String>
View Source

DefaultStorageAccountId

The ID of the Default Storage Account for this Dev Test Lab.

Declaration
public Output<string> DefaultStorageAccountId { get; }
Property Value
Type Description
Output<System.String>
View Source

KeyVaultId

The ID of the Key used for this Dev Test Lab.

Declaration
public Output<string> KeyVaultId { get; }
Property Value
Type Description
Output<System.String>
View Source

Location

Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created.

Declaration
public Output<string> Location { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

PremiumDataDiskStorageAccountId

The ID of the Storage Account used for Storage of Premium Data Disk.

Declaration
public Output<string> PremiumDataDiskStorageAccountId { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

The name of the resource group under which the Dev Test Lab resource has to be created. Changing this forces a new resource to be created.

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

StorageType

The type of storage used by the Dev Test Lab. Possible values are Standard and Premium. Defaults to Premium. Changing this forces a new resource to be created.

Declaration
public Output<string> StorageType { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

UniqueIdentifier

The unique immutable identifier of the Dev Test Lab.

Declaration
public Output<string> UniqueIdentifier { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, LabState, CustomResourceOptions)

Get an existing Lab resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Lab Get(string name, Input<string> id, LabState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

LabState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Lab
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.