@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
@@ -8,103 +8,55 @@
8
8
 
9
9
  import * as coreClient from "@azure/core-client";
10
10
 
11
- /** The CreateCluster request parameters. */
12
- export interface ClusterCreateParametersExtended {
13
- /** The location of the cluster. */
14
- location?: string;
15
- /** The resource tags. */
16
- tags?: { [propertyName: string]: string };
17
- /** The availability zones. */
18
- zones?: string[];
19
- /** The cluster create parameters. */
20
- properties?: ClusterCreateProperties;
21
- /** The identity of the cluster, if configured. */
22
- identity?: ClusterIdentity;
11
+ /** 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. */
12
+ export interface ApplicationListResult {
13
+ /** The list of HDInsight applications installed on HDInsight cluster. */
14
+ value?: Application[];
15
+ /**
16
+ * The URL to get the next set of operation list results if there are any.
17
+ * NOTE: This property will not be serialized. It can only be populated by the server.
18
+ */
19
+ readonly nextLink?: string;
23
20
  }
24
21
 
25
- /** The cluster create parameters. */
26
- export interface ClusterCreateProperties {
27
- /** The version of the cluster. */
28
- clusterVersion?: string;
29
- /** The type of operating system. */
30
- osType?: OSType;
31
- /** The cluster tier. */
32
- tier?: Tier;
33
- /** The cluster definition. */
34
- clusterDefinition?: ClusterDefinition;
35
- /** The cluster kafka rest proxy configuration. */
36
- kafkaRestProperties?: KafkaRestProperties;
37
- /** The security profile. */
38
- securityProfile?: SecurityProfile;
39
- /** The compute profile. */
22
+ /** The HDInsight cluster application GET response. */
23
+ export interface ApplicationProperties {
24
+ /** The list of roles in the cluster. */
40
25
  computeProfile?: ComputeProfile;
41
- /** The storage profile. */
42
- storageProfile?: StorageProfile;
43
- /** The disk encryption properties. */
44
- diskEncryptionProperties?: DiskEncryptionProperties;
45
- /** The encryption-in-transit properties. */
46
- encryptionInTransitProperties?: EncryptionInTransitProperties;
47
- /** The minimal supported tls version. */
48
- minSupportedTlsVersion?: string;
49
- /** The network properties. */
50
- networkProperties?: NetworkProperties;
51
- /** The compute isolation properties. */
52
- computeIsolationProperties?: ComputeIsolationProperties;
53
- /** The private link configurations. */
54
- privateLinkConfigurations?: PrivateLinkConfiguration[];
55
- }
56
-
57
- /** The cluster definition. */
58
- export interface ClusterDefinition {
59
- /** The link to the blueprint. */
60
- blueprint?: string;
61
- /** The type of cluster. */
62
- kind?: string;
63
- /** The versions of different services in the cluster. */
64
- componentVersion?: { [propertyName: string]: string };
65
- /** The cluster configurations. */
66
- configurations?: Record<string, unknown>;
67
- }
68
-
69
- /** The kafka rest proxy configuration which contains AAD security group information. */
70
- export interface KafkaRestProperties {
71
- /** The information of AAD security group. */
72
- clientGroupInfo?: ClientGroupInfo;
73
- /** The configurations that need to be overriden. */
74
- configurationOverride?: { [propertyName: string]: string };
75
- }
76
-
77
- /** The information of AAD security group. */
78
- export interface ClientGroupInfo {
79
- /** The AAD security group name. */
80
- groupName?: string;
81
- /** The AAD security group id. */
82
- groupId?: string;
83
- }
84
-
85
- /** The security profile which contains Ssh public key for the HDInsight cluster. */
86
- export interface SecurityProfile {
87
- /** The directory type. */
88
- directoryType?: DirectoryType;
89
- /** The organization's active directory domain. */
90
- domain?: string;
91
- /** The organizational unit within the Active Directory to place the cluster and service accounts. */
92
- organizationalUnitDN?: string;
93
- /** The LDAPS protocol URLs to communicate with the Active Directory. */
94
- ldapsUrls?: string[];
95
- /** The domain user account that will have admin privileges on the cluster. */
96
- domainUsername?: string;
26
+ /** The list of install script actions. */
27
+ installScriptActions?: RuntimeScriptAction[];
28
+ /** The list of uninstall script actions. */
29
+ uninstallScriptActions?: RuntimeScriptAction[];
30
+ /** The list of application HTTPS endpoints. */
31
+ httpsEndpoints?: ApplicationGetHttpsEndpoint[];
32
+ /** The list of application SSH endpoints. */
33
+ sshEndpoints?: ApplicationGetEndpoint[];
97
34
  /**
98
- * The domain admin password.
99
- * This value contains a credential. Consider obscuring before showing to users
35
+ * The provisioning state of the application.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
100
37
  */
101
- domainUserPassword?: string;
102
- /** Optional. The Distinguished Names for cluster user groups */
103
- clusterUsersGroupDNs?: string[];
104
- /** The resource ID of the user's Azure Active Directory Domain Service. */
105
- aaddsResourceId?: string;
106
- /** User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS. */
107
- msiResourceId?: string;
38
+ readonly provisioningState?: string;
39
+ /** The application type. */
40
+ applicationType?: string;
41
+ /**
42
+ * The application state.
43
+ * NOTE: This property will not be serialized. It can only be populated by the server.
44
+ */
45
+ readonly applicationState?: string;
46
+ /** The list of errors. */
47
+ errors?: Errors[];
48
+ /**
49
+ * The application create date time.
50
+ * NOTE: This property will not be serialized. It can only be populated by the server.
51
+ */
52
+ readonly createdDate?: string;
53
+ /**
54
+ * The marketplace identifier.
55
+ * NOTE: This property will not be serialized. It can only be populated by the server.
56
+ */
57
+ readonly marketplaceIdentifier?: string;
58
+ /** The private link configurations. */
59
+ privateLinkConfigurations?: PrivateLinkConfiguration[];
108
60
  }
109
61
 
110
62
  /** Describes the compute profile. */
@@ -249,70 +201,65 @@ export interface ScriptAction {
249
201
  parameters: string;
250
202
  }
251
203
 
252
- /** The storage profile. */
253
- export interface StorageProfile {
254
- /** The list of storage accounts in the cluster. */
255
- storageaccounts?: StorageAccount[];
256
- }
257
-
258
- /** The storage Account. */
259
- export interface StorageAccount {
260
- /** The name of the storage account. */
261
- name?: string;
262
- /** Whether or not the storage account is the default storage account. */
263
- isDefault?: boolean;
264
- /** The container in the storage account, only to be specified for WASB storage accounts. */
265
- container?: string;
266
- /** The filesystem, only to be specified for Azure Data Lake Storage Gen 2. */
267
- fileSystem?: string;
268
- /** The storage account access key. */
269
- key?: string;
270
- /** The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2. */
271
- resourceId?: string;
272
- /** The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2. */
273
- msiResourceId?: string;
274
- /** The shared access signature key. */
275
- saskey?: string;
276
- /** The file share name. */
277
- fileshare?: string;
278
- }
279
-
280
- /** The disk encryption properties */
281
- export interface DiskEncryptionProperties {
282
- /** Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net */
283
- vaultUri?: string;
284
- /** Key name that is used for enabling disk encryption. */
285
- keyName?: string;
286
- /** Specific key version that is used for enabling disk encryption. */
287
- keyVersion?: string;
288
- /** Algorithm identifier for encryption, default RSA-OAEP. */
289
- encryptionAlgorithm?: JsonWebKeyEncryptionAlgorithm;
290
- /** Resource ID of Managed Identity that is used to access the key vault. */
291
- msiResourceId?: string;
292
- /** Indicates whether or not resource disk encryption is enabled. */
293
- encryptionAtHost?: boolean;
204
+ /** Describes a script action on a running cluster. */
205
+ export interface RuntimeScriptAction {
206
+ /** The name of the script action. */
207
+ name: string;
208
+ /** The URI to the script. */
209
+ uri: string;
210
+ /** The parameters for the script */
211
+ parameters?: string;
212
+ /** The list of roles where script will be executed. */
213
+ roles: string[];
214
+ /**
215
+ * The application name of the script action, if any.
216
+ * NOTE: This property will not be serialized. It can only be populated by the server.
217
+ */
218
+ readonly applicationName?: string;
294
219
  }
295
220
 
296
- /** The encryption-in-transit properties. */
297
- export interface EncryptionInTransitProperties {
298
- /** Indicates whether or not inter cluster node communication is encrypted in transit. */
299
- isEncryptionInTransitEnabled?: boolean;
221
+ /** Gets the application HTTP endpoints. */
222
+ export interface ApplicationGetHttpsEndpoint {
223
+ /** The list of access modes for the application. */
224
+ accessModes?: string[];
225
+ /**
226
+ * The location of the endpoint.
227
+ * NOTE: This property will not be serialized. It can only be populated by the server.
228
+ */
229
+ readonly location?: string;
230
+ /** The destination port to connect to. */
231
+ destinationPort?: number;
232
+ /**
233
+ * The public port to connect to.
234
+ * NOTE: This property will not be serialized. It can only be populated by the server.
235
+ */
236
+ readonly publicPort?: number;
237
+ /** The private ip address of the endpoint. */
238
+ privateIPAddress?: string;
239
+ /** The subdomain suffix of the application. */
240
+ subDomainSuffix?: string;
241
+ /** The value indicates whether to disable GatewayAuth. */
242
+ disableGatewayAuth?: boolean;
300
243
  }
301
244
 
302
- /** The network properties. */
303
- export interface NetworkProperties {
304
- /** The direction for the resource provider connection. */
305
- resourceProviderConnection?: ResourceProviderConnection;
306
- /** Indicates whether or not private link is enabled. */
307
- privateLink?: PrivateLink;
245
+ /** Gets the application SSH endpoint */
246
+ export interface ApplicationGetEndpoint {
247
+ /** The location of the endpoint. */
248
+ location?: string;
249
+ /** The destination port to connect to. */
250
+ destinationPort?: number;
251
+ /** The public port to connect to. */
252
+ publicPort?: number;
253
+ /** The private ip address of the endpoint. */
254
+ privateIPAddress?: string;
308
255
  }
309
256
 
310
- /** The compute isolation properties. */
311
- export interface ComputeIsolationProperties {
312
- /** The flag indicates whether enable compute isolation or not. */
313
- enableComputeIsolation?: boolean;
314
- /** The host sku. */
315
- hostSku?: string;
257
+ /** The error message associated with the cluster creation. */
258
+ export interface Errors {
259
+ /** The error code. */
260
+ code?: string;
261
+ /** The error message. */
262
+ message?: string;
316
263
  }
317
264
 
318
265
  /** The private link configuration. */
@@ -375,15 +322,233 @@ export interface ResourceId {
375
322
  id?: string;
376
323
  }
377
324
 
378
- /** Identity for the cluster. */
379
- export interface ClusterIdentity {
380
- /**
381
- * The principal id of cluster identity. This property will only be provided for a system assigned identity.
382
- * NOTE: This property will not be serialized. It can only be populated by the server.
383
- */
384
- readonly principalId?: string;
385
- /**
386
- * The tenant id associated with the cluster. This property will only be provided for a system assigned identity.
325
+ /** Metadata pertaining to creation and last modification of the resource. */
326
+ export interface SystemData {
327
+ /** The identity that created the resource. */
328
+ createdBy?: string;
329
+ /** The type of identity that created the resource. */
330
+ createdByType?: CreatedByType;
331
+ /** The timestamp of resource creation (UTC). */
332
+ createdAt?: Date;
333
+ /** The identity that last modified the resource. */
334
+ lastModifiedBy?: string;
335
+ /** The type of identity that last modified the resource. */
336
+ lastModifiedByType?: CreatedByType;
337
+ /** The timestamp of resource last modification (UTC) */
338
+ lastModifiedAt?: Date;
339
+ }
340
+
341
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
342
+ export interface Resource {
343
+ /**
344
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
345
+ * NOTE: This property will not be serialized. It can only be populated by the server.
346
+ */
347
+ readonly id?: string;
348
+ /**
349
+ * The name of the resource
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
351
+ */
352
+ readonly name?: string;
353
+ /**
354
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
356
+ */
357
+ readonly type?: string;
358
+ }
359
+
360
+ /** Describes the format of Error response. */
361
+ export interface ErrorResponse {
362
+ /** Error code */
363
+ code?: string;
364
+ /** Error message indicating why the operation failed. */
365
+ message?: string;
366
+ }
367
+
368
+ /** The azure async operation response. */
369
+ export interface AsyncOperationResult {
370
+ /** The async operation state. */
371
+ status?: AsyncOperationState;
372
+ /** The operation error information. */
373
+ error?: Errors;
374
+ }
375
+
376
+ /** The CreateCluster request parameters. */
377
+ export interface ClusterCreateParametersExtended {
378
+ /** The location of the cluster. */
379
+ location?: string;
380
+ /** The resource tags. */
381
+ tags?: { [propertyName: string]: string };
382
+ /** The availability zones. */
383
+ zones?: string[];
384
+ /** The cluster create parameters. */
385
+ properties?: ClusterCreateProperties;
386
+ /** The identity of the cluster, if configured. */
387
+ identity?: ClusterIdentity;
388
+ }
389
+
390
+ /** The cluster create parameters. */
391
+ export interface ClusterCreateProperties {
392
+ /** The version of the cluster. */
393
+ clusterVersion?: string;
394
+ /** The type of operating system. */
395
+ osType?: OSType;
396
+ /** The cluster tier. */
397
+ tier?: Tier;
398
+ /** The cluster definition. */
399
+ clusterDefinition?: ClusterDefinition;
400
+ /** The cluster kafka rest proxy configuration. */
401
+ kafkaRestProperties?: KafkaRestProperties;
402
+ /** The security profile. */
403
+ securityProfile?: SecurityProfile;
404
+ /** The compute profile. */
405
+ computeProfile?: ComputeProfile;
406
+ /** The storage profile. */
407
+ storageProfile?: StorageProfile;
408
+ /** The disk encryption properties. */
409
+ diskEncryptionProperties?: DiskEncryptionProperties;
410
+ /** The encryption-in-transit properties. */
411
+ encryptionInTransitProperties?: EncryptionInTransitProperties;
412
+ /** The minimal supported tls version. */
413
+ minSupportedTlsVersion?: string;
414
+ /** The network properties. */
415
+ networkProperties?: NetworkProperties;
416
+ /** The compute isolation properties. */
417
+ computeIsolationProperties?: ComputeIsolationProperties;
418
+ /** The private link configurations. */
419
+ privateLinkConfigurations?: PrivateLinkConfiguration[];
420
+ }
421
+
422
+ /** The cluster definition. */
423
+ export interface ClusterDefinition {
424
+ /** The link to the blueprint. */
425
+ blueprint?: string;
426
+ /** The type of cluster. */
427
+ kind?: string;
428
+ /** The versions of different services in the cluster. */
429
+ componentVersion?: { [propertyName: string]: string };
430
+ /** The cluster configurations. */
431
+ configurations?: Record<string, unknown>;
432
+ }
433
+
434
+ /** The kafka rest proxy configuration which contains AAD security group information. */
435
+ export interface KafkaRestProperties {
436
+ /** The information of AAD security group. */
437
+ clientGroupInfo?: ClientGroupInfo;
438
+ /** The configurations that need to be overriden. */
439
+ configurationOverride?: { [propertyName: string]: string };
440
+ }
441
+
442
+ /** The information of AAD security group. */
443
+ export interface ClientGroupInfo {
444
+ /** The AAD security group name. */
445
+ groupName?: string;
446
+ /** The AAD security group id. */
447
+ groupId?: string;
448
+ }
449
+
450
+ /** The security profile which contains Ssh public key for the HDInsight cluster. */
451
+ export interface SecurityProfile {
452
+ /** The directory type. */
453
+ directoryType?: DirectoryType;
454
+ /** The organization's active directory domain. */
455
+ domain?: string;
456
+ /** The organizational unit within the Active Directory to place the cluster and service accounts. */
457
+ organizationalUnitDN?: string;
458
+ /** The LDAPS protocol URLs to communicate with the Active Directory. */
459
+ ldapsUrls?: string[];
460
+ /** The domain user account that will have admin privileges on the cluster. */
461
+ domainUsername?: string;
462
+ /**
463
+ * The domain admin password.
464
+ * This value contains a credential. Consider obscuring before showing to users
465
+ */
466
+ domainUserPassword?: string;
467
+ /** Optional. The Distinguished Names for cluster user groups */
468
+ clusterUsersGroupDNs?: string[];
469
+ /** The resource ID of the user's Azure Active Directory Domain Service. */
470
+ aaddsResourceId?: string;
471
+ /** User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS. */
472
+ msiResourceId?: string;
473
+ }
474
+
475
+ /** The storage profile. */
476
+ export interface StorageProfile {
477
+ /** The list of storage accounts in the cluster. */
478
+ storageaccounts?: StorageAccount[];
479
+ }
480
+
481
+ /** The storage Account. */
482
+ export interface StorageAccount {
483
+ /** The name of the storage account. */
484
+ name?: string;
485
+ /** Whether or not the storage account is the default storage account. */
486
+ isDefault?: boolean;
487
+ /** The container in the storage account, only to be specified for WASB storage accounts. */
488
+ container?: string;
489
+ /** The filesystem, only to be specified for Azure Data Lake Storage Gen 2. */
490
+ fileSystem?: string;
491
+ /** The storage account access key. */
492
+ key?: string;
493
+ /** The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2. */
494
+ resourceId?: string;
495
+ /** The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2. */
496
+ msiResourceId?: string;
497
+ /** The shared access signature key. */
498
+ saskey?: string;
499
+ /** The file share name. */
500
+ fileshare?: string;
501
+ /** 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 , */
502
+ enableSecureChannel?: boolean;
503
+ }
504
+
505
+ /** The disk encryption properties */
506
+ export interface DiskEncryptionProperties {
507
+ /** Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net */
508
+ vaultUri?: string;
509
+ /** Key name that is used for enabling disk encryption. */
510
+ keyName?: string;
511
+ /** Specific key version that is used for enabling disk encryption. */
512
+ keyVersion?: string;
513
+ /** Algorithm identifier for encryption, default RSA-OAEP. */
514
+ encryptionAlgorithm?: JsonWebKeyEncryptionAlgorithm;
515
+ /** Resource ID of Managed Identity that is used to access the key vault. */
516
+ msiResourceId?: string;
517
+ /** Indicates whether or not resource disk encryption is enabled. */
518
+ encryptionAtHost?: boolean;
519
+ }
520
+
521
+ /** The encryption-in-transit properties. */
522
+ export interface EncryptionInTransitProperties {
523
+ /** Indicates whether or not inter cluster node communication is encrypted in transit. */
524
+ isEncryptionInTransitEnabled?: boolean;
525
+ }
526
+
527
+ /** The network properties. */
528
+ export interface NetworkProperties {
529
+ /** The direction for the resource provider connection. */
530
+ resourceProviderConnection?: ResourceProviderConnection;
531
+ /** Indicates whether or not private link is enabled. */
532
+ privateLink?: PrivateLink;
533
+ }
534
+
535
+ /** The compute isolation properties. */
536
+ export interface ComputeIsolationProperties {
537
+ /** The flag indicates whether enable compute isolation or not. */
538
+ enableComputeIsolation?: boolean;
539
+ /** The host sku. */
540
+ hostSku?: string;
541
+ }
542
+
543
+ /** Identity for the cluster. */
544
+ export interface ClusterIdentity {
545
+ /**
546
+ * The principal id of cluster identity. This property will only be provided for a system assigned identity.
547
+ * NOTE: This property will not be serialized. It can only be populated by the server.
548
+ */
549
+ readonly principalId?: string;
550
+ /**
551
+ * The tenant id associated with the cluster. This property will only be provided for a system assigned identity.
387
552
  * NOTE: This property will not be serialized. It can only be populated by the server.
388
553
  */
389
554
  readonly tenantId?: string;
@@ -470,14 +635,6 @@ export interface QuotaInfo {
470
635
  coresUsed?: number;
471
636
  }
472
637
 
473
- /** The error message associated with the cluster creation. */
474
- export interface Errors {
475
- /** The error code. */
476
- code?: string;
477
- /** The error message. */
478
- message?: string;
479
- }
480
-
481
638
  /** The connectivity properties */
482
639
  export interface ConnectivityEndpoint {
483
640
  /** The name of the endpoint. */
@@ -516,41 +673,6 @@ export interface PrivateLinkServiceConnectionState {
516
673
  actionsRequired?: string;
517
674
  }
518
675
 
519
- /** Metadata pertaining to creation and last modification of the resource. */
520
- export interface SystemData {
521
- /** The identity that created the resource. */
522
- createdBy?: string;
523
- /** The type of identity that created the resource. */
524
- createdByType?: CreatedByType;
525
- /** The timestamp of resource creation (UTC). */
526
- createdAt?: Date;
527
- /** The identity that last modified the resource. */
528
- lastModifiedBy?: string;
529
- /** The type of identity that last modified the resource. */
530
- lastModifiedByType?: CreatedByType;
531
- /** The timestamp of resource last modification (UTC) */
532
- lastModifiedAt?: Date;
533
- }
534
-
535
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
536
- export interface Resource {
537
- /**
538
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
539
- * NOTE: This property will not be serialized. It can only be populated by the server.
540
- */
541
- readonly id?: string;
542
- /**
543
- * The name of the resource
544
- * NOTE: This property will not be serialized. It can only be populated by the server.
545
- */
546
- readonly name?: string;
547
- /**
548
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
549
- * NOTE: This property will not be serialized. It can only be populated by the server.
550
- */
551
- readonly type?: string;
552
- }
553
-
554
676
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
555
677
  export interface ResourceAutoGenerated {
556
678
  /**
@@ -570,14 +692,6 @@ export interface ResourceAutoGenerated {
570
692
  readonly type?: string;
571
693
  }
572
694
 
573
- /** Describes the format of Error response. */
574
- export interface ErrorResponse {
575
- /** Error code */
576
- code?: string;
577
- /** Error message indicating why the operation failed. */
578
- message?: string;
579
- }
580
-
581
695
  /** The PatchCluster request parameters */
582
696
  export interface ClusterPatchParameters {
583
697
  /** The resource tags. */
@@ -609,163 +723,119 @@ export interface AutoscaleConfigurationUpdateParameter {
609
723
 
610
724
  /** The Disk Encryption Cluster request parameters. */
611
725
  export interface ClusterDiskEncryptionParameters {
612
- /** Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net */
613
- vaultUri?: string;
614
- /** Key name that is used for enabling disk encryption. */
615
- keyName?: string;
616
- /** Specific key version that is used for enabling disk encryption. */
617
- keyVersion?: string;
618
- }
619
-
620
- /** Gateway settings. */
621
- export interface GatewaySettings {
622
- /**
623
- * Indicates whether or not the gateway settings based authorization is enabled.
624
- * NOTE: This property will not be serialized. It can only be populated by the server.
625
- */
626
- readonly isCredentialEnabled?: string;
627
- /**
628
- * The gateway settings user name.
629
- * NOTE: This property will not be serialized. It can only be populated by the server.
630
- */
631
- readonly userName?: string;
632
- /**
633
- * The gateway settings user password.
634
- * NOTE: This property will not be serialized. It can only be populated by the server.
635
- */
636
- readonly password?: string;
637
- }
638
-
639
- /** The update gateway settings request parameters. */
640
- export interface UpdateGatewaySettingsParameters {
641
- /** Indicates whether or not the gateway settings based authorization is enabled. */
642
- isCredentialEnabled?: boolean;
643
- /** The gateway settings user name. */
644
- userName?: string;
645
- /** The gateway settings user password. */
646
- password?: string;
647
- }
648
-
649
- /** The azure async operation response. */
650
- export interface AsyncOperationResult {
651
- /** The async operation state. */
652
- status?: AsyncOperationState;
653
- /** The operation error information. */
654
- error?: Errors;
655
- }
656
-
657
- /** The update cluster identity certificate request parameters. */
658
- export interface UpdateClusterIdentityCertificateParameters {
659
- /** The application id. */
660
- applicationId?: string;
661
- /** The certificate in base64 encoded format. */
662
- certificate?: string;
663
- /** The password of the certificate. */
664
- certificatePassword?: string;
665
- }
666
-
667
- /** 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. */
668
- export interface ApplicationListResult {
669
- /** The list of HDInsight applications installed on HDInsight cluster. */
670
- value?: Application[];
671
- /**
672
- * The URL to get the next set of operation list results if there are any.
673
- * NOTE: This property will not be serialized. It can only be populated by the server.
674
- */
675
- readonly nextLink?: string;
676
- }
677
-
678
- /** The HDInsight cluster application GET response. */
679
- export interface ApplicationProperties {
680
- /** The list of roles in the cluster. */
681
- computeProfile?: ComputeProfile;
682
- /** The list of install script actions. */
683
- installScriptActions?: RuntimeScriptAction[];
684
- /** The list of uninstall script actions. */
685
- uninstallScriptActions?: RuntimeScriptAction[];
686
- /** The list of application HTTPS endpoints. */
687
- httpsEndpoints?: ApplicationGetHttpsEndpoint[];
688
- /** The list of application SSH endpoints. */
689
- sshEndpoints?: ApplicationGetEndpoint[];
690
- /**
691
- * The provisioning state of the application.
692
- * NOTE: This property will not be serialized. It can only be populated by the server.
693
- */
694
- readonly provisioningState?: string;
695
- /** The application type. */
696
- applicationType?: string;
697
- /**
698
- * The application state.
699
- * NOTE: This property will not be serialized. It can only be populated by the server.
700
- */
701
- readonly applicationState?: string;
702
- /** The list of errors. */
703
- errors?: Errors[];
704
- /**
705
- * The application create date time.
706
- * NOTE: This property will not be serialized. It can only be populated by the server.
707
- */
708
- readonly createdDate?: string;
709
- /**
710
- * The marketplace identifier.
711
- * NOTE: This property will not be serialized. It can only be populated by the server.
712
- */
713
- readonly marketplaceIdentifier?: string;
714
- /** The private link configurations. */
715
- privateLinkConfigurations?: PrivateLinkConfiguration[];
716
- }
717
-
718
- /** Describes a script action on a running cluster. */
719
- export interface RuntimeScriptAction {
720
- /** The name of the script action. */
721
- name: string;
722
- /** The URI to the script. */
723
- uri: string;
724
- /** The parameters for the script */
725
- parameters?: string;
726
- /** The list of roles where script will be executed. */
727
- roles: string[];
726
+ /** Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net */
727
+ vaultUri?: string;
728
+ /** Key name that is used for enabling disk encryption. */
729
+ keyName?: string;
730
+ /** Specific key version that is used for enabling disk encryption. */
731
+ keyVersion?: string;
732
+ }
733
+
734
+ /** Gateway settings. */
735
+ export interface GatewaySettings {
728
736
  /**
729
- * The application name of the script action, if any.
737
+ * Indicates whether or not the gateway settings based authorization is enabled.
730
738
  * NOTE: This property will not be serialized. It can only be populated by the server.
731
739
  */
732
- readonly applicationName?: string;
733
- }
734
-
735
- /** Gets the application HTTP endpoints. */
736
- export interface ApplicationGetHttpsEndpoint {
737
- /** The list of access modes for the application. */
738
- accessModes?: string[];
740
+ readonly isCredentialEnabled?: string;
739
741
  /**
740
- * The location of the endpoint.
742
+ * The gateway settings user name.
741
743
  * NOTE: This property will not be serialized. It can only be populated by the server.
742
744
  */
743
- readonly location?: string;
744
- /** The destination port to connect to. */
745
- destinationPort?: number;
745
+ readonly userName?: string;
746
746
  /**
747
- * The public port to connect to.
747
+ * The gateway settings user password.
748
748
  * NOTE: This property will not be serialized. It can only be populated by the server.
749
749
  */
750
- readonly publicPort?: number;
751
- /** The private ip address of the endpoint. */
752
- privateIPAddress?: string;
753
- /** The subdomain suffix of the application. */
754
- subDomainSuffix?: string;
755
- /** The value indicates whether to disable GatewayAuth. */
756
- disableGatewayAuth?: boolean;
750
+ readonly password?: string;
757
751
  }
758
752
 
759
- /** Gets the application SSH endpoint */
760
- export interface ApplicationGetEndpoint {
761
- /** The location of the endpoint. */
762
- location?: string;
763
- /** The destination port to connect to. */
764
- destinationPort?: number;
765
- /** The public port to connect to. */
766
- publicPort?: number;
767
- /** The private ip address of the endpoint. */
768
- privateIPAddress?: string;
753
+ /** The update gateway settings request parameters. */
754
+ export interface UpdateGatewaySettingsParameters {
755
+ /** Indicates whether or not the gateway settings based authorization is enabled. */
756
+ isCredentialEnabled?: boolean;
757
+ /** The gateway settings user name. */
758
+ userName?: string;
759
+ /** The gateway settings user password. */
760
+ password?: string;
761
+ }
762
+
763
+ /** The update cluster identity certificate request parameters. */
764
+ export interface UpdateClusterIdentityCertificateParameters {
765
+ /** The application id. */
766
+ applicationId?: string;
767
+ /** The certificate in base64 encoded format. */
768
+ certificate?: string;
769
+ /** The password of the certificate. */
770
+ certificatePassword?: string;
771
+ }
772
+
773
+ /** The configuration object for the specified cluster. */
774
+ export interface ClusterConfigurations {
775
+ /** The configuration object for the specified configuration for the specified cluster. */
776
+ configurations?: {
777
+ [propertyName: string]: { [propertyName: string]: string };
778
+ };
779
+ }
780
+
781
+ /** The cluster monitor parameters. */
782
+ export interface ClusterMonitoringRequest {
783
+ /** The cluster monitor workspace ID. */
784
+ workspaceId?: string;
785
+ /** The cluster monitor workspace key. */
786
+ primaryKey?: string;
787
+ }
788
+
789
+ /** The cluster monitoring status response. */
790
+ export interface ClusterMonitoringResponse {
791
+ /** The status of the monitor on the HDInsight cluster. */
792
+ clusterMonitoringEnabled?: boolean;
793
+ /** The workspace ID of the monitor on the HDInsight cluster. */
794
+ workspaceId?: string;
795
+ }
796
+
797
+ /** The azure monitor parameters. */
798
+ export interface AzureMonitorRequest {
799
+ /** The Log Analytics workspace ID. */
800
+ workspaceId?: string;
801
+ /** The Log Analytics workspace key. */
802
+ primaryKey?: string;
803
+ /** The selected configurations. */
804
+ selectedConfigurations?: AzureMonitorSelectedConfigurations;
805
+ }
806
+
807
+ /** The selected configurations for azure monitor. */
808
+ export interface AzureMonitorSelectedConfigurations {
809
+ /** The configuration version. */
810
+ configurationVersion?: string;
811
+ /** The global configurations of selected configurations. */
812
+ globalConfigurations?: { [propertyName: string]: string };
813
+ /** The table list. */
814
+ tableList?: AzureMonitorTableConfiguration[];
815
+ }
816
+
817
+ /** The table configuration for the Log Analytics integration. */
818
+ export interface AzureMonitorTableConfiguration {
819
+ /** The name. */
820
+ name?: string;
821
+ }
822
+
823
+ /** The azure monitor status response. */
824
+ export interface AzureMonitorResponse {
825
+ /** The status of the monitor on the HDInsight cluster. */
826
+ clusterMonitoringEnabled?: boolean;
827
+ /** The workspace ID of the monitor on the HDInsight cluster. */
828
+ workspaceId?: string;
829
+ /** The selected configurations. */
830
+ selectedConfigurations?: AzureMonitorSelectedConfigurations;
831
+ }
832
+
833
+ /** Cluster monitoring extensions. */
834
+ export interface Extension {
835
+ /** The workspace ID for the cluster monitoring extension. */
836
+ workspaceId?: string;
837
+ /** The certificate for the cluster monitoring extensions. */
838
+ primaryKey?: string;
769
839
  }
770
840
 
771
841
  /** The Get Capabilities operation response. */
@@ -1004,130 +1074,15 @@ export interface AaddsResourceDetails {
1004
1074
  /** This indicates whether initial sync complete or not. */
1005
1075
  initialSyncComplete?: boolean;
1006
1076
  /** This indicates whether enable ldaps or not. */
1007
- ldapsEnabled?: boolean;
1008
- /** The base 64 format string of public ldap certificate. */
1009
- ldapsPublicCertificateInBase64?: string;
1010
- /** The resource id of azure active directory domain service. */
1011
- resourceId?: string;
1012
- /** The subnet resource id. */
1013
- subnetId?: string;
1014
- /** The tenant id of azure active directory domain service . */
1015
- tenantId?: string;
1016
- }
1017
-
1018
- /** The configuration object for the specified cluster. */
1019
- export interface ClusterConfigurations {
1020
- /** The configuration object for the specified configuration for the specified cluster. */
1021
- configurations?: {
1022
- [propertyName: string]: { [propertyName: string]: string };
1023
- };
1024
- }
1025
-
1026
- /** The cluster monitor parameters. */
1027
- export interface ClusterMonitoringRequest {
1028
- /** The cluster monitor workspace ID. */
1029
- workspaceId?: string;
1030
- /** The cluster monitor workspace key. */
1031
- primaryKey?: string;
1032
- }
1033
-
1034
- /** The cluster monitoring status response. */
1035
- export interface ClusterMonitoringResponse {
1036
- /** The status of the monitor on the HDInsight cluster. */
1037
- clusterMonitoringEnabled?: boolean;
1038
- /** The workspace ID of the monitor on the HDInsight cluster. */
1039
- workspaceId?: string;
1040
- }
1041
-
1042
- /** The azure monitor parameters. */
1043
- export interface AzureMonitorRequest {
1044
- /** The Log Analytics workspace ID. */
1045
- workspaceId?: string;
1046
- /** The Log Analytics workspace key. */
1047
- primaryKey?: string;
1048
- /** The selected configurations. */
1049
- selectedConfigurations?: AzureMonitorSelectedConfigurations;
1050
- }
1051
-
1052
- /** The selected configurations for azure monitor. */
1053
- export interface AzureMonitorSelectedConfigurations {
1054
- /** The configuration version. */
1055
- configurationVersion?: string;
1056
- /** The global configurations of selected configurations. */
1057
- globalConfigurations?: { [propertyName: string]: string };
1058
- /** The table list. */
1059
- tableList?: AzureMonitorTableConfiguration[];
1060
- }
1061
-
1062
- /** The table configuration for the Log Analytics integration. */
1063
- export interface AzureMonitorTableConfiguration {
1064
- /** The name. */
1065
- name?: string;
1066
- }
1067
-
1068
- /** The azure monitor status response. */
1069
- export interface AzureMonitorResponse {
1070
- /** The status of the monitor on the HDInsight cluster. */
1071
- clusterMonitoringEnabled?: boolean;
1072
- /** The workspace ID of the monitor on the HDInsight cluster. */
1073
- workspaceId?: string;
1074
- /** The selected configurations. */
1075
- selectedConfigurations?: AzureMonitorSelectedConfigurations;
1076
- }
1077
-
1078
- /** Cluster monitoring extensions. */
1079
- export interface Extension {
1080
- /** The workspace ID for the cluster monitoring extension. */
1081
- workspaceId?: string;
1082
- /** The certificate for the cluster monitoring extensions. */
1083
- primaryKey?: string;
1084
- }
1085
-
1086
- /** The parameters for the script actions to execute on a running cluster. */
1087
- export interface ExecuteScriptActionParameters {
1088
- /** The list of run time script actions. */
1089
- scriptActions?: RuntimeScriptAction[];
1090
- /** Gets or sets if the scripts needs to be persisted. */
1091
- persistOnSuccess: boolean;
1092
- }
1093
-
1094
- /** The persisted script action for the cluster. */
1095
- export interface ScriptActionsList {
1096
- /** The list of persisted script action details for the cluster. */
1097
- value?: RuntimeScriptActionDetail[];
1098
- /**
1099
- * The link (url) to the next page of results.
1100
- * NOTE: This property will not be serialized. It can only be populated by the server.
1101
- */
1102
- readonly nextLink?: string;
1103
- }
1104
-
1105
- /** The execution summary of a script action. */
1106
- export interface ScriptActionExecutionSummary {
1107
- /**
1108
- * The status of script action execution.
1109
- * NOTE: This property will not be serialized. It can only be populated by the server.
1110
- */
1111
- readonly status?: string;
1112
- /**
1113
- * The instance count for a given script action execution status.
1114
- * NOTE: This property will not be serialized. It can only be populated by the server.
1115
- */
1116
- readonly instanceCount?: number;
1117
- }
1118
-
1119
- /** The list script execution history response. */
1120
- export interface ScriptActionExecutionHistoryList {
1121
- /**
1122
- * The list of persisted script action details for the cluster.
1123
- * NOTE: This property will not be serialized. It can only be populated by the server.
1124
- */
1125
- readonly value?: RuntimeScriptActionDetail[];
1126
- /**
1127
- * The link (url) to the next page of results.
1128
- * NOTE: This property will not be serialized. It can only be populated by the server.
1129
- */
1130
- readonly nextLink?: string;
1077
+ ldapsEnabled?: boolean;
1078
+ /** The base 64 format string of public ldap certificate. */
1079
+ ldapsPublicCertificateInBase64?: string;
1080
+ /** The resource id of azure active directory domain service. */
1081
+ resourceId?: string;
1082
+ /** The subnet resource id. */
1083
+ subnetId?: string;
1084
+ /** The tenant id of azure active directory domain service . */
1085
+ tenantId?: string;
1131
1086
  }
1132
1087
 
1133
1088
  /** 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. */
@@ -1222,16 +1177,6 @@ export interface Dimension {
1222
1177
  toBeExportedForShoebox?: boolean;
1223
1178
  }
1224
1179
 
1225
- /** The cluster host information. */
1226
- export interface HostInfo {
1227
- /** The host name */
1228
- name?: string;
1229
- /** The Fully Qualified Domain Name of host */
1230
- fqdn?: string;
1231
- /** The effective disk encryption key URL used by the host */
1232
- effectiveDiskEncryptionKeyUrl?: string;
1233
- }
1234
-
1235
1180
  /** The list private endpoint connections response. */
1236
1181
  export interface PrivateEndpointConnectionListResult {
1237
1182
  /** The list of private endpoint connections. */
@@ -1249,6 +1194,63 @@ export interface PrivateLinkResourceListResult {
1249
1194
  value?: PrivateLinkResource[];
1250
1195
  }
1251
1196
 
1197
+ /** The parameters for the script actions to execute on a running cluster. */
1198
+ export interface ExecuteScriptActionParameters {
1199
+ /** The list of run time script actions. */
1200
+ scriptActions?: RuntimeScriptAction[];
1201
+ /** Gets or sets if the scripts needs to be persisted. */
1202
+ persistOnSuccess: boolean;
1203
+ }
1204
+
1205
+ /** The persisted script action for the cluster. */
1206
+ export interface ScriptActionsList {
1207
+ /** The list of persisted script action details for the cluster. */
1208
+ value?: RuntimeScriptActionDetail[];
1209
+ /**
1210
+ * The link (url) to the next page of results.
1211
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1212
+ */
1213
+ readonly nextLink?: string;
1214
+ }
1215
+
1216
+ /** The execution summary of a script action. */
1217
+ export interface ScriptActionExecutionSummary {
1218
+ /**
1219
+ * The status of script action execution.
1220
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1221
+ */
1222
+ readonly status?: string;
1223
+ /**
1224
+ * The instance count for a given script action execution status.
1225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1226
+ */
1227
+ readonly instanceCount?: number;
1228
+ }
1229
+
1230
+ /** The list script execution history response. */
1231
+ export interface ScriptActionExecutionHistoryList {
1232
+ /**
1233
+ * The list of persisted script action details for the cluster.
1234
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1235
+ */
1236
+ readonly value?: RuntimeScriptActionDetail[];
1237
+ /**
1238
+ * The link (url) to the next page of results.
1239
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1240
+ */
1241
+ readonly nextLink?: string;
1242
+ }
1243
+
1244
+ /** The cluster host information. */
1245
+ export interface HostInfo {
1246
+ /** The host name */
1247
+ name?: string;
1248
+ /** The Fully Qualified Domain Name of host */
1249
+ fqdn?: string;
1250
+ /** The effective disk encryption key URL used by the host */
1251
+ effectiveDiskEncryptionKeyUrl?: string;
1252
+ }
1253
+
1252
1254
  /** The ListPersistedScriptActions operation response. */
1253
1255
  export interface ClusterListPersistedScriptActionsResult {
1254
1256
  /** The list of Persisted Script Actions. */
@@ -1274,19 +1276,48 @@ export interface ScriptActionPersistedGetResponseSpec {
1274
1276
  applicationName?: string;
1275
1277
  }
1276
1278
 
1277
- /** The cluster create request specification. */
1278
- export interface ClusterCreateRequestValidationParameters
1279
- extends ClusterCreateParametersExtended {
1280
- /** The cluster name. */
1281
- name?: string;
1282
- /** The resource type. */
1283
- type?: string;
1284
- /** The tenant id. */
1285
- tenantId?: string;
1286
- /** This indicates whether fetch Aadds resource or not. */
1287
- fetchAaddsResource?: boolean;
1279
+ /** The execution details of a script action. */
1280
+ export interface RuntimeScriptActionDetail extends RuntimeScriptAction {
1281
+ /**
1282
+ * The execution id of the script action.
1283
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1284
+ */
1285
+ readonly scriptExecutionId?: number;
1286
+ /**
1287
+ * The start time of script action execution.
1288
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1289
+ */
1290
+ readonly startTime?: string;
1291
+ /**
1292
+ * The end time of script action execution.
1293
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1294
+ */
1295
+ readonly endTime?: string;
1296
+ /**
1297
+ * The current execution status of the script action.
1298
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1299
+ */
1300
+ readonly status?: string;
1301
+ /**
1302
+ * The reason why the script action was executed.
1303
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1304
+ */
1305
+ readonly operation?: string;
1306
+ /**
1307
+ * The summary of script action execution result.
1308
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1309
+ */
1310
+ readonly executionSummary?: ScriptActionExecutionSummary[];
1311
+ /**
1312
+ * The script action execution debug information.
1313
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1314
+ */
1315
+ readonly debugInformation?: string;
1288
1316
  }
1289
1317
 
1318
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1319
+ export interface ProxyResource extends Resource {}
1320
+
1290
1321
  /** The private endpoint connection. */
1291
1322
  export interface PrivateEndpointConnection extends Resource {
1292
1323
  /**
@@ -1313,8 +1344,18 @@ export interface PrivateEndpointConnection extends Resource {
1313
1344
  readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1314
1345
  }
1315
1346
 
1316
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1317
- export interface ProxyResource extends Resource {}
1347
+ /** The cluster create request specification. */
1348
+ export interface ClusterCreateRequestValidationParameters
1349
+ extends ClusterCreateParametersExtended {
1350
+ /** The cluster name. */
1351
+ name?: string;
1352
+ /** The resource type. */
1353
+ type?: string;
1354
+ /** The tenant id. */
1355
+ tenantId?: string;
1356
+ /** This indicates whether fetch Aadds resource or not. */
1357
+ fetchAaddsResource?: boolean;
1358
+ }
1318
1359
 
1319
1360
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1320
1361
  export interface TrackedResource extends ResourceAutoGenerated {
@@ -1345,77 +1386,161 @@ export interface PrivateLinkResource extends ResourceAutoGenerated {
1345
1386
  requiredZoneNames?: string[];
1346
1387
  }
1347
1388
 
1348
- /** The execution details of a script action. */
1349
- export interface RuntimeScriptActionDetail extends RuntimeScriptAction {
1350
- /**
1351
- * The execution id of the script action.
1352
- * NOTE: This property will not be serialized. It can only be populated by the server.
1353
- */
1354
- readonly scriptExecutionId?: number;
1355
- /**
1356
- * The start time of script action execution.
1357
- * NOTE: This property will not be serialized. It can only be populated by the server.
1358
- */
1359
- readonly startTime?: string;
1360
- /**
1361
- * The end time of script action execution.
1362
- * NOTE: This property will not be serialized. It can only be populated by the server.
1363
- */
1364
- readonly endTime?: string;
1365
- /**
1366
- * The current execution status of the script action.
1367
- * NOTE: This property will not be serialized. It can only be populated by the server.
1368
- */
1369
- readonly status?: string;
1370
- /**
1371
- * The reason why the script action was executed.
1372
- * NOTE: This property will not be serialized. It can only be populated by the server.
1373
- */
1374
- readonly operation?: string;
1389
+ /** The HDInsight cluster application */
1390
+ export interface Application extends ProxyResource {
1391
+ /** The ETag for the application */
1392
+ etag?: string;
1393
+ /** The tags for the application. */
1394
+ tags?: { [propertyName: string]: string };
1395
+ /** The properties of the application. */
1396
+ properties?: ApplicationProperties;
1375
1397
  /**
1376
- * The summary of script action execution result.
1398
+ * Metadata pertaining to creation and last modification of the resource.
1377
1399
  * NOTE: This property will not be serialized. It can only be populated by the server.
1378
1400
  */
1379
- readonly executionSummary?: ScriptActionExecutionSummary[];
1401
+ readonly systemData?: SystemData;
1402
+ }
1403
+
1404
+ /** The HDInsight cluster. */
1405
+ export interface Cluster extends TrackedResource {
1406
+ /** The ETag for the resource */
1407
+ etag?: string;
1408
+ /** The availability zones. */
1409
+ zones?: string[];
1410
+ /** The properties of the cluster. */
1411
+ properties?: ClusterGetProperties;
1412
+ /** The identity of the cluster, if configured. */
1413
+ identity?: ClusterIdentity;
1380
1414
  /**
1381
- * The script action execution debug information.
1415
+ * Metadata pertaining to creation and last modification of the resource.
1382
1416
  * NOTE: This property will not be serialized. It can only be populated by the server.
1383
1417
  */
1384
- readonly debugInformation?: string;
1418
+ readonly systemData?: SystemData;
1419
+ }
1420
+
1421
+ /** Known values of {@link DaysOfWeek} that the service accepts. */
1422
+ export enum KnownDaysOfWeek {
1423
+ /** Monday */
1424
+ Monday = "Monday",
1425
+ /** Tuesday */
1426
+ Tuesday = "Tuesday",
1427
+ /** Wednesday */
1428
+ Wednesday = "Wednesday",
1429
+ /** Thursday */
1430
+ Thursday = "Thursday",
1431
+ /** Friday */
1432
+ Friday = "Friday",
1433
+ /** Saturday */
1434
+ Saturday = "Saturday",
1435
+ /** Sunday */
1436
+ Sunday = "Sunday"
1437
+ }
1438
+
1439
+ /**
1440
+ * Defines values for DaysOfWeek. \
1441
+ * {@link KnownDaysOfWeek} can be used interchangeably with DaysOfWeek,
1442
+ * this enum contains the known values that the service supports.
1443
+ * ### Known values supported by the service
1444
+ * **Monday** \
1445
+ * **Tuesday** \
1446
+ * **Wednesday** \
1447
+ * **Thursday** \
1448
+ * **Friday** \
1449
+ * **Saturday** \
1450
+ * **Sunday**
1451
+ */
1452
+ export type DaysOfWeek = string;
1453
+
1454
+ /** Known values of {@link PrivateLinkConfigurationProvisioningState} that the service accepts. */
1455
+ export enum KnownPrivateLinkConfigurationProvisioningState {
1456
+ /** InProgress */
1457
+ InProgress = "InProgress",
1458
+ /** Failed */
1459
+ Failed = "Failed",
1460
+ /** Succeeded */
1461
+ Succeeded = "Succeeded",
1462
+ /** Canceled */
1463
+ Canceled = "Canceled",
1464
+ /** Deleting */
1465
+ Deleting = "Deleting"
1466
+ }
1467
+
1468
+ /**
1469
+ * Defines values for PrivateLinkConfigurationProvisioningState. \
1470
+ * {@link KnownPrivateLinkConfigurationProvisioningState} can be used interchangeably with PrivateLinkConfigurationProvisioningState,
1471
+ * this enum contains the known values that the service supports.
1472
+ * ### Known values supported by the service
1473
+ * **InProgress** \
1474
+ * **Failed** \
1475
+ * **Succeeded** \
1476
+ * **Canceled** \
1477
+ * **Deleting**
1478
+ */
1479
+ export type PrivateLinkConfigurationProvisioningState = string;
1480
+
1481
+ /** Known values of {@link PrivateIPAllocationMethod} that the service accepts. */
1482
+ export enum KnownPrivateIPAllocationMethod {
1483
+ /** Dynamic */
1484
+ Dynamic = "dynamic",
1485
+ /** Static */
1486
+ Static = "static"
1385
1487
  }
1386
1488
 
1387
- /** The HDInsight cluster application */
1388
- export interface Application extends ProxyResource {
1389
- /** The ETag for the application */
1390
- etag?: string;
1391
- /** The tags for the application. */
1392
- tags?: { [propertyName: string]: string };
1393
- /** The properties of the application. */
1394
- properties?: ApplicationProperties;
1395
- /**
1396
- * Metadata pertaining to creation and last modification of the resource.
1397
- * NOTE: This property will not be serialized. It can only be populated by the server.
1398
- */
1399
- readonly systemData?: SystemData;
1489
+ /**
1490
+ * Defines values for PrivateIPAllocationMethod. \
1491
+ * {@link KnownPrivateIPAllocationMethod} can be used interchangeably with PrivateIPAllocationMethod,
1492
+ * this enum contains the known values that the service supports.
1493
+ * ### Known values supported by the service
1494
+ * **dynamic** \
1495
+ * **static**
1496
+ */
1497
+ export type PrivateIPAllocationMethod = string;
1498
+
1499
+ /** Known values of {@link CreatedByType} that the service accepts. */
1500
+ export enum KnownCreatedByType {
1501
+ /** User */
1502
+ User = "User",
1503
+ /** Application */
1504
+ Application = "Application",
1505
+ /** ManagedIdentity */
1506
+ ManagedIdentity = "ManagedIdentity",
1507
+ /** Key */
1508
+ Key = "Key"
1400
1509
  }
1401
1510
 
1402
- /** The HDInsight cluster. */
1403
- export interface Cluster extends TrackedResource {
1404
- /** The ETag for the resource */
1405
- etag?: string;
1406
- /** The availability zones. */
1407
- zones?: string[];
1408
- /** The properties of the cluster. */
1409
- properties?: ClusterGetProperties;
1410
- /** The identity of the cluster, if configured. */
1411
- identity?: ClusterIdentity;
1412
- /**
1413
- * Metadata pertaining to creation and last modification of the resource.
1414
- * NOTE: This property will not be serialized. It can only be populated by the server.
1415
- */
1416
- readonly systemData?: SystemData;
1511
+ /**
1512
+ * Defines values for CreatedByType. \
1513
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1514
+ * this enum contains the known values that the service supports.
1515
+ * ### Known values supported by the service
1516
+ * **User** \
1517
+ * **Application** \
1518
+ * **ManagedIdentity** \
1519
+ * **Key**
1520
+ */
1521
+ export type CreatedByType = string;
1522
+
1523
+ /** Known values of {@link AsyncOperationState} that the service accepts. */
1524
+ export enum KnownAsyncOperationState {
1525
+ /** InProgress */
1526
+ InProgress = "InProgress",
1527
+ /** Succeeded */
1528
+ Succeeded = "Succeeded",
1529
+ /** Failed */
1530
+ Failed = "Failed"
1417
1531
  }
1418
1532
 
1533
+ /**
1534
+ * Defines values for AsyncOperationState. \
1535
+ * {@link KnownAsyncOperationState} can be used interchangeably with AsyncOperationState,
1536
+ * this enum contains the known values that the service supports.
1537
+ * ### Known values supported by the service
1538
+ * **InProgress** \
1539
+ * **Succeeded** \
1540
+ * **Failed**
1541
+ */
1542
+ export type AsyncOperationState = string;
1543
+
1419
1544
  /** Known values of {@link OSType} that the service accepts. */
1420
1545
  export enum KnownOSType {
1421
1546
  /** Windows */
@@ -1467,39 +1592,6 @@ export enum KnownDirectoryType {
1467
1592
  */
1468
1593
  export type DirectoryType = string;
1469
1594
 
1470
- /** Known values of {@link DaysOfWeek} that the service accepts. */
1471
- export enum KnownDaysOfWeek {
1472
- /** Monday */
1473
- Monday = "Monday",
1474
- /** Tuesday */
1475
- Tuesday = "Tuesday",
1476
- /** Wednesday */
1477
- Wednesday = "Wednesday",
1478
- /** Thursday */
1479
- Thursday = "Thursday",
1480
- /** Friday */
1481
- Friday = "Friday",
1482
- /** Saturday */
1483
- Saturday = "Saturday",
1484
- /** Sunday */
1485
- Sunday = "Sunday"
1486
- }
1487
-
1488
- /**
1489
- * Defines values for DaysOfWeek. \
1490
- * {@link KnownDaysOfWeek} can be used interchangeably with DaysOfWeek,
1491
- * this enum contains the known values that the service supports.
1492
- * ### Known values supported by the service
1493
- * **Monday** \
1494
- * **Tuesday** \
1495
- * **Wednesday** \
1496
- * **Thursday** \
1497
- * **Friday** \
1498
- * **Saturday** \
1499
- * **Sunday**
1500
- */
1501
- export type DaysOfWeek = string;
1502
-
1503
1595
  /** Known values of {@link JsonWebKeyEncryptionAlgorithm} that the service accepts. */
1504
1596
  export enum KnownJsonWebKeyEncryptionAlgorithm {
1505
1597
  /** RSAOaep */
@@ -1557,51 +1649,6 @@ export enum KnownPrivateLink {
1557
1649
  */
1558
1650
  export type PrivateLink = string;
1559
1651
 
1560
- /** Known values of {@link PrivateLinkConfigurationProvisioningState} that the service accepts. */
1561
- export enum KnownPrivateLinkConfigurationProvisioningState {
1562
- /** InProgress */
1563
- InProgress = "InProgress",
1564
- /** Failed */
1565
- Failed = "Failed",
1566
- /** Succeeded */
1567
- Succeeded = "Succeeded",
1568
- /** Canceled */
1569
- Canceled = "Canceled",
1570
- /** Deleting */
1571
- Deleting = "Deleting"
1572
- }
1573
-
1574
- /**
1575
- * Defines values for PrivateLinkConfigurationProvisioningState. \
1576
- * {@link KnownPrivateLinkConfigurationProvisioningState} can be used interchangeably with PrivateLinkConfigurationProvisioningState,
1577
- * this enum contains the known values that the service supports.
1578
- * ### Known values supported by the service
1579
- * **InProgress** \
1580
- * **Failed** \
1581
- * **Succeeded** \
1582
- * **Canceled** \
1583
- * **Deleting**
1584
- */
1585
- export type PrivateLinkConfigurationProvisioningState = string;
1586
-
1587
- /** Known values of {@link PrivateIPAllocationMethod} that the service accepts. */
1588
- export enum KnownPrivateIPAllocationMethod {
1589
- /** Dynamic */
1590
- Dynamic = "dynamic",
1591
- /** Static */
1592
- Static = "static"
1593
- }
1594
-
1595
- /**
1596
- * Defines values for PrivateIPAllocationMethod. \
1597
- * {@link KnownPrivateIPAllocationMethod} can be used interchangeably with PrivateIPAllocationMethod,
1598
- * this enum contains the known values that the service supports.
1599
- * ### Known values supported by the service
1600
- * **dynamic** \
1601
- * **static**
1602
- */
1603
- export type PrivateIPAllocationMethod = string;
1604
-
1605
1652
  /** Known values of {@link ResourceIdentityType} that the service accepts. */
1606
1653
  export enum KnownResourceIdentityType {
1607
1654
  /** SystemAssigned */
@@ -1707,30 +1754,6 @@ export enum KnownPrivateEndpointConnectionProvisioningState {
1707
1754
  */
1708
1755
  export type PrivateEndpointConnectionProvisioningState = string;
1709
1756
 
1710
- /** Known values of {@link CreatedByType} that the service accepts. */
1711
- export enum KnownCreatedByType {
1712
- /** User */
1713
- User = "User",
1714
- /** Application */
1715
- Application = "Application",
1716
- /** ManagedIdentity */
1717
- ManagedIdentity = "ManagedIdentity",
1718
- /** Key */
1719
- Key = "Key"
1720
- }
1721
-
1722
- /**
1723
- * Defines values for CreatedByType. \
1724
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1725
- * this enum contains the known values that the service supports.
1726
- * ### Known values supported by the service
1727
- * **User** \
1728
- * **Application** \
1729
- * **ManagedIdentity** \
1730
- * **Key**
1731
- */
1732
- export type CreatedByType = string;
1733
-
1734
1757
  /** Known values of {@link RoleName} that the service accepts. */
1735
1758
  export enum KnownRoleName {
1736
1759
  /** Workernode */
@@ -1746,27 +1769,6 @@ export enum KnownRoleName {
1746
1769
  */
1747
1770
  export type RoleName = string;
1748
1771
 
1749
- /** Known values of {@link AsyncOperationState} that the service accepts. */
1750
- export enum KnownAsyncOperationState {
1751
- /** InProgress */
1752
- InProgress = "InProgress",
1753
- /** Succeeded */
1754
- Succeeded = "Succeeded",
1755
- /** Failed */
1756
- Failed = "Failed"
1757
- }
1758
-
1759
- /**
1760
- * Defines values for AsyncOperationState. \
1761
- * {@link KnownAsyncOperationState} can be used interchangeably with AsyncOperationState,
1762
- * this enum contains the known values that the service supports.
1763
- * ### Known values supported by the service
1764
- * **InProgress** \
1765
- * **Succeeded** \
1766
- * **Failed**
1767
- */
1768
- export type AsyncOperationState = string;
1769
-
1770
1772
  /** Known values of {@link FilterMode} that the service accepts. */
1771
1773
  export enum KnownFilterMode {
1772
1774
  /** Exclude */
@@ -1779,17 +1781,66 @@ export enum KnownFilterMode {
1779
1781
  Default = "Default"
1780
1782
  }
1781
1783
 
1782
- /**
1783
- * Defines values for FilterMode. \
1784
- * {@link KnownFilterMode} can be used interchangeably with FilterMode,
1785
- * this enum contains the known values that the service supports.
1786
- * ### Known values supported by the service
1787
- * **Exclude** \
1788
- * **Include** \
1789
- * **Recommend** \
1790
- * **Default**
1791
- */
1792
- export type FilterMode = string;
1784
+ /**
1785
+ * Defines values for FilterMode. \
1786
+ * {@link KnownFilterMode} can be used interchangeably with FilterMode,
1787
+ * this enum contains the known values that the service supports.
1788
+ * ### Known values supported by the service
1789
+ * **Exclude** \
1790
+ * **Include** \
1791
+ * **Recommend** \
1792
+ * **Default**
1793
+ */
1794
+ export type FilterMode = string;
1795
+
1796
+ /** Optional parameters. */
1797
+ export interface ApplicationsListByClusterOptionalParams
1798
+ extends coreClient.OperationOptions {}
1799
+
1800
+ /** Contains response data for the listByCluster operation. */
1801
+ export type ApplicationsListByClusterResponse = ApplicationListResult;
1802
+
1803
+ /** Optional parameters. */
1804
+ export interface ApplicationsGetOptionalParams
1805
+ extends coreClient.OperationOptions {}
1806
+
1807
+ /** Contains response data for the get operation. */
1808
+ export type ApplicationsGetResponse = Application;
1809
+
1810
+ /** Optional parameters. */
1811
+ export interface ApplicationsCreateOptionalParams
1812
+ extends coreClient.OperationOptions {
1813
+ /** Delay to wait until next poll, in milliseconds. */
1814
+ updateIntervalInMs?: number;
1815
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1816
+ resumeFrom?: string;
1817
+ }
1818
+
1819
+ /** Contains response data for the create operation. */
1820
+ export type ApplicationsCreateResponse = Application;
1821
+
1822
+ /** Optional parameters. */
1823
+ export interface ApplicationsDeleteOptionalParams
1824
+ extends coreClient.OperationOptions {
1825
+ /** Delay to wait until next poll, in milliseconds. */
1826
+ updateIntervalInMs?: number;
1827
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1828
+ resumeFrom?: string;
1829
+ }
1830
+
1831
+ /** Optional parameters. */
1832
+ export interface ApplicationsGetAzureAsyncOperationStatusOptionalParams
1833
+ extends coreClient.OperationOptions {}
1834
+
1835
+ /** Contains response data for the getAzureAsyncOperationStatus operation. */
1836
+ export type ApplicationsGetAzureAsyncOperationStatusResponse = AsyncOperationResult;
1837
+
1838
+ /** Optional parameters. */
1839
+ export interface ApplicationsListByClusterNextOptionalParams
1840
+ extends coreClient.OperationOptions {}
1841
+
1842
+ /** Contains response data for the listByClusterNext operation. */
1843
+ export type ApplicationsListByClusterNextResponse = ApplicationListResult;
1793
1844
 
1794
1845
  /** Optional parameters. */
1795
1846
  export interface ClustersCreateOptionalParams
@@ -1922,97 +1973,6 @@ export interface ClustersListNextOptionalParams
1922
1973
  /** Contains response data for the listNext operation. */
1923
1974
  export type ClustersListNextResponse = ClusterListResult;
1924
1975
 
1925
- /** Optional parameters. */
1926
- export interface ApplicationsListByClusterOptionalParams
1927
- extends coreClient.OperationOptions {}
1928
-
1929
- /** Contains response data for the listByCluster operation. */
1930
- export type ApplicationsListByClusterResponse = ApplicationListResult;
1931
-
1932
- /** Optional parameters. */
1933
- export interface ApplicationsGetOptionalParams
1934
- extends coreClient.OperationOptions {}
1935
-
1936
- /** Contains response data for the get operation. */
1937
- export type ApplicationsGetResponse = Application;
1938
-
1939
- /** Optional parameters. */
1940
- export interface ApplicationsCreateOptionalParams
1941
- extends coreClient.OperationOptions {
1942
- /** Delay to wait until next poll, in milliseconds. */
1943
- updateIntervalInMs?: number;
1944
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1945
- resumeFrom?: string;
1946
- }
1947
-
1948
- /** Contains response data for the create operation. */
1949
- export type ApplicationsCreateResponse = Application;
1950
-
1951
- /** Optional parameters. */
1952
- export interface ApplicationsDeleteOptionalParams
1953
- extends coreClient.OperationOptions {
1954
- /** Delay to wait until next poll, in milliseconds. */
1955
- updateIntervalInMs?: number;
1956
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1957
- resumeFrom?: string;
1958
- }
1959
-
1960
- /** Optional parameters. */
1961
- export interface ApplicationsGetAzureAsyncOperationStatusOptionalParams
1962
- extends coreClient.OperationOptions {}
1963
-
1964
- /** Contains response data for the getAzureAsyncOperationStatus operation. */
1965
- export type ApplicationsGetAzureAsyncOperationStatusResponse = AsyncOperationResult;
1966
-
1967
- /** Optional parameters. */
1968
- export interface ApplicationsListByClusterNextOptionalParams
1969
- extends coreClient.OperationOptions {}
1970
-
1971
- /** Contains response data for the listByClusterNext operation. */
1972
- export type ApplicationsListByClusterNextResponse = ApplicationListResult;
1973
-
1974
- /** Optional parameters. */
1975
- export interface LocationsGetCapabilitiesOptionalParams
1976
- extends coreClient.OperationOptions {}
1977
-
1978
- /** Contains response data for the getCapabilities operation. */
1979
- export type LocationsGetCapabilitiesResponse = CapabilitiesResult;
1980
-
1981
- /** Optional parameters. */
1982
- export interface LocationsListUsagesOptionalParams
1983
- extends coreClient.OperationOptions {}
1984
-
1985
- /** Contains response data for the listUsages operation. */
1986
- export type LocationsListUsagesResponse = UsagesListResult;
1987
-
1988
- /** Optional parameters. */
1989
- export interface LocationsListBillingSpecsOptionalParams
1990
- extends coreClient.OperationOptions {}
1991
-
1992
- /** Contains response data for the listBillingSpecs operation. */
1993
- export type LocationsListBillingSpecsResponse = BillingResponseListResult;
1994
-
1995
- /** Optional parameters. */
1996
- export interface LocationsGetAzureAsyncOperationStatusOptionalParams
1997
- extends coreClient.OperationOptions {}
1998
-
1999
- /** Contains response data for the getAzureAsyncOperationStatus operation. */
2000
- export type LocationsGetAzureAsyncOperationStatusResponse = AsyncOperationResult;
2001
-
2002
- /** Optional parameters. */
2003
- export interface LocationsCheckNameAvailabilityOptionalParams
2004
- extends coreClient.OperationOptions {}
2005
-
2006
- /** Contains response data for the checkNameAvailability operation. */
2007
- export type LocationsCheckNameAvailabilityResponse = NameAvailabilityCheckResult;
2008
-
2009
- /** Optional parameters. */
2010
- export interface LocationsValidateClusterCreateRequestOptionalParams
2011
- extends coreClient.OperationOptions {}
2012
-
2013
- /** Contains response data for the validateClusterCreateRequest operation. */
2014
- export type LocationsValidateClusterCreateRequestResponse = ClusterCreateValidationResult;
2015
-
2016
1976
  /** Optional parameters. */
2017
1977
  export interface ConfigurationsListOptionalParams
2018
1978
  extends coreClient.OperationOptions {}
@@ -2119,54 +2079,46 @@ export interface ExtensionsGetAzureAsyncOperationStatusOptionalParams
2119
2079
  export type ExtensionsGetAzureAsyncOperationStatusResponse = AsyncOperationResult;
2120
2080
 
2121
2081
  /** Optional parameters. */
2122
- export interface ScriptActionsDeleteOptionalParams
2123
- extends coreClient.OperationOptions {}
2124
-
2125
- /** Optional parameters. */
2126
- export interface ScriptActionsListByClusterOptionalParams
2082
+ export interface LocationsGetCapabilitiesOptionalParams
2127
2083
  extends coreClient.OperationOptions {}
2128
2084
 
2129
- /** Contains response data for the listByCluster operation. */
2130
- export type ScriptActionsListByClusterResponse = ScriptActionsList;
2085
+ /** Contains response data for the getCapabilities operation. */
2086
+ export type LocationsGetCapabilitiesResponse = CapabilitiesResult;
2131
2087
 
2132
2088
  /** Optional parameters. */
2133
- export interface ScriptActionsGetExecutionDetailOptionalParams
2089
+ export interface LocationsListUsagesOptionalParams
2134
2090
  extends coreClient.OperationOptions {}
2135
2091
 
2136
- /** Contains response data for the getExecutionDetail operation. */
2137
- export type ScriptActionsGetExecutionDetailResponse = RuntimeScriptActionDetail;
2092
+ /** Contains response data for the listUsages operation. */
2093
+ export type LocationsListUsagesResponse = UsagesListResult;
2138
2094
 
2139
2095
  /** Optional parameters. */
2140
- export interface ScriptActionsGetExecutionAsyncOperationStatusOptionalParams
2096
+ export interface LocationsListBillingSpecsOptionalParams
2141
2097
  extends coreClient.OperationOptions {}
2142
2098
 
2143
- /** Contains response data for the getExecutionAsyncOperationStatus operation. */
2144
- export type ScriptActionsGetExecutionAsyncOperationStatusResponse = AsyncOperationResult;
2099
+ /** Contains response data for the listBillingSpecs operation. */
2100
+ export type LocationsListBillingSpecsResponse = BillingResponseListResult;
2145
2101
 
2146
2102
  /** Optional parameters. */
2147
- export interface ScriptActionsListByClusterNextOptionalParams
2103
+ export interface LocationsGetAzureAsyncOperationStatusOptionalParams
2148
2104
  extends coreClient.OperationOptions {}
2149
2105
 
2150
- /** Contains response data for the listByClusterNext operation. */
2151
- export type ScriptActionsListByClusterNextResponse = ScriptActionsList;
2106
+ /** Contains response data for the getAzureAsyncOperationStatus operation. */
2107
+ export type LocationsGetAzureAsyncOperationStatusResponse = AsyncOperationResult;
2152
2108
 
2153
2109
  /** Optional parameters. */
2154
- export interface ScriptExecutionHistoryListByClusterOptionalParams
2110
+ export interface LocationsCheckNameAvailabilityOptionalParams
2155
2111
  extends coreClient.OperationOptions {}
2156
2112
 
2157
- /** Contains response data for the listByCluster operation. */
2158
- export type ScriptExecutionHistoryListByClusterResponse = ScriptActionExecutionHistoryList;
2159
-
2160
- /** Optional parameters. */
2161
- export interface ScriptExecutionHistoryPromoteOptionalParams
2162
- extends coreClient.OperationOptions {}
2113
+ /** Contains response data for the checkNameAvailability operation. */
2114
+ export type LocationsCheckNameAvailabilityResponse = NameAvailabilityCheckResult;
2163
2115
 
2164
2116
  /** Optional parameters. */
2165
- export interface ScriptExecutionHistoryListByClusterNextOptionalParams
2117
+ export interface LocationsValidateClusterCreateRequestOptionalParams
2166
2118
  extends coreClient.OperationOptions {}
2167
2119
 
2168
- /** Contains response data for the listByClusterNext operation. */
2169
- export type ScriptExecutionHistoryListByClusterNextResponse = ScriptActionExecutionHistoryList;
2120
+ /** Contains response data for the validateClusterCreateRequest operation. */
2121
+ export type LocationsValidateClusterCreateRequestResponse = ClusterCreateValidationResult;
2170
2122
 
2171
2123
  /** Optional parameters. */
2172
2124
  export interface OperationsListOptionalParams
@@ -2182,29 +2134,6 @@ export interface OperationsListNextOptionalParams
2182
2134
  /** Contains response data for the listNext operation. */
2183
2135
  export type OperationsListNextResponse = OperationListResult;
2184
2136
 
2185
- /** Optional parameters. */
2186
- export interface VirtualMachinesListHostsOptionalParams
2187
- extends coreClient.OperationOptions {}
2188
-
2189
- /** Contains response data for the listHosts operation. */
2190
- export type VirtualMachinesListHostsResponse = HostInfo[];
2191
-
2192
- /** Optional parameters. */
2193
- export interface VirtualMachinesRestartHostsOptionalParams
2194
- extends coreClient.OperationOptions {
2195
- /** Delay to wait until next poll, in milliseconds. */
2196
- updateIntervalInMs?: number;
2197
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2198
- resumeFrom?: string;
2199
- }
2200
-
2201
- /** Optional parameters. */
2202
- export interface VirtualMachinesGetAsyncOperationStatusOptionalParams
2203
- extends coreClient.OperationOptions {}
2204
-
2205
- /** Contains response data for the getAsyncOperationStatus operation. */
2206
- export type VirtualMachinesGetAsyncOperationStatusResponse = AsyncOperationResult;
2207
-
2208
2137
  /** Optional parameters. */
2209
2138
  export interface PrivateEndpointConnectionsListByClusterOptionalParams
2210
2139
  extends coreClient.OperationOptions {}
@@ -2261,6 +2190,79 @@ export interface PrivateLinkResourcesGetOptionalParams
2261
2190
  /** Contains response data for the get operation. */
2262
2191
  export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
2263
2192
 
2193
+ /** Optional parameters. */
2194
+ export interface ScriptActionsDeleteOptionalParams
2195
+ extends coreClient.OperationOptions {}
2196
+
2197
+ /** Optional parameters. */
2198
+ export interface ScriptActionsListByClusterOptionalParams
2199
+ extends coreClient.OperationOptions {}
2200
+
2201
+ /** Contains response data for the listByCluster operation. */
2202
+ export type ScriptActionsListByClusterResponse = ScriptActionsList;
2203
+
2204
+ /** Optional parameters. */
2205
+ export interface ScriptActionsGetExecutionDetailOptionalParams
2206
+ extends coreClient.OperationOptions {}
2207
+
2208
+ /** Contains response data for the getExecutionDetail operation. */
2209
+ export type ScriptActionsGetExecutionDetailResponse = RuntimeScriptActionDetail;
2210
+
2211
+ /** Optional parameters. */
2212
+ export interface ScriptActionsGetExecutionAsyncOperationStatusOptionalParams
2213
+ extends coreClient.OperationOptions {}
2214
+
2215
+ /** Contains response data for the getExecutionAsyncOperationStatus operation. */
2216
+ export type ScriptActionsGetExecutionAsyncOperationStatusResponse = AsyncOperationResult;
2217
+
2218
+ /** Optional parameters. */
2219
+ export interface ScriptActionsListByClusterNextOptionalParams
2220
+ extends coreClient.OperationOptions {}
2221
+
2222
+ /** Contains response data for the listByClusterNext operation. */
2223
+ export type ScriptActionsListByClusterNextResponse = ScriptActionsList;
2224
+
2225
+ /** Optional parameters. */
2226
+ export interface ScriptExecutionHistoryListByClusterOptionalParams
2227
+ extends coreClient.OperationOptions {}
2228
+
2229
+ /** Contains response data for the listByCluster operation. */
2230
+ export type ScriptExecutionHistoryListByClusterResponse = ScriptActionExecutionHistoryList;
2231
+
2232
+ /** Optional parameters. */
2233
+ export interface ScriptExecutionHistoryPromoteOptionalParams
2234
+ extends coreClient.OperationOptions {}
2235
+
2236
+ /** Optional parameters. */
2237
+ export interface ScriptExecutionHistoryListByClusterNextOptionalParams
2238
+ extends coreClient.OperationOptions {}
2239
+
2240
+ /** Contains response data for the listByClusterNext operation. */
2241
+ export type ScriptExecutionHistoryListByClusterNextResponse = ScriptActionExecutionHistoryList;
2242
+
2243
+ /** Optional parameters. */
2244
+ export interface VirtualMachinesListHostsOptionalParams
2245
+ extends coreClient.OperationOptions {}
2246
+
2247
+ /** Contains response data for the listHosts operation. */
2248
+ export type VirtualMachinesListHostsResponse = HostInfo[];
2249
+
2250
+ /** Optional parameters. */
2251
+ export interface VirtualMachinesRestartHostsOptionalParams
2252
+ extends coreClient.OperationOptions {
2253
+ /** Delay to wait until next poll, in milliseconds. */
2254
+ updateIntervalInMs?: number;
2255
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2256
+ resumeFrom?: string;
2257
+ }
2258
+
2259
+ /** Optional parameters. */
2260
+ export interface VirtualMachinesGetAsyncOperationStatusOptionalParams
2261
+ extends coreClient.OperationOptions {}
2262
+
2263
+ /** Contains response data for the getAsyncOperationStatus operation. */
2264
+ export type VirtualMachinesGetAsyncOperationStatusResponse = AsyncOperationResult;
2265
+
2264
2266
  /** Optional parameters. */
2265
2267
  export interface HDInsightManagementClientOptionalParams
2266
2268
  extends coreClient.ServiceClientOptions {