@azure/arm-largeinstance 1.0.0-alpha.20240223.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 (139) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +2490 -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/azureLargeInstanceGetSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/azureLargeInstanceGetSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/azureLargeInstanceGetSample.js +41 -0
  11. package/dist-esm/samples-dev/azureLargeInstanceGetSample.js.map +1 -0
  12. package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.js +56 -0
  15. package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.js.map +1 -0
  16. package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.js +55 -0
  19. package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.js.map +1 -0
  20. package/dist-esm/samples-dev/azureLargeInstanceRestartSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/azureLargeInstanceRestartSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/azureLargeInstanceRestartSample.js +39 -0
  23. package/dist-esm/samples-dev/azureLargeInstanceRestartSample.js.map +1 -0
  24. package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.js +39 -0
  27. package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.js.map +1 -0
  28. package/dist-esm/samples-dev/azureLargeInstanceStartSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/azureLargeInstanceStartSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/azureLargeInstanceStartSample.js +39 -0
  31. package/dist-esm/samples-dev/azureLargeInstanceStartSample.js.map +1 -0
  32. package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.js +66 -0
  35. package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.js.map +1 -0
  36. package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.js +41 -0
  39. package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.js.map +1 -0
  40. package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.js +58 -0
  43. package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.js.map +1 -0
  44. package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.js +55 -0
  47. package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.js.map +1 -0
  48. package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.js +66 -0
  51. package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.js.map +1 -0
  52. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/operationsListSample.js +53 -0
  55. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  56. package/dist-esm/src/index.d.ts +6 -0
  57. package/dist-esm/src/index.d.ts.map +1 -0
  58. package/dist-esm/src/index.js +13 -0
  59. package/dist-esm/src/index.js.map +1 -0
  60. package/dist-esm/src/largeInstanceManagementClient.d.ts +22 -0
  61. package/dist-esm/src/largeInstanceManagementClient.d.ts.map +1 -0
  62. package/dist-esm/src/largeInstanceManagementClient.js +103 -0
  63. package/dist-esm/src/largeInstanceManagementClient.js.map +1 -0
  64. package/dist-esm/src/lroImpl.d.ts +11 -0
  65. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  66. package/dist-esm/src/lroImpl.js +21 -0
  67. package/dist-esm/src/lroImpl.js.map +1 -0
  68. package/dist-esm/src/models/index.d.ts +858 -0
  69. package/dist-esm/src/models/index.d.ts.map +1 -0
  70. package/dist-esm/src/models/index.js +210 -0
  71. package/dist-esm/src/models/index.js.map +1 -0
  72. package/dist-esm/src/models/mappers.d.ts +33 -0
  73. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  74. package/dist-esm/src/models/mappers.js +902 -0
  75. package/dist-esm/src/models/mappers.js.map +1 -0
  76. package/dist-esm/src/models/parameters.d.ts +14 -0
  77. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  78. package/dist-esm/src/models/parameters.js +126 -0
  79. package/dist-esm/src/models/parameters.js.map +1 -0
  80. package/dist-esm/src/operations/azureLargeInstanceOperations.d.ts +117 -0
  81. package/dist-esm/src/operations/azureLargeInstanceOperations.d.ts.map +1 -0
  82. package/dist-esm/src/operations/azureLargeInstanceOperations.js +587 -0
  83. package/dist-esm/src/operations/azureLargeInstanceOperations.js.map +1 -0
  84. package/dist-esm/src/operations/azureLargeStorageInstanceOperations.d.ts +76 -0
  85. package/dist-esm/src/operations/azureLargeStorageInstanceOperations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/azureLargeStorageInstanceOperations.js +332 -0
  87. package/dist-esm/src/operations/azureLargeStorageInstanceOperations.js.map +1 -0
  88. package/dist-esm/src/operations/index.d.ts +4 -0
  89. package/dist-esm/src/operations/index.d.ts.map +1 -0
  90. package/dist-esm/src/operations/index.js +11 -0
  91. package/dist-esm/src/operations/index.js.map +1 -0
  92. package/dist-esm/src/operations/operations.d.ts +32 -0
  93. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  94. package/dist-esm/src/operations/operations.js +133 -0
  95. package/dist-esm/src/operations/operations.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/azureLargeInstanceOperations.d.ts +79 -0
  97. package/dist-esm/src/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/azureLargeInstanceOperations.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/azureLargeInstanceOperations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts +37 -0
  101. package/dist-esm/src/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/azureLargeStorageInstanceOperations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  105. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  107. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  109. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  112. package/dist-esm/src/pagingHelper.d.ts +13 -0
  113. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  114. package/dist-esm/src/pagingHelper.js +32 -0
  115. package/dist-esm/src/pagingHelper.js.map +1 -0
  116. package/dist-esm/test/largeinstance_operations_test.spec.d.ts +4 -0
  117. package/dist-esm/test/largeinstance_operations_test.spec.d.ts.map +1 -0
  118. package/dist-esm/test/largeinstance_operations_test.spec.js +73 -0
  119. package/dist-esm/test/largeinstance_operations_test.spec.js.map +1 -0
  120. package/package.json +118 -0
  121. package/review/arm-largeinstance.api.md +569 -0
  122. package/src/index.ts +13 -0
  123. package/src/largeInstanceManagementClient.ts +156 -0
  124. package/src/lroImpl.ts +42 -0
  125. package/src/models/index.ts +955 -0
  126. package/src/models/mappers.ts +944 -0
  127. package/src/models/parameters.ts +147 -0
  128. package/src/operations/azureLargeInstanceOperations.ts +768 -0
  129. package/src/operations/azureLargeStorageInstanceOperations.ts +401 -0
  130. package/src/operations/index.ts +11 -0
  131. package/src/operations/operations.ts +149 -0
  132. package/src/operationsInterfaces/azureLargeInstanceOperations.ts +156 -0
  133. package/src/operationsInterfaces/azureLargeStorageInstanceOperations.ts +69 -0
  134. package/src/operationsInterfaces/index.ts +11 -0
  135. package/src/operationsInterfaces/operations.ts +22 -0
  136. package/src/pagingHelper.ts +39 -0
  137. package/tsconfig.json +33 -0
  138. package/types/arm-largeinstance.d.ts +1096 -0
  139. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,76 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AzureLargeStorageInstanceOperations } from "../operationsInterfaces";
