@azure/arm-hdinsight 1.3.0-alpha.20250718.1 → 1.3.0-alpha.20250721.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/dist/browser/hDInsightManagementClient.js +24 -5
- package/dist/browser/hDInsightManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +86 -39
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/applications.js +45 -52
- package/dist/browser/operations/applications.js.map +1 -1
- package/dist/browser/operations/clusters.js +133 -127
- package/dist/browser/operations/clusters.js.map +1 -1
- package/dist/browser/operations/configurations.js +12 -6
- package/dist/browser/operations/configurations.js.map +1 -1
- package/dist/browser/operations/extensions.js +89 -48
- package/dist/browser/operations/extensions.js.map +1 -1
- package/dist/browser/operations/locations.js +1 -0
- package/dist/browser/operations/locations.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +45 -52
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +1 -0
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/scriptActions.js +23 -40
- package/dist/browser/operations/scriptActions.js.map +1 -1
- package/dist/browser/operations/scriptExecutionHistory.js +23 -40
- package/dist/browser/operations/scriptExecutionHistory.js.map +1 -1
- package/dist/browser/operations/virtualMachines.js +12 -6
- package/dist/browser/operations/virtualMachines.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/hDInsightManagementClient.js +24 -5
- package/dist/commonjs/hDInsightManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +86 -39
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/applications.js +45 -51
- package/dist/commonjs/operations/applications.js.map +1 -1
- package/dist/commonjs/operations/clusters.js +133 -126
- package/dist/commonjs/operations/clusters.js.map +1 -1
- package/dist/commonjs/operations/configurations.js +12 -6
- package/dist/commonjs/operations/configurations.js.map +1 -1
- package/dist/commonjs/operations/extensions.js +89 -48
- package/dist/commonjs/operations/extensions.js.map +1 -1
- package/dist/commonjs/operations/locations.js +1 -0
- package/dist/commonjs/operations/locations.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +45 -51
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +1 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/scriptActions.js +23 -39
- package/dist/commonjs/operations/scriptActions.js.map +1 -1
- package/dist/commonjs/operations/scriptExecutionHistory.js +23 -39
- package/dist/commonjs/operations/scriptExecutionHistory.js.map +1 -1
- package/dist/commonjs/operations/virtualMachines.js +12 -6
- package/dist/commonjs/operations/virtualMachines.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/hDInsightManagementClient.js +24 -5
- package/dist/esm/hDInsightManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +86 -39
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/applications.js +45 -52
- package/dist/esm/operations/applications.js.map +1 -1
- package/dist/esm/operations/clusters.js +133 -127
- package/dist/esm/operations/clusters.js.map +1 -1
- package/dist/esm/operations/configurations.js +12 -6
- package/dist/esm/operations/configurations.js.map +1 -1
- package/dist/esm/operations/extensions.js +89 -48
- package/dist/esm/operations/extensions.js.map +1 -1
- package/dist/esm/operations/locations.js +1 -0
- package/dist/esm/operations/locations.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +45 -52
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +1 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/scriptActions.js +23 -40
- package/dist/esm/operations/scriptActions.js.map +1 -1
- package/dist/esm/operations/scriptExecutionHistory.js +23 -40
- package/dist/esm/operations/scriptExecutionHistory.js.map +1 -1
- package/dist/esm/operations/virtualMachines.js +12 -6
- package/dist/esm/operations/virtualMachines.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/hDInsightManagementClient.js +24 -5
- package/dist/react-native/hDInsightManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +86 -39
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/applications.js +45 -52
- package/dist/react-native/operations/applications.js.map +1 -1
- package/dist/react-native/operations/clusters.js +133 -127
- package/dist/react-native/operations/clusters.js.map +1 -1
- package/dist/react-native/operations/configurations.js +12 -6
- package/dist/react-native/operations/configurations.js.map +1 -1
- package/dist/react-native/operations/extensions.js +89 -48
- package/dist/react-native/operations/extensions.js.map +1 -1
- package/dist/react-native/operations/locations.js +1 -0
- package/dist/react-native/operations/locations.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +45 -52
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +1 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/scriptActions.js +23 -40
- package/dist/react-native/operations/scriptActions.js.map +1 -1
- package/dist/react-native/operations/scriptExecutionHistory.js +23 -40
- package/dist/react-native/operations/scriptExecutionHistory.js.map +1 -1
- package/dist/react-native/operations/virtualMachines.js +12 -6
- package/dist/react-native/operations/virtualMachines.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-hdinsight-node.api.md +1668 -1668
|
@@ -9,6 +9,9 @@ import * as coreClient from "@azure/core-client";
|
|
|
9
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
10
|
import { ApplicationsImpl, ClustersImpl, ConfigurationsImpl, ExtensionsImpl, LocationsImpl, OperationsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, ScriptActionsImpl, ScriptExecutionHistoryImpl, VirtualMachinesImpl, } from "./operations/index.js";
|
|
11
11
|
export class HDInsightManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
subscriptionId;
|
|
14
|
+
apiVersion;
|
|
12
15
|
/**
|
|
13
16
|
* Initializes a new instance of the HDInsightManagementClient class.
|
|
14
17
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -17,7 +20,6 @@ export class HDInsightManagementClient extends coreClient.ServiceClient {
|
|
|
17
20
|
* @param options The parameter options
|
|
18
21
|
*/
|
|
19
22
|
constructor(credentials, subscriptionId, options) {
|
|
20
|
-
var _a, _b, _c;
|
|
21
23
|
if (credentials === undefined) {
|
|
22
24
|
throw new Error("'credentials' cannot be null");
|
|
23
25
|
}
|
|
@@ -36,12 +38,17 @@ export class HDInsightManagementClient extends coreClient.ServiceClient {
|
|
|
36
38
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
39
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
40
|
: `${packageDetails}`;
|
|
39
|
-
const optionsWithDefaults =
|
|
41
|
+
const optionsWithDefaults = {
|
|
42
|
+
...defaults,
|
|
43
|
+
...options,
|
|
44
|
+
userAgentOptions: {
|
|
40
45
|
userAgentPrefix,
|
|
41
|
-
},
|
|
46
|
+
},
|
|
47
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
48
|
+
};
|
|
42
49
|
super(optionsWithDefaults);
|
|
43
50
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
44
|
-
if (
|
|
51
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
45
52
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
46
53
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
47
54
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
@@ -55,7 +62,8 @@ export class HDInsightManagementClient extends coreClient.ServiceClient {
|
|
|
55
62
|
});
|
|
56
63
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
57
64
|
credential: credentials,
|
|
58
|
-
scopes:
|
|
65
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
66
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
59
67
|
challengeCallbacks: {
|
|
60
68
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
61
69
|
},
|
|
@@ -104,5 +112,16 @@ export class HDInsightManagementClient extends coreClient.ServiceClient {
|
|
|
104
112
|
};
|
|
105
113
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
106
114
|
}
|
|
115
|
+
applications;
|
|
116
|
+
clusters;
|
|
117
|
+
configurations;
|
|
118
|
+
extensions;
|
|
119
|
+
locations;
|
|
120
|
+
operations;
|
|
121
|
+
privateEndpointConnections;
|
|
122
|
+
privateLinkResources;
|
|
123
|
+
scriptActions;
|
|
124
|
+
scriptExecutionHistory;
|
|
125
|
+
virtualMachines;
|
|
107
126
|
}
|
|
108
127
|
//# sourceMappingURL=hDInsightManagementClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hDInsightManagementClient.js","sourceRoot":"","sources":["../../src/hDInsightManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,cAAc,EACd,8BAA8B,EAC9B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAgB/B,MAAM,OAAO,yBAA0B,SAAQ,UAAU,CAAC,aAAa;IAKrE;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAiD;;QAEjD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA4C;YACxD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,qCAAqC,CAAC;QAC7D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,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CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAaF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ApplicationsImpl,\n ClustersImpl,\n ConfigurationsImpl,\n ExtensionsImpl,\n LocationsImpl,\n OperationsImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ScriptActionsImpl,\n ScriptExecutionHistoryImpl,\n VirtualMachinesImpl,\n} from \"./operations/index.js\";\nimport {\n Applications,\n Clusters,\n Configurations,\n Extensions,\n Locations,\n Operations,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ScriptActions,\n ScriptExecutionHistory,\n VirtualMachines,\n} from \"./operationsInterfaces/index.js\";\nimport { HDInsightManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class HDInsightManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the HDInsightManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The subscription credentials which uniquely identify Microsoft Azure\n * subscription. The subscription ID forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: HDInsightManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: HDInsightManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-hdinsight/1.3.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-08-01-preview\";\n this.applications = new ApplicationsImpl(this);\n this.clusters = new ClustersImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.extensions = new ExtensionsImpl(this);\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.scriptActions = new ScriptActionsImpl(this);\n this.scriptExecutionHistory = new ScriptExecutionHistoryImpl(this);\n this.virtualMachines = new VirtualMachinesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n applications: Applications;\n clusters: Clusters;\n configurations: Configurations;\n extensions: Extensions;\n locations: Locations;\n operations: Operations;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n scriptActions: ScriptActions;\n scriptExecutionHistory: ScriptExecutionHistory;\n virtualMachines: VirtualMachines;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"hDInsightManagementClient.js","sourceRoot":"","sources":["../../src/hDInsightManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,cAAc,EACd,8BAA8B,EAC9B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAgB/B,MAAM,OAAO,yBAA0B,SAAQ,UAAU,CAAC,aAAa;IACrE,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAiD;QAEjD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA4C;YACxD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,qCAAqC,CAAC;QAC7D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC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,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,YAAY,CAAe;IAC3B,QAAQ,CAAW;IACnB,cAAc,CAAiB;IAC/B,UAAU,CAAa;IACvB,SAAS,CAAY;IACrB,UAAU,CAAa;IACvB,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;IAC3C,aAAa,CAAgB;IAC7B,sBAAsB,CAAyB;IAC/C,eAAe,CAAkB;CAClC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ApplicationsImpl,\n ClustersImpl,\n ConfigurationsImpl,\n ExtensionsImpl,\n LocationsImpl,\n OperationsImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ScriptActionsImpl,\n ScriptExecutionHistoryImpl,\n VirtualMachinesImpl,\n} from \"./operations/index.js\";\nimport {\n Applications,\n Clusters,\n Configurations,\n Extensions,\n Locations,\n Operations,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ScriptActions,\n ScriptExecutionHistory,\n VirtualMachines,\n} from \"./operationsInterfaces/index.js\";\nimport { HDInsightManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class HDInsightManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the HDInsightManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The subscription credentials which uniquely identify Microsoft Azure\n * subscription. The subscription ID forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: HDInsightManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: HDInsightManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-hdinsight/1.3.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-08-01-preview\";\n this.applications = new ApplicationsImpl(this);\n this.clusters = new ClustersImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.extensions = new ExtensionsImpl(this);\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.scriptActions = new ScriptActionsImpl(this);\n this.scriptExecutionHistory = new ScriptExecutionHistoryImpl(this);\n this.virtualMachines = new VirtualMachinesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n applications: Applications;\n clusters: Clusters;\n configurations: Configurations;\n extensions: Extensions;\n locations: Locations;\n operations: Operations;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n scriptActions: ScriptActions;\n scriptExecutionHistory: ScriptExecutionHistory;\n virtualMachines: VirtualMachines;\n}\n"]}
|
package/dist/browser/lroImpl.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __rest } from "tslib";
|
|
2
1
|
export function createLroSpec(inputs) {
|
|
3
2
|
const { args, spec, sendOperationFn } = inputs;
|
|
4
3
|
return {
|
|
@@ -6,8 +5,13 @@ export function createLroSpec(inputs) {
|
|
|
6
5
|
requestPath: spec.path,
|
|
7
6
|
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
8
7
|
sendPollRequest: (path, options) => {
|
|
9
|
-
const { requestBody
|
|
10
|
-
return sendOperationFn(args,
|
|
8
|
+
const { requestBody, ...restSpec } = spec;
|
|
9
|
+
return sendOperationFn(args, {
|
|
10
|
+
...restSpec,
|
|
11
|
+
httpMethod: "GET",
|
|
12
|
+
path,
|
|
13
|
+
abortSignal: options?.abortSignal,
|
|
14
|
+
});
|
|
11
15
|
},
|
|
12
16
|
};
|
|
13
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|
|
@@ -3516,37 +3516,44 @@ export const RuntimeScriptActionDetail = {
|
|
|
3516
3516
|
type: {
|
|
3517
3517
|
name: "Composite",
|
|
3518
3518
|
className: "RuntimeScriptActionDetail",
|
|
3519
|
-
modelProperties:
|
|
3519
|
+
modelProperties: {
|
|
3520
|
+
...RuntimeScriptAction.type.modelProperties,
|
|
3521
|
+
scriptExecutionId: {
|
|
3520
3522
|
serializedName: "scriptExecutionId",
|
|
3521
3523
|
readOnly: true,
|
|
3522
3524
|
type: {
|
|
3523
3525
|
name: "Number",
|
|
3524
3526
|
},
|
|
3525
|
-
},
|
|
3527
|
+
},
|
|
3528
|
+
startTime: {
|
|
3526
3529
|
serializedName: "startTime",
|
|
3527
3530
|
readOnly: true,
|
|
3528
3531
|
type: {
|
|
3529
3532
|
name: "String",
|
|
3530
3533
|
},
|
|
3531
|
-
},
|
|
3534
|
+
},
|
|
3535
|
+
endTime: {
|
|
3532
3536
|
serializedName: "endTime",
|
|
3533
3537
|
readOnly: true,
|
|
3534
3538
|
type: {
|
|
3535
3539
|
name: "String",
|
|
3536
3540
|
},
|
|
3537
|
-
},
|
|
3541
|
+
},
|
|
3542
|
+
status: {
|
|
3538
3543
|
serializedName: "status",
|
|
3539
3544
|
readOnly: true,
|
|
3540
3545
|
type: {
|
|
3541
3546
|
name: "String",
|
|
3542
3547
|
},
|
|
3543
|
-
},
|
|
3548
|
+
},
|
|
3549
|
+
operation: {
|
|
3544
3550
|
serializedName: "operation",
|
|
3545
3551
|
readOnly: true,
|
|
3546
3552
|
type: {
|
|
3547
3553
|
name: "String",
|
|
3548
3554
|
},
|
|
3549
|
-
},
|
|
3555
|
+
},
|
|
3556
|
+
executionSummary: {
|
|
3550
3557
|
serializedName: "executionSummary",
|
|
3551
3558
|
readOnly: true,
|
|
3552
3559
|
type: {
|
|
@@ -3558,122 +3565,147 @@ export const RuntimeScriptActionDetail = {
|
|
|
3558
3565
|
},
|
|
3559
3566
|
},
|
|
3560
3567
|
},
|
|
3561
|
-
},
|
|
3568
|
+
},
|
|
3569
|
+
debugInformation: {
|
|
3562
3570
|
serializedName: "debugInformation",
|
|
3563
3571
|
readOnly: true,
|
|
3564
3572
|
type: {
|
|
3565
3573
|
name: "String",
|
|
3566
3574
|
},
|
|
3567
|
-
}
|
|
3575
|
+
},
|
|
3576
|
+
},
|
|
3568
3577
|
},
|
|
3569
3578
|
};
|
|
3570
3579
|
export const ProxyResource = {
|
|
3571
3580
|
type: {
|
|
3572
3581
|
name: "Composite",
|
|
3573
3582
|
className: "ProxyResource",
|
|
3574
|
-
modelProperties:
|
|
3583
|
+
modelProperties: {
|
|
3584
|
+
...Resource.type.modelProperties,
|
|
3585
|
+
},
|
|
3575
3586
|
},
|
|
3576
3587
|
};
|
|
3577
3588
|
export const PrivateEndpointConnection = {
|
|
3578
3589
|
type: {
|
|
3579
3590
|
name: "Composite",
|
|
3580
3591
|
className: "PrivateEndpointConnection",
|
|
3581
|
-
modelProperties:
|
|
3592
|
+
modelProperties: {
|
|
3593
|
+
...Resource.type.modelProperties,
|
|
3594
|
+
systemData: {
|
|
3582
3595
|
serializedName: "systemData",
|
|
3583
3596
|
type: {
|
|
3584
3597
|
name: "Composite",
|
|
3585
3598
|
className: "SystemData",
|
|
3586
3599
|
},
|
|
3587
|
-
},
|
|
3600
|
+
},
|
|
3601
|
+
privateEndpoint: {
|
|
3588
3602
|
serializedName: "properties.privateEndpoint",
|
|
3589
3603
|
type: {
|
|
3590
3604
|
name: "Composite",
|
|
3591
3605
|
className: "PrivateEndpoint",
|
|
3592
3606
|
},
|
|
3593
|
-
},
|
|
3607
|
+
},
|
|
3608
|
+
privateLinkServiceConnectionState: {
|
|
3594
3609
|
serializedName: "properties.privateLinkServiceConnectionState",
|
|
3595
3610
|
type: {
|
|
3596
3611
|
name: "Composite",
|
|
3597
3612
|
className: "PrivateLinkServiceConnectionState",
|
|
3598
3613
|
},
|
|
3599
|
-
},
|
|
3614
|
+
},
|
|
3615
|
+
linkIdentifier: {
|
|
3600
3616
|
serializedName: "properties.linkIdentifier",
|
|
3601
3617
|
readOnly: true,
|
|
3602
3618
|
type: {
|
|
3603
3619
|
name: "String",
|
|
3604
3620
|
},
|
|
3605
|
-
},
|
|
3621
|
+
},
|
|
3622
|
+
provisioningState: {
|
|
3606
3623
|
serializedName: "properties.provisioningState",
|
|
3607
3624
|
readOnly: true,
|
|
3608
3625
|
type: {
|
|
3609
3626
|
name: "String",
|
|
3610
3627
|
},
|
|
3611
|
-
}
|
|
3628
|
+
},
|
|
3629
|
+
},
|
|
3612
3630
|
},
|
|
3613
3631
|
};
|
|
3614
3632
|
export const ClusterCreateRequestValidationParameters = {
|
|
3615
3633
|
type: {
|
|
3616
3634
|
name: "Composite",
|
|
3617
3635
|
className: "ClusterCreateRequestValidationParameters",
|
|
3618
|
-
modelProperties:
|
|
3636
|
+
modelProperties: {
|
|
3637
|
+
...ClusterCreateParametersExtended.type.modelProperties,
|
|
3638
|
+
name: {
|
|
3619
3639
|
serializedName: "name",
|
|
3620
3640
|
type: {
|
|
3621
3641
|
name: "String",
|
|
3622
3642
|
},
|
|
3623
|
-
},
|
|
3643
|
+
},
|
|
3644
|
+
type: {
|
|
3624
3645
|
serializedName: "type",
|
|
3625
3646
|
type: {
|
|
3626
3647
|
name: "String",
|
|
3627
3648
|
},
|
|
3628
|
-
},
|
|
3649
|
+
},
|
|
3650
|
+
tenantId: {
|
|
3629
3651
|
serializedName: "tenantId",
|
|
3630
3652
|
type: {
|
|
3631
3653
|
name: "String",
|
|
3632
3654
|
},
|
|
3633
|
-
},
|
|
3655
|
+
},
|
|
3656
|
+
fetchAaddsResource: {
|
|
3634
3657
|
serializedName: "fetchAaddsResource",
|
|
3635
3658
|
type: {
|
|
3636
3659
|
name: "Boolean",
|
|
3637
3660
|
},
|
|
3638
|
-
}
|
|
3661
|
+
},
|
|
3662
|
+
},
|
|
3639
3663
|
},
|
|
3640
3664
|
};
|
|
3641
3665
|
export const TrackedResource = {
|
|
3642
3666
|
type: {
|
|
3643
3667
|
name: "Composite",
|
|
3644
3668
|
className: "TrackedResource",
|
|
3645
|
-
modelProperties:
|
|
3669
|
+
modelProperties: {
|
|
3670
|
+
...ResourceAutoGenerated.type.modelProperties,
|
|
3671
|
+
tags: {
|
|
3646
3672
|
serializedName: "tags",
|
|
3647
3673
|
type: {
|
|
3648
3674
|
name: "Dictionary",
|
|
3649
3675
|
value: { type: { name: "String" } },
|
|
3650
3676
|
},
|
|
3651
|
-
},
|
|
3677
|
+
},
|
|
3678
|
+
location: {
|
|
3652
3679
|
serializedName: "location",
|
|
3653
3680
|
required: true,
|
|
3654
3681
|
type: {
|
|
3655
3682
|
name: "String",
|
|
3656
3683
|
},
|
|
3657
|
-
}
|
|
3684
|
+
},
|
|
3685
|
+
},
|
|
3658
3686
|
},
|
|
3659
3687
|
};
|
|
3660
3688
|
export const PrivateLinkResource = {
|
|
3661
3689
|
type: {
|
|
3662
3690
|
name: "Composite",
|
|
3663
3691
|
className: "PrivateLinkResource",
|
|
3664
|
-
modelProperties:
|
|
3692
|
+
modelProperties: {
|
|
3693
|
+
...ResourceAutoGenerated.type.modelProperties,
|
|
3694
|
+
systemData: {
|
|
3665
3695
|
serializedName: "systemData",
|
|
3666
3696
|
type: {
|
|
3667
3697
|
name: "Composite",
|
|
3668
3698
|
className: "SystemData",
|
|
3669
3699
|
},
|
|
3670
|
-
},
|
|
3700
|
+
},
|
|
3701
|
+
groupId: {
|
|
3671
3702
|
serializedName: "properties.groupId",
|
|
3672
3703
|
readOnly: true,
|
|
3673
3704
|
type: {
|
|
3674
3705
|
name: "String",
|
|
3675
3706
|
},
|
|
3676
|
-
},
|
|
3707
|
+
},
|
|
3708
|
+
requiredMembers: {
|
|
3677
3709
|
serializedName: "properties.requiredMembers",
|
|
3678
3710
|
readOnly: true,
|
|
3679
3711
|
type: {
|
|
@@ -3684,7 +3716,8 @@ export const PrivateLinkResource = {
|
|
|
3684
3716
|
},
|
|
3685
3717
|
},
|
|
3686
3718
|
},
|
|
3687
|
-
},
|
|
3719
|
+
},
|
|
3720
|
+
requiredZoneNames: {
|
|
3688
3721
|
serializedName: "properties.requiredZoneNames",
|
|
3689
3722
|
type: {
|
|
3690
3723
|
name: "Sequence",
|
|
@@ -3694,49 +3727,59 @@ export const PrivateLinkResource = {
|
|
|
3694
3727
|
},
|
|
3695
3728
|
},
|
|
3696
3729
|
},
|
|
3697
|
-
}
|
|
3730
|
+
},
|
|
3731
|
+
},
|
|
3698
3732
|
},
|
|
3699
3733
|
};
|
|
3700
3734
|
export const Application = {
|
|
3701
3735
|
type: {
|
|
3702
3736
|
name: "Composite",
|
|
3703
3737
|
className: "Application",
|
|
3704
|
-
modelProperties:
|
|
3738
|
+
modelProperties: {
|
|
3739
|
+
...ProxyResource.type.modelProperties,
|
|
3740
|
+
etag: {
|
|
3705
3741
|
serializedName: "etag",
|
|
3706
3742
|
type: {
|
|
3707
3743
|
name: "String",
|
|
3708
3744
|
},
|
|
3709
|
-
},
|
|
3745
|
+
},
|
|
3746
|
+
tags: {
|
|
3710
3747
|
serializedName: "tags",
|
|
3711
3748
|
type: {
|
|
3712
3749
|
name: "Dictionary",
|
|
3713
3750
|
value: { type: { name: "String" } },
|
|
3714
3751
|
},
|
|
3715
|
-
},
|
|
3752
|
+
},
|
|
3753
|
+
properties: {
|
|
3716
3754
|
serializedName: "properties",
|
|
3717
3755
|
type: {
|
|
3718
3756
|
name: "Composite",
|
|
3719
3757
|
className: "ApplicationProperties",
|
|
3720
3758
|
},
|
|
3721
|
-
},
|
|
3759
|
+
},
|
|
3760
|
+
systemData: {
|
|
3722
3761
|
serializedName: "systemData",
|
|
3723
3762
|
type: {
|
|
3724
3763
|
name: "Composite",
|
|
3725
3764
|
className: "SystemData",
|
|
3726
3765
|
},
|
|
3727
|
-
}
|
|
3766
|
+
},
|
|
3767
|
+
},
|
|
3728
3768
|
},
|
|
3729
3769
|
};
|
|
3730
3770
|
export const Cluster = {
|
|
3731
3771
|
type: {
|
|
3732
3772
|
name: "Composite",
|
|
3733
3773
|
className: "Cluster",
|
|
3734
|
-
modelProperties:
|
|
3774
|
+
modelProperties: {
|
|
3775
|
+
...TrackedResource.type.modelProperties,
|
|
3776
|
+
etag: {
|
|
3735
3777
|
serializedName: "etag",
|
|
3736
3778
|
type: {
|
|
3737
3779
|
name: "String",
|
|
3738
3780
|
},
|
|
3739
|
-
},
|
|
3781
|
+
},
|
|
3782
|
+
zones: {
|
|
3740
3783
|
serializedName: "zones",
|
|
3741
3784
|
type: {
|
|
3742
3785
|
name: "Sequence",
|
|
@@ -3746,25 +3789,29 @@ export const Cluster = {
|
|
|
3746
3789
|
},
|
|
3747
3790
|
},
|
|
3748
3791
|
},
|
|
3749
|
-
},
|
|
3792
|
+
},
|
|
3793
|
+
properties: {
|
|
3750
3794
|
serializedName: "properties",
|
|
3751
3795
|
type: {
|
|
3752
3796
|
name: "Composite",
|
|
3753
3797
|
className: "ClusterGetProperties",
|
|
3754
3798
|
},
|
|
3755
|
-
},
|
|
3799
|
+
},
|
|
3800
|
+
identity: {
|
|
3756
3801
|
serializedName: "identity",
|
|
3757
3802
|
type: {
|
|
3758
3803
|
name: "Composite",
|
|
3759
3804
|
className: "ClusterIdentity",
|
|
3760
3805
|
},
|
|
3761
|
-
},
|
|
3806
|
+
},
|
|
3807
|
+
systemData: {
|
|
3762
3808
|
serializedName: "systemData",
|
|
3763
3809
|
type: {
|
|
3764
3810
|
name: "Composite",
|
|
3765
3811
|
className: "SystemData",
|
|
3766
3812
|
},
|
|
3767
|
-
}
|
|
3813
|
+
},
|
|
3814
|
+
},
|
|
3768
3815
|
},
|
|
3769
3816
|
};
|
|
3770
3817
|
//# sourceMappingURL=mappers.js.map
|