@azure/arm-labservices 3.0.0-beta.3 → 3.0.0
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 +2 -2
- package/README.md +1 -1
- package/dist/index.js +787 -715
- 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/samples-dev/imagesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/imagesGetSample.js +1 -1
- package/dist-esm/samples-dev/imagesListByLabPlanSample.js +1 -1
- package/dist-esm/samples-dev/imagesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/labPlansDeleteSample.js +1 -1
- package/dist-esm/samples-dev/labPlansGetSample.js +1 -1
- package/dist-esm/samples-dev/labPlansListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/labPlansListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/labPlansSaveImageSample.js +1 -1
- package/dist-esm/samples-dev/labPlansUpdateSample.js +1 -1
- package/dist-esm/samples-dev/labsCreateOrUpdateSample.js +5 -5
- package/dist-esm/samples-dev/labsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/labsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/labsGetSample.js +1 -1
- package/dist-esm/samples-dev/labsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/labsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/labsPublishSample.js +1 -1
- package/dist-esm/samples-dev/labsSyncGroupSample.js +1 -1
- package/dist-esm/samples-dev/labsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/schedulesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/schedulesGetSample.js +1 -1
- package/dist-esm/samples-dev/schedulesListByLabSample.js +1 -1
- package/dist-esm/samples-dev/schedulesUpdateSample.js +2 -2
- package/dist-esm/samples-dev/schedulesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/skusListSample.js +3 -3
- package/dist-esm/samples-dev/usagesListByLocationSample.js +2 -2
- package/dist-esm/samples-dev/usersCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/usersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/usersGetSample.js +1 -1
- package/dist-esm/samples-dev/usersInviteSample.js +1 -1
- package/dist-esm/samples-dev/usersListByLabSample.js +1 -1
- package/dist-esm/samples-dev/usersUpdateSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesGetSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesListByLabSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesRedeploySample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesReimageSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesStartSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesStopSample.js +1 -1
- package/dist-esm/src/labServicesClient.d.ts +3 -3
- package/dist-esm/src/labServicesClient.d.ts.map +1 -1
- package/dist-esm/src/labServicesClient.js +23 -18
- package/dist-esm/src/labServicesClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +221 -188
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +19 -5
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +10 -9
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +284 -232
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +16 -16
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +2 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +2 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/labs.d.ts +22 -22
- package/dist-esm/src/operations/labs.js +22 -22
- package/dist-esm/src/operations/schedules.d.ts +16 -16
- package/dist-esm/src/operations/schedules.js +16 -16
- package/dist-esm/src/operations/skus.d.ts +2 -2
- package/dist-esm/src/operations/skus.js +2 -2
- package/dist-esm/src/operations/users.d.ts +24 -24
- package/dist-esm/src/operations/users.js +24 -24
- package/dist-esm/src/operations/virtualMachines.d.ts +28 -28
- package/dist-esm/src/operations/virtualMachines.js +28 -28
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +2 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/labs.d.ts +22 -22
- package/dist-esm/src/operationsInterfaces/schedules.d.ts +12 -12
- package/dist-esm/src/operationsInterfaces/skus.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/users.d.ts +20 -20
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +24 -24
- package/package.json +3 -4
- package/review/arm-labservices.api.md +94 -97
- package/src/labServicesClient.ts +35 -28
- package/src/models/index.ts +244 -211
- package/src/models/mappers.ts +291 -236
- package/src/models/parameters.ts +17 -17
- package/src/operations/index.ts +2 -2
- package/src/operations/labs.ts +22 -22
- package/src/operations/schedules.ts +16 -16
- package/src/operations/skus.ts +2 -2
- package/src/operations/users.ts +24 -24
- package/src/operations/virtualMachines.ts +28 -28
- package/src/operationsInterfaces/index.ts +2 -2
- package/src/operationsInterfaces/labs.ts +22 -22
- package/src/operationsInterfaces/schedules.ts +12 -12
- package/src/operationsInterfaces/skus.ts +1 -1
- package/src/operationsInterfaces/users.ts +20 -20
- package/src/operationsInterfaces/virtualMachines.ts +24 -24
- package/types/arm-labservices.d.ts +149 -115
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns a list of all labs in a resource group.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns a list of all labs in a resource group.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/listResourceGroupLabs.json
|
|
18
18
|
*/
|
|
19
19
|
function listResourceGroupLabs() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns a list of all labs for a subscription.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns a list of all labs for a subscription.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/listLabs.json
|
|
18
18
|
*/
|
|
19
19
|
function listLabs() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines.
|
|
15
15
|
*
|
|
16
16
|
* @summary Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/publishLab.json
|
|
18
18
|
*/
|
|
19
19
|
function publishLab() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Action used to manually kick off an AAD group sync job.
|
|
15
15
|
*
|
|
16
16
|
* @summary Action used to manually kick off an AAD group sync job.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/syncLab.json
|
|
18
18
|
*/
|
|
19
19
|
function syncLab() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Operation to update a lab resource.
|
|
15
15
|
*
|
|
16
16
|
* @summary Operation to update a lab resource.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/patchLab.json
|
|
18
18
|
*/
|
|
19
19
|
function patchLab() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns an azure operation result.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns an azure operation result.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/OperationResults/getOperationResult.json
|
|
18
18
|
*/
|
|
19
19
|
function getOperationResult() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns a list of all operations.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns a list of all operations.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabServices/listOperations.json
|
|
18
18
|
*/
|
|
19
19
|
function listOperations() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Operation to create or update a lab schedule.
|
|
15
15
|
*
|
|
16
16
|
* @summary Operation to create or update a lab schedule.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/putSchedule.json
|
|
18
18
|
*/
|
|
19
19
|
function putSchedule() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -25,7 +25,7 @@ function putSchedule() {
|
|
|
25
25
|
const body = {
|
|
26
26
|
notes: "Schedule 1 for students",
|
|
27
27
|
recurrencePattern: {
|
|
28
|
-
expirationDate: new Date("2020-08-
|
|
28
|
+
expirationDate: new Date("2020-08-14T23:59:59Z"),
|
|
29
29
|
frequency: "Daily",
|
|
30
30
|
interval: 2
|
|
31
31
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedulesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/schedulesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAY,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,WAAW;;QACxB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,OAAO,GAAG,SAAS,CAAC;QAC1B,MAAM,YAAY,GAAG,WAAW,CAAC;QACjC,MAAM,IAAI,GAAa;YACrB,KAAK,EAAE,yBAAyB;YAChC,iBAAiB,EAAE;gBACjB,cAAc,EAAE,IAAI,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"schedulesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/schedulesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAY,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,WAAW;;QACxB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,OAAO,GAAG,SAAS,CAAC;QAC1B,MAAM,YAAY,GAAG,WAAW,CAAC;QACjC,MAAM,IAAI,GAAa;YACrB,KAAK,EAAE,yBAAyB;YAChC,iBAAiB,EAAE;gBACjB,cAAc,EAAE,IAAI,IAAI,CAAC,sBAAsB,CAAC;gBAChD,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,CAAC;aACZ;YACD,OAAO,EAAE,IAAI,IAAI,CAAC,sBAAsB,CAAC;YACzC,MAAM,EAAE,IAAI,IAAI,CAAC,sBAAsB,CAAC;YACxC,UAAU,EAAE,qBAAqB;SAClC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,cAAc,CAClD,iBAAiB,EACjB,OAAO,EACP,YAAY,EACZ,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,WAAW,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Operation to delete a schedule resource.
|
|
15
15
|
*
|
|
16
16
|
* @summary Operation to delete a schedule resource.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/deleteSchedule.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteSchedule() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns the properties of a lab Schedule.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns the properties of a lab Schedule.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/getSchedule.json
|
|
18
18
|
*/
|
|
19
19
|
function getSchedule() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns a list of all schedules for a lab.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns a list of all schedules for a lab.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/listSchedule.json
|
|
18
18
|
*/
|
|
19
19
|
function getListSchedule() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Operation to update a lab schedule.
|
|
15
15
|
*
|
|
16
16
|
* @summary Operation to update a lab schedule.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/patchSchedule.json
|
|
18
18
|
*/
|
|
19
19
|
function patchSchedule() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -24,7 +24,7 @@ function patchSchedule() {
|
|
|
24
24
|
const scheduleName = "schedule1";
|
|
25
25
|
const body = {
|
|
26
26
|
recurrencePattern: {
|
|
27
|
-
expirationDate: new Date("2020-08-
|
|
27
|
+
expirationDate: new Date("2020-08-14T23:59:59Z"),
|
|
28
28
|
frequency: "Daily",
|
|
29
29
|
interval: 2
|
|
30
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedulesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/schedulesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAkB,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,aAAa;;QAC1B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,OAAO,GAAG,SAAS,CAAC;QAC1B,MAAM,YAAY,GAAG,WAAW,CAAC;QACjC,MAAM,IAAI,GAAmB;YAC3B,iBAAiB,EAAE;gBACjB,cAAc,EAAE,IAAI,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"schedulesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/schedulesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAkB,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,aAAa;;QAC1B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,OAAO,GAAG,SAAS,CAAC;QAC1B,MAAM,YAAY,GAAG,WAAW,CAAC;QACjC,MAAM,IAAI,GAAmB;YAC3B,iBAAiB,EAAE;gBACjB,cAAc,EAAE,IAAI,IAAI,CAAC,sBAAsB,CAAC;gBAChD,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,CAAC;aACZ;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,MAAM,CAC1C,iBAAiB,EACjB,OAAO,EACP,YAAY,EACZ,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,aAAa,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -11,10 +11,10 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
|
11
11
|
import { LabServicesClient } from "@azure/arm-labservices";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
/**
|
|
14
|
-
* This sample demonstrates how to Returns a list of
|
|
14
|
+
* This sample demonstrates how to Returns a list of Azure Lab Services resource SKUs.
|
|
15
15
|
*
|
|
16
|
-
* @summary Returns a list of
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
16
|
+
* @summary Returns a list of Azure Lab Services resource SKUs.
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Skus/listSkus.json
|
|
18
18
|
*/
|
|
19
19
|
function listSkus() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,13 +14,13 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns list of usage per SKU family for the specified subscription in the specified region.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns list of usage per SKU family for the specified subscription in the specified region.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Usages/getUsages.json
|
|
18
18
|
*/
|
|
19
19
|
function listUsages() {
|
|
20
20
|
var e_1, _a;
|
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22
22
|
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
|
23
|
-
const location = "
|
|
23
|
+
const location = "eastus2";
|
|
24
24
|
const credential = new DefaultAzureCredential();
|
|
25
25
|
const client = new LabServicesClient(credential, subscriptionId);
|
|
26
26
|
const resArray = new Array();
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Operation to create or update a lab user.
|
|
15
15
|
*
|
|
16
16
|
* @summary Operation to create or update a lab user.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/putUser.json
|
|
18
18
|
*/
|
|
19
19
|
function putUser() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -23,7 +23,7 @@ function putUser() {
|
|
|
23
23
|
const labName = "testlab";
|
|
24
24
|
const userName = "testuser";
|
|
25
25
|
const body = {
|
|
26
|
-
additionalUsageQuota: "
|
|
26
|
+
additionalUsageQuota: "PT10H",
|
|
27
27
|
email: "testuser@contoso.com"
|
|
28
28
|
};
|
|
29
29
|
const credential = new DefaultAzureCredential();
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Operation to delete a user resource.
|
|
15
15
|
*
|
|
16
16
|
* @summary Operation to delete a user resource.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/deleteUser.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteUser() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns the properties of a lab user.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns the properties of a lab user.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/getUser.json
|
|
18
18
|
*/
|
|
19
19
|
function getUser() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Operation to invite a user to a lab.
|
|
15
15
|
*
|
|
16
16
|
* @summary Operation to invite a user to a lab.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/inviteUser.json
|
|
18
18
|
*/
|
|
19
19
|
function inviteUser() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns a list of all users for a lab.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns a list of all users for a lab.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/listUser.json
|
|
18
18
|
*/
|
|
19
19
|
function listUser() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Operation to update a lab user.
|
|
15
15
|
*
|
|
16
16
|
* @summary Operation to update a lab user.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/patchUser.json
|
|
18
18
|
*/
|
|
19
19
|
function patchUser() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -22,7 +22,7 @@ function patchUser() {
|
|
|
22
22
|
const resourceGroupName = "testrg123";
|
|
23
23
|
const labName = "testlab";
|
|
24
24
|
const userName = "testuser";
|
|
25
|
-
const body = { additionalUsageQuota: "
|
|
25
|
+
const body = { additionalUsageQuota: "PT10H" };
|
|
26
26
|
const credential = new DefaultAzureCredential();
|
|
27
27
|
const client = new LabServicesClient(credential, subscriptionId);
|
|
28
28
|
const result = yield client.users.beginUpdateAndWait(resourceGroupName, labName, userName, body);
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns the properties for a lab virtual machine.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns the properties for a lab virtual machine.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/getVirtualMachine.json
|
|
18
18
|
*/
|
|
19
19
|
function getVirtualMachine() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns a list of all virtual machines for a lab.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns a list of all virtual machines for a lab.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/listVirtualMachine.json
|
|
18
18
|
*/
|
|
19
19
|
function listVirtualMachine() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Action to redeploy a lab virtual machine to a different compute node. For troubleshooting connectivity.
|
|
15
15
|
*
|
|
16
16
|
* @summary Action to redeploy a lab virtual machine to a different compute node. For troubleshooting connectivity.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/redeployVirtualMachine.json
|
|
18
18
|
*/
|
|
19
19
|
function redeployVirtualMachine() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest published snapshot of the reference environment of the lab.
|
|
15
15
|
*
|
|
16
16
|
* @summary Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest published snapshot of the reference environment of the lab.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/reimageVirtualMachine.json
|
|
18
18
|
*/
|
|
19
19
|
function reimageVirtualMachine() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Resets a lab virtual machine password.
|
|
15
15
|
*
|
|
16
16
|
* @summary Resets a lab virtual machine password.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/resetPasswordVirtualMachine.json
|
|
18
18
|
*/
|
|
19
19
|
function resetPasswordVirtualMachine() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Action to start a lab virtual machine.
|
|
15
15
|
*
|
|
16
16
|
* @summary Action to start a lab virtual machine.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/startVirtualMachine.json
|
|
18
18
|
*/
|
|
19
19
|
function startVirtualMachine() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Action to stop a lab virtual machine.
|
|
15
15
|
*
|
|
16
16
|
* @summary Action to stop a lab virtual machine.
|
|
17
|
-
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/
|
|
17
|
+
* x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/stopVirtualMachine.json
|
|
18
18
|
*/
|
|
19
19
|
function stopVirtualMachine() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Images, LabPlans, Operations, Labs, OperationResults, Schedules,
|
|
3
|
+
import { Images, LabPlans, Operations, Labs, OperationResults, Schedules, Skus, Usages, Users, VirtualMachines } from "./operationsInterfaces";
|
|
4
4
|
import { LabServicesClientOptionalParams } from "./models";
|
|
5
5
|
export declare class LabServicesClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
@@ -21,9 +21,9 @@ export declare class LabServicesClient extends coreClient.ServiceClient {
|
|
|
21
21
|
labs: Labs;
|
|
22
22
|
operationResults: OperationResults;
|
|
23
23
|
schedules: Schedules;
|
|
24
|
+
skus: Skus;
|
|
25
|
+
usages: Usages;
|
|
24
26
|
users: Users;
|
|
25
27
|
virtualMachines: VirtualMachines;
|
|
26
|
-
usages: Usages;
|
|
27
|
-
skus: Skus;
|
|
28
28
|
}
|
|
29
29
|
//# sourceMappingURL=labServicesClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"labServicesClient.d.ts","sourceRoot":"","sources":["../../src/labServicesClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAa7C,OAAO,EACL,MAAM,EACN,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,gBAAgB,EAChB,SAAS,EACT,
|
|
1
|
+
{"version":3,"file":"labServicesClient.d.ts","sourceRoot":"","sources":["../../src/labServicesClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAa7C,OAAO,EACL,MAAM,EACN,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,gBAAgB,EAChB,SAAS,EACT,IAAI,EACJ,MAAM,EACN,KAAK,EACL,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AAE3D,qBAAa,iBAAkB,SAAQ,UAAU,CAAC,aAAa;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B;IAsF3C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
10
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { ImagesImpl, LabPlansImpl, OperationsImpl, LabsImpl, OperationResultsImpl, SchedulesImpl,
|
|
11
|
+
import { ImagesImpl, LabPlansImpl, OperationsImpl, LabsImpl, OperationResultsImpl, SchedulesImpl, SkusImpl, UsagesImpl, UsersImpl, VirtualMachinesImpl } from "./operations";
|
|
12
12
|
export class LabServicesClient extends coreClient.ServiceClient {
|
|
13
13
|
/**
|
|
14
14
|
* Initializes a new instance of the LabServicesClient class.
|
|
@@ -32,7 +32,7 @@ export class LabServicesClient extends coreClient.ServiceClient {
|
|
|
32
32
|
requestContentType: "application/json; charset=utf-8",
|
|
33
33
|
credential: credentials
|
|
34
34
|
};
|
|
35
|
-
const packageDetails = `azsdk-js-arm-labservices/3.0.0
|
|
35
|
+
const packageDetails = `azsdk-js-arm-labservices/3.0.0`;
|
|
36
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
38
|
: `${packageDetails}`;
|
|
@@ -43,37 +43,42 @@ export class LabServicesClient extends coreClient.ServiceClient {
|
|
|
43
43
|
userAgentPrefix
|
|
44
44
|
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
45
45
|
super(optionsWithDefaults);
|
|
46
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
46
47
|
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
47
48
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
48
|
-
|
|
49
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
49
50
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
}
|
|
52
|
+
if (!options ||
|
|
53
|
+
!options.pipeline ||
|
|
54
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
55
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
56
|
+
this.pipeline.removePolicy({
|
|
57
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
58
|
+
});
|
|
59
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
60
|
+
credential: credentials,
|
|
61
|
+
scopes: `${optionsWithDefaults.credentialScopes}`,
|
|
62
|
+
challengeCallbacks: {
|
|
63
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
64
|
+
}
|
|
65
|
+
}));
|
|
61
66
|
}
|
|
62
67
|
// Parameter assignments
|
|
63
68
|
this.subscriptionId = subscriptionId;
|
|
64
69
|
// Assigning values to Constant parameters
|
|
65
70
|
this.$host = options.$host || "https://management.azure.com";
|
|
66
|
-
this.apiVersion = options.apiVersion || "
|
|
71
|
+
this.apiVersion = options.apiVersion || "2022-08-01";
|
|
67
72
|
this.images = new ImagesImpl(this);
|
|
68
73
|
this.labPlans = new LabPlansImpl(this);
|
|
69
74
|
this.operations = new OperationsImpl(this);
|
|
70
75
|
this.labs = new LabsImpl(this);
|
|
71
76
|
this.operationResults = new OperationResultsImpl(this);
|
|
72
77
|
this.schedules = new SchedulesImpl(this);
|
|
78
|
+
this.skus = new SkusImpl(this);
|
|
79
|
+
this.usages = new UsagesImpl(this);
|
|
73
80
|
this.users = new UsersImpl(this);
|
|
74
81
|
this.virtualMachines = new VirtualMachinesImpl(this);
|
|
75
|
-
this.usages = new UsagesImpl(this);
|
|
76
|
-
this.skus = new SkusImpl(this);
|
|
77
82
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
78
83
|
}
|
|
79
84
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -89,7 +94,7 @@ export class LabServicesClient extends coreClient.ServiceClient {
|
|
|
89
94
|
if (param.length > 1) {
|
|
90
95
|
const newParams = param[1].split("&").map((item) => {
|
|
91
96
|
if (item.indexOf("api-version") > -1) {
|
|
92
|
-
return
|
|
97
|
+
return "api-version=" + apiVersion;
|
|
93
98
|
}
|
|
94
99
|
else {
|
|
95
100
|
return item;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"labServicesClient.js","sourceRoot":"","sources":["../../src/labServicesClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,M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