@azure/arm-hdinsight 1.3.0-beta.1 → 1.3.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/CHANGELOG.md +29 -6
  2. package/LICENSE +1 -1
  3. package/dist/index.js +2107 -1900
  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/applicationsCreateSample.js +10 -10
  8. package/dist-esm/samples-dev/applicationsDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/applicationsGetAzureAsyncOperationStatusSample.js +1 -1
  10. package/dist-esm/samples-dev/applicationsGetSample.js +2 -2
  11. package/dist-esm/samples-dev/applicationsListByClusterSample.js +5 -10
  12. package/dist-esm/samples-dev/applicationsListByClusterSample.js.map +1 -1
  13. package/dist-esm/samples-dev/clustersCreateSample.js +277 -276
  14. package/dist-esm/samples-dev/clustersCreateSample.js.map +1 -1
  15. package/dist-esm/samples-dev/clustersDeleteSample.js +1 -1
  16. package/dist-esm/samples-dev/clustersExecuteScriptActionsSample.js +5 -5
  17. package/dist-esm/samples-dev/clustersExecuteScriptActionsSample.js.map +1 -1
  18. package/dist-esm/samples-dev/clustersGetAzureAsyncOperationStatusSample.js +1 -1
  19. package/dist-esm/samples-dev/clustersGetGatewaySettingsSample.js +1 -1
  20. package/dist-esm/samples-dev/clustersGetSample.js +2 -2
  21. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +5 -10
  22. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +1 -1
  23. package/dist-esm/samples-dev/clustersListSample.js +5 -10
  24. package/dist-esm/samples-dev/clustersListSample.js.map +1 -1
  25. package/dist-esm/samples-dev/clustersResizeSample.js +2 -2
  26. package/dist-esm/samples-dev/clustersResizeSample.js.map +1 -1
  27. package/dist-esm/samples-dev/clustersRotateDiskEncryptionKeySample.js +3 -3
  28. package/dist-esm/samples-dev/clustersRotateDiskEncryptionKeySample.js.map +1 -1
  29. package/dist-esm/samples-dev/clustersUpdateAutoScaleConfigurationSample.js +11 -11
  30. package/dist-esm/samples-dev/clustersUpdateAutoScaleConfigurationSample.js.map +1 -1
  31. package/dist-esm/samples-dev/clustersUpdateGatewaySettingsSample.js +3 -3
  32. package/dist-esm/samples-dev/clustersUpdateGatewaySettingsSample.js.map +1 -1
  33. package/dist-esm/samples-dev/clustersUpdateIdentityCertificateSample.js +3 -3
  34. package/dist-esm/samples-dev/clustersUpdateIdentityCertificateSample.js.map +1 -1
  35. package/dist-esm/samples-dev/clustersUpdateSample.js +25 -3
  36. package/dist-esm/samples-dev/clustersUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
  38. package/dist-esm/samples-dev/configurationsListSample.js +1 -1
  39. package/dist-esm/samples-dev/configurationsUpdateSample.js +4 -4
  40. package/dist-esm/samples-dev/extensionsCreateSample.js +2 -2
  41. package/dist-esm/samples-dev/extensionsDeleteSample.js +1 -1
  42. package/dist-esm/samples-dev/extensionsDisableAzureMonitorAgentSample.d.ts +2 -0
  43. package/dist-esm/samples-dev/extensionsDisableAzureMonitorAgentSample.d.ts.map +1 -0
  44. package/dist-esm/samples-dev/extensionsDisableAzureMonitorAgentSample.js +38 -0
  45. package/dist-esm/samples-dev/extensionsDisableAzureMonitorAgentSample.js.map +1 -0
  46. package/dist-esm/samples-dev/extensionsDisableAzureMonitorSample.js +3 -3
  47. package/dist-esm/samples-dev/extensionsDisableAzureMonitorSample.js.map +1 -1
  48. package/dist-esm/samples-dev/extensionsDisableMonitoringSample.js +3 -3
  49. package/dist-esm/samples-dev/extensionsDisableMonitoringSample.js.map +1 -1
  50. package/dist-esm/samples-dev/extensionsEnableAzureMonitorAgentSample.d.ts +2 -0
  51. package/dist-esm/samples-dev/extensionsEnableAzureMonitorAgentSample.d.ts.map +1 -0
  52. package/dist-esm/samples-dev/extensionsEnableAzureMonitorAgentSample.js +42 -0
  53. package/dist-esm/samples-dev/extensionsEnableAzureMonitorAgentSample.js.map +1 -0
  54. package/dist-esm/samples-dev/extensionsEnableAzureMonitorSample.js +5 -5
  55. package/dist-esm/samples-dev/extensionsEnableAzureMonitorSample.js.map +1 -1
  56. package/dist-esm/samples-dev/extensionsEnableMonitoringSample.js +3 -3
  57. package/dist-esm/samples-dev/extensionsEnableMonitoringSample.js.map +1 -1
  58. package/dist-esm/samples-dev/extensionsGetAzureAsyncOperationStatusSample.js +1 -1
  59. package/dist-esm/samples-dev/extensionsGetAzureMonitorAgentStatusSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/extensionsGetAzureMonitorAgentStatusSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/extensionsGetAzureMonitorAgentStatusSample.js +38 -0
  62. package/dist-esm/samples-dev/extensionsGetAzureMonitorAgentStatusSample.js.map +1 -0
  63. package/dist-esm/samples-dev/extensionsGetAzureMonitorStatusSample.js +3 -3
  64. package/dist-esm/samples-dev/extensionsGetAzureMonitorStatusSample.js.map +1 -1
  65. package/dist-esm/samples-dev/extensionsGetMonitoringStatusSample.js +3 -3
  66. package/dist-esm/samples-dev/extensionsGetMonitoringStatusSample.js.map +1 -1
  67. package/dist-esm/samples-dev/extensionsGetSample.js +1 -1
  68. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +3 -3
  69. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js.map +1 -1
  70. package/dist-esm/samples-dev/locationsGetAzureAsyncOperationStatusSample.js +1 -1
  71. package/dist-esm/samples-dev/locationsGetCapabilitiesSample.js +1 -1
  72. package/dist-esm/samples-dev/locationsListBillingSpecsSample.js +1 -1
  73. package/dist-esm/samples-dev/locationsListUsagesSample.js +1 -1
  74. package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.js +21 -21
  75. package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.js.map +1 -1
  76. package/dist-esm/samples-dev/operationsListSample.js +5 -10
  77. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  78. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +4 -4
  79. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  80. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  81. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  82. package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js +5 -10
  83. package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js.map +1 -1
  84. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  85. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +1 -1
  86. package/dist-esm/samples-dev/scriptActionsDeleteSample.js +1 -1
  87. package/dist-esm/samples-dev/scriptActionsGetExecutionAsyncOperationStatusSample.js +1 -1
  88. package/dist-esm/samples-dev/scriptActionsGetExecutionDetailSample.js +1 -1
  89. package/dist-esm/samples-dev/scriptActionsListByClusterSample.js +5 -10
  90. package/dist-esm/samples-dev/scriptActionsListByClusterSample.js.map +1 -1
  91. package/dist-esm/samples-dev/scriptExecutionHistoryListByClusterSample.js +5 -10
  92. package/dist-esm/samples-dev/scriptExecutionHistoryListByClusterSample.js.map +1 -1
  93. package/dist-esm/samples-dev/scriptExecutionHistoryPromoteSample.js +1 -1
  94. package/dist-esm/samples-dev/virtualMachinesGetAsyncOperationStatusSample.js +1 -1
  95. package/dist-esm/samples-dev/virtualMachinesListHostsSample.js +1 -1
  96. package/dist-esm/samples-dev/virtualMachinesRestartHostsSample.js +1 -1
  97. package/dist-esm/samples-dev/virtualMachinesRestartHostsSample.js.map +1 -1
  98. package/dist-esm/src/hDInsightManagementClient.d.ts.map +1 -1
  99. package/dist-esm/src/hDInsightManagementClient.js +9 -9
  100. package/dist-esm/src/hDInsightManagementClient.js.map +1 -1
  101. package/dist-esm/src/index.d.ts +0 -1
  102. package/dist-esm/src/index.d.ts.map +1 -1
  103. package/dist-esm/src/lroImpl.js +1 -1
  104. package/dist-esm/src/models/index.d.ts +48 -0
  105. package/dist-esm/src/models/index.d.ts.map +1 -1
  106. package/dist-esm/src/models/index.js +8 -0
  107. package/dist-esm/src/models/index.js.map +1 -1
  108. package/dist-esm/src/models/mappers.d.ts +1 -0
  109. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  110. package/dist-esm/src/models/mappers.js +1288 -1244
  111. package/dist-esm/src/models/mappers.js.map +1 -1
  112. package/dist-esm/src/models/parameters.js +79 -79
  113. package/dist-esm/src/models/parameters.js.map +1 -1
  114. package/dist-esm/src/operations/applications.d.ts.map +1 -1
  115. package/dist-esm/src/operations/applications.js +46 -51
  116. package/dist-esm/src/operations/applications.js.map +1 -1
  117. package/dist-esm/src/operations/clusters.d.ts.map +1 -1
  118. package/dist-esm/src/operations/clusters.js +117 -127
  119. package/dist-esm/src/operations/clusters.js.map +1 -1
  120. package/dist-esm/src/operations/configurations.d.ts.map +1 -1
  121. package/dist-esm/src/operations/configurations.js +21 -21
  122. package/dist-esm/src/operations/configurations.js.map +1 -1
  123. package/dist-esm/src/operations/extensions.d.ts +38 -1
  124. package/dist-esm/src/operations/extensions.d.ts.map +1 -1
  125. package/dist-esm/src/operations/extensions.js +260 -70
  126. package/dist-esm/src/operations/extensions.js.map +1 -1
  127. package/dist-esm/src/operations/locations.js +30 -30
  128. package/dist-esm/src/operations/locations.js.map +1 -1
  129. package/dist-esm/src/operations/operations.js +12 -17
  130. package/dist-esm/src/operations/operations.js.map +1 -1
  131. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  132. package/dist-esm/src/operations/privateEndpointConnections.js +43 -48
  133. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  134. package/dist-esm/src/operations/privateLinkResources.js +10 -10
  135. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  136. package/dist-esm/src/operations/scriptActions.js +28 -33
  137. package/dist-esm/src/operations/scriptActions.js.map +1 -1
  138. package/dist-esm/src/operations/scriptExecutionHistory.js +18 -23
  139. package/dist-esm/src/operations/scriptExecutionHistory.js.map +1 -1
  140. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
  141. package/dist-esm/src/operations/virtualMachines.js +21 -21
  142. package/dist-esm/src/operations/virtualMachines.js.map +1 -1
  143. package/dist-esm/src/operationsInterfaces/extensions.d.ts +38 -1
  144. package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -1
  145. package/dist-esm/src/pagingHelper.js.map +1 -1
  146. package/dist-esm/test/hdinsights_operations_test.spec.d.ts.map +1 -1
  147. package/dist-esm/test/hdinsights_operations_test.spec.js +9 -13
  148. package/dist-esm/test/hdinsights_operations_test.spec.js.map +1 -1
  149. package/package.json +20 -25
  150. package/review/arm-hdinsight.api.md +42 -0
  151. package/src/hDInsightManagementClient.ts +18 -17
  152. package/src/lroImpl.ts +4 -4
  153. package/src/models/index.ts +100 -30
  154. package/src/models/mappers.ts +1416 -1365
  155. package/src/models/parameters.ts +80 -80
  156. package/src/operations/applications.ts +85 -92
  157. package/src/operations/clusters.ts +230 -252
  158. package/src/operations/configurations.ts +39 -43
  159. package/src/operations/extensions.ts +406 -165
  160. package/src/operations/locations.ts +49 -55
  161. package/src/operations/operations.ts +16 -16
  162. package/src/operations/privateEndpointConnections.ts +81 -86
  163. package/src/operations/privateLinkResources.ts +17 -19
  164. package/src/operations/scriptActions.ts +64 -67
  165. package/src/operations/scriptExecutionHistory.ts +32 -34
  166. package/src/operations/virtualMachines.ts +39 -43
  167. package/src/operationsInterfaces/applications.ts +8 -8
  168. package/src/operationsInterfaces/clusters.ts +23 -23
  169. package/src/operationsInterfaces/configurations.ts +5 -5
  170. package/src/operationsInterfaces/extensions.ts +80 -17
  171. package/src/operationsInterfaces/locations.ts +7 -7
  172. package/src/operationsInterfaces/operations.ts +1 -1
  173. package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
  174. package/src/operationsInterfaces/privateLinkResources.ts +3 -3
  175. package/src/operationsInterfaces/scriptActions.ts +5 -5
  176. package/src/operationsInterfaces/scriptExecutionHistory.ts +3 -3
  177. package/src/operationsInterfaces/virtualMachines.ts +5 -5
  178. package/src/pagingHelper.ts +1 -1
  179. package/types/arm-hdinsight.d.ts +92 -0
  180. package/types/tsdoc-metadata.json +1 -1
  181. package/rollup.config.js +0 -122
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
17
17
  *