3
+ import { LargeInstanceManagementClient } from "../largeInstanceManagementClient";
4
+ import { AzureLargeStorageInstance, AzureLargeStorageInstanceListBySubscriptionOptionalParams, AzureLargeStorageInstanceListByResourceGroupOptionalParams, AzureLargeStorageInstanceGetOptionalParams, AzureLargeStorageInstanceGetResponse, AzureLargeStorageInstanceTagsUpdate, AzureLargeStorageInstanceUpdateOptionalParams, AzureLargeStorageInstanceUpdateResponse } from "../models";
5
+ /** Class containing AzureLargeStorageInstanceOperations operations. */
6
+ export declare class AzureLargeStorageInstanceOperationsImpl implements AzureLargeStorageInstanceOperations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class AzureLargeStorageInstanceOperations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: LargeInstanceManagementClient);
13
+ /**
14
+ * Gets a list of AzureLargeStorageInstances in the specified subscription. The
15
+ * operations returns various properties of each Azure LargeStorage instance.
16
+ * @param options The options parameters.
17
+ */
18
+ listBySubscription(options?: AzureLargeStorageInstanceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureLargeStorageInstance>;
19
+ private listBySubscriptionPagingPage;
20
+ private listBySubscriptionPagingAll;
21
+ /**
22
+ * Gets a list of AzureLargeStorageInstances in the specified subscription and
23
+ * resource group. The operations returns various properties of each Azure
24
+ * LargeStorage instance.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param options The options parameters.
27
+ */
28
+ listByResourceGroup(resourceGroupName: string, options?: AzureLargeStorageInstanceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureLargeStorageInstance>;
29
+ private listByResourceGroupPagingPage;
30
+ private listByResourceGroupPagingAll;
31
+ /**
32
+ * Gets a list of AzureLargeStorageInstances in the specified subscription. The
33
+ * operations returns various properties of each Azure LargeStorage instance.
34
+ * @param options The options parameters.
35
+ */
36
+ private _listBySubscription;
37
+ /**
38
+ * Gets a list of AzureLargeStorageInstances in the specified subscription and
39
+ * resource group. The operations returns various properties of each Azure
40
+ * LargeStorage instance.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param options The options parameters.
43
+ */
44
+ private _listByResourceGroup;
45
+ /**
46
+ * Gets an Azure Large Storage instance for the specified subscription, resource
47
+ * group, and instance name.
48
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
49
+ * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.
50
+ * @param options The options parameters.
51
+ */
52
+ get(resourceGroupName: string, azureLargeStorageInstanceName: string, options?: AzureLargeStorageInstanceGetOptionalParams): Promise<AzureLargeStorageInstanceGetResponse>;
53
+ /**
54
+ * Patches the Tags field of a Azure Large Storage Instance for the specified
55
+ * subscription, resource group, and instance name.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.
58
+ * @param tagsParameter The resource properties to be updated.
59
+ * @param options The options parameters.
60
+ */
61
+ update(resourceGroupName: string, azureLargeStorageInstanceName: string, tagsParameter: AzureLargeStorageInstanceTagsUpdate, options?: AzureLargeStorageInstanceUpdateOptionalParams): Promise<AzureLargeStorageInstanceUpdateResponse>;
62
+ /**
63
+ * ListBySubscriptionNext
64
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
65
+ * @param options The options parameters.
66
+ */
67
+ private _listBySubscriptionNext;
68
+ /**
69
+ * ListByResourceGroupNext
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
72
+ * @param options The options parameters.
73
+ */
74
+ private _listByResourceGroupNext;
75
+ }
76
+ //# sourceMappingURL=azureLargeStorageInstanceOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureLargeStorageInstanceOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/azureLargeStorageInstanceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAI9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,yBAAyB,EAEzB,yDAAyD,EAGzD,0DAA0D,EAE1D,0CAA0C,EAC1C,oCAAoC,EACpC,mCAAmC,EACnC,6CAA6C,EAC7C,uCAAuC,EAGxC,MAAM,WAAW,CAAC;AAGnB,uEAAuE;AACvE,qBAAa,uCACX,YAAW,mCAAmC;IAE9C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;OAIG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,yDAAyD,GAClE,0BAA0B,CAAC,yBAAyB,CAAC;YAkBzC,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;;;OAMG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0DAA0D,GACnE,0BAA0B,CAAC,yBAAyB,CAAC;YAsBzC,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,aAAa,EAAE,mCAAmC,EAClD,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAYnD;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -0,0 +1,332 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing AzureLargeStorageInstanceOperations operations. */
15
+ export class AzureLargeStorageInstanceOperationsImpl {
16
+ /**
17
+ * Initialize a new instance of the class AzureLargeStorageInstanceOperations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Gets a list of AzureLargeStorageInstances in the specified subscription. The
25
+ * operations returns various properties of each Azure LargeStorage instance.
26
+ * @param options The options parameters.
27
+ */
28
+ listBySubscription(options) {
29
+ const iter = this.listBySubscriptionPagingAll(options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: (settings) => {
38
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
39
+ throw new Error("maxPageSize is not supported by this operation.");
40
+ }
41
+ return this.listBySubscriptionPagingPage(options, settings);
42
+ },
43
+ };
44
+ }
45
+ listBySubscriptionPagingPage(options, settings) {
46
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
47
+ let result;
48
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
49
+ if (!continuationToken) {
50
+ result = yield __await(this._listBySubscription(options));
51
+ let page = result.value || [];
52
+ continuationToken = result.nextLink;
53
+ setContinuationToken(page, continuationToken);
54
+ yield yield __await(page);
55
+ }
56
+ while (continuationToken) {
57
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
58
+ continuationToken = result.nextLink;
59
+ let page = result.value || [];
60
+ setContinuationToken(page, continuationToken);
61
+ yield yield __await(page);
62
+ }
63
+ });
64
+ }
65
+ listBySubscriptionPagingAll(options) {
66
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
67
+ var _a, e_1, _b, _c;
68
+ try {
69
+ for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
70
+ _c = _f.value;
71
+ _d = false;
72
+ const page = _c;
73
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
74
+ }
75
+ }
76
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
77
+ finally {
78
+ try {
79
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
80
+ }
81
+ finally { if (e_1) throw e_1.error; }
82
+ }
83
+ });
84
+ }
85
+ /**
86
+ * Gets a list of AzureLargeStorageInstances in the specified subscription and
87
+ * resource group. The operations returns various properties of each Azure
88
+ * LargeStorage instance.
89
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
+ * @param options The options parameters.
91
+ */
92
+ listByResourceGroup(resourceGroupName, options) {
93
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
94
+ return {
95
+ next() {
96
+ return iter.next();
97
+ },
98
+ [Symbol.asyncIterator]() {
99
+ return this;
100
+ },
101
+ byPage: (settings) => {
102
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
103
+ throw new Error("maxPageSize is not supported by this operation.");
104
+ }
105
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
106
+ },
107
+ };
108
+ }
109
+ listByResourceGroupPagingPage(resourceGroupName, options, settings) {
110
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
111
+ let result;
112
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
113
+ if (!continuationToken) {
114
+ result = yield __await(this._listByResourceGroup(resourceGroupName, options));
115
+ let page = result.value || [];
116
+ continuationToken = result.nextLink;
117
+ setContinuationToken(page, continuationToken);
118
+ yield yield __await(page);
119
+ }
120
+ while (continuationToken) {
121
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
122
+ continuationToken = result.nextLink;
123
+ let page = result.value || [];
124
+ setContinuationToken(page, continuationToken);
125
+ yield yield __await(page);
126
+ }
127
+ });
128
+ }
129
+ listByResourceGroupPagingAll(resourceGroupName, options) {
130
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
131
+ var _a, e_2, _b, _c;
132
+ try {
133
+ for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
134
+ _c = _f.value;
135
+ _d = false;
136
+ const page = _c;
137
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
138
+ }
139
+ }
140
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
141
+ finally {
142
+ try {
143
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
144
+ }
145
+ finally { if (e_2) throw e_2.error; }
146
+ }
147
+ });
148
+ }
149
+ /**
150
+ * Gets a list of AzureLargeStorageInstances in the specified subscription. The
151
+ * operations returns various properties of each Azure LargeStorage instance.
152
+ * @param options The options parameters.
153
+ */
154
+ _listBySubscription(options) {
155
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
156
+ }
157
+ /**
158
+ * Gets a list of AzureLargeStorageInstances in the specified subscription and
159
+ * resource group. The operations returns various properties of each Azure
160
+ * LargeStorage instance.
161
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
162
+ * @param options The options parameters.
163
+ */
164
+ _listByResourceGroup(resourceGroupName, options) {
165
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
166
+ }
167
+ /**
168
+ * Gets an Azure Large Storage instance for the specified subscription, resource
169
+ * group, and instance name.
170
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
171
+ * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.
172
+ * @param options The options parameters.
173
+ */
174
+ get(resourceGroupName, azureLargeStorageInstanceName, options) {
175
+ return this.client.sendOperationRequest({ resourceGroupName, azureLargeStorageInstanceName, options }, getOperationSpec);
176
+ }
177
+ /**
178
+ * Patches the Tags field of a Azure Large Storage Instance for the specified
179
+ * subscription, resource group, and instance name.
180
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
181
+ * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.
182
+ * @param tagsParameter The resource properties to be updated.
183
+ * @param options The options parameters.
184
+ */
185
+ update(resourceGroupName, azureLargeStorageInstanceName, tagsParameter, options) {
186
+ return this.client.sendOperationRequest({
187
+ resourceGroupName,
188
+ azureLargeStorageInstanceName,
189
+ tagsParameter,
190
+ options,
191
+ }, updateOperationSpec);
192
+ }
193
+ /**
194
+ * ListBySubscriptionNext
195
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
196
+ * @param options The options parameters.
197
+ */
198
+ _listBySubscriptionNext(nextLink, options) {
199
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
200
+ }
201
+ /**
202
+ * ListByResourceGroupNext
203
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
204
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
205
+ * @param options The options parameters.
206
+ */
207
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
208
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
209
+ }
210
+ }
211
+ // Operation Specifications
212
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
213
+ const listBySubscriptionOperationSpec = {
214
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances",
215
+ httpMethod: "GET",
216
+ responses: {
217
+ 200: {
218
+ bodyMapper: Mappers.AzureLargeStorageInstanceListResult,
219
+ },
220
+ default: {
221
+ bodyMapper: Mappers.ErrorResponse,
222
+ },
223
+ },
224
+ queryParameters: [Parameters.apiVersion],
225
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
226
+ headerParameters: [Parameters.accept],
227
+ serializer,
228
+ };
229
+ const listByResourceGroupOperationSpec = {
230
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances",
231
+ httpMethod: "GET",
232
+ responses: {
233
+ 200: {
234
+ bodyMapper: Mappers.AzureLargeStorageInstanceListResult,
235
+ },
236
+ default: {
237
+ bodyMapper: Mappers.ErrorResponse,
238
+ },
239
+ },
240
+ queryParameters: [Parameters.apiVersion],
241
+ urlParameters: [
242
+ Parameters.$host,
243
+ Parameters.subscriptionId,
244
+ Parameters.resourceGroupName,
245
+ ],
246
+ headerParameters: [Parameters.accept],
247
+ serializer,
248
+ };
249
+ const getOperationSpec = {
250
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances/{azureLargeStorageInstanceName}",
251
+ httpMethod: "GET",
252
+ responses: {
253
+ 200: {
254
+ bodyMapper: Mappers.AzureLargeStorageInstance,
255
+ },
256
+ default: {
257
+ bodyMapper: Mappers.ErrorResponse,
258
+ },
259
+ },
260
+ queryParameters: [Parameters.apiVersion],
261
+ urlParameters: [
262
+ Parameters.$host,
263
+ Parameters.subscriptionId,
264
+ Parameters.resourceGroupName,
265
+ Parameters.azureLargeStorageInstanceName,
266
+ ],
267
+ headerParameters: [Parameters.accept],
268
+ serializer,
269
+ };
270
+ const updateOperationSpec = {
271
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances/{azureLargeStorageInstanceName}",
272
+ httpMethod: "PATCH",
273
+ responses: {
274
+ 200: {
275
+ bodyMapper: Mappers.AzureLargeStorageInstance,
276
+ },
277
+ default: {
278
+ bodyMapper: Mappers.ErrorResponse,
279
+ },
280
+ },
281
+ requestBody: Parameters.tagsParameter1,
282
+ queryParameters: [Parameters.apiVersion],
283
+ urlParameters: [
284
+ Parameters.$host,
285
+ Parameters.subscriptionId,
286
+ Parameters.resourceGroupName,
287
+ Parameters.azureLargeStorageInstanceName,
288
+ ],
289
+ headerParameters: [Parameters.accept, Parameters.contentType],
290
+ mediaType: "json",
291
+ serializer,
292
+ };
293
+ const listBySubscriptionNextOperationSpec = {
294
+ path: "{nextLink}",
295
+ httpMethod: "GET",
296
+ responses: {
297
+ 200: {
298
+ bodyMapper: Mappers.AzureLargeStorageInstanceListResult,
299
+ },
300
+ default: {
301
+ bodyMapper: Mappers.ErrorResponse,
302
+ },
303
+ },
304
+ urlParameters: [
305
+ Parameters.$host,
306
+ Parameters.nextLink,
307
+ Parameters.subscriptionId,
308
+ ],
309
+ headerParameters: [Parameters.accept],
310
+ serializer,
311
+ };
312
+ const listByResourceGroupNextOperationSpec = {
313
+ path: "{nextLink}",
314
+ httpMethod: "GET",
315
+ responses: {
316
+ 200: {
317
+ bodyMapper: Mappers.AzureLargeStorageInstanceListResult,
318
+ },
319
+ default: {
320
+ bodyMapper: Mappers.ErrorResponse,
321
+ },
322
+ },
323
+ urlParameters: [
324
+ Parameters.$host,
325
+ Parameters.nextLink,
326
+ Parameters.subscriptionId,
327
+ Parameters.resourceGroupName,
328
+ ],
329
+ headerParameters: [Parameters.accept],
330
+ serializer,
331
+ };
332
+ //# sourceMappingURL=azureLargeStorageInstanceOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureLargeStorageInstanceOperations.js","sourceRoot":"","sources":["../../../src/operations/azureLargeStorageInstanceOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAmBnD,4CAA4C;AAC5C,uEAAuE;AACvE,MAAM,OAAO,uCAAuC;IAKlD;;;OAGG;IAC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CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./operations";
2
+ export * from "./azureLargeInstanceOperations";
3
+ export * from "./azureLargeStorageInstanceOperations";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC"}
@@ -0,0 +1,11 @@
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 "./azureLargeInstanceOperations";
10
+ export * from "./azureLargeStorageInstanceOperations";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces";
3
+ import { LargeInstanceManagementClient } from "../largeInstanceManagementClient";
4
+ import { Operation, OperationsListOptionalParams } from "../models";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: LargeInstanceManagementClient);
13
+ /**
14
+ * List the operations for the provider
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * List the operations for the provider
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ /**
26
+ * ListNext
27
+ * @param nextLink The nextLink from the previous successful call to the List method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listNext;
31
+ }
32
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,133 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing Operations operations. */
15
+ export class OperationsImpl {
16
+ /**
17
+ * Initialize a new instance of the class Operations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * List the operations for the provider
25
+ * @param options The options parameters.
26
+ */
27
+ list(options) {
28
+ const iter = this.listPagingAll(options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: (settings) => {
37
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listPagingPage(options, settings);
41
+ },
42
+ };
43
+ }
44
+ listPagingPage(options, settings) {
45
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
+ let result;
47
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
+ if (!continuationToken) {
49
+ result = yield __await(this._list(options));
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield yield __await(page);
54
+ }
55
+ while (continuationToken) {
56
+ result = yield __await(this._listNext(continuationToken, options));
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield yield __await(page);
61
+ }
62
+ });
63
+ }
64
+ listPagingAll(options) {
65
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
+ var _a, e_1, _b, _c;
67
+ try {
68
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
69
+ _c = _f.value;
70
+ _d = false;
71
+ const page = _c;
72
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
+ }
74
+ }
75
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
+ finally {
77
+ try {
78
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
79
+ }
80
+ finally { if (e_1) throw e_1.error; }
81
+ }
82
+ });
83
+ }
84
+ /**
85
+ * List the operations for the provider
86
+ * @param options The options parameters.
87
+ */
88
+ _list(options) {
89
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
90
+ }
91
+ /**
92
+ * ListNext
93
+ * @param nextLink The nextLink from the previous successful call to the List method.
94
+ * @param options The options parameters.
95
+ */
96
+ _listNext(nextLink, options) {
97
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
98
+ }
99
+ }
100
+ // Operation Specifications
101
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
102
+ const listOperationSpec = {
103
+ path: "/providers/Microsoft.AzureLargeInstance/operations",
104
+ httpMethod: "GET",
105
+ responses: {
106
+ 200: {
107
+ bodyMapper: Mappers.OperationListResult,
108
+ },
109
+ default: {
110
+ bodyMapper: Mappers.ErrorResponse,
111
+ },
112
+ },
113
+ queryParameters: [Parameters.apiVersion],
114
+ urlParameters: [Parameters.$host],
115
+ headerParameters: [Parameters.accept],
116
+ serializer,
117
+ };
118
+ const listNextOperationSpec = {
119
+ path: "{nextLink}",
120
+ httpMethod: "GET",
121
+ responses: {
122
+ 200: {
123
+ bodyMapper: Mappers.OperationListResult,
124
+ },
125
+ default: {
126
+ bodyMapper: Mappers.ErrorResponse,
127
+ },
128
+ },
129
+ urlParameters: [Parameters.$host, Parameters.nextLink],
130
+ headerParameters: [Parameters.accept],
131
+ serializer,
132
+ };
133
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAA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