@azure/arm-elasticsan 1.0.0-beta.1 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/LICENSE +1 -1
  3. package/dist/index.js +1245 -374
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/elasticSansCreateSample.js +25 -17
  8. package/dist-esm/samples-dev/elasticSansCreateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/elasticSansDeleteSample.js +17 -10
  10. package/dist-esm/samples-dev/elasticSansDeleteSample.js.map +1 -1
  11. package/dist-esm/samples-dev/elasticSansGetSample.js +17 -10
  12. package/dist-esm/samples-dev/elasticSansGetSample.js.map +1 -1
  13. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +39 -18
  14. package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +1 -1
  15. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +37 -16
  16. package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +1 -1
  17. package/dist-esm/samples-dev/elasticSansUpdateSample.js +20 -13
  18. package/dist-esm/samples-dev/elasticSansUpdateSample.js.map +1 -1
  19. package/dist-esm/samples-dev/operationsListSample.js +39 -16
  20. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts +2 -0
  22. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +74 -0
  24. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -0
  25. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
  26. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +58 -0
  28. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
  29. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  30. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +58 -0
  32. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  33. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +2 -0
  34. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +98 -0
  36. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -0
  37. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.d.ts +2 -0
  38. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js +56 -0
  40. package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js.map +1 -0
  41. package/dist-esm/samples-dev/skusListSample.js +38 -17
  42. package/dist-esm/samples-dev/skusListSample.js.map +1 -1
  43. package/dist-esm/samples-dev/volumeGroupsCreateSample.js +24 -15
  44. package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +1 -1
  45. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +19 -12
  46. package/dist-esm/samples-dev/volumeGroupsDeleteSample.js.map +1 -1
  47. package/dist-esm/samples-dev/volumeGroupsGetSample.js +19 -12
  48. package/dist-esm/samples-dev/volumeGroupsGetSample.js.map +1 -1
  49. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +41 -20
  50. package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +1 -1
  51. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +24 -15
  52. package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +1 -1
  53. package/dist-esm/samples-dev/volumesCreateSample.js +24 -18
  54. package/dist-esm/samples-dev/volumesCreateSample.js.map +1 -1
  55. package/dist-esm/samples-dev/volumesDeleteSample.js +21 -14
  56. package/dist-esm/samples-dev/volumesDeleteSample.js.map +1 -1
  57. package/dist-esm/samples-dev/volumesGetSample.js +21 -14
  58. package/dist-esm/samples-dev/volumesGetSample.js.map +1 -1
  59. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +43 -22
  60. package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +1 -1
  61. package/dist-esm/samples-dev/volumesUpdateSample.js +22 -18
  62. package/dist-esm/samples-dev/volumesUpdateSample.js.map +1 -1
  63. package/dist-esm/src/elasticSanManagement.d.ts +3 -1
  64. package/dist-esm/src/elasticSanManagement.d.ts.map +1 -1
  65. package/dist-esm/src/elasticSanManagement.js +8 -9
  66. package/dist-esm/src/elasticSanManagement.js.map +1 -1
  67. package/dist-esm/src/index.d.ts +1 -0
  68. package/dist-esm/src/index.d.ts.map +1 -1
  69. package/dist-esm/src/index.js +1 -0
  70. package/dist-esm/src/index.js.map +1 -1
  71. package/dist-esm/src/lroImpl.d.ts +6 -11
  72. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  73. package/dist-esm/src/lroImpl.js +12 -20
  74. package/dist-esm/src/lroImpl.js.map +1 -1
  75. package/dist-esm/src/models/index.d.ts +331 -124
  76. package/dist-esm/src/models/index.d.ts.map +1 -1
  77. package/dist-esm/src/models/index.js +28 -0
  78. package/dist-esm/src/models/index.js.map +1 -1
  79. package/dist-esm/src/models/mappers.d.ts +20 -6
  80. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  81. package/dist-esm/src/models/mappers.js +400 -112
  82. package/dist-esm/src/models/mappers.js.map +1 -1
  83. package/dist-esm/src/models/parameters.d.ts +2 -0
  84. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  85. package/dist-esm/src/models/parameters.js +16 -3
  86. package/dist-esm/src/models/parameters.js.map +1 -1
  87. package/dist-esm/src/operations/elasticSans.d.ts +4 -4
  88. package/dist-esm/src/operations/elasticSans.d.ts.map +1 -1
  89. package/dist-esm/src/operations/elasticSans.js +98 -51
  90. package/dist-esm/src/operations/elasticSans.js.map +1 -1
  91. package/dist-esm/src/operations/index.d.ts +2 -0
  92. package/dist-esm/src/operations/index.d.ts.map +1 -1
  93. package/dist-esm/src/operations/index.js +2 -0
  94. package/dist-esm/src/operations/index.js.map +1 -1
  95. package/dist-esm/src/operations/operations.d.ts +2 -2
  96. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  97. package/dist-esm/src/operations/operations.js +22 -11
  98. package/dist-esm/src/operations/operations.js.map +1 -1
  99. package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
  100. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  101. package/dist-esm/src/operations/privateEndpointConnections.js +334 -0
  102. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  103. package/dist-esm/src/operations/privateLinkResources.d.ts +20 -0
  104. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  105. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  106. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  107. package/dist-esm/src/operations/skus.d.ts.map +1 -1
  108. package/dist-esm/src/operations/skus.js +21 -10
  109. package/dist-esm/src/operations/skus.js.map +1 -1
  110. package/dist-esm/src/operations/volumeGroups.d.ts +4 -4
  111. package/dist-esm/src/operations/volumeGroups.d.ts.map +1 -1
  112. package/dist-esm/src/operations/volumeGroups.js +78 -48
  113. package/dist-esm/src/operations/volumeGroups.js.map +1 -1
  114. package/dist-esm/src/operations/volumes.d.ts +4 -4
  115. package/dist-esm/src/operations/volumes.d.ts.map +1 -1
  116. package/dist-esm/src/operations/volumes.js +86 -56
  117. package/dist-esm/src/operations/volumes.js.map +1 -1
  118. package/dist-esm/src/operationsInterfaces/elasticSans.d.ts +4 -4
  119. package/dist-esm/src/operationsInterfaces/elasticSans.d.ts.map +1 -1
  120. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
  121. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  122. package/dist-esm/src/operationsInterfaces/index.js +2 -0
  123. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  124. package/dist-esm/src/operationsInterfaces/operations.d.ts +2 -2
  125. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
  126. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  127. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  129. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +12 -0
  131. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  133. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts +4 -4
  135. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts.map +1 -1
  136. package/dist-esm/src/operationsInterfaces/volumes.d.ts +4 -4
  137. package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +1 -1
  138. package/dist-esm/src/pagingHelper.d.ts +13 -0
  139. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  140. package/dist-esm/src/pagingHelper.js +32 -0
  141. package/dist-esm/src/pagingHelper.js.map +1 -0
  142. package/dist-esm/test/elasticsan_examples.spec.js +12 -5
  143. package/dist-esm/test/elasticsan_examples.spec.js.map +1 -1
  144. package/package.json +11 -10
  145. package/review/arm-elasticsan.api.md +229 -60
  146. package/src/elasticSanManagement.ts +16 -9
  147. package/src/index.ts +1 -0
  148. package/src/lroImpl.ts +31 -23
  149. package/src/models/index.ts +334 -93
  150. package/src/models/mappers.ts +429 -114
  151. package/src/models/parameters.ts +19 -3
  152. package/src/operations/elasticSans.ts +97 -60
  153. package/src/operations/index.ts +2 -0
  154. package/src/operations/operations.ts +16 -11
  155. package/src/operations/privateEndpointConnections.ts +450 -0
  156. package/src/operations/privateLinkResources.ts +72 -0
  157. package/src/operations/skus.ts +11 -6
  158. package/src/operations/volumeGroups.ts +76 -53
  159. package/src/operations/volumes.ts +82 -53
  160. package/src/operationsInterfaces/elasticSans.ts +6 -6
  161. package/src/operationsInterfaces/index.ts +2 -0
  162. package/src/operationsInterfaces/operations.ts +2 -2
  163. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  164. package/src/operationsInterfaces/privateLinkResources.ts +27 -0
  165. package/src/operationsInterfaces/volumeGroups.ts +6 -6
  166. package/src/operationsInterfaces/volumes.ts +10 -4
  167. package/src/pagingHelper.ts +39 -0
  168. package/types/arm-elasticsan.d.ts +409 -98
  169. package/types/tsdoc-metadata.json +1 -1
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -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
+ const pageMap = new WeakMap();
9
+ /**
10
+ * Given the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
15
+ */
16
+ export function getContinuationToken(page) {
17
+ var _a;
18
+ if (typeof page !== "object" || page === null) {
19
+ return undefined;
20
+ }
21
+ return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
22
+ }
23
+ export function setContinuationToken(page, continuationToken) {
24
+ var _a;
25
+ if (typeof page !== "object" || page === null || !continuationToken) {
26
+ return;
27
+ }
28
+ const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
29
+ pageInfo.continuationToken = continuationToken;
30
+ pageMap.set(page, pageInfo);
31
+ }
32
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE;QAC7C,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE;QACnE,OAAO;KACR;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC"}
@@ -57,19 +57,26 @@ describe("elasticSan test", () => {
57
57
  });
