@azure/arm-elasticsan 1.0.0-beta.1

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 (179) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +2897 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/elasticSansCreateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/elasticSansCreateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/elasticSansCreateSample.js +62 -0
  11. package/dist-esm/samples-dev/elasticSansCreateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/elasticSansDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/elasticSansDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/elasticSansDeleteSample.js +49 -0
  15. package/dist-esm/samples-dev/elasticSansDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/elasticSansGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/elasticSansGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/elasticSansGetSample.js +49 -0
  19. package/dist-esm/samples-dev/elasticSansGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +75 -0
  23. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +1 -0
  24. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +73 -0
  27. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +1 -0
  28. package/dist-esm/samples-dev/elasticSansUpdateSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/elasticSansUpdateSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/elasticSansUpdateSample.js +55 -0
  31. package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -0
  32. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/operationsListSample.js +73 -0
  35. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  36. package/dist-esm/samples-dev/skusListSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/skusListSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/skusListSample.js +75 -0
  39. package/dist-esm/samples-dev/skusListSample.js.map +1 -0
  40. package/dist-esm/samples-dev/volumeGroupsCreateSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/volumeGroupsCreateSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/volumeGroupsCreateSample.js +62 -0
  43. package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -0
  44. package/dist-esm/samples-dev/volumeGroupsDeleteSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/volumeGroupsDeleteSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +51 -0
  47. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js.map +1 -0
  48. package/dist-esm/samples-dev/volumeGroupsGetSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/volumeGroupsGetSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/volumeGroupsGetSample.js +51 -0
  51. package/dist-esm/samples-dev/volumeGroupsGetSample.js.map +1 -0
  52. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +77 -0
  55. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +1 -0
  56. package/dist-esm/samples-dev/volumeGroupsUpdateSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/volumeGroupsUpdateSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +62 -0
  59. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -0
  60. package/dist-esm/samples-dev/volumesCreateSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/volumesCreateSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/volumesCreateSample.js +59 -0
  63. package/dist-esm/samples-dev/volumesCreateSample.js.map +1 -0
  64. package/dist-esm/samples-dev/volumesDeleteSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/volumesDeleteSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/volumesDeleteSample.js +53 -0
  67. package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -0
  68. package/dist-esm/samples-dev/volumesGetSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/volumesGetSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/volumesGetSample.js +53 -0
  71. package/dist-esm/samples-dev/volumesGetSample.js.map +1 -0
  72. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +79 -0
  75. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +1 -0
  76. package/dist-esm/samples-dev/volumesUpdateSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/volumesUpdateSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/volumesUpdateSample.js +58 -0
  79. package/dist-esm/samples-dev/volumesUpdateSample.js.map +1 -0
  80. package/dist-esm/src/elasticSanManagement.d.ts +24 -0
  81. package/dist-esm/src/elasticSanManagement.d.ts.map +1 -0
  82. package/dist-esm/src/elasticSanManagement.js +107 -0
  83. package/dist-esm/src/elasticSanManagement.js.map +1 -0
  84. package/dist-esm/src/index.d.ts +5 -0
  85. package/dist-esm/src/index.d.ts.map +1 -0
  86. package/dist-esm/src/index.js +12 -0
  87. package/dist-esm/src/index.js.map +1 -0
  88. package/dist-esm/src/lroImpl.d.ts +16 -0
  89. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  90. package/dist-esm/src/lroImpl.js +29 -0
  91. package/dist-esm/src/lroImpl.js.map +1 -0
  92. package/dist-esm/src/models/index.d.ts +691 -0
  93. package/dist-esm/src/models/index.d.ts.map +1 -0
  94. package/dist-esm/src/models/index.js +88 -0
  95. package/dist-esm/src/models/index.js.map +1 -0
  96. package/dist-esm/src/models/mappers.d.ts +29 -0
  97. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  98. package/dist-esm/src/models/mappers.js +877 -0
  99. package/dist-esm/src/models/mappers.js.map +1 -0
  100. package/dist-esm/src/models/parameters.d.ts +19 -0
  101. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  102. package/dist-esm/src/models/parameters.js +170 -0
  103. package/dist-esm/src/models/parameters.js.map +1 -0
  104. package/dist-esm/src/operations/elasticSans.d.ts +107 -0
  105. package/dist-esm/src/operations/elasticSans.d.ts.map +1 -0
  106. package/dist-esm/src/operations/elasticSans.js +509 -0
  107. package/dist-esm/src/operations/elasticSans.js.map +1 -0
  108. package/dist-esm/src/operations/index.d.ts +6 -0
  109. package/dist-esm/src/operations/index.d.ts.map +1 -0
  110. package/dist-esm/src/operations/index.js +13 -0
  111. package/dist-esm/src/operations/index.js.map +1 -0
  112. package/dist-esm/src/operations/operations.d.ts +26 -0
  113. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  114. package/dist-esm/src/operations/operations.js +90 -0
  115. package/dist-esm/src/operations/operations.js.map +1 -0
  116. package/dist-esm/src/operations/skus.d.ts +26 -0
  117. package/dist-esm/src/operations/skus.d.ts.map +1 -0
  118. package/dist-esm/src/operations/skus.js +90 -0
  119. package/dist-esm/src/operations/skus.js.map +1 -0
  120. package/dist-esm/src/operations/volumeGroups.d.ts +99 -0
  121. package/dist-esm/src/operations/volumeGroups.d.ts.map +1 -0
  122. package/dist-esm/src/operations/volumeGroups.js +438 -0
  123. package/dist-esm/src/operations/volumeGroups.js.map +1 -0
  124. package/dist-esm/src/operations/volumes.d.ts +109 -0
  125. package/dist-esm/src/operations/volumes.d.ts.map +1 -0
  126. package/dist-esm/src/operations/volumes.js +468 -0
  127. package/dist-esm/src/operations/volumes.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/elasticSans.d.ts +71 -0
  129. package/dist-esm/src/operationsInterfaces/elasticSans.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/elasticSans.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/elasticSans.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  133. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  135. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  137. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
  141. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/skus.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts +74 -0
  145. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/volumeGroups.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/volumeGroups.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/volumes.d.ts +82 -0
  149. package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/volumes.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/volumes.js.map +1 -0
  152. package/dist-esm/test/elasticsan_examples.spec.d.ts +4 -0
  153. package/dist-esm/test/elasticsan_examples.spec.d.ts.map +1 -0
  154. package/dist-esm/test/elasticsan_examples.spec.js +80 -0
  155. package/dist-esm/test/elasticsan_examples.spec.js.map +1 -0
  156. package/package.json +122 -0
  157. package/review/arm-elasticsan.api.md +536 -0
  158. package/rollup.config.js +122 -0
  159. package/src/elasticSanManagement.ts +161 -0
  160. package/src/index.ts +12 -0
  161. package/src/lroImpl.ts +34 -0
  162. package/src/models/index.ts +787 -0
  163. package/src/models/mappers.ts +935 -0
  164. package/src/models/parameters.ts +199 -0
  165. package/src/operations/elasticSans.ts +683 -0
  166. package/src/operations/index.ts +13 -0
  167. package/src/operations/operations.ts +98 -0
  168. package/src/operations/skus.ts +96 -0
  169. package/src/operations/volumeGroups.ts +629 -0
  170. package/src/operations/volumes.ts +673 -0
  171. package/src/operationsInterfaces/elasticSans.ts +139 -0
  172. package/src/operationsInterfaces/index.ts +13 -0
  173. package/src/operationsInterfaces/operations.ts +22 -0
  174. package/src/operationsInterfaces/skus.ts +22 -0
  175. package/src/operationsInterfaces/volumeGroups.ts +147 -0
  176. package/src/operationsInterfaces/volumes.ts +157 -0
  177. package/tsconfig.json +33 -0
  178. package/types/arm-elasticsan.d.ts +1036 -0
  179. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,71 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { ElasticSan, ElasticSansListBySubscriptionOptionalParams, ElasticSansListByResourceGroupOptionalParams, ElasticSansCreateOptionalParams, ElasticSansCreateResponse, ElasticSanUpdate, ElasticSansUpdateOptionalParams, ElasticSansUpdateResponse, ElasticSansDeleteOptionalParams, ElasticSansGetOptionalParams, ElasticSansGetResponse } from "../models";
