@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.21 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get the details for a specific student in the specified lab by student alias
*
* Uses Azure REST API version 2021-12-01-preview.
*/
export declare function getStudent(args: GetStudentArgs, opts?: pulumi.InvokeOptions): Promise<GetStudentResult>;
export interface GetStudentArgs {
/**
* The ID that uniquely identifies a billing account.
*/
billingAccountName: string;
/**
* The ID that uniquely identifies a billing profile.
*/
billingProfileName: string;
/**
* The ID that uniquely identifies an invoice section.
*/
invoiceSectionName: string;
/**
* Student alias.
*/
studentAlias: string;
}
/**
* Student details.
*/
export interface GetStudentResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Student Budget
*/
readonly budget: outputs.education.AmountResponse;
/**
* Date student was added to the lab
*/
readonly effectiveDate: string;
/**
* Student Email
*/
readonly email: string;
/**
* Date this student is set to expire from the lab.
*/
readonly expirationDate: string;
/**
* First Name
*/
readonly firstName: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* Last Name
*/
readonly lastName: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Student Role
*/
readonly role: string;
/**
* Student Lab Status
*/
readonly status: string;
/**
* Subscription alias
*/
readonly subscriptionAlias?: string;
/**
* Subscription Id
*/
readonly subscriptionId: string;
/**
* subscription invite last sent date
*/
readonly subscriptionInviteLastSentDate?: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.education.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get the details for a specific student in the specified lab by student alias
*
* Uses Azure REST API version 2021-12-01-preview.
*/
export declare function getStudentOutput(args: GetStudentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStudentResult>;
export interface GetStudentOutputArgs {
/**
* The ID that uniquely identifies a billing account.
*/
billingAccountName: pulumi.Input<string>;
/**
* The ID that uniquely identifies a billing profile.
*/
billingProfileName: pulumi.Input<string>;
/**
* The ID that uniquely identifies an invoice section.
*/
invoiceSectionName: pulumi.Input<string>;
/**
* Student alias.
*/
studentAlias: pulumi.Input<string>;
}