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" },
},
});
}
}
Inherited Members
Namespace: Pulumi.Azure.DevTest
Assembly: Pulumi.Azure.dll
Syntax
public class Lab : CustomResource
Constructors
View SourceLab(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 SourceArtifactsStorageAccountId
The ID of the Storage Account used for Artifact Storage.
Declaration
public Output<string> ArtifactsStorageAccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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>> |
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 SourceGet(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 |