@azure/arm-hdinsight 1.2.2-alpha.20230718.1 → 1.3.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +6 -10
  2. package/README.md +1 -1
  3. package/dist/index.js +3489 -3399
  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 +1 -1
  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 +1 -1
  12. package/dist-esm/samples-dev/clustersCreateSample.js +26 -13
  13. package/dist-esm/samples-dev/clustersCreateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/clustersDeleteSample.js +1 -1
  15. package/dist-esm/samples-dev/clustersExecuteScriptActionsSample.js +1 -1
  16. package/dist-esm/samples-dev/clustersGetAzureAsyncOperationStatusSample.js +1 -1
  17. package/dist-esm/samples-dev/clustersGetGatewaySettingsSample.js +1 -1
  18. package/dist-esm/samples-dev/clustersGetSample.js +2 -2
  19. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +1 -1
  20. package/dist-esm/samples-dev/clustersListSample.js +1 -1
  21. package/dist-esm/samples-dev/clustersResizeSample.js +1 -1
  22. package/dist-esm/samples-dev/clustersRotateDiskEncryptionKeySample.js +1 -1
  23. package/dist-esm/samples-dev/clustersUpdateAutoScaleConfigurationSample.js +3 -3
  24. package/dist-esm/samples-dev/clustersUpdateGatewaySettingsSample.js +1 -1
  25. package/dist-esm/samples-dev/clustersUpdateIdentityCertificateSample.js +1 -1
  26. package/dist-esm/samples-dev/clustersUpdateSample.js +1 -1
  27. package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
  28. package/dist-esm/samples-dev/configurationsListSample.js +1 -1
  29. package/dist-esm/samples-dev/configurationsUpdateSample.js +2 -2
  30. package/dist-esm/samples-dev/extensionsCreateSample.js +1 -1
  31. package/dist-esm/samples-dev/extensionsDeleteSample.js +1 -1
  32. package/dist-esm/samples-dev/extensionsDisableAzureMonitorSample.js +1 -1
  33. package/dist-esm/samples-dev/extensionsDisableMonitoringSample.js +1 -1
  34. package/dist-esm/samples-dev/extensionsEnableAzureMonitorSample.js +1 -1
  35. package/dist-esm/samples-dev/extensionsEnableMonitoringSample.js +1 -1
  36. package/dist-esm/samples-dev/extensionsGetAzureAsyncOperationStatusSample.js +1 -1
  37. package/dist-esm/samples-dev/extensionsGetAzureMonitorStatusSample.js +1 -1
  38. package/dist-esm/samples-dev/extensionsGetMonitoringStatusSample.js +1 -1
  39. package/dist-esm/samples-dev/extensionsGetSample.js +1 -1
  40. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +1 -1
  41. package/dist-esm/samples-dev/locationsGetAzureAsyncOperationStatusSample.js +1 -1
  42. package/dist-esm/samples-dev/locationsGetCapabilitiesSample.js +1 -1
  43. package/dist-esm/samples-dev/locationsListBillingSpecsSample.js +1 -1
  44. package/dist-esm/samples-dev/locationsListUsagesSample.js +1 -1
  45. package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.js +2 -1
  46. package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.js.map +1 -1
  47. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/operationsListSample.js +58 -0
  50. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  51. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
  52. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  53. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  54. package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js +1 -1
  55. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  56. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +1 -1
  57. package/dist-esm/samples-dev/scriptActionsDeleteSample.js +1 -1
  58. package/dist-esm/samples-dev/scriptActionsGetExecutionAsyncOperationStatusSample.js +1 -1
  59. package/dist-esm/samples-dev/scriptActionsGetExecutionDetailSample.js +1 -1
  60. package/dist-esm/samples-dev/scriptActionsListByClusterSample.js +1 -1
  61. package/dist-esm/samples-dev/scriptExecutionHistoryListByClusterSample.js +1 -1
  62. package/dist-esm/samples-dev/scriptExecutionHistoryPromoteSample.js +1 -1
  63. package/dist-esm/samples-dev/virtualMachinesGetAsyncOperationStatusSample.js +1 -1
  64. package/dist-esm/samples-dev/virtualMachinesListHostsSample.js +1 -1
  65. package/dist-esm/samples-dev/virtualMachinesRestartHostsSample.js +1 -1
  66. package/dist-esm/src/hDInsightManagementClient.d.ts +6 -6
  67. package/dist-esm/src/hDInsightManagementClient.d.ts.map +1 -1
  68. package/dist-esm/src/hDInsightManagementClient.js +8 -8
  69. package/dist-esm/src/hDInsightManagementClient.js.map +1 -1
  70. package/dist-esm/src/lroImpl.d.ts +6 -11
  71. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  72. package/dist-esm/src/lroImpl.js +12 -20
  73. package/dist-esm/src/lroImpl.js.map +1 -1
  74. package/dist-esm/src/models/index.d.ts +696 -694
  75. package/dist-esm/src/models/index.d.ts.map +1 -1
  76. package/dist-esm/src/models/index.js +62 -62
  77. package/dist-esm/src/models/index.js.map +1 -1
  78. package/dist-esm/src/models/mappers.d.ts +35 -35
  79. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  80. package/dist-esm/src/models/mappers.js +1451 -1445
  81. package/dist-esm/src/models/mappers.js.map +1 -1
  82. package/dist-esm/src/models/parameters.d.ts +12 -12
  83. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  84. package/dist-esm/src/models/parameters.js +91 -91
  85. package/dist-esm/src/models/parameters.js.map +1 -1
  86. package/dist-esm/src/operations/applications.d.ts +3 -3
  87. package/dist-esm/src/operations/applications.d.ts.map +1 -1
  88. package/dist-esm/src/operations/applications.js +30 -16
  89. package/dist-esm/src/operations/applications.js.map +1 -1
  90. package/dist-esm/src/operations/clusters.d.ts +9 -9
  91. package/dist-esm/src/operations/clusters.d.ts.map +1 -1
  92. package/dist-esm/src/operations/clusters.js +90 -58
  93. package/dist-esm/src/operations/clusters.js.map +1 -1
  94. package/dist-esm/src/operations/configurations.d.ts +2 -2
  95. package/dist-esm/src/operations/configurations.d.ts.map +1 -1
  96. package/dist-esm/src/operations/configurations.js +19 -15
  97. package/dist-esm/src/operations/configurations.js.map +1 -1
  98. package/dist-esm/src/operations/extensions.d.ts +7 -7
  99. package/dist-esm/src/operations/extensions.d.ts.map +1 -1
  100. package/dist-esm/src/operations/extensions.js +68 -38
  101. package/dist-esm/src/operations/extensions.js.map +1 -1
  102. package/dist-esm/src/operations/index.d.ts +5 -5
  103. package/dist-esm/src/operations/index.d.ts.map +1 -1
  104. package/dist-esm/src/operations/index.js +5 -5
  105. package/dist-esm/src/operations/index.js.map +1 -1
  106. package/dist-esm/src/operations/locations.js +4 -4
  107. package/dist-esm/src/operations/locations.js.map +1 -1
  108. package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
  109. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  110. package/dist-esm/src/operations/privateEndpointConnections.js +32 -24
  111. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  112. package/dist-esm/src/operations/virtualMachines.d.ts +2 -2
  113. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
  114. package/dist-esm/src/operations/virtualMachines.js +12 -8
  115. package/dist-esm/src/operations/virtualMachines.js.map +1 -1
  116. package/dist-esm/src/operationsInterfaces/applications.d.ts +3 -3
  117. package/dist-esm/src/operationsInterfaces/applications.d.ts.map +1 -1
  118. package/dist-esm/src/operationsInterfaces/clusters.d.ts +9 -9
  119. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -1
  120. package/dist-esm/src/operationsInterfaces/configurations.d.ts +2 -2
  121. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -1
  122. package/dist-esm/src/operationsInterfaces/extensions.d.ts +7 -7
  123. package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -1
  124. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -5
  125. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  126. package/dist-esm/src/operationsInterfaces/index.js +5 -5
  127. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  128. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  129. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  130. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +2 -2
  131. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
  132. package/dist-esm/test/hdinsights_operations_test.spec.d.ts +4 -0
  133. package/dist-esm/test/hdinsights_operations_test.spec.d.ts.map +1 -0
  134. package/dist-esm/test/hdinsights_operations_test.spec.js +86 -0
  135. package/dist-esm/test/hdinsights_operations_test.spec.js.map +1 -0
  136. package/package.json +7 -7
  137. package/review/arm-hdinsight.api.md +23 -22
  138. package/src/hDInsightManagementClient.ts +24 -24
  139. package/src/lroImpl.ts +31 -23
  140. package/src/models/index.ts +838 -836
  141. package/src/models/mappers.ts +1559 -1553
  142. package/src/models/parameters.ts +101 -101
  143. package/src/operations/applications.ts +40 -27
  144. package/src/operations/clusters.ts +106 -99
  145. package/src/operations/configurations.ts +18 -14
  146. package/src/operations/extensions.ts +78 -68
  147. package/src/operations/index.ts +5 -5
  148. package/src/operations/locations.ts +4 -4
  149. package/src/operations/privateEndpointConnections.ts +31 -24
  150. package/src/operations/virtualMachines.ts +17 -13
  151. package/src/operationsInterfaces/applications.ts +4 -4
  152. package/src/operationsInterfaces/clusters.ts +10 -10
  153. package/src/operationsInterfaces/configurations.ts +2 -2
  154. package/src/operationsInterfaces/extensions.ts +7 -7
  155. package/src/operationsInterfaces/index.ts +5 -5
  156. package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
  157. package/src/operationsInterfaces/virtualMachines.ts +2 -2
  158. package/types/arm-hdinsight.d.ts +29 -27
  159. package/types/tsdoc-metadata.json +1 -1
  160. package/dist-esm/test/sampleTest.d.ts +0 -2
  161. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  162. package/dist-esm/test/sampleTest.js +0 -38
  163. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -1,102 +1,52 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- /** The CreateCluster request parameters. */
