@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.
Files changed (109) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +1 -1
  3. package/dist/index.js +787 -715
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js +1 -1
  8. package/dist-esm/samples-dev/imagesGetSample.js +1 -1
  9. package/dist-esm/samples-dev/imagesListByLabPlanSample.js +1 -1
  10. package/dist-esm/samples-dev/imagesUpdateSample.js +1 -1
  11. package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.js +4 -4
  12. package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.js.map +1 -1
  13. package/dist-esm/samples-dev/labPlansDeleteSample.js +1 -1
  14. package/dist-esm/samples-dev/labPlansGetSample.js +1 -1
  15. package/dist-esm/samples-dev/labPlansListByResourceGroupSample.js +1 -1
  16. package/dist-esm/samples-dev/labPlansListBySubscriptionSample.js +1 -1
  17. package/dist-esm/samples-dev/labPlansSaveImageSample.js +1 -1
  18. package/dist-esm/samples-dev/labPlansUpdateSample.js +1 -1
  19. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js +5 -5
  20. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js.map +1 -1
  21. package/dist-esm/samples-dev/labsDeleteSample.js +1 -1
  22. package/dist-esm/samples-dev/labsGetSample.js +1 -1
  23. package/dist-esm/samples-dev/labsListByResourceGroupSample.js +1 -1
  24. package/dist-esm/samples-dev/labsListBySubscriptionSample.js +1 -1
  25. package/dist-esm/samples-dev/labsPublishSample.js +1 -1
  26. package/dist-esm/samples-dev/labsSyncGroupSample.js +1 -1
  27. package/dist-esm/samples-dev/labsUpdateSample.js +1 -1
  28. package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
  29. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  30. package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js +2 -2
  31. package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js.map +1 -1
  32. package/dist-esm/samples-dev/schedulesDeleteSample.js +1 -1
  33. package/dist-esm/samples-dev/schedulesGetSample.js +1 -1
  34. package/dist-esm/samples-dev/schedulesListByLabSample.js +1 -1
  35. package/dist-esm/samples-dev/schedulesUpdateSample.js +2 -2
  36. package/dist-esm/samples-dev/schedulesUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/skusListSample.js +3 -3
  38. package/dist-esm/samples-dev/usagesListByLocationSample.js +2 -2
  39. package/dist-esm/samples-dev/usersCreateOrUpdateSample.js +2 -2
  40. package/dist-esm/samples-dev/usersDeleteSample.js +1 -1
  41. package/dist-esm/samples-dev/usersGetSample.js +1 -1
  42. package/dist-esm/samples-dev/usersInviteSample.js +1 -1
  43. package/dist-esm/samples-dev/usersListByLabSample.js +1 -1
  44. package/dist-esm/samples-dev/usersUpdateSample.js +2 -2
  45. package/dist-esm/samples-dev/virtualMachinesGetSample.js +1 -1
  46. package/dist-esm/samples-dev/virtualMachinesListByLabSample.js +1 -1
  47. package/dist-esm/samples-dev/virtualMachinesRedeploySample.js +1 -1
  48. package/dist-esm/samples-dev/virtualMachinesReimageSample.js +1 -1
  49. package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.js +1 -1
  50. package/dist-esm/samples-dev/virtualMachinesStartSample.js +1 -1
  51. package/dist-esm/samples-dev/virtualMachinesStopSample.js +1 -1
  52. package/dist-esm/src/labServicesClient.d.ts +3 -3
  53. package/dist-esm/src/labServicesClient.d.ts.map +1 -1
  54. package/dist-esm/src/labServicesClient.js +23 -18
  55. package/dist-esm/src/labServicesClient.js.map +1 -1
  56. package/dist-esm/src/models/index.d.ts +221 -188
  57. package/dist-esm/src/models/index.d.ts.map +1 -1
  58. package/dist-esm/src/models/index.js +19 -5
  59. package/dist-esm/src/models/index.js.map +1 -1
  60. package/dist-esm/src/models/mappers.d.ts +10 -9
  61. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  62. package/dist-esm/src/models/mappers.js +284 -232
  63. package/dist-esm/src/models/mappers.js.map +1 -1
  64. package/dist-esm/src/models/parameters.d.ts +1 -1
  65. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  66. package/dist-esm/src/models/parameters.js +16 -16
  67. package/dist-esm/src/models/parameters.js.map +1 -1
  68. package/dist-esm/src/operations/index.d.ts +2 -2
  69. package/dist-esm/src/operations/index.d.ts.map +1 -1
  70. package/dist-esm/src/operations/index.js +2 -2
  71. package/dist-esm/src/operations/index.js.map +1 -1
  72. package/dist-esm/src/operations/labs.d.ts +22 -22
  73. package/dist-esm/src/operations/labs.js +22 -22
  74. package/dist-esm/src/operations/schedules.d.ts +16 -16
  75. package/dist-esm/src/operations/schedules.js +16 -16
  76. package/dist-esm/src/operations/skus.d.ts +2 -2
  77. package/dist-esm/src/operations/skus.js +2 -2
  78. package/dist-esm/src/operations/users.d.ts +24 -24
  79. package/dist-esm/src/operations/users.js +24 -24
  80. package/dist-esm/src/operations/virtualMachines.d.ts +28 -28
  81. package/dist-esm/src/operations/virtualMachines.js +28 -28
  82. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -2
  83. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  84. package/dist-esm/src/operationsInterfaces/index.js +2 -2
  85. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  86. package/dist-esm/src/operationsInterfaces/labs.d.ts +22 -22
  87. package/dist-esm/src/operationsInterfaces/schedules.d.ts +12 -12
  88. package/dist-esm/src/operationsInterfaces/skus.d.ts +1 -1
  89. package/dist-esm/src/operationsInterfaces/users.d.ts +20 -20
  90. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +24 -24
  91. package/package.json +3 -4
  92. package/review/arm-labservices.api.md +94 -97
  93. package/src/labServicesClient.ts +35 -28
  94. package/src/models/index.ts +244 -211
  95. package/src/models/mappers.ts +291 -236
  96. package/src/models/parameters.ts +17 -17
  97. package/src/operations/index.ts +2 -2
  98. package/src/operations/labs.ts +22 -22
  99. package/src/operations/schedules.ts +16 -16
  100. package/src/operations/skus.ts +2 -2
  101. package/src/operations/users.ts +24 -24
  102. package/src/operations/virtualMachines.ts +28 -28
  103. package/src/operationsInterfaces/index.ts +2 -2
  104. package/src/operationsInterfaces/labs.ts +22 -22
  105. package/src/operationsInterfaces/schedules.ts +12 -12
  106. package/src/operationsInterfaces/skus.ts +1 -1
  107. package/src/operationsInterfaces/users.ts +20 -20
  108. package/src/operationsInterfaces/virtualMachines.ts +24 -24
  109. 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/preview/2021-11-15-preview/examples/Labs/listResourceGroupLabs.json
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/preview/2021-11-15-preview/examples/Labs/listLabs.json
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/preview/2021-11-15-preview/examples/Labs/publishLab.json
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/preview/2021-11-15-preview/examples/Labs/syncLab.json
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/preview/2021-11-15-preview/examples/Labs/patchLab.json
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/preview/2021-11-15-preview/examples/OperationResults/getOperationResult.json
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/preview/2021-11-15-preview/examples/LabServices/listOperations.json
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/preview/2021-11-15-preview/examples/Schedules/putSchedule.json
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-14"),
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,YAAY,CAAC;gBACtC,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"}
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/preview/2021-11-15-preview/examples/Schedules/deleteSchedule.json
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/preview/2021-11-15-preview/examples/Schedules/getSchedule.json
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/preview/2021-11-15-preview/examples/Schedules/listSchedule.json
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/preview/2021-11-15-preview/examples/Schedules/patchSchedule.json
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-14"),
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,cAA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AAO;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 all the Azure Lab Services resource SKUs.
14
+ * This sample demonstrates how to Returns a list of Azure Lab Services resource SKUs.
15
15
  *
