@azure/arm-hardwaresecuritymodules 2.0.0-beta.1 → 2.0.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 +146 -2
- package/dist/index.js +2121 -1216
- 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/cloudHsmClusterBackupStatusGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js +40 -0
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +4 -4
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +20 -4
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js +40 -0
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js +39 -0
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +6 -6
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js +43 -0
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +4 -4
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js +39 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js +46 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +15 -15
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +1 -1
- package/dist-esm/samples-dev/dedicatedHsmGetSample.js +3 -3
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +4 -4
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +4 -4
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +2 -2
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +3 -3
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +8 -8
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +2 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +1 -1
- package/dist-esm/src/azureHSMResourceProvider.d.ts +7 -2
- package/dist-esm/src/azureHSMResourceProvider.d.ts.map +1 -1
- package/dist-esm/src/azureHSMResourceProvider.js +44 -10
- package/dist-esm/src/azureHSMResourceProvider.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 +543 -263
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +109 -49
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +28 -16
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +832 -637
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +5 -12
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +76 -117
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts +22 -0
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js +61 -0
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +7 -7
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +37 -29
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +23 -3
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +105 -6
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts +22 -0
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js +61 -0
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusters.d.ts +78 -10
- package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusters.js +467 -82
- package/dist-esm/src/operations/cloudHsmClusters.js.map +1 -1
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +24 -24
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/dedicatedHsmOperations.js +117 -109
- package/dist-esm/src/operations/dedicatedHsmOperations.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +3 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +4 -4
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +8 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +14 -14
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +7 -7
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +4 -3
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +78 -10
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +18 -18
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +1 -1
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +6 -2
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +1 -1
- package/package.json +14 -15
- package/review/arm-hardwaresecuritymodules.api.md +298 -93
- package/src/azureHSMResourceProvider.ts +67 -20
- package/src/lroImpl.ts +4 -4
- package/src/models/index.ts +633 -284
- package/src/models/mappers.ts +898 -675
- package/src/models/parameters.ts +82 -128
- package/src/operations/cloudHsmClusterBackupStatus.ts +82 -0
- package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +74 -56
- package/src/operations/cloudHsmClusterPrivateLinkResources.ts +145 -13
- package/src/operations/cloudHsmClusterRestoreStatus.ts +82 -0
- package/src/operations/cloudHsmClusters.ts +684 -151
- package/src/operations/dedicatedHsmOperations.ts +224 -215
- package/src/operations/index.ts +3 -1
- package/src/operations/operations.ts +17 -17
- package/src/operations/privateEndpointConnections.ts +30 -30
- package/src/operationsInterfaces/cloudHsmClusterBackupStatus.ts +30 -0
- package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +17 -11
- package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +6 -4
- package/src/operationsInterfaces/cloudHsmClusterRestoreStatus.ts +30 -0
- package/src/operationsInterfaces/cloudHsmClusters.ts +156 -19
- package/src/operationsInterfaces/dedicatedHsmOperations.ts +34 -28
- package/src/operationsInterfaces/index.ts +3 -1
- package/src/operationsInterfaces/operations.ts +4 -4
- package/src/operationsInterfaces/privateEndpointConnections.ts +3 -3
- package/src/pagingHelper.ts +1 -1
- package/types/arm-hardwaresecuritymodules.d.ts +625 -205
- package/types/tsdoc-metadata.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { AzureHSMResourceProvider } from "@azure/arm-hardwaresecuritymodules";
|
|
11
|
+
import { AzureHSMResourceProvider, } from "@azure/arm-hardwaresecuritymodules";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update a dedicated HSM in the specified subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Update a dedicated HSM in the specified subscription.
|
|
19
|
-
* x-ms-original-file: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/
|
|
19
|
+
* x-ms-original-file: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/DedicatedHsm_Update.json
|
|
20
20
|
*/
|
|
21
21
|
function updateAnExistingDedicatedHsm() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -36,7 +36,7 @@ function updateAnExistingDedicatedHsm() {
|
|
|
36
36
|
* This sample demonstrates how to Update a dedicated HSM in the specified subscription.
|
|
37
37
|
*
|
|
38
38
|
* @summary Update a dedicated HSM in the specified subscription.
|
|
39
|
-
* x-ms-original-file: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/
|
|
39
|
+
* x-ms-original-file: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_Update.json
|
|
40
40
|
*/
|
|
41
41
|
function updateAnExistingPaymentHsm() {
|
|
42
42
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dedicatedHsmUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedHsmUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,wBAAwB,
|
|
1
|
+
{"version":3,"file":"dedicatedHsmUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/dedicatedHsmUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,wBAAwB,GACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC;YACtD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC,IAAI,WAAW,CAAC;QACvE,MAAM,IAAI,GAAG,MAAM,CAAC;QACpB,MAAM,IAAI,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC;QACjE,MAAM,OAAO,GAAqC,EAAE,IAAI,EAAE,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,kBAAkB,CACnE,iBAAiB,EACjB,IAAI,EACJ,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC;YACtD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC,IAAI,WAAW,CAAC;QACvE,MAAM,IAAI,GAAG,MAAM,CAAC;QACpB,MAAM,IAAI,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC;QACjE,MAAM,OAAO,GAAqC,EAAE,IAAI,EAAE,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,kBAAkB,CACnE,iBAAiB,EACjB,IAAI,EACJ,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,4BAA4B,EAAE,CAAC;QAC/B,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -13,14 +13,14 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
15
15
|
/**
|
|
16
|
-
* This sample demonstrates how to Get a list of
|
|
16
|
+
* This sample demonstrates how to Get a list of Hardware Security Modules operations.
|
|
17
17
|
*
|
|
18
|
-
* @summary Get a list of
|
|
19
|
-
* x-ms-original-file: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/
|
|
18
|
+
* @summary Get a list of Hardware Security Modules operations.
|
|
19
|
+
* x-ms-original-file: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/OperationsList.json
|
|
20
20
|
*/
|
|
21
21
|
function getAListOfDedicatedHsmOperations() {
|
|
22
|
-
var _a, e_1, _b, _c;
|
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
var _a, e_1, _b, _c;
|
|
24
24
|
const subscriptionId = process.env["HARDWARESECURITYMODULES_SUBSCRIPTION_ID"] ||
|
|
25
25
|
"00000000-0000-0000-0000-000000000000";
|
|
26
26
|
const credential = new DefaultAzureCredential();
|
|
@@ -45,14 +45,14 @@ function getAListOfDedicatedHsmOperations() {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
* This sample demonstrates how to Get a list of
|
|
48
|
+
* This sample demonstrates how to Get a list of Hardware Security Modules operations.
|
|
49
49
|
*
|
|
50
|
-
* @summary Get a list of
|
|
51
|
-
* x-ms-original-file: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/
|
|
50
|
+
* @summary Get a list of Hardware Security Modules operations.
|
|
51
|
+
* x-ms-original-file: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/OperationsList.json
|
|
52
52
|
*/
|
|
53
53
|
function getAListOfPaymentHsmOperations() {
|
|
54
|
-
var _a, e_2, _b, _c;
|
|
55
54
|
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
var _a, e_2, _b, _c;
|
|
56
56
|
const subscriptionId = process.env["HARDWARESECURITYMODULES_SUBSCRIPTION_ID"] ||
|
|
57
57
|
"00000000-0000-0000-0000-000000000000";
|
|
58
58
|
const credential = new DefaultAzureCredential();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC;YACtD,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE;
|
|
1
|
+
{"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC;YACtD,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
|
|
@@ -16,11 +16,11 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to The List operation gets information about the private endpoint connections associated with the Cloud HSM Cluster
|
|
17
17
|
*
|
|
18
18
|
* @summary The List operation gets information about the private endpoint connections associated with the Cloud HSM Cluster
|
|
19
|
-
* x-ms-original-file: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/
|
|
19
|
+
* x-ms-original-file: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function cloudHsmClusterPrivateEndpointConnectionListByResourceMaximumSetGen() {
|
|
22
|
-
var _a, e_1, _b, _c;
|
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
var _a, e_1, _b, _c;
|
|
24
24
|
const subscriptionId = process.env["HARDWARESECURITYMODULES_SUBSCRIPTION_ID"] ||
|
|
25
25
|
"00000000-0000-0000-0000-000000000000";
|
|
26
26
|
const resourceGroupName = process.env["HARDWARESECURITYMODULES_RESOURCE_GROUP"] || "rgcloudhsm";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionsListByCloudHsmClusterSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mEAAmE;;;QAChF,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC;YACtD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC,IAAI,YAAY,CAAC;QACxE,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,0BAA0B,CAAC,qBAAqB,CAC5E,iBAAiB,EACjB,mBAAmB,CACpB,CAAA,IAAA,sDAAE;
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsListByCloudHsmClusterSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mEAAmE;;;QAChF,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC;YACtD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC,IAAI,YAAY,CAAC;QACxE,MAAM,mBAAmB,GAAG,OAAO,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,0BAA0B,CAAC,qBAAqB,CAC5E,iBAAiB,EACjB,mBAAmB,CACpB,CAAA,IAAA,sDAAE,CAAC;gBAHmB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mEAAmE,EAAE,CAAC;IACxE,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { CloudHsmClusters, CloudHsmClusterPrivateLinkResources, CloudHsmClusterPrivateEndpointConnections, PrivateEndpointConnections,
|
|
3
|
+
import { CloudHsmClusters, CloudHsmClusterPrivateLinkResources, CloudHsmClusterPrivateEndpointConnections, PrivateEndpointConnections, CloudHsmClusterBackupStatus, CloudHsmClusterRestoreStatus, DedicatedHsmOperations, Operations } from "./operationsInterfaces";
|
|
4
4
|
import { AzureHSMResourceProviderOptionalParams } from "./models";
|
|
5
5
|
export declare class AzureHSMResourceProvider extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
subscriptionId: string;
|
|
8
|
+
apiVersion: string;
|
|
8
9
|
/**
|
|
9
10
|
* Initializes a new instance of the AzureHSMResourceProvider class.
|
|
10
11
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -12,11 +13,15 @@ export declare class AzureHSMResourceProvider extends coreClient.ServiceClient {
|
|
|
12
13
|
* @param options The parameter options
|
|
13
14
|
*/
|
|
14
15
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureHSMResourceProviderOptionalParams);
|
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
+
private addCustomApiVersionPolicy;
|
|
15
18
|
cloudHsmClusters: CloudHsmClusters;
|
|
16
19
|
cloudHsmClusterPrivateLinkResources: CloudHsmClusterPrivateLinkResources;
|
|
17
20
|
cloudHsmClusterPrivateEndpointConnections: CloudHsmClusterPrivateEndpointConnections;
|
|
18
21
|
privateEndpointConnections: PrivateEndpointConnections;
|
|
19
|
-
|
|
22
|
+
cloudHsmClusterBackupStatus: CloudHsmClusterBackupStatus;
|
|
23
|
+
cloudHsmClusterRestoreStatus: CloudHsmClusterRestoreStatus;
|
|
20
24
|
dedicatedHsmOperations: DedicatedHsmOperations;
|
|
25
|
+
operations: Operations;
|
|
21
26
|
}
|
|
22
27
|
//# sourceMappingURL=azureHSMResourceProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureHSMResourceProvider.d.ts","sourceRoot":"","sources":["../../src/azureHSMResourceProvider.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"azureHSMResourceProvider.d.ts","sourceRoot":"","sources":["../../src/azureHSMResourceProvider.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAW7C,OAAO,EACL,gBAAgB,EAChB,mCAAmC,EACnC,yCAAyC,EACzC,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,sBAAsB,EACtB,UAAU,EACX,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sCAAsC,EAAE,MAAM,UAAU,CAAC;AAElE,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sCAAsC;IA0FlD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,mCAAmC,EAAE,mCAAmC,CAAC;IACzE,yCAAyC,EAAE,yCAAyC,CAAC;IACrF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,2BAA2B,EAAE,2BAA2B,CAAC;IACzD,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
8
9
|
import * as coreClient from "@azure/core-client";
|
|
9
10
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import { CloudHsmClustersImpl, CloudHsmClusterPrivateLinkResourcesImpl, CloudHsmClusterPrivateEndpointConnectionsImpl, PrivateEndpointConnectionsImpl,
|
|
11
|
+
import { CloudHsmClustersImpl, CloudHsmClusterPrivateLinkResourcesImpl, CloudHsmClusterPrivateEndpointConnectionsImpl, PrivateEndpointConnectionsImpl, CloudHsmClusterBackupStatusImpl, CloudHsmClusterRestoreStatusImpl, DedicatedHsmOperationsImpl, OperationsImpl, } from "./operations";
|
|
11
12
|
export class AzureHSMResourceProvider extends coreClient.ServiceClient {
|
|
12
13
|
/**
|
|
13
14
|
* Initializes a new instance of the AzureHSMResourceProvider class.
|
|
@@ -29,14 +30,14 @@ export class AzureHSMResourceProvider extends coreClient.ServiceClient {
|
|
|
29
30
|
}
|
|
30
31
|
const defaults = {
|
|
31
32
|
requestContentType: "application/json; charset=utf-8",
|
|
32
|
-
credential: credentials
|
|
33
|
+
credential: credentials,
|
|
33
34
|
};
|
|
34
|
-
const packageDetails = `azsdk-js-arm-hardwaresecuritymodules/2.0.0-beta.
|
|
35
|
+
const packageDetails = `azsdk-js-arm-hardwaresecuritymodules/2.0.0-beta.2`;
|
|
35
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
38
|
: `${packageDetails}`;
|
|
38
39
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
39
|
-
userAgentPrefix
|
|
40
|
+
userAgentPrefix,
|
|
40
41
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
41
42
|
super(optionsWithDefaults);
|
|
42
43
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -50,26 +51,59 @@ export class AzureHSMResourceProvider extends coreClient.ServiceClient {
|
|
|
50
51
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
51
52
|
!bearerTokenAuthenticationPolicyFound) {
|
|
52
53
|
this.pipeline.removePolicy({
|
|
53
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
54
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
54
55
|
});
|
|
55
56
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
56
57
|
credential: credentials,
|
|
57
58
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
58
59
|
challengeCallbacks: {
|
|
59
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
60
|
-
}
|
|
60
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
61
|
+
},
|
|
61
62
|
}));
|
|
62
63
|
}
|
|
63
64
|
// Parameter assignments
|
|
64
65
|
this.subscriptionId = subscriptionId;
|
|
65
66
|
// Assigning values to Constant parameters
|
|
66
67
|
this.$host = options.$host || "https://management.azure.com";
|
|
68
|
+
this.apiVersion = options.apiVersion || "2024-06-30-preview";
|
|
67
69
|
this.cloudHsmClusters = new CloudHsmClustersImpl(this);
|
|
68
|
-
this.cloudHsmClusterPrivateLinkResources =
|
|
69
|
-
|
|
70
|
+
this.cloudHsmClusterPrivateLinkResources =
|
|
71
|
+
new CloudHsmClusterPrivateLinkResourcesImpl(this);
|
|
72
|
+
this.cloudHsmClusterPrivateEndpointConnections =
|
|
73
|
+
new CloudHsmClusterPrivateEndpointConnectionsImpl(this);
|
|
70
74
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
71
|
-
this.
|
|
75
|
+
this.cloudHsmClusterBackupStatus = new CloudHsmClusterBackupStatusImpl(this);
|
|
76
|
+
this.cloudHsmClusterRestoreStatus = new CloudHsmClusterRestoreStatusImpl(this);
|
|
72
77
|
this.dedicatedHsmOperations = new DedicatedHsmOperationsImpl(this);
|
|
78
|
+
this.operations = new OperationsImpl(this);
|
|
79
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
80
|
+
}
|
|
81
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
82
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
83
|
+
if (!apiVersion) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
const apiVersionPolicy = {
|
|
87
|
+
name: "CustomApiVersionPolicy",
|
|
88
|
+
sendRequest(request, next) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
const param = request.url.split("?");
|
|
91
|
+
if (param.length > 1) {
|
|
92
|
+
const newParams = param[1].split("&").map((item) => {
|
|
93
|
+
if (item.indexOf("api-version") > -1) {
|
|
94
|
+
return "api-version=" + apiVersion;
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
return item;
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
101
|
+
}
|
|
102
|
+
return next(request);
|
|
103
|
+
});
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
73
107
|
}
|
|
74
108
|
}
|
|
75
109
|
//# sourceMappingURL=azureHSMResourceProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureHSMResourceProvider.js","sourceRoot":"","sources":["../../src/azureHSMResourceProvider.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"azureHSMResourceProvider.js","sourceRoot":"","sources":["../../src/azureHSMResourceProvider.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,oBAAoB,EACpB,uCAAuC,EACvC,6CAA6C,EAC7C,8BAA8B,EAC9B,+BAA+B,EAC/B,gCAAgC,EAChC,0BAA0B,EAC1B,cAAc,GACf,MAAM,cAAc,CAAC;AAatB,MAAM,OAAO,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IAKpE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAgD;;QAEhD,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,GAA2C;YACvD,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AI,EAAE,wBAAwB;YACxB,WAAW,CACf,OAAwB,EACxB,IAAiB;;oBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;wBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;gCACrC,OAAO,cAAc,GAAG,UAAU,CAAC;4BACrC,CAAC;iCAAM,CAAC;gCACN,OAAO,IAAI,CAAC;4BACd,CAAC;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;oBACrD,CAAC;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAUF"}
|
package/dist-esm/src/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,cAAc,wBAAwB,CAAC"}
|
package/dist-esm/src/lroImpl.js
CHANGED
|
@@ -15,7 +15,7 @@ export function createLroSpec(inputs) {
|
|
|
15
15
|
sendPollRequest: (path, options) => {
|
|
16
16
|
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
|
17
17
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=lroImpl.js.map
|