@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,139 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ ElasticSan,
13
+ ElasticSansListBySubscriptionOptionalParams,
14
+ ElasticSansListByResourceGroupOptionalParams,
15
+ ElasticSansCreateOptionalParams,
16
+ ElasticSansCreateResponse,
17
+ ElasticSanUpdate,
18
+ ElasticSansUpdateOptionalParams,
19
+ ElasticSansUpdateResponse,
20
+ ElasticSansDeleteOptionalParams,
21
+ ElasticSansGetOptionalParams,
22
+ ElasticSansGetResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a ElasticSans. */
27
+ export interface ElasticSans {
28
+ /**
29
+ * Gets a list of ElasticSans in a subscription
30
+ * @param options The options parameters.
31
+ */
32
+ listBySubscription(
33
+ options?: ElasticSansListBySubscriptionOptionalParams
34
+ ): PagedAsyncIterableIterator<ElasticSan>;
35
+ /**
36
+ * Gets a list of ElasticSan in a resource group.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param options The options parameters.
39
+ */
40
+ listByResourceGroup(
41
+ resourceGroupName: string,
42
+ options?: ElasticSansListByResourceGroupOptionalParams
43
+ ): PagedAsyncIterableIterator<ElasticSan>;
44
+ /**
45
+ * Create ElasticSan.
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
+ * @param elasticSanName The name of the ElasticSan.
48
+ * @param parameters Elastic San object.
49
+ * @param options The options parameters.
50
+ */
51
+ beginCreate(
52
+ resourceGroupName: string,
53
+ elasticSanName: string,
54
+ parameters: ElasticSan,
55
+ options?: ElasticSansCreateOptionalParams
56
+ ): Promise<
57
+ PollerLike<
58
+ PollOperationState<ElasticSansCreateResponse>,
59
+ ElasticSansCreateResponse
60
+ >
61
+ >;
62
+ /**
63
+ * Create ElasticSan.
64
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
+ * @param elasticSanName The name of the ElasticSan.
66
+ * @param parameters Elastic San object.
67
+ * @param options The options parameters.
68
+ */
69
+ beginCreateAndWait(
70
+ resourceGroupName: string,
71
+ elasticSanName: string,
72
+ parameters: ElasticSan,
73
+ options?: ElasticSansCreateOptionalParams
74
+ ): Promise<ElasticSansCreateResponse>;
75
+ /**
76
+ * Update a Elastic San.
77
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
+ * @param elasticSanName The name of the ElasticSan.
79
+ * @param parameters Elastic San object.
80
+ * @param options The options parameters.
81
+ */
82
+ beginUpdate(
83
+ resourceGroupName: string,
84
+ elasticSanName: string,
85
+ parameters: ElasticSanUpdate,
86
+ options?: ElasticSansUpdateOptionalParams
87
+ ): Promise<
88
+ PollerLike<
89
+ PollOperationState<ElasticSansUpdateResponse>,
90
+ ElasticSansUpdateResponse
91
+ >
92
+ >;
93
+ /**
94
+ * Update a Elastic San.
95
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
96
+ * @param elasticSanName The name of the ElasticSan.
97
+ * @param parameters Elastic San object.
98
+ * @param options The options parameters.
99
+ */
100
+ beginUpdateAndWait(
101
+ resourceGroupName: string,
102
+ elasticSanName: string,
103
+ parameters: ElasticSanUpdate,
104
+ options?: ElasticSansUpdateOptionalParams
105
+ ): Promise<ElasticSansUpdateResponse>;
106
+ /**
107
+ * Delete a Elastic San.
108
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
+ * @param elasticSanName The name of the ElasticSan.
110
+ * @param options The options parameters.
111
+ */
112
+ beginDelete(
113
+ resourceGroupName: string,
114
+ elasticSanName: string,
115
+ options?: ElasticSansDeleteOptionalParams
116
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
117
+ /**
118
+ * Delete a Elastic San.
119
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
+ * @param elasticSanName The name of the ElasticSan.
121
+ * @param options The options parameters.
122
+ */
123
+ beginDeleteAndWait(
124
+ resourceGroupName: string,
125
+ elasticSanName: string,
126
+ options?: ElasticSansDeleteOptionalParams
127
+ ): Promise<void>;
128
+ /**
129
+ * Get a ElasticSan.
130
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
131
+ * @param elasticSanName The name of the ElasticSan.
132
+ * @param options The options parameters.
133
+ */
134
+ get(
135
+ resourceGroupName: string,
136
+ elasticSanName: string,
137
+ options?: ElasticSansGetOptionalParams
138
+ ): Promise<ElasticSansGetResponse>;
139
+ }
@@ -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
+
9
+ export * from "./operations";
10
+ export * from "./skus";
11
+ export * from "./elasticSans";
12
+ export * from "./volumeGroups";
13
+ export * from "./volumes";
@@ -0,0 +1,22 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { ElasticSanRPOperation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Gets a list of ElasticSan operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<ElasticSanRPOperation>;
22
+ }
@@ -0,0 +1,22 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SkuInformation, SkusListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Skus. */
14
+ export interface Skus {
15
+ /**
16
+ * List all the available Skus in the region and information related to them
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: SkusListOptionalParams
21
+ ): PagedAsyncIterableIterator<SkuInformation>;
22
+ }
@@ -0,0 +1,147 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ VolumeGroup,
13
+ VolumeGroupsListByElasticSanOptionalParams,
14
+ VolumeGroupsCreateOptionalParams,
15
+ VolumeGroupsCreateResponse,
16
+ VolumeGroupUpdate,
17
+ VolumeGroupsUpdateOptionalParams,
18
+ VolumeGroupsUpdateResponse,
19
+ VolumeGroupsDeleteOptionalParams,
20
+ VolumeGroupsGetOptionalParams,
21
+ VolumeGroupsGetResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a VolumeGroups. */
26
+ export interface VolumeGroups {
27
+ /**
28
+ * List VolumeGroups.
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param elasticSanName The name of the ElasticSan.
31
+ * @param options The options parameters.
32
+ */
33
+ listByElasticSan(
34
+ resourceGroupName: string,
35
+ elasticSanName: string,
36
+ options?: VolumeGroupsListByElasticSanOptionalParams
37
+ ): PagedAsyncIterableIterator<VolumeGroup>;
38
+ /**
39
+ * Create a Volume Group.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param elasticSanName The name of the ElasticSan.
42
+ * @param volumeGroupName The name of the VolumeGroup.
43
+ * @param parameters Volume Group object.
44
+ * @param options The options parameters.
45
+ */
46
+ beginCreate(
47
+ resourceGroupName: string,
48
+ elasticSanName: string,
49
+ volumeGroupName: string,
50
+ parameters: VolumeGroup,
51
+ options?: VolumeGroupsCreateOptionalParams
52
+ ): Promise<
53
+ PollerLike<
54
+ PollOperationState<VolumeGroupsCreateResponse>,
55
+ VolumeGroupsCreateResponse
56
+ >
57
+ >;
58
+ /**
59
+ * Create a Volume Group.
60
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
61
+ * @param elasticSanName The name of the ElasticSan.
62
+ * @param volumeGroupName The name of the VolumeGroup.
63
+ * @param parameters Volume Group object.
64
+ * @param options The options parameters.
65
+ */
66
+ beginCreateAndWait(
67
+ resourceGroupName: string,
68
+ elasticSanName: string,
69
+ volumeGroupName: string,
70
+ parameters: VolumeGroup,
71
+ options?: VolumeGroupsCreateOptionalParams
72
+ ): Promise<VolumeGroupsCreateResponse>;
73
+ /**
74
+ * Update an VolumeGroup.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param elasticSanName The name of the ElasticSan.
77
+ * @param volumeGroupName The name of the VolumeGroup.
78
+ * @param parameters Volume Group object.
79
+ * @param options The options parameters.
80
+ */
81
+ beginUpdate(
82
+ resourceGroupName: string,
83
+ elasticSanName: string,
84
+ volumeGroupName: string,
85
+ parameters: VolumeGroupUpdate,
86
+ options?: VolumeGroupsUpdateOptionalParams
87
+ ): Promise<
88
+ PollerLike<
89
+ PollOperationState<VolumeGroupsUpdateResponse>,
90
+ VolumeGroupsUpdateResponse
91
+ >
92
+ >;
93
+ /**
94
+ * Update an VolumeGroup.
95
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
96
+ * @param elasticSanName The name of the ElasticSan.
97
+ * @param volumeGroupName The name of the VolumeGroup.
98
+ * @param parameters Volume Group object.
99
+ * @param options The options parameters.
100
+ */
101
+ beginUpdateAndWait(
102
+ resourceGroupName: string,
103
+ elasticSanName: string,
104
+ volumeGroupName: string,
105
+ parameters: VolumeGroupUpdate,
106
+ options?: VolumeGroupsUpdateOptionalParams
107
+ ): Promise<VolumeGroupsUpdateResponse>;
108
+ /**
109
+ * Delete an VolumeGroup.
110
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
111
+ * @param elasticSanName The name of the ElasticSan.
112
+ * @param volumeGroupName The name of the VolumeGroup.
113
+ * @param options The options parameters.
114
+ */
115
+ beginDelete(
116
+ resourceGroupName: string,
117
+ elasticSanName: string,
118
+ volumeGroupName: string,
119
+ options?: VolumeGroupsDeleteOptionalParams
120
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
121
+ /**
122
+ * Delete an VolumeGroup.
123
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
124
+ * @param elasticSanName The name of the ElasticSan.
125
+ * @param volumeGroupName The name of the VolumeGroup.
126
+ * @param options The options parameters.
127
+ */
128
+ beginDeleteAndWait(
129
+ resourceGroupName: string,
130
+ elasticSanName: string,
131
+ volumeGroupName: string,
132
+ options?: VolumeGroupsDeleteOptionalParams
133
+ ): Promise<void>;
134
+ /**
135
+ * Get an VolumeGroups.
136
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
137
+ * @param elasticSanName The name of the ElasticSan.
138
+ * @param volumeGroupName The name of the VolumeGroup.
139
+ * @param options The options parameters.
140
+ */
141
+ get(
142
+ resourceGroupName: string,
143
+ elasticSanName: string,
144
+ volumeGroupName: string,
145
+ options?: VolumeGroupsGetOptionalParams
146
+ ): Promise<VolumeGroupsGetResponse>;
147
+ }
@@ -0,0 +1,157 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ Volume,
13
+ VolumesListByVolumeGroupOptionalParams,
14
+ VolumesCreateOptionalParams,
15
+ VolumesCreateResponse,
16
+ VolumeUpdate,
17
+ VolumesUpdateOptionalParams,
18
+ VolumesUpdateResponse,
19
+ VolumesDeleteOptionalParams,
20
+ VolumesGetOptionalParams,
21
+ VolumesGetResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a Volumes. */
26
+ export interface Volumes {
27
+ /**
28
+ * List Volumes in a VolumeGroup.
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param elasticSanName The name of the ElasticSan.
31
+ * @param volumeGroupName The name of the VolumeGroup.
32
+ * @param options The options parameters.
33
+ */
34
+ listByVolumeGroup(
35
+ resourceGroupName: string,
36
+ elasticSanName: string,
37
+ volumeGroupName: string,
38
+ options?: VolumesListByVolumeGroupOptionalParams
39
+ ): PagedAsyncIterableIterator<Volume>;
40
+ /**
41
+ * Create a Volume.
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 volumeName The name of the Volume.
46
+ * @param parameters Volume object.
47
+ * @param options The options parameters.
48
+ */
49
+ beginCreate(
50
+ resourceGroupName: string,
51
+ elasticSanName: string,
52
+ volumeGroupName: string,
53
+ volumeName: string,
54
+ parameters: Volume,
55
+ options?: VolumesCreateOptionalParams
56
+ ): Promise<
57
+ PollerLike<PollOperationState<VolumesCreateResponse>, VolumesCreateResponse>
58
+ >;
59
+ /**
60
+ * Create a Volume.
61
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
62
+ * @param elasticSanName The name of the ElasticSan.
63
+ * @param volumeGroupName The name of the VolumeGroup.
64
+ * @param volumeName The name of the Volume.
65
+ * @param parameters Volume object.
66
+ * @param options The options parameters.
67
+ */
68
+ beginCreateAndWait(
69
+ resourceGroupName: string,
70
+ elasticSanName: string,
71
+ volumeGroupName: string,
72
+ volumeName: string,
73
+ parameters: Volume,
74
+ options?: VolumesCreateOptionalParams
75
+ ): Promise<VolumesCreateResponse>;
76
+ /**
77
+ * Update an Volume.
78
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
79
+ * @param elasticSanName The name of the ElasticSan.
80
+ * @param volumeGroupName The name of the VolumeGroup.
81
+ * @param volumeName The name of the Volume.
82
+ * @param parameters Volume object.
83
+ * @param options The options parameters.
84
+ */
85
+ beginUpdate(
86
+ resourceGroupName: string,
87
+ elasticSanName: string,
88
+ volumeGroupName: string,
89
+ volumeName: string,
90
+ parameters: VolumeUpdate,
91
+ options?: VolumesUpdateOptionalParams
92
+ ): Promise<
93
+ PollerLike<PollOperationState<VolumesUpdateResponse>, VolumesUpdateResponse>
94
+ >;
95
+ /**
96
+ * Update an Volume.
97
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
98
+ * @param elasticSanName The name of the ElasticSan.
99
+ * @param volumeGroupName The name of the VolumeGroup.
100
+ * @param volumeName The name of the Volume.
101
+ * @param parameters Volume object.
102
+ * @param options The options parameters.
103
+ */
104
+ beginUpdateAndWait(
105
+ resourceGroupName: string,
106
+ elasticSanName: string,
107
+ volumeGroupName: string,
108
+ volumeName: string,
109
+ parameters: VolumeUpdate,
110
+ options?: VolumesUpdateOptionalParams
111
+ ): Promise<VolumesUpdateResponse>;
112
+ /**
113
+ * Delete an Volume.
114
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
115
+ * @param elasticSanName The name of the ElasticSan.
116
+ * @param volumeGroupName The name of the VolumeGroup.
117
+ * @param volumeName The name of the Volume.
118
+ * @param options The options parameters.
119
+ */
120
+ beginDelete(
121
+ resourceGroupName: string,
122
+ elasticSanName: string,
123
+ volumeGroupName: string,
124
+ volumeName: string,
125
+ options?: VolumesDeleteOptionalParams
126
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
127
+ /**
128
+ * Delete an Volume.
129
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
130
+ * @param elasticSanName The name of the ElasticSan.
131
+ * @param volumeGroupName The name of the VolumeGroup.
132
+ * @param volumeName The name of the Volume.
133
+ * @param options The options parameters.
134
+ */
135
+ beginDeleteAndWait(
136
+ resourceGroupName: string,
137
+ elasticSanName: string,
138
+ volumeGroupName: string,
139
+ volumeName: string,
140
+ options?: VolumesDeleteOptionalParams
141
+ ): Promise<void>;
142
+ /**
143
+ * Get an Volume.
144
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
145
+ * @param elasticSanName The name of the ElasticSan.
146
+ * @param volumeGroupName The name of the VolumeGroup.
147
+ * @param volumeName The name of the Volume.
148
+ * @param options The options parameters.
149
+ */
150
+ get(
151
+ resourceGroupName: string,
152
+ elasticSanName: string,
153
+ volumeGroupName: string,
154
+ volumeName: string,
155
+ options?: VolumesGetOptionalParams
156
+ ): Promise<VolumesGetResponse>;
157
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "es6",
4
+ "moduleResolution": "node",
5
+ "strict": true,
6
+ "target": "es6",
7
+ "sourceMap": true,
8
+ "declarationMap": true,
9
+ "esModuleInterop": true,
10
+ "allowSyntheticDefaultImports": true,
11
+ "forceConsistentCasingInFileNames": true,
12
+ "lib": [
13
+ "es6",
14
+ "dom"
15
+ ],
16
+ "declaration": true,
17
+ "outDir": "./dist-esm",
18
+ "importHelpers": true,
19
+ "paths": {
20
+ "@azure/arm-elasticsan": [
21
+ "./src/index"
22
+ ]
23
+ }
24
+ },
25
+ "include": [
26
+ "./src/**/*.ts",
27
+ "./test/**/*.ts",
28
+ "samples-dev/**/*.ts"
29
+ ],
30
+ "exclude": [
31
+ "node_modules"
32
+ ]
33
+ }