@azure/arm-recoveryservicesdatareplication 1.0.0-alpha.20250218.1 → 1.0.0-alpha.20250220.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/README.md +21 -14
- package/dist/browser/azureSiteRecoveryManagementServiceAPI.d.ts +50 -0
- package/dist/browser/azureSiteRecoveryManagementServiceAPI.d.ts.map +1 -0
- package/dist/browser/azureSiteRecoveryManagementServiceAPI.js +180 -0
- package/dist/browser/azureSiteRecoveryManagementServiceAPI.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +13 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/parameters.js +329 -0
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/dra.d.ts +79 -0
- package/dist/browser/operations/dra.d.ts.map +1 -0
- package/dist/browser/operations/dra.js +356 -0
- package/dist/browser/operations/dra.js.map +1 -0
- package/dist/browser/operations/draOperationStatus.d.ts +22 -0
- package/dist/browser/operations/draOperationStatus.d.ts.map +1 -0
- package/dist/browser/operations/draOperationStatus.js +57 -0
- package/dist/browser/operations/draOperationStatus.js.map +1 -0
- package/dist/browser/operations/emailConfiguration.d.ts +54 -0
- package/dist/browser/operations/emailConfiguration.d.ts.map +1 -0
- package/dist/browser/operations/emailConfiguration.js +219 -0
- package/dist/browser/operations/emailConfiguration.js.map +1 -0
- package/dist/browser/operations/event.d.ts +46 -0
- package/dist/browser/operations/event.d.ts.map +1 -0
- package/dist/browser/operations/event.js +186 -0
- package/dist/browser/operations/event.js.map +1 -0
- package/dist/browser/operations/fabric.d.ts +103 -0
- package/dist/browser/operations/fabric.d.ts.map +1 -0
- package/dist/browser/operations/fabric.js +538 -0
- package/dist/browser/operations/fabric.js.map +1 -0
- package/dist/browser/operations/fabricOperationsStatus.d.ts +21 -0
- package/dist/browser/operations/fabricOperationsStatus.d.ts.map +1 -0
- package/dist/browser/operations/fabricOperationsStatus.js +55 -0
- package/dist/browser/operations/fabricOperationsStatus.js.map +1 -0
- package/dist/browser/operations/index.d.ts +19 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +26 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/dist/browser/operations/operations.d.ts +32 -0
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/dist/browser/operations/operations.js +133 -0
- package/dist/browser/operations/operations.js.map +1 -0
- package/dist/browser/operations/policy.d.ts +79 -0
- package/dist/browser/operations/policy.d.ts.map +1 -0
- package/dist/browser/operations/policy.js +356 -0
- package/dist/browser/operations/policy.js.map +1 -0
- package/dist/browser/operations/policyOperationStatus.d.ts +22 -0
- package/dist/browser/operations/policyOperationStatus.d.ts.map +1 -0
- package/dist/browser/operations/policyOperationStatus.js +57 -0
- package/dist/browser/operations/policyOperationStatus.js.map +1 -0
- package/dist/browser/operations/protectedItem.d.ts +95 -0
- package/dist/browser/operations/protectedItem.d.ts.map +1 -0
- package/dist/browser/operations/protectedItem.js +443 -0
- package/dist/browser/operations/protectedItem.js.map +1 -0
- package/dist/browser/operations/protectedItemOperationStatus.d.ts +22 -0
- package/dist/browser/operations/protectedItemOperationStatus.d.ts.map +1 -0
- package/dist/browser/operations/protectedItemOperationStatus.js +57 -0
- package/dist/browser/operations/protectedItemOperationStatus.js.map +1 -0
- package/dist/browser/operations/recoveryPoints.d.ts +50 -0
- package/dist/browser/operations/recoveryPoints.d.ts.map +1 -0
- package/dist/browser/operations/recoveryPoints.js +195 -0
- package/dist/browser/operations/recoveryPoints.js.map +1 -0
- package/dist/browser/operations/replicationExtension.d.ts +79 -0
- package/dist/browser/operations/replicationExtension.d.ts.map +1 -0
- package/dist/browser/operations/replicationExtension.js +356 -0
- package/dist/browser/operations/replicationExtension.js.map +1 -0
- package/dist/browser/operations/replicationExtensionOperationStatus.d.ts +22 -0
- package/dist/browser/operations/replicationExtensionOperationStatus.d.ts.map +1 -0
- package/dist/browser/operations/replicationExtensionOperationStatus.js +63 -0
- package/dist/browser/operations/replicationExtensionOperationStatus.js.map +1 -0
- package/dist/browser/operations/vault.d.ts +103 -0
- package/dist/browser/operations/vault.d.ts.map +1 -0
- package/dist/browser/operations/vault.js +538 -0
- package/dist/browser/operations/vault.js.map +1 -0
- package/dist/browser/operations/vaultOperationStatus.d.ts +21 -0
- package/dist/browser/operations/vaultOperationStatus.d.ts.map +1 -0
- package/dist/browser/operations/vaultOperationStatus.js +55 -0
- package/dist/browser/operations/vaultOperationStatus.js.map +1 -0
- package/dist/browser/operations/workflow.d.ts +46 -0
- package/dist/browser/operations/workflow.d.ts.map +1 -0
- package/dist/browser/operations/workflow.js +186 -0
- package/dist/browser/operations/workflow.js.map +1 -0
- package/dist/browser/operations/workflowOperationStatus.d.ts +22 -0
- package/dist/browser/operations/workflowOperationStatus.d.ts.map +1 -0
- package/dist/browser/operations/workflowOperationStatus.js +57 -0
- package/dist/browser/operations/workflowOperationStatus.js.map +1 -0
- package/dist/browser/operationsInterfaces/dra.d.ts +54 -0
- package/dist/browser/operationsInterfaces/dra.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/dra.js.map +1 -0
- package/dist/browser/operationsInterfaces/draOperationStatus.d.ts +14 -0
- package/dist/browser/operationsInterfaces/draOperationStatus.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/draOperationStatus.js.map +1 -0
- package/dist/browser/operationsInterfaces/emailConfiguration.d.ts +29 -0
- package/dist/browser/operationsInterfaces/emailConfiguration.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/emailConfiguration.js.map +1 -0
- package/dist/browser/operationsInterfaces/event.d.ts +21 -0
- package/dist/browser/operationsInterfaces/event.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/event.js.map +1 -0
- package/dist/browser/operationsInterfaces/fabric.d.ts +67 -0
- package/dist/browser/operationsInterfaces/fabric.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/fabric.js.map +1 -0
- package/dist/browser/operationsInterfaces/fabricOperationsStatus.d.ts +13 -0
- package/dist/browser/operationsInterfaces/fabricOperationsStatus.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/fabricOperationsStatus.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +19 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +26 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/operationsInterfaces/operations.d.ts +11 -0
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/operationsInterfaces/policy.d.ts +54 -0
- package/dist/browser/operationsInterfaces/policy.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/policy.js.map +1 -0
- package/dist/browser/operationsInterfaces/policyOperationStatus.d.ts +14 -0
- package/dist/browser/operationsInterfaces/policyOperationStatus.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/policyOperationStatus.js.map +1 -0
- package/dist/browser/operationsInterfaces/protectedItem.d.ts +70 -0
- package/dist/browser/operationsInterfaces/protectedItem.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/protectedItem.js.map +1 -0
- package/dist/browser/operationsInterfaces/protectedItemOperationStatus.d.ts +14 -0
- package/dist/browser/operationsInterfaces/protectedItemOperationStatus.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/protectedItemOperationStatus.js.map +1 -0
- package/dist/browser/operationsInterfaces/recoveryPoints.d.ts +23 -0
- package/dist/browser/operationsInterfaces/recoveryPoints.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/recoveryPoints.js.map +1 -0
- package/dist/browser/operationsInterfaces/replicationExtension.d.ts +54 -0
- package/dist/browser/operationsInterfaces/replicationExtension.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/replicationExtension.js.map +1 -0
- package/dist/browser/operationsInterfaces/replicationExtensionOperationStatus.d.ts +14 -0
- package/dist/browser/operationsInterfaces/replicationExtensionOperationStatus.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/replicationExtensionOperationStatus.js.map +1 -0
- package/dist/browser/operationsInterfaces/vault.d.ts +67 -0
- package/dist/browser/operationsInterfaces/vault.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/vault.js.map +1 -0
- package/dist/browser/operationsInterfaces/vaultOperationStatus.d.ts +13 -0
- package/dist/browser/operationsInterfaces/vaultOperationStatus.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/vaultOperationStatus.js.map +1 -0
- package/dist/browser/operationsInterfaces/workflow.d.ts +21 -0
- package/dist/browser/operationsInterfaces/workflow.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workflow.js.map +1 -0
- package/dist/browser/operationsInterfaces/workflowOperationStatus.d.ts +14 -0
- package/dist/browser/operationsInterfaces/workflowOperationStatus.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workflowOperationStatus.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/azureSiteRecoveryManagementServiceAPI.d.ts +50 -0
- package/dist/commonjs/azureSiteRecoveryManagementServiceAPI.d.ts.map +1 -0
- package/dist/commonjs/azureSiteRecoveryManagementServiceAPI.js +185 -0
- package/dist/commonjs/azureSiteRecoveryManagementServiceAPI.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +17 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +3253 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +301 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +149 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +4957 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +37 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +332 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/dra.d.ts +79 -0
- package/dist/commonjs/operations/dra.d.ts.map +1 -0
- package/dist/commonjs/operations/dra.js +360 -0
- package/dist/commonjs/operations/dra.js.map +1 -0
- package/dist/commonjs/operations/draOperationStatus.d.ts +22 -0
- package/dist/commonjs/operations/draOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/draOperationStatus.js +62 -0
- package/dist/commonjs/operations/draOperationStatus.js.map +1 -0
- package/dist/commonjs/operations/emailConfiguration.d.ts +54 -0
- package/dist/commonjs/operations/emailConfiguration.d.ts.map +1 -0
- package/dist/commonjs/operations/emailConfiguration.js +223 -0
- package/dist/commonjs/operations/emailConfiguration.js.map +1 -0
- package/dist/commonjs/operations/event.d.ts +46 -0
- package/dist/commonjs/operations/event.d.ts.map +1 -0
- package/dist/commonjs/operations/event.js +190 -0
- package/dist/commonjs/operations/event.js.map +1 -0
- package/dist/commonjs/operations/fabric.d.ts +103 -0
- package/dist/commonjs/operations/fabric.d.ts.map +1 -0
- package/dist/commonjs/operations/fabric.js +542 -0
- package/dist/commonjs/operations/fabric.js.map +1 -0
- package/dist/commonjs/operations/fabricOperationsStatus.d.ts +21 -0
- package/dist/commonjs/operations/fabricOperationsStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/fabricOperationsStatus.js +60 -0
- package/dist/commonjs/operations/fabricOperationsStatus.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +19 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +29 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/policy.d.ts +79 -0
- package/dist/commonjs/operations/policy.d.ts.map +1 -0
- package/dist/commonjs/operations/policy.js +360 -0
- package/dist/commonjs/operations/policy.js.map +1 -0
- package/dist/commonjs/operations/policyOperationStatus.d.ts +22 -0
- package/dist/commonjs/operations/policyOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/policyOperationStatus.js +62 -0
- package/dist/commonjs/operations/policyOperationStatus.js.map +1 -0
- package/dist/commonjs/operations/protectedItem.d.ts +95 -0
- package/dist/commonjs/operations/protectedItem.d.ts.map +1 -0
- package/dist/commonjs/operations/protectedItem.js +447 -0
- package/dist/commonjs/operations/protectedItem.js.map +1 -0
- package/dist/commonjs/operations/protectedItemOperationStatus.d.ts +22 -0
- package/dist/commonjs/operations/protectedItemOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/protectedItemOperationStatus.js +62 -0
- package/dist/commonjs/operations/protectedItemOperationStatus.js.map +1 -0
- package/dist/commonjs/operations/recoveryPoints.d.ts +50 -0
- package/dist/commonjs/operations/recoveryPoints.d.ts.map +1 -0
- package/dist/commonjs/operations/recoveryPoints.js +199 -0
- package/dist/commonjs/operations/recoveryPoints.js.map +1 -0
- package/dist/commonjs/operations/replicationExtension.d.ts +79 -0
- package/dist/commonjs/operations/replicationExtension.d.ts.map +1 -0
- package/dist/commonjs/operations/replicationExtension.js +360 -0
- package/dist/commonjs/operations/replicationExtension.js.map +1 -0
- package/dist/commonjs/operations/replicationExtensionOperationStatus.d.ts +22 -0
- package/dist/commonjs/operations/replicationExtensionOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/replicationExtensionOperationStatus.js +68 -0
- package/dist/commonjs/operations/replicationExtensionOperationStatus.js.map +1 -0
- package/dist/commonjs/operations/vault.d.ts +103 -0
- package/dist/commonjs/operations/vault.d.ts.map +1 -0
- package/dist/commonjs/operations/vault.js +542 -0
- package/dist/commonjs/operations/vault.js.map +1 -0
- package/dist/commonjs/operations/vaultOperationStatus.d.ts +21 -0
- package/dist/commonjs/operations/vaultOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/vaultOperationStatus.js +60 -0
- package/dist/commonjs/operations/vaultOperationStatus.js.map +1 -0
- package/dist/commonjs/operations/workflow.d.ts +46 -0
- package/dist/commonjs/operations/workflow.d.ts.map +1 -0
- package/dist/commonjs/operations/workflow.js +190 -0
- package/dist/commonjs/operations/workflow.js.map +1 -0
- package/dist/commonjs/operations/workflowOperationStatus.d.ts +22 -0
- package/dist/commonjs/operations/workflowOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/workflowOperationStatus.js +62 -0
- package/dist/commonjs/operations/workflowOperationStatus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/dra.d.ts +54 -0
- package/dist/commonjs/operationsInterfaces/dra.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/dra.js +10 -0
- package/dist/commonjs/operationsInterfaces/dra.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/draOperationStatus.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/draOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/draOperationStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/draOperationStatus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/emailConfiguration.d.ts +29 -0
- package/dist/commonjs/operationsInterfaces/emailConfiguration.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/emailConfiguration.js +10 -0
- package/dist/commonjs/operationsInterfaces/emailConfiguration.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/event.d.ts +21 -0
- package/dist/commonjs/operationsInterfaces/event.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/event.js +10 -0
- package/dist/commonjs/operationsInterfaces/event.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/fabric.d.ts +67 -0
- package/dist/commonjs/operationsInterfaces/fabric.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/fabric.js +10 -0
- package/dist/commonjs/operationsInterfaces/fabric.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/fabricOperationsStatus.d.ts +13 -0
- package/dist/commonjs/operationsInterfaces/fabricOperationsStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/fabricOperationsStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/fabricOperationsStatus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +19 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +29 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/policy.d.ts +54 -0
- package/dist/commonjs/operationsInterfaces/policy.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/policy.js +10 -0
- package/dist/commonjs/operationsInterfaces/policy.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyOperationStatus.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/policyOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyOperationStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/policyOperationStatus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/protectedItem.d.ts +70 -0
- package/dist/commonjs/operationsInterfaces/protectedItem.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/protectedItem.js +10 -0
- package/dist/commonjs/operationsInterfaces/protectedItem.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/protectedItemOperationStatus.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/protectedItemOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/protectedItemOperationStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/protectedItemOperationStatus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/recoveryPoints.d.ts +23 -0
- package/dist/commonjs/operationsInterfaces/recoveryPoints.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/recoveryPoints.js +10 -0
- package/dist/commonjs/operationsInterfaces/recoveryPoints.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/replicationExtension.d.ts +54 -0
- package/dist/commonjs/operationsInterfaces/replicationExtension.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/replicationExtension.js +10 -0
- package/dist/commonjs/operationsInterfaces/replicationExtension.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/replicationExtensionOperationStatus.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/replicationExtensionOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/replicationExtensionOperationStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/replicationExtensionOperationStatus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/vault.d.ts +67 -0
- package/dist/commonjs/operationsInterfaces/vault.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/vault.js +10 -0
- package/dist/commonjs/operationsInterfaces/vault.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/vaultOperationStatus.d.ts +13 -0
- package/dist/commonjs/operationsInterfaces/vaultOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/vaultOperationStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/vaultOperationStatus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/workflow.d.ts +21 -0
- package/dist/commonjs/operationsInterfaces/workflow.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workflow.js +10 -0
- package/dist/commonjs/operationsInterfaces/workflow.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/workflowOperationStatus.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/workflowOperationStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workflowOperationStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/workflowOperationStatus.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/azureSiteRecoveryManagementServiceAPI.d.ts +50 -0
- package/dist/esm/azureSiteRecoveryManagementServiceAPI.d.ts.map +1 -0
- package/dist/esm/azureSiteRecoveryManagementServiceAPI.js +180 -0
- package/dist/esm/azureSiteRecoveryManagementServiceAPI.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +14 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +3253 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +298 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +149 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +4952 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +37 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +329 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/dra.d.ts +79 -0
- package/dist/esm/operations/dra.d.ts.map +1 -0
- package/dist/esm/operations/dra.js +356 -0
- package/dist/esm/operations/dra.js.map +1 -0
- package/dist/esm/operations/draOperationStatus.d.ts +22 -0
- package/dist/esm/operations/draOperationStatus.d.ts.map +1 -0
- package/dist/esm/operations/draOperationStatus.js +57 -0
- package/dist/esm/operations/draOperationStatus.js.map +1 -0
- package/dist/esm/operations/emailConfiguration.d.ts +54 -0
- package/dist/esm/operations/emailConfiguration.d.ts.map +1 -0
- package/dist/esm/operations/emailConfiguration.js +219 -0
- package/dist/esm/operations/emailConfiguration.js.map +1 -0
- package/dist/esm/operations/event.d.ts +46 -0
- package/dist/esm/operations/event.d.ts.map +1 -0
- package/dist/esm/operations/event.js +186 -0
- package/dist/esm/operations/event.js.map +1 -0
- package/dist/esm/operations/fabric.d.ts +103 -0
- package/dist/esm/operations/fabric.d.ts.map +1 -0
- package/dist/esm/operations/fabric.js +538 -0
- package/dist/esm/operations/fabric.js.map +1 -0
- package/dist/esm/operations/fabricOperationsStatus.d.ts +21 -0
- package/dist/esm/operations/fabricOperationsStatus.d.ts.map +1 -0
- package/dist/esm/operations/fabricOperationsStatus.js +55 -0
- package/dist/esm/operations/fabricOperationsStatus.js.map +1 -0
- package/dist/esm/operations/index.d.ts +19 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +26 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/policy.d.ts +79 -0
- package/dist/esm/operations/policy.d.ts.map +1 -0
- package/dist/esm/operations/policy.js +356 -0
- package/dist/esm/operations/policy.js.map +1 -0
- package/dist/esm/operations/policyOperationStatus.d.ts +22 -0
- package/dist/esm/operations/policyOperationStatus.d.ts.map +1 -0
- package/dist/esm/operations/policyOperationStatus.js +57 -0
- package/dist/esm/operations/policyOperationStatus.js.map +1 -0
- package/dist/esm/operations/protectedItem.d.ts +95 -0
- package/dist/esm/operations/protectedItem.d.ts.map +1 -0
- package/dist/esm/operations/protectedItem.js +443 -0
- package/dist/esm/operations/protectedItem.js.map +1 -0
- package/dist/esm/operations/protectedItemOperationStatus.d.ts +22 -0
- package/dist/esm/operations/protectedItemOperationStatus.d.ts.map +1 -0
- package/dist/esm/operations/protectedItemOperationStatus.js +57 -0
- package/dist/esm/operations/protectedItemOperationStatus.js.map +1 -0
- package/dist/esm/operations/recoveryPoints.d.ts +50 -0
- package/dist/esm/operations/recoveryPoints.d.ts.map +1 -0
- package/dist/esm/operations/recoveryPoints.js +195 -0
- package/dist/esm/operations/recoveryPoints.js.map +1 -0
- package/dist/esm/operations/replicationExtension.d.ts +79 -0
- package/dist/esm/operations/replicationExtension.d.ts.map +1 -0
- package/dist/esm/operations/replicationExtension.js +356 -0
- package/dist/esm/operations/replicationExtension.js.map +1 -0
- package/dist/esm/operations/replicationExtensionOperationStatus.d.ts +22 -0
- package/dist/esm/operations/replicationExtensionOperationStatus.d.ts.map +1 -0
- package/dist/esm/operations/replicationExtensionOperationStatus.js +63 -0
- package/dist/esm/operations/replicationExtensionOperationStatus.js.map +1 -0
- package/dist/esm/operations/vault.d.ts +103 -0
- package/dist/esm/operations/vault.d.ts.map +1 -0
- package/dist/esm/operations/vault.js +538 -0
- package/dist/esm/operations/vault.js.map +1 -0
- package/dist/esm/operations/vaultOperationStatus.d.ts +21 -0
- package/dist/esm/operations/vaultOperationStatus.d.ts.map +1 -0
- package/dist/esm/operations/vaultOperationStatus.js +55 -0
- package/dist/esm/operations/vaultOperationStatus.js.map +1 -0
- package/dist/esm/operations/workflow.d.ts +46 -0
- package/dist/esm/operations/workflow.d.ts.map +1 -0
- package/dist/esm/operations/workflow.js +186 -0
- package/dist/esm/operations/workflow.js.map +1 -0
- package/dist/esm/operations/workflowOperationStatus.d.ts +22 -0
- package/dist/esm/operations/workflowOperationStatus.d.ts.map +1 -0
- package/dist/esm/operations/workflowOperationStatus.js +57 -0
- package/dist/esm/operations/workflowOperationStatus.js.map +1 -0
- package/dist/esm/operationsInterfaces/dra.d.ts +54 -0
- package/dist/esm/operationsInterfaces/dra.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/dra.js +9 -0
- package/dist/esm/operationsInterfaces/dra.js.map +1 -0
- package/dist/esm/operationsInterfaces/draOperationStatus.d.ts +14 -0
- package/dist/esm/operationsInterfaces/draOperationStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/draOperationStatus.js +9 -0
- package/dist/esm/operationsInterfaces/draOperationStatus.js.map +1 -0
- package/dist/esm/operationsInterfaces/emailConfiguration.d.ts +29 -0
- package/dist/esm/operationsInterfaces/emailConfiguration.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/emailConfiguration.js +9 -0
- package/dist/esm/operationsInterfaces/emailConfiguration.js.map +1 -0
- package/dist/esm/operationsInterfaces/event.d.ts +21 -0
- package/dist/esm/operationsInterfaces/event.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/event.js +9 -0
- package/dist/esm/operationsInterfaces/event.js.map +1 -0
- package/dist/esm/operationsInterfaces/fabric.d.ts +67 -0
- package/dist/esm/operationsInterfaces/fabric.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/fabric.js +9 -0
- package/dist/esm/operationsInterfaces/fabric.js.map +1 -0
- package/dist/esm/operationsInterfaces/fabricOperationsStatus.d.ts +13 -0
- package/dist/esm/operationsInterfaces/fabricOperationsStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/fabricOperationsStatus.js +9 -0
- package/dist/esm/operationsInterfaces/fabricOperationsStatus.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +19 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +26 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/policy.d.ts +54 -0
- package/dist/esm/operationsInterfaces/policy.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/policy.js +9 -0
- package/dist/esm/operationsInterfaces/policy.js.map +1 -0
- package/dist/esm/operationsInterfaces/policyOperationStatus.d.ts +14 -0
- package/dist/esm/operationsInterfaces/policyOperationStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/policyOperationStatus.js +9 -0
- package/dist/esm/operationsInterfaces/policyOperationStatus.js.map +1 -0
- package/dist/esm/operationsInterfaces/protectedItem.d.ts +70 -0
- package/dist/esm/operationsInterfaces/protectedItem.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/protectedItem.js +9 -0
- package/dist/esm/operationsInterfaces/protectedItem.js.map +1 -0
- package/dist/esm/operationsInterfaces/protectedItemOperationStatus.d.ts +14 -0
- package/dist/esm/operationsInterfaces/protectedItemOperationStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/protectedItemOperationStatus.js +9 -0
- package/dist/esm/operationsInterfaces/protectedItemOperationStatus.js.map +1 -0
- package/dist/esm/operationsInterfaces/recoveryPoints.d.ts +23 -0
- package/dist/esm/operationsInterfaces/recoveryPoints.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/recoveryPoints.js +9 -0
- package/dist/esm/operationsInterfaces/recoveryPoints.js.map +1 -0
- package/dist/esm/operationsInterfaces/replicationExtension.d.ts +54 -0
- package/dist/esm/operationsInterfaces/replicationExtension.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/replicationExtension.js +9 -0
- package/dist/esm/operationsInterfaces/replicationExtension.js.map +1 -0
- package/dist/esm/operationsInterfaces/replicationExtensionOperationStatus.d.ts +14 -0
- package/dist/esm/operationsInterfaces/replicationExtensionOperationStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/replicationExtensionOperationStatus.js +9 -0
- package/dist/esm/operationsInterfaces/replicationExtensionOperationStatus.js.map +1 -0
- package/dist/esm/operationsInterfaces/vault.d.ts +67 -0
- package/dist/esm/operationsInterfaces/vault.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/vault.js +9 -0
- package/dist/esm/operationsInterfaces/vault.js.map +1 -0
- package/dist/esm/operationsInterfaces/vaultOperationStatus.d.ts +13 -0
- package/dist/esm/operationsInterfaces/vaultOperationStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/vaultOperationStatus.js +9 -0
- package/dist/esm/operationsInterfaces/vaultOperationStatus.js.map +1 -0
- package/dist/esm/operationsInterfaces/workflow.d.ts +21 -0
- package/dist/esm/operationsInterfaces/workflow.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/workflow.js +9 -0
- package/dist/esm/operationsInterfaces/workflow.js.map +1 -0
- package/dist/esm/operationsInterfaces/workflowOperationStatus.d.ts +14 -0
- package/dist/esm/operationsInterfaces/workflowOperationStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/workflowOperationStatus.js +9 -0
- package/dist/esm/operationsInterfaces/workflowOperationStatus.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/azureSiteRecoveryManagementServiceAPI.d.ts +50 -0
- package/dist/react-native/azureSiteRecoveryManagementServiceAPI.d.ts.map +1 -0
- package/dist/react-native/azureSiteRecoveryManagementServiceAPI.js +180 -0
- package/dist/react-native/azureSiteRecoveryManagementServiceAPI.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +14 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +3253 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +298 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +149 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +4952 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +37 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +329 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/dra.d.ts +79 -0
- package/dist/react-native/operations/dra.d.ts.map +1 -0
- package/dist/react-native/operations/dra.js +356 -0
- package/dist/react-native/operations/dra.js.map +1 -0
- package/dist/react-native/operations/draOperationStatus.d.ts +22 -0
- package/dist/react-native/operations/draOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operations/draOperationStatus.js +57 -0
- package/dist/react-native/operations/draOperationStatus.js.map +1 -0
- package/dist/react-native/operations/emailConfiguration.d.ts +54 -0
- package/dist/react-native/operations/emailConfiguration.d.ts.map +1 -0
- package/dist/react-native/operations/emailConfiguration.js +219 -0
- package/dist/react-native/operations/emailConfiguration.js.map +1 -0
- package/dist/react-native/operations/event.d.ts +46 -0
- package/dist/react-native/operations/event.d.ts.map +1 -0
- package/dist/react-native/operations/event.js +186 -0
- package/dist/react-native/operations/event.js.map +1 -0
- package/dist/react-native/operations/fabric.d.ts +103 -0
- package/dist/react-native/operations/fabric.d.ts.map +1 -0
- package/dist/react-native/operations/fabric.js +538 -0
- package/dist/react-native/operations/fabric.js.map +1 -0
- package/dist/react-native/operations/fabricOperationsStatus.d.ts +21 -0
- package/dist/react-native/operations/fabricOperationsStatus.d.ts.map +1 -0
- package/dist/react-native/operations/fabricOperationsStatus.js +55 -0
- package/dist/react-native/operations/fabricOperationsStatus.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +19 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +26 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/policy.d.ts +79 -0
- package/dist/react-native/operations/policy.d.ts.map +1 -0
- package/dist/react-native/operations/policy.js +356 -0
- package/dist/react-native/operations/policy.js.map +1 -0
- package/dist/react-native/operations/policyOperationStatus.d.ts +22 -0
- package/dist/react-native/operations/policyOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operations/policyOperationStatus.js +57 -0
- package/dist/react-native/operations/policyOperationStatus.js.map +1 -0
- package/dist/react-native/operations/protectedItem.d.ts +95 -0
- package/dist/react-native/operations/protectedItem.d.ts.map +1 -0
- package/dist/react-native/operations/protectedItem.js +443 -0
- package/dist/react-native/operations/protectedItem.js.map +1 -0
- package/dist/react-native/operations/protectedItemOperationStatus.d.ts +22 -0
- package/dist/react-native/operations/protectedItemOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operations/protectedItemOperationStatus.js +57 -0
- package/dist/react-native/operations/protectedItemOperationStatus.js.map +1 -0
- package/dist/react-native/operations/recoveryPoints.d.ts +50 -0
- package/dist/react-native/operations/recoveryPoints.d.ts.map +1 -0
- package/dist/react-native/operations/recoveryPoints.js +195 -0
- package/dist/react-native/operations/recoveryPoints.js.map +1 -0
- package/dist/react-native/operations/replicationExtension.d.ts +79 -0
- package/dist/react-native/operations/replicationExtension.d.ts.map +1 -0
- package/dist/react-native/operations/replicationExtension.js +356 -0
- package/dist/react-native/operations/replicationExtension.js.map +1 -0
- package/dist/react-native/operations/replicationExtensionOperationStatus.d.ts +22 -0
- package/dist/react-native/operations/replicationExtensionOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operations/replicationExtensionOperationStatus.js +63 -0
- package/dist/react-native/operations/replicationExtensionOperationStatus.js.map +1 -0
- package/dist/react-native/operations/vault.d.ts +103 -0
- package/dist/react-native/operations/vault.d.ts.map +1 -0
- package/dist/react-native/operations/vault.js +538 -0
- package/dist/react-native/operations/vault.js.map +1 -0
- package/dist/react-native/operations/vaultOperationStatus.d.ts +21 -0
- package/dist/react-native/operations/vaultOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operations/vaultOperationStatus.js +55 -0
- package/dist/react-native/operations/vaultOperationStatus.js.map +1 -0
- package/dist/react-native/operations/workflow.d.ts +46 -0
- package/dist/react-native/operations/workflow.d.ts.map +1 -0
- package/dist/react-native/operations/workflow.js +186 -0
- package/dist/react-native/operations/workflow.js.map +1 -0
- package/dist/react-native/operations/workflowOperationStatus.d.ts +22 -0
- package/dist/react-native/operations/workflowOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operations/workflowOperationStatus.js +57 -0
- package/dist/react-native/operations/workflowOperationStatus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/dra.d.ts +54 -0
- package/dist/react-native/operationsInterfaces/dra.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/dra.js +9 -0
- package/dist/react-native/operationsInterfaces/dra.js.map +1 -0
- package/dist/react-native/operationsInterfaces/draOperationStatus.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/draOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/draOperationStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/draOperationStatus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/emailConfiguration.d.ts +29 -0
- package/dist/react-native/operationsInterfaces/emailConfiguration.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/emailConfiguration.js +9 -0
- package/dist/react-native/operationsInterfaces/emailConfiguration.js.map +1 -0
- package/dist/react-native/operationsInterfaces/event.d.ts +21 -0
- package/dist/react-native/operationsInterfaces/event.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/event.js +9 -0
- package/dist/react-native/operationsInterfaces/event.js.map +1 -0
- package/dist/react-native/operationsInterfaces/fabric.d.ts +67 -0
- package/dist/react-native/operationsInterfaces/fabric.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/fabric.js +9 -0
- package/dist/react-native/operationsInterfaces/fabric.js.map +1 -0
- package/dist/react-native/operationsInterfaces/fabricOperationsStatus.d.ts +13 -0
- package/dist/react-native/operationsInterfaces/fabricOperationsStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/fabricOperationsStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/fabricOperationsStatus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +19 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +26 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/policy.d.ts +54 -0
- package/dist/react-native/operationsInterfaces/policy.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/policy.js +9 -0
- package/dist/react-native/operationsInterfaces/policy.js.map +1 -0
- package/dist/react-native/operationsInterfaces/policyOperationStatus.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/policyOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/policyOperationStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/policyOperationStatus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/protectedItem.d.ts +70 -0
- package/dist/react-native/operationsInterfaces/protectedItem.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/protectedItem.js +9 -0
- package/dist/react-native/operationsInterfaces/protectedItem.js.map +1 -0
- package/dist/react-native/operationsInterfaces/protectedItemOperationStatus.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/protectedItemOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/protectedItemOperationStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/protectedItemOperationStatus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/recoveryPoints.d.ts +23 -0
- package/dist/react-native/operationsInterfaces/recoveryPoints.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/recoveryPoints.js +9 -0
- package/dist/react-native/operationsInterfaces/recoveryPoints.js.map +1 -0
- package/dist/react-native/operationsInterfaces/replicationExtension.d.ts +54 -0
- package/dist/react-native/operationsInterfaces/replicationExtension.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/replicationExtension.js +9 -0
- package/dist/react-native/operationsInterfaces/replicationExtension.js.map +1 -0
- package/dist/react-native/operationsInterfaces/replicationExtensionOperationStatus.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/replicationExtensionOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/replicationExtensionOperationStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/replicationExtensionOperationStatus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/vault.d.ts +67 -0
- package/dist/react-native/operationsInterfaces/vault.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/vault.js +9 -0
- package/dist/react-native/operationsInterfaces/vault.js.map +1 -0
- package/dist/react-native/operationsInterfaces/vaultOperationStatus.d.ts +13 -0
- package/dist/react-native/operationsInterfaces/vaultOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/vaultOperationStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/vaultOperationStatus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/workflow.d.ts +21 -0
- package/dist/react-native/operationsInterfaces/workflow.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workflow.js +9 -0
- package/dist/react-native/operationsInterfaces/workflow.js.map +1 -0
- package/dist/react-native/operationsInterfaces/workflowOperationStatus.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/workflowOperationStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workflowOperationStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/workflowOperationStatus.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +67 -36
- package/dist/index.js +0 -9835
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailabilitySample.js +0 -34
- package/dist-esm/samples-dev/checkNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/deploymentPreflightSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentPreflightSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentPreflightSample.js +0 -42
- package/dist-esm/samples-dev/deploymentPreflightSample.js.map +0 -1
- package/dist-esm/samples-dev/draCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/draCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/draCreateSample.js +0 -54
- package/dist-esm/samples-dev/draCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/draDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/draDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/draDeleteSample.js +0 -39
- package/dist-esm/samples-dev/draDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/draGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/draGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/draGetSample.js +0 -39
- package/dist-esm/samples-dev/draGetSample.js.map +0 -1
- package/dist-esm/samples-dev/draListSample.d.ts +0 -2
- package/dist-esm/samples-dev/draListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/draListSample.js +0 -54
- package/dist-esm/samples-dev/draListSample.js.map +0 -1
- package/dist-esm/samples-dev/draOperationStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/draOperationStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/draOperationStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/draOperationStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/emailConfigurationCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/emailConfigurationCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/emailConfigurationCreateSample.js +0 -40
- package/dist-esm/samples-dev/emailConfigurationCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/emailConfigurationGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/emailConfigurationGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/emailConfigurationGetSample.js +0 -39
- package/dist-esm/samples-dev/emailConfigurationGetSample.js.map +0 -1
- package/dist-esm/samples-dev/emailConfigurationListSample.d.ts +0 -2
- package/dist-esm/samples-dev/emailConfigurationListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/emailConfigurationListSample.js +0 -54
- package/dist-esm/samples-dev/emailConfigurationListSample.js.map +0 -1
- package/dist-esm/samples-dev/eventGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventGetSample.js +0 -39
- package/dist-esm/samples-dev/eventGetSample.js.map +0 -1
- package/dist-esm/samples-dev/eventListSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventListSample.js +0 -50
- package/dist-esm/samples-dev/eventListSample.js.map +0 -1
- package/dist-esm/samples-dev/fabricCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/fabricCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fabricCreateSample.js +0 -39
- package/dist-esm/samples-dev/fabricCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/fabricDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/fabricDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fabricDeleteSample.js +0 -38
- package/dist-esm/samples-dev/fabricDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/fabricGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/fabricGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fabricGetSample.js +0 -38
- package/dist-esm/samples-dev/fabricGetSample.js.map +0 -1
- package/dist-esm/samples-dev/fabricListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/fabricListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fabricListBySubscriptionSample.js +0 -46
- package/dist-esm/samples-dev/fabricListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/fabricListSample.d.ts +0 -2
- package/dist-esm/samples-dev/fabricListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fabricListSample.js +0 -48
- package/dist-esm/samples-dev/fabricListSample.js.map +0 -1
- package/dist-esm/samples-dev/fabricOperationsStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/fabricOperationsStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fabricOperationsStatusGetSample.js +0 -39
- package/dist-esm/samples-dev/fabricOperationsStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/fabricUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/fabricUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/fabricUpdateSample.js +0 -38
- package/dist-esm/samples-dev/fabricUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -51
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/policyCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyCreateSample.js +0 -38
- package/dist-esm/samples-dev/policyCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/policyDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyDeleteSample.js +0 -39
- package/dist-esm/samples-dev/policyDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/policyGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyGetSample.js +0 -39
- package/dist-esm/samples-dev/policyGetSample.js.map +0 -1
- package/dist-esm/samples-dev/policyListSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyListSample.js +0 -54
- package/dist-esm/samples-dev/policyListSample.js.map +0 -1
- package/dist-esm/samples-dev/policyOperationStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyOperationStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyOperationStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/policyOperationStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/protectedItemCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/protectedItemCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/protectedItemCreateSample.js +0 -40
- package/dist-esm/samples-dev/protectedItemCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/protectedItemDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/protectedItemDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/protectedItemDeleteSample.js +0 -34
- package/dist-esm/samples-dev/protectedItemDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/protectedItemGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/protectedItemGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/protectedItemGetSample.js +0 -39
- package/dist-esm/samples-dev/protectedItemGetSample.js.map +0 -1
- package/dist-esm/samples-dev/protectedItemListSample.d.ts +0 -2
- package/dist-esm/samples-dev/protectedItemListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/protectedItemListSample.js +0 -54
- package/dist-esm/samples-dev/protectedItemListSample.js.map +0 -1
- package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.d.ts +0 -2
- package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.js +0 -38
- package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.js.map +0 -1
- package/dist-esm/samples-dev/recoveryPointsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/recoveryPointsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recoveryPointsGetSample.js +0 -40
- package/dist-esm/samples-dev/recoveryPointsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/recoveryPointsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/recoveryPointsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recoveryPointsListSample.js +0 -55
- package/dist-esm/samples-dev/recoveryPointsListSample.js.map +0 -1
- package/dist-esm/samples-dev/replicationExtensionCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/replicationExtensionCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/replicationExtensionCreateSample.js +0 -40
- package/dist-esm/samples-dev/replicationExtensionCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/replicationExtensionDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/replicationExtensionDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/replicationExtensionDeleteSample.js +0 -39
- package/dist-esm/samples-dev/replicationExtensionDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/replicationExtensionGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/replicationExtensionGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/replicationExtensionGetSample.js +0 -39
- package/dist-esm/samples-dev/replicationExtensionGetSample.js.map +0 -1
- package/dist-esm/samples-dev/replicationExtensionListSample.d.ts +0 -2
- package/dist-esm/samples-dev/replicationExtensionListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/replicationExtensionListSample.js +0 -54
- package/dist-esm/samples-dev/replicationExtensionListSample.js.map +0 -1
- package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultCreateSample.js +0 -37
- package/dist-esm/samples-dev/vaultCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultDeleteSample.js +0 -38
- package/dist-esm/samples-dev/vaultDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultGetSample.js +0 -38
- package/dist-esm/samples-dev/vaultGetSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultListBySubscriptionSample.js +0 -46
- package/dist-esm/samples-dev/vaultListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultListSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultListSample.js +0 -48
- package/dist-esm/samples-dev/vaultListSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultOperationStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultOperationStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultOperationStatusGetSample.js +0 -39
- package/dist-esm/samples-dev/vaultOperationStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultUpdateSample.js +0 -36
- package/dist-esm/samples-dev/vaultUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/workflowGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/workflowGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workflowGetSample.js +0 -39
- package/dist-esm/samples-dev/workflowGetSample.js.map +0 -1
- package/dist-esm/samples-dev/workflowListSample.d.ts +0 -2
- package/dist-esm/samples-dev/workflowListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workflowListSample.js +0 -50
- package/dist-esm/samples-dev/workflowListSample.js.map +0 -1
- package/dist-esm/samples-dev/workflowOperationStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/workflowOperationStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workflowOperationStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/workflowOperationStatusGetSample.js.map +0 -1
- package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.d.ts +0 -50
- package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.d.ts.map +0 -1
- package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.js +0 -183
- package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -329
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/dra.d.ts +0 -79
- package/dist-esm/src/operations/dra.d.ts.map +0 -1
- package/dist-esm/src/operations/dra.js +0 -364
- package/dist-esm/src/operations/dra.js.map +0 -1
- package/dist-esm/src/operations/draOperationStatus.d.ts +0 -22
- package/dist-esm/src/operations/draOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/draOperationStatus.js +0 -57
- package/dist-esm/src/operations/draOperationStatus.js.map +0 -1
- package/dist-esm/src/operations/emailConfiguration.d.ts +0 -54
- package/dist-esm/src/operations/emailConfiguration.d.ts.map +0 -1
- package/dist-esm/src/operations/emailConfiguration.js +0 -219
- package/dist-esm/src/operations/emailConfiguration.js.map +0 -1
- package/dist-esm/src/operations/event.d.ts +0 -46
- package/dist-esm/src/operations/event.d.ts.map +0 -1
- package/dist-esm/src/operations/event.js +0 -186
- package/dist-esm/src/operations/event.js.map +0 -1
- package/dist-esm/src/operations/fabric.d.ts +0 -103
- package/dist-esm/src/operations/fabric.d.ts.map +0 -1
- package/dist-esm/src/operations/fabric.js +0 -550
- package/dist-esm/src/operations/fabric.js.map +0 -1
- package/dist-esm/src/operations/fabricOperationsStatus.d.ts +0 -21
- package/dist-esm/src/operations/fabricOperationsStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/fabricOperationsStatus.js +0 -55
- package/dist-esm/src/operations/fabricOperationsStatus.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -19
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -26
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -32
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -133
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/policy.d.ts +0 -79
- package/dist-esm/src/operations/policy.d.ts.map +0 -1
- package/dist-esm/src/operations/policy.js +0 -364
- package/dist-esm/src/operations/policy.js.map +0 -1
- package/dist-esm/src/operations/policyOperationStatus.d.ts +0 -22
- package/dist-esm/src/operations/policyOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/policyOperationStatus.js +0 -57
- package/dist-esm/src/operations/policyOperationStatus.js.map +0 -1
- package/dist-esm/src/operations/protectedItem.d.ts +0 -95
- package/dist-esm/src/operations/protectedItem.d.ts.map +0 -1
- package/dist-esm/src/operations/protectedItem.js +0 -455
- package/dist-esm/src/operations/protectedItem.js.map +0 -1
- package/dist-esm/src/operations/protectedItemOperationStatus.d.ts +0 -22
- package/dist-esm/src/operations/protectedItemOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/protectedItemOperationStatus.js +0 -57
- package/dist-esm/src/operations/protectedItemOperationStatus.js.map +0 -1
- package/dist-esm/src/operations/recoveryPoints.d.ts +0 -50
- package/dist-esm/src/operations/recoveryPoints.d.ts.map +0 -1
- package/dist-esm/src/operations/recoveryPoints.js +0 -195
- package/dist-esm/src/operations/recoveryPoints.js.map +0 -1
- package/dist-esm/src/operations/replicationExtension.d.ts +0 -79
- package/dist-esm/src/operations/replicationExtension.d.ts.map +0 -1
- package/dist-esm/src/operations/replicationExtension.js +0 -364
- package/dist-esm/src/operations/replicationExtension.js.map +0 -1
- package/dist-esm/src/operations/replicationExtensionOperationStatus.d.ts +0 -22
- package/dist-esm/src/operations/replicationExtensionOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/replicationExtensionOperationStatus.js +0 -63
- package/dist-esm/src/operations/replicationExtensionOperationStatus.js.map +0 -1
- package/dist-esm/src/operations/vault.d.ts +0 -103
- package/dist-esm/src/operations/vault.d.ts.map +0 -1
- package/dist-esm/src/operations/vault.js +0 -550
- package/dist-esm/src/operations/vault.js.map +0 -1
- package/dist-esm/src/operations/vaultOperationStatus.d.ts +0 -21
- package/dist-esm/src/operations/vaultOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/vaultOperationStatus.js +0 -55
- package/dist-esm/src/operations/vaultOperationStatus.js.map +0 -1
- package/dist-esm/src/operations/workflow.d.ts +0 -46
- package/dist-esm/src/operations/workflow.d.ts.map +0 -1
- package/dist-esm/src/operations/workflow.js +0 -186
- package/dist-esm/src/operations/workflow.js.map +0 -1
- package/dist-esm/src/operations/workflowOperationStatus.d.ts +0 -22
- package/dist-esm/src/operations/workflowOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/workflowOperationStatus.js +0 -57
- package/dist-esm/src/operations/workflowOperationStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dra.d.ts +0 -54
- package/dist-esm/src/operationsInterfaces/dra.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/dra.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/draOperationStatus.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/draOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/draOperationStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/emailConfiguration.d.ts +0 -29
- package/dist-esm/src/operationsInterfaces/emailConfiguration.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/emailConfiguration.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/event.d.ts +0 -21
- package/dist-esm/src/operationsInterfaces/event.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/event.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/fabric.d.ts +0 -67
- package/dist-esm/src/operationsInterfaces/fabric.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/fabric.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.d.ts +0 -13
- package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -19
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -26
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/policy.d.ts +0 -54
- package/dist-esm/src/operationsInterfaces/policy.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/policy.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyOperationStatus.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/policyOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyOperationStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/protectedItem.d.ts +0 -70
- package/dist-esm/src/operationsInterfaces/protectedItem.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/protectedItem.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts +0 -23
- package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/recoveryPoints.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/replicationExtension.d.ts +0 -54
- package/dist-esm/src/operationsInterfaces/replicationExtension.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/replicationExtension.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/vault.d.ts +0 -67
- package/dist-esm/src/operationsInterfaces/vault.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/vault.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/vaultOperationStatus.d.ts +0 -13
- package/dist-esm/src/operationsInterfaces/vaultOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/vaultOperationStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/workflow.d.ts +0 -21
- package/dist-esm/src/operationsInterfaces/workflow.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/workflow.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/workflowOperationStatus.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/workflowOperationStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/workflowOperationStatus.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.js +0 -75
- package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.js.map +0 -1
- package/src/azureSiteRecoveryManagementServiceAPI.ts +0 -306
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -38
- package/src/models/index.ts +0 -3567
- package/src/models/mappers.ts +0 -5306
- package/src/models/parameters.ts +0 -382
- package/src/operations/dra.ts +0 -500
- package/src/operations/draOperationStatus.ts +0 -78
- package/src/operations/emailConfiguration.ts +0 -287
- package/src/operations/event.ts +0 -242
- package/src/operations/fabric.ts +0 -710
- package/src/operations/fabricOperationsStatus.ts +0 -75
- package/src/operations/index.ts +0 -26
- package/src/operations/operations.ts +0 -149
- package/src/operations/policy.ts +0 -500
- package/src/operations/policyOperationStatus.ts +0 -78
- package/src/operations/protectedItem.ts +0 -638
- package/src/operations/protectedItemOperationStatus.ts +0 -79
- package/src/operations/recoveryPoints.ts +0 -270
- package/src/operations/replicationExtension.ts +0 -506
- package/src/operations/replicationExtensionOperationStatus.ts +0 -85
- package/src/operations/vault.ts +0 -710
- package/src/operations/vaultOperationStatus.ts +0 -75
- package/src/operations/workflow.ts +0 -242
- package/src/operations/workflowOperationStatus.ts +0 -78
- package/src/operationsInterfaces/dra.ts +0 -105
- package/src/operationsInterfaces/draOperationStatus.ts +0 -31
- package/src/operationsInterfaces/emailConfiguration.ts +0 -59
- package/src/operationsInterfaces/event.ts +0 -44
- package/src/operationsInterfaces/fabric.ts +0 -127
- package/src/operationsInterfaces/fabricOperationsStatus.ts +0 -29
- package/src/operationsInterfaces/index.ts +0 -26
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/policy.ts +0 -105
- package/src/operationsInterfaces/policyOperationStatus.ts +0 -31
- package/src/operationsInterfaces/protectedItem.ts +0 -144
- package/src/operationsInterfaces/protectedItemOperationStatus.ts +0 -31
- package/src/operationsInterfaces/recoveryPoints.ts +0 -48
- package/src/operationsInterfaces/replicationExtension.ts +0 -111
- package/src/operationsInterfaces/replicationExtensionOperationStatus.ts +0 -31
- package/src/operationsInterfaces/vault.ts +0 -127
- package/src/operationsInterfaces/vaultOperationStatus.ts +0 -29
- package/src/operationsInterfaces/workflow.ts +0 -44
- package/src/operationsInterfaces/workflowOperationStatus.ts +0 -31
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-recoveryservicesdatareplication.d.ts +0 -4127
- package/types/tsdoc-metadata.json +0 -11
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/dra.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/draOperationStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/emailConfiguration.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/event.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/fabric.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/fabricOperationsStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/policy.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyOperationStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/protectedItem.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/protectedItemOperationStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/recoveryPoints.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/replicationExtension.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/replicationExtensionOperationStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/vault.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/vaultOperationStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workflow.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workflowOperationStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ProtectedItemImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Class containing ProtectedItem operations. */
|
|
20
|
+
class ProtectedItemImpl {
|
|
21
|
+
/**
|
|
22
|
+
* Initialize a new instance of the class ProtectedItem class.
|
|
23
|
+
* @param client Reference to the service client
|
|
24
|
+
*/
|
|
25
|
+
constructor(client) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Gets the list of protected items in the given vault.
|
|
30
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
+
* @param vaultName The vault name.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
list(resourceGroupName, vaultName, options) {
|
|
35
|
+
const iter = this.listPagingAll(resourceGroupName, vaultName, options);
|
|
36
|
+
return {
|
|
37
|
+
next() {
|
|
38
|
+
return iter.next();
|
|
39
|
+
},
|
|
40
|
+
[Symbol.asyncIterator]() {
|
|
41
|
+
return this;
|
|
42
|
+
},
|
|
43
|
+
byPage: (settings) => {
|
|
44
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
45
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
|
+
}
|
|
47
|
+
return this.listPagingPage(resourceGroupName, vaultName, options, settings);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
listPagingPage(resourceGroupName, vaultName, options, settings) {
|
|
52
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = yield tslib_1.__await(this._list(resourceGroupName, vaultName, options));
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
+
yield yield tslib_1.__await(page);
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = yield tslib_1.__await(this._listNext(resourceGroupName, vaultName, continuationToken, options));
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
|
+
yield yield tslib_1.__await(page);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
listPagingAll(resourceGroupName, vaultName, options) {
|
|
72
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
73
|
+
var _a, e_1, _b, _c;
|
|
74
|
+
try {
|
|
75
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, vaultName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
76
|
+
_c = _f.value;
|
|
77
|
+
_d = false;
|
|
78
|
+
const page = _c;
|
|
79
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
83
|
+
finally {
|
|
84
|
+
try {
|
|
85
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
86
|
+
}
|
|
87
|
+
finally { if (e_1) throw e_1.error; }
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Gets the details of the protected item.
|
|
93
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
94
|
+
* @param vaultName The vault name.
|
|
95
|
+
* @param protectedItemName The protected item name.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
get(resourceGroupName, vaultName, protectedItemName, options) {
|
|
99
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, protectedItemName, options }, getOperationSpec);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Creates the protected item.
|
|
103
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
104
|
+
* @param vaultName The vault name.
|
|
105
|
+
* @param protectedItemName The protected item name.
|
|
106
|
+
* @param options The options parameters.
|
|
107
|
+
*/
|
|
108
|
+
async beginCreate(resourceGroupName, vaultName, protectedItemName, options) {
|
|
109
|
+
const directSendOperation = async (args, spec) => {
|
|
110
|
+
return this.client.sendOperationRequest(args, spec);
|
|
111
|
+
};
|
|
112
|
+
const sendOperationFn = async (args, spec) => {
|
|
113
|
+
var _a;
|
|
114
|
+
let currentRawResponse = undefined;
|
|
115
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
116
|
+
const callback = (rawResponse, flatResponse) => {
|
|
117
|
+
currentRawResponse = rawResponse;
|
|
118
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
119
|
+
};
|
|
120
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
121
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
122
|
+
return {
|
|
123
|
+
flatResponse,
|
|
124
|
+
rawResponse: {
|
|
125
|
+
statusCode: currentRawResponse.status,
|
|
126
|
+
body: currentRawResponse.parsedBody,
|
|
127
|
+
headers: currentRawResponse.headers.toJSON()
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
132
|
+
sendOperationFn,
|
|
133
|
+
args: { resourceGroupName, vaultName, protectedItemName, options },
|
|
134
|
+
spec: createOperationSpec
|
|
135
|
+
});
|
|
136
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
137
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
138
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
139
|
+
resourceLocationConfig: "location"
|
|
140
|
+
});
|
|
141
|
+
await poller.poll();
|
|
142
|
+
return poller;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Creates the protected item.
|
|
146
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
147
|
+
* @param vaultName The vault name.
|
|
148
|
+
* @param protectedItemName The protected item name.
|
|
149
|
+
* @param options The options parameters.
|
|
150
|
+
*/
|
|
151
|
+
async beginCreateAndWait(resourceGroupName, vaultName, protectedItemName, options) {
|
|
152
|
+
const poller = await this.beginCreate(resourceGroupName, vaultName, protectedItemName, options);
|
|
153
|
+
return poller.pollUntilDone();
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Removes the protected item.
|
|
157
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
158
|
+
* @param vaultName The vault name.
|
|
159
|
+
* @param protectedItemName The protected item name.
|
|
160
|
+
* @param options The options parameters.
|
|
161
|
+
*/
|
|
162
|
+
async beginDelete(resourceGroupName, vaultName, protectedItemName, options) {
|
|
163
|
+
const directSendOperation = async (args, spec) => {
|
|
164
|
+
return this.client.sendOperationRequest(args, spec);
|
|
165
|
+
};
|
|
166
|
+
const sendOperationFn = async (args, spec) => {
|
|
167
|
+
var _a;
|
|
168
|
+
let currentRawResponse = undefined;
|
|
169
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
170
|
+
const callback = (rawResponse, flatResponse) => {
|
|
171
|
+
currentRawResponse = rawResponse;
|
|
172
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
173
|
+
};
|
|
174
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
175
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
176
|
+
return {
|
|
177
|
+
flatResponse,
|
|
178
|
+
rawResponse: {
|
|
179
|
+
statusCode: currentRawResponse.status,
|
|
180
|
+
body: currentRawResponse.parsedBody,
|
|
181
|
+
headers: currentRawResponse.headers.toJSON()
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
186
|
+
sendOperationFn,
|
|
187
|
+
args: { resourceGroupName, vaultName, protectedItemName, options },
|
|
188
|
+
spec: deleteOperationSpec
|
|
189
|
+
});
|
|
190
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
191
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
192
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
193
|
+
resourceLocationConfig: "location"
|
|
194
|
+
});
|
|
195
|
+
await poller.poll();
|
|
196
|
+
return poller;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Removes the protected item.
|
|
200
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
201
|
+
* @param vaultName The vault name.
|
|
202
|
+
* @param protectedItemName The protected item name.
|
|
203
|
+
* @param options The options parameters.
|
|
204
|
+
*/
|
|
205
|
+
async beginDeleteAndWait(resourceGroupName, vaultName, protectedItemName, options) {
|
|
206
|
+
const poller = await this.beginDelete(resourceGroupName, vaultName, protectedItemName, options);
|
|
207
|
+
return poller.pollUntilDone();
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Gets the list of protected items in the given vault.
|
|
211
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
212
|
+
* @param vaultName The vault name.
|
|
213
|
+
* @param options The options parameters.
|
|
214
|
+
*/
|
|
215
|
+
_list(resourceGroupName, vaultName, options) {
|
|
216
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, listOperationSpec);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Performs the planned failover on the protected item.
|
|
220
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
221
|
+
* @param vaultName The vault name.
|
|
222
|
+
* @param protectedItemName The protected item name.
|
|
223
|
+
* @param options The options parameters.
|
|
224
|
+
*/
|
|
225
|
+
async beginPlannedFailover(resourceGroupName, vaultName, protectedItemName, options) {
|
|
226
|
+
const directSendOperation = async (args, spec) => {
|
|
227
|
+
return this.client.sendOperationRequest(args, spec);
|
|
228
|
+
};
|
|
229
|
+
const sendOperationFn = async (args, spec) => {
|
|
230
|
+
var _a;
|
|
231
|
+
let currentRawResponse = undefined;
|
|
232
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
233
|
+
const callback = (rawResponse, flatResponse) => {
|
|
234
|
+
currentRawResponse = rawResponse;
|
|
235
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
236
|
+
};
|
|
237
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
238
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
239
|
+
return {
|
|
240
|
+
flatResponse,
|
|
241
|
+
rawResponse: {
|
|
242
|
+
statusCode: currentRawResponse.status,
|
|
243
|
+
body: currentRawResponse.parsedBody,
|
|
244
|
+
headers: currentRawResponse.headers.toJSON()
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
249
|
+
sendOperationFn,
|
|
250
|
+
args: { resourceGroupName, vaultName, protectedItemName, options },
|
|
251
|
+
spec: plannedFailoverOperationSpec
|
|
252
|
+
});
|
|
253
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
254
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
255
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
256
|
+
resourceLocationConfig: "location"
|
|
257
|
+
});
|
|
258
|
+
await poller.poll();
|
|
259
|
+
return poller;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Performs the planned failover on the protected item.
|
|
263
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
264
|
+
* @param vaultName The vault name.
|
|
265
|
+
* @param protectedItemName The protected item name.
|
|
266
|
+
* @param options The options parameters.
|
|
267
|
+
*/
|
|
268
|
+
async beginPlannedFailoverAndWait(resourceGroupName, vaultName, protectedItemName, options) {
|
|
269
|
+
const poller = await this.beginPlannedFailover(resourceGroupName, vaultName, protectedItemName, options);
|
|
270
|
+
return poller.pollUntilDone();
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* ListNext
|
|
274
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
275
|
+
* @param vaultName The vault name.
|
|
276
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
277
|
+
* @param options The options parameters.
|
|
278
|
+
*/
|
|
279
|
+
_listNext(resourceGroupName, vaultName, nextLink, options) {
|
|
280
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, nextLink, options }, listNextOperationSpec);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
exports.ProtectedItemImpl = ProtectedItemImpl;
|
|
284
|
+
// Operation Specifications
|
|
285
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
286
|
+
const getOperationSpec = {
|
|
287
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}",
|
|
288
|
+
httpMethod: "GET",
|
|
289
|
+
responses: {
|
|
290
|
+
200: {
|
|
291
|
+
bodyMapper: Mappers.ProtectedItemModel
|
|
292
|
+
},
|
|
293
|
+
default: {
|
|
294
|
+
bodyMapper: Mappers.ErrorResponse
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
queryParameters: [Parameters.apiVersion],
|
|
298
|
+
urlParameters: [
|
|
299
|
+
Parameters.$host,
|
|
300
|
+
Parameters.subscriptionId,
|
|
301
|
+
Parameters.resourceGroupName,
|
|
302
|
+
Parameters.vaultName,
|
|
303
|
+
Parameters.protectedItemName
|
|
304
|
+
],
|
|
305
|
+
headerParameters: [Parameters.accept],
|
|
306
|
+
serializer
|
|
307
|
+
};
|
|
308
|
+
const createOperationSpec = {
|
|
309
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}",
|
|
310
|
+
httpMethod: "PUT",
|
|
311
|
+
responses: {
|
|
312
|
+
200: {
|
|
313
|
+
bodyMapper: Mappers.ProtectedItemModel
|
|
314
|
+
},
|
|
315
|
+
201: {
|
|
316
|
+
bodyMapper: Mappers.ProtectedItemModel
|
|
317
|
+
},
|
|
318
|
+
202: {
|
|
319
|
+
bodyMapper: Mappers.ProtectedItemModel
|
|
320
|
+
},
|
|
321
|
+
204: {
|
|
322
|
+
bodyMapper: Mappers.ProtectedItemModel
|
|
323
|
+
},
|
|
324
|
+
default: {
|
|
325
|
+
bodyMapper: Mappers.ErrorResponse
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
requestBody: Parameters.body5,
|
|
329
|
+
queryParameters: [Parameters.apiVersion],
|
|
330
|
+
urlParameters: [
|
|
331
|
+
Parameters.$host,
|
|
332
|
+
Parameters.subscriptionId,
|
|
333
|
+
Parameters.resourceGroupName,
|
|
334
|
+
Parameters.vaultName,
|
|
335
|
+
Parameters.protectedItemName
|
|
336
|
+
],
|
|
337
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
338
|
+
mediaType: "json",
|
|
339
|
+
serializer
|
|
340
|
+
};
|
|
341
|
+
const deleteOperationSpec = {
|
|
342
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}",
|
|
343
|
+
httpMethod: "DELETE",
|
|
344
|
+
responses: {
|
|
345
|
+
200: {
|
|
346
|
+
headersMapper: Mappers.ProtectedItemDeleteHeaders
|
|
347
|
+
},
|
|
348
|
+
201: {
|
|
349
|
+
headersMapper: Mappers.ProtectedItemDeleteHeaders
|
|
350
|
+
},
|
|
351
|
+
202: {
|
|
352
|
+
headersMapper: Mappers.ProtectedItemDeleteHeaders
|
|
353
|
+
},
|
|
354
|
+
204: {
|
|
355
|
+
headersMapper: Mappers.ProtectedItemDeleteHeaders
|
|
356
|
+
},
|
|
357
|
+
default: {
|
|
358
|
+
bodyMapper: Mappers.ErrorResponse
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
queryParameters: [Parameters.apiVersion, Parameters.forceDelete],
|
|
362
|
+
urlParameters: [
|
|
363
|
+
Parameters.$host,
|
|
364
|
+
Parameters.subscriptionId,
|
|
365
|
+
Parameters.resourceGroupName,
|
|
366
|
+
Parameters.vaultName,
|
|
367
|
+
Parameters.protectedItemName
|
|
368
|
+
],
|
|
369
|
+
headerParameters: [Parameters.accept],
|
|
370
|
+
serializer
|
|
371
|
+
};
|
|
372
|
+
const listOperationSpec = {
|
|
373
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems",
|
|
374
|
+
httpMethod: "GET",
|
|
375
|
+
responses: {
|
|
376
|
+
200: {
|
|
377
|
+
bodyMapper: Mappers.ProtectedItemModelCollection
|
|
378
|
+
},
|
|
379
|
+
default: {
|
|
380
|
+
bodyMapper: Mappers.ErrorResponse
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
queryParameters: [Parameters.apiVersion],
|
|
384
|
+
urlParameters: [
|
|
385
|
+
Parameters.$host,
|
|
386
|
+
Parameters.subscriptionId,
|
|
387
|
+
Parameters.resourceGroupName,
|
|
388
|
+
Parameters.vaultName
|
|
389
|
+
],
|
|
390
|
+
headerParameters: [Parameters.accept],
|
|
391
|
+
serializer
|
|
392
|
+
};
|
|
393
|
+
const plannedFailoverOperationSpec = {
|
|
394
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/plannedFailover",
|
|
395
|
+
httpMethod: "POST",
|
|
396
|
+
responses: {
|
|
397
|
+
200: {
|
|
398
|
+
bodyMapper: Mappers.PlannedFailoverModel
|
|
399
|
+
},
|
|
400
|
+
201: {
|
|
401
|
+
bodyMapper: Mappers.PlannedFailoverModel
|
|
402
|
+
},
|
|
403
|
+
202: {
|
|
404
|
+
bodyMapper: Mappers.PlannedFailoverModel
|
|
405
|
+
},
|
|
406
|
+
204: {
|
|
407
|
+
bodyMapper: Mappers.PlannedFailoverModel
|
|
408
|
+
},
|
|
409
|
+
default: {
|
|
410
|
+
bodyMapper: Mappers.ErrorResponse
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
requestBody: Parameters.body6,
|
|
414
|
+
queryParameters: [Parameters.apiVersion],
|
|
415
|
+
urlParameters: [
|
|
416
|
+
Parameters.$host,
|
|
417
|
+
Parameters.subscriptionId,
|
|
418
|
+
Parameters.resourceGroupName,
|
|
419
|
+
Parameters.vaultName,
|
|
420
|
+
Parameters.protectedItemName
|
|
421
|
+
],
|
|
422
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
423
|
+
mediaType: "json",
|
|
424
|
+
serializer
|
|
425
|
+
};
|
|
426
|
+
const listNextOperationSpec = {
|
|
427
|
+
path: "{nextLink}",
|
|
428
|
+
httpMethod: "GET",
|
|
429
|
+
responses: {
|
|
430
|
+
200: {
|
|
431
|
+
bodyMapper: Mappers.ProtectedItemModelCollection
|
|
432
|
+
},
|
|
433
|
+
default: {
|
|
434
|
+
bodyMapper: Mappers.ErrorResponse
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
urlParameters: [
|
|
438
|
+
Parameters.$host,
|
|
439
|
+
Parameters.subscriptionId,
|
|
440
|
+
Parameters.resourceGroupName,
|
|
441
|
+
Parameters.nextLink,
|
|
442
|
+
Parameters.vaultName
|
|
443
|
+
],
|
|
444
|
+
headerParameters: [Parameters.accept],
|
|
445
|
+
serializer
|
|
446
|
+
};
|
|
447
|
+
//# sourceMappingURL=protectedItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protectedItem.js","sourceRoot":"","sources":["../../../src/operations/protectedItem.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAiB9C,4CAA4C;AAC5C,iDAAiD;AACjD,MAAa,iBAA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,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ProtectedItem } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureSiteRecoveryManagementServiceAPI } from \"../azureSiteRecoveryManagementServiceAPI.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ProtectedItemModel,\n ProtectedItemListNextOptionalParams,\n ProtectedItemListOptionalParams,\n ProtectedItemListResponse,\n ProtectedItemGetOptionalParams,\n ProtectedItemGetResponse,\n ProtectedItemCreateOptionalParams,\n ProtectedItemCreateResponse,\n ProtectedItemDeleteOptionalParams,\n ProtectedItemDeleteResponse,\n ProtectedItemPlannedFailoverOptionalParams,\n ProtectedItemPlannedFailoverResponse,\n ProtectedItemListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ProtectedItem operations. */\nexport class ProtectedItemImpl implements ProtectedItem {\n private readonly client: AzureSiteRecoveryManagementServiceAPI;\n\n /**\n * Initialize a new instance of the class ProtectedItem class.\n * @param client Reference to the service client\n */\n constructor(client: AzureSiteRecoveryManagementServiceAPI) {\n this.client = client;\n }\n\n /**\n * Gets the list of protected items in the given vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n vaultName: string,\n options?: ProtectedItemListOptionalParams\n ): PagedAsyncIterableIterator<ProtectedItemModel> {\n const iter = this.listPagingAll(resourceGroupName, vaultName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n vaultName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n vaultName: string,\n options?: ProtectedItemListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ProtectedItemModel[]> {\n let result: ProtectedItemListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, vaultName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n vaultName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n vaultName: string,\n options?: ProtectedItemListOptionalParams\n ): AsyncIterableIterator<ProtectedItemModel> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n vaultName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the details of the protected item.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param protectedItemName The protected item name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vaultName: string,\n protectedItemName: string,\n options?: ProtectedItemGetOptionalParams\n ): Promise<ProtectedItemGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, protectedItemName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates the protected item.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param protectedItemName The protected item name.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n vaultName: string,\n protectedItemName: string,\n options?: ProtectedItemCreateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ProtectedItemCreateResponse>,\n ProtectedItemCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ProtectedItemCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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: { resourceGroupName, vaultName, protectedItemName, options },\n spec: createOperationSpec\n });\n const poller = await createHttpPoller<\n ProtectedItemCreateResponse,\n OperationState<ProtectedItemCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates the protected item.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param protectedItemName The protected item name.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n vaultName: string,\n protectedItemName: string,\n options?: ProtectedItemCreateOptionalParams\n ): Promise<ProtectedItemCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n vaultName,\n protectedItemName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Removes the protected item.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param protectedItemName The protected item name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n vaultName: string,\n protectedItemName: string,\n options?: ProtectedItemDeleteOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ProtectedItemDeleteResponse>,\n ProtectedItemDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ProtectedItemDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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: { resourceGroupName, vaultName, protectedItemName, options },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<\n ProtectedItemDeleteResponse,\n OperationState<ProtectedItemDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Removes the protected item.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param protectedItemName The protected item name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n vaultName: string,\n protectedItemName: string,\n options?: ProtectedItemDeleteOptionalParams\n ): Promise<ProtectedItemDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n vaultName,\n protectedItemName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the list of protected items in the given vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n vaultName: string,\n options?: ProtectedItemListOptionalParams\n ): Promise<ProtectedItemListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, options },\n listOperationSpec\n );\n }\n\n /**\n * Performs the planned failover on the protected item.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param protectedItemName The protected item name.\n * @param options The options parameters.\n */\n async beginPlannedFailover(\n resourceGroupName: string,\n vaultName: string,\n protectedItemName: string,\n options?: ProtectedItemPlannedFailoverOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ProtectedItemPlannedFailoverResponse>,\n ProtectedItemPlannedFailoverResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ProtectedItemPlannedFailoverResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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: { resourceGroupName, vaultName, protectedItemName, options },\n spec: plannedFailoverOperationSpec\n });\n const poller = await createHttpPoller<\n ProtectedItemPlannedFailoverResponse,\n OperationState<ProtectedItemPlannedFailoverResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Performs the planned failover on the protected item.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param protectedItemName The protected item name.\n * @param options The options parameters.\n */\n async beginPlannedFailoverAndWait(\n resourceGroupName: string,\n vaultName: string,\n protectedItemName: string,\n options?: ProtectedItemPlannedFailoverOptionalParams\n ): Promise<ProtectedItemPlannedFailoverResponse> {\n const poller = await this.beginPlannedFailover(\n resourceGroupName,\n vaultName,\n protectedItemName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n vaultName: string,\n nextLink: string,\n options?: ProtectedItemListNextOptionalParams\n ): Promise<ProtectedItemListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectedItemModel\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.protectedItemName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectedItemModel\n },\n 201: {\n bodyMapper: Mappers.ProtectedItemModel\n },\n 202: {\n bodyMapper: Mappers.ProtectedItemModel\n },\n 204: {\n bodyMapper: Mappers.ProtectedItemModel\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.protectedItemName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ProtectedItemDeleteHeaders\n },\n 201: {\n headersMapper: Mappers.ProtectedItemDeleteHeaders\n },\n 202: {\n headersMapper: Mappers.ProtectedItemDeleteHeaders\n },\n 204: {\n headersMapper: Mappers.ProtectedItemDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.forceDelete],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.protectedItemName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectedItemModelCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst plannedFailoverOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/plannedFailover\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PlannedFailoverModel\n },\n 201: {\n bodyMapper: Mappers.PlannedFailoverModel\n },\n 202: {\n bodyMapper: Mappers.PlannedFailoverModel\n },\n 204: {\n bodyMapper: Mappers.PlannedFailoverModel\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.protectedItemName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectedItemModelCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.vaultName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ProtectedItemOperationStatus } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { AzureSiteRecoveryManagementServiceAPI } from "../azureSiteRecoveryManagementServiceAPI.js";
|
|
3
|
+
import { ProtectedItemOperationStatusGetOptionalParams, ProtectedItemOperationStatusGetResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing ProtectedItemOperationStatus operations. */
|
|
5
|
+
export declare class ProtectedItemOperationStatusImpl implements ProtectedItemOperationStatus {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class ProtectedItemOperationStatus class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: AzureSiteRecoveryManagementServiceAPI);
|
|
12
|
+
/**
|
|
13
|
+
* Tracks the results of an asynchronous operation on the protected item.
|
|
14
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
15
|
+
* @param vaultName The vault name.
|
|
16
|
+
* @param protectedItemName The protected item name.
|
|
17
|
+
* @param operationId The ID of an ongoing async operation.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
get(resourceGroupName: string, vaultName: string, protectedItemName: string, operationId: string, options?: ProtectedItemOperationStatusGetOptionalParams): Promise<ProtectedItemOperationStatusGetResponse>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=protectedItemOperationStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protectedItemOperationStatus.d.ts","sourceRoot":"","sources":["../../../src/operations/protectedItemOperationStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAIhF,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AACpG,OAAO,EACL,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAE5B,gEAAgE;AAChE,qBAAa,gCACX,YAAW,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwC;IAE/D;;;OAGG;gBACS,MAAM,EAAE,qCAAqC;IAIzD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;CAMpD"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ProtectedItemOperationStatusImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
+
/** Class containing ProtectedItemOperationStatus operations. */
|
|
16
|
+
class ProtectedItemOperationStatusImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class ProtectedItemOperationStatus class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Tracks the results of an asynchronous operation on the protected item.
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param vaultName The vault name.
|
|
28
|
+
* @param protectedItemName The protected item name.
|
|
29
|
+
* @param operationId The ID of an ongoing async operation.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
get(resourceGroupName, vaultName, protectedItemName, operationId, options) {
|
|
33
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, protectedItemName, operationId, options }, getOperationSpec);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ProtectedItemOperationStatusImpl = ProtectedItemOperationStatusImpl;
|
|
37
|
+
// Operation Specifications
|
|
38
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
39
|
+
const getOperationSpec = {
|
|
40
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/operations/{operationId}",
|
|
41
|
+
httpMethod: "GET",
|
|
42
|
+
responses: {
|
|
43
|
+
200: {
|
|
44
|
+
bodyMapper: Mappers.OperationStatus
|
|
45
|
+
},
|
|
46
|
+
default: {
|
|
47
|
+
bodyMapper: Mappers.ErrorResponse
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
queryParameters: [Parameters.apiVersion],
|
|
51
|
+
urlParameters: [
|
|
52
|
+
Parameters.$host,
|
|
53
|
+
Parameters.subscriptionId,
|
|
54
|
+
Parameters.resourceGroupName,
|
|
55
|
+
Parameters.operationId,
|
|
56
|
+
Parameters.vaultName,
|
|
57
|
+
Parameters.protectedItemName
|
|
58
|
+
],
|
|
59
|
+
headerParameters: [Parameters.accept],
|
|
60
|
+
serializer
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=protectedItemOperationStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protectedItemOperationStatus.js","sourceRoot":"","sources":["../../../src/operations/protectedItemOperationStatus.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,gEAAgE;AAChE,MAAa,gCAAgC;IAI3C;;;OAGG;IACH,YAAY,MAA6C;QACvD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,iBAAyB,EACzB,SAAiB,EACjB,iBAAyB,EACzB,WAAmB,EACnB,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EACzE,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AAhCD,4EAgCC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,kMAAkM;IACpM,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,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 { ProtectedItemOperationStatus } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureSiteRecoveryManagementServiceAPI } from \"../azureSiteRecoveryManagementServiceAPI.js\";\nimport {\n ProtectedItemOperationStatusGetOptionalParams,\n ProtectedItemOperationStatusGetResponse\n} from \"../models/index.js\";\n\n/** Class containing ProtectedItemOperationStatus operations. */\nexport class ProtectedItemOperationStatusImpl\n implements ProtectedItemOperationStatus {\n private readonly client: AzureSiteRecoveryManagementServiceAPI;\n\n /**\n * Initialize a new instance of the class ProtectedItemOperationStatus class.\n * @param client Reference to the service client\n */\n constructor(client: AzureSiteRecoveryManagementServiceAPI) {\n this.client = client;\n }\n\n /**\n * Tracks the results of an asynchronous operation on the protected item.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The vault name.\n * @param protectedItemName The protected item name.\n * @param operationId The ID of an ongoing async operation.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vaultName: string,\n protectedItemName: string,\n operationId: string,\n options?: ProtectedItemOperationStatusGetOptionalParams\n ): Promise<ProtectedItemOperationStatusGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, protectedItemName, operationId, options },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/operations/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.operationId,\n Parameters.vaultName,\n Parameters.protectedItemName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|