Lab
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}",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Properties
Link copied to clipboard
The Azure API version of the resource.
Link copied to clipboard
Default monetary cap for each student in this lab
Link copied to clipboard
Detail description of this lab
Link copied to clipboard
Lab Display Name
Link copied to clipboard
Lab creation date
Link copied to clipboard
Default expiration date for each student in this lab
Link copied to clipboard
invitation code for redeemable lab
Link copied to clipboard
the total number of students that can be accepted to the lab.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Link copied to clipboard
Total budget