@azure/arm-azurestack 3.0.0-alpha.20220413.1 → 3.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.
Files changed (127) hide show
  1. package/CHANGELOG.md +3 -13
  2. package/LICENSE +1 -1
  3. package/README.md +11 -0
  4. package/dist/index.js +120 -87
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/cloudManifestFileGetSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/cloudManifestFileGetSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/cloudManifestFileGetSample.js +30 -0
  11. package/dist-esm/samples-dev/cloudManifestFileGetSample.js.map +1 -0
  12. package/dist-esm/samples-dev/cloudManifestFileListSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/cloudManifestFileListSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/cloudManifestFileListSample.js +29 -0
  15. package/dist-esm/samples-dev/cloudManifestFileListSample.js.map +1 -0
  16. package/dist-esm/samples-dev/customerSubscriptionsCreateSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/customerSubscriptionsCreateSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/customerSubscriptionsCreateSample.js +35 -0
  19. package/dist-esm/samples-dev/customerSubscriptionsCreateSample.js.map +1 -0
  20. package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.js +32 -0
  23. package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.js.map +1 -0
  24. package/dist-esm/samples-dev/customerSubscriptionsGetSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/customerSubscriptionsGetSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/customerSubscriptionsGetSample.js +32 -0
  27. package/dist-esm/samples-dev/customerSubscriptionsGetSample.js.map +1 -0
  28. package/dist-esm/samples-dev/customerSubscriptionsListSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/customerSubscriptionsListSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/customerSubscriptionsListSample.js +45 -0
  31. package/dist-esm/samples-dev/customerSubscriptionsListSample.js.map +1 -0
  32. package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.js +36 -0
  35. package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.js.map +1 -0
  36. package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.js +31 -0
  39. package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.js.map +1 -0
  40. package/dist-esm/samples-dev/linkedSubscriptionsGetSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/linkedSubscriptionsGetSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/linkedSubscriptionsGetSample.js +31 -0
  43. package/dist-esm/samples-dev/linkedSubscriptionsGetSample.js.map +1 -0
  44. package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.js +44 -0
  47. package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.js.map +1 -0
  48. package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.js +43 -0
  51. package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.js.map +1 -0
  52. package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.js +36 -0
  55. package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.js.map +1 -0
  56. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  59. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  60. package/dist-esm/samples-dev/productsGetProductSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/productsGetProductSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/productsGetProductSample.js +32 -0
  63. package/dist-esm/samples-dev/productsGetProductSample.js.map +1 -0
  64. package/dist-esm/samples-dev/productsGetProductsSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/productsGetProductsSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/productsGetProductsSample.js +32 -0
  67. package/dist-esm/samples-dev/productsGetProductsSample.js.map +1 -0
  68. package/dist-esm/samples-dev/productsGetSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/productsGetSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/productsGetSample.js +32 -0
  71. package/dist-esm/samples-dev/productsGetSample.js.map +1 -0
  72. package/dist-esm/samples-dev/productsListDetailsSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/productsListDetailsSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/productsListDetailsSample.js +32 -0
  75. package/dist-esm/samples-dev/productsListDetailsSample.js.map +1 -0
  76. package/dist-esm/samples-dev/productsListSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/productsListSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/productsListSample.js +45 -0
  79. package/dist-esm/samples-dev/productsListSample.js.map +1 -0
  80. package/dist-esm/samples-dev/productsUploadLogSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/productsUploadLogSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/productsUploadLogSample.js +32 -0
  83. package/dist-esm/samples-dev/productsUploadLogSample.js.map +1 -0
  84. package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.js +35 -0
  87. package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.js.map +1 -0
  88. package/dist-esm/samples-dev/registrationsDeleteSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/registrationsDeleteSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/registrationsDeleteSample.js +31 -0
  91. package/dist-esm/samples-dev/registrationsDeleteSample.js.map +1 -0
  92. package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.js +31 -0
  95. package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.js.map +1 -0
  96. package/dist-esm/samples-dev/registrationsGetActivationKeySample.d.ts +2 -0
  97. package/dist-esm/samples-dev/registrationsGetActivationKeySample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/registrationsGetActivationKeySample.js +31 -0
  99. package/dist-esm/samples-dev/registrationsGetActivationKeySample.js.map +1 -0
  100. package/dist-esm/samples-dev/registrationsGetSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/registrationsGetSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/registrationsGetSample.js +31 -0
  103. package/dist-esm/samples-dev/registrationsGetSample.js.map +1 -0
  104. package/dist-esm/samples-dev/registrationsListBySubscriptionSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/registrationsListBySubscriptionSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/registrationsListBySubscriptionSample.js +43 -0
  107. package/dist-esm/samples-dev/registrationsListBySubscriptionSample.js.map +1 -0
  108. package/dist-esm/samples-dev/registrationsListSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/registrationsListSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/registrationsListSample.js +44 -0
  111. package/dist-esm/samples-dev/registrationsListSample.js.map +1 -0
  112. package/dist-esm/samples-dev/registrationsUpdateSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/registrationsUpdateSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/registrationsUpdateSample.js +35 -0
  115. package/dist-esm/samples-dev/registrationsUpdateSample.js.map +1 -0
  116. package/dist-esm/src/azureStackManagementClient.d.ts.map +1 -1
  117. package/dist-esm/src/azureStackManagementClient.js +3 -2
  118. package/dist-esm/src/azureStackManagementClient.js.map +1 -1
  119. package/dist-esm/test/sampleTest.d.ts +1 -3
  120. package/dist-esm/test/sampleTest.d.ts.map +1 -1
  121. package/dist-esm/test/sampleTest.js +1 -4
  122. package/dist-esm/test/sampleTest.js.map +1 -1
  123. package/package.json +25 -9
  124. package/rollup.config.js +6 -72
  125. package/src/azureStackManagementClient.ts +3 -2
  126. package/tsconfig.json +19 -5
  127. package/types/tsdoc-metadata.json +1 -1
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns the extended properties of a product.
15
+ *
16
+ * @summary Returns the extended properties of a product.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/Product/Post.json
18
+ */
19
+ function returnsTheExtendedPropertiesOfAProduct() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
22
+ const resourceGroup = "azurestack";
23
+ const registrationName = "testregistration";
24
+ const productName = "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new AzureStackManagementClient(credential, subscriptionId);
27
+ const result = yield client.products.listDetails(resourceGroup, registrationName, productName);
28
+ console.log(result);
29
+ });
30
+ }
31
+ returnsTheExtendedPropertiesOfAProduct().catch(console.error);
32
+ //# sourceMappingURL=productsListDetailsSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productsListDetailsSample.js","sourceRoot":"","sources":["../../samples-dev/productsListDetailsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sCAAsC;;QACnD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;QAC5C,MAAM,WAAW,GAAG,mDAAmD,CAAC;QACxE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,WAAW,CAC9C,aAAa,EACb,gBAAgB,EAChB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sCAAsC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=productsListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/productsListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns a list of products.
15
+ *
16
+ * @summary Returns a list of products.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/Product/List.json
18
+ */
19
+ function returnsAListOfProducts() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
23
+ const resourceGroup = "azurestack";
24
+ const registrationName = "testregistration";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new AzureStackManagementClient(credential, subscriptionId);
27
+ const resArray = new Array();
28
+ try {
29
+ for (var _b = __asyncValues(client.products.list(resourceGroup, registrationName)), _c; _c = yield _b.next(), !_c.done;) {
30
+ let item = _c.value;
31
+ resArray.push(item);
32
+ }
33
+ }
34
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
35
+ finally {
36
+ try {
37
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
38
+ }
39
+ finally { if (e_1) throw e_1.error; }
40
+ }
41
+ console.log(resArray);
42
+ });
43
+ }
44
+ returnsAListOfProducts().catch(console.error);
45
+ //# sourceMappingURL=productsListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productsListSample.js","sourceRoot":"","sources":["../../samples-dev/productsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sBAAsB;;;QACnC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,IAAI,CACzC,aAAa,EACb,gBAAgB,CACjB,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=productsUploadLogSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productsUploadLogSample.d.ts","sourceRoot":"","sources":["../../samples-dev/productsUploadLogSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns the specified product.
15
+ *
16
+ * @summary Returns the specified product.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/Product/UploadLog.json
18
+ */
19
+ function returnsTheSpecifiedProduct() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
22
+ const resourceGroup = "azurestack";
23
+ const registrationName = "testregistration";
24
+ const productName = "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new AzureStackManagementClient(credential, subscriptionId);
27
+ const result = yield client.products.uploadLog(resourceGroup, registrationName, productName);
28
+ console.log(result);
29
+ });
30
+ }
31
+ returnsTheSpecifiedProduct().catch(console.error);
32
+ //# sourceMappingURL=productsUploadLogSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productsUploadLogSample.js","sourceRoot":"","sources":["../../samples-dev/productsUploadLogSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;QAC5C,MAAM,WAAW,GAAG,mDAAmD,CAAC;QACxE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,SAAS,CAC5C,aAAa,EACb,gBAAgB,EAChB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=registrationsCreateOrUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/registrationsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Create or update an Azure Stack registration.
15
+ *
16
+ * @summary Create or update an Azure Stack registration.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/Registration/Put.json
18
+ */
19
+ function createOrUpdateAnAzureStackRegistration() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
22
+ const resourceGroup = "azurestack";
23
+ const registrationName = "testregistration";
24
+ const token = {
25
+ location: "global",
26
+ registrationToken: "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9"
27
+ };
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new AzureStackManagementClient(credential, subscriptionId);
30
+ const result = yield client.registrations.createOrUpdate(resourceGroup, registrationName, token);
31
+ console.log(result);
32
+ });
33
+ }
34
+ createOrUpdateAnAzureStackRegistration().catch(console.error);
35
+ //# sourceMappingURL=registrationsCreateOrUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/registrationsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,0BAA0B,EAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sCAAsC;;QACnD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;QAC5C,MAAM,KAAK,GAA0B;YACnC,QAAQ,EAAE,QAAQ;YAClB,iBAAiB,EACf,k3BAAk3B;SACr3B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,cAAc,CACtD,aAAa,EACb,gBAAgB,EAChB,KAAK,CACN,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sCAAsC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=registrationsDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/registrationsDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Delete the requested Azure Stack registration.
15
+ *
16
+ * @summary Delete the requested Azure Stack registration.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/Registration/Delete.json
18
+ */
19
+ function deleteTheRequestedAzureStackRegistration() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
22
+ const resourceGroup = "azurestack";
23
+ const registrationName = "testregistration";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new AzureStackManagementClient(credential, subscriptionId);
26
+ const result = yield client.registrations.delete(resourceGroup, registrationName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ deleteTheRequestedAzureStackRegistration().catch(console.error);
31
+ //# sourceMappingURL=registrationsDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/registrationsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,wCAAwC;;QACrD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,MAAM,CAC9C,aAAa,EACb,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wCAAwC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=registrationsEnableRemoteManagementSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsEnableRemoteManagementSample.d.ts","sourceRoot":"","sources":["../../samples-dev/registrationsEnableRemoteManagementSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Enables remote management for device under the Azure Stack registration.
15
+ *
16
+ * @summary Enables remote management for device under the Azure Stack registration.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/RemoteManagement/Post.json
18
+ */
19
+ function returnsEmptyResponseForSuccessfulAction() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
22
+ const resourceGroup = "azurestack";
23
+ const registrationName = "testregistration";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new AzureStackManagementClient(credential, subscriptionId);
26
+ const result = yield client.registrations.enableRemoteManagement(resourceGroup, registrationName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ returnsEmptyResponseForSuccessfulAction().catch(console.error);
31
+ //# sourceMappingURL=registrationsEnableRemoteManagementSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsEnableRemoteManagementSample.js","sourceRoot":"","sources":["../../samples-dev/registrationsEnableRemoteManagementSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,sBAAsB,CAC9D,aAAa,EACb,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=registrationsGetActivationKeySample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsGetActivationKeySample.d.ts","sourceRoot":"","sources":["../../samples-dev/registrationsGetActivationKeySample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns Azure Stack Activation Key.
15
+ *
16
+ * @summary Returns Azure Stack Activation Key.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/Registration/Post.json
18
+ */
19
+ function returnsAzureStackActivationKey() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
22
+ const resourceGroup = "azurestack";
23
+ const registrationName = "testregistration";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new AzureStackManagementClient(credential, subscriptionId);
26
+ const result = yield client.registrations.getActivationKey(resourceGroup, registrationName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ returnsAzureStackActivationKey().catch(console.error);
31
+ //# sourceMappingURL=registrationsGetActivationKeySample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsGetActivationKeySample.js","sourceRoot":"","sources":["../../samples-dev/registrationsGetActivationKeySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,gBAAgB,CACxD,aAAa,EACb,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=registrationsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/registrationsGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns the properties of an Azure Stack registration.
15
+ *
16
+ * @summary Returns the properties of an Azure Stack registration.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/Registration/Get.json
18
+ */
19
+ function returnsThePropertiesOfAnAzureStackRegistration() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
22
+ const resourceGroup = "azurestack";
23
+ const registrationName = "testregistration";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new AzureStackManagementClient(credential, subscriptionId);
26
+ const result = yield client.registrations.get(resourceGroup, registrationName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ returnsThePropertiesOfAnAzureStackRegistration().catch(console.error);
31
+ //# sourceMappingURL=registrationsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsGetSample.js","sourceRoot":"","sources":["../../samples-dev/registrationsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8CAA8C;;QAC3D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,GAAG,CAC3C,aAAa,EACb,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,8CAA8C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=registrationsListBySubscriptionSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/registrationsListBySubscriptionSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns a list of all registrations under current subscription.
15
+ *
16
+ * @summary Returns a list of all registrations under current subscription.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/Registration/ListBySubscription.json
18
+ */
19
+ function returnsAListOfAllRegistrationsUnderCurrentSubscription() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
23
+ const credential = new DefaultAzureCredential();
24
+ const client = new AzureStackManagementClient(credential, subscriptionId);
25
+ const resArray = new Array();
26
+ try {
27
+ for (var _b = __asyncValues(client.registrations.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
28
+ let item = _c.value;
29
+ resArray.push(item);
30
+ }
31
+ }
32
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
33
+ finally {
34
+ try {
35
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
36
+ }
37
+ finally { if (e_1) throw e_1.error; }
38
+ }
39
+ console.log(resArray);
40
+ });
41
+ }
42
+ returnsAListOfAllRegistrationsUnderCurrentSubscription().catch(console.error);
43
+ //# sourceMappingURL=registrationsListBySubscriptionSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/registrationsListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sDAAsD;;;QACnE,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,aAAa,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAArD,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,sDAAsD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=registrationsListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/registrationsListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns a list of all registrations.
15
+ *
16
+ * @summary Returns a list of all registrations.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/Registration/List.json
18
+ */
19
+ function returnsAListOfAllRegistrations() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
23
+ const resourceGroup = "azurestack";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new AzureStackManagementClient(credential, subscriptionId);
26
+ const resArray = new Array();
27
+ try {
28
+ for (var _b = __asyncValues(client.registrations.list(resourceGroup)), _c; _c = yield _b.next(), !_c.done;) {
29
+ let item = _c.value;
30
+ resArray.push(item);
31
+ }
32
+ }
33
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
34
+ finally {
35
+ try {
36
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
37
+ }
38
+ finally { if (e_1) throw e_1.error; }
39
+ }
40
+ console.log(resArray);
41
+ });
42
+ }
43
+ returnsAListOfAllRegistrations().catch(console.error);
44
+ //# sourceMappingURL=registrationsListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsListSample.js","sourceRoot":"","sources":["../../samples-dev/registrationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8BAA8B;;;QAC3C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA,IAAA;gBAApD,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=registrationsUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/registrationsUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { AzureStackManagementClient } from "@azure/arm-azurestack";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Patch an Azure Stack registration.
15
+ *
16
+ * @summary Patch an Azure Stack registration.
17
+ * x-ms-original-file: specification/azurestack/resource-manager/Microsoft.AzureStack/preview/2020-06-01-preview/examples/Registration/Patch.json
18
+ */
19
+ function patchAnAzureStackRegistration() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "dd8597b4-8739-4467-8b10-f8679f62bfbf";
22
+ const resourceGroup = "azurestack";
23
+ const registrationName = "testregistration";
24
+ const token = {
25
+ location: "global",
26
+ registrationToken: "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9"
27
+ };
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new AzureStackManagementClient(credential, subscriptionId);
30
+ const result = yield client.registrations.update(resourceGroup, registrationName, token);
31
+ console.log(result);
32
+ });
33
+ }
34
+ patchAnAzureStackRegistration().catch(console.error);
35
+ //# sourceMappingURL=registrationsUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrationsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/registrationsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,0BAA0B,EAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;QAC5C,MAAM,KAAK,GAA0B;YACnC,QAAQ,EAAE,QAAQ;YAClB,iBAAiB,EACf,k3BAAk3B;SACr3B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC1E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,MAAM,CAC9C,aAAa,EACb,gBAAgB,EAChB,KAAK,CACN,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"azureStackManagementClient.d.ts","sourceRoot":"","sources":["../../src/azureStackManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAS7C,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,aAAa,EACb,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,wCAAwC,EAAE,MAAM,UAAU,CAAC;AAEpE,qBAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC;IAkDpD,UAAU,EAAE,UAAU,CAAC;IACvB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C"}
1
+ {"version":3,"file":"azureStackManagementClient.d.ts","sourceRoot":"","sources":["../../src/azureStackManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAS7C,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,aAAa,EACb,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,wCAAwC,EAAE,MAAM,UAAU,CAAC;AAEpE,qBAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC;IAmDpD,UAAU,EAAE,UAAU,CAAC;IACvB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C"}
@@ -16,6 +16,7 @@ export class AzureStackManagementClient extends coreClient.ServiceClient {
16
16
  * @param options The parameter options
17
17
  */
18
18
  constructor(credentials, subscriptionId, options) {
19
+ var _a, _b;
19
20
  if (credentials === undefined) {
20
21
  throw new Error("'credentials' cannot be null");
21
22
  }
@@ -30,7 +31,7 @@ export class AzureStackManagementClient extends coreClient.ServiceClient {
30
31
  requestContentType: "application/json; charset=utf-8",
31
32
  credential: credentials
32
33
  };
33
- const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.1`;
34
+ const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.2`;
34
35
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
35
36
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
36
37
  : `${packageDetails}`;
@@ -39,7 +40,7 @@ export class AzureStackManagementClient extends coreClient.ServiceClient {
39
40
  }
40
41
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
41
42
  userAgentPrefix
42
- }, baseUri: options.endpoint || "https://management.azure.com" });
43
+ }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
43
44
  super(optionsWithDefaults);