18
18
  * @summary Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ChangeHttpConnectivityDisable.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ChangeHttpConnectivityDisable.json
20
20
  */
21
21
  function disableHttpConnectivity() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -25,7 +25,7 @@ function disableHttpConnectivity() {
25
25
  const clusterName = "cluster1";
26
26
  const configurationName = "gateway";
27
27
  const parameters = {
28
- restAuthCredentialIsEnabled: "false"
28
+ restAuthCredentialIsEnabled: "false",
29
29
  };
30
30
  const credential = new DefaultAzureCredential();
31
31
  const client = new HDInsightManagementClient(credential, subscriptionId);
@@ -37,7 +37,7 @@ function disableHttpConnectivity() {
37
37
  * This sample demonstrates how to Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
38
38
  *
39
39
  * @summary Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
40
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ChangeHttpConnectivityEnable.json
40
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ChangeHttpConnectivityEnable.json
41
41
  */
42
42
  function enableHttpConnectivity() {
43
43
  return __awaiter(this, void 0, void 0, function* () {
@@ -48,7 +48,7 @@ function enableHttpConnectivity() {
48
48
  const parameters = {
49
49
  restAuthCredentialIsEnabled: "true",
50
50
  restAuthCredentialPassword: "**********",
51
- restAuthCredentialUsername: "hadoop"
51
+ restAuthCredentialUsername: "hadoop",
52
52
  };
53
53
  const credential = new DefaultAzureCredential();
54
54
  const client = new HDInsightManagementClient(credential, subscriptionId);
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates an HDInsight cluster extension.
17
17
  *
18
18
  * @summary Creates an HDInsight cluster extension.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateExtension.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateExtension.json
20
20
  */
21
21
  function createAMonitoringExtensionOnHadoopLinuxCluster() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -26,7 +26,7 @@ function createAMonitoringExtensionOnHadoopLinuxCluster() {
26
26
  const extensionName = "clustermonitoring";
27
27
  const parameters = {
28
28
  primaryKey: "**********",
29
- workspaceId: "a2090ead-8c9f-4fba-b70e-533e3e003163"
29
+ workspaceId: "a2090ead-8c9f-4fba-b70e-533e3e003163",
30
30
  };
31
31
  const credential = new DefaultAzureCredential();
32
32
  const client = new HDInsightManagementClient(credential, subscriptionId);
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes the specified extension for HDInsight cluster.
17
17
  *
18
18
  * @summary Deletes the specified extension for HDInsight cluster.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteExtension.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeleteExtension.json
20
20
  */
21
21
  function deleteAnExtension() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extensionsDisableAzureMonitorAgentSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsDisableAzureMonitorAgentSample.d.ts","sourceRoot":"","sources":["../../samples-dev/extensionsDisableAzureMonitorAgentSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,38 @@
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 { HDInsightManagementClient } from "@azure/arm-hdinsight";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Disables the Azure Monitor Agent on the HDInsight cluster.
17
+ *
18
+ * @summary Disables the Azure Monitor Agent on the HDInsight cluster.
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableLinuxClusterAzureMonitorAgent.json
20
+ */
21
+ function disableAzureMonitorAgent() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
24
+ const resourceGroupName = process.env["HDINSIGHT_RESOURCE_GROUP"] || "rg1";
25
+ const clusterName = "cluster1";
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new HDInsightManagementClient(credential, subscriptionId);
28
+ const result = yield client.extensions.beginDisableAzureMonitorAgentAndWait(resourceGroupName, clusterName);
29
+ console.log(result);
30
+ });
31
+ }
32
+ function main() {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ disableAzureMonitorAgent();
35
+ });
36
+ }
37
+ main().catch(console.error);
38
+ //# sourceMappingURL=extensionsDisableAzureMonitorAgentSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsDisableAzureMonitorAgentSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsDisableAzureMonitorAgentSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,oCAAoC,CACzE,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wBAAwB,EAAE,CAAC;IAC7B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,9 +16,9 @@ dotenv.config();
16
16
  * This sample demonstrates how to Disables the Azure Monitor on the HDInsight cluster.
17
17
  *
18
18
  * @summary Disables the Azure Monitor on the HDInsight cluster.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableLinuxClusterAzureMonitor.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableLinuxClusterAzureMonitor.json
20
20
  */
21
- function enableClusterMonitoring() {
21
+ function disableAzureMonitor() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
24
24
  const resourceGroupName = process.env["HDINSIGHT_RESOURCE_GROUP"] || "rg1";
@@ -31,7 +31,7 @@ function enableClusterMonitoring() {
31
31
  }
32
32
  function main() {
33
33
  return __awaiter(this, void 0, void 0, function* () {
34
- enableClusterMonitoring();
34
+ disableAzureMonitor();
35
35
  });
36
36
  }
37
37
  main().catch(console.error);
@@ -1 +1 @@
1
- {"version":3,"file":"extensionsDisableAzureMonitorSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsDisableAzureMonitorSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,+BAA+B,CACpE,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"extensionsDisableAzureMonitorSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsDisableAzureMonitorSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mBAAmB;;QAChC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,+BAA+B,CACpE,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mBAAmB,EAAE,CAAC;IACxB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,9 +16,9 @@ dotenv.config();
16
16
  * This sample demonstrates how to Disables the Operations Management Suite (OMS) on the HDInsight cluster.
17
17
  *
18
18
  * @summary Disables the Operations Management Suite (OMS) on the HDInsight cluster.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableLinuxClusterMonitoring.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableLinuxClusterMonitoring.json
20
20
  */
21
- function enableClusterMonitoring() {
21
+ function disableClusterMonitoring() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
24
24
  const resourceGroupName = process.env["HDINSIGHT_RESOURCE_GROUP"] || "rg1";
@@ -31,7 +31,7 @@ function enableClusterMonitoring() {
31
31
  }
32
32
  function main() {
33
33
  return __awaiter(this, void 0, void 0, function* () {
34
- enableClusterMonitoring();
34
+ disableClusterMonitoring();
35
35
  });
36
36
  }
37
37
  main().catch(console.error);
@@ -1 +1 @@
1
- {"version":3,"file":"extensionsDisableMonitoringSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsDisableMonitoringSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,6BAA6B,CAClE,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"extensionsDisableMonitoringSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsDisableMonitoringSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,6BAA6B,CAClE,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wBAAwB,EAAE,CAAC;IAC7B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extensionsEnableAzureMonitorAgentSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsEnableAzureMonitorAgentSample.d.ts","sourceRoot":"","sources":["../../samples-dev/extensionsEnableAzureMonitorAgentSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,42 @@
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 { HDInsightManagementClient, } from "@azure/arm-hdinsight";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Enables the Azure Monitor Agent on the HDInsight cluster.
17
+ *
18
+ * @summary Enables the Azure Monitor Agent on the HDInsight cluster.
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableLinuxClusterAzureMonitorAgent.json
20
+ */
21
+ function enableAzureMonitoringAgent() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
24
+ const resourceGroupName = process.env["HDINSIGHT_RESOURCE_GROUP"] || "rg1";
25
+ const clusterName = "cluster1";
26
+ const parameters = {
27
+ primaryKey: "**********",
28
+ workspaceId: "a2090ead-8c9f-4fba-b70e-533e3e003163",
29
+ };
30
+ const credential = new DefaultAzureCredential();
31
+ const client = new HDInsightManagementClient(credential, subscriptionId);
32
+ const result = yield client.extensions.beginEnableAzureMonitorAgentAndWait(resourceGroupName, clusterName, parameters);
33
+ console.log(result);
34
+ });
35
+ }
36
+ function main() {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ enableAzureMonitoringAgent();
39
+ });
40
+ }
41
+ main().catch(console.error);
42
+ //# sourceMappingURL=extensionsEnableAzureMonitorAgentSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsEnableAzureMonitorAgentSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsEnableAzureMonitorAgentSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAwB;YACtC,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,sCAAsC;SACpD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,mCAAmC,CACxE,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { HDInsightManagementClient } from "@azure/arm-hdinsight";
11
+ import { HDInsightManagementClient, } from "@azure/arm-hdinsight";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,16 +16,16 @@ dotenv.config();
16
16
  * This sample demonstrates how to Enables the Azure Monitor on the HDInsight cluster.
17
17
  *
18
18
  * @summary Enables the Azure Monitor on the HDInsight cluster.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableLinuxClusterAzureMonitor.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableLinuxClusterAzureMonitor.json
20
20
  */
21
- function enableClusterMonitoring() {
21
+ function enableAzureMonitor() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
24
24
  const resourceGroupName = process.env["HDINSIGHT_RESOURCE_GROUP"] || "rg1";
25
25
  const clusterName = "cluster1";
26
26
  const parameters = {
27
27
  primaryKey: "**********",
28
- workspaceId: "a2090ead-8c9f-4fba-b70e-533e3e003163"
28
+ workspaceId: "a2090ead-8c9f-4fba-b70e-533e3e003163",
29
29
  };
30
30
  const credential = new DefaultAzureCredential();
31
31
  const client = new HDInsightManagementClient(credential, subscriptionId);
@@ -35,7 +35,7 @@ function enableClusterMonitoring() {
35
35
  }
36
36
  function main() {
37
37
  return __awaiter(this, void 0, void 0, function* () {
38
- enableClusterMonitoring();
38
+ enableAzureMonitor();
39
39
  });
40
40
  }
41
41
  main().catch(console.error);
@@ -1 +1 @@
1
- {"version":3,"file":"extensionsEnableAzureMonitorSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsEnableAzureMonitorSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAwB;YACtC,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,sCAAsC;SACpD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,8BAA8B,CACnE,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"extensionsEnableAzureMonitorSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsEnableAzureMonitorSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAwB;YACtC,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,sCAAsC;SACpD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,8BAA8B,CACnE,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { HDInsightManagementClient } from "@azure/arm-hdinsight";
11
+ import { HDInsightManagementClient, } from "@azure/arm-hdinsight";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Enables the Operations Management Suite (OMS) on the HDInsight cluster.
17
17
  *
18
18
  * @summary Enables the Operations Management Suite (OMS) on the HDInsight cluster.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableLinuxClusterMonitoring.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableLinuxClusterMonitoring.json
20
20
  */
21
21
  function enableClusterMonitoring() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -25,7 +25,7 @@ function enableClusterMonitoring() {
25
25
  const clusterName = "cluster1";
26
26
  const parameters = {
27
27
  primaryKey: "**********",
28
- workspaceId: "a2090ead-8c9f-4fba-b70e-533e3e003163"
28
+ workspaceId: "a2090ead-8c9f-4fba-b70e-533e3e003163",
29
29
  };
30
30
  const credential = new DefaultAzureCredential();
31
31
  const client = new HDInsightManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"extensionsEnableMonitoringSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsEnableMonitoringSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAA6B;YAC3C,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,sCAAsC;SACpD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,4BAA4B,CACjE,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"extensionsEnableMonitoringSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsEnableMonitoringSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAA6B;YAC3C,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,sCAAsC;SACpD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,4BAA4B,CACjE,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the async operation status.
17
17
  *
18
18
  * @summary Gets the async operation status.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetExtensionCreationAsyncOperationStatus.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetExtensionCreationAsyncOperationStatus.json
20
20
  */
21
21
  function getsTheAzureAsyncOperationStatus() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extensionsGetAzureMonitorAgentStatusSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsGetAzureMonitorAgentStatusSample.d.ts","sourceRoot":"","sources":["../../samples-dev/extensionsGetAzureMonitorAgentStatusSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,38 @@
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 { HDInsightManagementClient } from "@azure/arm-hdinsight";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Gets the status of Azure Monitor Agent on the HDInsight cluster.
17
+ *
18
+ * @summary Gets the status of Azure Monitor Agent on the HDInsight cluster.
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxClusterAzureMonitorAgentStatus.json
20
+ */
21
+ function getAzureMonitorAgentStatus() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
24
+ const resourceGroupName = process.env["HDINSIGHT_RESOURCE_GROUP"] || "rg1";
25
+ const clusterName = "cluster1";
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new HDInsightManagementClient(credential, subscriptionId);
28
+ const result = yield client.extensions.getAzureMonitorAgentStatus(resourceGroupName, clusterName);
29
+ console.log(result);
30
+ });
31
+ }
32
+ function main() {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ getAzureMonitorAgentStatus();
35
+ });
36
+ }
37
+ main().catch(console.error);
38
+ //# sourceMappingURL=extensionsGetAzureMonitorAgentStatusSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsGetAzureMonitorAgentStatusSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsGetAzureMonitorAgentStatusSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,0BAA0B,CAC/D,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,9 +16,9 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the status of Azure Monitor on the HDInsight cluster.
17
17
  *