4
+ /** Interface representing a ElasticSans. */
5
+ export interface ElasticSans {
6
+ /**
7
+ * Gets a list of ElasticSans in a subscription
8
+ * @param options The options parameters.
9
+ */
10
+ listBySubscription(options?: ElasticSansListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ElasticSan>;
11
+ /**
12
+ * Gets a list of ElasticSan in a resource group.
13
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
14
+ * @param options The options parameters.
15
+ */
16
+ listByResourceGroup(resourceGroupName: string, options?: ElasticSansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ElasticSan>;
17
+ /**
18
+ * Create ElasticSan.
19
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
20
+ * @param elasticSanName The name of the ElasticSan.
21
+ * @param parameters Elastic San object.
22
+ * @param options The options parameters.
23
+ */
24
+ beginCreate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<PollerLike<PollOperationState<ElasticSansCreateResponse>, ElasticSansCreateResponse>>;
25
+ /**
26
+ * Create ElasticSan.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param elasticSanName The name of the ElasticSan.
29
+ * @param parameters Elastic San object.
30
+ * @param options The options parameters.
31
+ */
32
+ beginCreateAndWait(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<ElasticSansCreateResponse>;
33
+ /**
34
+ * Update a Elastic San.
35
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
36
+ * @param elasticSanName The name of the ElasticSan.
37
+ * @param parameters Elastic San object.
38
+ * @param options The options parameters.
39
+ */
40
+ beginUpdate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<PollerLike<PollOperationState<ElasticSansUpdateResponse>, ElasticSansUpdateResponse>>;
41
+ /**
42
+ * Update a Elastic San.
43
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
+ * @param elasticSanName The name of the ElasticSan.
45
+ * @param parameters Elastic San object.
46
+ * @param options The options parameters.
47
+ */
48
+ beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<ElasticSansUpdateResponse>;
49
+ /**
50
+ * Delete a Elastic San.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param elasticSanName The name of the ElasticSan.
53
+ * @param options The options parameters.
54
+ */
55
+ beginDelete(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
56
+ /**
57
+ * Delete a Elastic San.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param elasticSanName The name of the ElasticSan.
60
+ * @param options The options parameters.
61
+ */
62
+ beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<void>;
63
+ /**
64
+ * Get a ElasticSan.
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param elasticSanName The name of the ElasticSan.
67
+ * @param options The options parameters.
68
+ */
69
+ get(resourceGroupName: string, elasticSanName: string, options?: ElasticSansGetOptionalParams): Promise<ElasticSansGetResponse>;
70
+ }
71
+ //# sourceMappingURL=elasticSans.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elasticSans.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/elasticSans.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,UAAU,EACV,2CAA2C,EAC3C,4CAA4C,EAC5C,+BAA+B,EAC/B,yBAAyB,EACzB,gBAAgB,EAChB,+BAA+B,EAC/B,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,sBA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C,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=elasticSans.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elasticSans.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/elasticSans.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,6 @@
1
+ export * from "./operations";
2
+ export * from "./skus";
3
+ export * from "./elasticSans";
4
+ export * from "./volumeGroups";
5
+ export * from "./volumes";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
@@ -0,0 +1,13 @@
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
+ export * from "./operations";
9
+ export * from "./skus";
10
+ export * from "./elasticSans";
11
+ export * from "./volumeGroups";
12
+ export * from "./volumes";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ElasticSanRPOperation, OperationsListOptionalParams } from "../models";
3
+ /** Interface representing a Operations. */
4
+ export interface Operations {
5
+ /**
6
+ * Gets a list of ElasticSan operations.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ElasticSanRPOperation>;
10
+ }
11
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAGhF,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;CACtD"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SkuInformation, SkusListOptionalParams } from "../models";
3
+ /** Interface representing a Skus. */
4
+ export interface Skus {
5
+ /**
6
+ * List all the available Skus in the region and information related to them
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<SkuInformation>;
10
+ }
11
+ //# sourceMappingURL=skus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skus.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/skus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAGnE,qCAAqC;AACrC,MAAM,WAAW,IAAI;IACnB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,cAAc,CAAC,CAAC;CAC/C"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=skus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skus.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/skus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,74 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { VolumeGroup, VolumeGroupsListByElasticSanOptionalParams, VolumeGroupsCreateOptionalParams, VolumeGroupsCreateResponse, VolumeGroupUpdate, VolumeGroupsUpdateOptionalParams, VolumeGroupsUpdateResponse, VolumeGroupsDeleteOptionalParams, VolumeGroupsGetOptionalParams, VolumeGroupsGetResponse } from "../models";
4
+ /** Interface representing a VolumeGroups. */
5
+ export interface VolumeGroups {
6
+ /**
7
+ * List VolumeGroups.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param elasticSanName The name of the ElasticSan.
10
+ * @param options The options parameters.
11
+ */
12
+ listByElasticSan(resourceGroupName: string, elasticSanName: string, options?: VolumeGroupsListByElasticSanOptionalParams): PagedAsyncIterableIterator<VolumeGroup>;
13
+ /**
14
+ * Create a Volume Group.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param elasticSanName The name of the ElasticSan.
17
+ * @param volumeGroupName The name of the VolumeGroup.
18
+ * @param parameters Volume Group object.
19
+ * @param options The options parameters.
20
+ */
21
+ beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<PollerLike<PollOperationState<VolumeGroupsCreateResponse>, VolumeGroupsCreateResponse>>;
22
+ /**
23
+ * Create a Volume Group.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param elasticSanName The name of the ElasticSan.
26
+ * @param volumeGroupName The name of the VolumeGroup.
27
+ * @param parameters Volume Group object.
28
+ * @param options The options parameters.
29
+ */
30
+ beginCreateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<VolumeGroupsCreateResponse>;
31
+ /**
32
+ * Update an VolumeGroup.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param elasticSanName The name of the ElasticSan.
35
+ * @param volumeGroupName The name of the VolumeGroup.
36
+ * @param parameters Volume Group object.
37
+ * @param options The options parameters.
38
+ */
39
+ beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<PollerLike<PollOperationState<VolumeGroupsUpdateResponse>, VolumeGroupsUpdateResponse>>;
40
+ /**
41
+ * Update an VolumeGroup.
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param elasticSanName The name of the ElasticSan.
44
+ * @param volumeGroupName The name of the VolumeGroup.
45
+ * @param parameters Volume Group object.
46
+ * @param options The options parameters.
47
+ */
48
+ beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<VolumeGroupsUpdateResponse>;
49
+ /**
50
+ * Delete an VolumeGroup.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param elasticSanName The name of the ElasticSan.
53
+ * @param volumeGroupName The name of the VolumeGroup.
54
+ * @param options The options parameters.
55
+ */
56
+ beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
57
+ /**
58
+ * Delete an VolumeGroup.
59
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
+ * @param elasticSanName The name of the ElasticSan.
61
+ * @param volumeGroupName The name of the VolumeGroup.
62
+ * @param options The options parameters.
63
+ */
64
+ beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<void>;
65
+ /**
66
+ * Get an VolumeGroups.
67
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
+ * @param elasticSanName The name of the ElasticSan.
69
+ * @param volumeGroupName The name of the VolumeGroup.
70
+ * @param options The options parameters.
71
+ */
72
+ get(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsGetOptionalParams): Promise<VolumeGroupsGetResponse>;
73
+ }
74
+ //# sourceMappingURL=volumeGroups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"volumeGroups.d.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0BAA0B,CAC3B,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,iBAAiB,EAC7B,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=volumeGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"volumeGroups.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/volumeGroups.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,82 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { Volume, VolumesListByVolumeGroupOptionalParams, VolumesCreateOptionalParams, VolumesCreateResponse, VolumeUpdate, VolumesUpdateOptionalParams, VolumesUpdateResponse, VolumesDeleteOptionalParams, VolumesGetOptionalParams, VolumesGetResponse } from "../models";
4
+ /** Interface representing a Volumes. */
5
+ export interface Volumes {
6
+ /**
7
+ * List Volumes in a VolumeGroup.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param elasticSanName The name of the ElasticSan.
10
+ * @param volumeGroupName The name of the VolumeGroup.
11
+ * @param options The options parameters.
12
+ */
13
+ listByVolumeGroup(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumesListByVolumeGroupOptionalParams): PagedAsyncIterableIterator<Volume>;
14
+ /**
15
+ * Create a Volume.
16
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
+ * @param elasticSanName The name of the ElasticSan.
18
+ * @param volumeGroupName The name of the VolumeGroup.
19
+ * @param volumeName The name of the Volume.
20
+ * @param parameters Volume object.
21
+ * @param options The options parameters.
22
+ */
23
+ beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<PollerLike<PollOperationState<VolumesCreateResponse>, VolumesCreateResponse>>;
24
+ /**
25
+ * Create a Volume.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param elasticSanName The name of the ElasticSan.
28
+ * @param volumeGroupName The name of the VolumeGroup.
29
+ * @param volumeName The name of the Volume.
30
+ * @param parameters Volume object.
31
+ * @param options The options parameters.
32
+ */
33
+ beginCreateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<VolumesCreateResponse>;
34
+ /**
35
+ * Update an Volume.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param elasticSanName The name of the ElasticSan.
38
+ * @param volumeGroupName The name of the VolumeGroup.
39
+ * @param volumeName The name of the Volume.
40
+ * @param parameters Volume object.
41
+ * @param options The options parameters.
42
+ */
43
+ beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<PollerLike<PollOperationState<VolumesUpdateResponse>, VolumesUpdateResponse>>;
44
+ /**
45
+ * Update an Volume.
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
+ * @param elasticSanName The name of the ElasticSan.
48
+ * @param volumeGroupName The name of the VolumeGroup.
49
+ * @param volumeName The name of the Volume.
50
+ * @param parameters Volume object.
51
+ * @param options The options parameters.
52
+ */
53
+ beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<VolumesUpdateResponse>;
54
+ /**
55
+ * Delete an Volume.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param elasticSanName The name of the ElasticSan.
58
+ * @param volumeGroupName The name of the VolumeGroup.
59
+ * @param volumeName The name of the Volume.
60
+ * @param options The options parameters.
61
+ */
62
+ beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
63
+ /**
64
+ * Delete an Volume.
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param elasticSanName The name of the ElasticSan.
67
+ * @param volumeGroupName The name of the VolumeGroup.
68
+ * @param volumeName The name of the Volume.
69
+ * @param options The options parameters.
70
+ */
71
+ beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<void>;
72
+ /**
73
+ * Get an Volume.
74
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
+ * @param elasticSanName The name of the ElasticSan.
76
+ * @param volumeGroupName The name of the VolumeGroup.
77
+ * @param volumeName The name of the Volume.
78
+ * @param options The options parameters.
79
+ */
80
+ get(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesGetOptionalParams): Promise<VolumesGetResponse>;
81
+ }
82
+ //# sourceMappingURL=volumes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"volumes.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/volumes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,MAAM,EACN,sCAAsC,EACtC,2BAA2B,EAC3B,qBAAqB,EACrB,YAAY,EACZ,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,EAC3B,wBAAwB,EACxB,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAGnB,wCAAwC;AACxC,MAAM,WAAW,OAAO;IACtB;;;;;;OAMG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,MAAM,CAAC,CAAC;IACtC;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CACR,UAAU,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,EAAE,qBAAqB,CAAC,CAC7E,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAA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ft 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
+ export {};
9
+ //# sourceMappingURL=volumes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"volumes.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/volumes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,4 @@
1
+ export declare const testPollingOptions: {
2
+ updateIntervalInMs: number | undefined;
3
+ };
4
+ //# sourceMappingURL=elasticsan_examples.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elasticsan_examples.spec.d.ts","sourceRoot":"","sources":["../../test/elasticsan_examples.spec.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
@@ -0,0 +1,80 @@
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
+ import { env, Recorder, isPlaybackMode, } from "@azure-tools/test-recorder";
10
+ import { createTestCredential } from "@azure-tools/test-credential";
11
+ import { assert } from "chai";
12
+ import { ElasticSanManagement } from "../src/elasticSanManagement";
13
+ const replaceableVariables = {
14
+ AZURE_CLIENT_ID: "azure_client_id",
15
+ AZURE_CLIENT_SECRET: "azure_client_secret",
16
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
17
+ SUBSCRIPTION_ID: "azure_subscription_id"
18
+ };
19
+ const recorderOptions = {
20
+ envSetupForPlayback: replaceableVariables
21
+ };
22
+ export const testPollingOptions = {
23
+ updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
24
+ };
25
+ describe("elasticSan test", () => {
26
+ let recorder;
27
+ let subscriptionId;
28
+ let client;
29
+ let location;
30
+ let resourceGroup;
31
+ let elasticSanName;
32
+ let parameters;
33
+ beforeEach(function () {
34
+ return __awaiter(this, void 0, void 0, function* () {
35
+ recorder = new Recorder(this.currentTest);
36
+ yield recorder.start(recorderOptions);
37
+ subscriptionId = env.SUBSCRIPTION_ID || '';
38
+ // This is an example of how the environment variables are used
39
+ const credential = createTestCredential();
40
+ client = new ElasticSanManagement(credential, subscriptionId, recorder.configureClientOptions({}));
41
+ location = "eastus2stage";
42
+ resourceGroup = "myjstest";
43
+ elasticSanName = "ti7q-k952-1qB3J_5";
44
+ parameters = {
45
+ availabilityZones: ["aaaaaaaaaaaaaaaaa"],
46
+ baseSizeTiB: 26,
47
+ extendedCapacitySizeTiB: 7,
48
+ location: location,
49
+ sku: { name: "Premium_LRS", tier: "Premium" },
50
+ tags: { key896: "aaaaaaaaaaaaaaaaaa" }
51
+ };
52
+ });
53
+ });
54
+ afterEach(function () {
55
+ return __awaiter(this, void 0, void 0, function* () {
56
+ yield recorder.stop();
57
+ });
58
+ });
59
+ it("elasticSan list test", function () {
60
+ var e_1, _a;
61
+ return __awaiter(this, void 0, void 0, function* () {
62
+ const resArray = new Array();
63
+ try {
64
+ for (var _b = __asyncValues(client.elasticSans.listByResourceGroup(resourceGroup)), _c; _c = yield _b.next(), !_c.done;) {
65
+ let item = _c.value;
66
+ resArray.push(item);
67
+ }
68
+ }
69
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
70
+ finally {
71
+ try {
72
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
73
+ }
74
+ finally { if (e_1) throw e_1.error; }
75
+ }
76
+ assert.equal(resArray.length, 0);
77
+ });
78
+ });
79
+ });
80
+ //# sourceMappingURL=elasticsan_examples.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elasticsan_examples.spec.js","sourceRoot":"","sources":["../../test/elasticsan_examples.spec.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EA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,CAAC;YACrC,UAAU,GAAG;gBACX,iBAAiB,EAAE,CAAC,mBAAmB,CAAC;gBACxC,WAAW,EAAE,EAAE;gBACf,uBAAuB,EAAE,CAAC;gBAC1B,QAAQ,EAAE,QAAQ;gBAClB,GAAG,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE;gBAC7C,IAAI,EAAE,EAAE,MAAM,EAAE,oBAAoB,EAAE;aACvC,CAAC;QACJ,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,sBAAsB,EAAE;;;YACzB,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;gBAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAA,IAAA;oBAAjE,IAAI,IAAI,WAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;iBACrB;;;;;;;;;YACD,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAA"}
package/package.json ADDED
@@ -0,0 +1,122 @@
1
+ {
2
+ "name": "@azure/arm-elasticsan",
3
+ "sdk-type": "mgmt",
4
+ "author": "Microsoft Corporation",
5
+ "description": "A generated SDK for ElasticSanManagement.",
6
+ "version": "1.0.0-beta.1",
7
+ "engines": {
8
+ "node": ">=14.0.0"
9
+ },
10
+ "dependencies": {
11
+ "@azure/core-lro": "^2.2.0",
12
+ "@azure/abort-controller": "^1.0.0",
13
+ "@azure/core-paging": "^1.2.0",
14
+ "@azure/core-client": "^1.6.1",
15
+ "@azure/core-auth": "^1.3.0",
16
+ "@azure/core-rest-pipeline": "^1.8.0",
17
+ "tslib": "^2.2.0"
18
+ },
19
+ "keywords": [
20
+ "node",
21
+ "azure",
22
+ "typescript",
23
+ "browser",
24
+ "isomorphic"
25
+ ],
26
+ "license": "MIT",
27
+ "main": "./dist/index.js",
28
+ "module": "./dist-esm/src/index.js",
29
+ "types": "./types/arm-elasticsan.d.ts",
30
+ "devDependencies": {
31
+ "@microsoft/api-extractor": "^7.31.1",
32
+ "@rollup/plugin-commonjs": "^21.0.1",
33
+ "@rollup/plugin-json": "^4.1.0",
34
+ "@rollup/plugin-multi-entry": "^4.1.0",
35
+ "@rollup/plugin-node-resolve": "^13.1.3",
36
+ "mkdirp": "^1.0.4",
37
+ "rollup": "^2.66.1",
38
+ "rollup-plugin-sourcemaps": "^0.6.3",
39
+ "typescript": "~4.6.0",
40
+ "uglify-js": "^3.4.9",
41
+ "rimraf": "^3.0.0",
42
+ "@azure/identity": "^2.0.1",
43
+ "@azure-tools/test-recorder": "^2.0.0",
44
+ "@azure-tools/test-credential": "^1.0.0",
45
+ "mocha": "^7.1.1",
46
+ "@types/chai": "^4.2.8",
47
+ "chai": "^4.2.0",
48
+ "cross-env": "^7.0.2",
49
+ "@types/node": "^14.0.0",
50
+ "@azure/dev-tool": "^1.0.0"
51
+ },
52
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/elasticsans/arm-elasticsan",
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "https://github.com/Azure/azure-sdk-for-js.git"
56
+ },
57
+ "bugs": {
58
+ "url": "https://github.com/Azure/azure-sdk-for-js/issues"
59
+ },
60
+ "files": [
61
+ "dist/**/*.js",
62
+ "dist/**/*.js.map",
63
+ "dist/**/*.d.ts",
64
+ "dist/**/*.d.ts.map",
65
+ "dist-esm/**/*.js",
66
+ "dist-esm/**/*.js.map",
67
+ "dist-esm/**/*.d.ts",
68
+ "dist-esm/**/*.d.ts.map",
69
+ "src/**/*.ts",
70
+ "README.md",
71
+ "LICENSE",
72
+ "rollup.config.js",
73
+ "tsconfig.json",
74
+ "review/*",
75
+ "CHANGELOG.md",
76
+ "types/*"
77
+ ],
78
+ "scripts": {
79
+ "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
80
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
81
+ "prepack": "npm run build",
82
+ "pack": "npm pack 2>&1",
83
+ "extract-api": "api-extractor run --local",
84
+ "lint": "echo skipped",
85
+ "audit": "echo skipped",
86
+ "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
87
+ "build:node": "echo skipped",
88
+ "build:browser": "echo skipped",
89
+ "build:test": "echo skipped",
90
+ "build:samples": "echo skipped.",
91
+ "check-format": "echo skipped",
92
+ "execute:samples": "echo skipped",
93
+ "format": "echo skipped",
94
+ "test": "npm run integration-test",
95
+ "test:node": "echo skipped",
96
+ "test:browser": "echo skipped",
97
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
98
+ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
99
+ "unit-test:browser": "echo skipped",
100
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
101
+ "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
102
+ "integration-test:browser": "echo skipped"
103
+ },
104
+ "sideEffects": false,
105
+ "//metadata": {
106
+ "constantPaths": [
107
+ {
108
+ "path": "src/elasticSanManagement.ts",
109
+ "prefix": "packageDetails"
110
+ }
111
+ ]
112
+ },
113
+ "autoPublish": true,
114
+ "//sampleConfiguration": {
115
+ "productName": "",
116
+ "productSlugs": [
117
+ "azure"
118
+ ],
119
+ "disableDocsMs": true,
120
+ "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-elasticsan?view=azure-node-preview"
121
+ }
122
+ }