44
45
  // Parameter assignments
45
46
  this.subscriptionId = subscriptionId;
@@ -1 +1 @@
1
- {"version":3,"file":"azureStackManagementClient.js","sourceRoot":"","sources":["../../src/azureStackManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,yBAAyB,EACzB,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,cAAc,CAAC;AAWtB,MAAM,OAAO,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IAKtE;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAkD;QAElD,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,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAA6C;YACzD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,CAAC,uCAAuC,CAAC,CAAC;SACtE;QACD,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,8BAA8B,GAC5D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,qBAAqB,GAAG,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,aAAa,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,mBAAmB,GAAG,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAC/D,CAAC;CAQF"}
1
+ {"version":3,"file":"azureStackManagementClient.js","sourceRoot":"","sources":["../../src/azureStackManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,yBAAyB,EACzB,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,cAAc,CAAC;AAWtB,MAAM,OAAO,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IAKtE;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAkD;;QAElD,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,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAA6C;YACzD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,CAAC,uCAAuC,CAAC,CAAC;SACtE;QACD,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EACL,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,GACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,qBAAqB,GAAG,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,aAAa,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,mBAAmB,GAAG,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAC/D,CAAC;CAQF"}
@@ -1,4 +1,2 @@
1
- export declare const testPollingOptions: {
2
- updateIntervalInMs: number | undefined;
3
- };
1
+ export {};
4
2
  //# sourceMappingURL=sampleTest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
1
+ {"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
@@ -6,7 +6,7 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __awaiter } from "tslib";
9
- import { record, isPlaybackMode } from "@azure-tools/test-recorder";
9
+ import { record } from "@azure-tools/test-recorder";
10
10
  const recorderEnvSetup = {
11
11
  replaceableVariables: {
12
12
  AZURE_CLIENT_ID: "azure_client_id",
@@ -19,9 +19,6 @@ const recorderEnvSetup = {
19
19
  ],
20
20
  queryParametersToSkip: []
21
21
  };
22
- export const testPollingOptions = {
23
- updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
24
- };
25
22
  describe("My test", () => {
26
23
  let recorder;
27
24
  beforeEach(function () {
@@ -1 +1 @@
1
- {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAIN,cAAc,EACf,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACrD,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}