Lab

class Lab : KotlinCustomResource

Lab details. Uses Azure REST API version 2021-12-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-12-01-preview.

Example Usage

CreateLab

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var lab = new AzureNative.Education.Lab("lab", new()
{
BillingAccountName = "{billingAccountName}",
BillingProfileName = "{billingProfileName}",
BudgetPerStudent = new AzureNative.Education.Inputs.AmountArgs
{
Currency = "USD",
Value = 100,
},
Description = "example lab description",
DisplayName = "example lab",
ExpirationDate = "2021-12-09T22:11:29.422Z",
InvoiceSectionName = "{invoiceSectionName}",
});
});
package main
import (
education "github.com/pulumi/pulumi-azure-native-sdk/education/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := education.NewLab(ctx, "lab", &education.LabArgs{
BillingAccountName: pulumi.String("{billingAccountName}"),
BillingProfileName: pulumi.String("{billingProfileName}"),
BudgetPerStudent: &education.AmountArgs{
Currency: pulumi.String("USD"),
Value: pulumi.Float64(100),
},
Description: pulumi.String("example lab description"),
DisplayName: pulumi.String("example lab"),
ExpirationDate: pulumi.String("2021-12-09T22:11:29.422Z"),
InvoiceSectionName: pulumi.String("{invoiceSectionName}"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.education.Lab;
import com.pulumi.azurenative.education.LabArgs;
import com.pulumi.azurenative.education.inputs.AmountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var lab = new Lab("lab", LabArgs.builder()
.billingAccountName("{billingAccountName}")
.billingProfileName("{billingProfileName}")
.budgetPerStudent(AmountArgs.builder()
.currency("USD")
.value(100)
.build())
.description("example lab description")
.displayName("example lab")
.expirationDate("2021-12-09T22:11:29.422Z")
.invoiceSectionName("{invoiceSectionName}")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:education:Lab default /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Default monetary cap for each student in this lab

Link copied to clipboard
val currency: Output<String>?

The type of currency being used for the value.

Link copied to clipboard
val description: Output<String>

Detail description of this lab

Link copied to clipboard
val displayName: Output<String>

Lab Display Name

Link copied to clipboard
val effectiveDate: Output<String>

Lab creation date

Link copied to clipboard
val expirationDate: Output<String>

Default expiration date for each student in this lab

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val invitationCode: Output<String>

invitation code for redeemable lab

Link copied to clipboard
val maxStudentCount: Output<Double>

the total number of students that can be accepted to the lab.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

The status of this lab

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard

Total budget

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val value: Output<Double>?

Amount value.