@azure/arm-recoveryservicesbackup 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/index.js +113 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +55 -6
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +12 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +4 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +97 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.js +2 -2
- package/package.json +19 -7
- package/review/arm-recoveryservicesbackup.api.md +47 -2
- package/src/models/index.ts +62 -6
- package/src/models/mappers.ts +107 -0
- package/src/models/parameters.ts +1 -1
- package/src/recoveryServicesBackupClient.ts +2 -2
- package/tsconfig.json +17 -5
- package/types/arm-recoveryservicesbackup.d.ts +60 -6
- package/dist-esm/samples-dev/azureVMDiscoveryOperationResult.d.ts +0 -2
- package/dist-esm/samples-dev/azureVMDiscoveryOperationResult.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureVMDiscoveryOperationResult.js +0 -33
- package/dist-esm/samples-dev/azureVMDiscoveryOperationResult.js.map +0 -1
- package/dist-esm/samples-dev/cancelJob.d.ts +0 -2
- package/dist-esm/samples-dev/cancelJob.d.ts.map +0 -1
- package/dist-esm/samples-dev/cancelJob.js +0 -34
- package/dist-esm/samples-dev/cancelJob.js.map +0 -1
- package/dist-esm/samples-dev/cancelJobOperationResult.d.ts +0 -2
- package/dist-esm/samples-dev/cancelJobOperationResult.d.ts.map +0 -1
- package/dist-esm/samples-dev/cancelJobOperationResult.js +0 -33
- package/dist-esm/samples-dev/cancelJobOperationResult.js.map +0 -1
- package/dist-esm/samples-dev/checkAzureVMBackupFeatureSupport.d.ts +0 -2
- package/dist-esm/samples-dev/checkAzureVMBackupFeatureSupport.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkAzureVMBackupFeatureSupport.js +0 -35
- package/dist-esm/samples-dev/checkAzureVMBackupFeatureSupport.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAzureVMProtectionIntent.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateAzureVMProtectionIntent.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateAzureVMProtectionIntent.js +0 -40
- package/dist-esm/samples-dev/createOrUpdateAzureVMProtectionIntent.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateDailyAzureStorageProtectionPolicy.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateDailyAzureStorageProtectionPolicy.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateDailyAzureStorageProtectionPolicy.js +0 -79
- package/dist-esm/samples-dev/createOrUpdateDailyAzureStorageProtectionPolicy.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateFullAzureVMProtectionPolicy.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateFullAzureVMProtectionPolicy.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateFullAzureVMProtectionPolicy.js +0 -73
- package/dist-esm/samples-dev/createOrUpdateFullAzureVMProtectionPolicy.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateFullAzureWorkloadProtectionPolicy.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateFullAzureWorkloadProtectionPolicy.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateFullAzureWorkloadProtectionPolicy.js +0 -103
- package/dist-esm/samples-dev/createOrUpdateFullAzureWorkloadProtectionPolicy.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateHourlyAzureStorageProtectionPolicy.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateHourlyAzureStorageProtectionPolicy.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateHourlyAzureStorageProtectionPolicy.js +0 -83
- package/dist-esm/samples-dev/createOrUpdateHourlyAzureStorageProtectionPolicy.js.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateSimpleAzureVMProtectionPolicy.d.ts +0 -2
- package/dist-esm/samples-dev/createOrUpdateSimpleAzureVMProtectionPolicy.d.ts.map +0 -1
- package/dist-esm/samples-dev/createOrUpdateSimpleAzureVMProtectionPolicy.js +0 -52
- package/dist-esm/samples-dev/createOrUpdateSimpleAzureVMProtectionPolicy.js.map +0 -1
- package/dist-esm/samples-dev/createResourceGuardProxy.d.ts +0 -2
- package/dist-esm/samples-dev/createResourceGuardProxy.d.ts.map +0 -1
- package/dist-esm/samples-dev/createResourceGuardProxy.js +0 -34
- package/dist-esm/samples-dev/createResourceGuardProxy.js.map +0 -1
- package/dist-esm/samples-dev/deleteAzureVMProtectionPolicy.d.ts +0 -2
- package/dist-esm/samples-dev/deleteAzureVMProtectionPolicy.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteAzureVMProtectionPolicy.js +0 -34
- package/dist-esm/samples-dev/deleteAzureVMProtectionPolicy.js.map +0 -1
- package/dist-esm/samples-dev/deletePrivateEndpointConnection.d.ts +0 -2
- package/dist-esm/samples-dev/deletePrivateEndpointConnection.d.ts.map +0 -1
- package/dist-esm/samples-dev/deletePrivateEndpointConnection.js +0 -32
- package/dist-esm/samples-dev/deletePrivateEndpointConnection.js.map +0 -1
- package/dist-esm/samples-dev/deleteProtectionFromAzureVirtualMachine.d.ts +0 -2
- package/dist-esm/samples-dev/deleteProtectionFromAzureVirtualMachine.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteProtectionFromAzureVirtualMachine.js +0 -36
- package/dist-esm/samples-dev/deleteProtectionFromAzureVirtualMachine.js.map +0 -1
- package/dist-esm/samples-dev/deleteProtectionIntentFromItem.d.ts +0 -2
- package/dist-esm/samples-dev/deleteProtectionIntentFromItem.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteProtectionIntentFromItem.js +0 -33
- package/dist-esm/samples-dev/deleteProtectionIntentFromItem.js.map +0 -1
- package/dist-esm/samples-dev/deleteResourceGuardProxy.d.ts +0 -2
- package/dist-esm/samples-dev/deleteResourceGuardProxy.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteResourceGuardProxy.js +0 -32
- package/dist-esm/samples-dev/deleteResourceGuardProxy.js.map +0 -1
- package/dist-esm/samples-dev/enableProtectionOnAzureIaasVM.d.ts +0 -2
- package/dist-esm/samples-dev/enableProtectionOnAzureIaasVM.d.ts.map +0 -1
- package/dist-esm/samples-dev/enableProtectionOnAzureIaasVM.js +0 -43
- package/dist-esm/samples-dev/enableProtectionOnAzureIaasVM.js.map +0 -1
- package/dist-esm/samples-dev/exportJobs.d.ts +0 -2
- package/dist-esm/samples-dev/exportJobs.d.ts.map +0 -1
- package/dist-esm/samples-dev/exportJobs.js +0 -31
- package/dist-esm/samples-dev/exportJobs.js.map +0 -1
- package/dist-esm/samples-dev/exportJobsOperationResults.d.ts +0 -2
- package/dist-esm/samples-dev/exportJobsOperationResults.d.ts.map +0 -1
- package/dist-esm/samples-dev/exportJobsOperationResults.js +0 -34
- package/dist-esm/samples-dev/exportJobsOperationResults.js.map +0 -1
- package/dist-esm/samples-dev/getAzureIaasVMProtectionPolicyDetails.d.ts +0 -2
- package/dist-esm/samples-dev/getAzureIaasVMProtectionPolicyDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAzureIaasVMProtectionPolicyDetails.js +0 -34
- package/dist-esm/samples-dev/getAzureIaasVMProtectionPolicyDetails.js.map +0 -1
- package/dist-esm/samples-dev/getAzureStorageProtectionContainerOperationResult.d.ts +0 -2
- package/dist-esm/samples-dev/getAzureStorageProtectionContainerOperationResult.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAzureStorageProtectionContainerOperationResult.js +0 -34
- package/dist-esm/samples-dev/getAzureStorageProtectionContainerOperationResult.js.map +0 -1
- package/dist-esm/samples-dev/getAzureVMRecoveryPointDetails.d.ts +0 -2
- package/dist-esm/samples-dev/getAzureVMRecoveryPointDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAzureVMRecoveryPointDetails.js +0 -37
- package/dist-esm/samples-dev/getAzureVMRecoveryPointDetails.js.map +0 -1
- package/dist-esm/samples-dev/getAzureVirtualMachineBackupStatus.d.ts +0 -2
- package/dist-esm/samples-dev/getAzureVirtualMachineBackupStatus.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAzureVirtualMachineBackupStatus.js +0 -34
- package/dist-esm/samples-dev/getAzureVirtualMachineBackupStatus.js.map +0 -1
- package/dist-esm/samples-dev/getDpmOrAzureBackupServerOrLajollaBackupEngineDetails.d.ts +0 -2
- package/dist-esm/samples-dev/getDpmOrAzureBackupServerOrLajollaBackupEngineDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/getDpmOrAzureBackupServerOrLajollaBackupEngineDetails.js +0 -32
- package/dist-esm/samples-dev/getDpmOrAzureBackupServerOrLajollaBackupEngineDetails.js.map +0 -1
- package/dist-esm/samples-dev/getJobDetails.d.ts +0 -2
- package/dist-esm/samples-dev/getJobDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/getJobDetails.js +0 -32
- package/dist-esm/samples-dev/getJobDetails.js.map +0 -1
- package/dist-esm/samples-dev/getOperationResultForPrepareDataMove.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationResultForPrepareDataMove.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationResultForPrepareDataMove.js +0 -32
- package/dist-esm/samples-dev/getOperationResultForPrepareDataMove.js.map +0 -1
- package/dist-esm/samples-dev/getOperationResultsOfProtectedVM.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationResultsOfProtectedVM.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationResultsOfProtectedVM.js +0 -35
- package/dist-esm/samples-dev/getOperationResultsOfProtectedVM.js.map +0 -1
- package/dist-esm/samples-dev/getOperationResultsOfValidateOperation.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationResultsOfValidateOperation.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationResultsOfValidateOperation.js +0 -32
- package/dist-esm/samples-dev/getOperationResultsOfValidateOperation.js.map +0 -1
- package/dist-esm/samples-dev/getOperationStatus.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationStatus.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationStatus.js +0 -32
- package/dist-esm/samples-dev/getOperationStatus.js.map +0 -1
- package/dist-esm/samples-dev/getOperationStatusOfProtectedVM.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationStatusOfProtectedVM.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationStatusOfProtectedVM.js +0 -39
- package/dist-esm/samples-dev/getOperationStatusOfProtectedVM.js.map +0 -1
- package/dist-esm/samples-dev/getOperationStatusOfValidateOperation.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationStatusOfValidateOperation.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationStatusOfValidateOperation.js +0 -36
- package/dist-esm/samples-dev/getOperationStatusOfValidateOperation.js.map +0 -1
- package/dist-esm/samples-dev/getPrivateEndpointConnection.d.ts +0 -2
- package/dist-esm/samples-dev/getPrivateEndpointConnection.d.ts.map +0 -1
- package/dist-esm/samples-dev/getPrivateEndpointConnection.js +0 -32
- package/dist-esm/samples-dev/getPrivateEndpointConnection.js.map +0 -1
- package/dist-esm/samples-dev/getProtectedAzureVMRecoveryPoints.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectedAzureVMRecoveryPoints.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectedAzureVMRecoveryPoints.js +0 -48
- package/dist-esm/samples-dev/getProtectedAzureVMRecoveryPoints.js.map +0 -1
- package/dist-esm/samples-dev/getProtectedAzureVMRecoveryPointsRecommendedForMove.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectedAzureVMRecoveryPointsRecommendedForMove.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectedAzureVMRecoveryPointsRecommendedForMove.js +0 -52
- package/dist-esm/samples-dev/getProtectedAzureVMRecoveryPointsRecommendedForMove.js.map +0 -1
- package/dist-esm/samples-dev/getProtectedClassicVirtualMachineDetails.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectedClassicVirtualMachineDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectedClassicVirtualMachineDetails.js +0 -36
- package/dist-esm/samples-dev/getProtectedClassicVirtualMachineDetails.js.map +0 -1
- package/dist-esm/samples-dev/getProtectedContainersUsagesSummary.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectedContainersUsagesSummary.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectedContainersUsagesSummary.js +0 -47
- package/dist-esm/samples-dev/getProtectedContainersUsagesSummary.js.map +0 -1
- package/dist-esm/samples-dev/getProtectedItemDeleteOperationStatus.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectedItemDeleteOperationStatus.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectedItemDeleteOperationStatus.js +0 -36
- package/dist-esm/samples-dev/getProtectedItemDeleteOperationStatus.js.map +0 -1
- package/dist-esm/samples-dev/getProtectedItemsUsagesSummary.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectedItemsUsagesSummary.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectedItemsUsagesSummary.js +0 -47
- package/dist-esm/samples-dev/getProtectedItemsUsagesSummary.js.map +0 -1
- package/dist-esm/samples-dev/getProtectedVirtualMachineDetails.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectedVirtualMachineDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectedVirtualMachineDetails.js +0 -36
- package/dist-esm/samples-dev/getProtectedVirtualMachineDetails.js.map +0 -1
- package/dist-esm/samples-dev/getProtectionContainerDetails.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectionContainerDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectionContainerDetails.js +0 -33
- package/dist-esm/samples-dev/getProtectionContainerDetails.js.map +0 -1
- package/dist-esm/samples-dev/getProtectionIntentForAnItem.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectionIntentForAnItem.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectionIntentForAnItem.js +0 -35
- package/dist-esm/samples-dev/getProtectionIntentForAnItem.js.map +0 -1
- package/dist-esm/samples-dev/getProtectionPolicyOperationResults.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectionPolicyOperationResults.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectionPolicyOperationResults.js +0 -33
- package/dist-esm/samples-dev/getProtectionPolicyOperationResults.js.map +0 -1
- package/dist-esm/samples-dev/getProtectionPolicyOperationStatus.d.ts +0 -2
- package/dist-esm/samples-dev/getProtectionPolicyOperationStatus.d.ts.map +0 -1
- package/dist-esm/samples-dev/getProtectionPolicyOperationStatus.js +0 -37
- package/dist-esm/samples-dev/getProtectionPolicyOperationStatus.js.map +0 -1
- package/dist-esm/samples-dev/getResourceGuardProxy.d.ts +0 -2
- package/dist-esm/samples-dev/getResourceGuardProxy.d.ts.map +0 -1
- package/dist-esm/samples-dev/getResourceGuardProxy.js +0 -32
- package/dist-esm/samples-dev/getResourceGuardProxy.js.map +0 -1
- package/dist-esm/samples-dev/getResultForProtectedItemDeleteOperation.d.ts +0 -2
- package/dist-esm/samples-dev/getResultForProtectedItemDeleteOperation.d.ts.map +0 -1
- package/dist-esm/samples-dev/getResultForProtectedItemDeleteOperation.js +0 -38
- package/dist-esm/samples-dev/getResultForProtectedItemDeleteOperation.js.map +0 -1
- package/dist-esm/samples-dev/getVaultEncryptionConfiguration.d.ts +0 -2
- package/dist-esm/samples-dev/getVaultEncryptionConfiguration.d.ts.map +0 -1
- package/dist-esm/samples-dev/getVaultEncryptionConfiguration.js +0 -31
- package/dist-esm/samples-dev/getVaultEncryptionConfiguration.js.map +0 -1
- package/dist-esm/samples-dev/getVaultGuardProxies.d.ts +0 -2
- package/dist-esm/samples-dev/getVaultGuardProxies.d.ts.map +0 -1
- package/dist-esm/samples-dev/getVaultGuardProxies.js +0 -45
- package/dist-esm/samples-dev/getVaultGuardProxies.js.map +0 -1
- package/dist-esm/samples-dev/getVaultSecurityConfig.d.ts +0 -2
- package/dist-esm/samples-dev/getVaultSecurityConfig.d.ts.map +0 -1
- package/dist-esm/samples-dev/getVaultSecurityConfig.js +0 -31
- package/dist-esm/samples-dev/getVaultSecurityConfig.js.map +0 -1
- package/dist-esm/samples-dev/getVaultSecurityPin.d.ts +0 -2
- package/dist-esm/samples-dev/getVaultSecurityPin.d.ts.map +0 -1
- package/dist-esm/samples-dev/getVaultSecurityPin.js +0 -31
- package/dist-esm/samples-dev/getVaultSecurityPin.js.map +0 -1
- package/dist-esm/samples-dev/getVaultStorageConfiguration.d.ts +0 -2
- package/dist-esm/samples-dev/getVaultStorageConfiguration.d.ts.map +0 -1
- package/dist-esm/samples-dev/getVaultStorageConfiguration.js +0 -31
- package/dist-esm/samples-dev/getVaultStorageConfiguration.js.map +0 -1
- package/dist-esm/samples-dev/inquireAzureStorageProtectionContainers.d.ts +0 -2
- package/dist-esm/samples-dev/inquireAzureStorageProtectionContainers.d.ts.map +0 -1
- package/dist-esm/samples-dev/inquireAzureStorageProtectionContainers.js +0 -33
- package/dist-esm/samples-dev/inquireAzureStorageProtectionContainers.js.map +0 -1
- package/dist-esm/samples-dev/listAllJobs.d.ts +0 -2
- package/dist-esm/samples-dev/listAllJobs.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAllJobs.js +0 -45
- package/dist-esm/samples-dev/listAllJobs.js.map +0 -1
- package/dist-esm/samples-dev/listBackupProtectionContainers.d.ts +0 -2
- package/dist-esm/samples-dev/listBackupProtectionContainers.d.ts.map +0 -1
- package/dist-esm/samples-dev/listBackupProtectionContainers.js +0 -47
- package/dist-esm/samples-dev/listBackupProtectionContainers.js.map +0 -1
- package/dist-esm/samples-dev/listDpmOrAzureBackupServerOrLajollaBackupEngines.d.ts +0 -2
- package/dist-esm/samples-dev/listDpmOrAzureBackupServerOrLajollaBackupEngines.d.ts.map +0 -1
- package/dist-esm/samples-dev/listDpmOrAzureBackupServerOrLajollaBackupEngines.js +0 -45
- package/dist-esm/samples-dev/listDpmOrAzureBackupServerOrLajollaBackupEngines.js.map +0 -1
- package/dist-esm/samples-dev/listJobsWithFilters.d.ts +0 -2
- package/dist-esm/samples-dev/listJobsWithFilters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listJobsWithFilters.js +0 -47
- package/dist-esm/samples-dev/listJobsWithFilters.js.map +0 -1
- package/dist-esm/samples-dev/listJobsWithTimeFilter.d.ts +0 -2
- package/dist-esm/samples-dev/listJobsWithTimeFilter.d.ts.map +0 -1
- package/dist-esm/samples-dev/listJobsWithTimeFilter.js +0 -47
- package/dist-esm/samples-dev/listJobsWithTimeFilter.js.map +0 -1
- package/dist-esm/samples-dev/listOperations.d.ts +0 -2
- package/dist-esm/samples-dev/listOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperations.js +0 -43
- package/dist-esm/samples-dev/listOperations.js.map +0 -1
- package/dist-esm/samples-dev/listProtectableItemsWithBackupManagementTypeFilterAsAzureIaasVM.d.ts +0 -2
- package/dist-esm/samples-dev/listProtectableItemsWithBackupManagementTypeFilterAsAzureIaasVM.d.ts.map +0 -1
- package/dist-esm/samples-dev/listProtectableItemsWithBackupManagementTypeFilterAsAzureIaasVM.js +0 -49
- package/dist-esm/samples-dev/listProtectableItemsWithBackupManagementTypeFilterAsAzureIaasVM.js.map +0 -1
- package/dist-esm/samples-dev/listProtectableItemsWithBackupManagementTypeFilterAsAzureStorage.d.ts +0 -2
- package/dist-esm/samples-dev/listProtectableItemsWithBackupManagementTypeFilterAsAzureStorage.d.ts.map +0 -1
- package/dist-esm/samples-dev/listProtectableItemsWithBackupManagementTypeFilterAsAzureStorage.js +0 -48
- package/dist-esm/samples-dev/listProtectableItemsWithBackupManagementTypeFilterAsAzureStorage.js.map +0 -1
- package/dist-esm/samples-dev/listProtectedItemsWithBackupManagementTypeFilterAsAzureIaasVM.d.ts +0 -2
- package/dist-esm/samples-dev/listProtectedItemsWithBackupManagementTypeFilterAsAzureIaasVM.d.ts.map +0 -1
- package/dist-esm/samples-dev/listProtectedItemsWithBackupManagementTypeFilterAsAzureIaasVM.js +0 -47
- package/dist-esm/samples-dev/listProtectedItemsWithBackupManagementTypeFilterAsAzureIaasVM.js.map +0 -1
- package/dist-esm/samples-dev/listProtectionIntentWithBackupManagementTypeFilter.d.ts +0 -2
- package/dist-esm/samples-dev/listProtectionIntentWithBackupManagementTypeFilter.d.ts.map +0 -1
- package/dist-esm/samples-dev/listProtectionIntentWithBackupManagementTypeFilter.js +0 -45
- package/dist-esm/samples-dev/listProtectionIntentWithBackupManagementTypeFilter.js.map +0 -1
- package/dist-esm/samples-dev/listProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVM.d.ts +0 -2
- package/dist-esm/samples-dev/listProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVM.d.ts.map +0 -1
- package/dist-esm/samples-dev/listProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVM.js +0 -49
- package/dist-esm/samples-dev/listProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVM.js.map +0 -1
- package/dist-esm/samples-dev/listProtectionPoliciesWithBackupManagementTypeFilterAsAzureWorkload.d.ts +0 -2
- package/dist-esm/samples-dev/listProtectionPoliciesWithBackupManagementTypeFilterAsAzureWorkload.d.ts.map +0 -1
- package/dist-esm/samples-dev/listProtectionPoliciesWithBackupManagementTypeFilterAsAzureWorkload.js +0 -49
- package/dist-esm/samples-dev/listProtectionPoliciesWithBackupManagementTypeFilterAsAzureWorkload.js.map +0 -1
- package/dist-esm/samples-dev/listWorkloadItemsInContainer.d.ts +0 -2
- package/dist-esm/samples-dev/listWorkloadItemsInContainer.d.ts.map +0 -1
- package/dist-esm/samples-dev/listWorkloadItemsInContainer.js +0 -51
- package/dist-esm/samples-dev/listWorkloadItemsInContainer.js.map +0 -1
- package/dist-esm/samples-dev/prepareDataMove.d.ts +0 -2
- package/dist-esm/samples-dev/prepareDataMove.d.ts.map +0 -1
- package/dist-esm/samples-dev/prepareDataMove.js +0 -36
- package/dist-esm/samples-dev/prepareDataMove.js.map +0 -1
- package/dist-esm/samples-dev/provisionInstantItemLevelRecoveryForAzureVM.d.ts +0 -2
- package/dist-esm/samples-dev/provisionInstantItemLevelRecoveryForAzureVM.d.ts.map +0 -1
- package/dist-esm/samples-dev/provisionInstantItemLevelRecoveryForAzureVM.js +0 -48
- package/dist-esm/samples-dev/provisionInstantItemLevelRecoveryForAzureVM.js.map +0 -1
- package/dist-esm/samples-dev/registerAzureStorageProtectionContainers.d.ts +0 -2
- package/dist-esm/samples-dev/registerAzureStorageProtectionContainers.d.ts.map +0 -1
- package/dist-esm/samples-dev/registerAzureStorageProtectionContainers.js +0 -46
- package/dist-esm/samples-dev/registerAzureStorageProtectionContainers.js.map +0 -1
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreRequest.d.ts +0 -2
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreRequest.d.ts.map +0 -1
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreRequest.js +0 -54
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreRequest.js.map +0 -1
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails.d.ts +0 -2
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails.js +0 -56
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails.js.map +0 -1
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreWithRehydrationRequest.d.ts +0 -2
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreWithRehydrationRequest.d.ts.map +0 -1
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreWithRehydrationRequest.js +0 -54
- package/dist-esm/samples-dev/restoreDisksWithIaasVMRestoreWithRehydrationRequest.js.map +0 -1
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreRequest.d.ts +0 -2
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreRequest.d.ts.map +0 -1
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreRequest.js +0 -55
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreRequest.js.map +0 -1
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails.d.ts +0 -2
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails.js +0 -57
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails.js.map +0 -1
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreWithRehydrationRequest.d.ts +0 -2
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreWithRehydrationRequest.d.ts.map +0 -1
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreWithRehydrationRequest.js +0 -58
- package/dist-esm/samples-dev/restoreToNewAzureIaasVMWithIaasVMRestoreWithRehydrationRequest.js.map +0 -1
- package/dist-esm/samples-dev/revokeInstantItemLevelRecoveryForAzureVM.d.ts +0 -2
- package/dist-esm/samples-dev/revokeInstantItemLevelRecoveryForAzureVM.d.ts.map +0 -1
- package/dist-esm/samples-dev/revokeInstantItemLevelRecoveryForAzureVM.js +0 -37
- package/dist-esm/samples-dev/revokeInstantItemLevelRecoveryForAzureVM.js.map +0 -1
- package/dist-esm/samples-dev/stopProtectionWithRetainDataOnAzureIaasVM.d.ts +0 -2
- package/dist-esm/samples-dev/stopProtectionWithRetainDataOnAzureIaasVM.d.ts.map +0 -1
- package/dist-esm/samples-dev/stopProtectionWithRetainDataOnAzureIaasVM.js +0 -43
- package/dist-esm/samples-dev/stopProtectionWithRetainDataOnAzureIaasVM.js.map +0 -1
- package/dist-esm/samples-dev/triggerAzureVMDiscovery.d.ts +0 -2
- package/dist-esm/samples-dev/triggerAzureVMDiscovery.d.ts.map +0 -1
- package/dist-esm/samples-dev/triggerAzureVMDiscovery.js +0 -34
- package/dist-esm/samples-dev/triggerAzureVMDiscovery.js.map +0 -1
- package/dist-esm/samples-dev/triggerBackup.d.ts +0 -2
- package/dist-esm/samples-dev/triggerBackup.d.ts.map +0 -1
- package/dist-esm/samples-dev/triggerBackup.js +0 -39
- package/dist-esm/samples-dev/triggerBackup.js.map +0 -1
- package/dist-esm/samples-dev/triggerDataMove.d.ts +0 -2
- package/dist-esm/samples-dev/triggerDataMove.d.ts.map +0 -1
- package/dist-esm/samples-dev/triggerDataMove.js +0 -37
- package/dist-esm/samples-dev/triggerDataMove.js.map +0 -1
- package/dist-esm/samples-dev/triggerRpMoveOperation.d.ts +0 -2
- package/dist-esm/samples-dev/triggerRpMoveOperation.d.ts.map +0 -1
- package/dist-esm/samples-dev/triggerRpMoveOperation.js +0 -40
- package/dist-esm/samples-dev/triggerRpMoveOperation.js.map +0 -1
- package/dist-esm/samples-dev/triggerValidateOperation.d.ts +0 -2
- package/dist-esm/samples-dev/triggerValidateOperation.d.ts.map +0 -1
- package/dist-esm/samples-dev/triggerValidateOperation.js +0 -49
- package/dist-esm/samples-dev/triggerValidateOperation.js.map +0 -1
- package/dist-esm/samples-dev/unlockDeleteResourceGuardProxy.d.ts +0 -2
- package/dist-esm/samples-dev/unlockDeleteResourceGuardProxy.d.ts.map +0 -1
- package/dist-esm/samples-dev/unlockDeleteResourceGuardProxy.js +0 -38
- package/dist-esm/samples-dev/unlockDeleteResourceGuardProxy.js.map +0 -1
- package/dist-esm/samples-dev/unregisterProtectionContainer.d.ts +0 -2
- package/dist-esm/samples-dev/unregisterProtectionContainer.d.ts.map +0 -1
- package/dist-esm/samples-dev/unregisterProtectionContainer.js +0 -35
- package/dist-esm/samples-dev/unregisterProtectionContainer.js.map +0 -1
- package/dist-esm/samples-dev/updatePrivateEndpointConnection.d.ts +0 -2
- package/dist-esm/samples-dev/updatePrivateEndpointConnection.d.ts.map +0 -1
- package/dist-esm/samples-dev/updatePrivateEndpointConnection.js +0 -44
- package/dist-esm/samples-dev/updatePrivateEndpointConnection.js.map +0 -1
- package/dist-esm/samples-dev/updateVaultEncryptionConfiguration.d.ts +0 -2
- package/dist-esm/samples-dev/updateVaultEncryptionConfiguration.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateVaultEncryptionConfiguration.js +0 -39
- package/dist-esm/samples-dev/updateVaultEncryptionConfiguration.js.map +0 -1
- package/dist-esm/samples-dev/updateVaultSecurityConfig.d.ts +0 -2
- package/dist-esm/samples-dev/updateVaultSecurityConfig.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateVaultSecurityConfig.js +0 -37
- package/dist-esm/samples-dev/updateVaultSecurityConfig.js.map +0 -1
- package/dist-esm/samples-dev/updateVaultStorageConfiguration.d.ts +0 -2
- package/dist-esm/samples-dev/updateVaultStorageConfiguration.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateVaultStorageConfiguration.js +0 -37
- package/dist-esm/samples-dev/updateVaultStorageConfiguration.js.map +0 -1
- package/dist-esm/samples-dev/validateEnableProtectionOnAzureVM.d.ts +0 -2
- package/dist-esm/samples-dev/validateEnableProtectionOnAzureVM.d.ts.map +0 -1
- package/dist-esm/samples-dev/validateEnableProtectionOnAzureVM.js +0 -42
- package/dist-esm/samples-dev/validateEnableProtectionOnAzureVM.js.map +0 -1
- package/dist-esm/samples-dev/validateOperation.d.ts +0 -2
- package/dist-esm/samples-dev/validateOperation.d.ts.map +0 -1
- package/dist-esm/samples-dev/validateOperation.js +0 -49
- package/dist-esm/samples-dev/validateOperation.js.map +0 -1
- package/dist-esm/samples-dev/validateOperationWithIdentityBasedRestoreDetails.d.ts +0 -2
- package/dist-esm/samples-dev/validateOperationWithIdentityBasedRestoreDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/validateOperationWithIdentityBasedRestoreDetails.js +0 -51
- package/dist-esm/samples-dev/validateOperationWithIdentityBasedRestoreDetails.js.map +0 -1
|
@@ -34,7 +34,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
34
34
|
requestContentType: "application/json; charset=utf-8",
|
|
35
35
|
credential: credentials
|
|
36
36
|
};
|
|
37
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/8.
|
|
37
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/8.1.0`;
|
|
38
38
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
39
39
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
40
40
|
: `${packageDetails}`;
|
|
@@ -49,7 +49,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
49
49
|
this.subscriptionId = subscriptionId;
|
|
50
50
|
// Assigning values to Constant parameters
|
|
51
51
|
this.$host = options.$host || "https://management.azure.com";
|
|
52
|
-
this.apiVersion = options.apiVersion || "2021-
|
|
52
|
+
this.apiVersion = options.apiVersion || "2021-12-01";
|
|
53
53
|
this.backupResourceStorageConfigsNonCRR = new BackupResourceStorageConfigsNonCRRImpl(this);
|
|
54
54
|
this.protectionIntentOperations = new ProtectionIntentOperationsImpl(this);
|
|
55
55
|
this.backupStatus = new BackupStatusImpl(this);
|
package/package.json
CHANGED
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for RecoveryServicesBackupClient.",
|
|
6
|
-
"version": "8.
|
|
7
|
-
"engines": {
|
|
6
|
+
"version": "8.1.0",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=12.0.0"
|
|
9
|
+
},
|
|
8
10
|
"dependencies": {
|
|
9
11
|
"@azure/core-lro": "^2.2.0",
|
|
10
12
|
"@azure/abort-controller": "^1.0.0",
|
|
@@ -14,7 +16,13 @@
|
|
|
14
16
|
"@azure/core-rest-pipeline": "^1.1.0",
|
|
15
17
|
"tslib": "^2.2.0"
|
|
16
18
|
},
|
|
17
|
-
"keywords": [
|
|
19
|
+
"keywords": [
|
|
20
|
+
"node",
|
|
21
|
+
"azure",
|
|
22
|
+
"typescript",
|
|
23
|
+
"browser",
|
|
24
|
+
"isomorphic"
|
|
25
|
+
],
|
|
18
26
|
"license": "MIT",
|
|
19
27
|
"main": "./dist/index.js",
|
|
20
28
|
"module": "./dist-esm/src/index.js",
|
|
@@ -41,7 +49,9 @@
|
|
|
41
49
|
"type": "git",
|
|
42
50
|
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
43
51
|
},
|
|
44
|
-
"bugs": {
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
54
|
+
},
|
|
45
55
|
"files": [
|
|
46
56
|
"dist/**/*.js",
|
|
47
57
|
"dist/**/*.js.map",
|
|
@@ -91,7 +101,7 @@
|
|
|
91
101
|
"//metadata": {
|
|
92
102
|
"constantPaths": [
|
|
93
103
|
{
|
|
94
|
-
"path": "src/
|
|
104
|
+
"path": "src/recoveryServicesBackupClient.ts",
|
|
95
105
|
"prefix": "packageDetails"
|
|
96
106
|
}
|
|
97
107
|
]
|
|
@@ -99,8 +109,10 @@
|
|
|
99
109
|
"autoPublish": true,
|
|
100
110
|
"//sampleConfiguration": {
|
|
101
111
|
"productName": "",
|
|
102
|
-
"productSlugs": [
|
|
112
|
+
"productSlugs": [
|
|
113
|
+
"azure"
|
|
114
|
+
],
|
|
103
115
|
"disableDocsMs": true,
|
|
104
116
|
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-recoveryservicesbackup?view=azure-node-preview"
|
|
105
117
|
}
|
|
106
|
-
}
|
|
118
|
+
}
|
|
@@ -231,6 +231,7 @@ export type AzureIaaSVMProtectionPolicy = ProtectionPolicy & {
|
|
|
231
231
|
retentionPolicy?: RetentionPolicyUnion;
|
|
232
232
|
instantRpRetentionRangeInDays?: number;
|
|
233
233
|
timeZone?: string;
|
|
234
|
+
policyType?: IaasvmPolicyType;
|
|
234
235
|
};
|
|
235
236
|
|
|
236
237
|
// @public
|
|
@@ -1373,6 +1374,11 @@ export interface DailyRetentionSchedule {
|
|
|
1373
1374
|
retentionTimes?: Date[];
|
|
1374
1375
|
}
|
|
1375
1376
|
|
|
1377
|
+
// @public (undocumented)
|
|
1378
|
+
export interface DailySchedule {
|
|
1379
|
+
scheduleRunTimes?: Date[];
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1376
1382
|
// @public
|
|
1377
1383
|
export type DataMoveLevel = string;
|
|
1378
1384
|
|
|
@@ -1682,6 +1688,9 @@ export type IaasVmilrRegistrationRequest = ILRRequest & {
|
|
|
1682
1688
|
renewExistingRegistration?: boolean;
|
|
1683
1689
|
};
|
|
1684
1690
|
|
|
1691
|
+
// @public
|
|
1692
|
+
export type IaasvmPolicyType = string;
|
|
1693
|
+
|
|
1685
1694
|
// @public
|
|
1686
1695
|
export type IaaSVMProtectableItem = WorkloadProtectableItem & {
|
|
1687
1696
|
protectableItemType: "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines";
|
|
@@ -2029,6 +2038,8 @@ export enum KnownContainerType {
|
|
|
2029
2038
|
// (undocumented)
|
|
2030
2039
|
AzureSqlContainer = "AzureSqlContainer",
|
|
2031
2040
|
// (undocumented)
|
|
2041
|
+
AzureWorkloadContainer = "AzureWorkloadContainer",
|
|
2042
|
+
// (undocumented)
|
|
2032
2043
|
Cluster = "Cluster",
|
|
2033
2044
|
// (undocumented)
|
|
2034
2045
|
DPMContainer = "DPMContainer",
|
|
@@ -2043,6 +2054,10 @@ export enum KnownContainerType {
|
|
|
2043
2054
|
// (undocumented)
|
|
2044
2055
|
MABContainer = "MABContainer",
|
|
2045
2056
|
// (undocumented)
|
|
2057
|
+
MicrosoftClassicComputeVirtualMachines = "Microsoft.ClassicCompute/virtualMachines",
|
|
2058
|
+
// (undocumented)
|
|
2059
|
+
MicrosoftComputeVirtualMachines = "Microsoft.Compute/virtualMachines",
|
|
2060
|
+
// (undocumented)
|
|
2046
2061
|
SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
|
|
2047
2062
|
// (undocumented)
|
|
2048
2063
|
StorageContainer = "StorageContainer",
|
|
@@ -2186,6 +2201,16 @@ export enum KnownHealthStatus {
|
|
|
2186
2201
|
Passed = "Passed"
|
|
2187
2202
|
}
|
|
2188
2203
|
|
|
2204
|
+
// @public
|
|
2205
|
+
export enum KnownIaasvmPolicyType {
|
|
2206
|
+
// (undocumented)
|
|
2207
|
+
Invalid = "Invalid",
|
|
2208
|
+
// (undocumented)
|
|
2209
|
+
V1 = "V1",
|
|
2210
|
+
// (undocumented)
|
|
2211
|
+
V2 = "V2"
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2189
2214
|
// @public
|
|
2190
2215
|
export enum KnownInfrastructureEncryptionState {
|
|
2191
2216
|
// (undocumented)
|
|
@@ -2423,8 +2448,12 @@ export enum KnownProtectionIntentItemType {
|
|
|
2423
2448
|
// (undocumented)
|
|
2424
2449
|
AzureResourceItem = "AzureResourceItem",
|
|
2425
2450
|
// (undocumented)
|
|
2451
|
+
AzureWorkloadAutoProtectionIntent = "AzureWorkloadAutoProtectionIntent",
|
|
2452
|
+
// (undocumented)
|
|
2426
2453
|
AzureWorkloadContainerAutoProtectionIntent = "AzureWorkloadContainerAutoProtectionIntent",
|
|
2427
2454
|
// (undocumented)
|
|
2455
|
+
AzureWorkloadSQLAutoProtectionIntent = "AzureWorkloadSQLAutoProtectionIntent",
|
|
2456
|
+
// (undocumented)
|
|
2428
2457
|
Invalid = "Invalid",
|
|
2429
2458
|
// (undocumented)
|
|
2430
2459
|
RecoveryServiceVaultItem = "RecoveryServiceVaultItem"
|
|
@@ -3963,11 +3992,11 @@ export type RetentionScheduleFormat = string;
|
|
|
3963
3992
|
|
|
3964
3993
|
// @public
|
|
3965
3994
|
export interface SchedulePolicy {
|
|
3966
|
-
schedulePolicyType: "LogSchedulePolicy" | "LongTermSchedulePolicy" | "SimpleSchedulePolicy";
|
|
3995
|
+
schedulePolicyType: "LogSchedulePolicy" | "LongTermSchedulePolicy" | "SimpleSchedulePolicy" | "SimpleSchedulePolicyV2";
|
|
3967
3996
|
}
|
|
3968
3997
|
|
|
3969
3998
|
// @public (undocumented)
|
|
3970
|
-
export type SchedulePolicyUnion = SchedulePolicy | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy;
|
|
3999
|
+
export type SchedulePolicyUnion = SchedulePolicy | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy | SimpleSchedulePolicyV2;
|
|
3971
4000
|
|
|
3972
4001
|
// @public
|
|
3973
4002
|
export type ScheduleRunType = string;
|
|
@@ -4013,6 +4042,15 @@ export type SimpleSchedulePolicy = SchedulePolicy & {
|
|
|
4013
4042
|
scheduleWeeklyFrequency?: number;
|
|
4014
4043
|
};
|
|
4015
4044
|
|
|
4045
|
+
// @public
|
|
4046
|
+
export type SimpleSchedulePolicyV2 = SchedulePolicy & {
|
|
4047
|
+
schedulePolicyType: "SimpleSchedulePolicyV2";
|
|
4048
|
+
scheduleRunFrequency?: ScheduleRunType;
|
|
4049
|
+
hourlySchedule?: HourlySchedule;
|
|
4050
|
+
dailySchedule?: DailySchedule;
|
|
4051
|
+
weeklySchedule?: WeeklySchedule;
|
|
4052
|
+
};
|
|
4053
|
+
|
|
4016
4054
|
// @public
|
|
4017
4055
|
export type SoftDeleteFeatureState = string;
|
|
4018
4056
|
|
|
@@ -4215,6 +4253,13 @@ export interface WeeklyRetentionSchedule {
|
|
|
4215
4253
|
retentionTimes?: Date[];
|
|
4216
4254
|
}
|
|
4217
4255
|
|
|
4256
|
+
// @public (undocumented)
|
|
4257
|
+
export interface WeeklySchedule {
|
|
4258
|
+
// (undocumented)
|
|
4259
|
+
scheduleRunDays?: DayOfWeek[];
|
|
4260
|
+
scheduleRunTimes?: Date[];
|
|
4261
|
+
}
|
|
4262
|
+
|
|
4218
4263
|
// @public
|
|
4219
4264
|
export type WeekOfMonth = "First" | "Second" | "Third" | "Fourth" | "Last" | "Invalid";
|
|
4220
4265
|
|
package/src/models/index.ts
CHANGED
|
@@ -106,7 +106,8 @@ export type SchedulePolicyUnion =
|
|
|
106
106
|
| SchedulePolicy
|
|
107
107
|
| LogSchedulePolicy
|
|
108
108
|
| LongTermSchedulePolicy
|
|
109
|
-
| SimpleSchedulePolicy
|
|
109
|
+
| SimpleSchedulePolicy
|
|
110
|
+
| SimpleSchedulePolicyV2;
|
|
110
111
|
export type RetentionPolicyUnion =
|
|
111
112
|
| RetentionPolicy
|
|
112
113
|
| LongTermRetentionPolicy
|
|
@@ -1129,7 +1130,8 @@ export interface SchedulePolicy {
|
|
|
1129
1130
|
schedulePolicyType:
|
|
1130
1131
|
| "LogSchedulePolicy"
|
|
1131
1132
|
| "LongTermSchedulePolicy"
|
|
1132
|
-
| "SimpleSchedulePolicy"
|
|
1133
|
+
| "SimpleSchedulePolicy"
|
|
1134
|
+
| "SimpleSchedulePolicyV2";
|
|
1133
1135
|
}
|
|
1134
1136
|
|
|
1135
1137
|
/** Base class for retention policy. */
|
|
@@ -1531,6 +1533,17 @@ export interface HourlySchedule {
|
|
|
1531
1533
|
scheduleWindowDuration?: number;
|
|
1532
1534
|
}
|
|
1533
1535
|
|
|
1536
|
+
export interface DailySchedule {
|
|
1537
|
+
/** List of times of day this schedule has to be run. */
|
|
1538
|
+
scheduleRunTimes?: Date[];
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
export interface WeeklySchedule {
|
|
1542
|
+
scheduleRunDays?: DayOfWeek[];
|
|
1543
|
+
/** List of times of day this schedule has to be run. */
|
|
1544
|
+
scheduleRunTimes?: Date[];
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1534
1547
|
/** IaaS VM workload specific restore details for restores using managed identity */
|
|
1535
1548
|
export interface IdentityBasedRestoreDetails {
|
|
1536
1549
|
/** Gets the class type. */
|
|
@@ -2669,6 +2682,7 @@ export type AzureIaaSVMProtectionPolicy = ProtectionPolicy & {
|
|
|
2669
2682
|
instantRpRetentionRangeInDays?: number;
|
|
2670
2683
|
/** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */
|
|
2671
2684
|
timeZone?: string;
|
|
2685
|
+
policyType?: IaasvmPolicyType;
|
|
2672
2686
|
};
|
|
2673
2687
|
|
|
2674
2688
|
/** Azure SQL workload-specific backup policy. */
|
|
@@ -3168,6 +3182,20 @@ export type SimpleSchedulePolicy = SchedulePolicy & {
|
|
|
3168
3182
|
scheduleWeeklyFrequency?: number;
|
|
3169
3183
|
};
|
|
3170
3184
|
|
|
3185
|
+
/** The V2 policy schedule for IaaS that supports hourly backups. */
|
|
3186
|
+
export type SimpleSchedulePolicyV2 = SchedulePolicy & {
|
|
3187
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3188
|
+
schedulePolicyType: "SimpleSchedulePolicyV2";
|
|
3189
|
+
/** Frequency of the schedule operation of this policy. */
|
|
3190
|
+
scheduleRunFrequency?: ScheduleRunType;
|
|
3191
|
+
/** hourly schedule of this policy */
|
|
3192
|
+
hourlySchedule?: HourlySchedule;
|
|
3193
|
+
/** Daily schedule of this policy */
|
|
3194
|
+
dailySchedule?: DailySchedule;
|
|
3195
|
+
/** Weekly schedule of this policy */
|
|
3196
|
+
weeklySchedule?: WeeklySchedule;
|
|
3197
|
+
};
|
|
3198
|
+
|
|
3171
3199
|
/** Long term retention policy. */
|
|
3172
3200
|
export type LongTermRetentionPolicy = RetentionPolicy & {
|
|
3173
3201
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -3700,7 +3728,9 @@ export enum KnownProtectionIntentItemType {
|
|
|
3700
3728
|
Invalid = "Invalid",
|
|
3701
3729
|
AzureResourceItem = "AzureResourceItem",
|
|
3702
3730
|
RecoveryServiceVaultItem = "RecoveryServiceVaultItem",
|
|
3703
|
-
AzureWorkloadContainerAutoProtectionIntent = "AzureWorkloadContainerAutoProtectionIntent"
|
|
3731
|
+
AzureWorkloadContainerAutoProtectionIntent = "AzureWorkloadContainerAutoProtectionIntent",
|
|
3732
|
+
AzureWorkloadAutoProtectionIntent = "AzureWorkloadAutoProtectionIntent",
|
|
3733
|
+
AzureWorkloadSQLAutoProtectionIntent = "AzureWorkloadSQLAutoProtectionIntent"
|
|
3704
3734
|
}
|
|
3705
3735
|
|
|
3706
3736
|
/**
|
|
@@ -3711,7 +3741,9 @@ export enum KnownProtectionIntentItemType {
|
|
|
3711
3741
|
* **Invalid** \
|
|
3712
3742
|
* **AzureResourceItem** \
|
|
3713
3743
|
* **RecoveryServiceVaultItem** \
|
|
3714
|
-
* **AzureWorkloadContainerAutoProtectionIntent**
|
|
3744
|
+
* **AzureWorkloadContainerAutoProtectionIntent** \
|
|
3745
|
+
* **AzureWorkloadAutoProtectionIntent** \
|
|
3746
|
+
* **AzureWorkloadSQLAutoProtectionIntent**
|
|
3715
3747
|
*/
|
|
3716
3748
|
export type ProtectionIntentItemType = string;
|
|
3717
3749
|
|
|
@@ -4001,7 +4033,10 @@ export enum KnownContainerType {
|
|
|
4001
4033
|
VMAppContainer = "VMAppContainer",
|
|
4002
4034
|
SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
|
|
4003
4035
|
StorageContainer = "StorageContainer",
|
|
4004
|
-
GenericContainer = "GenericContainer"
|
|
4036
|
+
GenericContainer = "GenericContainer",
|
|
4037
|
+
MicrosoftClassicComputeVirtualMachines = "Microsoft.ClassicCompute/virtualMachines",
|
|
4038
|
+
MicrosoftComputeVirtualMachines = "Microsoft.Compute/virtualMachines",
|
|
4039
|
+
AzureWorkloadContainer = "AzureWorkloadContainer"
|
|
4005
4040
|
}
|
|
4006
4041
|
|
|
4007
4042
|
/**
|
|
@@ -4023,7 +4058,10 @@ export enum KnownContainerType {
|
|
|
4023
4058
|
* **VMAppContainer** \
|
|
4024
4059
|
* **SQLAGWorkLoadContainer** \
|
|
4025
4060
|
* **StorageContainer** \
|
|
4026
|
-
* **GenericContainer**
|
|
4061
|
+
* **GenericContainer** \
|
|
4062
|
+
* **Microsoft.ClassicCompute\/virtualMachines** \
|
|
4063
|
+
* **Microsoft.Compute\/virtualMachines** \
|
|
4064
|
+
* **AzureWorkloadContainer**
|
|
4027
4065
|
*/
|
|
4028
4066
|
export type ContainerType = string;
|
|
4029
4067
|
|
|
@@ -4223,6 +4261,24 @@ export enum KnownHealthStatus {
|
|
|
4223
4261
|
*/
|
|
4224
4262
|
export type HealthStatus = string;
|
|
4225
4263
|
|
|
4264
|
+
/** Known values of {@link IaasvmPolicyType} that the service accepts. */
|
|
4265
|
+
export enum KnownIaasvmPolicyType {
|
|
4266
|
+
Invalid = "Invalid",
|
|
4267
|
+
V1 = "V1",
|
|
4268
|
+
V2 = "V2"
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4271
|
+
/**
|
|
4272
|
+
* Defines values for IaasvmPolicyType. \
|
|
4273
|
+
* {@link KnownIaasvmPolicyType} can be used interchangeably with IaasvmPolicyType,
|
|
4274
|
+
* this enum contains the known values that the service supports.
|
|
4275
|
+
* ### Known values supported by the service
|
|
4276
|
+
* **Invalid** \
|
|
4277
|
+
* **V1** \
|
|
4278
|
+
* **V2**
|
|
4279
|
+
*/
|
|
4280
|
+
export type IaasvmPolicyType = string;
|
|
4281
|
+
|
|
4226
4282
|
/** Known values of {@link ProtectedItemState} that the service accepts. */
|
|
4227
4283
|
export enum KnownProtectedItemState {
|
|
4228
4284
|
Invalid = "Invalid",
|
package/src/models/mappers.ts
CHANGED
|
@@ -3588,6 +3588,66 @@ export const HourlySchedule: coreClient.CompositeMapper = {
|
|
|
3588
3588
|
}
|
|
3589
3589
|
};
|
|
3590
3590
|
|
|
3591
|
+
export const DailySchedule: coreClient.CompositeMapper = {
|
|
3592
|
+
type: {
|
|
3593
|
+
name: "Composite",
|
|
3594
|
+
className: "DailySchedule",
|
|
3595
|
+
modelProperties: {
|
|
3596
|
+
scheduleRunTimes: {
|
|
3597
|
+
serializedName: "scheduleRunTimes",
|
|
3598
|
+
type: {
|
|
3599
|
+
name: "Sequence",
|
|
3600
|
+
element: {
|
|
3601
|
+
type: {
|
|
3602
|
+
name: "DateTime"
|
|
3603
|
+
}
|
|
3604
|
+
}
|
|
3605
|
+
}
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
}
|
|
3609
|
+
};
|
|
3610
|
+
|
|
3611
|
+
export const WeeklySchedule: coreClient.CompositeMapper = {
|
|
3612
|
+
type: {
|
|
3613
|
+
name: "Composite",
|
|
3614
|
+
className: "WeeklySchedule",
|
|
3615
|
+
modelProperties: {
|
|
3616
|
+
scheduleRunDays: {
|
|
3617
|
+
serializedName: "scheduleRunDays",
|
|
3618
|
+
type: {
|
|
3619
|
+
name: "Sequence",
|
|
3620
|
+
element: {
|
|
3621
|
+
type: {
|
|
3622
|
+
name: "Enum",
|
|
3623
|
+
allowedValues: [
|
|
3624
|
+
"Sunday",
|
|
3625
|
+
"Monday",
|
|
3626
|
+
"Tuesday",
|
|
3627
|
+
"Wednesday",
|
|
3628
|
+
"Thursday",
|
|
3629
|
+
"Friday",
|
|
3630
|
+
"Saturday"
|
|
3631
|
+
]
|
|
3632
|
+
}
|
|
3633
|
+
}
|
|
3634
|
+
}
|
|
3635
|
+
},
|
|
3636
|
+
scheduleRunTimes: {
|
|
3637
|
+
serializedName: "scheduleRunTimes",
|
|
3638
|
+
type: {
|
|
3639
|
+
name: "Sequence",
|
|
3640
|
+
element: {
|
|
3641
|
+
type: {
|
|
3642
|
+
name: "DateTime"
|
|
3643
|
+
}
|
|
3644
|
+
}
|
|
3645
|
+
}
|
|
3646
|
+
}
|
|
3647
|
+
}
|
|
3648
|
+
}
|
|
3649
|
+
};
|
|
3650
|
+
|
|
3591
3651
|
export const IdentityBasedRestoreDetails: coreClient.CompositeMapper = {
|
|
3592
3652
|
type: {
|
|
3593
3653
|
name: "Composite",
|
|
@@ -6796,6 +6856,12 @@ export const AzureIaaSVMProtectionPolicy: coreClient.CompositeMapper = {
|
|
|
6796
6856
|
type: {
|
|
6797
6857
|
name: "String"
|
|
6798
6858
|
}
|
|
6859
|
+
},
|
|
6860
|
+
policyType: {
|
|
6861
|
+
serializedName: "policyType",
|
|
6862
|
+
type: {
|
|
6863
|
+
name: "String"
|
|
6864
|
+
}
|
|
6799
6865
|
}
|
|
6800
6866
|
}
|
|
6801
6867
|
}
|
|
@@ -8196,6 +8262,46 @@ export const SimpleSchedulePolicy: coreClient.CompositeMapper = {
|
|
|
8196
8262
|
}
|
|
8197
8263
|
};
|
|
8198
8264
|
|
|
8265
|
+
export const SimpleSchedulePolicyV2: coreClient.CompositeMapper = {
|
|
8266
|
+
serializedName: "SimpleSchedulePolicyV2",
|
|
8267
|
+
type: {
|
|
8268
|
+
name: "Composite",
|
|
8269
|
+
className: "SimpleSchedulePolicyV2",
|
|
8270
|
+
uberParent: "SchedulePolicy",
|
|
8271
|
+
polymorphicDiscriminator: SchedulePolicy.type.polymorphicDiscriminator,
|
|
8272
|
+
modelProperties: {
|
|
8273
|
+
...SchedulePolicy.type.modelProperties,
|
|
8274
|
+
scheduleRunFrequency: {
|
|
8275
|
+
serializedName: "scheduleRunFrequency",
|
|
8276
|
+
type: {
|
|
8277
|
+
name: "String"
|
|
8278
|
+
}
|
|
8279
|
+
},
|
|
8280
|
+
hourlySchedule: {
|
|
8281
|
+
serializedName: "hourlySchedule",
|
|
8282
|
+
type: {
|
|
8283
|
+
name: "Composite",
|
|
8284
|
+
className: "HourlySchedule"
|
|
8285
|
+
}
|
|
8286
|
+
},
|
|
8287
|
+
dailySchedule: {
|
|
8288
|
+
serializedName: "dailySchedule",
|
|
8289
|
+
type: {
|
|
8290
|
+
name: "Composite",
|
|
8291
|
+
className: "DailySchedule"
|
|
8292
|
+
}
|
|
8293
|
+
},
|
|
8294
|
+
weeklySchedule: {
|
|
8295
|
+
serializedName: "weeklySchedule",
|
|
8296
|
+
type: {
|
|
8297
|
+
name: "Composite",
|
|
8298
|
+
className: "WeeklySchedule"
|
|
8299
|
+
}
|
|
8300
|
+
}
|
|
8301
|
+
}
|
|
8302
|
+
}
|
|
8303
|
+
};
|
|
8304
|
+
|
|
8199
8305
|
export const LongTermRetentionPolicy: coreClient.CompositeMapper = {
|
|
8200
8306
|
serializedName: "LongTermRetentionPolicy",
|
|
8201
8307
|
type: {
|
|
@@ -9053,6 +9159,7 @@ export let discriminators = {
|
|
|
9053
9159
|
"SchedulePolicy.LogSchedulePolicy": LogSchedulePolicy,
|
|
9054
9160
|
"SchedulePolicy.LongTermSchedulePolicy": LongTermSchedulePolicy,
|
|
9055
9161
|
"SchedulePolicy.SimpleSchedulePolicy": SimpleSchedulePolicy,
|
|
9162
|
+
"SchedulePolicy.SimpleSchedulePolicyV2": SimpleSchedulePolicyV2,
|
|
9056
9163
|
"RetentionPolicy.LongTermRetentionPolicy": LongTermRetentionPolicy,
|
|
9057
9164
|
"RetentionPolicy.SimpleRetentionPolicy": SimpleRetentionPolicy,
|
|
9058
9165
|
"ProtectionIntent.AzureWorkloadAutoProtectionIntent": AzureWorkloadAutoProtectionIntent,
|
package/src/models/parameters.ts
CHANGED
|
@@ -62,7 +62,7 @@ export const $host: OperationURLParameter = {
|
|
|
62
62
|
export const apiVersion: OperationQueryParameter = {
|
|
63
63
|
parameterPath: "apiVersion",
|
|
64
64
|
mapper: {
|
|
65
|
-
defaultValue: "2021-
|
|
65
|
+
defaultValue: "2021-12-01",
|
|
66
66
|
isConstant: true,
|
|
67
67
|
serializedName: "api-version",
|
|
68
68
|
type: {
|
|
@@ -156,7 +156,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
156
156
|
credential: credentials
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/8.
|
|
159
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/8.1.0`;
|
|
160
160
|
const userAgentPrefix =
|
|
161
161
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
162
162
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -179,7 +179,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
179
179
|
|
|
180
180
|
// Assigning values to Constant parameters
|
|
181
181
|
this.$host = options.$host || "https://management.azure.com";
|
|
182
|
-
this.apiVersion = options.apiVersion || "2021-
|
|
182
|
+
this.apiVersion = options.apiVersion || "2021-12-01";
|
|
183
183
|
this.backupResourceStorageConfigsNonCRR = new BackupResourceStorageConfigsNonCRRImpl(
|
|
184
184
|
this
|
|
185
185
|
);
|
package/tsconfig.json
CHANGED
|
@@ -9,12 +9,24 @@
|
|
|
9
9
|
"esModuleInterop": true,
|
|
10
10
|
"allowSyntheticDefaultImports": true,
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"lib": [
|
|
12
|
+
"lib": [
|
|
13
|
+
"es6",
|
|
14
|
+
"dom"
|
|
15
|
+
],
|
|
13
16
|
"declaration": true,
|
|
14
17
|
"outDir": "./dist-esm",
|
|
15
18
|
"importHelpers": true,
|
|
16
|
-
"paths": {
|
|
19
|
+
"paths": {
|
|
20
|
+
"@azure/arm-recoveryservicesbackup": [
|
|
21
|
+
"./src/index"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
17
24
|
},
|
|
18
|
-
"include": [
|
|
19
|
-
|
|
20
|
-
|
|
25
|
+
"include": [
|
|
26
|
+
"./src/**/*.ts",
|
|
27
|
+
"./test/**/*.ts"
|
|
28
|
+
],
|
|
29
|
+
"exclude": [
|
|
30
|
+
"node_modules"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -362,6 +362,7 @@ export declare type AzureIaaSVMProtectionPolicy = ProtectionPolicy & {
|
|
|
362
362
|
instantRpRetentionRangeInDays?: number;
|
|
363
363
|
/** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */
|
|
364
364
|
timeZone?: string;
|
|
365
|
+
policyType?: IaasvmPolicyType;
|
|
365
366
|
};
|
|
366
367
|
|
|
367
368
|
/** Azure Recovery Services Vault specific protection intent item. */
|
|
@@ -2089,7 +2090,10 @@ export declare interface ContainerIdentityInfo {
|
|
|
2089
2090
|
* **VMAppContainer** \
|
|
2090
2091
|
* **SQLAGWorkLoadContainer** \
|
|
2091
2092
|
* **StorageContainer** \
|
|
2092
|
-
* **GenericContainer**
|
|
2093
|
+
* **GenericContainer** \
|
|
2094
|
+
* **Microsoft.ClassicCompute\/virtualMachines** \
|
|
2095
|
+
* **Microsoft.Compute\/virtualMachines** \
|
|
2096
|
+
* **AzureWorkloadContainer**
|
|
2093
2097
|
*/
|
|
2094
2098
|
export declare type ContainerType = string;
|
|
2095
2099
|
|
|
@@ -2131,6 +2135,11 @@ export declare interface DailyRetentionSchedule {
|
|
|
2131
2135
|
retentionDuration?: RetentionDuration;
|
|
2132
2136
|
}
|
|
2133
2137
|
|
|
2138
|
+
export declare interface DailySchedule {
|
|
2139
|
+
/** List of times of day this schedule has to be run. */
|
|
2140
|
+
scheduleRunTimes?: Date[];
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2134
2143
|
/**
|
|
2135
2144
|
* Defines values for DataMoveLevel. \
|
|
2136
2145
|
* {@link KnownDataMoveLevel} can be used interchangeably with DataMoveLevel,
|
|
@@ -2659,6 +2668,17 @@ export declare type IaasVmilrRegistrationRequest = ILRRequest & {
|
|
|
2659
2668
|
renewExistingRegistration?: boolean;
|
|
2660
2669
|
};
|
|
2661
2670
|
|
|
2671
|
+
/**
|
|
2672
|
+
* Defines values for IaasvmPolicyType. \
|
|
2673
|
+
* {@link KnownIaasvmPolicyType} can be used interchangeably with IaasvmPolicyType,
|
|
2674
|
+
* this enum contains the known values that the service supports.
|
|
2675
|
+
* ### Known values supported by the service
|
|
2676
|
+
* **Invalid** \
|
|
2677
|
+
* **V1** \
|
|
2678
|
+
* **V2**
|
|
2679
|
+
*/
|
|
2680
|
+
export declare type IaasvmPolicyType = string;
|
|
2681
|
+
|
|
2662
2682
|
/** IaaS VM workload-specific backup item. */
|
|
2663
2683
|
export declare type IaaSVMProtectableItem = WorkloadProtectableItem & {
|
|
2664
2684
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -3206,7 +3226,10 @@ export declare enum KnownContainerType {
|
|
|
3206
3226
|
VMAppContainer = "VMAppContainer",
|
|
3207
3227
|
SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
|
|
3208
3228
|
StorageContainer = "StorageContainer",
|
|
3209
|
-
GenericContainer = "GenericContainer"
|
|
3229
|
+
GenericContainer = "GenericContainer",
|
|
3230
|
+
MicrosoftClassicComputeVirtualMachines = "Microsoft.ClassicCompute/virtualMachines",
|
|
3231
|
+
MicrosoftComputeVirtualMachines = "Microsoft.Compute/virtualMachines",
|
|
3232
|
+
AzureWorkloadContainer = "AzureWorkloadContainer"
|
|
3210
3233
|
}
|
|
3211
3234
|
|
|
3212
3235
|
/** Known values of {@link CopyOptions} that the service accepts. */
|
|
@@ -3294,6 +3317,13 @@ export declare enum KnownHealthStatus {
|
|
|
3294
3317
|
Invalid = "Invalid"
|
|
3295
3318
|
}
|
|
3296
3319
|
|
|
3320
|
+
/** Known values of {@link IaasvmPolicyType} that the service accepts. */
|
|
3321
|
+
export declare enum KnownIaasvmPolicyType {
|
|
3322
|
+
Invalid = "Invalid",
|
|
3323
|
+
V1 = "V1",
|
|
3324
|
+
V2 = "V2"
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3297
3327
|
/** Known values of {@link InfrastructureEncryptionState} that the service accepts. */
|
|
3298
3328
|
export declare enum KnownInfrastructureEncryptionState {
|
|
3299
3329
|
Invalid = "Invalid",
|
|
@@ -3445,7 +3475,9 @@ export declare enum KnownProtectionIntentItemType {
|
|
|
3445
3475
|
Invalid = "Invalid",
|
|
3446
3476
|
AzureResourceItem = "AzureResourceItem",
|
|
3447
3477
|
RecoveryServiceVaultItem = "RecoveryServiceVaultItem",
|
|
3448
|
-
AzureWorkloadContainerAutoProtectionIntent = "AzureWorkloadContainerAutoProtectionIntent"
|
|
3478
|
+
AzureWorkloadContainerAutoProtectionIntent = "AzureWorkloadContainerAutoProtectionIntent",
|
|
3479
|
+
AzureWorkloadAutoProtectionIntent = "AzureWorkloadAutoProtectionIntent",
|
|
3480
|
+
AzureWorkloadSQLAutoProtectionIntent = "AzureWorkloadSQLAutoProtectionIntent"
|
|
3449
3481
|
}
|
|
3450
3482
|
|
|
3451
3483
|
/** Known values of {@link ProtectionState} that the service accepts. */
|
|
@@ -4876,7 +4908,9 @@ export declare type ProtectionIntentGetResponse = ProtectionIntentResource;
|
|
|
4876
4908
|
* **Invalid** \
|
|
4877
4909
|
* **AzureResourceItem** \
|
|
4878
4910
|
* **RecoveryServiceVaultItem** \
|
|
4879
|
-
* **AzureWorkloadContainerAutoProtectionIntent**
|
|
4911
|
+
* **AzureWorkloadContainerAutoProtectionIntent** \
|
|
4912
|
+
* **AzureWorkloadAutoProtectionIntent** \
|
|
4913
|
+
* **AzureWorkloadSQLAutoProtectionIntent**
|
|
4880
4914
|
*/
|
|
4881
4915
|
export declare type ProtectionIntentItemType = string;
|
|
4882
4916
|
|
|
@@ -5817,10 +5851,10 @@ export declare type RetentionScheduleFormat = string;
|
|
|
5817
5851
|
/** Base class for backup schedule. */
|
|
5818
5852
|
export declare interface SchedulePolicy {
|
|
5819
5853
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
5820
|
-
schedulePolicyType: "LogSchedulePolicy" | "LongTermSchedulePolicy" | "SimpleSchedulePolicy";
|
|
5854
|
+
schedulePolicyType: "LogSchedulePolicy" | "LongTermSchedulePolicy" | "SimpleSchedulePolicy" | "SimpleSchedulePolicyV2";
|
|
5821
5855
|
}
|
|
5822
5856
|
|
|
5823
|
-
export declare type SchedulePolicyUnion = SchedulePolicy | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy;
|
|
5857
|
+
export declare type SchedulePolicyUnion = SchedulePolicy | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy | SimpleSchedulePolicyV2;
|
|
5824
5858
|
|
|
5825
5859
|
/**
|
|
5826
5860
|
* Defines values for ScheduleRunType. \
|
|
@@ -5898,6 +5932,20 @@ export declare type SimpleSchedulePolicy = SchedulePolicy & {
|
|
|
5898
5932
|
scheduleWeeklyFrequency?: number;
|
|
5899
5933
|
};
|
|
5900
5934
|
|
|
5935
|
+
/** The V2 policy schedule for IaaS that supports hourly backups. */
|
|
5936
|
+
export declare type SimpleSchedulePolicyV2 = SchedulePolicy & {
|
|
5937
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
5938
|
+
schedulePolicyType: "SimpleSchedulePolicyV2";
|
|
5939
|
+
/** Frequency of the schedule operation of this policy. */
|
|
5940
|
+
scheduleRunFrequency?: ScheduleRunType;
|
|
5941
|
+
/** hourly schedule of this policy */
|
|
5942
|
+
hourlySchedule?: HourlySchedule;
|
|
5943
|
+
/** Daily schedule of this policy */
|
|
5944
|
+
dailySchedule?: DailySchedule;
|
|
5945
|
+
/** Weekly schedule of this policy */
|
|
5946
|
+
weeklySchedule?: WeeklySchedule;
|
|
5947
|
+
};
|
|
5948
|
+
|
|
5901
5949
|
/**
|
|
5902
5950
|
* Defines values for SoftDeleteFeatureState. \
|
|
5903
5951
|
* {@link KnownSoftDeleteFeatureState} can be used interchangeably with SoftDeleteFeatureState,
|
|
@@ -6251,6 +6299,12 @@ export declare interface WeeklyRetentionSchedule {
|
|
|
6251
6299
|
retentionDuration?: RetentionDuration;
|
|
6252
6300
|
}
|
|
6253
6301
|
|
|
6302
|
+
export declare interface WeeklySchedule {
|
|
6303
|
+
scheduleRunDays?: DayOfWeek[];
|
|
6304
|
+
/** List of times of day this schedule has to be run. */
|
|
6305
|
+
scheduleRunTimes?: Date[];
|
|
6306
|
+
}
|
|
6307
|
+
|
|
6254
6308
|
/** Defines values for WeekOfMonth. */
|
|
6255
6309
|
export declare type WeekOfMonth = "First" | "Second" | "Third" | "Fourth" | "Last" | "Invalid";
|
|
6256
6310
|
|