@azure/arm-education 1.0.0-alpha.20220526.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +3 -2
- package/dist/index.js +55 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/educationManagementClient.d.ts +2 -0
- package/dist-esm/src/educationManagementClient.d.ts.map +1 -1
- package/dist-esm/src/educationManagementClient.js +30 -1
- package/dist-esm/src/educationManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +38 -12
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +25 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +10 -7
- package/review/arm-education.api.md +32 -54
- package/src/educationManagementClient.ts +35 -1
- package/src/models/index.ts +38 -12
- package/types/arm-education.d.ts +40 -12
package/types/arm-education.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export declare class EducationManagementClient extends coreClient.ServiceClient
|
|
|
40
40
|
* @param options The parameter options
|
|
41
41
|
*/
|
|
42
42
|
constructor(credentials: coreAuth.TokenCredential, options?: EducationManagementClientOptionalParams);
|
|
43
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
44
|
+
private addCustomApiVersionPolicy;
|
|
43
45
|
/**
|
|
44
46
|
* Redeem invite code to join a redeemable lab
|
|
45
47
|
* @param parameters Request parameters to provide redeem code.
|
|
@@ -79,7 +81,7 @@ export declare interface ErrorResponseBody {
|
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
/** Grant details. */
|
|
82
|
-
export declare
|
|
84
|
+
export declare interface GrantDetails extends Resource {
|
|
83
85
|
/**
|
|
84
86
|
* Offer Cap
|
|
85
87
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -110,7 +112,7 @@ export declare type GrantDetails = Resource & {
|
|
|
110
112
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
111
113
|
*/
|
|
112
114
|
readonly allocatedBudget?: Amount;
|
|
113
|
-
}
|
|
115
|
+
}
|
|
114
116
|
|
|
115
117
|
/** List of Grants info. */
|
|
116
118
|
export declare interface GrantListResponse {
|
|
@@ -221,7 +223,7 @@ export declare interface InviteCodeGenerateRequest {
|
|
|
221
223
|
}
|
|
222
224
|
|
|
223
225
|
/** join requests. */
|
|
224
|
-
export declare
|
|
226
|
+
export declare interface JoinRequestDetails extends Resource {
|
|
225
227
|
/** First Name */
|
|
226
228
|
firstName?: string;
|
|
227
229
|
/** Last Name */
|
|
@@ -230,7 +232,7 @@ export declare type JoinRequestDetails = Resource & {
|
|
|
230
232
|
email?: string;
|
|
231
233
|
/** Join request status */
|
|
232
234
|
status?: JoinRequestStatus;
|
|
233
|
-
}
|
|
235
|
+
}
|
|
234
236
|
|
|
235
237
|
/** list of join requests. */
|
|
236
238
|
export declare interface JoinRequestList {
|
|
@@ -330,65 +332,90 @@ export declare type JoinRequestStatus = string;
|
|
|
330
332
|
|
|
331
333
|
/** Known values of {@link ActionType} that the service accepts. */
|
|
332
334
|
export declare enum KnownActionType {
|
|
335
|
+
/** Internal */
|
|
333
336
|
Internal = "Internal"
|
|
334
337
|
}
|
|
335
338
|
|
|
336
339
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
337
340
|
export declare enum KnownCreatedByType {
|
|
341
|
+
/** User */
|
|
338
342
|
User = "User",
|
|
343
|
+
/** Application */
|
|
339
344
|
Application = "Application",
|
|
345
|
+
/** ManagedIdentity */
|
|
340
346
|
ManagedIdentity = "ManagedIdentity",
|
|
347
|
+
/** Key */
|
|
341
348
|
Key = "Key"
|
|
342
349
|
}
|
|
343
350
|
|
|
344
351
|
/** Known values of {@link GrantStatus} that the service accepts. */
|
|
345
352
|
export declare enum KnownGrantStatus {
|
|
353
|
+
/** Active */
|
|
346
354
|
Active = "Active",
|
|
355
|
+
/** Inactive */
|
|
347
356
|
Inactive = "Inactive"
|
|
348
357
|
}
|
|
349
358
|
|
|
350
359
|
/** Known values of {@link GrantType} that the service accepts. */
|
|
351
360
|
export declare enum KnownGrantType {
|
|
361
|
+
/** Student */
|
|
352
362
|
Student = "Student",
|
|
363
|
+
/** Academic */
|
|
353
364
|
Academic = "Academic"
|
|
354
365
|
}
|
|
355
366
|
|
|
356
367
|
/** Known values of {@link JoinRequestStatus} that the service accepts. */
|
|
357
368
|
export declare enum KnownJoinRequestStatus {
|
|
369
|
+
/** Pending */
|
|
358
370
|
Pending = "Pending",
|
|
371
|
+
/** Denied */
|
|
359
372
|
Denied = "Denied"
|
|
360
373
|
}
|
|
361
374
|
|
|
362
375
|
/** Known values of {@link LabStatus} that the service accepts. */
|
|
363
376
|
export declare enum KnownLabStatus {
|
|
377
|
+
/** Active */
|
|
364
378
|
Active = "Active",
|
|
365
|
-
Deleted
|
|
379
|
+
/** Deleted */
|
|
380
|
+
Deleted = "Deleted",
|
|
381
|
+
/** Pending */
|
|
382
|
+
Pending = "Pending"
|
|
366
383
|
}
|
|
367
384
|
|
|
368
385
|
/** Known values of {@link Origin} that the service accepts. */
|
|
369
386
|
export declare enum KnownOrigin {
|
|
387
|
+
/** User */
|
|
370
388
|
User = "user",
|
|
389
|
+
/** System */
|
|
371
390
|
System = "system",
|
|
391
|
+
/** UserSystem */
|
|
372
392
|
UserSystem = "user,system"
|
|
373
393
|
}
|
|
374
394
|
|
|
375
395
|
/** Known values of {@link StudentLabStatus} that the service accepts. */
|
|
376
396
|
export declare enum KnownStudentLabStatus {
|
|
397
|
+
/** Active */
|
|
377
398
|
Active = "Active",
|
|
399
|
+
/** Disabled */
|
|
378
400
|
Disabled = "Disabled",
|
|
401
|
+
/** Expired */
|
|
379
402
|
Expired = "Expired",
|
|
403
|
+
/** Pending */
|
|
380
404
|
Pending = "Pending",
|
|
405
|
+
/** Deleted */
|
|
381
406
|
Deleted = "Deleted"
|
|
382
407
|
}
|
|
383
408
|
|
|
384
409
|
/** Known values of {@link StudentRole} that the service accepts. */
|
|
385
410
|
export declare enum KnownStudentRole {
|
|
411
|
+
/** Student */
|
|
386
412
|
Student = "Student",
|
|
413
|
+
/** Admin */
|
|
387
414
|
Admin = "Admin"
|
|
388
415
|
}
|
|
389
416
|
|
|
390
417
|
/** Lab details. */
|
|
391
|
-
export declare
|
|
418
|
+
export declare interface LabDetails extends Resource {
|
|
392
419
|
/** Lab Display Name */
|
|
393
420
|
displayName?: string;
|
|
394
421
|
/** Default monetary cap for each student in this lab */
|
|
@@ -425,7 +452,7 @@ export declare type LabDetails = Resource & {
|
|
|
425
452
|
currencyPropertiesTotalBudgetCurrency?: string;
|
|
426
453
|
/** Amount value. */
|
|
427
454
|
valuePropertiesTotalBudgetValue?: number;
|
|
428
|
-
}
|
|
455
|
+
}
|
|
429
456
|
|
|
430
457
|
/** List of labs. */
|
|
431
458
|
export declare interface LabListResult {
|
|
@@ -572,7 +599,8 @@ export declare type LabsListResponse = LabListResult;
|
|
|
572
599
|
* this enum contains the known values that the service supports.
|
|
573
600
|
* ### Known values supported by the service
|
|
574
601
|
* **Active** \
|
|
575
|
-
* **Deleted**
|
|
602
|
+
* **Deleted** \
|
|
603
|
+
* **Pending**
|
|
576
604
|
*/
|
|
577
605
|
export declare type LabStatus = string;
|
|
578
606
|
|
|
@@ -706,7 +734,7 @@ export declare interface Resource {
|
|
|
706
734
|
}
|
|
707
735
|
|
|
708
736
|
/** Student details. */
|
|
709
|
-
export declare
|
|
737
|
+
export declare interface StudentDetails extends Resource {
|
|
710
738
|
/** First Name */
|
|
711
739
|
firstName?: string;
|
|
712
740
|
/** Last Name */
|
|
@@ -738,10 +766,10 @@ export declare type StudentDetails = Resource & {
|
|
|
738
766
|
subscriptionAlias?: string;
|
|
739
767
|
/** subscription invite last sent date */
|
|
740
768
|
subscriptionInviteLastSentDate?: Date;
|
|
741
|
-
}
|
|
769
|
+
}
|
|
742
770
|
|
|
743
771
|
/** Student lab details. */
|
|
744
|
-
export declare
|
|
772
|
+
export declare interface StudentLabDetails extends Resource {
|
|
745
773
|
/**
|
|
746
774
|
* Student lab Display Name
|
|
747
775
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -787,7 +815,7 @@ export declare type StudentLabDetails = Resource & {
|
|
|
787
815
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
788
816
|
*/
|
|
789
817
|
readonly labScope?: string;
|
|
790
|
-
}
|
|
818
|
+
}
|
|
791
819
|
|
|
792
820
|
/** List of labs. */
|
|
793
821
|
export declare interface StudentLabListResult {
|