LabArgs

data class LabArgs(val billingAccountName: Output<String>? = null, val billingProfileName: Output<String>? = null, val budgetPerStudent: Output<AmountArgs>? = null, val currency: Output<String>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val expirationDate: Output<String>? = null, val invoiceSectionName: Output<String>? = null, val value: Output<Double>? = null) : ConvertibleToJava<LabArgs>

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/v3"
"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.0)
.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

Constructors

Link copied to clipboard
constructor(billingAccountName: Output<String>? = null, billingProfileName: Output<String>? = null, budgetPerStudent: Output<AmountArgs>? = null, currency: Output<String>? = null, description: Output<String>? = null, displayName: Output<String>? = null, expirationDate: Output<String>? = null, invoiceSectionName: Output<String>? = null, value: Output<Double>? = null)

Properties

Link copied to clipboard
val billingAccountName: Output<String>? = null

The ID that uniquely identifies a billing account.

Link copied to clipboard
val billingProfileName: Output<String>? = null

The ID that uniquely identifies a billing profile.

Link copied to clipboard
val budgetPerStudent: Output<AmountArgs>? = null

Default monetary cap for each student in this lab

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

The type of currency being used for the value.

Link copied to clipboard
val description: Output<String>? = null

Detail description of this lab

Link copied to clipboard
val displayName: Output<String>? = null

Lab Display Name

Link copied to clipboard
val expirationDate: Output<String>? = null

Default expiration date for each student in this lab

Link copied to clipboard
val invoiceSectionName: Output<String>? = null

The ID that uniquely identifies an invoice section.

Link copied to clipboard
val value: Output<Double>? = null

Amount value.

Functions

Link copied to clipboard
open override fun toJava(): LabArgs