58
58
  });
59
59
  it("elasticSan list test", function () {
60
- var e_1, _a;
60
+ var _a, e_1, _b, _c;
61
61
  return __awaiter(this, void 0, void 0, function* () {
62
62
  const resArray = new Array();
63
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);
64
+ for (var _d = true, _e = __asyncValues(client.elasticSans.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
65
+ _c = _f.value;
66
+ _d = false;
67
+ try {
68
+ let item = _c;
69
+ resArray.push(item);
70
+ }
71
+ finally {
72
+ _d = true;
73
+ }
67
74
  }
68
75
  }
69
76
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
70
77
  finally {
71
78
  try {
72
- if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
79
+ if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
73
80
  }
74
81
  finally { if (e_1) throw e_1.error; }
75
82
  }
@@ -1 +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,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACpC,O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,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,eAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAA,IAAA;oBAArD,cAAqD;oBAArD,WAAqD;;wBAAjE,IAAI,IAAI,KAAA,CAAA;wBACjB,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 CHANGED
@@ -3,15 +3,15 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for ElasticSanManagement.",
6
- "version": "1.0.0-beta.1",
6
+ "version": "1.0.0-beta.2",
7
7
  "engines": {
8
8
  "node": ">=14.0.0"
9
9
  },
10
10
  "dependencies": {
11
- "@azure/core-lro": "^2.2.0",
11
+ "@azure/core-lro": "^2.5.3",
12
12
  "@azure/abort-controller": "^1.0.0",
13
13
  "@azure/core-paging": "^1.2.0",
14
- "@azure/core-client": "^1.6.1",
14
+ "@azure/core-client": "^1.7.0",
15
15
  "@azure/core-auth": "^1.3.0",
16
16
  "@azure/core-rest-pipeline": "^1.8.0",
17
17
  "tslib": "^2.2.0"
@@ -29,18 +29,19 @@
29
29
  "types": "./types/arm-elasticsan.d.ts",
30
30
  "devDependencies": {
31
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",
32
+ "@rollup/plugin-commonjs": "^24.0.0",
33
+ "@rollup/plugin-json": "^6.0.0",
34
+ "@rollup/plugin-multi-entry": "^6.0.0",
35
35
  "@rollup/plugin-node-resolve": "^13.1.3",
36
- "mkdirp": "^1.0.4",
36
+ "mkdirp": "^2.1.2",
37
37
  "rollup": "^2.66.1",
38
38
  "rollup-plugin-sourcemaps": "^0.6.3",
39
- "typescript": "~4.6.0",
39
+ "typescript": "~5.0.0",
40
40
  "uglify-js": "^3.4.9",
41
41
  "rimraf": "^3.0.0",
42
+ "dotenv": "^16.0.0",
42
43
  "@azure/identity": "^2.0.1",
43
- "@azure-tools/test-recorder": "^2.0.0",
44
+ "@azure-tools/test-recorder": "^3.0.0",
44
45
  "@azure-tools/test-credential": "^1.0.0",
45
46
  "mocha": "^7.1.1",
46
47
  "@types/chai": "^4.2.8",
@@ -49,7 +50,6 @@
49
50
  "@types/node": "^14.0.0",
50
51
  "@azure/dev-tool": "^1.0.0"
51
52
  },
52
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/elasticsans/arm-elasticsan",
53
53
  "repository": {
54
54
  "type": "git",
55
55
  "url": "https://github.com/Azure/azure-sdk-for-js.git"
@@ -111,6 +111,7 @@
111
111
  ]
112
112
  },
113
113
  "autoPublish": true,
114
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/elasticsans/arm-elasticsan",
114
115
  "//sampleConfiguration": {
115
116
  "productName": "",
116
117
  "productSlugs": [
@@ -6,9 +6,12 @@
6
6
 
7
7
  import * as coreAuth from '@azure/core-auth';
8
8
  import * as coreClient from '@azure/core-client';
9
+ import { OperationState } from '@azure/core-lro';
9
10
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
- import { PollerLike } from '@azure/core-lro';
11
- import { PollOperationState } from '@azure/core-lro';
11
+ import { SimplePollerLike } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export type ActionType = string;
12
15
 
13
16
  // @public
14
17
  export type CreatedByType = string;
@@ -18,9 +21,9 @@ export interface ElasticSan extends TrackedResource {
18
21
  availabilityZones?: string[];
19
22
  baseSizeTiB: number;
20
23
  extendedCapacitySizeTiB: number;
24
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
21
25
  readonly provisioningState?: ProvisioningStates;
22
26
  sku: Sku;
23
- readonly systemData?: SystemData;
24
27
  readonly totalIops?: number;
25
28
  readonly totalMBps?: number;
26
29
  readonly totalSizeTiB?: number;
@@ -31,7 +34,7 @@ export interface ElasticSan extends TrackedResource {
31
34
  // @public
32
35
  export interface ElasticSanList {
33
36
  readonly nextLink?: string;
34
- value: ElasticSan[];
37
+ value?: ElasticSan[];
35
38
  }
36
39
 
37
40
  // @public (undocumented)
@@ -46,6 +49,10 @@ export class ElasticSanManagement extends coreClient.ServiceClient {
46
49
  // (undocumented)
47
50
  operations: Operations;
48
51
  // (undocumented)
52
+ privateEndpointConnections: PrivateEndpointConnections;
53
+ // (undocumented)
54
+ privateLinkResources: PrivateLinkResources;
55
+ // (undocumented)
49
56
  skus: Skus;
50
57
  // (undocumented)
51
58
  subscriptionId: string;
@@ -62,34 +69,13 @@ export interface ElasticSanManagementOptionalParams extends coreClient.ServiceCl
62
69
  endpoint?: string;
63
70
  }
64
71
 
65
- // @public
66
- export interface ElasticSanOperationDisplay {
67
- description: string;
68
- operation: string;
69
- provider: string;
70
- resource: string;
71
- }
72
-
73
- // @public
74
- export interface ElasticSanOperationListResult {
75
- nextLink?: string;
76
- value: ElasticSanRPOperation[];
77
- }
78
-
79
- // @public
80
- export interface ElasticSanRPOperation {
81
- readonly display?: ElasticSanOperationDisplay;
82
- readonly isDataAction?: boolean;
83
- name: string;
84
- }
85
-
86
72
  // @public
87
73
  export interface ElasticSans {
88
- beginCreate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<PollerLike<PollOperationState<ElasticSansCreateResponse>, ElasticSansCreateResponse>>;
74
+ beginCreate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<SimplePollerLike<OperationState<ElasticSansCreateResponse>, ElasticSansCreateResponse>>;
89
75
  beginCreateAndWait(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<ElasticSansCreateResponse>;
90
- beginDelete(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
76
+ beginDelete(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
91
77
  beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<void>;
92
- beginUpdate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<PollerLike<PollOperationState<ElasticSansUpdateResponse>, ElasticSansUpdateResponse>>;
78
+ beginUpdate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ElasticSansUpdateResponse>, ElasticSansUpdateResponse>>;
93
79
  beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<ElasticSansUpdateResponse>;
94
80
  get(resourceGroupName: string, elasticSanName: string, options?: ElasticSansGetOptionalParams): Promise<ElasticSansGetResponse>;
95
81
  listByResourceGroup(resourceGroupName: string, options?: ElasticSansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ElasticSan>;
@@ -105,6 +91,12 @@ export interface ElasticSansCreateOptionalParams extends coreClient.OperationOpt
105
91
  // @public
106
92
  export type ElasticSansCreateResponse = ElasticSan;
107
93
 
94
+ // @public
95
+ export interface ElasticSansDeleteHeaders {
96
+ // (undocumented)
97
+ location?: string;
98
+ }
99
+
108
100
  // @public
109
101
  export interface ElasticSansDeleteOptionalParams extends coreClient.OperationOptions {
110
102
  resumeFrom?: string;
@@ -146,6 +138,12 @@ export interface ElasticSansListBySubscriptionOptionalParams extends coreClient.
146
138
  // @public
147
139
  export type ElasticSansListBySubscriptionResponse = ElasticSanList;
148
140
 
141
+ // @public
142
+ export interface ElasticSansUpdateHeaders {
143
+ // (undocumented)
144
+ location?: string;
145
+ }
146
+
149
147
  // @public
150
148
  export interface ElasticSansUpdateOptionalParams extends coreClient.OperationOptions {
151
149
  resumeFrom?: string;
@@ -174,19 +172,22 @@ export interface ErrorAdditionalInfo {
174
172
  }
175
173
 
176
174
  // @public
177
- export interface ErrorModel {
178
- error?: ErrorResponse;
179
- }
180
-
181
- // @public
182
- export interface ErrorResponse {
175
+ export interface ErrorDetail {
183
176
  readonly additionalInfo?: ErrorAdditionalInfo[];
184
177
  readonly code?: string;
185
- readonly details?: ErrorResponse[];
178
+ readonly details?: ErrorDetail[];
186
179
  readonly message?: string;
187
180
  readonly target?: string;
188
181
  }
189
182
 
183
+ // @public
184
+ export interface ErrorResponse {
185
+ error?: ErrorDetail;
186
+ }
187
+
188
+ // @public
189
+ export function getContinuationToken(page: unknown): string | undefined;
190
+
190
191
  // @public
191
192
  export interface IscsiTargetInfo {
192
193
  readonly provisioningState?: ProvisioningStates;
@@ -196,6 +197,11 @@ export interface IscsiTargetInfo {
196
197
  readonly targetPortalPort?: number;
197
198
  }
198
199
 
200
+ // @public
201
+ export enum KnownActionType {
202
+ Internal = "Internal"
203
+ }
204
+
199
205
  // @public
200
206
  export enum KnownCreatedByType {
201
207
  Application = "Application",
@@ -221,6 +227,21 @@ export enum KnownOperationalStatus {
221
227
  Updating = "Updating"
222
228
  }
223
229
 
230
+ // @public
231
+ export enum KnownOrigin {
232
+ System = "system",
233
+ User = "user",
234
+ UserSystem = "user,system"
235
+ }
236
+
237
+ // @public
238
+ export enum KnownPrivateEndpointServiceConnectionStatus {
239
+ Approved = "Approved",
240
+ Failed = "Failed",
241
+ Pending = "Pending",
242
+ Rejected = "Rejected"
243
+ }
244
+
224
245
  // @public
225
246
  export enum KnownProvisioningStates {
226
247
  Canceled = "Canceled",
@@ -255,12 +276,35 @@ export interface NetworkRuleSet {
255
276
  virtualNetworkRules?: VirtualNetworkRule[];
256
277
  }
257
278
 
279
+ // @public
280
+ export interface Operation {
281
+ readonly actionType?: ActionType;
282
+ display?: OperationDisplay;
283
+ readonly isDataAction?: boolean;
284
+ readonly name?: string;
285
+ readonly origin?: Origin;
286
+ }
287
+
258
288
  // @public
259
289
  export type OperationalStatus = string;
260
290
 
291
+ // @public
292
+ export interface OperationDisplay {
293
+ readonly description?: string;
294
+ readonly operation?: string;
295
+ readonly provider?: string;
296
+ readonly resource?: string;
297
+ }
298
+
299
+ // @public
300
+ export interface OperationListResult {
301
+ readonly nextLink?: string;
302
+ readonly value?: Operation[];
303
+ }
304
+
261
305
  // @public
262
306
  export interface Operations {
263
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ElasticSanRPOperation>;
307
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
264
308
  }
265
309
 
266
310
  // @public
@@ -268,18 +312,122 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
268
312
  }
269
313
 
270
314
  // @public
271
- export type OperationsListResponse = ElasticSanOperationListResult;
315
+ export type OperationsListResponse = OperationListResult;
316
+
317
+ // @public
318
+ export type Origin = string;
319
+
320
+ // @public
321
+ export interface PrivateEndpoint {
322
+ readonly id?: string;
323
+ }
324
+
325
+ // @public
326
+ export interface PrivateEndpointConnection extends Resource {
327
+ groupIds?: string[];
328
+ privateEndpoint?: PrivateEndpoint;
329
+ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
330
+ readonly provisioningState?: ProvisioningStates;
331
+ }
332
+
333
+ // @public
334
+ export interface PrivateEndpointConnectionListResult {
335
+ readonly nextLink?: string;
336
+ value?: PrivateEndpointConnection[];
337
+ }
338
+
339
+ // @public
340
+ export interface PrivateEndpointConnections {
341
+ beginCreate(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateResponse>, PrivateEndpointConnectionsCreateResponse>>;
342
+ beginCreateAndWait(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PrivateEndpointConnectionsCreateResponse>;
343
+ beginDelete(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
344
+ beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
345
+ get(resourceGroupName: string, elasticSanName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
346
+ list(resourceGroupName: string, elasticSanName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
347
+ }
348
+
349
+ // @public
350
+ export interface PrivateEndpointConnectionsCreateOptionalParams extends coreClient.OperationOptions {
351
+ resumeFrom?: string;
352
+ updateIntervalInMs?: number;
353
+ }
354
+
355
+ // @public
356
+ export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
357
+
358
+ // @public
359
+ export interface PrivateEndpointConnectionsDeleteHeaders {
360
+ // (undocumented)
361
+ location?: string;
362
+ }
363
+
364
+ // @public
365
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
366
+ resumeFrom?: string;
367
+ updateIntervalInMs?: number;
368
+ }
369
+
370
+ // @public
371
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
372
+ }
373
+
374
+ // @public
375
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
376
+
377
+ // @public
378
+ export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
379
+ }
380
+
381
+ // @public
382
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
383
+
384
+ // @public
385
+ export type PrivateEndpointServiceConnectionStatus = string;
386
+
387
+ // @public
388
+ export interface PrivateLinkResource extends Resource {
389
+ readonly groupId?: string;
390
+ readonly requiredMembers?: string[];
391
+ requiredZoneNames?: string[];
392
+ }
393
+
394
+ // @public
395
+ export interface PrivateLinkResourceListResult {
396
+ readonly nextLink?: string;
397
+ value?: PrivateLinkResource[];
398
+ }
399
+
400
+ // @public
401
+ export interface PrivateLinkResources {
402
+ listByElasticSan(resourceGroupName: string, elasticSanName: string, options?: PrivateLinkResourcesListByElasticSanOptionalParams): Promise<PrivateLinkResourcesListByElasticSanResponse>;
403
+ }
404
+
405
+ // @public
406
+ export interface PrivateLinkResourcesListByElasticSanOptionalParams extends coreClient.OperationOptions {
407
+ }
408
+
409
+ // @public
410
+ export type PrivateLinkResourcesListByElasticSanResponse = PrivateLinkResourceListResult;
411
+
412
+ // @public
413
+ export interface PrivateLinkServiceConnectionState {
414
+ actionsRequired?: string;
415
+ description?: string;
416
+ status?: PrivateEndpointServiceConnectionStatus;
417
+ }
272
418
 
273
419
  // @public
274
420
  export type ProvisioningStates = string;
275
421
 
422
+ // @public
423
+ export interface ProxyResource extends Resource {
424
+ }
425
+
276
426
  // @public
277
427
  export interface Resource {
278
428
  readonly id?: string;
279
429
  readonly name?: string;
280
- tags?: {
281
- [propertyName: string]: string;
282
- };
430
+ readonly systemData?: SystemData;
283
431
  readonly type?: string;
284
432
  }
285
433
 
@@ -307,6 +455,7 @@ export interface SkuInformation {
307
455
 
308
456
  // @public
309
457
  export interface SkuInformationList {
458
+ readonly nextLink?: string;
310
459
  readonly value?: SkuInformation[];
311
460
  }
312
461
 
@@ -359,7 +508,10 @@ export interface SystemData {
359
508
 
360
509
  // @public
361
510
  export interface TrackedResource extends Resource {
362
- location?: string;
511
+ location: string;
512
+ tags?: {
513
+ [propertyName: string]: string;
514
+ };
363
515
  }
364
516
 
365
517
  // @public
@@ -370,36 +522,35 @@ export interface VirtualNetworkRule {
370
522
  }
371
523
 
372
524
  // @public
373
- export interface Volume extends Resource {
525
+ export interface Volume extends ProxyResource {
374
526
  creationData?: SourceCreationData;
375
- sizeGiB?: number;
527
+ sizeGiB: number;
376
528
  readonly storageTarget?: IscsiTargetInfo;
377
- readonly systemData?: SystemData;
378
529
  readonly volumeId?: string;
379
530
  }
380
531
 
381
532
  // @public
382
- export interface VolumeGroup extends Resource {
533
+ export interface VolumeGroup extends ProxyResource {
383
534
  encryption?: EncryptionType;
384
535
  networkAcls?: NetworkRuleSet;
536
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
385
537
  protocolType?: StorageTargetType;
386
538
  readonly provisioningState?: ProvisioningStates;
387
- readonly systemData?: SystemData;
388
539
  }
389
540
 
390
541
  // @public
391
542
  export interface VolumeGroupList {
392
543
  readonly nextLink?: string;
393
- value: VolumeGroup[];
544
+ value?: VolumeGroup[];
394
545
  }
395
546
 
396
547
  // @public
397
548
  export interface VolumeGroups {
398
- beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<PollerLike<PollOperationState<VolumeGroupsCreateResponse>, VolumeGroupsCreateResponse>>;
549
+ beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeGroupsCreateResponse>, VolumeGroupsCreateResponse>>;
399
550
  beginCreateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<VolumeGroupsCreateResponse>;
400
- beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
551
+ beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
401
552
  beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<void>;
402
- beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<PollerLike<PollOperationState<VolumeGroupsUpdateResponse>, VolumeGroupsUpdateResponse>>;
553
+ beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeGroupsUpdateResponse>, VolumeGroupsUpdateResponse>>;
403
554
  beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<VolumeGroupsUpdateResponse>;
404
555
  get(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsGetOptionalParams): Promise<VolumeGroupsGetResponse>;
405
556
  listByElasticSan(resourceGroupName: string, elasticSanName: string, options?: VolumeGroupsListByElasticSanOptionalParams): PagedAsyncIterableIterator<VolumeGroup>;
@@ -414,6 +565,12 @@ export interface VolumeGroupsCreateOptionalParams extends coreClient.OperationOp
414
565
  // @public
415
566
  export type VolumeGroupsCreateResponse = VolumeGroup;
416
567
 
568
+ // @public
569
+ export interface VolumeGroupsDeleteHeaders {
570
+ // (undocumented)
571
+ location?: string;
572
+ }
573
+
417
574
  // @public
418
575
  export interface VolumeGroupsDeleteOptionalParams extends coreClient.OperationOptions {
419
576
  resumeFrom?: string;
@@ -441,6 +598,12 @@ export interface VolumeGroupsListByElasticSanOptionalParams extends coreClient.O
441
598
  // @public
442
599
  export type VolumeGroupsListByElasticSanResponse = VolumeGroupList;
443
600
 
601
+ // @public
602
+ export interface VolumeGroupsUpdateHeaders {
603
+ // (undocumented)
604
+ location?: string;
605
+ }
606
+
444
607
  // @public
445
608
  export interface VolumeGroupsUpdateOptionalParams extends coreClient.OperationOptions {
446
609
  resumeFrom?: string;
@@ -455,24 +618,21 @@ export interface VolumeGroupUpdate {
455
618
  encryption?: EncryptionType;
456
619
  networkAcls?: NetworkRuleSet;
457
620
  protocolType?: StorageTargetType;
458
- tags?: {
459
- [propertyName: string]: string;
460
- };
461
621
  }
462
622
 
463
623
  // @public
464
624
  export interface VolumeList {
465
625
  readonly nextLink?: string;
466
- value: Volume[];
626
+ value?: Volume[];
467
627
  }
468
628
 
469
629
  // @public
470
630
  export interface Volumes {
471
- beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<PollerLike<PollOperationState<VolumesCreateResponse>, VolumesCreateResponse>>;
631
+ beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumesCreateResponse>, VolumesCreateResponse>>;
472
632
  beginCreateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: Volume, options?: VolumesCreateOptionalParams): Promise<VolumesCreateResponse>;
473
- beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
633
+ beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
474
634
  beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<void>;
475
- beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<PollerLike<PollOperationState<VolumesUpdateResponse>, VolumesUpdateResponse>>;
635
+ beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VolumesUpdateResponse>, VolumesUpdateResponse>>;
476
636
  beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, parameters: VolumeUpdate, options?: VolumesUpdateOptionalParams): Promise<VolumesUpdateResponse>;
477
637
  get(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: VolumesGetOptionalParams): Promise<VolumesGetResponse>;
478
638
  listByVolumeGroup(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumesListByVolumeGroupOptionalParams): PagedAsyncIterableIterator<Volume>;
@@ -487,6 +647,12 @@ export interface VolumesCreateOptionalParams extends coreClient.OperationOptions
487
647
  // @public
488
648
  export type VolumesCreateResponse = Volume;
489
649
 
650
+ // @public
651
+ export interface VolumesDeleteHeaders {
652
+ // (undocumented)
653
+ location?: string;
654
+ }
655
+
490
656
  // @public
491
657
  export interface VolumesDeleteOptionalParams extends coreClient.OperationOptions {
492
658
  resumeFrom?: string;
@@ -514,6 +680,12 @@ export interface VolumesListByVolumeGroupOptionalParams extends coreClient.Opera
514
680
  // @public
515
681
  export type VolumesListByVolumeGroupResponse = VolumeList;
516
682
 
683
+ // @public
684
+ export interface VolumesUpdateHeaders {
685
+ // (undocumented)
686
+ location?: string;
687
+ }
688
+
517
689
  // @public
518
690
  export interface VolumesUpdateOptionalParams extends coreClient.OperationOptions {
519
691
  resumeFrom?: string;
@@ -526,9 +698,6 @@ export type VolumesUpdateResponse = Volume;
526
698
  // @public
527
699
  export interface VolumeUpdate {
528
700
  sizeGiB?: number;
529
- tags?: {
530
- [propertyName: string]: string;
531
- };
532
701
  }
533
702
 
534
703
  // (No @packageDocumentation comment for this package)