@azure/arm-vmwarecloudsimple 2.0.0-alpha.20220413.1 → 3.0.0-alpha.20220511.3

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 (182) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +11 -0
  3. package/dist/index.js +242 -166
  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/customizationPoliciesGetSample.d.ts +2 -0
  8. package/dist-esm/samples-dev/customizationPoliciesGetSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/customizationPoliciesGetSample.js +32 -0
  10. package/dist-esm/samples-dev/customizationPoliciesGetSample.js.map +1 -0
  11. package/dist-esm/samples-dev/customizationPoliciesListSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/customizationPoliciesListSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/customizationPoliciesListSample.js +45 -0
  14. package/dist-esm/samples-dev/customizationPoliciesListSample.js.map +1 -0
  15. package/dist-esm/samples-dev/dedicatedCloudNodesCreateOrUpdateSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/dedicatedCloudNodesCreateOrUpdateSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/dedicatedCloudNodesCreateOrUpdateSample.js +42 -0
  18. package/dist-esm/samples-dev/dedicatedCloudNodesCreateOrUpdateSample.js.map +1 -0
  19. package/dist-esm/samples-dev/dedicatedCloudNodesDeleteSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/dedicatedCloudNodesDeleteSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/dedicatedCloudNodesDeleteSample.js +31 -0
  22. package/dist-esm/samples-dev/dedicatedCloudNodesDeleteSample.js.map +1 -0
  23. package/dist-esm/samples-dev/dedicatedCloudNodesGetSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/dedicatedCloudNodesGetSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/dedicatedCloudNodesGetSample.js +31 -0
  26. package/dist-esm/samples-dev/dedicatedCloudNodesGetSample.js.map +1 -0
  27. package/dist-esm/samples-dev/dedicatedCloudNodesListByResourceGroupSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/dedicatedCloudNodesListByResourceGroupSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/dedicatedCloudNodesListByResourceGroupSample.js +44 -0
  30. package/dist-esm/samples-dev/dedicatedCloudNodesListByResourceGroupSample.js.map +1 -0
  31. package/dist-esm/samples-dev/dedicatedCloudNodesListBySubscriptionSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/dedicatedCloudNodesListBySubscriptionSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/dedicatedCloudNodesListBySubscriptionSample.js +43 -0
  34. package/dist-esm/samples-dev/dedicatedCloudNodesListBySubscriptionSample.js.map +1 -0
  35. package/dist-esm/samples-dev/dedicatedCloudNodesUpdateSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/dedicatedCloudNodesUpdateSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/dedicatedCloudNodesUpdateSample.js +34 -0
  38. package/dist-esm/samples-dev/dedicatedCloudNodesUpdateSample.js.map +1 -0
  39. package/dist-esm/samples-dev/dedicatedCloudServicesCreateOrUpdateSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/dedicatedCloudServicesCreateOrUpdateSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/dedicatedCloudServicesCreateOrUpdateSample.js +35 -0
  42. package/dist-esm/samples-dev/dedicatedCloudServicesCreateOrUpdateSample.js.map +1 -0
  43. package/dist-esm/samples-dev/dedicatedCloudServicesDeleteSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/dedicatedCloudServicesDeleteSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/dedicatedCloudServicesDeleteSample.js +31 -0
  46. package/dist-esm/samples-dev/dedicatedCloudServicesDeleteSample.js.map +1 -0
  47. package/dist-esm/samples-dev/dedicatedCloudServicesGetSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/dedicatedCloudServicesGetSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/dedicatedCloudServicesGetSample.js +31 -0
  50. package/dist-esm/samples-dev/dedicatedCloudServicesGetSample.js.map +1 -0
  51. package/dist-esm/samples-dev/dedicatedCloudServicesListByResourceGroupSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/dedicatedCloudServicesListByResourceGroupSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/dedicatedCloudServicesListByResourceGroupSample.js +44 -0
  54. package/dist-esm/samples-dev/dedicatedCloudServicesListByResourceGroupSample.js.map +1 -0
  55. package/dist-esm/samples-dev/dedicatedCloudServicesListBySubscriptionSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/dedicatedCloudServicesListBySubscriptionSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/dedicatedCloudServicesListBySubscriptionSample.js +43 -0
  58. package/dist-esm/samples-dev/dedicatedCloudServicesListBySubscriptionSample.js.map +1 -0
  59. package/dist-esm/samples-dev/dedicatedCloudServicesUpdateSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/dedicatedCloudServicesUpdateSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/dedicatedCloudServicesUpdateSample.js +34 -0
  62. package/dist-esm/samples-dev/dedicatedCloudServicesUpdateSample.js.map +1 -0
  63. package/dist-esm/samples-dev/operationsGetSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/operationsGetSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/operationsGetSample.js +51 -0
  66. package/dist-esm/samples-dev/operationsGetSample.js.map +1 -0
  67. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  70. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  71. package/dist-esm/samples-dev/privateCloudsGetSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/privateCloudsGetSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/privateCloudsGetSample.js +31 -0
  74. package/dist-esm/samples-dev/privateCloudsGetSample.js.map +1 -0
  75. package/dist-esm/samples-dev/privateCloudsListSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/privateCloudsListSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/privateCloudsListSample.js +44 -0
  78. package/dist-esm/samples-dev/privateCloudsListSample.js.map +1 -0
  79. package/dist-esm/samples-dev/resourcePoolsGetSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/resourcePoolsGetSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/resourcePoolsGetSample.js +32 -0
  82. package/dist-esm/samples-dev/resourcePoolsGetSample.js.map +1 -0
  83. package/dist-esm/samples-dev/resourcePoolsListSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/resourcePoolsListSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/resourcePoolsListSample.js +45 -0
  86. package/dist-esm/samples-dev/resourcePoolsListSample.js.map +1 -0
  87. package/dist-esm/samples-dev/skusAvailabilityListSample.d.ts +2 -0
  88. package/dist-esm/samples-dev/skusAvailabilityListSample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/skusAvailabilityListSample.js +44 -0
  90. package/dist-esm/samples-dev/skusAvailabilityListSample.js.map +1 -0
  91. package/dist-esm/samples-dev/usagesListSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/usagesListSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/usagesListSample.js +44 -0
  94. package/dist-esm/samples-dev/usagesListSample.js.map +1 -0
  95. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.d.ts +2 -0
  96. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.d.ts.map +1 -0
  97. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js +32 -0
  98. package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js.map +1 -0
  99. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.d.ts +2 -0
  100. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.d.ts.map +1 -0
  101. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.js +46 -0
  102. package/dist-esm/samples-dev/virtualMachineTemplatesListSample.js.map +1 -0
  103. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.d.ts +2 -0
  104. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.d.ts.map +1 -0
  105. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js +60 -0
  106. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js.map +1 -0
  107. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts +2 -0
  108. package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts.map +1 -0
  109. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js +32 -0
  110. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js.map +1 -0
  111. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +2 -0
  112. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +1 -0
  113. package/dist-esm/samples-dev/virtualMachinesGetSample.js +31 -0
  114. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +1 -0
  115. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts +2 -0
  116. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts.map +1 -0
  117. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +44 -0
  118. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js.map +1 -0
  119. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.d.ts +2 -0
  120. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.d.ts.map +1 -0
  121. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js +43 -0
  122. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js.map +1 -0
  123. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +2 -0
  124. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +1 -0
  125. package/dist-esm/samples-dev/virtualMachinesStartSample.js +32 -0
  126. package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +1 -0
  127. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +2 -0
  128. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +1 -0
  129. package/dist-esm/samples-dev/virtualMachinesStopSample.js +55 -0
  130. package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +1 -0
  131. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts +2 -0
  132. package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts.map +1 -0
  133. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js +32 -0
  134. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js.map +1 -0
  135. package/dist-esm/samples-dev/virtualNetworksGetSample.d.ts +2 -0
  136. package/dist-esm/samples-dev/virtualNetworksGetSample.d.ts.map +1 -0
  137. package/dist-esm/samples-dev/virtualNetworksGetSample.js +32 -0
  138. package/dist-esm/samples-dev/virtualNetworksGetSample.js.map +1 -0
  139. package/dist-esm/samples-dev/virtualNetworksListSample.d.ts +2 -0
  140. package/dist-esm/samples-dev/virtualNetworksListSample.d.ts.map +1 -0
  141. package/dist-esm/samples-dev/virtualNetworksListSample.js +46 -0
  142. package/dist-esm/samples-dev/virtualNetworksListSample.js.map +1 -0
  143. package/dist-esm/src/operations/dedicatedCloudNodes.d.ts +4 -2
  144. package/dist-esm/src/operations/dedicatedCloudNodes.d.ts.map +1 -1
  145. package/dist-esm/src/operations/dedicatedCloudNodes.js +9 -4
  146. package/dist-esm/src/operations/dedicatedCloudNodes.js.map +1 -1
  147. package/dist-esm/src/operations/dedicatedCloudServices.d.ts.map +1 -1
  148. package/dist-esm/src/operations/dedicatedCloudServices.js +3 -1
  149. package/dist-esm/src/operations/dedicatedCloudServices.js.map +1 -1
  150. package/dist-esm/src/operations/operations.d.ts +2 -1
  151. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  152. package/dist-esm/src/operations/operations.js +3 -2
  153. package/dist-esm/src/operations/operations.js.map +1 -1
  154. package/dist-esm/src/operations/virtualMachines.d.ts +16 -8
  155. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
  156. package/dist-esm/src/operations/virtualMachines.js +45 -21
  157. package/dist-esm/src/operations/virtualMachines.js.map +1 -1
  158. package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.d.ts +4 -2
  159. package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.d.ts.map +1 -1
  160. package/dist-esm/src/operationsInterfaces/operations.d.ts +2 -1
  161. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
  162. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +16 -8
  163. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
  164. package/dist-esm/src/vMwareCloudSimple.d.ts +1 -3
  165. package/dist-esm/src/vMwareCloudSimple.d.ts.map +1 -1
  166. package/dist-esm/src/vMwareCloudSimple.js +21 -8
  167. package/dist-esm/src/vMwareCloudSimple.js.map +1 -1
  168. package/package.json +20 -12
  169. package/review/arm-vmwarecloudsimple.api.md +12 -14
  170. package/rollup.config.js +6 -72
  171. package/src/operations/dedicatedCloudNodes.ts +9 -1
  172. package/src/operations/dedicatedCloudServices.ts +3 -1
  173. package/src/operations/operations.ts +3 -1
  174. package/src/operations/virtualMachines.ts +45 -9
  175. package/src/operationsInterfaces/dedicatedCloudNodes.ts +4 -0
  176. package/src/operationsInterfaces/operations.ts +2 -0
  177. package/src/operationsInterfaces/virtualMachines.ts +16 -0
  178. package/src/vMwareCloudSimple.ts +27 -9
  179. package/tsconfig.json +19 -5
  180. package/types/arm-vmwarecloudsimple.d.ts +23 -14
  181. package/types/tsdoc-metadata.json +1 -1
  182. package/LICENSE.txt +0 -21
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns list of dedicate cloud nodes within resource group
15
+ *
16
+ * @summary Returns list of dedicate cloud nodes within resource group
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json
18
+ */
19
+ function listRgDedicatedCloudNodes() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "{subscription-id}";
23
+ const resourceGroupName = "myResourceGroup";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new VMwareCloudSimple(credential, subscriptionId);
26
+ const resArray = new Array();
27
+ try {
28
+ for (var _b = __asyncValues(client.dedicatedCloudNodes.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
29
+ let item = _c.value;
30
+ resArray.push(item);
31
+ }
32
+ }
33
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
34
+ finally {
35
+ try {
36
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
37
+ }
38
+ finally { if (e_1) throw e_1.error; }
39
+ }
40
+ console.log(resArray);
41
+ });
42
+ }
43
+ listRgDedicatedCloudNodes().catch(console.error);
44
+ //# sourceMappingURL=dedicatedCloudNodesListByResourceGroupSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudNodesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudNodesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yBAAyB;;;QACtC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,mBAAmB,CAAC,mBAAmB,CACnE,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dedicatedCloudNodesListBySubscriptionSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudNodesListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudNodesListBySubscriptionSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns list of dedicate cloud nodes within subscription
15
+ *
16
+ * @summary Returns list of dedicate cloud nodes within subscription
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json
18
+ */
19
+ function listDedicatedCloudNodes() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "{subscription-id}";
23
+ const credential = new DefaultAzureCredential();
24
+ const client = new VMwareCloudSimple(credential, subscriptionId);
25
+ const resArray = new Array();
26
+ try {
27
+ for (var _b = __asyncValues(client.dedicatedCloudNodes.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
28
+ let item = _c.value;
29
+ resArray.push(item);
30
+ }
31
+ }
32
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
33
+ finally {
34
+ try {
35
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
36
+ }
37
+ finally { if (e_1) throw e_1.error; }
38
+ }
39
+ console.log(resArray);
40
+ });
41
+ }
42
+ listDedicatedCloudNodes().catch(console.error);
43
+ //# sourceMappingURL=dedicatedCloudNodesListBySubscriptionSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudNodesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudNodesListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;;QACpC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA3D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dedicatedCloudNodesUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudNodesUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudNodesUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Patches dedicated node properties
15
+ *
16
+ * @summary Patches dedicated node properties
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json
18
+ */
19
+ function patchDedicatedCloudNode() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "{subscription-id}";
22
+ const resourceGroupName = "myResourceGroup";
23
+ const dedicatedCloudNodeName = "myNode";
24
+ const dedicatedCloudNodeRequest = {
25
+ tags: { myTag: "tagValue" }
26
+ };
27
+ const credential = new DefaultAzureCredential();
28
+ const client = new VMwareCloudSimple(credential, subscriptionId);
29
+ const result = yield client.dedicatedCloudNodes.update(resourceGroupName, dedicatedCloudNodeName, dedicatedCloudNodeRequest);
30
+ console.log(result);
31
+ });
32
+ }
33
+ patchDedicatedCloudNode().catch(console.error);
34
+ //# sourceMappingURL=dedicatedCloudNodesUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudNodesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudNodesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAgB,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,sBAAsB,GAAG,QAAQ,CAAC;QACxC,MAAM,yBAAyB,GAAiB;YAC9C,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE;SAC5B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,MAAM,CACpD,iBAAiB,EACjB,sBAAsB,EACtB,yBAAyB,CAC1B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dedicatedCloudServicesCreateOrUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesCreateOrUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Create dedicate cloud service
15
+ *
16
+ * @summary Create dedicate cloud service
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json
18
+ */
19
+ function createDedicatedCloudService() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "{subscription-id}";
22
+ const resourceGroupName = "myResourceGroup";
23
+ const dedicatedCloudServiceName = "myService";
24
+ const dedicatedCloudServiceRequest = {
25
+ gatewaySubnet: "10.0.0.0",
26
+ location: "westus"
27
+ };
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new VMwareCloudSimple(credential, subscriptionId);
30
+ const result = yield client.dedicatedCloudServices.createOrUpdate(resourceGroupName, dedicatedCloudServiceName, dedicatedCloudServiceRequest);
31
+ console.log(result);
32
+ });
33
+ }
34
+ createDedicatedCloudService().catch(console.error);
35
+ //# sourceMappingURL=dedicatedCloudServicesCreateOrUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,yBAAyB,GAAG,WAAW,CAAC;QAC9C,MAAM,4BAA4B,GAA0B;YAC1D,aAAa,EAAE,UAAU;YACzB,QAAQ,EAAE,QAAQ;SACnB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,cAAc,CAC/D,iBAAiB,EACjB,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dedicatedCloudServicesDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Delete dedicate cloud service
15
+ *
16
+ * @summary Delete dedicate cloud service
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json
18
+ */
19
+ function deleteDedicatedCloudService() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "{subscription-id}";
22
+ const resourceGroupName = "myResourceGroup";
23
+ const dedicatedCloudServiceName = "myService";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new VMwareCloudSimple(credential, subscriptionId);
26
+ const result = yield client.dedicatedCloudServices.beginDeleteAndWait(resourceGroupName, dedicatedCloudServiceName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ deleteDedicatedCloudService().catch(console.error);
31
+ //# sourceMappingURL=dedicatedCloudServicesDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,yBAAyB,GAAG,WAAW,CAAC;QAC9C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,kBAAkB,CACnE,iBAAiB,EACjB,yBAAyB,CAC1B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dedicatedCloudServicesGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns Dedicate Cloud Service
15
+ *
16
+ * @summary Returns Dedicate Cloud Service
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json
18
+ */
19
+ function getDedicatedCloudService() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "{subscription-id}";
22
+ const resourceGroupName = "myResourceGroup";
23
+ const dedicatedCloudServiceName = "myService";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new VMwareCloudSimple(credential, subscriptionId);
26
+ const result = yield client.dedicatedCloudServices.get(resourceGroupName, dedicatedCloudServiceName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ getDedicatedCloudService().catch(console.error);
31
+ //# sourceMappingURL=dedicatedCloudServicesGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesGetSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,yBAAyB,GAAG,WAAW,CAAC;QAC9C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,GAAG,CACpD,iBAAiB,EACjB,yBAAyB,CAC1B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wBAAwB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dedicatedCloudServicesListByResourceGroupSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesListByResourceGroupSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns list of dedicated cloud services within a resource group
15
+ *
16
+ * @summary Returns list of dedicated cloud services within a resource group
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json
18
+ */
19
+ function listRgDedicatedCloudServices() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "{subscription-id}";
23
+ const resourceGroupName = "myResourceGroup";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new VMwareCloudSimple(credential, subscriptionId);
26
+ const resArray = new Array();
27
+ try {
28
+ for (var _b = __asyncValues(client.dedicatedCloudServices.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
29
+ let item = _c.value;
30
+ resArray.push(item);
31
+ }
32
+ }
33
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
34
+ finally {
35
+ try {
36
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
37
+ }
38
+ finally { if (e_1) throw e_1.error; }
39
+ }
40
+ console.log(resArray);
41
+ });
42
+ }
43
+ listRgDedicatedCloudServices().catch(console.error);
44
+ //# sourceMappingURL=dedicatedCloudServicesListByResourceGroupSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;;QACzC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,mBAAmB,CACtE,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dedicatedCloudServicesListBySubscriptionSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesListBySubscriptionSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns list of dedicated cloud services within a subscription
15
+ *
16
+ * @summary Returns list of dedicated cloud services within a subscription
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json
18
+ */
19
+ function listDedicatedCloudServices() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "{subscription-id}";
23
+ const credential = new DefaultAzureCredential();
24
+ const client = new VMwareCloudSimple(credential, subscriptionId);
25
+ const resArray = new Array();
26
+ try {
27
+ for (var _b = __asyncValues(client.dedicatedCloudServices.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
28
+ let item = _c.value;
29
+ resArray.push(item);
30
+ }
31
+ }
32
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
33
+ finally {
34
+ try {
35
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
36
+ }
37
+ finally { if (e_1) throw e_1.error; }
38
+ }
39
+ console.log(resArray);
40
+ });
41
+ }
42
+ listDedicatedCloudServices().catch(console.error);
43
+ //# sourceMappingURL=dedicatedCloudServicesListBySubscriptionSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA9D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dedicatedCloudServicesUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Patch dedicated cloud service's properties
15
+ *
16
+ * @summary Patch dedicated cloud service's properties
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json
18
+ */
19
+ function patchDedicatedService() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "{subscription-id}";
22
+ const resourceGroupName = "myResourceGroup";
23
+ const dedicatedCloudServiceName = "myService";
24
+ const dedicatedCloudServiceRequest = {
25
+ tags: { myTag: "tagValue" }
26
+ };
27
+ const credential = new DefaultAzureCredential();
28
+ const client = new VMwareCloudSimple(credential, subscriptionId);
29
+ const result = yield client.dedicatedCloudServices.update(resourceGroupName, dedicatedCloudServiceName, dedicatedCloudServiceRequest);
30
+ console.log(result);
31
+ });
32
+ }
33
+ patchDedicatedService().catch(console.error);
34
+ //# sourceMappingURL=dedicatedCloudServicesUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedCloudServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedCloudServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAgB,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,yBAAyB,GAAG,WAAW,CAAC;QAC9C,MAAM,4BAA4B,GAAiB;YACjD,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE;SAC5B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,MAAM,CACvD,iBAAiB,EACjB,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=operationsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/operationsGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,51 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Return an async operation
15
+ *
16
+ * @summary Return an async operation
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json
18
+ */
19
+ function getFailedOperationResult() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "{subscription-id}";
22
+ const regionId = "westus2";
23
+ const referer = "https://management.azure.com/";
24
+ const operationId = "d030bb3f-7d53-11e9-8e09-9a86872085ff";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new VMwareCloudSimple(credential, subscriptionId);
27
+ const result = yield client.operations.get(regionId, referer, operationId);
28
+ console.log(result);
29
+ });
30
+ }
31
+ getFailedOperationResult().catch(console.error);
32
+ /**
33
+ * This sample demonstrates how to Return an async operation
34
+ *
35
+ * @summary Return an async operation
36
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json
37
+ */
38
+ function getOperationResult() {
39
+ return __awaiter(this, void 0, void 0, function* () {
40
+ const subscriptionId = "{subscription-id}";
41
+ const regionId = "westus2";
42
+ const referer = "https://management.azure.com/";
43
+ const operationId = "f8e1c8f1-7d52-11e9-8e07-9a86872085ff";
44
+ const credential = new DefaultAzureCredential();
45
+ const client = new VMwareCloudSimple(credential, subscriptionId);
46
+ const result = yield client.operations.get(regionId, referer, operationId);
47
+ console.log(result);
48
+ });
49
+ }
50
+ getOperationResult().catch(console.error);
51
+ //# sourceMappingURL=operationsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsGetSample.js","sourceRoot":"","sources":["../../samples-dev/operationsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,OAAO,GAAG,+BAA+B,CAAC;QAChD,MAAM,WAAW,GAAG,sCAAsC,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;QAC3E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wBAAwB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAEhD;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,OAAO,GAAG,+BAA+B,CAAC;QAChD,MAAM,WAAW,GAAG,sCAAsC,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;QAC3E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=operationsListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Return list of operations
15
+ *
16
+ * @summary Return list of operations
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json
18
+ */
19
+ function listOperations() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const credential = new DefaultAzureCredential();
24
+ const client = new VMwareCloudSimple(credential, subscriptionId);
25
+ const resArray = new Array();
26
+ try {
27
+ for (var _b = __asyncValues(client.operations.list()), _c; _c = yield _b.next(), !_c.done;) {
28
+ let item = _c.value;
29
+ resArray.push(item);
30
+ }
31
+ }
32
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
33
+ finally {
34
+ try {
35
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
36
+ }
37
+ finally { if (e_1) throw e_1.error; }
38
+ }
39
+ console.log(resArray);
40
+ });
41
+ }
42
+ listOperations().catch(console.error);
43
+ //# sourceMappingURL=operationsListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,cAAc;;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA;gBAApC,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=privateCloudsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateCloudsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/privateCloudsGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns private cloud by its name
15
+ *
16
+ * @summary Returns private cloud by its name
17
+ * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json
18
+ */
19
+ function getPrivateCloud() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "{subscription-id}";
22
+ const pcName = "myPrivateCloud";
23
+ const regionId = "westus2";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new VMwareCloudSimple(credential, subscriptionId);
26
+ const result = yield client.privateClouds.get(pcName, regionId);
27
+ console.log(result);
28
+ });
29
+ }
30
+ getPrivateCloud().catch(console.error);
31
+ //# sourceMappingURL=privateCloudsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateCloudsGetSample.js","sourceRoot":"","sources":["../../samples-dev/privateCloudsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,MAAM,GAAG,gBAAgB,CAAC;QAChC,MAAM,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAChE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=privateCloudsListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateCloudsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/privateCloudsListSample.ts"],"names":[],"mappings":""}