Skip to main content

join_requests

Creates, updates, deletes, gets or lists a join_requests resource.

Overview

Namejoin_requests
TypeResource
Idazure_extras.education.join_requests

Fields

The following fields are returned by SELECT queries:

invite request.

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectjoin request properties.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbillingAccountName, billingProfileName, invoiceSectionName, joinRequestNameget student join requests
listselectbillingAccountName, billingProfileName, invoiceSectionNameincludeDeniedget student join requests
approveexecbillingAccountName, billingProfileName, invoiceSectionName, joinRequestNameApprove student joining the redeemable lab
denyexecbillingAccountName, billingProfileName, invoiceSectionName, joinRequestNameDeny student joining the redeemable lab

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
billingAccountNamestringThe ID that uniquely identifies a billing account.
billingProfileNamestringThe ID that uniquely identifies a billing profile.
invoiceSectionNamestringThe ID that uniquely identifies an invoice section.
joinRequestNamestringThe ID that uniquely identifies a join request.
includeDeniedbooleanInclude denied

SELECT examples

get student join requests

SELECT
id,
name,
properties,
systemData,
type
FROM azure_extras.education.join_requests
WHERE billingAccountName = '{{ billingAccountName }}' -- required
AND billingProfileName = '{{ billingProfileName }}' -- required
AND invoiceSectionName = '{{ invoiceSectionName }}' -- required
AND joinRequestName = '{{ joinRequestName }}' -- required
;

Lifecycle Methods

Approve student joining the redeemable lab

EXEC azure_extras.education.join_requests.approve 
@billingAccountName='{{ billingAccountName }}' --required,
@billingProfileName='{{ billingProfileName }}' --required,
@invoiceSectionName='{{ invoiceSectionName }}' --required,
@joinRequestName='{{ joinRequestName }}' --required
;