@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.
- package/CHANGELOG.md +6 -10
- package/README.md +1 -1
- package/dist/index.js +3489 -3399
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/applicationsCreateSample.js +1 -1
- package/dist-esm/samples-dev/applicationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationsGetAzureAsyncOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/applicationsGetSample.js +2 -2
- package/dist-esm/samples-dev/applicationsListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/clustersCreateSample.js +26 -13
- package/dist-esm/samples-dev/clustersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/clustersExecuteScriptActionsSample.js +1 -1
- package/dist-esm/samples-dev/clustersGetAzureAsyncOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/clustersGetGatewaySettingsSample.js +1 -1
- package/dist-esm/samples-dev/clustersGetSample.js +2 -2
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/clustersListSample.js +1 -1
- package/dist-esm/samples-dev/clustersResizeSample.js +1 -1
- package/dist-esm/samples-dev/clustersRotateDiskEncryptionKeySample.js +1 -1
- package/dist-esm/samples-dev/clustersUpdateAutoScaleConfigurationSample.js +3 -3
- package/dist-esm/samples-dev/clustersUpdateGatewaySettingsSample.js +1 -1
- package/dist-esm/samples-dev/clustersUpdateIdentityCertificateSample.js +1 -1
- package/dist-esm/samples-dev/clustersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/configurationsListSample.js +1 -1
- package/dist-esm/samples-dev/configurationsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/extensionsCreateSample.js +1 -1
- package/dist-esm/samples-dev/extensionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorSample.js +1 -1
- package/dist-esm/samples-dev/extensionsDisableMonitoringSample.js +1 -1
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorSample.js +1 -1
- package/dist-esm/samples-dev/extensionsEnableMonitoringSample.js +1 -1
- package/dist-esm/samples-dev/extensionsGetAzureAsyncOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/extensionsGetAzureMonitorStatusSample.js +1 -1
- package/dist-esm/samples-dev/extensionsGetMonitoringStatusSample.js +1 -1
- package/dist-esm/samples-dev/extensionsGetSample.js +1 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/locationsGetAzureAsyncOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/locationsGetCapabilitiesSample.js +1 -1
- package/dist-esm/samples-dev/locationsListBillingSpecsSample.js +1 -1
- package/dist-esm/samples-dev/locationsListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.js +2 -1
- package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +58 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/scriptActionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/scriptActionsGetExecutionAsyncOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/scriptActionsGetExecutionDetailSample.js +1 -1
- package/dist-esm/samples-dev/scriptActionsListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/scriptExecutionHistoryListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/scriptExecutionHistoryPromoteSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesGetAsyncOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesListHostsSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesRestartHostsSample.js +1 -1
- package/dist-esm/src/hDInsightManagementClient.d.ts +6 -6
- package/dist-esm/src/hDInsightManagementClient.d.ts.map +1 -1
- package/dist-esm/src/hDInsightManagementClient.js +8 -8
- package/dist-esm/src/hDInsightManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +696 -694
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +62 -62
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +35 -35
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1451 -1445
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +12 -12
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +91 -91
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/applications.d.ts +3 -3
- package/dist-esm/src/operations/applications.d.ts.map +1 -1
- package/dist-esm/src/operations/applications.js +30 -16
- package/dist-esm/src/operations/applications.js.map +1 -1
- package/dist-esm/src/operations/clusters.d.ts +9 -9
- package/dist-esm/src/operations/clusters.d.ts.map +1 -1
- package/dist-esm/src/operations/clusters.js +90 -58
- package/dist-esm/src/operations/clusters.js.map +1 -1
- package/dist-esm/src/operations/configurations.d.ts +2 -2
- package/dist-esm/src/operations/configurations.d.ts.map +1 -1
- package/dist-esm/src/operations/configurations.js +19 -15
- package/dist-esm/src/operations/configurations.js.map +1 -1
- package/dist-esm/src/operations/extensions.d.ts +7 -7
- package/dist-esm/src/operations/extensions.d.ts.map +1 -1
- package/dist-esm/src/operations/extensions.js +68 -38
- package/dist-esm/src/operations/extensions.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +5 -5
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +5 -5
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/locations.js +4 -4
- package/dist-esm/src/operations/locations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +32 -24
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/virtualMachines.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachines.js +12 -8
- package/dist-esm/src/operations/virtualMachines.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/applications.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/applications.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +9 -9
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/configurations.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/extensions.d.ts +7 -7
- package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -5
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +5 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
- package/dist-esm/test/hdinsights_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/hdinsights_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/hdinsights_operations_test.spec.js +86 -0
- package/dist-esm/test/hdinsights_operations_test.spec.js.map +1 -0
- package/package.json +7 -7
- package/review/arm-hdinsight.api.md +23 -22
- package/src/hDInsightManagementClient.ts +24 -24
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +838 -836
- package/src/models/mappers.ts +1559 -1553
- package/src/models/parameters.ts +101 -101
- package/src/operations/applications.ts +40 -27
- package/src/operations/clusters.ts +106 -99
- package/src/operations/configurations.ts +18 -14
- package/src/operations/extensions.ts +78 -68
- package/src/operations/index.ts +5 -5
- package/src/operations/locations.ts +4 -4
- package/src/operations/privateEndpointConnections.ts +31 -24
- package/src/operations/virtualMachines.ts +17 -13
- package/src/operationsInterfaces/applications.ts +4 -4
- package/src/operationsInterfaces/clusters.ts +10 -10
- package/src/operationsInterfaces/configurations.ts +2 -2
- package/src/operationsInterfaces/extensions.ts +7 -7
- package/src/operationsInterfaces/index.ts +5 -5
- package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
- package/src/operationsInterfaces/virtualMachines.ts +2 -2
- package/types/arm-hdinsight.d.ts +29 -27
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
10
10
|
import {
|
|
11
11
|
ConfigurationsListOptionalParams,
|
|
12
12
|
ConfigurationsListResponse,
|
|
@@ -43,7 +43,7 @@ export interface Configurations {
|
|
|
43
43
|
configurationName: string,
|
|
44
44
|
parameters: { [propertyName: string]: string },
|
|
45
45
|
options?: ConfigurationsUpdateOptionalParams
|
|
46
|
-
): Promise<
|
|
46
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
47
47
|
/**
|
|
48
48
|
* Configures the HTTP settings on the specified cluster. This API is deprecated, please use
|
|
49
49
|
* UpdateGatewaySettings in cluster endpoint instead.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
10
10
|
import {
|
|
11
11
|
ClusterMonitoringRequest,
|
|
12
12
|
ExtensionsEnableMonitoringOptionalParams,
|
|
@@ -41,7 +41,7 @@ export interface Extensions {
|
|
|
41
41
|
clusterName: string,
|
|
42
42
|
parameters: ClusterMonitoringRequest,
|
|
43
43
|
options?: ExtensionsEnableMonitoringOptionalParams
|
|
44
|
-
): Promise<
|
|
44
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
45
45
|
/**
|
|
46
46
|
* Enables the Operations Management Suite (OMS) on the HDInsight cluster.
|
|
47
47
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -76,7 +76,7 @@ export interface Extensions {
|
|
|
76
76
|
resourceGroupName: string,
|
|
77
77
|
clusterName: string,
|
|
78
78
|
options?: ExtensionsDisableMonitoringOptionalParams
|
|
79
|
-
): Promise<
|
|
79
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
80
80
|
/**
|
|
81
81
|
* Disables the Operations Management Suite (OMS) on the HDInsight cluster.
|
|
82
82
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -100,7 +100,7 @@ export interface Extensions {
|
|
|
100
100
|
clusterName: string,
|
|
101
101
|
parameters: AzureMonitorRequest,
|
|
102
102
|
options?: ExtensionsEnableAzureMonitorOptionalParams
|
|
103
|
-
): Promise<
|
|
103
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
104
104
|
/**
|
|
105
105
|
* Enables the Azure Monitor on the HDInsight cluster.
|
|
106
106
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -135,7 +135,7 @@ export interface Extensions {
|
|
|
135
135
|
resourceGroupName: string,
|
|
136
136
|
clusterName: string,
|
|
137
137
|
options?: ExtensionsDisableAzureMonitorOptionalParams
|
|
138
|
-
): Promise<
|
|
138
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
139
139
|
/**
|
|
140
140
|
* Disables the Azure Monitor on the HDInsight cluster.
|
|
141
141
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -161,7 +161,7 @@ export interface Extensions {
|
|
|
161
161
|
extensionName: string,
|
|
162
162
|
parameters: Extension,
|
|
163
163
|
options?: ExtensionsCreateOptionalParams
|
|
164
|
-
): Promise<
|
|
164
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
165
165
|
/**
|
|
166
166
|
* Creates an HDInsight cluster extension.
|
|
167
167
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -202,7 +202,7 @@ export interface Extensions {
|
|
|
202
202
|
clusterName: string,
|
|
203
203
|
extensionName: string,
|
|
204
204
|
options?: ExtensionsDeleteOptionalParams
|
|
205
|
-
): Promise<
|
|
205
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
206
206
|
/**
|
|
207
207
|
* Deletes the specified extension for HDInsight cluster.
|
|
208
208
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
export * from "./clusters";
|
|
10
9
|
export * from "./applications";
|
|
11
|
-
export * from "./
|
|
10
|
+
export * from "./clusters";
|
|
12
11
|
export * from "./configurations";
|
|
13
12
|
export * from "./extensions";
|
|
14
|
-
export * from "./
|
|
15
|
-
export * from "./scriptExecutionHistory";
|
|
13
|
+
export * from "./locations";
|
|
16
14
|
export * from "./operations";
|
|
17
|
-
export * from "./virtualMachines";
|
|
18
15
|
export * from "./privateEndpointConnections";
|
|
19
16
|
export * from "./privateLinkResources";
|
|
17
|
+
export * from "./scriptActions";
|
|
18
|
+
export * from "./scriptExecutionHistory";
|
|
19
|
+
export * from "./virtualMachines";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
11
|
import {
|
|
12
12
|
PrivateEndpointConnection,
|
|
13
13
|
PrivateEndpointConnectionsListByClusterOptionalParams,
|
|
@@ -47,8 +47,8 @@ export interface PrivateEndpointConnections {
|
|
|
47
47
|
parameters: PrivateEndpointConnection,
|
|
48
48
|
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
|
49
49
|
): Promise<
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
SimplePollerLike<
|
|
51
|
+
OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,
|
|
52
52
|
PrivateEndpointConnectionsCreateOrUpdateResponse
|
|
53
53
|
>
|
|
54
54
|
>;
|
|
@@ -92,7 +92,7 @@ export interface PrivateEndpointConnections {
|
|
|
92
92
|
clusterName: string,
|
|
93
93
|
privateEndpointConnectionName: string,
|
|
94
94
|
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
95
|
-
): Promise<
|
|
95
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
96
96
|
/**
|
|
97
97
|
* Deletes the specific private endpoint connection.
|
|
98
98
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
10
10
|
import {
|
|
11
11
|
VirtualMachinesListHostsOptionalParams,
|
|
12
12
|
VirtualMachinesListHostsResponse,
|
|
@@ -40,7 +40,7 @@ export interface VirtualMachines {
|
|
|
40
40
|
clusterName: string,
|
|
41
41
|
hosts: string[],
|
|
42
42
|
options?: VirtualMachinesRestartHostsOptionalParams
|
|
43
|
-
): Promise<
|
|
43
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
44
44
|
/**
|
|
45
45
|
* Restarts the specified HDInsight cluster hosts.
|
|
46
46
|
* @param resourceGroupName The name of the resource group.
|
package/types/arm-hdinsight.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as coreAuth from '@azure/core-auth';
|
|
2
2
|
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
|
3
4
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
-
import {
|
|
5
|
-
import { PollOperationState } from '@azure/core-lro';
|
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
6
6
|
|
|
7
7
|
/** The Azure active directory domain service resource details. */
|
|
8
8
|
export declare interface AaddsResourceDetails {
|
|
@@ -151,7 +151,7 @@ export declare interface Applications {
|
|
|
151
151
|
* @param parameters The application create request.
|
|
152
152
|
* @param options The options parameters.
|
|
153
153
|
*/
|
|
154
|
-
beginCreate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOptionalParams): Promise<
|
|
154
|
+
beginCreate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsCreateResponse>, ApplicationsCreateResponse>>;
|
|
155
155
|
/**
|
|
156
156
|
* Creates applications for the HDInsight cluster.
|
|
157
157
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -168,7 +168,7 @@ export declare interface Applications {
|
|
|
168
168
|
* @param applicationName The constant value for the application name.
|
|
169
169
|
* @param options The options parameters.
|
|
170
170
|
*/
|
|
171
|
-
beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<
|
|
171
|
+
beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
172
172
|
/**
|
|
173
173
|
* Deletes the specified application on the HDInsight cluster.
|
|
174
174
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -674,7 +674,7 @@ export declare interface Clusters {
|
|
|
674
674
|
* @param parameters The cluster create request.
|
|
675
675
|
* @param options The options parameters.
|
|
676
676
|
*/
|
|
677
|
-
beginCreate(resourceGroupName: string, clusterName: string, parameters: ClusterCreateParametersExtended, options?: ClustersCreateOptionalParams): Promise<
|
|
677
|
+
beginCreate(resourceGroupName: string, clusterName: string, parameters: ClusterCreateParametersExtended, options?: ClustersCreateOptionalParams): Promise<SimplePollerLike<OperationState<ClustersCreateResponse>, ClustersCreateResponse>>;
|
|
678
678
|
/**
|
|
679
679
|
* Creates a new HDInsight cluster with the specified parameters.
|
|
680
680
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -697,7 +697,7 @@ export declare interface Clusters {
|
|
|
697
697
|
* @param clusterName The name of the cluster.
|
|
698
698
|
* @param options The options parameters.
|
|
699
699
|
*/
|
|
700
|
-
beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<
|
|
700
|
+
beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
701
701
|
/**
|
|
702
702
|
* Deletes the specified HDInsight cluster.
|
|
703
703
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -720,7 +720,7 @@ export declare interface Clusters {
|
|
|
720
720
|
* @param parameters The parameters for the resize operation.
|
|
721
721
|
* @param options The options parameters.
|
|
722
722
|
*/
|
|
723
|
-
beginResize(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: ClusterResizeParameters, options?: ClustersResizeOptionalParams): Promise<
|
|
723
|
+
beginResize(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: ClusterResizeParameters, options?: ClustersResizeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
724
724
|
/**
|
|
725
725
|
* Resizes the specified HDInsight cluster to the specified size.
|
|
726
726
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -738,7 +738,7 @@ export declare interface Clusters {
|
|
|
738
738
|
* @param parameters The parameters for the update autoscale configuration operation.
|
|
739
739
|
* @param options The options parameters.
|
|
740
740
|
*/
|
|
741
|
-
beginUpdateAutoScaleConfiguration(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: AutoscaleConfigurationUpdateParameter, options?: ClustersUpdateAutoScaleConfigurationOptionalParams): Promise<
|
|
741
|
+
beginUpdateAutoScaleConfiguration(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: AutoscaleConfigurationUpdateParameter, options?: ClustersUpdateAutoScaleConfigurationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
742
742
|
/**
|
|
743
743
|
* Updates the Autoscale Configuration for HDInsight cluster.
|
|
744
744
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -755,7 +755,7 @@ export declare interface Clusters {
|
|
|
755
755
|
* @param parameters The parameters for the disk encryption operation.
|
|
756
756
|
* @param options The options parameters.
|
|
757
757
|
*/
|
|
758
|
-
beginRotateDiskEncryptionKey(resourceGroupName: string, clusterName: string, parameters: ClusterDiskEncryptionParameters, options?: ClustersRotateDiskEncryptionKeyOptionalParams): Promise<
|
|
758
|
+
beginRotateDiskEncryptionKey(resourceGroupName: string, clusterName: string, parameters: ClusterDiskEncryptionParameters, options?: ClustersRotateDiskEncryptionKeyOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
759
759
|
/**
|
|
760
760
|
* Rotate disk encryption key of the specified HDInsight cluster.
|
|
761
761
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -778,7 +778,7 @@ export declare interface Clusters {
|
|
|
778
778
|
* @param parameters The cluster configurations.
|
|
779
779
|
* @param options The options parameters.
|
|
780
780
|
*/
|
|
781
|
-
beginUpdateGatewaySettings(resourceGroupName: string, clusterName: string, parameters: UpdateGatewaySettingsParameters, options?: ClustersUpdateGatewaySettingsOptionalParams): Promise<
|
|
781
|
+
beginUpdateGatewaySettings(resourceGroupName: string, clusterName: string, parameters: UpdateGatewaySettingsParameters, options?: ClustersUpdateGatewaySettingsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
782
782
|
/**
|
|
783
783
|
* Configures the gateway settings on the specified cluster.
|
|
784
784
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -802,7 +802,7 @@ export declare interface Clusters {
|
|
|
802
802
|
* @param parameters The cluster configurations.
|
|
803
803
|
* @param options The options parameters.
|
|
804
804
|
*/
|
|
805
|
-
beginUpdateIdentityCertificate(resourceGroupName: string, clusterName: string, parameters: UpdateClusterIdentityCertificateParameters, options?: ClustersUpdateIdentityCertificateOptionalParams): Promise<
|
|
805
|
+
beginUpdateIdentityCertificate(resourceGroupName: string, clusterName: string, parameters: UpdateClusterIdentityCertificateParameters, options?: ClustersUpdateIdentityCertificateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
806
806
|
/**
|
|
807
807
|
* Updates the cluster identity certificate.
|
|
808
808
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -818,7 +818,7 @@ export declare interface Clusters {
|
|
|
818
818
|
* @param parameters The parameters for executing script actions.
|
|
819
819
|
* @param options The options parameters.
|
|
820
820
|
*/
|
|
821
|
-
beginExecuteScriptActions(resourceGroupName: string, clusterName: string, parameters: ExecuteScriptActionParameters, options?: ClustersExecuteScriptActionsOptionalParams): Promise<
|
|
821
|
+
beginExecuteScriptActions(resourceGroupName: string, clusterName: string, parameters: ExecuteScriptActionParameters, options?: ClustersExecuteScriptActionsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
822
822
|
/**
|
|
823
823
|
* Executes script actions on the specified HDInsight cluster.
|
|
824
824
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -986,7 +986,7 @@ export declare interface Configurations {
|
|
|
986
986
|
*/
|
|
987
987
|
beginUpdate(resourceGroupName: string, clusterName: string, configurationName: string, parameters: {
|
|
988
988
|
[propertyName: string]: string;
|
|
989
|
-
}, options?: ConfigurationsUpdateOptionalParams): Promise<
|
|
989
|
+
}, options?: ConfigurationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
990
990
|
/**
|
|
991
991
|
* Configures the HTTP settings on the specified cluster. This API is deprecated, please use
|
|
992
992
|
* UpdateGatewaySettings in cluster endpoint instead.
|
|
@@ -1193,7 +1193,7 @@ export declare interface Extensions {
|
|
|
1193
1193
|
* @param parameters The Operations Management Suite (OMS) workspace parameters.
|
|
1194
1194
|
* @param options The options parameters.
|
|
1195
1195
|
*/
|
|
1196
|
-
beginEnableMonitoring(resourceGroupName: string, clusterName: string, parameters: ClusterMonitoringRequest, options?: ExtensionsEnableMonitoringOptionalParams): Promise<
|
|
1196
|
+
beginEnableMonitoring(resourceGroupName: string, clusterName: string, parameters: ClusterMonitoringRequest, options?: ExtensionsEnableMonitoringOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1197
1197
|
/**
|
|
1198
1198
|
* Enables the Operations Management Suite (OMS) on the HDInsight cluster.
|
|
1199
1199
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -1215,7 +1215,7 @@ export declare interface Extensions {
|
|
|
1215
1215
|
* @param clusterName The name of the cluster.
|
|
1216
1216
|
* @param options The options parameters.
|
|
1217
1217
|
*/
|
|
1218
|
-
beginDisableMonitoring(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableMonitoringOptionalParams): Promise<
|
|
1218
|
+
beginDisableMonitoring(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableMonitoringOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Disables the Operations Management Suite (OMS) on the HDInsight cluster.
|
|
1221
1221
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -1230,7 +1230,7 @@ export declare interface Extensions {
|
|
|
1230
1230
|
* @param parameters The Log Analytics workspace parameters.
|
|
1231
1231
|
* @param options The options parameters.
|
|
1232
1232
|
*/
|
|
1233
|
-
beginEnableAzureMonitor(resourceGroupName: string, clusterName: string, parameters: AzureMonitorRequest, options?: ExtensionsEnableAzureMonitorOptionalParams): Promise<
|
|
1233
|
+
beginEnableAzureMonitor(resourceGroupName: string, clusterName: string, parameters: AzureMonitorRequest, options?: ExtensionsEnableAzureMonitorOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1234
1234
|
/**
|
|
1235
1235
|
* Enables the Azure Monitor on the HDInsight cluster.
|
|
1236
1236
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -1252,7 +1252,7 @@ export declare interface Extensions {
|
|
|
1252
1252
|
* @param clusterName The name of the cluster.
|
|
1253
1253
|
* @param options The options parameters.
|
|
1254
1254
|
*/
|
|
1255
|
-
beginDisableAzureMonitor(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableAzureMonitorOptionalParams): Promise<
|
|
1255
|
+
beginDisableAzureMonitor(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableAzureMonitorOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1256
1256
|
/**
|
|
1257
1257
|
* Disables the Azure Monitor on the HDInsight cluster.
|
|
1258
1258
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -1268,7 +1268,7 @@ export declare interface Extensions {
|
|
|
1268
1268
|
* @param parameters The cluster extensions create request.
|
|
1269
1269
|
* @param options The options parameters.
|
|
1270
1270
|
*/
|
|
1271
|
-
beginCreate(resourceGroupName: string, clusterName: string, extensionName: string, parameters: Extension, options?: ExtensionsCreateOptionalParams): Promise<
|
|
1271
|
+
beginCreate(resourceGroupName: string, clusterName: string, extensionName: string, parameters: Extension, options?: ExtensionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1272
1272
|
/**
|
|
1273
1273
|
* Creates an HDInsight cluster extension.
|
|
1274
1274
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -1293,7 +1293,7 @@ export declare interface Extensions {
|
|
|
1293
1293
|
* @param extensionName The name of the cluster extension.
|
|
1294
1294
|
* @param options The options parameters.
|
|
1295
1295
|
*/
|
|
1296
|
-
beginDelete(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<
|
|
1296
|
+
beginDelete(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Deletes the specified extension for HDInsight cluster.
|
|
1299
1299
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -1462,17 +1462,17 @@ export declare class HDInsightManagementClient extends coreClient.ServiceClient
|
|
|
1462
1462
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: HDInsightManagementClientOptionalParams);
|
|
1463
1463
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
1464
1464
|
private addCustomApiVersionPolicy;
|
|
1465
|
-
clusters: Clusters;
|
|
1466
1465
|
applications: Applications;
|
|
1467
|
-
|
|
1466
|
+
clusters: Clusters;
|
|
1468
1467
|
configurations: Configurations;
|
|
1469
1468
|
extensions: Extensions;
|
|
1470
|
-
|
|
1471
|
-
scriptExecutionHistory: ScriptExecutionHistory;
|
|
1469
|
+
locations: Locations;
|
|
1472
1470
|
operations: Operations;
|
|
1473
|
-
virtualMachines: VirtualMachines;
|
|
1474
1471
|
privateEndpointConnections: PrivateEndpointConnections;
|
|
1475
1472
|
privateLinkResources: PrivateLinkResources;
|
|
1473
|
+
scriptActions: ScriptActions;
|
|
1474
|
+
scriptExecutionHistory: ScriptExecutionHistory;
|
|
1475
|
+
virtualMachines: VirtualMachines;
|
|
1476
1476
|
}
|
|
1477
1477
|
|
|
1478
1478
|
/** Optional parameters. */
|
|
@@ -2049,7 +2049,7 @@ export declare interface PrivateEndpointConnections {
|
|
|
2049
2049
|
* @param parameters The private endpoint connection create or update request.
|
|
2050
2050
|
* @param options The options parameters.
|
|
2051
2051
|
*/
|
|
2052
|
-
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<
|
|
2052
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
|
|
2053
2053
|
/**
|
|
2054
2054
|
* Approve or reject a private endpoint connection manually.
|
|
2055
2055
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -2074,7 +2074,7 @@ export declare interface PrivateEndpointConnections {
|
|
|
2074
2074
|
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
2075
2075
|
* @param options The options parameters.
|
|
2076
2076
|
*/
|
|
2077
|
-
beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<
|
|
2077
|
+
beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
2078
2078
|
/**
|
|
2079
2079
|
* Deletes the specific private endpoint connection.
|
|
2080
2080
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -2688,6 +2688,8 @@ export declare interface StorageAccount {
|
|
|
2688
2688
|
saskey?: string;
|
|
2689
2689
|
/** The file share name. */
|
|
2690
2690
|
fileshare?: string;
|
|
2691
|
+
/** 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 , */
|
|
2692
|
+
enableSecureChannel?: boolean;
|
|
2691
2693
|
}
|
|
2692
2694
|
|
|
2693
2695
|
/** The storage profile. */
|
|
@@ -2837,7 +2839,7 @@ export declare interface VirtualMachines {
|
|
|
2837
2839
|
* @param hosts The list of hosts to restart
|
|
2838
2840
|
* @param options The options parameters.
|
|
2839
2841
|
*/
|
|
2840
|
-
beginRestartHosts(resourceGroupName: string, clusterName: string, hosts: string[], options?: VirtualMachinesRestartHostsOptionalParams): Promise<
|
|
2842
|
+
beginRestartHosts(resourceGroupName: string, clusterName: string, hosts: string[], options?: VirtualMachinesRestartHostsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
2841
2843
|
/**
|
|
2842
2844
|
* Restarts the specified HDInsight cluster hosts.
|
|
2843
2845
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
import { Recorder } from "@azure-tools/test-recorder";
|
|
10
|
-
const replaceableVariables = {
|
|
11
|
-
AZURE_CLIENT_ID: "azure_client_id",
|
|
12
|
-
AZURE_CLIENT_SECRET: "azure_client_secret",
|
|
13
|
-
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
|
14
|
-
SUBSCRIPTION_ID: "azure_subscription_id"
|
|
15
|
-
};
|
|
16
|
-
const recorderOptions = {
|
|
17
|
-
envSetupForPlayback: replaceableVariables
|
|
18
|
-
};
|
|
19
|
-
describe("My test", () => {
|
|
20
|
-
let recorder;
|
|
21
|
-
beforeEach(function () {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
recorder = new Recorder(this.currentTest);
|
|
24
|
-
yield recorder.start(recorderOptions);
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
afterEach(function () {
|
|
28
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
yield recorder.stop();
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
it("sample test", function () {
|
|
33
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
-
console.log("Hi, I'm a test!");
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
//# sourceMappingURL=sampleTest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,QAAQ,EAGT,MAAM,4BAA4B,CAAC;AAIpC,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;CAC1C,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QACxC,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|