18
18
  * @summary Gets the status of Azure Monitor on the HDInsight cluster.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxClusterAzureMonitorStatus.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxClusterAzureMonitorStatus.json
20
20
  */
21
- function enableClusterMonitoring() {
21
+ function getAzureMonitorStatus() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
24
24
  const resourceGroupName = process.env["HDINSIGHT_RESOURCE_GROUP"] || "rg1";
@@ -31,7 +31,7 @@ function enableClusterMonitoring() {
31
31
  }
32
32
  function main() {
33
33
  return __awaiter(this, void 0, void 0, function* () {
34
- enableClusterMonitoring();
34
+ getAzureMonitorStatus();
35
35
  });
36
36
  }
37
37
  main().catch(console.error);
@@ -1 +1 @@
1
- {"version":3,"file":"extensionsGetAzureMonitorStatusSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsGetAzureMonitorStatusSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,qBAAqB,CAC1D,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"extensionsGetAzureMonitorStatusSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsGetAzureMonitorStatusSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,qBAAqB,CAC1D,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,9 +16,9 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.
17
17
  *
18
18
  * @summary Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxClusterMonitoringStatus.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxClusterMonitoringStatus.json
20
20
  */
21
- function enableClusterMonitoring() {
21
+ function getClusterMonitoringStatus() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["HDINSIGHT_SUBSCRIPTION_ID"] || "subid";
24
24
  const resourceGroupName = process.env["HDINSIGHT_RESOURCE_GROUP"] || "rg1";
@@ -31,7 +31,7 @@ function enableClusterMonitoring() {
31
31
  }
32
32
  function main() {
33
33
  return __awaiter(this, void 0, void 0, function* () {
34
- enableClusterMonitoring();
34
+ getClusterMonitoringStatus();
35
35
  });
36
36
  }
37
37
  main().catch(console.error);
@@ -1 +1 @@
1
- {"version":3,"file":"extensionsGetMonitoringStatusSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsGetMonitoringStatusSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,mBAAmB,CACxD,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"extensionsGetMonitoringStatusSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsGetMonitoringStatusSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,KAAK,CAAC;QAC3E,MAAM,WAAW,GAAG,UAAU,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,mBAAmB,CACxD,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the extension properties for the specified HDInsight cluster extension.
17
17
  *
18
18
  * @summary Gets the extension properties for the specified HDInsight cluster extension.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetExtension.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetExtension.json
20
20
  */
21
21
  function getAnExtension() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { HDInsightManagementClient } from "@azure/arm-hdinsight";
11
+ import { HDInsightManagementClient, } from "@azure/arm-hdinsight";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Check the cluster name is available or not.
17
17
  *
18
18
  * @summary Check the cluster name is available or not.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_CheckClusterNameAvailability.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Locations_CheckClusterNameAvailability.json
20
20
  */
21
21
  function getTheSubscriptionUsagesForSpecificLocation() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -24,7 +24,7 @@ function getTheSubscriptionUsagesForSpecificLocation() {
24
24
  const location = "westus";
25
25
  const parameters = {
26
26
  name: "test123",
27
- type: "clusters"
27
+ type: "clusters",
28
28
  };
29
29
  const credential = new DefaultAzureCredential();
30
30
  const client = new HDInsightManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"locationsCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/locationsCheckNameAvailabilitySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,QAAQ,GAAG,QAAQ,CAAC;QAC1B,MAAM,UAAU,GAA2C;YACzD,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,UAAU;SACjB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,qBAAqB,CACzD,QAAQ,EACR,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"locationsCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/locationsCheckNameAvailabilitySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,OAAO,CAAC;QAC3E,MAAM,QAAQ,GAAG,QAAQ,CAAC;QAC1B,MAAM,UAAU,GAA2C;YACzD,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,UAAU;SACjB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,qBAAqB,CACzD,QAAQ,EACR,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the async operation status.
17
17
  *
18
18
  * @summary Get the async operation status.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_GetAsyncOperationStatus.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Locations_GetAsyncOperationStatus.json
20
20
  */
21
21
  function getsTheAzureAsyncOperationStatus() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the capabilities for the specified location.
17
17
  *
18
18
  * @summary Gets the capabilities for the specified location.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetHDInsightCapabilities.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetHDInsightCapabilities.json
20
20
  */
21
21
  function getTheSubscriptionCapabilitiesForSpecificLocation() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the billingSpecs for the specified subscription and location.
17
17
  *
18
18
  * @summary Lists the billingSpecs for the specified subscription and location.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_ListBillingSpecs.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Locations_ListBillingSpecs.json
20
20
  */
21
21
  function getTheSubscriptionBillingSpecsForTheSpecifiedLocation() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the usages for the specified location.
17
17
  *
18
18
  * @summary Lists the usages for the specified location.
19
- * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetHDInsightUsages.json
19
+ * x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetHDInsightUsages.json
20
20
  */
21
21
  function getTheSubscriptionUsagesForSpecificLocation() {
22
22
  return __awaiter(this, void 0, void 0, function* () {