azure-native-v2.education.Student
Explore with Pulumi AI
Student details. Azure REST API version: 2021-12-01-preview. Prior API version in Azure Native 1.x: 2021-12-01-preview.
Create Student Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Student(name: string, args: StudentArgs, opts?: CustomResourceOptions);
@overload
def Student(resource_name: str,
args: StudentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Student(resource_name: str,
opts: Optional[ResourceOptions] = None,
billing_account_name: Optional[str] = None,
billing_profile_name: Optional[str] = None,
budget: Optional[AmountArgs] = None,
email: Optional[str] = None,
expiration_date: Optional[str] = None,
first_name: Optional[str] = None,
invoice_section_name: Optional[str] = None,
last_name: Optional[str] = None,
role: Optional[Union[str, StudentRole]] = None,
student_alias: Optional[str] = None,
subscription_alias: Optional[str] = None,
subscription_invite_last_sent_date: Optional[str] = None)
func NewStudent(ctx *Context, name string, args StudentArgs, opts ...ResourceOption) (*Student, error)
public Student(string name, StudentArgs args, CustomResourceOptions? opts = null)
public Student(String name, StudentArgs args)
public Student(String name, StudentArgs args, CustomResourceOptions options)
type: azure-native:education:Student
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StudentArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. StudentArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StudentArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StudentArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. StudentArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var studentResource = new AzureNative.Education.Student("studentResource", new()
{
BillingAccountName = "string",
BillingProfileName = "string",
Budget =
{
{ "currency", "string" },
{ "value", 0 },
},
Email = "string",
ExpirationDate = "string",
FirstName = "string",
InvoiceSectionName = "string",
LastName = "string",
Role = "string",
StudentAlias = "string",
SubscriptionAlias = "string",
SubscriptionInviteLastSentDate = "string",
});
example, err := education.NewStudent(ctx, "studentResource", &education.StudentArgs{
BillingAccountName: "string",
BillingProfileName: "string",
Budget: map[string]interface{}{
"currency": "string",
"value": 0,
},
Email: "string",
ExpirationDate: "string",
FirstName: "string",
InvoiceSectionName: "string",
LastName: "string",
Role: "string",
StudentAlias: "string",
SubscriptionAlias: "string",
SubscriptionInviteLastSentDate: "string",
})
var studentResource = new Student("studentResource", StudentArgs.builder()
.billingAccountName("string")
.billingProfileName("string")
.budget(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.email("string")
.expirationDate("string")
.firstName("string")
.invoiceSectionName("string")
.lastName("string")
.role("string")
.studentAlias("string")
.subscriptionAlias("string")
.subscriptionInviteLastSentDate("string")
.build());
student_resource = azure_native.education.Student("studentResource",
billing_account_name=string,
billing_profile_name=string,
budget={
currency: string,
value: 0,
},
email=string,
expiration_date=string,
first_name=string,
invoice_section_name=string,
last_name=string,
role=string,
student_alias=string,
subscription_alias=string,
subscription_invite_last_sent_date=string)
const studentResource = new azure_native.education.Student("studentResource", {
billingAccountName: "string",
billingProfileName: "string",
budget: {
currency: "string",
value: 0,
},
email: "string",
expirationDate: "string",
firstName: "string",
invoiceSectionName: "string",
lastName: "string",
role: "string",
studentAlias: "string",
subscriptionAlias: "string",
subscriptionInviteLastSentDate: "string",
});
type: azure-native:education:Student
properties:
billingAccountName: string
billingProfileName: string
budget:
currency: string
value: 0
email: string
expirationDate: string
firstName: string
invoiceSectionName: string
lastName: string
role: string
studentAlias: string
subscriptionAlias: string
subscriptionInviteLastSentDate: string
Student Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Student resource accepts the following input properties:
- Billing
Account Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- Billing
Profile Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing profile.
- Budget
This property is required. Pulumi.Azure Native. Education. Inputs. Amount - Student Budget
- Email
This property is required. Changes to this property will trigger replacement.
- Student Email
- Expiration
Date This property is required. string - Date this student is set to expire from the lab.
- First
Name This property is required. string - First Name
- Invoice
Section Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies an invoice section.
- Last
Name This property is required. string - Last Name
- Role
This property is required. string | Pulumi.Azure Native. Education. Student Role - Student Role
- Student
Alias Changes to this property will trigger replacement.
- Student alias.
- Subscription
Alias string - Subscription alias
- Subscription
Invite stringLast Sent Date - subscription invite last sent date
- Billing
Account Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- Billing
Profile Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing profile.
- Budget
This property is required. AmountArgs - Student Budget
- Email
This property is required. Changes to this property will trigger replacement.
- Student Email
- Expiration
Date This property is required. string - Date this student is set to expire from the lab.
- First
Name This property is required. string - First Name
- Invoice
Section Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies an invoice section.
- Last
Name This property is required. string - Last Name
- Role
This property is required. string | StudentRole - Student Role
- Student
Alias Changes to this property will trigger replacement.
- Student alias.
- Subscription
Alias string - Subscription alias
- Subscription
Invite stringLast Sent Date - subscription invite last sent date
- billing
Account Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- billing
Profile Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing profile.
- budget
This property is required. Amount - Student Budget
- email
This property is required. Changes to this property will trigger replacement.
- Student Email
- expiration
Date This property is required. String - Date this student is set to expire from the lab.
- first
Name This property is required. String - First Name
- invoice
Section Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies an invoice section.
- last
Name This property is required. String - Last Name
- role
This property is required. String | StudentRole - Student Role
- student
Alias Changes to this property will trigger replacement.
- Student alias.
- subscription
Alias String - Subscription alias
- subscription
Invite StringLast Sent Date - subscription invite last sent date
- billing
Account Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- billing
Profile Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing profile.
- budget
This property is required. Amount - Student Budget
- email
This property is required. Changes to this property will trigger replacement.
- Student Email
- expiration
Date This property is required. string - Date this student is set to expire from the lab.
- first
Name This property is required. string - First Name
- invoice
Section Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies an invoice section.
- last
Name This property is required. string - Last Name
- role
This property is required. string | StudentRole - Student Role
- student
Alias Changes to this property will trigger replacement.
- Student alias.
- subscription
Alias string - Subscription alias
- subscription
Invite stringLast Sent Date - subscription invite last sent date
- billing_
account_ name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- billing_
profile_ name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing profile.
- budget
This property is required. AmountArgs - Student Budget
- email
This property is required. Changes to this property will trigger replacement.
- Student Email
- expiration_
date This property is required. str - Date this student is set to expire from the lab.
- first_
name This property is required. str - First Name
- invoice_
section_ name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies an invoice section.
- last_
name This property is required. str - Last Name
- role
This property is required. str | StudentRole - Student Role
- student_
alias Changes to this property will trigger replacement.
- Student alias.
- subscription_
alias str - Subscription alias
- subscription_
invite_ strlast_ sent_ date - subscription invite last sent date
- billing
Account Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- billing
Profile Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing profile.
- budget
This property is required. Property Map - Student Budget
- email
This property is required. Changes to this property will trigger replacement.
- Student Email
- expiration
Date This property is required. String - Date this student is set to expire from the lab.
- first
Name This property is required. String - First Name
- invoice
Section Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies an invoice section.
- last
Name This property is required. String - Last Name
- role
This property is required. String | "Student" | "Admin" - Student Role
- student
Alias Changes to this property will trigger replacement.
- Student alias.
- subscription
Alias String - Subscription alias
- subscription
Invite StringLast Sent Date - subscription invite last sent date
Outputs
All input properties are implicitly available as output properties. Additionally, the Student resource produces the following output properties:
- Effective
Date string - Date student was added to the lab
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Status string
- Student Lab Status
- Subscription
Id string - Subscription Id
- System
Data Pulumi.Azure Native. Education. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Effective
Date string - Date student was added to the lab
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Status string
- Student Lab Status
- Subscription
Id string - Subscription Id
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- effective
Date String - Date student was added to the lab
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- status String
- Student Lab Status
- subscription
Id String - Subscription Id
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- effective
Date string - Date student was added to the lab
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- status string
- Student Lab Status
- subscription
Id string - Subscription Id
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- effective_
date str - Date student was added to the lab
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- status str
- Student Lab Status
- subscription_
id str - Subscription Id
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- effective
Date String - Date student was added to the lab
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- status String
- Student Lab Status
- subscription
Id String - Subscription Id
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
Amount, AmountArgs
AmountResponse, AmountResponseArgs
StudentRole, StudentRoleArgs
- Student
- Student
- Admin
- Admin
- Student
Role Student - Student
- Student
Role Admin - Admin
- Student
- Student
- Admin
- Admin
- Student
- Student
- Admin
- Admin
- STUDENT
- Student
- ADMIN
- Admin
- "Student"
- Student
- "Admin"
- Admin
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0