16
- * @summary Returns a list of all the Azure Lab Services resource SKUs.
17
- * x-ms-original-file: specification/labservices/resource-manager/Microsoft.LabServices/preview/2021-11-15-preview/examples/Skus/listSkus.json
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/preview/2021-11-15-preview/examples/Usages/getUsages.json
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 = "westus2";
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/preview/2021-11-15-preview/examples/Users/putUser.json
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: "20:00",
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/preview/2021-11-15-preview/examples/Users/deleteUser.json
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/preview/2021-11-15-preview/examples/Users/getUser.json
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/preview/2021-11-15-preview/examples/Users/inviteUser.json
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/preview/2021-11-15-preview/examples/Users/listUser.json
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/preview/2021-11-15-preview/examples/Users/patchUser.json
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: "20:00" };
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/preview/2021-11-15-preview/examples/VirtualMachines/getVirtualMachine.json
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/preview/2021-11-15-preview/examples/VirtualMachines/listVirtualMachine.json
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/preview/2021-11-15-preview/examples/VirtualMachines/redeployVirtualMachine.json
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/preview/2021-11-15-preview/examples/VirtualMachines/reimageVirtualMachine.json
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/preview/2021-11-15-preview/examples/VirtualMachines/resetPasswordVirtualMachine.json
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/preview/2021-11-15-preview/examples/VirtualMachines/startVirtualMachine.json
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/preview/2021-11-15-preview/examples/VirtualMachines/stopVirtualMachine.json
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, Users, VirtualMachines, Usages, Skus } from "./operationsInterfaces";
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,KAAK,EACL,eAAe,EACf,MAAM,EACN,IAAI,EACL,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AAE3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sF3C,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, UsersImpl, VirtualMachinesImpl, UsagesImpl, SkusImpl } from "./operations";
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-beta.3`;
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
- const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
49
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
49
50
  coreRestPipeline.bearerTokenAuthenticationPolicyName);
50
- if (!bearerTokenAuthenticationPolicyFound) {
51
- this.pipeline.removePolicy({
52
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
53
- });
54
- this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
55
- scopes: `${optionsWithDefaults.baseUri}/.default`,
56
- challengeCallbacks: {
57
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
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 || "2021-11-15-preview";
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 item.replace(/(?<==).*$/, apiVersion);
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,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,UAAU,EACV,YAAY,EACZ,cAAc,EACd,QAAQ,EACR,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,mBAAmB,EACnB,UAAU,EACV,QAAQ,EACT,MAAM,cAAc,CAAC;AAetB,MAAM,OAAO,iBAAkB,SAAQ,UAAU,CAAC,aAAa;IAK7D;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAyC;;QAEzC,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAA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