3
- export interface ClusterCreateParametersExtended {
4
- /** The location of the cluster. */
5
- location?: string;
6
- /** The resource tags. */
7
- tags?: {
8
- [propertyName: string]: string;
9
- };
10
- /** The availability zones. */
11
- zones?: string[];
12
- /** The cluster create parameters. */
13
- properties?: ClusterCreateProperties;
14
- /** The identity of the cluster, if configured. */
15
- identity?: ClusterIdentity;
2
+ /** Result of the request to list cluster Applications. It contains a list of operations and a URL link to get the next set of results. */
3
+ export interface ApplicationListResult {
4
+ /** The list of HDInsight applications installed on HDInsight cluster. */
5
+ value?: Application[];
6
+ /**
7
+ * The URL to get the next set of operation list results if there are any.
8
+ * NOTE: This property will not be serialized. It can only be populated by the server.
9
+ */
10
+ readonly nextLink?: string;
16
11
  }
17
- /** The cluster create parameters. */
18
- export interface ClusterCreateProperties {
19
- /** The version of the cluster. */
20
- clusterVersion?: string;
21
- /** The type of operating system. */
22
- osType?: OSType;
23
- /** The cluster tier. */
24
- tier?: Tier;
25
- /** The cluster definition. */
26
- clusterDefinition?: ClusterDefinition;
27
- /** The cluster kafka rest proxy configuration. */
28
- kafkaRestProperties?: KafkaRestProperties;
29
- /** The security profile. */
30
- securityProfile?: SecurityProfile;
31
- /** The compute profile. */
12
+ /** The HDInsight cluster application GET response. */
13
+ export interface ApplicationProperties {
14
+ /** The list of roles in the cluster. */
32
15
  computeProfile?: ComputeProfile;
33
- /** The storage profile. */
34
- storageProfile?: StorageProfile;
35
- /** The disk encryption properties. */
36
- diskEncryptionProperties?: DiskEncryptionProperties;
37
- /** The encryption-in-transit properties. */
38
- encryptionInTransitProperties?: EncryptionInTransitProperties;
39
- /** The minimal supported tls version. */
40
- minSupportedTlsVersion?: string;
41
- /** The network properties. */
42
- networkProperties?: NetworkProperties;
43
- /** The compute isolation properties. */
44
- computeIsolationProperties?: ComputeIsolationProperties;
45
- /** The private link configurations. */
46
- privateLinkConfigurations?: PrivateLinkConfiguration[];
47
- }
48
- /** The cluster definition. */
49
- export interface ClusterDefinition {
50
- /** The link to the blueprint. */
51
- blueprint?: string;
52
- /** The type of cluster. */
53
- kind?: string;
54
- /** The versions of different services in the cluster. */
55
- componentVersion?: {
56
- [propertyName: string]: string;
57
- };
58
- /** The cluster configurations. */
59
- configurations?: Record<string, unknown>;
60
- }
61
- /** The kafka rest proxy configuration which contains AAD security group information. */
62
- export interface KafkaRestProperties {
63
- /** The information of AAD security group. */
64
- clientGroupInfo?: ClientGroupInfo;
65
- /** The configurations that need to be overriden. */
66
- configurationOverride?: {
67
- [propertyName: string]: string;
68
- };
69
- }
70
- /** The information of AAD security group. */
71
- export interface ClientGroupInfo {
72
- /** The AAD security group name. */
73
- groupName?: string;
74
- /** The AAD security group id. */
75
- groupId?: string;
76
- }
77
- /** The security profile which contains Ssh public key for the HDInsight cluster. */
78
- export interface SecurityProfile {
79
- /** The directory type. */
80
- directoryType?: DirectoryType;
81
- /** The organization's active directory domain. */
82
- domain?: string;
83
- /** The organizational unit within the Active Directory to place the cluster and service accounts. */
84
- organizationalUnitDN?: string;
85
- /** The LDAPS protocol URLs to communicate with the Active Directory. */
86
- ldapsUrls?: string[];
87
- /** The domain user account that will have admin privileges on the cluster. */
88
- domainUsername?: string;
16
+ /** The list of install script actions. */
17
+ installScriptActions?: RuntimeScriptAction[];
18
+ /** The list of uninstall script actions. */
19
+ uninstallScriptActions?: RuntimeScriptAction[];
20
+ /** The list of application HTTPS endpoints. */
21
+ httpsEndpoints?: ApplicationGetHttpsEndpoint[];
22
+ /** The list of application SSH endpoints. */
23
+ sshEndpoints?: ApplicationGetEndpoint[];
89
24
  /**
90
- * The domain admin password.
91
- * This value contains a credential. Consider obscuring before showing to users
25
+ * The provisioning state of the application.
26
+ * NOTE: This property will not be serialized. It can only be populated by the server.
92
27
  */
93
- domainUserPassword?: string;
94
- /** Optional. The Distinguished Names for cluster user groups */
95
- clusterUsersGroupDNs?: string[];
96
- /** The resource ID of the user's Azure Active Directory Domain Service. */
97
- aaddsResourceId?: string;
98
- /** User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS. */
99
- msiResourceId?: string;
28
+ readonly provisioningState?: string;
29
+ /** The application type. */
30
+ applicationType?: string;
31
+ /**
32
+ * The application state.
33
+ * NOTE: This property will not be serialized. It can only be populated by the server.
34
+ */
35
+ readonly applicationState?: string;
36
+ /** The list of errors. */
37
+ errors?: Errors[];
38
+ /**
39
+ * The application create date time.
40
+ * NOTE: This property will not be serialized. It can only be populated by the server.
41
+ */
42
+ readonly createdDate?: string;
43
+ /**
44
+ * The marketplace identifier.
45
+ * NOTE: This property will not be serialized. It can only be populated by the server.
46
+ */
47
+ readonly marketplaceIdentifier?: string;
48
+ /** The private link configurations. */
49
+ privateLinkConfigurations?: PrivateLinkConfiguration[];
100
50
  }
101
51
  /** Describes the compute profile. */
102
52
  export interface ComputeProfile {
@@ -225,65 +175,62 @@ export interface ScriptAction {
225
175
  /** The parameters for the script provided. */
226
176
  parameters: string;
227
177
  }
228
- /** The storage profile. */
229
- export interface StorageProfile {
230
- /** The list of storage accounts in the cluster. */
231
- storageaccounts?: StorageAccount[];
232
- }
233
- /** The storage Account. */
234
- export interface StorageAccount {
235
- /** The name of the storage account. */
236
- name?: string;
237
- /** Whether or not the storage account is the default storage account. */
238
- isDefault?: boolean;
239
- /** The container in the storage account, only to be specified for WASB storage accounts. */
240
- container?: string;
241
- /** The filesystem, only to be specified for Azure Data Lake Storage Gen 2. */
242
- fileSystem?: string;
243
- /** The storage account access key. */
244
- key?: string;
245
- /** The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2. */
246
- resourceId?: string;
247
- /** The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2. */
248
- msiResourceId?: string;
249
- /** The shared access signature key. */
250
- saskey?: string;
251
- /** The file share name. */
252
- fileshare?: string;
253
- }
254
- /** The disk encryption properties */
255
- export interface DiskEncryptionProperties {
256
- /** Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net */
257
- vaultUri?: string;
258
- /** Key name that is used for enabling disk encryption. */
259
- keyName?: string;
260
- /** Specific key version that is used for enabling disk encryption. */
261
- keyVersion?: string;
262
- /** Algorithm identifier for encryption, default RSA-OAEP. */
263
- encryptionAlgorithm?: JsonWebKeyEncryptionAlgorithm;
264
- /** Resource ID of Managed Identity that is used to access the key vault. */
265
- msiResourceId?: string;
266
- /** Indicates whether or not resource disk encryption is enabled. */
267
- encryptionAtHost?: boolean;
178
+ /** Describes a script action on a running cluster. */
179
+ export interface RuntimeScriptAction {
180
+ /** The name of the script action. */
181
+ name: string;
182
+ /** The URI to the script. */
183
+ uri: string;
184
+ /** The parameters for the script */
185
+ parameters?: string;
186
+ /** The list of roles where script will be executed. */
187
+ roles: string[];
188
+ /**
189
+ * The application name of the script action, if any.
190
+ * NOTE: This property will not be serialized. It can only be populated by the server.
191
+ */
192
+ readonly applicationName?: string;
268
193
  }
269
- /** The encryption-in-transit properties. */
270
- export interface EncryptionInTransitProperties {
271
- /** Indicates whether or not inter cluster node communication is encrypted in transit. */
272
- isEncryptionInTransitEnabled?: boolean;
194
+ /** Gets the application HTTP endpoints. */
195
+ export interface ApplicationGetHttpsEndpoint {
196
+ /** The list of access modes for the application. */
197
+ accessModes?: string[];
198
+ /**
199
+ * The location of the endpoint.
200
+ * NOTE: This property will not be serialized. It can only be populated by the server.
201
+ */
202
+ readonly location?: string;
203
+ /** The destination port to connect to. */
204
+ destinationPort?: number;
205
+ /**
206
+ * The public port to connect to.
207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
208
+ */
209
+ readonly publicPort?: number;
210
+ /** The private ip address of the endpoint. */
211
+ privateIPAddress?: string;
212
+ /** The subdomain suffix of the application. */
213
+ subDomainSuffix?: string;
214
+ /** The value indicates whether to disable GatewayAuth. */
215
+ disableGatewayAuth?: boolean;
273
216
  }
274
- /** The network properties. */
275
- export interface NetworkProperties {
276
- /** The direction for the resource provider connection. */
277
- resourceProviderConnection?: ResourceProviderConnection;
278
- /** Indicates whether or not private link is enabled. */
279
- privateLink?: PrivateLink;
217
+ /** Gets the application SSH endpoint */
218
+ export interface ApplicationGetEndpoint {
219
+ /** The location of the endpoint. */
220
+ location?: string;
221
+ /** The destination port to connect to. */
222
+ destinationPort?: number;
223
+ /** The public port to connect to. */
224
+ publicPort?: number;
225
+ /** The private ip address of the endpoint. */
226
+ privateIPAddress?: string;
280
227
  }
281
- /** The compute isolation properties. */
282
- export interface ComputeIsolationProperties {
283
- /** The flag indicates whether enable compute isolation or not. */
284
- enableComputeIsolation?: boolean;
285
- /** The host sku. */
286
- hostSku?: string;
228
+ /** The error message associated with the cluster creation. */
229
+ export interface Errors {
230
+ /** The error code. */
231
+ code?: string;
232
+ /** The error message. */
233
+ message?: string;
287
234
  }
288
235
  /** The private link configuration. */
289
236
  export interface PrivateLinkConfiguration {
@@ -342,15 +289,223 @@ export interface ResourceId {
342
289
  /** The azure resource id. */
343
290
  id?: string;
344
291
  }
345
- /** Identity for the cluster. */
346
- export interface ClusterIdentity {
347
- /**
348
- * The principal id of cluster identity. This property will only be provided for a system assigned identity.
349
- * NOTE: This property will not be serialized. It can only be populated by the server.
350
- */
351
- readonly principalId?: string;
352
- /**
353
- * The tenant id associated with the cluster. This property will only be provided for a system assigned identity.
292
+ /** Metadata pertaining to creation and last modification of the resource. */
293
+ export interface SystemData {
294
+ /** The identity that created the resource. */
295
+ createdBy?: string;
296
+ /** The type of identity that created the resource. */
297
+ createdByType?: CreatedByType;
298
+ /** The timestamp of resource creation (UTC). */
299
+ createdAt?: Date;
300
+ /** The identity that last modified the resource. */
301
+ lastModifiedBy?: string;
302
+ /** The type of identity that last modified the resource. */
303
+ lastModifiedByType?: CreatedByType;
304
+ /** The timestamp of resource last modification (UTC) */
305
+ lastModifiedAt?: Date;
306
+ }
307
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
308
+ export interface Resource {
309
+ /**
310
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
311
+ * NOTE: This property will not be serialized. It can only be populated by the server.
312
+ */
313
+ readonly id?: string;
314
+ /**
315
+ * The name of the resource
316
+ * NOTE: This property will not be serialized. It can only be populated by the server.
317
+ */
318
+ readonly name?: string;
319
+ /**
320
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
321
+ * NOTE: This property will not be serialized. It can only be populated by the server.
322
+ */
323
+ readonly type?: string;
324
+ }
325
+ /** Describes the format of Error response. */
326
+ export interface ErrorResponse {
327
+ /** Error code */
328
+ code?: string;
329
+ /** Error message indicating why the operation failed. */
330
+ message?: string;
331
+ }
332
+ /** The azure async operation response. */
333
+ export interface AsyncOperationResult {
334
+ /** The async operation state. */
335
+ status?: AsyncOperationState;
336
+ /** The operation error information. */
337
+ error?: Errors;
338
+ }
339
+ /** The CreateCluster request parameters. */
340
+ export interface ClusterCreateParametersExtended {
341
+ /** The location of the cluster. */
342
+ location?: string;
343
+ /** The resource tags. */
344
+ tags?: {
345
+ [propertyName: string]: string;
346
+ };
347
+ /** The availability zones. */
348
+ zones?: string[];
349
+ /** The cluster create parameters. */
350
+ properties?: ClusterCreateProperties;
351
+ /** The identity of the cluster, if configured. */
352
+ identity?: ClusterIdentity;
353
+ }
354
+ /** The cluster create parameters. */
355
+ export interface ClusterCreateProperties {
356
+ /** The version of the cluster. */
357
+ clusterVersion?: string;
358
+ /** The type of operating system. */
359
+ osType?: OSType;
360
+ /** The cluster tier. */
361
+ tier?: Tier;
362
+ /** The cluster definition. */
363
+ clusterDefinition?: ClusterDefinition;
364
+ /** The cluster kafka rest proxy configuration. */
365
+ kafkaRestProperties?: KafkaRestProperties;
366
+ /** The security profile. */
367
+ securityProfile?: SecurityProfile;
368
+ /** The compute profile. */
369
+ computeProfile?: ComputeProfile;
370
+ /** The storage profile. */
371
+ storageProfile?: StorageProfile;
372
+ /** The disk encryption properties. */
373
+ diskEncryptionProperties?: DiskEncryptionProperties;
374
+ /** The encryption-in-transit properties. */
375
+ encryptionInTransitProperties?: EncryptionInTransitProperties;
376
+ /** The minimal supported tls version. */
377
+ minSupportedTlsVersion?: string;
378
+ /** The network properties. */
379
+ networkProperties?: NetworkProperties;
380
+ /** The compute isolation properties. */
381
+ computeIsolationProperties?: ComputeIsolationProperties;
382
+ /** The private link configurations. */
383
+ privateLinkConfigurations?: PrivateLinkConfiguration[];
384
+ }
385
+ /** The cluster definition. */
386
+ export interface ClusterDefinition {
387
+ /** The link to the blueprint. */
388
+ blueprint?: string;
389
+ /** The type of cluster. */
390
+ kind?: string;
391
+ /** The versions of different services in the cluster. */
392
+ componentVersion?: {
393
+ [propertyName: string]: string;
394
+ };
395
+ /** The cluster configurations. */
396
+ configurations?: Record<string, unknown>;
397
+ }
398
+ /** The kafka rest proxy configuration which contains AAD security group information. */
399
+ export interface KafkaRestProperties {
400
+ /** The information of AAD security group. */
401
+ clientGroupInfo?: ClientGroupInfo;
402
+ /** The configurations that need to be overriden. */
403
+ configurationOverride?: {
404
+ [propertyName: string]: string;
405
+ };
406
+ }
407
+ /** The information of AAD security group. */
408
+ export interface ClientGroupInfo {
409
+ /** The AAD security group name. */
410
+ groupName?: string;
411
+ /** The AAD security group id. */
412
+ groupId?: string;
413
+ }
414
+ /** The security profile which contains Ssh public key for the HDInsight cluster. */
415
+ export interface SecurityProfile {
416
+ /** The directory type. */
417
+ directoryType?: DirectoryType;
418
+ /** The organization's active directory domain. */
419
+ domain?: string;
420
+ /** The organizational unit within the Active Directory to place the cluster and service accounts. */
421
+ organizationalUnitDN?: string;
422
+ /** The LDAPS protocol URLs to communicate with the Active Directory. */
423
+ ldapsUrls?: string[];
424
+ /** The domain user account that will have admin privileges on the cluster. */
425
+ domainUsername?: string;
426
+ /**
427
+ * The domain admin password.
428
+ * This value contains a credential. Consider obscuring before showing to users
429
+ */
430
+ domainUserPassword?: string;
431
+ /** Optional. The Distinguished Names for cluster user groups */
432
+ clusterUsersGroupDNs?: string[];
433
+ /** The resource ID of the user's Azure Active Directory Domain Service. */
434
+ aaddsResourceId?: string;
435
+ /** User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS. */
436
+ msiResourceId?: string;
437
+ }
438
+ /** The storage profile. */
439
+ export interface StorageProfile {
440
+ /** The list of storage accounts in the cluster. */
441
+ storageaccounts?: StorageAccount[];
442
+ }
443
+ /** The storage Account. */
444
+ export interface StorageAccount {
445
+ /** The name of the storage account. */
446
+ name?: string;
447
+ /** Whether or not the storage account is the default storage account. */
448
+ isDefault?: boolean;
449
+ /** The container in the storage account, only to be specified for WASB storage accounts. */
450
+ container?: string;
451
+ /** The filesystem, only to be specified for Azure Data Lake Storage Gen 2. */
452
+ fileSystem?: string;
453
+ /** The storage account access key. */
454
+ key?: string;
455
+ /** The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2. */
456
+ resourceId?: string;
457
+ /** The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2. */
458
+ msiResourceId?: string;
459
+ /** The shared access signature key. */
460
+ saskey?: string;
461
+ /** The file share name. */
462
+ fileshare?: string;
463
+ /** Enable secure channel or not, it's an optional field. Default value is false when cluster version < 5.1 and true when cluster version >= 5.1 , */
464
+ enableSecureChannel?: boolean;
465
+ }
466
+ /** The disk encryption properties */
467
+ export interface DiskEncryptionProperties {
468
+ /** Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net */
469
+ vaultUri?: string;
470
+ /** Key name that is used for enabling disk encryption. */
471
+ keyName?: string;
472
+ /** Specific key version that is used for enabling disk encryption. */
473
+ keyVersion?: string;
474
+ /** Algorithm identifier for encryption, default RSA-OAEP. */
475
+ encryptionAlgorithm?: JsonWebKeyEncryptionAlgorithm;
476
+ /** Resource ID of Managed Identity that is used to access the key vault. */
477
+ msiResourceId?: string;
478
+ /** Indicates whether or not resource disk encryption is enabled. */
479
+ encryptionAtHost?: boolean;
480
+ }
481
+ /** The encryption-in-transit properties. */
482
+ export interface EncryptionInTransitProperties {
483
+ /** Indicates whether or not inter cluster node communication is encrypted in transit. */
484
+ isEncryptionInTransitEnabled?: boolean;
485
+ }
486
+ /** The network properties. */
487
+ export interface NetworkProperties {
488
+ /** The direction for the resource provider connection. */
489
+ resourceProviderConnection?: ResourceProviderConnection;
490
+ /** Indicates whether or not private link is enabled. */
491
+ privateLink?: PrivateLink;
492
+ }
493
+ /** The compute isolation properties. */
494
+ export interface ComputeIsolationProperties {
495
+ /** The flag indicates whether enable compute isolation or not. */
496
+ enableComputeIsolation?: boolean;
497
+ /** The host sku. */
498
+ hostSku?: string;
499
+ }
500
+ /** Identity for the cluster. */
501
+ export interface ClusterIdentity {
502
+ /**
503
+ * The principal id of cluster identity. This property will only be provided for a system assigned identity.
504
+ * NOTE: This property will not be serialized. It can only be populated by the server.
505
+ */
506
+ readonly principalId?: string;
507
+ /**
508
+ * The tenant id associated with the cluster. This property will only be provided for a system assigned identity.
354
509
  * NOTE: This property will not be serialized. It can only be populated by the server.
355
510
  */
356
511
  readonly tenantId?: string;
@@ -435,13 +590,6 @@ export interface QuotaInfo {
435
590
  /** The cores used by the cluster. */
436
591
  coresUsed?: number;
437
592
  }
438
- /** The error message associated with the cluster creation. */
439
- export interface Errors {
440
- /** The error code. */
441
- code?: string;
442
- /** The error message. */
443
- message?: string;
444
- }
445
593
  /** The connectivity properties */
446
594
  export interface ConnectivityEndpoint {
447
595
  /** The name of the endpoint. */
@@ -476,39 +624,6 @@ export interface PrivateLinkServiceConnectionState {
476
624
  /** Whether there is further actions. */
477
625
  actionsRequired?: string;
478
626
  }
479
- /** Metadata pertaining to creation and last modification of the resource. */
480
- export interface SystemData {
481
- /** The identity that created the resource. */
482
- createdBy?: string;
483
- /** The type of identity that created the resource. */
484
- createdByType?: CreatedByType;
485
- /** The timestamp of resource creation (UTC). */
486
- createdAt?: Date;
487
- /** The identity that last modified the resource. */
488
- lastModifiedBy?: string;
489
- /** The type of identity that last modified the resource. */
490
- lastModifiedByType?: CreatedByType;
491
- /** The timestamp of resource last modification (UTC) */
492
- lastModifiedAt?: Date;
493
- }
494
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
495
- export interface Resource {
496
- /**
497
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
498
- * NOTE: This property will not be serialized. It can only be populated by the server.
499
- */
500
- readonly id?: string;
501
- /**
502
- * The name of the resource
503
- * NOTE: This property will not be serialized. It can only be populated by the server.
504
- */
505
- readonly name?: string;
506
- /**
507
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
508
- * NOTE: This property will not be serialized. It can only be populated by the server.
509
- */
510
- readonly type?: string;
511
- }
512
627
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
513
628
  export interface ResourceAutoGenerated {
514
629
  /**
@@ -527,13 +642,6 @@ export interface ResourceAutoGenerated {
527
642
  */
528
643
  readonly type?: string;
529
644
  }
530
- /** Describes the format of Error response. */
531
- export interface ErrorResponse {
532
- /** Error code */
533
- code?: string;
534
- /** Error message indicating why the operation failed. */
535
- message?: string;
536
- }
537
645
  /** The PatchCluster request parameters */
538
646
  export interface ClusterPatchParameters {
539
647
  /** The resource tags. */
@@ -597,13 +705,6 @@ export interface UpdateGatewaySettingsParameters {
597
705
  /** The gateway settings user password. */
598
706
  password?: string;
599
707
  }
600
- /** The azure async operation response. */
601
- export interface AsyncOperationResult {
602
- /** The async operation state. */
603
- status?: AsyncOperationState;
604
- /** The operation error information. */
605
- error?: Errors;
606
- }
607
708
  /** The update cluster identity certificate request parameters. */
608
709
  export interface UpdateClusterIdentityCertificateParameters {
609
710
  /** The application id. */
@@ -613,104 +714,69 @@ export interface UpdateClusterIdentityCertificateParameters {
613
714
  /** The password of the certificate. */
614
715
  certificatePassword?: string;
615
716
  }
616
- /** Result of the request to list cluster Applications. It contains a list of operations and a URL link to get the next set of results. */
617
- export interface ApplicationListResult {
618
- /** The list of HDInsight applications installed on HDInsight cluster. */
619
- value?: Application[];
620
- /**
621
- * The URL to get the next set of operation list results if there are any.
622
- * NOTE: This property will not be serialized. It can only be populated by the server.
623
- */
624
- readonly nextLink?: string;
717
+ /** The configuration object for the specified cluster. */
718
+ export interface ClusterConfigurations {
719
+ /** The configuration object for the specified configuration for the specified cluster. */
720
+ configurations?: {
721
+ [propertyName: string]: {
722
+ [propertyName: string]: string;
723
+ };
724
+ };
625
725
  }
626
- /** The HDInsight cluster application GET response. */
627
- export interface ApplicationProperties {
628
- /** The list of roles in the cluster. */
629
- computeProfile?: ComputeProfile;
630
- /** The list of install script actions. */
631
- installScriptActions?: RuntimeScriptAction[];
632
- /** The list of uninstall script actions. */
633
- uninstallScriptActions?: RuntimeScriptAction[];
634
- /** The list of application HTTPS endpoints. */
635
- httpsEndpoints?: ApplicationGetHttpsEndpoint[];
636
- /** The list of application SSH endpoints. */
637
- sshEndpoints?: ApplicationGetEndpoint[];
638
- /**
639
- * The provisioning state of the application.
640
- * NOTE: This property will not be serialized. It can only be populated by the server.
641
- */
642
- readonly provisioningState?: string;
643
- /** The application type. */
644
- applicationType?: string;
645
- /**
646
- * The application state.
647
- * NOTE: This property will not be serialized. It can only be populated by the server.
648
- */
649
- readonly applicationState?: string;
650
- /** The list of errors. */
651
- errors?: Errors[];
652
- /**
653
- * The application create date time.
654
- * NOTE: This property will not be serialized. It can only be populated by the server.
655
- */
656
- readonly createdDate?: string;
657
- /**
658
- * The marketplace identifier.
659
- * NOTE: This property will not be serialized. It can only be populated by the server.
660
- */
661
- readonly marketplaceIdentifier?: string;
662
- /** The private link configurations. */
663
- privateLinkConfigurations?: PrivateLinkConfiguration[];
726
+ /** The cluster monitor parameters. */
727
+ export interface ClusterMonitoringRequest {
728
+ /** The cluster monitor workspace ID. */
729
+ workspaceId?: string;
730
+ /** The cluster monitor workspace key. */
731
+ primaryKey?: string;
664
732
  }
665
- /** Describes a script action on a running cluster. */
666
- export interface RuntimeScriptAction {
667
- /** The name of the script action. */
668
- name: string;
669
- /** The URI to the script. */
670
- uri: string;
671
- /** The parameters for the script */
672
- parameters?: string;
673
- /** The list of roles where script will be executed. */
674
- roles: string[];
675
- /**
676
- * The application name of the script action, if any.
677
- * NOTE: This property will not be serialized. It can only be populated by the server.
678
- */
679
- readonly applicationName?: string;
733
+ /** The cluster monitoring status response. */
734
+ export interface ClusterMonitoringResponse {
735
+ /** The status of the monitor on the HDInsight cluster. */
736
+ clusterMonitoringEnabled?: boolean;
737
+ /** The workspace ID of the monitor on the HDInsight cluster. */
738
+ workspaceId?: string;
739
+ }
740
+ /** The azure monitor parameters. */
741
+ export interface AzureMonitorRequest {
742
+ /** The Log Analytics workspace ID. */
743
+ workspaceId?: string;
744
+ /** The Log Analytics workspace key. */
745
+ primaryKey?: string;
746
+ /** The selected configurations. */
747
+ selectedConfigurations?: AzureMonitorSelectedConfigurations;
748
+ }
749
+ /** The selected configurations for azure monitor. */
750
+ export interface AzureMonitorSelectedConfigurations {
751
+ /** The configuration version. */
752
+ configurationVersion?: string;
753
+ /** The global configurations of selected configurations. */
754
+ globalConfigurations?: {
755
+ [propertyName: string]: string;
756
+ };
757
+ /** The table list. */
758
+ tableList?: AzureMonitorTableConfiguration[];
680
759
  }
681
- /** Gets the application HTTP endpoints. */
682
- export interface ApplicationGetHttpsEndpoint {
683
- /** The list of access modes for the application. */
684
- accessModes?: string[];
685
- /**
686
- * The location of the endpoint.
687
- * NOTE: This property will not be serialized. It can only be populated by the server.
688
- */
689
- readonly location?: string;
690
- /** The destination port to connect to. */
691
- destinationPort?: number;
692
- /**
693
- * The public port to connect to.
694
- * NOTE: This property will not be serialized. It can only be populated by the server.
695
- */
696
- readonly publicPort?: number;
697
- /** The private ip address of the endpoint. */
698
- privateIPAddress?: string;
699
- /** The subdomain suffix of the application. */
700
- subDomainSuffix?: string;
701
- /** The value indicates whether to disable GatewayAuth. */
702
- disableGatewayAuth?: boolean;
760
+ /** The table configuration for the Log Analytics integration. */
761
+ export interface AzureMonitorTableConfiguration {
762
+ /** The name. */
763
+ name?: string;
703
764
  }
704
- /** Gets the application SSH endpoint */
705
- export interface ApplicationGetEndpoint {
706
- /** The location of the endpoint. */
707
- location?: string;
708
- /** The destination port to connect to. */
709
- destinationPort?: number;
710
- /** The public port to connect to. */
711
- publicPort?: number;
712
- /** The private ip address of the endpoint. */
713
- privateIPAddress?: string;
765
+ /** The azure monitor status response. */
766
+ export interface AzureMonitorResponse {
767
+ /** The status of the monitor on the HDInsight cluster. */
768
+ clusterMonitoringEnabled?: boolean;
769
+ /** The workspace ID of the monitor on the HDInsight cluster. */
770
+ workspaceId?: string;
771
+ /** The selected configurations. */
772
+ selectedConfigurations?: AzureMonitorSelectedConfigurations;
773
+ }
774
+ /** Cluster monitoring extensions. */
775
+ export interface Extension {
776
+ /** The workspace ID for the cluster monitoring extension. */
777
+ workspaceId?: string;
778
+ /** The certificate for the cluster monitoring extensions. */
779
+ primaryKey?: string;
714
780
  }
715
781
  /** The Get Capabilities operation response. */
716
782
  export interface CapabilitiesResult {
@@ -945,113 +1011,6 @@ export interface AaddsResourceDetails {
945
1011
  /** The tenant id of azure active directory domain service . */
946
1012
  tenantId?: string;
947
1013
  }
948
- /** The configuration object for the specified cluster. */
949
- export interface ClusterConfigurations {
950
- /** The configuration object for the specified configuration for the specified cluster. */
951
- configurations?: {
952
- [propertyName: string]: {
953
- [propertyName: string]: string;
954
- };
955
- };
956
- }
957
- /** The cluster monitor parameters. */
958
- export interface ClusterMonitoringRequest {
959
- /** The cluster monitor workspace ID. */
960
- workspaceId?: string;
961
- /** The cluster monitor workspace key. */
962
- primaryKey?: string;
963
- }
964
- /** The cluster monitoring status response. */
965
- export interface ClusterMonitoringResponse {
966
- /** The status of the monitor on the HDInsight cluster. */
967
- clusterMonitoringEnabled?: boolean;
968
- /** The workspace ID of the monitor on the HDInsight cluster. */
969
- workspaceId?: string;
970
- }
971
- /** The azure monitor parameters. */
972
- export interface AzureMonitorRequest {
973
- /** The Log Analytics workspace ID. */
974
- workspaceId?: string;
975
- /** The Log Analytics workspace key. */
976
- primaryKey?: string;
977
- /** The selected configurations. */
978
- selectedConfigurations?: AzureMonitorSelectedConfigurations;
979
- }
980
- /** The selected configurations for azure monitor. */
981
- export interface AzureMonitorSelectedConfigurations {
982
- /** The configuration version. */
983
- configurationVersion?: string;
984
- /** The global configurations of selected configurations. */
985
- globalConfigurations?: {
986
- [propertyName: string]: string;
987
- };
988
- /** The table list. */
989
- tableList?: AzureMonitorTableConfiguration[];
990
- }
991
- /** The table configuration for the Log Analytics integration. */
992
- export interface AzureMonitorTableConfiguration {
993
- /** The name. */
994
- name?: string;
995
- }
996
- /** The azure monitor status response. */
997
- export interface AzureMonitorResponse {
998
- /** The status of the monitor on the HDInsight cluster. */
999
- clusterMonitoringEnabled?: boolean;
1000
- /** The workspace ID of the monitor on the HDInsight cluster. */
1001
- workspaceId?: string;
1002
- /** The selected configurations. */
1003
- selectedConfigurations?: AzureMonitorSelectedConfigurations;
1004
- }
1005
- /** Cluster monitoring extensions. */
1006
- export interface Extension {
1007
- /** The workspace ID for the cluster monitoring extension. */
1008
- workspaceId?: string;
1009
- /** The certificate for the cluster monitoring extensions. */
1010
- primaryKey?: string;
1011
- }
1012
- /** The parameters for the script actions to execute on a running cluster. */
1013
- export interface ExecuteScriptActionParameters {
1014
- /** The list of run time script actions. */
1015
- scriptActions?: RuntimeScriptAction[];
1016
- /** Gets or sets if the scripts needs to be persisted. */
1017
- persistOnSuccess: boolean;
1018
- }
1019
- /** The persisted script action for the cluster. */
1020
- export interface ScriptActionsList {
1021
- /** The list of persisted script action details for the cluster. */
1022
- value?: RuntimeScriptActionDetail[];
1023
- /**
1024
- * The link (url) to the next page of results.
1025
- * NOTE: This property will not be serialized. It can only be populated by the server.
1026
- */
1027
- readonly nextLink?: string;
1028
- }
1029
- /** The execution summary of a script action. */
1030
- export interface ScriptActionExecutionSummary {
1031
- /**
1032
- * The status of script action execution.
1033
- * NOTE: This property will not be serialized. It can only be populated by the server.
1034
- */
1035
- readonly status?: string;
1036
- /**
1037
- * The instance count for a given script action execution status.
1038
- * NOTE: This property will not be serialized. It can only be populated by the server.
1039
- */
1040
- readonly instanceCount?: number;
1041
- }
1042
- /** The list script execution history response. */
1043
- export interface ScriptActionExecutionHistoryList {
1044
- /**
1045
- * The list of persisted script action details for the cluster.
1046
- * NOTE: This property will not be serialized. It can only be populated by the server.
1047
- */
1048
- readonly value?: RuntimeScriptActionDetail[];
1049
- /**
1050
- * The link (url) to the next page of results.
1051
- * NOTE: This property will not be serialized. It can only be populated by the server.
1052
- */
1053
- readonly nextLink?: string;
1054
- }
1055
1014
  /** Result of the request to list HDInsight operations. It contains a list of operations and a URL link to get the next set of results. */
1056
1015
  export interface OperationListResult {
1057
1016
  /** The list of HDInsight operations supported by the HDInsight resource provider. */
@@ -1137,15 +1096,6 @@ export interface Dimension {
1137
1096
  /** The flag indicates whether the metric will be exported for shoebox or not. */
1138
1097
  toBeExportedForShoebox?: boolean;
1139
1098
  }
1140
- /** The cluster host information. */
1141
- export interface HostInfo {
1142
- /** The host name */
1143
- name?: string;
1144
- /** The Fully Qualified Domain Name of host */
1145
- fqdn?: string;
1146
- /** The effective disk encryption key URL used by the host */
1147
- effectiveDiskEncryptionKeyUrl?: string;
1148
- }
1149
1099
  /** The list private endpoint connections response. */
1150
1100
  export interface PrivateEndpointConnectionListResult {
1151
1101
  /** The list of private endpoint connections. */
@@ -1161,6 +1111,58 @@ export interface PrivateLinkResourceListResult {
1161
1111
  /** Array of private link resources */
1162
1112
  value?: PrivateLinkResource[];
1163
1113
  }
1114
+ /** The parameters for the script actions to execute on a running cluster. */
1115
+ export interface ExecuteScriptActionParameters {
1116
+ /** The list of run time script actions. */
1117
+ scriptActions?: RuntimeScriptAction[];
1118
+ /** Gets or sets if the scripts needs to be persisted. */
1119
+ persistOnSuccess: boolean;
1120
+ }
1121
+ /** The persisted script action for the cluster. */
1122
+ export interface ScriptActionsList {
1123
+ /** The list of persisted script action details for the cluster. */
1124
+ value?: RuntimeScriptActionDetail[];
1125
+ /**
1126
+ * The link (url) to the next page of results.
1127
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1128
+ */
1129
+ readonly nextLink?: string;
1130
+ }
1131
+ /** The execution summary of a script action. */
1132
+ export interface ScriptActionExecutionSummary {
1133
+ /**
1134
+ * The status of script action execution.
1135
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1136
+ */
1137
+ readonly status?: string;
1138
+ /**
1139
+ * The instance count for a given script action execution status.
1140
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1141
+ */
1142
+ readonly instanceCount?: number;
1143
+ }
1144
+ /** The list script execution history response. */
1145
+ export interface ScriptActionExecutionHistoryList {
1146
+ /**
1147
+ * The list of persisted script action details for the cluster.
1148
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1149
+ */
1150
+ readonly value?: RuntimeScriptActionDetail[];
1151
+ /**
1152
+ * The link (url) to the next page of results.
1153
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1154
+ */
1155
+ readonly nextLink?: string;
1156
+ }
1157
+ /** The cluster host information. */
1158
+ export interface HostInfo {
1159
+ /** The host name */
1160
+ name?: string;
1161
+ /** The Fully Qualified Domain Name of host */
1162
+ fqdn?: string;
1163
+ /** The effective disk encryption key URL used by the host */
1164
+ effectiveDiskEncryptionKeyUrl?: string;
1165
+ }
1164
1166
  /** The ListPersistedScriptActions operation response. */
1165
1167
  export interface ClusterListPersistedScriptActionsResult {
1166
1168
  /** The list of Persisted Script Actions. */
@@ -1184,16 +1186,46 @@ export interface ScriptActionPersistedGetResponseSpec {
1184
1186
  /** The application name for the script action. */
1185
1187
  applicationName?: string;
1186
1188
  }
1187
- /** The cluster create request specification. */
1188
- export interface ClusterCreateRequestValidationParameters extends ClusterCreateParametersExtended {
1189
- /** The cluster name. */
1190
- name?: string;
1191
- /** The resource type. */
1192
- type?: string;
1193
- /** The tenant id. */
1194
- tenantId?: string;
1195
- /** This indicates whether fetch Aadds resource or not. */
1196
- fetchAaddsResource?: boolean;
1189
+ /** The execution details of a script action. */
1190
+ export interface RuntimeScriptActionDetail extends RuntimeScriptAction {
1191
+ /**
1192
+ * The execution id of the script action.
1193
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1194
+ */
1195
+ readonly scriptExecutionId?: number;
1196
+ /**
1197
+ * The start time of script action execution.
1198
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1199
+ */
1200
+ readonly startTime?: string;
1201
+ /**
1202
+ * The end time of script action execution.
1203
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1204
+ */
1205
+ readonly endTime?: string;
1206
+ /**
1207
+ * The current execution status of the script action.
1208
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1209
+ */
1210
+ readonly status?: string;
1211
+ /**
1212
+ * The reason why the script action was executed.
1213
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1214
+ */
1215
+ readonly operation?: string;
1216
+ /**
1217
+ * The summary of script action execution result.
1218
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1219
+ */
1220
+ readonly executionSummary?: ScriptActionExecutionSummary[];
1221
+ /**
1222
+ * The script action execution debug information.
1223
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1224
+ */
1225
+ readonly debugInformation?: string;
1226
+ }
1227
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1228
+ export interface ProxyResource extends Resource {
1197
1229
  }
1198
1230
  /** The private endpoint connection. */
1199
1231
  export interface PrivateEndpointConnection extends Resource {
@@ -1220,8 +1252,16 @@ export interface PrivateEndpointConnection extends Resource {
1220
1252
  */
1221
1253
  readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1222
1254
  }
1223
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1224
- export interface ProxyResource extends Resource {
1255
+ /** The cluster create request specification. */
1256
+ export interface ClusterCreateRequestValidationParameters extends ClusterCreateParametersExtended {
1257
+ /** The cluster name. */
1258
+ name?: string;
1259
+ /** The resource type. */
1260
+ type?: string;
1261
+ /** The tenant id. */
1262
+ tenantId?: string;
1263
+ /** This indicates whether fetch Aadds resource or not. */
1264
+ fetchAaddsResource?: boolean;
1225
1265
  }
1226
1266
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1227
1267
  export interface TrackedResource extends ResourceAutoGenerated {
@@ -1252,44 +1292,6 @@ export interface PrivateLinkResource extends ResourceAutoGenerated {
1252
1292
  /** The private link resource Private link DNS zone name. */
1253
1293
  requiredZoneNames?: string[];
1254
1294
  }
1255
- /** The execution details of a script action. */
1256
- export interface RuntimeScriptActionDetail extends RuntimeScriptAction {
1257
- /**
1258
- * The execution id of the script action.
1259
- * NOTE: This property will not be serialized. It can only be populated by the server.
1260
- */
1261
- readonly scriptExecutionId?: number;
1262
- /**
1263
- * The start time of script action execution.
1264
- * NOTE: This property will not be serialized. It can only be populated by the server.
1265
- */
1266
- readonly startTime?: string;
1267
- /**
1268
- * The end time of script action execution.
1269
- * NOTE: This property will not be serialized. It can only be populated by the server.
1270
- */
1271
- readonly endTime?: string;
1272
- /**
1273
- * The current execution status of the script action.
1274
- * NOTE: This property will not be serialized. It can only be populated by the server.
1275
- */
1276
- readonly status?: string;
1277
- /**
1278
- * The reason why the script action was executed.
1279
- * NOTE: This property will not be serialized. It can only be populated by the server.
1280
- */
1281
- readonly operation?: string;
1282
- /**
1283
- * The summary of script action execution result.
1284
- * NOTE: This property will not be serialized. It can only be populated by the server.
1285
- */
1286
- readonly executionSummary?: ScriptActionExecutionSummary[];
1287
- /**
1288
- * The script action execution debug information.
1289
- * NOTE: This property will not be serialized. It can only be populated by the server.
1290
- */
1291
- readonly debugInformation?: string;
1292
- }
1293
1295
  /** The HDInsight cluster application */
1294
1296
  export interface Application extends ProxyResource {
1295
1297
  /** The ETag for the application */
@@ -1322,6 +1324,119 @@ export interface Cluster extends TrackedResource {
1322
1324
  */
1323
1325
  readonly systemData?: SystemData;
1324
1326
  }
1327
+ /** Known values of {@link DaysOfWeek} that the service accepts. */
1328
+ export declare enum KnownDaysOfWeek {
1329
+ /** Monday */
1330
+ Monday = "Monday",
1331
+ /** Tuesday */
1332
+ Tuesday = "Tuesday",
1333
+ /** Wednesday */
1334
+ Wednesday = "Wednesday",
1335
+ /** Thursday */
1336
+ Thursday = "Thursday",
1337
+ /** Friday */
1338
+ Friday = "Friday",
1339
+ /** Saturday */
1340
+ Saturday = "Saturday",
1341
+ /** Sunday */
1342
+ Sunday = "Sunday"
1343
+ }
1344
+ /**
1345
+ * Defines values for DaysOfWeek. \
1346
+ * {@link KnownDaysOfWeek} can be used interchangeably with DaysOfWeek,
1347
+ * this enum contains the known values that the service supports.
1348
+ * ### Known values supported by the service
1349
+ * **Monday** \
1350
+ * **Tuesday** \
1351
+ * **Wednesday** \
1352
+ * **Thursday** \
1353
+ * **Friday** \
1354
+ * **Saturday** \
1355
+ * **Sunday**
1356
+ */
1357
+ export type DaysOfWeek = string;
1358
+ /** Known values of {@link PrivateLinkConfigurationProvisioningState} that the service accepts. */
1359
+ export declare enum KnownPrivateLinkConfigurationProvisioningState {
1360
+ /** InProgress */
1361
+ InProgress = "InProgress",
1362
+ /** Failed */
1363
+ Failed = "Failed",
1364
+ /** Succeeded */
1365
+ Succeeded = "Succeeded",
1366
+ /** Canceled */
1367
+ Canceled = "Canceled",
1368
+ /** Deleting */
1369
+ Deleting = "Deleting"
1370
+ }
1371
+ /**
1372
+ * Defines values for PrivateLinkConfigurationProvisioningState. \
1373
+ * {@link KnownPrivateLinkConfigurationProvisioningState} can be used interchangeably with PrivateLinkConfigurationProvisioningState,
1374
+ * this enum contains the known values that the service supports.
1375
+ * ### Known values supported by the service
1376
+ * **InProgress** \
1377
+ * **Failed** \
1378
+ * **Succeeded** \
1379
+ * **Canceled** \
1380
+ * **Deleting**
1381
+ */
1382
+ export type PrivateLinkConfigurationProvisioningState = string;
1383
+ /** Known values of {@link PrivateIPAllocationMethod} that the service accepts. */
1384
+ export declare enum KnownPrivateIPAllocationMethod {
1385
+ /** Dynamic */
1386
+ Dynamic = "dynamic",
1387
+ /** Static */
1388
+ Static = "static"
1389
+ }
1390
+ /**
1391
+ * Defines values for PrivateIPAllocationMethod. \
1392
+ * {@link KnownPrivateIPAllocationMethod} can be used interchangeably with PrivateIPAllocationMethod,
1393
+ * this enum contains the known values that the service supports.
1394
+ * ### Known values supported by the service
1395
+ * **dynamic** \
1396
+ * **static**
1397
+ */
1398
+ export type PrivateIPAllocationMethod = string;
1399
+ /** Known values of {@link CreatedByType} that the service accepts. */
1400
+ export declare enum KnownCreatedByType {
1401
+ /** User */
1402
+ User = "User",
1403
+ /** Application */
1404
+ Application = "Application",
1405
+ /** ManagedIdentity */
1406
+ ManagedIdentity = "ManagedIdentity",
1407
+ /** Key */
1408
+ Key = "Key"
1409
+ }
1410
+ /**
1411
+ * Defines values for CreatedByType. \
1412
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1413
+ * this enum contains the known values that the service supports.
1414
+ * ### Known values supported by the service
1415
+ * **User** \
1416
+ * **Application** \
1417
+ * **ManagedIdentity** \
1418
+ * **Key**
1419
+ */
1420
+ export type CreatedByType = string;
1421
+ /** Known values of {@link AsyncOperationState} that the service accepts. */
1422
+ export declare enum KnownAsyncOperationState {
1423
+ /** InProgress */
1424
+ InProgress = "InProgress",
1425
+ /** Succeeded */
1426
+ Succeeded = "Succeeded",
1427
+ /** Failed */
1428
+ Failed = "Failed"
1429
+ }
1430
+ /**
1431
+ * Defines values for AsyncOperationState. \
1432
+ * {@link KnownAsyncOperationState} can be used interchangeably with AsyncOperationState,
1433
+ * this enum contains the known values that the service supports.
1434
+ * ### Known values supported by the service
1435
+ * **InProgress** \
1436
+ * **Succeeded** \
1437
+ * **Failed**
1438
+ */
1439
+ export type AsyncOperationState = string;
1325
1440
  /** Known values of {@link OSType} that the service accepts. */
1326
1441
  export declare enum KnownOSType {
1327
1442
  /** Windows */
@@ -1367,37 +1482,6 @@ export declare enum KnownDirectoryType {
1367
1482
  * **ActiveDirectory**
1368
1483
  */
1369
1484
  export type DirectoryType = string;
1370
- /** Known values of {@link DaysOfWeek} that the service accepts. */
1371
- export declare enum KnownDaysOfWeek {
1372
- /** Monday */
1373
- Monday = "Monday",
1374
- /** Tuesday */
1375
- Tuesday = "Tuesday",
1376
- /** Wednesday */
1377
- Wednesday = "Wednesday",
1378
- /** Thursday */
1379
- Thursday = "Thursday",
1380
- /** Friday */
1381
- Friday = "Friday",
1382
- /** Saturday */
1383
- Saturday = "Saturday",
1384
- /** Sunday */
1385
- Sunday = "Sunday"
1386
- }
1387
- /**
1388
- * Defines values for DaysOfWeek. \
1389
- * {@link KnownDaysOfWeek} can be used interchangeably with DaysOfWeek,
1390
- * this enum contains the known values that the service supports.
1391
- * ### Known values supported by the service
1392
- * **Monday** \
1393
- * **Tuesday** \
1394
- * **Wednesday** \
1395
- * **Thursday** \
1396
- * **Friday** \
1397
- * **Saturday** \
1398
- * **Sunday**
1399
- */
1400
- export type DaysOfWeek = string;
1401
1485
  /** Known values of {@link JsonWebKeyEncryptionAlgorithm} that the service accepts. */
1402
1486
  export declare enum KnownJsonWebKeyEncryptionAlgorithm {
1403
1487
  /** RSAOaep */
@@ -1448,48 +1532,7 @@ export declare enum KnownPrivateLink {
1448
1532
  * **Disabled** \
1449
1533
  * **Enabled**
1450
1534
  */
1451
- export type PrivateLink = string;
1452
- /** Known values of {@link PrivateLinkConfigurationProvisioningState} that the service accepts. */
1453
- export declare enum KnownPrivateLinkConfigurationProvisioningState {
1454
- /** InProgress */
1455
- InProgress = "InProgress",
1456
- /** Failed */
1457
- Failed = "Failed",
1458
- /** Succeeded */
1459
- Succeeded = "Succeeded",
1460
- /** Canceled */
1461
- Canceled = "Canceled",
1462
- /** Deleting */
1463
- Deleting = "Deleting"
1464
- }
1465
- /**
1466
- * Defines values for PrivateLinkConfigurationProvisioningState. \
1467
- * {@link KnownPrivateLinkConfigurationProvisioningState} can be used interchangeably with PrivateLinkConfigurationProvisioningState,
1468
- * this enum contains the known values that the service supports.
1469
- * ### Known values supported by the service
1470
- * **InProgress** \
1471
- * **Failed** \
1472
- * **Succeeded** \
1473
- * **Canceled** \
1474
- * **Deleting**
1475
- */
1476
- export type PrivateLinkConfigurationProvisioningState = string;
1477
- /** Known values of {@link PrivateIPAllocationMethod} that the service accepts. */
1478
- export declare enum KnownPrivateIPAllocationMethod {
1479
- /** Dynamic */
1480
- Dynamic = "dynamic",
1481
- /** Static */
1482
- Static = "static"
1483
- }
1484
- /**
1485
- * Defines values for PrivateIPAllocationMethod. \
1486
- * {@link KnownPrivateIPAllocationMethod} can be used interchangeably with PrivateIPAllocationMethod,
1487
- * this enum contains the known values that the service supports.
1488
- * ### Known values supported by the service
1489
- * **dynamic** \
1490
- * **static**
1491
- */
1492
- export type PrivateIPAllocationMethod = string;
1535
+ export type PrivateLink = string;
1493
1536
  /** Known values of {@link ResourceIdentityType} that the service accepts. */
1494
1537
  export declare enum KnownResourceIdentityType {
1495
1538
  /** SystemAssigned */
@@ -1587,28 +1630,6 @@ export declare enum KnownPrivateEndpointConnectionProvisioningState {
1587
1630
  * **Deleting**
1588
1631
  */
1589
1632
  export type PrivateEndpointConnectionProvisioningState = string;
1590
- /** Known values of {@link CreatedByType} that the service accepts. */
1591
- export declare enum KnownCreatedByType {
1592
- /** User */
1593
- User = "User",
1594
- /** Application */
1595
- Application = "Application",
1596
- /** ManagedIdentity */
1597
- ManagedIdentity = "ManagedIdentity",
1598
- /** Key */
1599
- Key = "Key"
1600
- }
1601
- /**
1602
- * Defines values for CreatedByType. \
1603
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1604
- * this enum contains the known values that the service supports.
1605
- * ### Known values supported by the service
1606
- * **User** \
1607
- * **Application** \
1608
- * **ManagedIdentity** \
1609
- * **Key**
1610
- */
1611
- export type CreatedByType = string;
1612
1633
  /** Known values of {@link RoleName} that the service accepts. */
1613
1634
  export declare enum KnownRoleName {
1614
1635
  /** Workernode */
@@ -1622,25 +1643,6 @@ export declare enum KnownRoleName {
1622
1643
  * **workernode**
1623
1644
  */
1624
1645
  export type RoleName = string;
1625
- /** Known values of {@link AsyncOperationState} that the service accepts. */
1626
- export declare enum KnownAsyncOperationState {
1627
- /** InProgress */
1628
- InProgress = "InProgress",
1629
- /** Succeeded */
1630
- Succeeded = "Succeeded",
1631
- /** Failed */
1632
- Failed = "Failed"
1633
- }
1634
- /**
1635
- * Defines values for AsyncOperationState. \
1636
- * {@link KnownAsyncOperationState} can be used interchangeably with AsyncOperationState,
1637
- * this enum contains the known values that the service supports.
1638
- * ### Known values supported by the service
1639
- * **InProgress** \
1640
- * **Succeeded** \
1641
- * **Failed**
1642
- */
1643
- export type AsyncOperationState = string;
1644
1646
  /** Known values of {@link FilterMode} that the service accepts. */
1645
1647
  export declare enum KnownFilterMode {
1646
1648
  /** Exclude */
@@ -1664,6 +1666,42 @@ export declare enum KnownFilterMode {
1664
1666
  */
1665
1667
  export type FilterMode = string;
1666
1668
  /** Optional parameters. */
1669
+ export interface ApplicationsListByClusterOptionalParams extends coreClient.OperationOptions {
1670
+ }
1671
+ /** Contains response data for the listByCluster operation. */
1672
+ export type ApplicationsListByClusterResponse = ApplicationListResult;
1673
+ /** Optional parameters. */
1674
+ export interface ApplicationsGetOptionalParams extends coreClient.OperationOptions {
1675
+ }
1676
+ /** Contains response data for the get operation. */
1677
+ export type ApplicationsGetResponse = Application;
1678
+ /** Optional parameters. */
1679
+ export interface ApplicationsCreateOptionalParams extends coreClient.OperationOptions {
1680
+ /** Delay to wait until next poll, in milliseconds. */
1681
+ updateIntervalInMs?: number;
1682
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1683
+ resumeFrom?: string;
1684
+ }
1685
+ /** Contains response data for the create operation. */
1686
+ export type ApplicationsCreateResponse = Application;
1687
+ /** Optional parameters. */
1688
+ export interface ApplicationsDeleteOptionalParams extends coreClient.OperationOptions {
1689
+ /** Delay to wait until next poll, in milliseconds. */
1690
+ updateIntervalInMs?: number;
1691
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1692
+ resumeFrom?: string;
1693
+ }
1694
+ /** Optional parameters. */
1695
+ export interface ApplicationsGetAzureAsyncOperationStatusOptionalParams extends coreClient.OperationOptions {
1696
+ }
1697
+ /** Contains response data for the getAzureAsyncOperationStatus operation. */
1698
+ export type ApplicationsGetAzureAsyncOperationStatusResponse = AsyncOperationResult;
1699
+ /** Optional parameters. */
1700
+ export interface ApplicationsListByClusterNextOptionalParams extends coreClient.OperationOptions {
1701
+ }
1702
+ /** Contains response data for the listByClusterNext operation. */
1703
+ export type ApplicationsListByClusterNextResponse = ApplicationListResult;
1704
+ /** Optional parameters. */
1667
1705
  export interface ClustersCreateOptionalParams extends coreClient.OperationOptions {
1668
1706
  /** Delay to wait until next poll, in milliseconds. */
1669
1707
  updateIntervalInMs?: number;
@@ -1762,72 +1800,6 @@ export interface ClustersListNextOptionalParams extends coreClient.OperationOpti
1762
1800
  /** Contains response data for the listNext operation. */
1763
1801
  export type ClustersListNextResponse = ClusterListResult;
1764
1802
  /** Optional parameters. */
1765
- export interface ApplicationsListByClusterOptionalParams extends coreClient.OperationOptions {
1766
- }
1767
- /** Contains response data for the listByCluster operation. */
1768
- export type ApplicationsListByClusterResponse = ApplicationListResult;
1769
- /** Optional parameters. */
1770
- export interface ApplicationsGetOptionalParams extends coreClient.OperationOptions {
1771
- }
1772
- /** Contains response data for the get operation. */
1773
- export type ApplicationsGetResponse = Application;
1774
- /** Optional parameters. */
1775
- export interface ApplicationsCreateOptionalParams extends coreClient.OperationOptions {
1776
- /** Delay to wait until next poll, in milliseconds. */
1777
- updateIntervalInMs?: number;
1778
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1779
- resumeFrom?: string;
1780
- }
1781
- /** Contains response data for the create operation. */
1782
- export type ApplicationsCreateResponse = Application;
1783
- /** Optional parameters. */
1784
- export interface ApplicationsDeleteOptionalParams extends coreClient.OperationOptions {
1785
- /** Delay to wait until next poll, in milliseconds. */
1786
- updateIntervalInMs?: number;
1787
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1788
- resumeFrom?: string;
1789
- }
1790
- /** Optional parameters. */
1791
- export interface ApplicationsGetAzureAsyncOperationStatusOptionalParams extends coreClient.OperationOptions {
1792
- }
1793
- /** Contains response data for the getAzureAsyncOperationStatus operation. */
1794
- export type ApplicationsGetAzureAsyncOperationStatusResponse = AsyncOperationResult;
1795
- /** Optional parameters. */
1796
- export interface ApplicationsListByClusterNextOptionalParams extends coreClient.OperationOptions {
1797
- }
1798
- /** Contains response data for the listByClusterNext operation. */
1799
- export type ApplicationsListByClusterNextResponse = ApplicationListResult;
1800
- /** Optional parameters. */
1801
- export interface LocationsGetCapabilitiesOptionalParams extends coreClient.OperationOptions {
1802
- }
1803
- /** Contains response data for the getCapabilities operation. */
1804
- export type LocationsGetCapabilitiesResponse = CapabilitiesResult;
1805
- /** Optional parameters. */
1806
- export interface LocationsListUsagesOptionalParams extends coreClient.OperationOptions {
1807
- }
1808
- /** Contains response data for the listUsages operation. */
1809
- export type LocationsListUsagesResponse = UsagesListResult;
1810
- /** Optional parameters. */
1811
- export interface LocationsListBillingSpecsOptionalParams extends coreClient.OperationOptions {
1812
- }
1813
- /** Contains response data for the listBillingSpecs operation. */
1814
- export type LocationsListBillingSpecsResponse = BillingResponseListResult;
1815
- /** Optional parameters. */
1816
- export interface LocationsGetAzureAsyncOperationStatusOptionalParams extends coreClient.OperationOptions {
1817
- }
1818
- /** Contains response data for the getAzureAsyncOperationStatus operation. */
1819
- export type LocationsGetAzureAsyncOperationStatusResponse = AsyncOperationResult;
1820
- /** Optional parameters. */
1821
- export interface LocationsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1822
- }
1823
- /** Contains response data for the checkNameAvailability operation. */
1824
- export type LocationsCheckNameAvailabilityResponse = NameAvailabilityCheckResult;
1825
- /** Optional parameters. */
1826
- export interface LocationsValidateClusterCreateRequestOptionalParams extends coreClient.OperationOptions {
1827
- }
1828
- /** Contains response data for the validateClusterCreateRequest operation. */
1829
- export type LocationsValidateClusterCreateRequestResponse = ClusterCreateValidationResult;
1830
- /** Optional parameters. */
1831
1803
  export interface ConfigurationsListOptionalParams extends coreClient.OperationOptions {
1832
1804
  }
1833
1805
  /** Contains response data for the list operation. */
@@ -1909,41 +1881,35 @@ export interface ExtensionsGetAzureAsyncOperationStatusOptionalParams extends co
1909
1881
  /** Contains response data for the getAzureAsyncOperationStatus operation. */
1910
1882
  export type ExtensionsGetAzureAsyncOperationStatusResponse = AsyncOperationResult;
1911
1883
  /** Optional parameters. */
1912
- export interface ScriptActionsDeleteOptionalParams extends coreClient.OperationOptions {
1913
- }
1914
- /** Optional parameters. */
1915
- export interface ScriptActionsListByClusterOptionalParams extends coreClient.OperationOptions {
1916
- }
1917
- /** Contains response data for the listByCluster operation. */
1918
- export type ScriptActionsListByClusterResponse = ScriptActionsList;
1919
- /** Optional parameters. */
1920
- export interface ScriptActionsGetExecutionDetailOptionalParams extends coreClient.OperationOptions {
1884
+ export interface LocationsGetCapabilitiesOptionalParams extends coreClient.OperationOptions {
1921
1885
  }
1922
- /** Contains response data for the getExecutionDetail operation. */
1923
- export type ScriptActionsGetExecutionDetailResponse = RuntimeScriptActionDetail;
1886
+ /** Contains response data for the getCapabilities operation. */
1887
+ export type LocationsGetCapabilitiesResponse = CapabilitiesResult;
1924
1888
  /** Optional parameters. */
1925
- export interface ScriptActionsGetExecutionAsyncOperationStatusOptionalParams extends coreClient.OperationOptions {
1889
+ export interface LocationsListUsagesOptionalParams extends coreClient.OperationOptions {
1926
1890
  }
1927
- /** Contains response data for the getExecutionAsyncOperationStatus operation. */
1928
- export type ScriptActionsGetExecutionAsyncOperationStatusResponse = AsyncOperationResult;
1891
+ /** Contains response data for the listUsages operation. */
1892
+ export type LocationsListUsagesResponse = UsagesListResult;
1929
1893
  /** Optional parameters. */
1930
- export interface ScriptActionsListByClusterNextOptionalParams extends coreClient.OperationOptions {
1894
+ export interface LocationsListBillingSpecsOptionalParams extends coreClient.OperationOptions {
1931
1895
  }
1932
- /** Contains response data for the listByClusterNext operation. */
1933
- export type ScriptActionsListByClusterNextResponse = ScriptActionsList;
1896
+ /** Contains response data for the listBillingSpecs operation. */
1897
+ export type LocationsListBillingSpecsResponse = BillingResponseListResult;
1934
1898
  /** Optional parameters. */
1935
- export interface ScriptExecutionHistoryListByClusterOptionalParams extends coreClient.OperationOptions {
1899
+ export interface LocationsGetAzureAsyncOperationStatusOptionalParams extends coreClient.OperationOptions {
1936
1900
  }
1937
- /** Contains response data for the listByCluster operation. */
1938
- export type ScriptExecutionHistoryListByClusterResponse = ScriptActionExecutionHistoryList;
1901
+ /** Contains response data for the getAzureAsyncOperationStatus operation. */
1902
+ export type LocationsGetAzureAsyncOperationStatusResponse = AsyncOperationResult;
1939
1903
  /** Optional parameters. */
1940
- export interface ScriptExecutionHistoryPromoteOptionalParams extends coreClient.OperationOptions {
1904
+ export interface LocationsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1941
1905
  }
1906
+ /** Contains response data for the checkNameAvailability operation. */
1907
+ export type LocationsCheckNameAvailabilityResponse = NameAvailabilityCheckResult;
1942
1908
  /** Optional parameters. */
1943
- export interface ScriptExecutionHistoryListByClusterNextOptionalParams extends coreClient.OperationOptions {
1909
+ export interface LocationsValidateClusterCreateRequestOptionalParams extends coreClient.OperationOptions {
1944
1910
  }
1945
- /** Contains response data for the listByClusterNext operation. */
1946
- export type ScriptExecutionHistoryListByClusterNextResponse = ScriptActionExecutionHistoryList;
1911
+ /** Contains response data for the validateClusterCreateRequest operation. */
1912
+ export type LocationsValidateClusterCreateRequestResponse = ClusterCreateValidationResult;
1947
1913
  /** Optional parameters. */
1948
1914
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1949
1915
  }
@@ -1955,23 +1921,6 @@ export interface OperationsListNextOptionalParams extends coreClient.OperationOp
1955
1921
  /** Contains response data for the listNext operation. */
1956
1922
  export type OperationsListNextResponse = OperationListResult;
1957
1923
  /** Optional parameters. */
1958
- export interface VirtualMachinesListHostsOptionalParams extends coreClient.OperationOptions {
1959
- }
1960
- /** Contains response data for the listHosts operation. */
1961
- export type VirtualMachinesListHostsResponse = HostInfo[];
1962
- /** Optional parameters. */
1963
- export interface VirtualMachinesRestartHostsOptionalParams extends coreClient.OperationOptions {
1964
- /** Delay to wait until next poll, in milliseconds. */
1965
- updateIntervalInMs?: number;
1966
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1967
- resumeFrom?: string;
1968
- }
1969
- /** Optional parameters. */
1970
- export interface VirtualMachinesGetAsyncOperationStatusOptionalParams extends coreClient.OperationOptions {
1971
- }
1972
- /** Contains response data for the getAsyncOperationStatus operation. */
1973
- export type VirtualMachinesGetAsyncOperationStatusResponse = AsyncOperationResult;
1974
- /** Optional parameters. */
1975
1924
  export interface PrivateEndpointConnectionsListByClusterOptionalParams extends coreClient.OperationOptions {
1976
1925
  }
1977
1926
  /** Contains response data for the listByCluster operation. */
@@ -2013,6 +1962,59 @@ export interface PrivateLinkResourcesGetOptionalParams extends coreClient.Operat
2013
1962
  /** Contains response data for the get operation. */
2014
1963
  export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
2015
1964
  /** Optional parameters. */
1965
+ export interface ScriptActionsDeleteOptionalParams extends coreClient.OperationOptions {
1966
+ }
1967
+ /** Optional parameters. */
1968
+ export interface ScriptActionsListByClusterOptionalParams extends coreClient.OperationOptions {
1969
+ }
1970
+ /** Contains response data for the listByCluster operation. */
1971
+ export type ScriptActionsListByClusterResponse = ScriptActionsList;
1972
+ /** Optional parameters. */
1973
+ export interface ScriptActionsGetExecutionDetailOptionalParams extends coreClient.OperationOptions {
1974
+ }
1975
+ /** Contains response data for the getExecutionDetail operation. */
1976
+ export type ScriptActionsGetExecutionDetailResponse = RuntimeScriptActionDetail;
1977
+ /** Optional parameters. */
1978
+ export interface ScriptActionsGetExecutionAsyncOperationStatusOptionalParams extends coreClient.OperationOptions {
1979
+ }
1980
+ /** Contains response data for the getExecutionAsyncOperationStatus operation. */
1981
+ export type ScriptActionsGetExecutionAsyncOperationStatusResponse = AsyncOperationResult;
1982
+ /** Optional parameters. */
1983
+ export interface ScriptActionsListByClusterNextOptionalParams extends coreClient.OperationOptions {
1984
+ }
1985
+ /** Contains response data for the listByClusterNext operation. */
1986
+ export type ScriptActionsListByClusterNextResponse = ScriptActionsList;
1987
+ /** Optional parameters. */
1988
+ export interface ScriptExecutionHistoryListByClusterOptionalParams extends coreClient.OperationOptions {
1989
+ }
1990
+ /** Contains response data for the listByCluster operation. */
1991
+ export type ScriptExecutionHistoryListByClusterResponse = ScriptActionExecutionHistoryList;
1992
+ /** Optional parameters. */
1993
+ export interface ScriptExecutionHistoryPromoteOptionalParams extends coreClient.OperationOptions {
1994
+ }
1995
+ /** Optional parameters. */
1996
+ export interface ScriptExecutionHistoryListByClusterNextOptionalParams extends coreClient.OperationOptions {
1997
+ }
1998
+ /** Contains response data for the listByClusterNext operation. */
1999
+ export type ScriptExecutionHistoryListByClusterNextResponse = ScriptActionExecutionHistoryList;
2000
+ /** Optional parameters. */
2001
+ export interface VirtualMachinesListHostsOptionalParams extends coreClient.OperationOptions {
2002
+ }
2003
+ /** Contains response data for the listHosts operation. */
2004
+ export type VirtualMachinesListHostsResponse = HostInfo[];
2005
+ /** Optional parameters. */
2006
+ export interface VirtualMachinesRestartHostsOptionalParams extends coreClient.OperationOptions {
2007
+ /** Delay to wait until next poll, in milliseconds. */
2008
+ updateIntervalInMs?: number;
2009
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2010
+ resumeFrom?: string;
2011
+ }
2012
+ /** Optional parameters. */
2013
+ export interface VirtualMachinesGetAsyncOperationStatusOptionalParams extends coreClient.OperationOptions {
2014
+ }
2015
+ /** Contains response data for the getAsyncOperationStatus operation. */
2016
+ export type VirtualMachinesGetAsyncOperationStatusResponse = AsyncOperationResult;
2017
+ /** Optional parameters. */
2016
2018
  export interface HDInsightManagementClientOptionalParams extends coreClient.ServiceClientOptions {
2017
2019
  /** server parameter */
2018
2020
  $host?: string;