@azure/arm-recoveryservicesbackup 13.1.1-alpha.20250421.1 → 13.2.0-alpha.20250423.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -9
- package/LICENSE +1 -1
- package/README.md +2 -5
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +7 -0
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +92 -30
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +2 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +12 -2
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +182 -42
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/recoveryServicesBackupClient.js +2 -2
- package/dist/browser/recoveryServicesBackupClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -0
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +92 -30
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +12 -2
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +185 -45
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.js +1 -1
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/recoveryServicesBackupClient.js +2 -2
- package/dist/commonjs/recoveryServicesBackupClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +7 -0
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +92 -30
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +12 -2
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +182 -42
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.js +1 -1
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/recoveryServicesBackupClient.js +2 -2
- package/dist/esm/recoveryServicesBackupClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +7 -0
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +92 -30
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +2 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +12 -2
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +182 -42
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.js +1 -1
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/recoveryServicesBackupClient.js +2 -2
- package/dist/react-native/recoveryServicesBackupClient.js.map +1 -1
- package/package.json +6 -6
- package/review/arm-recoveryservicesbackup.api.md +55 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,4BAA4B,IAAI,kCAAkC,EAClE,8BAA8B,IAAI,oCAAoC,EACtE,wBAAwB,IAAI,8BAA8B,EAC1D,mBAAmB,IAAI,yBAAyB,EAChD,qBAAqB,IAAI,2BAA2B,EACpD,iCAAiC,IAAI,uCAAuC,EAC5E,sCAAsC,IAAI,4CAA4C,EACtF,iCAAiC,IAAI,uCAAuC,EAC5E,sBAAsB,IAAI,4BAA4B,EACtD,s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AY;IAC3B,MAAM,EAAE,iCAAiC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA0B;IAC/C,aAAa,EAAE,WAAW;IAC1B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,oCAAoC,CAAC;YACzD,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,WAAW;QAC3B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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 */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n BackupResourceConfigResource as BackupResourceConfigResourceMapper,\n PreValidateEnableBackupRequest as PreValidateEnableBackupRequestMapper,\n ProtectionIntentResource as ProtectionIntentResourceMapper,\n BackupStatusRequest as BackupStatusRequestMapper,\n FeatureSupportRequest as FeatureSupportRequestMapper,\n BackupResourceVaultConfigResource as BackupResourceVaultConfigResourceMapper,\n BackupResourceEncryptionConfigResource as BackupResourceEncryptionConfigResourceMapper,\n PrivateEndpointConnectionResource as PrivateEndpointConnectionResourceMapper,\n PrepareDataMoveRequest as PrepareDataMoveRequestMapper,\n TriggerDataMoveRequest as TriggerDataMoveRequestMapper,\n MoveRPAcrossTiersRequest as MoveRPAcrossTiersRequestMapper,\n ProtectedItemResource as ProtectedItemResourceMapper,\n RestoreRequestResource as RestoreRequestResourceMapper,\n ProtectionPolicyResource as ProtectionPolicyResourceMapper,\n ValidateOperationRequestResource as ValidateOperationRequestResourceMapper,\n ProtectionContainerResource as ProtectionContainerResourceMapper,\n BackupRequestResource as BackupRequestResourceMapper,\n ILRRequestResource as ILRRequestResourceMapper,\n SecurityPinBase as SecurityPinBaseMapper,\n ListRecoveryPointsRecommendedForMoveRequest as ListRecoveryPointsRecommendedForMoveRequestMapper,\n ResourceGuardProxyBaseResource as ResourceGuardProxyBaseResourceMapper,\n UnlockDeleteRequest as UnlockDeleteRequestMapper,\n FetchTieringCostInfoRequest as FetchTieringCostInfoRequestMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-04-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const vaultName: OperationURLParameter = {\n parameterPath: \"vaultName\",\n mapper: {\n serializedName: \"vaultName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BackupResourceConfigResourceMapper,\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PreValidateEnableBackupRequestMapper,\n};\n\nexport const azureRegion: OperationURLParameter = {\n parameterPath: \"azureRegion\",\n mapper: {\n serializedName: \"azureRegion\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const fabricName: OperationURLParameter = {\n parameterPath: \"fabricName\",\n mapper: {\n serializedName: \"fabricName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const intentObjectName: OperationURLParameter = {\n parameterPath: \"intentObjectName\",\n mapper: {\n serializedName: \"intentObjectName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ProtectionIntentResourceMapper,\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BackupStatusRequestMapper,\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: FeatureSupportRequestMapper,\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const skipToken: OperationQueryParameter = {\n parameterPath: [\"options\", \"skipToken\"],\n mapper: {\n serializedName: \"$skipToken\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BackupResourceVaultConfigResourceMapper,\n};\n\nexport const xMsAuthorizationAuxiliary: OperationParameter = {\n parameterPath: [\"options\", \"xMsAuthorizationAuxiliary\"],\n mapper: {\n serializedName: \"x-ms-authorization-auxiliary\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BackupResourceEncryptionConfigResourceMapper,\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionResourceMapper,\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrepareDataMoveRequestMapper,\n};\n\nexport const parameters9: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TriggerDataMoveRequestMapper,\n};\n\nexport const parameters10: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MoveRPAcrossTiersRequestMapper,\n};\n\nexport const containerName: OperationURLParameter = {\n parameterPath: \"containerName\",\n mapper: {\n serializedName: \"containerName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const protectedItemName: OperationURLParameter = {\n parameterPath: \"protectedItemName\",\n mapper: {\n serializedName: \"protectedItemName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const recoveryPointId: OperationURLParameter = {\n parameterPath: \"recoveryPointId\",\n mapper: {\n serializedName: \"recoveryPointId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters11: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ProtectedItemResourceMapper,\n};\n\nexport const parameters12: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: RestoreRequestResourceMapper,\n};\n\nexport const policyName: OperationURLParameter = {\n parameterPath: \"policyName\",\n mapper: {\n serializedName: \"policyName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters13: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ProtectionPolicyResourceMapper,\n};\n\nexport const jobName: OperationURLParameter = {\n parameterPath: \"jobName\",\n mapper: {\n serializedName: \"jobName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters14: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ValidateOperationRequestResourceMapper,\n};\n\nexport const backupEngineName: OperationURLParameter = {\n parameterPath: \"backupEngineName\",\n mapper: {\n serializedName: \"backupEngineName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters15: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ProtectionContainerResourceMapper,\n};\n\nexport const parameters16: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BackupRequestResourceMapper,\n};\n\nexport const parameters17: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ILRRequestResourceMapper,\n};\n\nexport const parameters18: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: SecurityPinBaseMapper,\n};\n\nexport const parameters19: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ListRecoveryPointsRecommendedForMoveRequestMapper,\n};\n\nexport const resourceGuardProxyName: OperationURLParameter = {\n parameterPath: \"resourceGuardProxyName\",\n mapper: {\n serializedName: \"resourceGuardProxyName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters20: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceGuardProxyBaseResourceMapper,\n};\n\nexport const parameters21: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: UnlockDeleteRequestMapper,\n};\n\nexport const parameters22: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: FetchTieringCostInfoRequestMapper,\n};\n\nexport const vaultName1: OperationURLParameter = {\n parameterPath: \"vaultName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$\"),\n MaxLength: 50,\n MinLength: 2,\n },\n serializedName: \"vaultName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,4BAA4B,IAAI,kCAAkC,EAClE,8BA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AuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,oCAAoC;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,yBAAyB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,iCAAiC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA0B;IAC/C,aAAa,EAAE,WAAW;IAC1B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,oCAAoC,CAAC;YACzD,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,WAAW;QAC3B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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 */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n BackupResourceConfigResource as BackupResourceConfigResourceMapper,\n PreValidateEnableBackupRequest as PreValidateEnableBackupRequestMapper,\n ProtectionIntentResource as ProtectionIntentResourceMapper,\n BackupStatusRequest as BackupStatusRequestMapper,\n FeatureSupportRequest as FeatureSupportRequestMapper,\n BackupResourceVaultConfigResource as BackupResourceVaultConfigResourceMapper,\n BackupResourceEncryptionConfigResource as BackupResourceEncryptionConfigResourceMapper,\n PrivateEndpointConnectionResource as PrivateEndpointConnectionResourceMapper,\n PrepareDataMoveRequest as PrepareDataMoveRequestMapper,\n TriggerDataMoveRequest as TriggerDataMoveRequestMapper,\n MoveRPAcrossTiersRequest as MoveRPAcrossTiersRequestMapper,\n ProtectedItemResource as ProtectedItemResourceMapper,\n RestoreRequestResource as RestoreRequestResourceMapper,\n ProtectionPolicyResource as ProtectionPolicyResourceMapper,\n ValidateOperationRequestResource as ValidateOperationRequestResourceMapper,\n ProtectionContainerResource as ProtectionContainerResourceMapper,\n BackupRequestResource as BackupRequestResourceMapper,\n ILRRequestResource as ILRRequestResourceMapper,\n SecurityPinBase as SecurityPinBaseMapper,\n ListRecoveryPointsRecommendedForMoveRequest as ListRecoveryPointsRecommendedForMoveRequestMapper,\n ResourceGuardProxyBaseResource as ResourceGuardProxyBaseResourceMapper,\n UnlockDeleteRequest as UnlockDeleteRequestMapper,\n FetchTieringCostInfoRequest as FetchTieringCostInfoRequestMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-02-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const vaultName: OperationURLParameter = {\n parameterPath: \"vaultName\",\n mapper: {\n serializedName: \"vaultName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BackupResourceConfigResourceMapper,\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PreValidateEnableBackupRequestMapper,\n};\n\nexport const azureRegion: OperationURLParameter = {\n parameterPath: \"azureRegion\",\n mapper: {\n serializedName: \"azureRegion\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const fabricName: OperationURLParameter = {\n parameterPath: \"fabricName\",\n mapper: {\n serializedName: \"fabricName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const intentObjectName: OperationURLParameter = {\n parameterPath: \"intentObjectName\",\n mapper: {\n serializedName: \"intentObjectName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ProtectionIntentResourceMapper,\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BackupStatusRequestMapper,\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: FeatureSupportRequestMapper,\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const skipToken: OperationQueryParameter = {\n parameterPath: [\"options\", \"skipToken\"],\n mapper: {\n serializedName: \"$skipToken\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BackupResourceVaultConfigResourceMapper,\n};\n\nexport const xMsAuthorizationAuxiliary: OperationParameter = {\n parameterPath: [\"options\", \"xMsAuthorizationAuxiliary\"],\n mapper: {\n serializedName: \"x-ms-authorization-auxiliary\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BackupResourceEncryptionConfigResourceMapper,\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionResourceMapper,\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrepareDataMoveRequestMapper,\n};\n\nexport const parameters9: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TriggerDataMoveRequestMapper,\n};\n\nexport const parameters10: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MoveRPAcrossTiersRequestMapper,\n};\n\nexport const containerName: OperationURLParameter = {\n parameterPath: \"containerName\",\n mapper: {\n serializedName: \"containerName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const protectedItemName: OperationURLParameter = {\n parameterPath: \"protectedItemName\",\n mapper: {\n serializedName: \"protectedItemName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const recoveryPointId: OperationURLParameter = {\n parameterPath: \"recoveryPointId\",\n mapper: {\n serializedName: \"recoveryPointId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters11: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ProtectedItemResourceMapper,\n};\n\nexport const parameters12: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: RestoreRequestResourceMapper,\n};\n\nexport const policyName: OperationURLParameter = {\n parameterPath: \"policyName\",\n mapper: {\n serializedName: \"policyName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters13: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ProtectionPolicyResourceMapper,\n};\n\nexport const jobName: OperationURLParameter = {\n parameterPath: \"jobName\",\n mapper: {\n serializedName: \"jobName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters14: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ValidateOperationRequestResourceMapper,\n};\n\nexport const backupEngineName: OperationURLParameter = {\n parameterPath: \"backupEngineName\",\n mapper: {\n serializedName: \"backupEngineName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters15: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ProtectionContainerResourceMapper,\n};\n\nexport const parameters16: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BackupRequestResourceMapper,\n};\n\nexport const parameters17: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ILRRequestResourceMapper,\n};\n\nexport const parameters18: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: SecurityPinBaseMapper,\n};\n\nexport const parameters19: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ListRecoveryPointsRecommendedForMoveRequestMapper,\n};\n\nexport const resourceGuardProxyName: OperationURLParameter = {\n parameterPath: \"resourceGuardProxyName\",\n mapper: {\n serializedName: \"resourceGuardProxyName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters20: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceGuardProxyBaseResourceMapper,\n};\n\nexport const parameters21: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: UnlockDeleteRequestMapper,\n};\n\nexport const parameters22: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: FetchTieringCostInfoRequestMapper,\n};\n\nexport const vaultName1: OperationURLParameter = {\n parameterPath: \"vaultName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$\"),\n MaxLength: 50,\n MinLength: 2,\n },\n serializedName: \"vaultName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
@@ -35,7 +35,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
35
35
|
requestContentType: "application/json; charset=utf-8",
|
|
36
36
|
credential: credentials,
|
|
37
37
|
};
|
|
38
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/13.
|
|
38
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/13.2.0`;
|
|
39
39
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
40
40
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
41
41
|
: `${packageDetails}`;
|
|
@@ -68,7 +68,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
68
68
|
this.subscriptionId = subscriptionId;
|
|
69
69
|
// Assigning values to Constant parameters
|
|
70
70
|
this.$host = options.$host || "https://management.azure.com";
|
|
71
|
-
this.apiVersion = options.apiVersion || "
|
|
71
|
+
this.apiVersion = options.apiVersion || "2025-02-01";
|
|
72
72
|
this.backupResourceStorageConfigsNonCRR =
|
|
73
73
|
new BackupResourceStorageConfigsNonCRRImpl(this);
|
|
74
74
|
this.protectionIntentOperations = new ProtectionIntentOperationsImpl(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recoveryServicesBackupClient.js","sourceRoot":"","sources":["../../src/recoveryServicesBackupClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,gBAAgB,EAChB,kBAAkB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a,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,qQAAqQ;IAC3Q,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,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 */\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 SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"./lroImpl.js\";\nimport {\n BackupResourceStorageConfigsNonCRRImpl,\n ProtectionIntentOperationsImpl,\n BackupStatusImpl,\n FeatureSupportImpl,\n BackupProtectionIntentImpl,\n BackupUsageSummariesImpl,\n OperationsImpl,\n BackupResourceVaultConfigsImpl,\n BackupResourceEncryptionConfigsImpl,\n PrivateEndpointConnectionOperationsImpl,\n PrivateEndpointOperationsImpl,\n BMSPrepareDataMoveOperationResultImpl,\n ProtectedItemsImpl,\n ProtectedItemOperationResultsImpl,\n RecoveryPointsImpl,\n RestoresImpl,\n BackupPoliciesImpl,\n ProtectionPoliciesImpl,\n ProtectionPolicyOperationResultsImpl,\n BackupJobsImpl,\n JobDetailsImpl,\n JobCancellationsImpl,\n JobOperationResultsImpl,\n ExportJobsOperationResultsImpl,\n JobsImpl,\n BackupProtectedItemsImpl,\n OperationImpl,\n ValidateOperationImpl,\n ValidateOperationResultsImpl,\n ValidateOperationStatusesImpl,\n BackupEnginesImpl,\n ProtectionContainerRefreshOperationResultsImpl,\n ProtectableContainersImpl,\n ProtectionContainersImpl,\n BackupWorkloadItemsImpl,\n ProtectionContainerOperationResultsImpl,\n BackupsImpl,\n ProtectedItemOperationStatusesImpl,\n ItemLevelRecoveryConnectionsImpl,\n BackupOperationResultsImpl,\n BackupOperationStatusesImpl,\n ProtectionPolicyOperationStatusesImpl,\n BackupProtectableItemsImpl,\n BackupProtectionContainersImpl,\n DeletedProtectionContainersImpl,\n SecurityPINsImpl,\n RecoveryPointsRecommendedForMoveImpl,\n ResourceGuardProxiesImpl,\n ResourceGuardProxyImpl,\n FetchTieringCostImpl,\n GetTieringCostOperationResultImpl,\n TieringCostOperationStatusImpl,\n} from \"./operations/index.js\";\nimport {\n BackupResourceStorageConfigsNonCRR,\n ProtectionIntentOperations,\n BackupStatus,\n FeatureSupport,\n BackupProtectionIntent,\n BackupUsageSummaries,\n Operations,\n BackupResourceVaultConfigs,\n BackupResourceEncryptionConfigs,\n PrivateEndpointConnectionOperations,\n PrivateEndpointOperations,\n BMSPrepareDataMoveOperationResult,\n ProtectedItems,\n ProtectedItemOperationResults,\n RecoveryPoints,\n Restores,\n BackupPolicies,\n ProtectionPolicies,\n ProtectionPolicyOperationResults,\n BackupJobs,\n JobDetails,\n JobCancellations,\n JobOperationResults,\n ExportJobsOperationResults,\n Jobs,\n BackupProtectedItems,\n Operation,\n ValidateOperation,\n ValidateOperationResults,\n ValidateOperationStatuses,\n BackupEngines,\n ProtectionContainerRefreshOperationResults,\n ProtectableContainers,\n ProtectionContainers,\n BackupWorkloadItems,\n ProtectionContainerOperationResults,\n Backups,\n ProtectedItemOperationStatuses,\n ItemLevelRecoveryConnections,\n BackupOperationResults,\n BackupOperationStatuses,\n ProtectionPolicyOperationStatuses,\n BackupProtectableItems,\n BackupProtectionContainers,\n DeletedProtectionContainers,\n SecurityPINs,\n RecoveryPointsRecommendedForMove,\n ResourceGuardProxies,\n ResourceGuardProxy,\n FetchTieringCost,\n GetTieringCostOperationResult,\n TieringCostOperationStatus,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n RecoveryServicesBackupClientOptionalParams,\n GetOperationStatusOptionalParams,\n GetOperationStatusResponse,\n PrepareDataMoveRequest,\n BMSPrepareDataMoveOptionalParams,\n TriggerDataMoveRequest,\n BMSTriggerDataMoveOptionalParams,\n MoveRPAcrossTiersRequest,\n MoveRecoveryPointOptionalParams,\n} from \"./models/index.js\";\n\nexport class RecoveryServicesBackupClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the RecoveryServicesBackupClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The subscription Id.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: RecoveryServicesBackupClientOptionalParams,\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: RecoveryServicesBackupClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-recoveryservicesbackup/13.1.1`;\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-04-01\";\n this.backupResourceStorageConfigsNonCRR =\n new BackupResourceStorageConfigsNonCRRImpl(this);\n this.protectionIntentOperations = new ProtectionIntentOperationsImpl(this);\n this.backupStatus = new BackupStatusImpl(this);\n this.featureSupport = new FeatureSupportImpl(this);\n this.backupProtectionIntent = new BackupProtectionIntentImpl(this);\n this.backupUsageSummaries = new BackupUsageSummariesImpl(this);\n this.operations = new OperationsImpl(this);\n this.backupResourceVaultConfigs = new BackupResourceVaultConfigsImpl(this);\n this.backupResourceEncryptionConfigs =\n new BackupResourceEncryptionConfigsImpl(this);\n this.privateEndpointConnectionOperations =\n new PrivateEndpointConnectionOperationsImpl(this);\n this.privateEndpointOperations = new PrivateEndpointOperationsImpl(this);\n this.bMSPrepareDataMoveOperationResult =\n new BMSPrepareDataMoveOperationResultImpl(this);\n this.protectedItems = new ProtectedItemsImpl(this);\n this.protectedItemOperationResults = new ProtectedItemOperationResultsImpl(\n this,\n );\n this.recoveryPoints = new RecoveryPointsImpl(this);\n this.restores = new RestoresImpl(this);\n this.backupPolicies = new BackupPoliciesImpl(this);\n this.protectionPolicies = new ProtectionPoliciesImpl(this);\n this.protectionPolicyOperationResults =\n new ProtectionPolicyOperationResultsImpl(this);\n this.backupJobs = new BackupJobsImpl(this);\n this.jobDetails = new JobDetailsImpl(this);\n this.jobCancellations = new JobCancellationsImpl(this);\n this.jobOperationResults = new JobOperationResultsImpl(this);\n this.exportJobsOperationResults = new ExportJobsOperationResultsImpl(this);\n this.jobs = new JobsImpl(this);\n this.backupProtectedItems = new BackupProtectedItemsImpl(this);\n this.operation = new OperationImpl(this);\n this.validateOperation = new ValidateOperationImpl(this);\n this.validateOperationResults = new ValidateOperationResultsImpl(this);\n this.validateOperationStatuses = new ValidateOperationStatusesImpl(this);\n this.backupEngines = new BackupEnginesImpl(this);\n this.protectionContainerRefreshOperationResults =\n new ProtectionContainerRefreshOperationResultsImpl(this);\n this.protectableContainers = new ProtectableContainersImpl(this);\n this.protectionContainers = new ProtectionContainersImpl(this);\n this.backupWorkloadItems = new BackupWorkloadItemsImpl(this);\n this.protectionContainerOperationResults =\n new ProtectionContainerOperationResultsImpl(this);\n this.backups = new BackupsImpl(this);\n this.protectedItemOperationStatuses =\n new ProtectedItemOperationStatusesImpl(this);\n this.itemLevelRecoveryConnections = new ItemLevelRecoveryConnectionsImpl(\n this,\n );\n this.backupOperationResults = new BackupOperationResultsImpl(this);\n this.backupOperationStatuses = new BackupOperationStatusesImpl(this);\n this.protectionPolicyOperationStatuses =\n new ProtectionPolicyOperationStatusesImpl(this);\n this.backupProtectableItems = new BackupProtectableItemsImpl(this);\n this.backupProtectionContainers = new BackupProtectionContainersImpl(this);\n this.deletedProtectionContainers = new DeletedProtectionContainersImpl(\n this,\n );\n this.securityPINs = new SecurityPINsImpl(this);\n this.recoveryPointsRecommendedForMove =\n new RecoveryPointsRecommendedForMoveImpl(this);\n this.resourceGuardProxies = new ResourceGuardProxiesImpl(this);\n this.resourceGuardProxy = new ResourceGuardProxyImpl(this);\n this.fetchTieringCost = new FetchTieringCostImpl(this);\n this.getTieringCostOperationResult = new GetTieringCostOperationResultImpl(\n this,\n );\n this.tieringCostOperationStatus = new TieringCostOperationStatusImpl(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 /**\n * Fetches operation status for data move operation on vault\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param operationId\n * @param options The options parameters.\n */\n getOperationStatus(\n vaultName: string,\n resourceGroupName: string,\n operationId: string,\n options?: GetOperationStatusOptionalParams,\n ): Promise<GetOperationStatusResponse> {\n return this.sendOperationRequest(\n { vaultName, resourceGroupName, operationId, options },\n getOperationStatusOperationSpec,\n );\n }\n\n /**\n * Prepares source vault for Data Move operation\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param parameters Prepare data move request\n * @param options The options parameters.\n */\n async beginBMSPrepareDataMove(\n vaultName: string,\n resourceGroupName: string,\n parameters: PrepareDataMoveRequest,\n options?: BMSPrepareDataMoveOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { vaultName, resourceGroupName, parameters, options },\n spec: bMSPrepareDataMoveOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Prepares source vault for Data Move operation\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param parameters Prepare data move request\n * @param options The options parameters.\n */\n async beginBMSPrepareDataMoveAndWait(\n vaultName: string,\n resourceGroupName: string,\n parameters: PrepareDataMoveRequest,\n options?: BMSPrepareDataMoveOptionalParams,\n ): Promise<void> {\n const poller = await this.beginBMSPrepareDataMove(\n vaultName,\n resourceGroupName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Triggers Data Move Operation on target vault\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param parameters Trigger data move request\n * @param options The options parameters.\n */\n async beginBMSTriggerDataMove(\n vaultName: string,\n resourceGroupName: string,\n parameters: TriggerDataMoveRequest,\n options?: BMSTriggerDataMoveOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { vaultName, resourceGroupName, parameters, options },\n spec: bMSTriggerDataMoveOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Triggers Data Move Operation on target vault\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param parameters Trigger data move request\n * @param options The options parameters.\n */\n async beginBMSTriggerDataMoveAndWait(\n vaultName: string,\n resourceGroupName: string,\n parameters: TriggerDataMoveRequest,\n options?: BMSTriggerDataMoveOptionalParams,\n ): Promise<void> {\n const poller = await this.beginBMSTriggerDataMove(\n vaultName,\n resourceGroupName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Move recovery point from one datastore to another store.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param fabricName\n * @param containerName\n * @param protectedItemName\n * @param recoveryPointId\n * @param parameters Move Resource Across Tiers Request\n * @param options The options parameters.\n */\n async beginMoveRecoveryPoint(\n vaultName: string,\n resourceGroupName: string,\n fabricName: string,\n containerName: string,\n protectedItemName: string,\n recoveryPointId: string,\n parameters: MoveRPAcrossTiersRequest,\n options?: MoveRecoveryPointOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n vaultName,\n resourceGroupName,\n fabricName,\n containerName,\n protectedItemName,\n recoveryPointId,\n parameters,\n options,\n },\n spec: moveRecoveryPointOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Move recovery point from one datastore to another store.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param fabricName\n * @param containerName\n * @param protectedItemName\n * @param recoveryPointId\n * @param parameters Move Resource Across Tiers Request\n * @param options The options parameters.\n */\n async beginMoveRecoveryPointAndWait(\n vaultName: string,\n resourceGroupName: string,\n fabricName: string,\n containerName: string,\n protectedItemName: string,\n recoveryPointId: string,\n parameters: MoveRPAcrossTiersRequest,\n options?: MoveRecoveryPointOptionalParams,\n ): Promise<void> {\n const poller = await this.beginMoveRecoveryPoint(\n vaultName,\n resourceGroupName,\n fabricName,\n containerName,\n protectedItemName,\n recoveryPointId,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n backupResourceStorageConfigsNonCRR: BackupResourceStorageConfigsNonCRR;\n protectionIntentOperations: ProtectionIntentOperations;\n backupStatus: BackupStatus;\n featureSupport: FeatureSupport;\n backupProtectionIntent: BackupProtectionIntent;\n backupUsageSummaries: BackupUsageSummaries;\n operations: Operations;\n backupResourceVaultConfigs: BackupResourceVaultConfigs;\n backupResourceEncryptionConfigs: BackupResourceEncryptionConfigs;\n privateEndpointConnectionOperations: PrivateEndpointConnectionOperations;\n privateEndpointOperations: PrivateEndpointOperations;\n bMSPrepareDataMoveOperationResult: BMSPrepareDataMoveOperationResult;\n protectedItems: ProtectedItems;\n protectedItemOperationResults: ProtectedItemOperationResults;\n recoveryPoints: RecoveryPoints;\n restores: Restores;\n backupPolicies: BackupPolicies;\n protectionPolicies: ProtectionPolicies;\n protectionPolicyOperationResults: ProtectionPolicyOperationResults;\n backupJobs: BackupJobs;\n jobDetails: JobDetails;\n jobCancellations: JobCancellations;\n jobOperationResults: JobOperationResults;\n exportJobsOperationResults: ExportJobsOperationResults;\n jobs: Jobs;\n backupProtectedItems: BackupProtectedItems;\n operation: Operation;\n validateOperation: ValidateOperation;\n validateOperationResults: ValidateOperationResults;\n validateOperationStatuses: ValidateOperationStatuses;\n backupEngines: BackupEngines;\n protectionContainerRefreshOperationResults: ProtectionContainerRefreshOperationResults;\n protectableContainers: ProtectableContainers;\n protectionContainers: ProtectionContainers;\n backupWorkloadItems: BackupWorkloadItems;\n protectionContainerOperationResults: ProtectionContainerOperationResults;\n backups: Backups;\n protectedItemOperationStatuses: ProtectedItemOperationStatuses;\n itemLevelRecoveryConnections: ItemLevelRecoveryConnections;\n backupOperationResults: BackupOperationResults;\n backupOperationStatuses: BackupOperationStatuses;\n protectionPolicyOperationStatuses: ProtectionPolicyOperationStatuses;\n backupProtectableItems: BackupProtectableItems;\n backupProtectionContainers: BackupProtectionContainers;\n deletedProtectionContainers: DeletedProtectionContainers;\n securityPINs: SecurityPINs;\n recoveryPointsRecommendedForMove: RecoveryPointsRecommendedForMove;\n resourceGuardProxies: ResourceGuardProxies;\n resourceGuardProxy: ResourceGuardProxy;\n fetchTieringCost: FetchTieringCost;\n getTieringCostOperationResult: GetTieringCostOperationResult;\n tieringCostOperationStatus: TieringCostOperationStatus;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig/operationStatus/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus,\n },\n default: {\n bodyMapper: Mappers.NewErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.operationId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst bMSPrepareDataMoveOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig/prepareDataMove\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.NewErrorResponse,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst bMSTriggerDataMoveOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig/triggerDataMove\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.NewErrorResponse,\n },\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst moveRecoveryPointOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/move\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.fabricName,\n Parameters.containerName,\n Parameters.protectedItemName,\n Parameters.recoveryPointId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"recoveryServicesBackupClient.js","sourceRoot":"","sources":["../../src/recoveryServicesBackupClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,EAC1B,wBAAwB,EACxB,cAAc,EACd,8BAA8B,EAC9B,mCAAmC,EACnC,uCAAuC,EACvC,6BAA6B,EAC7B,qCAAqC,EACrC,kBAAkB,EAClB,iCAAiC,EACjC,kBAAkB,EAClB,YAAY,EACZ,kBAAkB,EAClB,sBAAsB,EACtB,oCAAoC,EACpC,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,8BAA8B,EAC9B,QAAQ,EACR,wBAAwB,EACxB,aAAa,EACb,qBAAqB,EACrB,4BAA4B,EAC5B,6BAA6B,EAC7B,iBAAiB,EACjB,8CAA8C,EAC9C,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,uCAAuC,EACvC,WA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OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,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 */\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 SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"./lroImpl.js\";\nimport {\n BackupResourceStorageConfigsNonCRRImpl,\n ProtectionIntentOperationsImpl,\n BackupStatusImpl,\n FeatureSupportImpl,\n BackupProtectionIntentImpl,\n BackupUsageSummariesImpl,\n OperationsImpl,\n BackupResourceVaultConfigsImpl,\n BackupResourceEncryptionConfigsImpl,\n PrivateEndpointConnectionOperationsImpl,\n PrivateEndpointOperationsImpl,\n BMSPrepareDataMoveOperationResultImpl,\n ProtectedItemsImpl,\n ProtectedItemOperationResultsImpl,\n RecoveryPointsImpl,\n RestoresImpl,\n BackupPoliciesImpl,\n ProtectionPoliciesImpl,\n ProtectionPolicyOperationResultsImpl,\n BackupJobsImpl,\n JobDetailsImpl,\n JobCancellationsImpl,\n JobOperationResultsImpl,\n ExportJobsOperationResultsImpl,\n JobsImpl,\n BackupProtectedItemsImpl,\n OperationImpl,\n ValidateOperationImpl,\n ValidateOperationResultsImpl,\n ValidateOperationStatusesImpl,\n BackupEnginesImpl,\n ProtectionContainerRefreshOperationResultsImpl,\n ProtectableContainersImpl,\n ProtectionContainersImpl,\n BackupWorkloadItemsImpl,\n ProtectionContainerOperationResultsImpl,\n BackupsImpl,\n ProtectedItemOperationStatusesImpl,\n ItemLevelRecoveryConnectionsImpl,\n BackupOperationResultsImpl,\n BackupOperationStatusesImpl,\n ProtectionPolicyOperationStatusesImpl,\n BackupProtectableItemsImpl,\n BackupProtectionContainersImpl,\n DeletedProtectionContainersImpl,\n SecurityPINsImpl,\n RecoveryPointsRecommendedForMoveImpl,\n ResourceGuardProxiesImpl,\n ResourceGuardProxyImpl,\n FetchTieringCostImpl,\n GetTieringCostOperationResultImpl,\n TieringCostOperationStatusImpl,\n} from \"./operations/index.js\";\nimport {\n BackupResourceStorageConfigsNonCRR,\n ProtectionIntentOperations,\n BackupStatus,\n FeatureSupport,\n BackupProtectionIntent,\n BackupUsageSummaries,\n Operations,\n BackupResourceVaultConfigs,\n BackupResourceEncryptionConfigs,\n PrivateEndpointConnectionOperations,\n PrivateEndpointOperations,\n BMSPrepareDataMoveOperationResult,\n ProtectedItems,\n ProtectedItemOperationResults,\n RecoveryPoints,\n Restores,\n BackupPolicies,\n ProtectionPolicies,\n ProtectionPolicyOperationResults,\n BackupJobs,\n JobDetails,\n JobCancellations,\n JobOperationResults,\n ExportJobsOperationResults,\n Jobs,\n BackupProtectedItems,\n Operation,\n ValidateOperation,\n ValidateOperationResults,\n ValidateOperationStatuses,\n BackupEngines,\n ProtectionContainerRefreshOperationResults,\n ProtectableContainers,\n ProtectionContainers,\n BackupWorkloadItems,\n ProtectionContainerOperationResults,\n Backups,\n ProtectedItemOperationStatuses,\n ItemLevelRecoveryConnections,\n BackupOperationResults,\n BackupOperationStatuses,\n ProtectionPolicyOperationStatuses,\n BackupProtectableItems,\n BackupProtectionContainers,\n DeletedProtectionContainers,\n SecurityPINs,\n RecoveryPointsRecommendedForMove,\n ResourceGuardProxies,\n ResourceGuardProxy,\n FetchTieringCost,\n GetTieringCostOperationResult,\n TieringCostOperationStatus,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n RecoveryServicesBackupClientOptionalParams,\n GetOperationStatusOptionalParams,\n GetOperationStatusResponse,\n PrepareDataMoveRequest,\n BMSPrepareDataMoveOptionalParams,\n TriggerDataMoveRequest,\n BMSTriggerDataMoveOptionalParams,\n MoveRPAcrossTiersRequest,\n MoveRecoveryPointOptionalParams,\n} from \"./models/index.js\";\n\nexport class RecoveryServicesBackupClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the RecoveryServicesBackupClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The subscription Id.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: RecoveryServicesBackupClientOptionalParams,\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: RecoveryServicesBackupClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-recoveryservicesbackup/13.2.0`;\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 || \"2025-02-01\";\n this.backupResourceStorageConfigsNonCRR =\n new BackupResourceStorageConfigsNonCRRImpl(this);\n this.protectionIntentOperations = new ProtectionIntentOperationsImpl(this);\n this.backupStatus = new BackupStatusImpl(this);\n this.featureSupport = new FeatureSupportImpl(this);\n this.backupProtectionIntent = new BackupProtectionIntentImpl(this);\n this.backupUsageSummaries = new BackupUsageSummariesImpl(this);\n this.operations = new OperationsImpl(this);\n this.backupResourceVaultConfigs = new BackupResourceVaultConfigsImpl(this);\n this.backupResourceEncryptionConfigs =\n new BackupResourceEncryptionConfigsImpl(this);\n this.privateEndpointConnectionOperations =\n new PrivateEndpointConnectionOperationsImpl(this);\n this.privateEndpointOperations = new PrivateEndpointOperationsImpl(this);\n this.bMSPrepareDataMoveOperationResult =\n new BMSPrepareDataMoveOperationResultImpl(this);\n this.protectedItems = new ProtectedItemsImpl(this);\n this.protectedItemOperationResults = new ProtectedItemOperationResultsImpl(\n this,\n );\n this.recoveryPoints = new RecoveryPointsImpl(this);\n this.restores = new RestoresImpl(this);\n this.backupPolicies = new BackupPoliciesImpl(this);\n this.protectionPolicies = new ProtectionPoliciesImpl(this);\n this.protectionPolicyOperationResults =\n new ProtectionPolicyOperationResultsImpl(this);\n this.backupJobs = new BackupJobsImpl(this);\n this.jobDetails = new JobDetailsImpl(this);\n this.jobCancellations = new JobCancellationsImpl(this);\n this.jobOperationResults = new JobOperationResultsImpl(this);\n this.exportJobsOperationResults = new ExportJobsOperationResultsImpl(this);\n this.jobs = new JobsImpl(this);\n this.backupProtectedItems = new BackupProtectedItemsImpl(this);\n this.operation = new OperationImpl(this);\n this.validateOperation = new ValidateOperationImpl(this);\n this.validateOperationResults = new ValidateOperationResultsImpl(this);\n this.validateOperationStatuses = new ValidateOperationStatusesImpl(this);\n this.backupEngines = new BackupEnginesImpl(this);\n this.protectionContainerRefreshOperationResults =\n new ProtectionContainerRefreshOperationResultsImpl(this);\n this.protectableContainers = new ProtectableContainersImpl(this);\n this.protectionContainers = new ProtectionContainersImpl(this);\n this.backupWorkloadItems = new BackupWorkloadItemsImpl(this);\n this.protectionContainerOperationResults =\n new ProtectionContainerOperationResultsImpl(this);\n this.backups = new BackupsImpl(this);\n this.protectedItemOperationStatuses =\n new ProtectedItemOperationStatusesImpl(this);\n this.itemLevelRecoveryConnections = new ItemLevelRecoveryConnectionsImpl(\n this,\n );\n this.backupOperationResults = new BackupOperationResultsImpl(this);\n this.backupOperationStatuses = new BackupOperationStatusesImpl(this);\n this.protectionPolicyOperationStatuses =\n new ProtectionPolicyOperationStatusesImpl(this);\n this.backupProtectableItems = new BackupProtectableItemsImpl(this);\n this.backupProtectionContainers = new BackupProtectionContainersImpl(this);\n this.deletedProtectionContainers = new DeletedProtectionContainersImpl(\n this,\n );\n this.securityPINs = new SecurityPINsImpl(this);\n this.recoveryPointsRecommendedForMove =\n new RecoveryPointsRecommendedForMoveImpl(this);\n this.resourceGuardProxies = new ResourceGuardProxiesImpl(this);\n this.resourceGuardProxy = new ResourceGuardProxyImpl(this);\n this.fetchTieringCost = new FetchTieringCostImpl(this);\n this.getTieringCostOperationResult = new GetTieringCostOperationResultImpl(\n this,\n );\n this.tieringCostOperationStatus = new TieringCostOperationStatusImpl(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 /**\n * Fetches operation status for data move operation on vault\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param operationId\n * @param options The options parameters.\n */\n getOperationStatus(\n vaultName: string,\n resourceGroupName: string,\n operationId: string,\n options?: GetOperationStatusOptionalParams,\n ): Promise<GetOperationStatusResponse> {\n return this.sendOperationRequest(\n { vaultName, resourceGroupName, operationId, options },\n getOperationStatusOperationSpec,\n );\n }\n\n /**\n * Prepares source vault for Data Move operation\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param parameters Prepare data move request\n * @param options The options parameters.\n */\n async beginBMSPrepareDataMove(\n vaultName: string,\n resourceGroupName: string,\n parameters: PrepareDataMoveRequest,\n options?: BMSPrepareDataMoveOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { vaultName, resourceGroupName, parameters, options },\n spec: bMSPrepareDataMoveOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Prepares source vault for Data Move operation\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param parameters Prepare data move request\n * @param options The options parameters.\n */\n async beginBMSPrepareDataMoveAndWait(\n vaultName: string,\n resourceGroupName: string,\n parameters: PrepareDataMoveRequest,\n options?: BMSPrepareDataMoveOptionalParams,\n ): Promise<void> {\n const poller = await this.beginBMSPrepareDataMove(\n vaultName,\n resourceGroupName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Triggers Data Move Operation on target vault\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param parameters Trigger data move request\n * @param options The options parameters.\n */\n async beginBMSTriggerDataMove(\n vaultName: string,\n resourceGroupName: string,\n parameters: TriggerDataMoveRequest,\n options?: BMSTriggerDataMoveOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { vaultName, resourceGroupName, parameters, options },\n spec: bMSTriggerDataMoveOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Triggers Data Move Operation on target vault\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param parameters Trigger data move request\n * @param options The options parameters.\n */\n async beginBMSTriggerDataMoveAndWait(\n vaultName: string,\n resourceGroupName: string,\n parameters: TriggerDataMoveRequest,\n options?: BMSTriggerDataMoveOptionalParams,\n ): Promise<void> {\n const poller = await this.beginBMSTriggerDataMove(\n vaultName,\n resourceGroupName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Move recovery point from one datastore to another store.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param fabricName\n * @param containerName\n * @param protectedItemName\n * @param recoveryPointId\n * @param parameters Move Resource Across Tiers Request\n * @param options The options parameters.\n */\n async beginMoveRecoveryPoint(\n vaultName: string,\n resourceGroupName: string,\n fabricName: string,\n containerName: string,\n protectedItemName: string,\n recoveryPointId: string,\n parameters: MoveRPAcrossTiersRequest,\n options?: MoveRecoveryPointOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n vaultName,\n resourceGroupName,\n fabricName,\n containerName,\n protectedItemName,\n recoveryPointId,\n parameters,\n options,\n },\n spec: moveRecoveryPointOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Move recovery point from one datastore to another store.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param fabricName\n * @param containerName\n * @param protectedItemName\n * @param recoveryPointId\n * @param parameters Move Resource Across Tiers Request\n * @param options The options parameters.\n */\n async beginMoveRecoveryPointAndWait(\n vaultName: string,\n resourceGroupName: string,\n fabricName: string,\n containerName: string,\n protectedItemName: string,\n recoveryPointId: string,\n parameters: MoveRPAcrossTiersRequest,\n options?: MoveRecoveryPointOptionalParams,\n ): Promise<void> {\n const poller = await this.beginMoveRecoveryPoint(\n vaultName,\n resourceGroupName,\n fabricName,\n containerName,\n protectedItemName,\n recoveryPointId,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n backupResourceStorageConfigsNonCRR: BackupResourceStorageConfigsNonCRR;\n protectionIntentOperations: ProtectionIntentOperations;\n backupStatus: BackupStatus;\n featureSupport: FeatureSupport;\n backupProtectionIntent: BackupProtectionIntent;\n backupUsageSummaries: BackupUsageSummaries;\n operations: Operations;\n backupResourceVaultConfigs: BackupResourceVaultConfigs;\n backupResourceEncryptionConfigs: BackupResourceEncryptionConfigs;\n privateEndpointConnectionOperations: PrivateEndpointConnectionOperations;\n privateEndpointOperations: PrivateEndpointOperations;\n bMSPrepareDataMoveOperationResult: BMSPrepareDataMoveOperationResult;\n protectedItems: ProtectedItems;\n protectedItemOperationResults: ProtectedItemOperationResults;\n recoveryPoints: RecoveryPoints;\n restores: Restores;\n backupPolicies: BackupPolicies;\n protectionPolicies: ProtectionPolicies;\n protectionPolicyOperationResults: ProtectionPolicyOperationResults;\n backupJobs: BackupJobs;\n jobDetails: JobDetails;\n jobCancellations: JobCancellations;\n jobOperationResults: JobOperationResults;\n exportJobsOperationResults: ExportJobsOperationResults;\n jobs: Jobs;\n backupProtectedItems: BackupProtectedItems;\n operation: Operation;\n validateOperation: ValidateOperation;\n validateOperationResults: ValidateOperationResults;\n validateOperationStatuses: ValidateOperationStatuses;\n backupEngines: BackupEngines;\n protectionContainerRefreshOperationResults: ProtectionContainerRefreshOperationResults;\n protectableContainers: ProtectableContainers;\n protectionContainers: ProtectionContainers;\n backupWorkloadItems: BackupWorkloadItems;\n protectionContainerOperationResults: ProtectionContainerOperationResults;\n backups: Backups;\n protectedItemOperationStatuses: ProtectedItemOperationStatuses;\n itemLevelRecoveryConnections: ItemLevelRecoveryConnections;\n backupOperationResults: BackupOperationResults;\n backupOperationStatuses: BackupOperationStatuses;\n protectionPolicyOperationStatuses: ProtectionPolicyOperationStatuses;\n backupProtectableItems: BackupProtectableItems;\n backupProtectionContainers: BackupProtectionContainers;\n deletedProtectionContainers: DeletedProtectionContainers;\n securityPINs: SecurityPINs;\n recoveryPointsRecommendedForMove: RecoveryPointsRecommendedForMove;\n resourceGuardProxies: ResourceGuardProxies;\n resourceGuardProxy: ResourceGuardProxy;\n fetchTieringCost: FetchTieringCost;\n getTieringCostOperationResult: GetTieringCostOperationResult;\n tieringCostOperationStatus: TieringCostOperationStatus;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig/operationStatus/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus,\n },\n default: {\n bodyMapper: Mappers.NewErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.operationId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst bMSPrepareDataMoveOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig/prepareDataMove\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.NewErrorResponse,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst bMSTriggerDataMoveOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig/triggerDataMove\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.NewErrorResponse,\n },\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst moveRecoveryPointOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/move\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.fabricName,\n Parameters.containerName,\n Parameters.protectedItemName,\n Parameters.recoveryPointId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
|
|
@@ -1,3 +1,10 @@
|
|
|
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
|
+
*/
|
|
1
8
|
import { __rest } from "tslib";
|
|
2
9
|
export function createLroSpec(inputs) {
|
|
3
10
|
const { args, spec, sendOperationFn } = inputs;
|
|
@@ -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":"AAAA;;;;;;GAMG;;AAQH,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,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,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 */\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\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"]}
|