@azure/arm-hdinsight 1.3.0-beta.1 → 1.3.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -6
- package/LICENSE +1 -1
- package/dist/index.js +2107 -1900
- 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 +10 -10
- 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 +5 -10
- package/dist-esm/samples-dev/applicationsListByClusterSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersCreateSample.js +277 -276
- 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 +5 -5
- package/dist-esm/samples-dev/clustersExecuteScriptActionsSample.js.map +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 +5 -10
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersListSample.js +5 -10
- package/dist-esm/samples-dev/clustersListSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersResizeSample.js +2 -2
- package/dist-esm/samples-dev/clustersResizeSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersRotateDiskEncryptionKeySample.js +3 -3
- package/dist-esm/samples-dev/clustersRotateDiskEncryptionKeySample.js.map +1 -1
- package/dist-esm/samples-dev/clustersUpdateAutoScaleConfigurationSample.js +11 -11
- package/dist-esm/samples-dev/clustersUpdateAutoScaleConfigurationSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersUpdateGatewaySettingsSample.js +3 -3
- package/dist-esm/samples-dev/clustersUpdateGatewaySettingsSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersUpdateIdentityCertificateSample.js +3 -3
- package/dist-esm/samples-dev/clustersUpdateIdentityCertificateSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersUpdateSample.js +25 -3
- package/dist-esm/samples-dev/clustersUpdateSample.js.map +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 +4 -4
- package/dist-esm/samples-dev/extensionsCreateSample.js +2 -2
- package/dist-esm/samples-dev/extensionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorAgentSample.d.ts +2 -0
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorAgentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorAgentSample.js +38 -0
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorAgentSample.js.map +1 -0
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorSample.js +3 -3
- package/dist-esm/samples-dev/extensionsDisableAzureMonitorSample.js.map +1 -1
- package/dist-esm/samples-dev/extensionsDisableMonitoringSample.js +3 -3
- package/dist-esm/samples-dev/extensionsDisableMonitoringSample.js.map +1 -1
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorAgentSample.d.ts +2 -0
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorAgentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorAgentSample.js +42 -0
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorAgentSample.js.map +1 -0
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorSample.js +5 -5
- package/dist-esm/samples-dev/extensionsEnableAzureMonitorSample.js.map +1 -1
- package/dist-esm/samples-dev/extensionsEnableMonitoringSample.js +3 -3
- package/dist-esm/samples-dev/extensionsEnableMonitoringSample.js.map +1 -1
- package/dist-esm/samples-dev/extensionsGetAzureAsyncOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/extensionsGetAzureMonitorAgentStatusSample.d.ts +2 -0
- package/dist-esm/samples-dev/extensionsGetAzureMonitorAgentStatusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/extensionsGetAzureMonitorAgentStatusSample.js +38 -0
- package/dist-esm/samples-dev/extensionsGetAzureMonitorAgentStatusSample.js.map +1 -0
- package/dist-esm/samples-dev/extensionsGetAzureMonitorStatusSample.js +3 -3
- package/dist-esm/samples-dev/extensionsGetAzureMonitorStatusSample.js.map +1 -1
- package/dist-esm/samples-dev/extensionsGetMonitoringStatusSample.js +3 -3
- package/dist-esm/samples-dev/extensionsGetMonitoringStatusSample.js.map +1 -1
- package/dist-esm/samples-dev/extensionsGetSample.js +1 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js.map +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 +21 -21
- package/dist-esm/samples-dev/locationsValidateClusterCreateRequestSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +5 -10
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +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 +5 -10
- package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js.map +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 +5 -10
- package/dist-esm/samples-dev/scriptActionsListByClusterSample.js.map +1 -1
- package/dist-esm/samples-dev/scriptExecutionHistoryListByClusterSample.js +5 -10
- package/dist-esm/samples-dev/scriptExecutionHistoryListByClusterSample.js.map +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/samples-dev/virtualMachinesRestartHostsSample.js.map +1 -1
- package/dist-esm/src/hDInsightManagementClient.d.ts.map +1 -1
- package/dist-esm/src/hDInsightManagementClient.js +9 -9
- package/dist-esm/src/hDInsightManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +48 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +8 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1288 -1244
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +79 -79
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/applications.d.ts.map +1 -1
- package/dist-esm/src/operations/applications.js +46 -51
- package/dist-esm/src/operations/applications.js.map +1 -1
- package/dist-esm/src/operations/clusters.d.ts.map +1 -1
- package/dist-esm/src/operations/clusters.js +117 -127
- package/dist-esm/src/operations/clusters.js.map +1 -1
- package/dist-esm/src/operations/configurations.d.ts.map +1 -1
- package/dist-esm/src/operations/configurations.js +21 -21
- package/dist-esm/src/operations/configurations.js.map +1 -1
- package/dist-esm/src/operations/extensions.d.ts +38 -1
- package/dist-esm/src/operations/extensions.d.ts.map +1 -1
- package/dist-esm/src/operations/extensions.js +260 -70
- package/dist-esm/src/operations/extensions.js.map +1 -1
- package/dist-esm/src/operations/locations.js +30 -30
- package/dist-esm/src/operations/locations.js.map +1 -1
- package/dist-esm/src/operations/operations.js +12 -17
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +43 -48
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +10 -10
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/scriptActions.js +28 -33
- package/dist-esm/src/operations/scriptActions.js.map +1 -1
- package/dist-esm/src/operations/scriptExecutionHistory.js +18 -23
- package/dist-esm/src/operations/scriptExecutionHistory.js.map +1 -1
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachines.js +21 -21
- package/dist-esm/src/operations/virtualMachines.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/extensions.d.ts +38 -1
- package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/test/hdinsights_operations_test.spec.d.ts.map +1 -1
- package/dist-esm/test/hdinsights_operations_test.spec.js +9 -13
- package/dist-esm/test/hdinsights_operations_test.spec.js.map +1 -1
- package/package.json +20 -25
- package/review/arm-hdinsight.api.md +42 -0
- package/src/hDInsightManagementClient.ts +18 -17
- package/src/lroImpl.ts +4 -4
- package/src/models/index.ts +100 -30
- package/src/models/mappers.ts +1416 -1365
- package/src/models/parameters.ts +80 -80
- package/src/operations/applications.ts +85 -92
- package/src/operations/clusters.ts +230 -252
- package/src/operations/configurations.ts +39 -43
- package/src/operations/extensions.ts +406 -165
- package/src/operations/locations.ts +49 -55
- package/src/operations/operations.ts +16 -16
- package/src/operations/privateEndpointConnections.ts +81 -86
- package/src/operations/privateLinkResources.ts +17 -19
- package/src/operations/scriptActions.ts +64 -67
- package/src/operations/scriptExecutionHistory.ts +32 -34
- package/src/operations/virtualMachines.ts +39 -43
- package/src/operationsInterfaces/applications.ts +8 -8
- package/src/operationsInterfaces/clusters.ts +23 -23
- package/src/operationsInterfaces/configurations.ts +5 -5
- package/src/operationsInterfaces/extensions.ts +80 -17
- package/src/operationsInterfaces/locations.ts +7 -7
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
- package/src/operationsInterfaces/privateLinkResources.ts +3 -3
- package/src/operationsInterfaces/scriptActions.ts +5 -5
- package/src/operationsInterfaces/scriptExecutionHistory.ts +3 -3
- package/src/operationsInterfaces/virtualMachines.ts +5 -5
- package/src/pagingHelper.ts +1 -1
- package/types/arm-hdinsight.d.ts +92 -0
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
|
@@ -14,7 +14,7 @@ import { HDInsightManagementClient } from "../hDInsightManagementClient";
|
|
|
14
14
|
import {
|
|
15
15
|
SimplePollerLike,
|
|
16
16
|
OperationState,
|
|
17
|
-
createHttpPoller
|
|
17
|
+
createHttpPoller,
|
|
18
18
|
} from "@azure/core-lro";
|
|
19
19
|
import { createLroSpec } from "../lroImpl";
|
|
20
20
|
import {
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
ConfigurationsListResponse,
|
|
23
23
|
ConfigurationsUpdateOptionalParams,
|
|
24
24
|
ConfigurationsGetOptionalParams,
|
|
25
|
-
ConfigurationsGetResponse
|
|
25
|
+
ConfigurationsGetResponse,
|
|
26
26
|
} from "../models";
|
|
27
27
|
|
|
28
28
|
/** Class containing Configurations operations. */
|
|
@@ -46,11 +46,11 @@ export class ConfigurationsImpl implements Configurations {
|
|
|
46
46
|
list(
|
|
47
47
|
resourceGroupName: string,
|
|
48
48
|
clusterName: string,
|
|
49
|
-
options?: ConfigurationsListOptionalParams
|
|
49
|
+
options?: ConfigurationsListOptionalParams,
|
|
50
50
|
): Promise<ConfigurationsListResponse> {
|
|
51
51
|
return this.client.sendOperationRequest(
|
|
52
52
|
{ resourceGroupName, clusterName, options },
|
|
53
|
-
listOperationSpec
|
|
53
|
+
listOperationSpec,
|
|
54
54
|
);
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -68,25 +68,24 @@ export class ConfigurationsImpl implements Configurations {
|
|
|
68
68
|
clusterName: string,
|
|
69
69
|
configurationName: string,
|
|
70
70
|
parameters: { [propertyName: string]: string },
|
|
71
|
-
options?: ConfigurationsUpdateOptionalParams
|
|
71
|
+
options?: ConfigurationsUpdateOptionalParams,
|
|
72
72
|
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
73
73
|
const directSendOperation = async (
|
|
74
74
|
args: coreClient.OperationArguments,
|
|
75
|
-
spec: coreClient.OperationSpec
|
|
75
|
+
spec: coreClient.OperationSpec,
|
|
76
76
|
): Promise<void> => {
|
|
77
77
|
return this.client.sendOperationRequest(args, spec);
|
|
78
78
|
};
|
|
79
79
|
const sendOperationFn = async (
|
|
80
80
|
args: coreClient.OperationArguments,
|
|
81
|
-
spec: coreClient.OperationSpec
|
|
81
|
+
spec: coreClient.OperationSpec,
|
|
82
82
|
) => {
|
|
83
|
-
let currentRawResponse:
|
|
84
|
-
|
|
85
|
-
| undefined = undefined;
|
|
83
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
84
|
+
undefined;
|
|
86
85
|
const providedCallback = args.options?.onResponse;
|
|
87
86
|
const callback: coreClient.RawResponseCallback = (
|
|
88
87
|
rawResponse: coreClient.FullOperationResponse,
|
|
89
|
-
flatResponse: unknown
|
|
88
|
+
flatResponse: unknown,
|
|
90
89
|
) => {
|
|
91
90
|
currentRawResponse = rawResponse;
|
|
92
91
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -95,8 +94,8 @@ export class ConfigurationsImpl implements Configurations {
|
|
|
95
94
|
...args,
|
|
96
95
|
options: {
|
|
97
96
|
...args.options,
|
|
98
|
-
onResponse: callback
|
|
99
|
-
}
|
|
97
|
+
onResponse: callback,
|
|
98
|
+
},
|
|
100
99
|
};
|
|
101
100
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
102
101
|
return {
|
|
@@ -104,8 +103,8 @@ export class ConfigurationsImpl implements Configurations {
|
|
|
104
103
|
rawResponse: {
|
|
105
104
|
statusCode: currentRawResponse!.status,
|
|
106
105
|
body: currentRawResponse!.parsedBody,
|
|
107
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
108
|
-
}
|
|
106
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
107
|
+
},
|
|
109
108
|
};
|
|
110
109
|
};
|
|
111
110
|
|
|
@@ -116,14 +115,14 @@ export class ConfigurationsImpl implements Configurations {
|
|
|
116
115
|
clusterName,
|
|
117
116
|
configurationName,
|
|
118
117
|
parameters,
|
|
119
|
-
options
|
|
118
|
+
options,
|
|
120
119
|
},
|
|
121
|
-
spec: updateOperationSpec
|
|
120
|
+
spec: updateOperationSpec,
|
|
122
121
|
});
|
|
123
122
|
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
124
123
|
restoreFrom: options?.resumeFrom,
|
|
125
124
|
intervalInMs: options?.updateIntervalInMs,
|
|
126
|
-
resourceLocationConfig: "location"
|
|
125
|
+
resourceLocationConfig: "location",
|
|
127
126
|
});
|
|
128
127
|
await poller.poll();
|
|
129
128
|
return poller;
|
|
@@ -143,14 +142,14 @@ export class ConfigurationsImpl implements Configurations {
|
|
|
143
142
|
clusterName: string,
|
|
144
143
|
configurationName: string,
|
|
145
144
|
parameters: { [propertyName: string]: string },
|
|
146
|
-
options?: ConfigurationsUpdateOptionalParams
|
|
145
|
+
options?: ConfigurationsUpdateOptionalParams,
|
|
147
146
|
): Promise<void> {
|
|
148
147
|
const poller = await this.beginUpdate(
|
|
149
148
|
resourceGroupName,
|
|
150
149
|
clusterName,
|
|
151
150
|
configurationName,
|
|
152
151
|
parameters,
|
|
153
|
-
options
|
|
152
|
+
options,
|
|
154
153
|
);
|
|
155
154
|
return poller.pollUntilDone();
|
|
156
155
|
}
|
|
@@ -167,11 +166,11 @@ export class ConfigurationsImpl implements Configurations {
|
|
|
167
166
|
resourceGroupName: string,
|
|
168
167
|
clusterName: string,
|
|
169
168
|
configurationName: string,
|
|
170
|
-
options?: ConfigurationsGetOptionalParams
|
|
169
|
+
options?: ConfigurationsGetOptionalParams,
|
|
171
170
|
): Promise<ConfigurationsGetResponse> {
|
|
172
171
|
return this.client.sendOperationRequest(
|
|
173
172
|
{ resourceGroupName, clusterName, configurationName, options },
|
|
174
|
-
getOperationSpec
|
|
173
|
+
getOperationSpec,
|
|
175
174
|
);
|
|
176
175
|
}
|
|
177
176
|
}
|
|
@@ -179,30 +178,28 @@ export class ConfigurationsImpl implements Configurations {
|
|
|
179
178
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
180
179
|
|
|
181
180
|
const listOperationSpec: coreClient.OperationSpec = {
|
|
182
|
-
path:
|
|
183
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations",
|
|
181
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations",
|
|
184
182
|
httpMethod: "POST",
|
|
185
183
|
responses: {
|
|
186
184
|
200: {
|
|
187
|
-
bodyMapper: Mappers.ClusterConfigurations
|
|
185
|
+
bodyMapper: Mappers.ClusterConfigurations,
|
|
188
186
|
},
|
|
189
187
|
default: {
|
|
190
|
-
bodyMapper: Mappers.ErrorResponse
|
|
191
|
-
}
|
|
188
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
189
|
+
},
|
|
192
190
|
},
|
|
193
191
|
queryParameters: [Parameters.apiVersion],
|
|
194
192
|
urlParameters: [
|
|
195
193
|
Parameters.$host,
|
|
196
194
|
Parameters.subscriptionId,
|
|
197
195
|
Parameters.resourceGroupName,
|
|
198
|
-
Parameters.clusterName
|
|
196
|
+
Parameters.clusterName,
|
|
199
197
|
],
|
|
200
198
|
headerParameters: [Parameters.accept],
|
|
201
|
-
serializer
|
|
199
|
+
serializer,
|
|
202
200
|
};
|
|
203
201
|
const updateOperationSpec: coreClient.OperationSpec = {
|
|
204
|
-
path:
|
|
205
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}",
|
|
202
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}",
|
|
206
203
|
httpMethod: "POST",
|
|
207
204
|
responses: {
|
|
208
205
|
200: {},
|
|
@@ -210,8 +207,8 @@ const updateOperationSpec: coreClient.OperationSpec = {
|
|
|
210
207
|
202: {},
|
|
211
208
|
204: {},
|
|
212
209
|
default: {
|
|
213
|
-
bodyMapper: Mappers.ErrorResponse
|
|
214
|
-
}
|
|
210
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
211
|
+
},
|
|
215
212
|
},
|
|
216
213
|
requestBody: Parameters.parameters9,
|
|
217
214
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -220,25 +217,24 @@ const updateOperationSpec: coreClient.OperationSpec = {
|
|
|
220
217
|
Parameters.subscriptionId,
|
|
221
218
|
Parameters.resourceGroupName,
|
|
222
219
|
Parameters.clusterName,
|
|
223
|
-
Parameters.configurationName
|
|
220
|
+
Parameters.configurationName,
|
|
224
221
|
],
|
|
225
222
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
226
223
|
mediaType: "json",
|
|
227
|
-
serializer
|
|
224
|
+
serializer,
|
|
228
225
|
};
|
|
229
226
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
230
|
-
path:
|
|
231
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}",
|
|
227
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}",
|
|
232
228
|
httpMethod: "GET",
|
|
233
229
|
responses: {
|
|
234
230
|
200: {
|
|
235
231
|
bodyMapper: {
|
|
236
|
-
type: { name: "Dictionary", value: { type: { name: "String" } } }
|
|
237
|
-
}
|
|
232
|
+
type: { name: "Dictionary", value: { type: { name: "String" } } },
|
|
233
|
+
},
|
|
238
234
|
},
|
|
239
235
|
default: {
|
|
240
|
-
bodyMapper: Mappers.ErrorResponse
|
|
241
|
-
}
|
|
236
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
237
|
+
},
|
|
242
238
|
},
|
|
243
239
|
queryParameters: [Parameters.apiVersion],
|
|
244
240
|
urlParameters: [
|
|
@@ -246,8 +242,8 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
246
242
|
Parameters.subscriptionId,
|
|
247
243
|
Parameters.resourceGroupName,
|
|
248
244
|
Parameters.clusterName,
|
|
249
|
-
Parameters.configurationName
|
|
245
|
+
Parameters.configurationName,
|
|
250
246
|
],
|
|
251
247
|
headerParameters: [Parameters.accept],
|
|
252
|
-
serializer
|
|
248
|
+
serializer,
|
|
253
249
|
};
|