Student

class Student : KotlinCustomResource

Student 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

Student

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var student = new AzureNative.Education.Student("student", new()
{
BillingAccountName = "{billingAccountName}",
BillingProfileName = "{billingProfileName}",
Budget = new AzureNative.Education.Inputs.AmountArgs
{
Currency = "USD",
Value = 100,
},
Email = "test@contoso.com",
ExpirationDate = "2021-11-09T22:13:21.795Z",
FirstName = "test",
InvoiceSectionName = "{invoiceSectionName}",
LastName = "user",
Role = AzureNative.Education.StudentRole.Student,
StudentAlias = "{studentAlias}",
});
});
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.NewStudent(ctx, "student", &education.StudentArgs{
BillingAccountName: pulumi.String("{billingAccountName}"),
BillingProfileName: pulumi.String("{billingProfileName}"),
Budget: &education.AmountArgs{
Currency: pulumi.String("USD"),
Value: pulumi.Float64(100),
},
Email: pulumi.String("test@contoso.com"),
ExpirationDate: pulumi.String("2021-11-09T22:13:21.795Z"),
FirstName: pulumi.String("test"),
InvoiceSectionName: pulumi.String("{invoiceSectionName}"),
LastName: pulumi.String("user"),
Role: pulumi.String(education.StudentRoleStudent),
StudentAlias: pulumi.String("{studentAlias}"),
})
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.Student;
import com.pulumi.azurenative.education.StudentArgs;
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 student = new Student("student", StudentArgs.builder()
.billingAccountName("{billingAccountName}")
.billingProfileName("{billingProfileName}")
.budget(AmountArgs.builder()
.currency("USD")
.value(100)
.build())
.email("test@contoso.com")
.expirationDate("2021-11-09T22:13:21.795Z")
.firstName("test")
.invoiceSectionName("{invoiceSectionName}")
.lastName("user")
.role("Student")
.studentAlias("{studentAlias}")
.build());
}
}

Import

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

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

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val budget: Output<AmountResponse>

Student Budget

Link copied to clipboard
val effectiveDate: Output<String>

Date student was added to the lab

Link copied to clipboard
val email: Output<String>

Student Email

Link copied to clipboard
val expirationDate: Output<String>

Date this student is set to expire from the lab.

Link copied to clipboard
val firstName: Output<String>

First Name

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

Last Name

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 role: Output<String>

Student Role

Link copied to clipboard
val status: Output<String>

Student Lab Status

Link copied to clipboard

Subscription alias

Link copied to clipboard
val subscriptionId: Output<String>

Subscription Id

Link copied to clipboard

subscription invite last sent date

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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>