@azure/arm-avs 1.0.0 → 3.0.0
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 +11 -0
- package/LICENSE +21 -0
- package/README.md +72 -73
- package/dist/index.js +11681 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/azureVMwareSolutionAPI.d.ts +33 -0
- package/dist-esm/src/azureVMwareSolutionAPI.d.ts.map +1 -0
- package/dist-esm/src/azureVMwareSolutionAPI.js +66 -0
- package/dist-esm/src/azureVMwareSolutionAPI.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2962 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +363 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +115 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +3114 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +53 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +409 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/addons.d.ts +81 -0
- package/dist-esm/src/operations/addons.d.ts.map +1 -0
- package/dist-esm/src/operations/addons.js +331 -0
- package/dist-esm/src/operations/addons.js.map +1 -0
- package/dist-esm/src/operations/authorizations.d.ts +81 -0
- package/dist-esm/src/operations/authorizations.d.ts.map +1 -0
- package/dist-esm/src/operations/authorizations.js +337 -0
- package/dist-esm/src/operations/authorizations.js.map +1 -0
- package/dist-esm/src/operations/cloudLinks.d.ts +81 -0
- package/dist-esm/src/operations/cloudLinks.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudLinks.js +337 -0
- package/dist-esm/src/operations/cloudLinks.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +99 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +423 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/datastores.d.ts +89 -0
- package/dist-esm/src/operations/datastores.d.ts.map +1 -0
- package/dist-esm/src/operations/datastores.js +363 -0
- package/dist-esm/src/operations/datastores.js.map +1 -0
- package/dist-esm/src/operations/globalReachConnections.d.ts +81 -0
- package/dist-esm/src/operations/globalReachConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/globalReachConnections.js +347 -0
- package/dist-esm/src/operations/globalReachConnections.js.map +1 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.d.ts +63 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.d.ts.map +1 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.js +244 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +17 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +24 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/locations.d.ts +25 -0
- package/dist-esm/src/operations/locations.d.ts.map +1 -0
- package/dist-esm/src/operations/locations.js +79 -0
- package/dist-esm/src/operations/locations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/placementPolicies.d.ts +116 -0
- package/dist-esm/src/operations/placementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/placementPolicies.js +466 -0
- package/dist-esm/src/operations/placementPolicies.js.map +1 -0
- package/dist-esm/src/operations/privateClouds.d.ts +142 -0
- package/dist-esm/src/operations/privateClouds.d.ts.map +1 -0
- package/dist-esm/src/operations/privateClouds.js +672 -0
- package/dist-esm/src/operations/privateClouds.js.map +1 -0
- package/dist-esm/src/operations/scriptCmdlets.d.ts +53 -0
- package/dist-esm/src/operations/scriptCmdlets.d.ts.map +1 -0
- package/dist-esm/src/operations/scriptCmdlets.js +191 -0
- package/dist-esm/src/operations/scriptCmdlets.js.map +1 -0
- package/dist-esm/src/operations/scriptExecutions.d.ts +89 -0
- package/dist-esm/src/operations/scriptExecutions.d.ts.map +1 -0
- package/dist-esm/src/operations/scriptExecutions.js +371 -0
- package/dist-esm/src/operations/scriptExecutions.js.map +1 -0
- package/dist-esm/src/operations/scriptPackages.d.ts +46 -0
- package/dist-esm/src/operations/scriptPackages.d.ts.map +1 -0
- package/dist-esm/src/operations/scriptPackages.js +169 -0
- package/dist-esm/src/operations/scriptPackages.js.map +1 -0
- package/dist-esm/src/operations/virtualMachines.d.ts +71 -0
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachines.js +272 -0
- package/dist-esm/src/operations/virtualMachines.js.map +1 -0
- package/dist-esm/src/operations/workloadNetworks.d.ts +661 -0
- package/dist-esm/src/operations/workloadNetworks.d.ts.map +1 -0
- package/dist-esm/src/operations/workloadNetworks.js +3049 -0
- package/dist-esm/src/operations/workloadNetworks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/addons.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/addons.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/addons.js +9 -0
- package/dist-esm/src/operationsInterfaces/addons.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/authorizations.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/authorizations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/authorizations.js +9 -0
- package/dist-esm/src/operationsInterfaces/authorizations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudLinks.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudLinks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/datastores.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/datastores.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/datastores.js +9 -0
- package/dist-esm/src/operationsInterfaces/datastores.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.js +9 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +24 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.js +9 -0
- package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts +89 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts +106 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.js +9 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.js +9 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.js +9 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts +500 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.js +9 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -31
- package/review/arm-avs.api.md +2534 -0
- package/rollup.config.js +181 -30
- package/src/azureVMwareSolutionAPI.ts +139 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +3101 -931
- package/src/models/mappers.ts +2874 -387
- package/src/models/parameters.ts +407 -44
- package/src/operations/addons.ts +472 -0
- package/src/operations/authorizations.ts +341 -196
- package/src/operations/cloudLinks.ts +478 -0
- package/src/operations/clusters.ts +444 -238
- package/src/operations/datastores.ts +525 -0
- package/src/operations/globalReachConnections.ts +488 -0
- package/src/operations/hcxEnterpriseSites.ts +200 -210
- package/src/operations/index.ts +13 -5
- package/src/operations/locations.ts +56 -83
- package/src/operations/operations.ts +87 -73
- package/src/operations/placementPolicies.ts +677 -0
- package/src/operations/privateClouds.ts +705 -319
- package/src/operations/scriptCmdlets.ts +266 -0
- package/src/operations/scriptExecutions.ts +524 -0
- package/src/operations/scriptPackages.ts +229 -0
- package/src/operations/virtualMachines.ts +390 -0
- package/src/operations/workloadNetworks.ts +4398 -0
- package/src/operationsInterfaces/addons.ts +109 -0
- package/src/operationsInterfaces/authorizations.ts +109 -0
- package/src/operationsInterfaces/cloudLinks.ts +109 -0
- package/src/operationsInterfaces/clusters.ts +147 -0
- package/src/operationsInterfaces/datastores.ts +121 -0
- package/src/operationsInterfaces/globalReachConnections.ts +109 -0
- package/src/operationsInterfaces/hcxEnterpriseSites.ts +75 -0
- package/src/operationsInterfaces/index.ts +24 -0
- package/src/operationsInterfaces/locations.ts +36 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/placementPolicies.ts +170 -0
- package/src/operationsInterfaces/privateClouds.ts +198 -0
- package/src/operationsInterfaces/scriptCmdlets.ts +50 -0
- package/src/operationsInterfaces/scriptExecutions.ts +124 -0
- package/src/operationsInterfaces/scriptPackages.ts +44 -0
- package/src/operationsInterfaces/virtualMachines.ts +85 -0
- package/src/operationsInterfaces/workloadNetworks.ts +951 -0
- package/tsconfig.json +3 -3
- package/types/arm-avs.d.ts +4645 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-avs.js +0 -2585
- package/dist/arm-avs.js.map +0 -1
- package/dist/arm-avs.min.js +0 -1
- package/dist/arm-avs.min.js.map +0 -1
- package/esm/avsClient.d.ts +0 -23
- package/esm/avsClient.d.ts.map +0 -1
- package/esm/avsClient.js +0 -38
- package/esm/avsClient.js.map +0 -1
- package/esm/avsClientContext.d.ts +0 -16
- package/esm/avsClientContext.d.ts.map +0 -1
- package/esm/avsClientContext.js +0 -56
- package/esm/avsClientContext.js.map +0 -1
- package/esm/models/authorizationsMappers.d.ts +0 -2
- package/esm/models/authorizationsMappers.d.ts.map +0 -1
- package/esm/models/authorizationsMappers.js +0 -9
- package/esm/models/authorizationsMappers.js.map +0 -1
- package/esm/models/clustersMappers.d.ts +0 -2
- package/esm/models/clustersMappers.d.ts.map +0 -1
- package/esm/models/clustersMappers.js +0 -9
- package/esm/models/clustersMappers.js.map +0 -1
- package/esm/models/hcxEnterpriseSitesMappers.d.ts +0 -2
- package/esm/models/hcxEnterpriseSitesMappers.d.ts.map +0 -1
- package/esm/models/hcxEnterpriseSitesMappers.js +0 -9
- package/esm/models/hcxEnterpriseSitesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1163
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationsMappers.d.ts +0 -2
- package/esm/models/locationsMappers.d.ts.map +0 -1
- package/esm/models/locationsMappers.js +0 -9
- package/esm/models/locationsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -30
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -881
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -122
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateCloudsMappers.d.ts +0 -2
- package/esm/models/privateCloudsMappers.d.ts.map +0 -1
- package/esm/models/privateCloudsMappers.js +0 -9
- package/esm/models/privateCloudsMappers.js.map +0 -1
- package/esm/operations/authorizations.d.ts +0 -115
- package/esm/operations/authorizations.d.ts.map +0 -1
- package/esm/operations/authorizations.js +0 -239
- package/esm/operations/authorizations.js.map +0 -1
- package/esm/operations/clusters.d.ts +0 -133
- package/esm/operations/clusters.d.ts.map +0 -1
- package/esm/operations/clusters.js +0 -299
- package/esm/operations/clusters.js.map +0 -1
- package/esm/operations/hcxEnterpriseSites.d.ts +0 -127
- package/esm/operations/hcxEnterpriseSites.d.ts.map +0 -1
- package/esm/operations/hcxEnterpriseSites.js +0 -196
- package/esm/operations/hcxEnterpriseSites.js.map +0 -1
- package/esm/operations/index.d.ts +0 -7
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -16
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/locations.d.ts +0 -49
- package/esm/operations/locations.d.ts.map +0 -1
- package/esm/operations/locations.js +0 -85
- package/esm/operations/locations.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateClouds.d.ts +0 -177
- package/esm/operations/privateClouds.d.ts.map +0 -1
- package/esm/operations/privateClouds.js +0 -365
- package/esm/operations/privateClouds.js.map +0 -1
- package/src/avsClient.ts +0 -52
- package/src/avsClientContext.ts +0 -62
- package/src/models/authorizationsMappers.ts +0 -27
- package/src/models/clustersMappers.ts +0 -28
- package/src/models/hcxEnterpriseSitesMappers.ts +0 -27
- package/src/models/locationsMappers.ts +0 -15
- package/src/models/operationsMappers.ts +0 -16
- package/src/models/privateCloudsMappers.ts +0 -29
|
@@ -0,0 +1,363 @@
|
|
|
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing Datastores operations. */
|
|
16
|
+
export class DatastoresImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class Datastores class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* List datastores in a private cloud cluster
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param privateCloudName Name of the private cloud
|
|
28
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(resourceGroupName, privateCloudName, clusterName, options) {
|
|
32
|
+
const iter = this.listPagingAll(resourceGroupName, privateCloudName, clusterName, options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: () => {
|
|
41
|
+
return this.listPagingPage(resourceGroupName, privateCloudName, clusterName, options);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
listPagingPage(resourceGroupName, privateCloudName, clusterName, options) {
|
|
46
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
47
|
+
let result = yield __await(this._list(resourceGroupName, privateCloudName, clusterName, options));
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
let continuationToken = result.nextLink;
|
|
50
|
+
while (continuationToken) {
|
|
51
|
+
result = yield __await(this._listNext(resourceGroupName, privateCloudName, clusterName, continuationToken, options));
|
|
52
|
+
continuationToken = result.nextLink;
|
|
53
|
+
yield yield __await(result.value || []);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
listPagingAll(resourceGroupName, privateCloudName, clusterName, options) {
|
|
58
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
59
|
+
var e_1, _a;
|
|
60
|
+
try {
|
|
61
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, privateCloudName, clusterName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
62
|
+
const page = _c.value;
|
|
63
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
67
|
+
finally {
|
|
68
|
+
try {
|
|
69
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
70
|
+
}
|
|
71
|
+
finally { if (e_1) throw e_1.error; }
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* List datastores in a private cloud cluster
|
|
77
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
|
+
* @param privateCloudName Name of the private cloud
|
|
79
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
_list(resourceGroupName, privateCloudName, clusterName, options) {
|
|
83
|
+
return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, clusterName, options }, listOperationSpec);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Get a datastore in a private cloud cluster
|
|
87
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
88
|
+
* @param privateCloudName Name of the private cloud
|
|
89
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
90
|
+
* @param datastoreName Name of the datastore in the private cloud cluster
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
get(resourceGroupName, privateCloudName, clusterName, datastoreName, options) {
|
|
94
|
+
return this.client.sendOperationRequest({
|
|
95
|
+
resourceGroupName,
|
|
96
|
+
privateCloudName,
|
|
97
|
+
clusterName,
|
|
98
|
+
datastoreName,
|
|
99
|
+
options
|
|
100
|
+
}, getOperationSpec);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Create or update a datastore in a private cloud cluster
|
|
104
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
105
|
+
* @param privateCloudName Name of the private cloud
|
|
106
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
107
|
+
* @param datastoreName Name of the datastore in the private cloud cluster
|
|
108
|
+
* @param datastore A datastore in a private cloud cluster
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
beginCreateOrUpdate(resourceGroupName, privateCloudName, clusterName, datastoreName, datastore, options) {
|
|
112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
return this.client.sendOperationRequest(args, spec);
|
|
115
|
+
});
|
|
116
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
117
|
+
var _a;
|
|
118
|
+
let currentRawResponse = undefined;
|
|
119
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
120
|
+
const callback = (rawResponse, flatResponse) => {
|
|
121
|
+
currentRawResponse = rawResponse;
|
|
122
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
123
|
+
};
|
|
124
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
125
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
126
|
+
return {
|
|
127
|
+
flatResponse,
|
|
128
|
+
rawResponse: {
|
|
129
|
+
statusCode: currentRawResponse.status,
|
|
130
|
+
body: currentRawResponse.parsedBody,
|
|
131
|
+
headers: currentRawResponse.headers.toJSON()
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
});
|
|
135
|
+
const lro = new LroImpl(sendOperation, {
|
|
136
|
+
resourceGroupName,
|
|
137
|
+
privateCloudName,
|
|
138
|
+
clusterName,
|
|
139
|
+
datastoreName,
|
|
140
|
+
datastore,
|
|
141
|
+
options
|
|
142
|
+
}, createOrUpdateOperationSpec);
|
|
143
|
+
return new LroEngine(lro, {
|
|
144
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
145
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Create or update a datastore in a private cloud cluster
|
|
151
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
152
|
+
* @param privateCloudName Name of the private cloud
|
|
153
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
154
|
+
* @param datastoreName Name of the datastore in the private cloud cluster
|
|
155
|
+
* @param datastore A datastore in a private cloud cluster
|
|
156
|
+
* @param options The options parameters.
|
|
157
|
+
*/
|
|
158
|
+
beginCreateOrUpdateAndWait(resourceGroupName, privateCloudName, clusterName, datastoreName, datastore, options) {
|
|
159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
160
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, privateCloudName, clusterName, datastoreName, datastore, options);
|
|
161
|
+
return poller.pollUntilDone();
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Delete a datastore in a private cloud cluster
|
|
166
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
167
|
+
* @param privateCloudName Name of the private cloud
|
|
168
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
169
|
+
* @param datastoreName Name of the datastore in the private cloud cluster
|
|
170
|
+
* @param options The options parameters.
|
|
171
|
+
*/
|
|
172
|
+
beginDelete(resourceGroupName, privateCloudName, clusterName, datastoreName, options) {
|
|
173
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
return this.client.sendOperationRequest(args, spec);
|
|
176
|
+
});
|
|
177
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
178
|
+
var _a;
|
|
179
|
+
let currentRawResponse = undefined;
|
|
180
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
181
|
+
const callback = (rawResponse, flatResponse) => {
|
|
182
|
+
currentRawResponse = rawResponse;
|
|
183
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
184
|
+
};
|
|
185
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
186
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
187
|
+
return {
|
|
188
|
+
flatResponse,
|
|
189
|
+
rawResponse: {
|
|
190
|
+
statusCode: currentRawResponse.status,
|
|
191
|
+
body: currentRawResponse.parsedBody,
|
|
192
|
+
headers: currentRawResponse.headers.toJSON()
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
});
|
|
196
|
+
const lro = new LroImpl(sendOperation, {
|
|
197
|
+
resourceGroupName,
|
|
198
|
+
privateCloudName,
|
|
199
|
+
clusterName,
|
|
200
|
+
datastoreName,
|
|
201
|
+
options
|
|
202
|
+
}, deleteOperationSpec);
|
|
203
|
+
return new LroEngine(lro, {
|
|
204
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
205
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
206
|
+
});
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Delete a datastore in a private cloud cluster
|
|
211
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
212
|
+
* @param privateCloudName Name of the private cloud
|
|
213
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
214
|
+
* @param datastoreName Name of the datastore in the private cloud cluster
|
|
215
|
+
* @param options The options parameters.
|
|
216
|
+
*/
|
|
217
|
+
beginDeleteAndWait(resourceGroupName, privateCloudName, clusterName, datastoreName, options) {
|
|
218
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
219
|
+
const poller = yield this.beginDelete(resourceGroupName, privateCloudName, clusterName, datastoreName, options);
|
|
220
|
+
return poller.pollUntilDone();
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* ListNext
|
|
225
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
226
|
+
* @param privateCloudName Name of the private cloud
|
|
227
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
228
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
229
|
+
* @param options The options parameters.
|
|
230
|
+
*/
|
|
231
|
+
_listNext(resourceGroupName, privateCloudName, clusterName, nextLink, options) {
|
|
232
|
+
return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, clusterName, nextLink, options }, listNextOperationSpec);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
// Operation Specifications
|
|
236
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
237
|
+
const listOperationSpec = {
|
|
238
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores",
|
|
239
|
+
httpMethod: "GET",
|
|
240
|
+
responses: {
|
|
241
|
+
200: {
|
|
242
|
+
bodyMapper: Mappers.DatastoreList
|
|
243
|
+
},
|
|
244
|
+
default: {
|
|
245
|
+
bodyMapper: Mappers.CloudError
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
queryParameters: [Parameters.apiVersion],
|
|
249
|
+
urlParameters: [
|
|
250
|
+
Parameters.$host,
|
|
251
|
+
Parameters.subscriptionId,
|
|
252
|
+
Parameters.resourceGroupName,
|
|
253
|
+
Parameters.privateCloudName,
|
|
254
|
+
Parameters.clusterName
|
|
255
|
+
],
|
|
256
|
+
headerParameters: [Parameters.accept],
|
|
257
|
+
serializer
|
|
258
|
+
};
|
|
259
|
+
const getOperationSpec = {
|
|
260
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}",
|
|
261
|
+
httpMethod: "GET",
|
|
262
|
+
responses: {
|
|
263
|
+
200: {
|
|
264
|
+
bodyMapper: Mappers.Datastore
|
|
265
|
+
},
|
|
266
|
+
default: {
|
|
267
|
+
bodyMapper: Mappers.CloudError
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
queryParameters: [Parameters.apiVersion],
|
|
271
|
+
urlParameters: [
|
|
272
|
+
Parameters.$host,
|
|
273
|
+
Parameters.subscriptionId,
|
|
274
|
+
Parameters.resourceGroupName,
|
|
275
|
+
Parameters.privateCloudName,
|
|
276
|
+
Parameters.clusterName,
|
|
277
|
+
Parameters.datastoreName
|
|
278
|
+
],
|
|
279
|
+
headerParameters: [Parameters.accept],
|
|
280
|
+
serializer
|
|
281
|
+
};
|
|
282
|
+
const createOrUpdateOperationSpec = {
|
|
283
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}",
|
|
284
|
+
httpMethod: "PUT",
|
|
285
|
+
responses: {
|
|
286
|
+
200: {
|
|
287
|
+
bodyMapper: Mappers.Datastore
|
|
288
|
+
},
|
|
289
|
+
201: {
|
|
290
|
+
bodyMapper: Mappers.Datastore
|
|
291
|
+
},
|
|
292
|
+
202: {
|
|
293
|
+
bodyMapper: Mappers.Datastore
|
|
294
|
+
},
|
|
295
|
+
204: {
|
|
296
|
+
bodyMapper: Mappers.Datastore
|
|
297
|
+
},
|
|
298
|
+
default: {
|
|
299
|
+
bodyMapper: Mappers.CloudError
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
requestBody: Parameters.datastore,
|
|
303
|
+
queryParameters: [Parameters.apiVersion],
|
|
304
|
+
urlParameters: [
|
|
305
|
+
Parameters.$host,
|
|
306
|
+
Parameters.subscriptionId,
|
|
307
|
+
Parameters.resourceGroupName,
|
|
308
|
+
Parameters.privateCloudName,
|
|
309
|
+
Parameters.clusterName,
|
|
310
|
+
Parameters.datastoreName
|
|
311
|
+
],
|
|
312
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
313
|
+
mediaType: "json",
|
|
314
|
+
serializer
|
|
315
|
+
};
|
|
316
|
+
const deleteOperationSpec = {
|
|
317
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}",
|
|
318
|
+
httpMethod: "DELETE",
|
|
319
|
+
responses: {
|
|
320
|
+
200: {},
|
|
321
|
+
201: {},
|
|
322
|
+
202: {},
|
|
323
|
+
204: {},
|
|
324
|
+
default: {
|
|
325
|
+
bodyMapper: Mappers.CloudError
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
queryParameters: [Parameters.apiVersion],
|
|
329
|
+
urlParameters: [
|
|
330
|
+
Parameters.$host,
|
|
331
|
+
Parameters.subscriptionId,
|
|
332
|
+
Parameters.resourceGroupName,
|
|
333
|
+
Parameters.privateCloudName,
|
|
334
|
+
Parameters.clusterName,
|
|
335
|
+
Parameters.datastoreName
|
|
336
|
+
],
|
|
337
|
+
headerParameters: [Parameters.accept],
|
|
338
|
+
serializer
|
|
339
|
+
};
|
|
340
|
+
const listNextOperationSpec = {
|
|
341
|
+
path: "{nextLink}",
|
|
342
|
+
httpMethod: "GET",
|
|
343
|
+
responses: {
|
|
344
|
+
200: {
|
|
345
|
+
bodyMapper: Mappers.DatastoreList
|
|
346
|
+
},
|
|
347
|
+
default: {
|
|
348
|
+
bodyMapper: Mappers.CloudError
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
queryParameters: [Parameters.apiVersion],
|
|
352
|
+
urlParameters: [
|
|
353
|
+
Parameters.$host,
|
|
354
|
+
Parameters.nextLink,
|
|
355
|
+
Parameters.subscriptionId,
|
|
356
|
+
Parameters.resourceGroupName,
|
|
357
|
+
Parameters.privateCloudName,
|
|
358
|
+
Parameters.clusterName
|
|
359
|
+
],
|
|
360
|
+
headerParameters: [Parameters.accept],
|
|
361
|
+
serializer
|
|
362
|
+
};
|
|
363
|
+
//# sourceMappingURL=datastores.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datastores.js","sourceRoot":"","sources":["../../../src/operations/datastores.ts"],"names":[],"mapp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F;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { GlobalReachConnections } from "../operationsInterfaces";
|
|
3
|
+
import { AzureVMwareSolutionAPI } from "../azureVMwareSolutionAPI";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { GlobalReachConnection, GlobalReachConnectionsListOptionalParams, GlobalReachConnectionsGetOptionalParams, GlobalReachConnectionsGetResponse, GlobalReachConnectionsCreateOrUpdateOptionalParams, GlobalReachConnectionsCreateOrUpdateResponse, GlobalReachConnectionsDeleteOptionalParams } from "../models";
|
|
6
|
+
/** Class containing GlobalReachConnections operations. */
|
|
7
|
+
export declare class GlobalReachConnectionsImpl implements GlobalReachConnections {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class GlobalReachConnections class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: AzureVMwareSolutionAPI);
|
|
14
|
+
/**
|
|
15
|
+
* List global reach connections in a private cloud
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param privateCloudName Name of the private cloud
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(resourceGroupName: string, privateCloudName: string, options?: GlobalReachConnectionsListOptionalParams): PagedAsyncIterableIterator<GlobalReachConnection>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* List global reach connections in a private cloud
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param privateCloudName Name of the private cloud
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _list;
|
|
30
|
+
/**
|
|
31
|
+
* Get a global reach connection by name in a private cloud
|
|
32
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
+
* @param privateCloudName Name of the private cloud
|
|
34
|
+
* @param globalReachConnectionName Name of the global reach connection in the private cloud
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
get(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, options?: GlobalReachConnectionsGetOptionalParams): Promise<GlobalReachConnectionsGetResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Create or update a global reach connection in a private cloud
|
|
40
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
41
|
+
* @param privateCloudName The name of the private cloud.
|
|
42
|
+
* @param globalReachConnectionName Name of the global reach connection in the private cloud
|
|
43
|
+
* @param globalReachConnection A global reach connection in the private cloud
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, globalReachConnection: GlobalReachConnection, options?: GlobalReachConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<GlobalReachConnectionsCreateOrUpdateResponse>, GlobalReachConnectionsCreateOrUpdateResponse>>;
|
|
47
|
+
/**
|
|
48
|
+
* Create or update a global reach connection in a private cloud
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
|
+
* @param privateCloudName The name of the private cloud.
|
|
51
|
+
* @param globalReachConnectionName Name of the global reach connection in the private cloud
|
|
52
|
+
* @param globalReachConnection A global reach connection in the private cloud
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, globalReachConnection: GlobalReachConnection, options?: GlobalReachConnectionsCreateOrUpdateOptionalParams): Promise<GlobalReachConnectionsCreateOrUpdateResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Delete a global reach connection in a private cloud
|
|
58
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
|
+
* @param privateCloudName Name of the private cloud
|
|
60
|
+
* @param globalReachConnectionName Name of the global reach connection in the private cloud
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginDelete(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, options?: GlobalReachConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
64
|
+
/**
|
|
65
|
+
* Delete a global reach connection in a private cloud
|
|
66
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
|
+
* @param privateCloudName Name of the private cloud
|
|
68
|
+
* @param globalReachConnectionName Name of the global reach connection in the private cloud
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
beginDeleteAndWait(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, options?: GlobalReachConnectionsDeleteOptionalParams): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* ListNext
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param privateCloudName Name of the private cloud
|
|
76
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
private _listNext;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=globalReachConnections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globalReachConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/globalReachConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BA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