diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml
index 3e09df81febb..2c429c38dbc1 100644
--- a/common/config/rush/pnpm-lock.yaml
+++ b/common/config/rush/pnpm-lock.yaml
@@ -52,6 +52,7 @@ specifiers:
'@rush-temp/arm-purview': file:./projects/arm-purview.tgz
'@rush-temp/arm-quota': file:./projects/arm-quota.tgz
'@rush-temp/arm-recoveryservices': file:./projects/arm-recoveryservices.tgz
+ '@rush-temp/arm-recoveryservicesbackup': file:./projects/arm-recoveryservicesbackup.tgz
'@rush-temp/arm-rediscache': file:./projects/arm-rediscache.tgz
'@rush-temp/arm-relay': file:./projects/arm-relay.tgz
'@rush-temp/arm-resourcehealth': file:./projects/arm-resourcehealth.tgz
@@ -222,6 +223,7 @@ dependencies:
'@rush-temp/arm-purview': file:projects/arm-purview.tgz
'@rush-temp/arm-quota': file:projects/arm-quota.tgz
'@rush-temp/arm-recoveryservices': file:projects/arm-recoveryservices.tgz
+ '@rush-temp/arm-recoveryservicesbackup': file:projects/arm-recoveryservicesbackup.tgz
'@rush-temp/arm-rediscache': file:projects/arm-rediscache.tgz
'@rush-temp/arm-relay': file:projects/arm-relay.tgz
'@rush-temp/arm-resourcehealth': file:projects/arm-resourcehealth.tgz
@@ -1648,6 +1650,7 @@ packages:
/@opentelemetry/node/0.22.0_@opentelemetry+api@1.0.3:
resolution: {integrity: sha512-+HhGbDruQ7cwejVOIYyxRa28uosnG8W95NiQZ6qE8PXXPsDSyGeftAPbtYpGit0H2f5hrVcMlwmWHeAo9xkSLA==}
engines: {node: '>=8.0.0'}
+ deprecated: Package renamed to @opentelemetry/sdk-trace-node
peerDependencies:
'@opentelemetry/api': ^1.0.0
dependencies:
@@ -9587,6 +9590,27 @@ packages:
uglify-js: 3.14.3
dev: false
+ file:projects/arm-recoveryservicesbackup.tgz:
+ resolution: {integrity: sha512-LXhu8d3CS+DaGiaWJ9EKMoG6R3G+5+PGW9+KaMx4tfSHf+r77GZ7DF6lxJbwB3bimcNx4D+nUnBb2i6YHIloZA==, tarball: file:projects/arm-recoveryservicesbackup.tgz}
+ name: '@rush-temp/arm-recoveryservicesbackup'
+ version: 0.0.0
+ dependencies:
+ '@microsoft/api-extractor': 7.18.19
+ '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1
+ '@rollup/plugin-json': 4.1.0_rollup@1.32.1
+ '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1
+ '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1
+ cross-env: 7.0.3
+ mkdirp: 1.0.4
+ mocha: 7.2.0
+ rimraf: 3.0.2
+ rollup: 1.32.1
+ rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1
+ tslib: 2.3.1
+ typescript: 4.2.4
+ uglify-js: 3.14.3
+ dev: false
+
file:projects/arm-rediscache.tgz:
resolution: {integrity: sha512-aOAyRJHWE7GUOtUWaHTiFCa3SurFmsvsG3u8DDDBAGlXVxSc0OCKPfyr0RkqL8k+N2dsS1s5qVzSWPfKuaP1mA==, tarball: file:projects/arm-rediscache.tgz}
name: '@rush-temp/arm-rediscache'
diff --git a/rush.json b/rush.json
index df474ee7c0e6..1675546e99fc 100644
--- a/rush.json
+++ b/rush.json
@@ -1160,6 +1160,11 @@
"packageName": "@azure/arm-relay",
"projectFolder": "sdk/relay/arm-relay",
"versionPolicyName": "management"
+ },
+ {
+ "packageName": "@azure/arm-recoveryservicesbackup",
+ "projectFolder": "sdk/recoveryservicesbackup/arm-recoveryservicesbackup",
+ "versionPolicyName": "management"
}
]
-}
+}
\ No newline at end of file
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/CHANGELOG.md b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/CHANGELOG.md
new file mode 100644
index 000000000000..9dfb991eb0a4
--- /dev/null
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/CHANGELOG.md
@@ -0,0 +1,11 @@
+# Release History
+
+## 8.0.0 (2021-12-13)
+
+The package of @azure/arm-recoveryservicesbackup is using our next generation design principles since version 8.0.0, which contains breaking changes.
+
+To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
+
+To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
+
+To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/LICENSE.txt b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/LICENSE
similarity index 99%
rename from sdk/recoveryservicesbackup/arm-recoveryservicesbackup/LICENSE.txt
rename to sdk/recoveryservicesbackup/arm-recoveryservicesbackup/LICENSE
index 2d3163745319..ccb63b166732 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/LICENSE.txt
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/LICENSE
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
+SOFTWARE.
\ No newline at end of file
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/README.md b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/README.md
index 7924c707fce7..ce9b78595ffa 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/README.md
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/README.md
@@ -1,123 +1,98 @@
-## Azure RecoveryServicesBackupClient SDK for JavaScript
+# Azure Recovery Services Backup client library for JavaScript
-This package contains an isomorphic SDK (runs both in Node.js and in browsers) for RecoveryServicesBackupClient.
+This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Recovery Services Backup client.
+
+Open API 2.0 Specs for Azure RecoveryServices Backup service
+
+[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservicesbackup/arm-recoveryservicesbackup) |
+[Package (NPM)](https://www.npmjs.com/package/@azure/arm-recoveryservicesbackup) |
+[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-recoveryservicesbackup) |
+[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
+
+## Getting started
### Currently supported environments
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
-- Latest versions of Safari, Chrome, Edge, and Firefox.
+- Latest versions of Safari, Chrome, Edge and Firefox.
### Prerequisites
-You must have an [Azure subscription](https://azure.microsoft.com/free/).
-
-### How to install
+- An [Azure subscription][azure_sub].
-To use this SDK in your project, you will need to install two packages.
+### Install the `@azure/arm-recoveryservicesbackup` package
-- `@azure/arm-recoveryservicesbackup` that contains the client.
-- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory.
-
-Install both packages using the below command:
+Install the Azure Recovery Services Backup client library for JavaScript with `npm`:
```bash
-npm install --save @azure/arm-recoveryservicesbackup @azure/identity
+npm install @azure/arm-recoveryservicesbackup
```
-> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features.
-> If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options.
+### Create and authenticate a `RecoveryServicesBackupClient`
-### How to use
+To create a client object to access the Azure Recovery Services Backup API, you will need the `endpoint` of your Azure Recovery Services Backup resource and a `credential`. The Azure Recovery Services Backup client can use Azure Active Directory credentials to authenticate.
+You can find the endpoint for your Azure Recovery Services Backup resource in the [Azure Portal][azure_portal].
-- If you are writing a client side browser application,
- - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions.
- - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below.
-- If you are writing a server side application,
- - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples)
- - Complete the set up steps required by the credential if any.
- - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below.
+You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
-In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
-Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.
+To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
-#### nodejs - Authentication, client creation, and get backupResourceVaultConfigs as an example written in JavaScript.
+```bash
+npm install @azure/identity
+```
-##### Sample code
+You will also need to **register a new AAD application and grant access to Azure Recovery Services Backup** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
+Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
+
+For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
```javascript
-const { DefaultAzureCredential } = require("@azure/identity");
const { RecoveryServicesBackupClient } = require("@azure/arm-recoveryservicesbackup");
-const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
-
-// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples
-// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead.
-const creds = new DefaultAzureCredential();
-const client = new RecoveryServicesBackupClient(creds, subscriptionId);
-const vaultName = "testvaultName";
-const resourceGroupName = "testresourceGroupName";
-client.backupResourceVaultConfigs
- .get(vaultName, resourceGroupName)
- .then((result) => {
- console.log("The result is:");
- console.log(result);
- })
- .catch((err) => {
- console.log("An error occurred:");
- console.error(err);
- });
+const { DefaultAzureCredential } = require("@azure/identity");
+const subscriptionId = "00000000-0000-0000-0000-000000000000";
+const client = new RecoveryServicesBackupClient(new DefaultAzureCredential(), subscriptionId);
```
-#### browser - Authentication, client creation, and get backupResourceVaultConfigs as an example written in JavaScript.
-
-In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser.
-
-- See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser.
-- Note down the client Id from the previous step and use it in the browser sample below.
-
-##### Sample code
-
-- index.html
-
-```html
-
-
-
- @azure/arm-recoveryservicesbackup sample
-
-
-
-
-
-
-
+
+### JavaScript Bundle
+To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
+
+## Key concepts
+
+### RecoveryServicesBackupClient
+
+`RecoveryServicesBackupClient` is the primary interface for developers using the Azure Recovery Services Backup client library. Explore the methods on this client object to understand the different features of the Azure Recovery Services Backup service that you can access.
+
+## Troubleshooting
+
+### Logging
+
+Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
+
+```javascript
+const { setLogLevel } = require("@azure/logger");
+setLogLevel("info");
```
+For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
+
+## Next steps
+
+Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
+
+## Contributing
+
+If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
+
## Related projects
-- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
+- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
+
+![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Frecoveryservicesbackup%2Farm-recoveryservicesbackup%2FREADME.png)
-![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/README.png)
+[azure_cli]: https://docs.microsoft.com/cli/azure
+[azure_sub]: https://azure.microsoft.com/free/
+[azure_sub]: https://azure.microsoft.com/free/
+[azure_portal]: https://portal.azure.com
+[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
+[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/_meta.json b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/_meta.json
new file mode 100644
index 000000000000..fcb9a97dc1e7
--- /dev/null
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/_meta.json
@@ -0,0 +1,7 @@
+{
+ "commit": "8ddc7ccef308d0bafb103b6f230858c97b1580f0",
+ "readme": "specification/recoveryservicesbackup/resource-manager/readme.md",
+ "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/recoveryservicesbackup/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.1",
+ "repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
+ "use": "@autorest/typescript@6.0.0-alpha.16.20211130.1"
+}
\ No newline at end of file
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/api-extractor.json b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/api-extractor.json
new file mode 100644
index 000000000000..a79ca770900f
--- /dev/null
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/api-extractor.json
@@ -0,0 +1,18 @@
+{
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
+ "mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
+ "docModel": { "enabled": true },
+ "apiReport": { "enabled": true, "reportFolder": "./review" },
+ "dtsRollup": {
+ "enabled": true,
+ "untrimmedFilePath": "",
+ "publicTrimmedFilePath": "./types/arm-recoveryservicesbackup.d.ts"
+ },
+ "messages": {
+ "tsdocMessageReporting": { "default": { "logLevel": "none" } },
+ "extractorMessageReporting": {
+ "ae-missing-release-tag": { "logLevel": "none" },
+ "ae-unresolved-link": { "logLevel": "none" }
+ }
+ }
+}
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json
index b31758dbafb6..652a2bcf27bf 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json
@@ -1,58 +1,91 @@
{
"name": "@azure/arm-recoveryservicesbackup",
+ "sdk-type": "mgmt",
"author": "Microsoft Corporation",
- "description": "RecoveryServicesBackupClient Library with typescript type definitions for node.js and browser.",
- "version": "7.0.0",
+ "description": "A generated SDK for RecoveryServicesBackupClient.",
+ "version": "8.0.0",
+ "engines": { "node": ">=12.0.0" },
"dependencies": {
- "@azure/ms-rest-azure-js": "^2.1.0",
- "@azure/ms-rest-js": "^2.2.0",
- "@azure/core-auth": "^1.1.4",
- "tslib": "^1.10.0"
+ "@azure/core-lro": "^2.2.0",
+ "@azure/abort-controller": "^1.0.0",
+ "@azure/core-paging": "^1.2.0",
+ "@azure/core-client": "^1.0.0",
+ "@azure/core-auth": "^1.3.0",
+ "@azure/core-rest-pipeline": "^1.1.0",
+ "tslib": "^2.2.0"
},
- "keywords": [
- "node",
- "azure",
- "typescript",
- "browser",
- "isomorphic"
- ],
+ "keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"license": "MIT",
- "main": "./dist/arm-recoveryservicesbackup.js",
- "module": "./esm/recoveryServicesBackupClient.js",
- "types": "./esm/recoveryServicesBackupClient.d.ts",
+ "main": "./dist/index.js",
+ "module": "./dist-esm/src/index.js",
+ "types": "./types/arm-recoveryservicesbackup.d.ts",
"devDependencies": {
- "typescript": "^3.6.0",
- "rollup": "^1.18.0",
- "rollup-plugin-node-resolve": "^5.2.0",
+ "@microsoft/api-extractor": "^7.18.11",
+ "@rollup/plugin-commonjs": "11.0.2",
+ "@rollup/plugin-json": "^4.0.0",
+ "@rollup/plugin-multi-entry": "^3.0.0",
+ "@rollup/plugin-node-resolve": "^8.0.0",
+ "mkdirp": "^1.0.4",
+ "rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
- "uglify-js": "^3.6.0"
+ "typescript": "~4.2.0",
+ "uglify-js": "^3.4.9",
+ "rimraf": "^3.0.0",
+ "@azure/identity": "^2.0.1",
+ "@azure-tools/test-recorder": "^1.0.0",
+ "mocha": "^7.1.1",
+ "cross-env": "^7.0.2"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservicesbackup/arm-recoveryservicesbackup",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
- "bugs": {
- "url": "https://github.com/Azure/azure-sdk-for-js/issues"
- },
+ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map",
- "esm/**/*.js",
- "esm/**/*.js.map",
- "esm/**/*.d.ts",
- "esm/**/*.d.ts.map",
+ "dist-esm/**/*.js",
+ "dist-esm/**/*.js.map",
+ "dist-esm/**/*.d.ts",
+ "dist-esm/**/*.d.ts.map",
"src/**/*.ts",
"README.md",
+ "LICENSE",
"rollup.config.js",
- "tsconfig.json"
+ "tsconfig.json",
+ "review/*",
+ "CHANGELOG.md",
+ "types/*"
],
"scripts": {
- "build": "tsc && rollup -c rollup.config.js && npm run minify",
- "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-recoveryservicesbackup.js.map'\" -o ./dist/arm-recoveryservicesbackup.min.js ./dist/arm-recoveryservicesbackup.js",
- "prepack": "npm install && npm run build"
+ "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
+ "prepack": "npm run build",
+ "pack": "npm pack 2>&1",
+ "extract-api": "api-extractor run --local",
+ "lint": "echo skipped",
+ "audit": "echo skipped",
+ "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
+ "build:node": "echo skipped",
+ "build:browser": "echo skipped",
+ "build:test": "echo skipped",
+ "build:samples": "echo skipped.",
+ "check-format": "echo skipped",
+ "execute:samples": "echo skipped",
+ "format": "echo skipped",
+ "test": "npm run integration-test",
+ "test:node": "echo skipped",
+ "test:browser": "echo skipped",
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
+ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
+ "unit-test:browser": "echo skipped",
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
+ "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
+ "integration-test:browser": "echo skipped",
+ "docs": "echo skipped"
},
"sideEffects": false,
"autoPublish": true
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/review/arm-recoveryservicesbackup.api.md b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/review/arm-recoveryservicesbackup.api.md
new file mode 100644
index 000000000000..da8a2023838d
--- /dev/null
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/review/arm-recoveryservicesbackup.api.md
@@ -0,0 +1,4293 @@
+## API Report File for "@azure/arm-recoveryservicesbackup"
+
+> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
+
+```ts
+
+import * as coreAuth from '@azure/core-auth';
+import * as coreClient from '@azure/core-client';
+import { PagedAsyncIterableIterator } from '@azure/core-paging';
+import { PollerLike } from '@azure/core-lro';
+import { PollOperationState } from '@azure/core-lro';
+
+// @public
+export type AcquireStorageAccountLock = string;
+
+// @public
+export type AzureBackupGoalFeatureSupportRequest = FeatureSupportRequest & {
+ featureType: "AzureBackupGoals";
+};
+
+// @public
+export type AzureBackupServerContainer = DpmContainer & {
+ containerType: "AzureBackupServerContainer";
+};
+
+// @public
+export type AzureBackupServerEngine = BackupEngineBase & {
+ backupEngineType: "AzureBackupServerEngine";
+};
+
+// @public
+export type AzureFileShareBackupRequest = BackupRequest & {
+ objectType: "AzureFileShareBackupRequest";
+ recoveryPointExpiryTimeInUTC?: Date;
+};
+
+// @public
+export type AzureFileShareProtectableItem = WorkloadProtectableItem & {
+ protectableItemType: "AzureFileShare";
+ parentContainerFabricId?: string;
+ parentContainerFriendlyName?: string;
+ azureFileShareType?: AzureFileShareType;
+};
+
+// @public
+export type AzureFileshareProtectedItem = ProtectedItem & {
+ protectedItemType: "AzureFileShareProtectedItem";
+ friendlyName?: string;
+ protectionStatus?: string;
+ protectionState?: ProtectionState;
+ lastBackupStatus?: string;
+ lastBackupTime?: Date;
+ kpisHealths?: {
+ [propertyName: string]: KPIResourceHealthDetails;
+ };
+ extendedInfo?: AzureFileshareProtectedItemExtendedInfo;
+};
+
+// @public
+export interface AzureFileshareProtectedItemExtendedInfo {
+ oldestRecoveryPoint?: Date;
+ policyState?: string;
+ recoveryPointCount?: number;
+ readonly resourceState?: string;
+ readonly resourceStateSyncTime?: Date;
+}
+
+// @public
+export type AzureFileShareProtectionPolicy = ProtectionPolicy & {
+ backupManagementType: "AzureStorage";
+ workLoadType?: WorkloadType;
+ schedulePolicy?: SchedulePolicyUnion;
+ retentionPolicy?: RetentionPolicyUnion;
+ timeZone?: string;
+};
+
+// @public
+export type AzureFileShareProvisionILRRequest = ILRRequest & {
+ objectType: "AzureFileShareProvisionILRRequest";
+ recoveryPointId?: string;
+ sourceResourceId?: string;
+};
+
+// @public
+export type AzureFileShareRecoveryPoint = RecoveryPoint & {
+ objectType: "AzureFileShareRecoveryPoint";
+ recoveryPointType?: string;
+ recoveryPointTime?: Date;
+ fileShareSnapshotUri?: string;
+ recoveryPointSizeInGB?: number;
+};
+
+// @public
+export type AzureFileShareRestoreRequest = RestoreRequest & {
+ objectType: "AzureFileShareRestoreRequest";
+ recoveryType?: RecoveryType;
+ sourceResourceId?: string;
+ copyOptions?: CopyOptions;
+ restoreRequestType?: RestoreRequestType;
+ restoreFileSpecs?: RestoreFileSpecs[];
+ targetDetails?: TargetAFSRestoreInfo;
+};
+
+// @public
+export type AzureFileShareType = string;
+
+// @public
+export type AzureIaaSClassicComputeVMContainer = IaaSVMContainer & {
+ containerType: "Microsoft.ClassicCompute/virtualMachines";
+};
+
+// @public
+export type AzureIaaSClassicComputeVMProtectableItem = IaaSVMProtectableItem & {
+ protectableItemType: "Microsoft.ClassicCompute/virtualMachines";
+};
+
+// @public
+export type AzureIaaSClassicComputeVMProtectedItem = AzureIaaSVMProtectedItem & {
+ protectedItemType: "Microsoft.ClassicCompute/virtualMachines";
+};
+
+// @public
+export type AzureIaaSComputeVMContainer = IaaSVMContainer & {
+ containerType: "Microsoft.Compute/virtualMachines";
+};
+
+// @public
+export type AzureIaaSComputeVMProtectableItem = IaaSVMProtectableItem & {
+ protectableItemType: "Microsoft.Compute/virtualMachines";
+};
+
+// @public
+export type AzureIaaSComputeVMProtectedItem = AzureIaaSVMProtectedItem & {
+ protectedItemType: "Microsoft.Compute/virtualMachines";
+};
+
+// @public
+export interface AzureIaaSVMErrorInfo {
+ readonly errorCode?: number;
+ readonly errorString?: string;
+ readonly errorTitle?: string;
+ readonly recommendations?: string[];
+}
+
+// @public
+export type AzureIaaSVMHealthDetails = ResourceHealthDetails & {};
+
+// @public
+export type AzureIaaSVMJob = Job & {
+ jobType: "AzureIaaSVMJob";
+ duration?: string;
+ actionsInfo?: JobSupportedAction[];
+ errorDetails?: AzureIaaSVMErrorInfo[];
+ virtualMachineVersion?: string;
+ extendedInfo?: AzureIaaSVMJobExtendedInfo;
+ containerName?: string;
+ isUserTriggered?: boolean;
+};
+
+// @public
+export interface AzureIaaSVMJobExtendedInfo {
+ dynamicErrorMessage?: string;
+ estimatedRemainingDuration?: string;
+ internalPropertyBag?: {
+ [propertyName: string]: string;
+ };
+ progressPercentage?: number;
+ propertyBag?: {
+ [propertyName: string]: string;
+ };
+ tasksList?: AzureIaaSVMJobTaskDetails[];
+}
+
+// @public
+export interface AzureIaaSVMJobTaskDetails {
+ duration?: string;
+ endTime?: Date;
+ instanceId?: string;
+ progressPercentage?: number;
+ startTime?: Date;
+ status?: string;
+ taskExecutionDetails?: string;
+ taskId?: string;
+}
+
+// @public
+export type AzureIaaSVMJobV2 = Job & {
+ jobType: "AzureIaaSVMJobV2";
+ actionsInfo?: JobSupportedAction[];
+ containerName?: string;
+ duration?: string;
+ errorDetails?: AzureIaaSVMErrorInfo[];
+ virtualMachineVersion?: string;
+ extendedInfo?: AzureIaaSVMJobExtendedInfo;
+};
+
+// @public
+export type AzureIaaSVMProtectedItem = ProtectedItem & {
+ protectedItemType: "AzureIaaSVMProtectedItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines";
+ friendlyName?: string;
+ virtualMachineId?: string;
+ protectionStatus?: string;
+ protectionState?: ProtectionState;
+ healthStatus?: HealthStatus;
+ healthDetails?: AzureIaaSVMHealthDetails[];
+ kpisHealths?: {
+ [propertyName: string]: KPIResourceHealthDetails;
+ };
+ lastBackupStatus?: string;
+ lastBackupTime?: Date;
+ protectedItemDataId?: string;
+ extendedInfo?: AzureIaaSVMProtectedItemExtendedInfo;
+ extendedProperties?: ExtendedProperties;
+};
+
+// @public
+export interface AzureIaaSVMProtectedItemExtendedInfo {
+ oldestRecoveryPoint?: Date;
+ policyInconsistent?: boolean;
+ recoveryPointCount?: number;
+}
+
+// @public (undocumented)
+export type AzureIaaSVMProtectedItemUnion = AzureIaaSVMProtectedItem | AzureIaaSClassicComputeVMProtectedItem | AzureIaaSComputeVMProtectedItem;
+
+// @public
+export type AzureIaaSVMProtectionPolicy = ProtectionPolicy & {
+ backupManagementType: "AzureIaasVM";
+ instantRPDetails?: InstantRPAdditionalDetails;
+ schedulePolicy?: SchedulePolicyUnion;
+ retentionPolicy?: RetentionPolicyUnion;
+ instantRpRetentionRangeInDays?: number;
+ timeZone?: string;
+};
+
+// @public
+export type AzureRecoveryServiceVaultProtectionIntent = ProtectionIntent & {
+ protectionIntentItemType: "RecoveryServiceVaultItem" | "AzureWorkloadAutoProtectionIntent" | "AzureWorkloadSQLAutoProtectionIntent";
+};
+
+// @public (undocumented)
+export type AzureRecoveryServiceVaultProtectionIntentUnion = AzureRecoveryServiceVaultProtectionIntent | AzureWorkloadAutoProtectionIntentUnion;
+
+// @public
+export type AzureResourceProtectionIntent = ProtectionIntent & {
+ protectionIntentItemType: "AzureResourceItem";
+ friendlyName?: string;
+};
+
+// @public
+export type AzureSqlagWorkloadContainerProtectionContainer = AzureWorkloadContainer & {
+ containerType: "SQLAGWorkLoadContainer";
+};
+
+// @public
+export type AzureSqlContainer = ProtectionContainer & {
+ containerType: "AzureSqlContainer";
+};
+
+// @public
+export type AzureSqlProtectedItem = ProtectedItem & {
+ protectedItemType: "Microsoft.Sql/servers/databases";
+ protectedItemDataId?: string;
+ protectionState?: ProtectedItemState;
+ extendedInfo?: AzureSqlProtectedItemExtendedInfo;
+};
+
+// @public
+export interface AzureSqlProtectedItemExtendedInfo {
+ oldestRecoveryPoint?: Date;
+ policyState?: string;
+ recoveryPointCount?: number;
+}
+
+// @public
+export type AzureSqlProtectionPolicy = ProtectionPolicy & {
+ backupManagementType: "AzureSql";
+ retentionPolicy?: RetentionPolicyUnion;
+};
+
+// @public
+export type AzureStorageContainer = ProtectionContainer & {
+ containerType: "StorageContainer";
+ sourceResourceId?: string;
+ storageAccountVersion?: string;
+ resourceGroup?: string;
+ protectedItemCount?: number;
+ acquireStorageAccountLock?: AcquireStorageAccountLock;
+};
+
+// @public
+export interface AzureStorageErrorInfo {
+ errorCode?: number;
+ errorString?: string;
+ recommendations?: string[];
+}
+
+// @public
+export type AzureStorageJob = Job & {
+ jobType: "AzureStorageJob";
+ duration?: string;
+ actionsInfo?: JobSupportedAction[];
+ errorDetails?: AzureStorageErrorInfo[];
+ storageAccountName?: string;
+ storageAccountVersion?: string;
+ extendedInfo?: AzureStorageJobExtendedInfo;
+ isUserTriggered?: boolean;
+};
+
+// @public
+export interface AzureStorageJobExtendedInfo {
+ dynamicErrorMessage?: string;
+ propertyBag?: {
+ [propertyName: string]: string;
+ };
+ tasksList?: AzureStorageJobTaskDetails[];
+}
+
+// @public
+export interface AzureStorageJobTaskDetails {
+ status?: string;
+ taskId?: string;
+}
+
+// @public
+export type AzureStorageProtectableContainer = ProtectableContainer & {
+ protectableContainerType: "StorageContainer";
+};
+
+// @public
+export type AzureVMAppContainerProtectableContainer = ProtectableContainer & {
+ protectableContainerType: "VMAppContainer";
+};
+
+// @public
+export type AzureVMAppContainerProtectionContainer = AzureWorkloadContainer & {
+ containerType: "VMAppContainer";
+};
+
+// @public
+export type AzureVMResourceFeatureSupportRequest = FeatureSupportRequest & {
+ featureType: "AzureVMResourceBackup";
+ vmSize?: string;
+ vmSku?: string;
+};
+
+// @public
+export interface AzureVMResourceFeatureSupportResponse {
+ supportStatus?: SupportStatus;
+}
+
+// @public
+export type AzureVmWorkloadItem = WorkloadItem & {
+ workloadItemType: "AzureVmWorkloadItem" | "SAPAseDatabase" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SQLDataBase" | "SQLInstance";
+ parentName?: string;
+ serverName?: string;
+ isAutoProtectable?: boolean;
+ subinquireditemcount?: number;
+ subWorkloadItemCount?: number;
+};
+
+// @public (undocumented)
+export type AzureVmWorkloadItemUnion = AzureVmWorkloadItem | AzureVmWorkloadSAPAseDatabaseWorkloadItem | AzureVmWorkloadSAPAseSystemWorkloadItem | AzureVmWorkloadSAPHanaDatabaseWorkloadItem | AzureVmWorkloadSAPHanaSystemWorkloadItem | AzureVmWorkloadSQLDatabaseWorkloadItem | AzureVmWorkloadSQLInstanceWorkloadItem;
+
+// @public
+export type AzureVmWorkloadProtectableItem = WorkloadProtectableItem & {
+ protectableItemType: "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
+ parentName?: string;
+ parentUniqueName?: string;
+ serverName?: string;
+ isAutoProtectable?: boolean;
+ isAutoProtected?: boolean;
+ subinquireditemcount?: number;
+ subprotectableitemcount?: number;
+ prebackupvalidation?: PreBackupValidation;
+};
+
+// @public (undocumented)
+export type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPAseSystemProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSQLAvailabilityGroupProtectableItem | AzureVmWorkloadSQLDatabaseProtectableItem | AzureVmWorkloadSQLInstanceProtectableItem;
+
+// @public
+export type AzureVmWorkloadProtectedItem = ProtectedItem & {
+ protectedItemType: "AzureVmWorkloadProtectedItem" | "AzureVmWorkloadSAPAseDatabase" | "AzureVmWorkloadSAPHanaDatabase" | "AzureVmWorkloadSQLDatabase";
+ friendlyName?: string;
+ serverName?: string;
+ parentName?: string;
+ parentType?: string;
+ protectionStatus?: string;
+ protectionState?: ProtectionState;
+ lastBackupStatus?: LastBackupStatus;
+ lastBackupTime?: Date;
+ lastBackupErrorDetail?: ErrorDetail;
+ protectedItemDataSourceId?: string;
+ protectedItemHealthStatus?: ProtectedItemHealthStatus;
+ extendedInfo?: AzureVmWorkloadProtectedItemExtendedInfo;
+ kpisHealths?: {
+ [propertyName: string]: KPIResourceHealthDetails;
+ };
+};
+
+// @public
+export interface AzureVmWorkloadProtectedItemExtendedInfo {
+ oldestRecoveryPoint?: Date;
+ policyState?: string;
+ recoveryModel?: string;
+ recoveryPointCount?: number;
+}
+
+// @public (undocumented)
+export type AzureVmWorkloadProtectedItemUnion = AzureVmWorkloadProtectedItem | AzureVmWorkloadSAPAseDatabaseProtectedItem | AzureVmWorkloadSAPHanaDatabaseProtectedItem | AzureVmWorkloadSQLDatabaseProtectedItem;
+
+// @public
+export type AzureVmWorkloadProtectionPolicy = ProtectionPolicy & {
+ backupManagementType: "AzureWorkload";
+ workLoadType?: WorkloadType;
+ settings?: Settings;
+ subProtectionPolicy?: SubProtectionPolicy[];
+ makePolicyConsistent?: boolean;
+};
+
+// @public
+export type AzureVmWorkloadSAPAseDatabaseProtectedItem = AzureVmWorkloadProtectedItem & {
+ protectedItemType: "AzureVmWorkloadSAPAseDatabase";
+};
+
+// @public
+export type AzureVmWorkloadSAPAseDatabaseWorkloadItem = AzureVmWorkloadItem & {
+ workloadItemType: "SAPAseDatabase";
+};
+
+// @public
+export type AzureVmWorkloadSAPAseSystemProtectableItem = AzureVmWorkloadProtectableItem & {
+ protectableItemType: "SAPAseSystem";
+};
+
+// @public
+export type AzureVmWorkloadSAPAseSystemWorkloadItem = AzureVmWorkloadItem & {
+ workloadItemType: "SAPAseSystem";
+};
+
+// @public
+export type AzureVmWorkloadSAPHanaDatabaseProtectableItem = AzureVmWorkloadProtectableItem & {
+ protectableItemType: "SAPHanaDatabase";
+};
+
+// @public
+export type AzureVmWorkloadSAPHanaDatabaseProtectedItem = AzureVmWorkloadProtectedItem & {
+ protectedItemType: "AzureVmWorkloadSAPHanaDatabase";
+};
+
+// @public
+export type AzureVmWorkloadSAPHanaDatabaseWorkloadItem = AzureVmWorkloadItem & {
+ workloadItemType: "SAPHanaDatabase";
+};
+
+// @public
+export type AzureVmWorkloadSAPHanaSystemProtectableItem = AzureVmWorkloadProtectableItem & {
+ protectableItemType: "SAPHanaSystem";
+};
+
+// @public
+export type AzureVmWorkloadSAPHanaSystemWorkloadItem = AzureVmWorkloadItem & {
+ workloadItemType: "SAPHanaSystem";
+};
+
+// @public
+export type AzureVmWorkloadSQLAvailabilityGroupProtectableItem = AzureVmWorkloadProtectableItem & {
+ protectableItemType: "SQLAvailabilityGroupContainer";
+};
+
+// @public
+export type AzureVmWorkloadSQLDatabaseProtectableItem = AzureVmWorkloadProtectableItem & {
+ protectableItemType: "SQLDataBase";
+};
+
+// @public
+export type AzureVmWorkloadSQLDatabaseProtectedItem = AzureVmWorkloadProtectedItem & {
+ protectedItemType: "AzureVmWorkloadSQLDatabase";
+};
+
+// @public
+export type AzureVmWorkloadSQLDatabaseWorkloadItem = AzureVmWorkloadItem & {
+ workloadItemType: "SQLDataBase";
+};
+
+// @public
+export type AzureVmWorkloadSQLInstanceProtectableItem = AzureVmWorkloadProtectableItem & {
+ protectableItemType: "SQLInstance";
+};
+
+// @public
+export type AzureVmWorkloadSQLInstanceWorkloadItem = AzureVmWorkloadItem & {
+ workloadItemType: "SQLInstance";
+ dataDirectoryPaths?: SQLDataDirectory[];
+};
+
+// @public
+export type AzureWorkloadAutoProtectionIntent = AzureRecoveryServiceVaultProtectionIntent & {
+ protectionIntentItemType: "AzureWorkloadAutoProtectionIntent" | "AzureWorkloadSQLAutoProtectionIntent";
+};
+
+// @public (undocumented)
+export type AzureWorkloadAutoProtectionIntentUnion = AzureWorkloadAutoProtectionIntent | AzureWorkloadSQLAutoProtectionIntent;
+
+// @public
+export type AzureWorkloadBackupRequest = BackupRequest & {
+ objectType: "AzureWorkloadBackupRequest";
+ backupType?: BackupType;
+ enableCompression?: boolean;
+ recoveryPointExpiryTimeInUTC?: Date;
+};
+
+// @public
+export type AzureWorkloadContainer = ProtectionContainer & {
+ containerType: "AzureWorkloadContainer" | "SQLAGWorkLoadContainer" | "VMAppContainer";
+ sourceResourceId?: string;
+ lastUpdatedTime?: Date;
+ extendedInfo?: AzureWorkloadContainerExtendedInfo;
+ workloadType?: WorkloadType;
+ operationType?: OperationType;
+};
+
+// @public
+export type AzureWorkloadContainerAutoProtectionIntent = ProtectionIntent & {
+ protectionIntentItemType: "AzureWorkloadContainerAutoProtectionIntent";
+};
+
+// @public
+export interface AzureWorkloadContainerExtendedInfo {
+ hostServerName?: string;
+ inquiryInfo?: InquiryInfo;
+ nodesList?: DistributedNodesInfo[];
+}
+
+// @public (undocumented)
+export type AzureWorkloadContainerUnion = AzureWorkloadContainer | AzureSqlagWorkloadContainerProtectionContainer | AzureVMAppContainerProtectionContainer;
+
+// @public
+export interface AzureWorkloadErrorInfo {
+ additionalDetails?: string;
+ errorCode?: number;
+ errorString?: string;
+ errorTitle?: string;
+ recommendations?: string[];
+}
+
+// @public
+export type AzureWorkloadJob = Job & {
+ jobType: "AzureWorkloadJob";
+ workloadType?: string;
+ duration?: string;
+ actionsInfo?: JobSupportedAction[];
+ errorDetails?: AzureWorkloadErrorInfo[];
+ extendedInfo?: AzureWorkloadJobExtendedInfo;
+};
+
+// @public
+export interface AzureWorkloadJobExtendedInfo {
+ dynamicErrorMessage?: string;
+ propertyBag?: {
+ [propertyName: string]: string;
+ };
+ tasksList?: AzureWorkloadJobTaskDetails[];
+}
+
+// @public
+export interface AzureWorkloadJobTaskDetails {
+ status?: string;
+ taskId?: string;
+}
+
+// @public
+export type AzureWorkloadPointInTimeRecoveryPoint = AzureWorkloadRecoveryPoint & {
+ objectType: "AzureWorkloadPointInTimeRecoveryPoint" | "AzureWorkloadSAPHanaPointInTimeRecoveryPoint";
+ timeRanges?: PointInTimeRange[];
+};
+
+// @public (undocumented)
+export type AzureWorkloadPointInTimeRecoveryPointUnion = AzureWorkloadPointInTimeRecoveryPoint | AzureWorkloadSAPHanaPointInTimeRecoveryPoint;
+
+// @public
+export type AzureWorkloadPointInTimeRestoreRequest = AzureWorkloadRestoreRequest & {
+ objectType: "AzureWorkloadPointInTimeRestoreRequest";
+ pointInTime?: Date;
+};
+
+// @public
+export type AzureWorkloadRecoveryPoint = RecoveryPoint & {
+ objectType: "AzureWorkloadRecoveryPoint" | "AzureWorkloadPointInTimeRecoveryPoint" | "AzureWorkloadSAPHanaPointInTimeRecoveryPoint" | "AzureWorkloadSAPHanaRecoveryPoint" | "AzureWorkloadSQLRecoveryPoint" | "AzureWorkloadSQLPointInTimeRecoveryPoint";
+ recoveryPointTimeInUTC?: Date;
+ type?: RestorePointType;
+ recoveryPointTierDetails?: RecoveryPointTierInformationV2[];
+ recoveryPointMoveReadinessInfo?: {
+ [propertyName: string]: RecoveryPointMoveReadinessInfo;
+ };
+};
+
+// @public (undocumented)
+export type AzureWorkloadRecoveryPointUnion = AzureWorkloadRecoveryPoint | AzureWorkloadPointInTimeRecoveryPointUnion | AzureWorkloadSAPHanaRecoveryPoint | AzureWorkloadSQLRecoveryPointUnion;
+
+// @public
+export type AzureWorkloadRestoreRequest = RestoreRequest & {
+ objectType: "AzureWorkloadRestoreRequest" | "AzureWorkloadPointInTimeRestoreRequest" | "AzureWorkloadSAPHanaRestoreRequest" | "AzureWorkloadSAPHanaPointInTimeRestoreRequest" | "AzureWorkloadSQLRestoreRequest" | "AzureWorkloadSQLPointInTimeRestoreRequest" | "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest" | "AzureWorkloadSAPHanaRestoreWithRehydrateRequest" | "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest" | "AzureWorkloadSQLRestoreWithRehydrateRequest";
+ recoveryType?: RecoveryType;
+ sourceResourceId?: string;
+ propertyBag?: {
+ [propertyName: string]: string;
+ };
+ targetInfo?: TargetRestoreInfo;
+ recoveryMode?: RecoveryMode;
+ targetVirtualMachineId?: string;
+};
+
+// @public (undocumented)
+export type AzureWorkloadRestoreRequestUnion = AzureWorkloadRestoreRequest | AzureWorkloadPointInTimeRestoreRequest | AzureWorkloadSAPHanaRestoreRequestUnion | AzureWorkloadSQLRestoreRequestUnion;
+
+// @public
+export type AzureWorkloadSAPHanaPointInTimeRecoveryPoint = AzureWorkloadPointInTimeRecoveryPoint & {
+ objectType: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint";
+};
+
+// @public
+export type AzureWorkloadSAPHanaPointInTimeRestoreRequest = AzureWorkloadSAPHanaRestoreRequest & {
+ objectType: "AzureWorkloadSAPHanaPointInTimeRestoreRequest" | "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest";
+ pointInTime?: Date;
+};
+
+// @public (undocumented)
+export type AzureWorkloadSAPHanaPointInTimeRestoreRequestUnion = AzureWorkloadSAPHanaPointInTimeRestoreRequest | AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest;
+
+// @public
+export type AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest = AzureWorkloadSAPHanaPointInTimeRestoreRequest & {
+ objectType: "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest";
+ recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
+};
+
+// @public
+export type AzureWorkloadSAPHanaRecoveryPoint = AzureWorkloadRecoveryPoint & {
+ objectType: "AzureWorkloadSAPHanaRecoveryPoint";
+};
+
+// @public
+export type AzureWorkloadSAPHanaRestoreRequest = AzureWorkloadRestoreRequest & {
+ objectType: "AzureWorkloadSAPHanaRestoreRequest" | "AzureWorkloadSAPHanaPointInTimeRestoreRequest" | "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest" | "AzureWorkloadSAPHanaRestoreWithRehydrateRequest";
+};
+
+// @public (undocumented)
+export type AzureWorkloadSAPHanaRestoreRequestUnion = AzureWorkloadSAPHanaRestoreRequest | AzureWorkloadSAPHanaPointInTimeRestoreRequestUnion | AzureWorkloadSAPHanaRestoreWithRehydrateRequest;
+
+// @public
+export type AzureWorkloadSAPHanaRestoreWithRehydrateRequest = AzureWorkloadSAPHanaRestoreRequest & {
+ objectType: "AzureWorkloadSAPHanaRestoreWithRehydrateRequest";
+ recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
+};
+
+// @public
+export type AzureWorkloadSQLAutoProtectionIntent = AzureWorkloadAutoProtectionIntent & {
+ protectionIntentItemType: "AzureWorkloadSQLAutoProtectionIntent";
+ workloadItemType?: WorkloadItemType;
+};
+
+// @public
+export type AzureWorkloadSQLPointInTimeRecoveryPoint = AzureWorkloadSQLRecoveryPoint & {
+ objectType: "AzureWorkloadSQLPointInTimeRecoveryPoint";
+ timeRanges?: PointInTimeRange[];
+};
+
+// @public
+export type AzureWorkloadSQLPointInTimeRestoreRequest = AzureWorkloadSQLRestoreRequest & {
+ objectType: "AzureWorkloadSQLPointInTimeRestoreRequest" | "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest";
+ pointInTime?: Date;
+};
+
+// @public (undocumented)
+export type AzureWorkloadSQLPointInTimeRestoreRequestUnion = AzureWorkloadSQLPointInTimeRestoreRequest | AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest;
+
+// @public
+export type AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest = AzureWorkloadSQLPointInTimeRestoreRequest & {
+ objectType: "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest";
+ recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
+};
+
+// @public
+export type AzureWorkloadSQLRecoveryPoint = AzureWorkloadRecoveryPoint & {
+ objectType: "AzureWorkloadSQLRecoveryPoint" | "AzureWorkloadSQLPointInTimeRecoveryPoint";
+ extendedInfo?: AzureWorkloadSQLRecoveryPointExtendedInfo;
+};
+
+// @public
+export interface AzureWorkloadSQLRecoveryPointExtendedInfo {
+ dataDirectoryPaths?: SQLDataDirectory[];
+ dataDirectoryTimeInUTC?: Date;
+}
+
+// @public (undocumented)
+export type AzureWorkloadSQLRecoveryPointUnion = AzureWorkloadSQLRecoveryPoint | AzureWorkloadSQLPointInTimeRecoveryPoint;
+
+// @public
+export type AzureWorkloadSQLRestoreRequest = AzureWorkloadRestoreRequest & {
+ objectType: "AzureWorkloadSQLRestoreRequest" | "AzureWorkloadSQLPointInTimeRestoreRequest" | "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest" | "AzureWorkloadSQLRestoreWithRehydrateRequest";
+ shouldUseAlternateTargetLocation?: boolean;
+ isNonRecoverable?: boolean;
+ alternateDirectoryPaths?: SQLDataDirectoryMapping[];
+};
+
+// @public (undocumented)
+export type AzureWorkloadSQLRestoreRequestUnion = AzureWorkloadSQLRestoreRequest | AzureWorkloadSQLPointInTimeRestoreRequestUnion | AzureWorkloadSQLRestoreWithRehydrateRequest;
+
+// @public
+export type AzureWorkloadSQLRestoreWithRehydrateRequest = AzureWorkloadSQLRestoreRequest & {
+ objectType: "AzureWorkloadSQLRestoreWithRehydrateRequest";
+ recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
+};
+
+// @public
+export interface BackupEngineBase {
+ azureBackupAgentVersion?: string;
+ backupEngineId?: string;
+ backupEngineState?: string;
+ backupEngineType: "AzureBackupServerEngine" | "DpmBackupEngine";
+ backupManagementType?: BackupManagementType;
+ canReRegister?: boolean;
+ dpmVersion?: string;
+ extendedInfo?: BackupEngineExtendedInfo;
+ friendlyName?: string;
+ healthStatus?: string;
+ isAzureBackupAgentUpgradeAvailable?: boolean;
+ isDpmUpgradeAvailable?: boolean;
+ registrationStatus?: string;
+}
+
+// @public
+export type BackupEngineBaseResource = Resource & {
+ properties?: BackupEngineBaseUnion;
+};
+
+// @public
+export type BackupEngineBaseResourceList = ResourceList & {
+ value?: BackupEngineBaseResource[];
+};
+
+// @public (undocumented)
+export type BackupEngineBaseUnion = BackupEngineBase | AzureBackupServerEngine | DpmBackupEngine;
+
+// @public
+export interface BackupEngineExtendedInfo {
+ availableDiskSpace?: number;
+ azureProtectedInstances?: number;
+ databaseName?: string;
+ diskCount?: number;
+ protectedItemsCount?: number;
+ protectedServersCount?: number;
+ refreshedAt?: Date;
+ usedDiskSpace?: number;
+}
+
+// @public
+export interface BackupEngines {
+ get(vaultName: string, resourceGroupName: string, backupEngineName: string, options?: BackupEnginesGetOptionalParams): Promise;
+ list(vaultName: string, resourceGroupName: string, options?: BackupEnginesListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface BackupEnginesGetOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupEnginesGetResponse = BackupEngineBaseResource;
+
+// @public
+export interface BackupEnginesListNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupEnginesListNextResponse = BackupEngineBaseResourceList;
+
+// @public
+export interface BackupEnginesListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupEnginesListResponse = BackupEngineBaseResourceList;
+
+// @public
+export type BackupEngineType = string;
+
+// @public
+export type BackupItemType = string;
+
+// @public
+export interface BackupJobs {
+ list(vaultName: string, resourceGroupName: string, options?: BackupJobsListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface BackupJobsListNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupJobsListNextResponse = JobResourceList;
+
+// @public
+export interface BackupJobsListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupJobsListResponse = JobResourceList;
+
+// @public
+export type BackupManagementType = string;
+
+// @public
+export interface BackupManagementUsage {
+ currentValue?: number;
+ limit?: number;
+ name?: NameInfo;
+ nextResetTime?: Date;
+ quotaPeriod?: string;
+ unit?: UsagesUnit;
+}
+
+// @public
+export interface BackupManagementUsageList {
+ value?: BackupManagementUsage[];
+}
+
+// @public
+export interface BackupOperationResults {
+ get(vaultName: string, resourceGroupName: string, operationId: string, options?: BackupOperationResultsGetOptionalParams): Promise;
+}
+
+// @public
+export interface BackupOperationResultsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface BackupOperationStatuses {
+ get(vaultName: string, resourceGroupName: string, operationId: string, options?: BackupOperationStatusesGetOptionalParams): Promise;
+}
+
+// @public
+export interface BackupOperationStatusesGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type BackupOperationStatusesGetResponse = OperationStatus;
+
+// @public
+export interface BackupPolicies {
+ list(vaultName: string, resourceGroupName: string, options?: BackupPoliciesListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface BackupPoliciesListNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export type BackupPoliciesListNextResponse = ProtectionPolicyResourceList;
+
+// @public
+export interface BackupPoliciesListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export type BackupPoliciesListResponse = ProtectionPolicyResourceList;
+
+// @public
+export interface BackupProtectableItems {
+ list(vaultName: string, resourceGroupName: string, options?: BackupProtectableItemsListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface BackupProtectableItemsListNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupProtectableItemsListNextResponse = WorkloadProtectableItemResourceList;
+
+// @public
+export interface BackupProtectableItemsListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupProtectableItemsListResponse = WorkloadProtectableItemResourceList;
+
+// @public
+export interface BackupProtectedItems {
+ list(vaultName: string, resourceGroupName: string, options?: BackupProtectedItemsListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface BackupProtectedItemsListNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupProtectedItemsListNextResponse = ProtectedItemResourceList;
+
+// @public
+export interface BackupProtectedItemsListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupProtectedItemsListResponse = ProtectedItemResourceList;
+
+// @public
+export interface BackupProtectionContainers {
+ list(vaultName: string, resourceGroupName: string, options?: BackupProtectionContainersListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface BackupProtectionContainersListNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export type BackupProtectionContainersListNextResponse = ProtectionContainerResourceList;
+
+// @public
+export interface BackupProtectionContainersListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export type BackupProtectionContainersListResponse = ProtectionContainerResourceList;
+
+// @public
+export interface BackupProtectionIntent {
+ list(vaultName: string, resourceGroupName: string, options?: BackupProtectionIntentListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface BackupProtectionIntentListNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupProtectionIntentListNextResponse = ProtectionIntentResourceList;
+
+// @public
+export interface BackupProtectionIntentListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupProtectionIntentListResponse = ProtectionIntentResourceList;
+
+// @public
+export interface BackupRequest {
+ objectType: "AzureFileShareBackupRequest" | "AzureWorkloadBackupRequest" | "IaasVMBackupRequest";
+}
+
+// @public
+export type BackupRequestResource = Resource & {
+ properties?: BackupRequestUnion;
+};
+
+// @public (undocumented)
+export type BackupRequestUnion = BackupRequest | AzureFileShareBackupRequest | AzureWorkloadBackupRequest | IaasVMBackupRequest;
+
+// @public
+export interface BackupResourceConfig {
+ crossRegionRestoreFlag?: boolean;
+ dedupState?: DedupState;
+ storageModelType?: StorageType;
+ storageType?: StorageType;
+ storageTypeState?: StorageTypeState;
+ xcoolState?: XcoolState;
+}
+
+// @public
+export type BackupResourceConfigResource = Resource & {
+ properties?: BackupResourceConfig;
+};
+
+// @public (undocumented)
+export interface BackupResourceEncryptionConfig {
+ encryptionAtRestType?: EncryptionAtRestType;
+ // (undocumented)
+ infrastructureEncryptionState?: InfrastructureEncryptionState;
+ keyUri?: string;
+ // (undocumented)
+ lastUpdateStatus?: LastUpdateStatus;
+ subscriptionId?: string;
+}
+
+// @public (undocumented)
+export type BackupResourceEncryptionConfigExtended = BackupResourceEncryptionConfig & {
+ userAssignedIdentity?: string;
+ useSystemAssignedIdentity?: boolean;
+};
+
+// @public (undocumented)
+export type BackupResourceEncryptionConfigExtendedResource = Resource & {
+ properties?: BackupResourceEncryptionConfigExtended;
+};
+
+// @public (undocumented)
+export type BackupResourceEncryptionConfigResource = Resource & {
+ properties?: BackupResourceEncryptionConfig;
+};
+
+// @public
+export interface BackupResourceEncryptionConfigs {
+ get(vaultName: string, resourceGroupName: string, options?: BackupResourceEncryptionConfigsGetOptionalParams): Promise;
+ update(vaultName: string, resourceGroupName: string, parameters: BackupResourceEncryptionConfigResource, options?: BackupResourceEncryptionConfigsUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface BackupResourceEncryptionConfigsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type BackupResourceEncryptionConfigsGetResponse = BackupResourceEncryptionConfigExtendedResource;
+
+// @public
+export interface BackupResourceEncryptionConfigsUpdateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface BackupResourceStorageConfigsNonCRR {
+ get(vaultName: string, resourceGroupName: string, options?: BackupResourceStorageConfigsNonCRRGetOptionalParams): Promise;
+ patch(vaultName: string, resourceGroupName: string, parameters: BackupResourceConfigResource, options?: BackupResourceStorageConfigsNonCRRPatchOptionalParams): Promise;
+ update(vaultName: string, resourceGroupName: string, parameters: BackupResourceConfigResource, options?: BackupResourceStorageConfigsNonCRRUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface BackupResourceStorageConfigsNonCRRGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type BackupResourceStorageConfigsNonCRRGetResponse = BackupResourceConfigResource;
+
+// @public
+export interface BackupResourceStorageConfigsNonCRRPatchOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface BackupResourceStorageConfigsNonCRRUpdateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type BackupResourceStorageConfigsNonCRRUpdateResponse = BackupResourceConfigResource;
+
+// @public
+export interface BackupResourceVaultConfig {
+ enhancedSecurityState?: EnhancedSecurityState;
+ isSoftDeleteFeatureStateEditable?: boolean;
+ resourceGuardOperationRequests?: string[];
+ softDeleteFeatureState?: SoftDeleteFeatureState;
+ storageModelType?: StorageType;
+ storageType?: StorageType;
+ storageTypeState?: StorageTypeState;
+}
+
+// @public
+export type BackupResourceVaultConfigResource = Resource & {
+ properties?: BackupResourceVaultConfig;
+};
+
+// @public
+export interface BackupResourceVaultConfigs {
+ get(vaultName: string, resourceGroupName: string, options?: BackupResourceVaultConfigsGetOptionalParams): Promise;
+ put(vaultName: string, resourceGroupName: string, parameters: BackupResourceVaultConfigResource, options?: BackupResourceVaultConfigsPutOptionalParams): Promise;
+ update(vaultName: string, resourceGroupName: string, parameters: BackupResourceVaultConfigResource, options?: BackupResourceVaultConfigsUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface BackupResourceVaultConfigsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type BackupResourceVaultConfigsGetResponse = BackupResourceVaultConfigResource;
+
+// @public
+export interface BackupResourceVaultConfigsPutOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type BackupResourceVaultConfigsPutResponse = BackupResourceVaultConfigResource;
+
+// @public
+export interface BackupResourceVaultConfigsUpdateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type BackupResourceVaultConfigsUpdateResponse = BackupResourceVaultConfigResource;
+
+// @public
+export interface Backups {
+ trigger(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, parameters: BackupRequestResource, options?: BackupsTriggerOptionalParams): Promise;
+}
+
+// @public
+export interface BackupStatus {
+ get(azureRegion: string, parameters: BackupStatusRequest, options?: BackupStatusGetOptionalParams): Promise;
+}
+
+// @public
+export interface BackupStatusGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type BackupStatusGetResponse = BackupStatusResponse;
+
+// @public
+export interface BackupStatusRequest {
+ poLogicalName?: string;
+ resourceId?: string;
+ resourceType?: DataSourceType;
+}
+
+// @public
+export interface BackupStatusResponse {
+ containerName?: string;
+ errorCode?: string;
+ errorMessage?: string;
+ fabricName?: FabricName;
+ policyName?: string;
+ protectedItemName?: string;
+ protectionStatus?: ProtectionStatus;
+ registrationStatus?: string;
+ vaultId?: string;
+}
+
+// @public
+export interface BackupsTriggerOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type BackupType = string;
+
+// @public
+export interface BackupUsageSummaries {
+ list(vaultName: string, resourceGroupName: string, options?: BackupUsageSummariesListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface BackupUsageSummariesListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupUsageSummariesListResponse = BackupManagementUsageList;
+
+// @public
+export interface BackupWorkloadItems {
+ list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: BackupWorkloadItemsListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface BackupWorkloadItemsListNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupWorkloadItemsListNextResponse = WorkloadItemResourceList;
+
+// @public
+export interface BackupWorkloadItemsListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ skipToken?: string;
+}
+
+// @public
+export type BackupWorkloadItemsListResponse = WorkloadItemResourceList;
+
+// @public
+export interface BEKDetails {
+ secretData?: string;
+ secretUrl?: string;
+ secretVaultId?: string;
+}
+
+// @public
+export interface BMSBackupEngineQueryObject {
+ expand?: string;
+}
+
+// @public
+export interface BMSBackupEnginesQueryObject {
+ backupManagementType?: BackupManagementType;
+ expand?: string;
+ friendlyName?: string;
+}
+
+// @public
+export interface BMSBackupSummariesQueryObject {
+ type?: Type;
+}
+
+// @public
+export interface BMSContainerQueryObject {
+ backupEngineName?: string;
+ backupManagementType: BackupManagementType;
+ containerType?: ContainerType;
+ fabricName?: string;
+ friendlyName?: string;
+ status?: string;
+}
+
+// @public
+export interface BMSContainersInquiryQueryObject {
+ backupManagementType?: BackupManagementType;
+ workloadType?: WorkloadType;
+}
+
+// @public
+export interface BmspoQueryObject {
+ backupManagementType?: BackupManagementType;
+ containerName?: string;
+ friendlyName?: string;
+ status?: string;
+ workloadType?: WorkloadType;
+}
+
+// @public
+export interface BMSPrepareDataMoveOperationResult {
+ get(vaultName: string, resourceGroupName: string, operationId: string, options?: BMSPrepareDataMoveOperationResultGetOptionalParams): Promise;
+}
+
+// @public
+export interface BMSPrepareDataMoveOperationResultGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type BMSPrepareDataMoveOperationResultGetResponse = VaultStorageConfigOperationResultResponseUnion;
+
+// @public
+export interface BMSPrepareDataMoveOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface BMSRefreshContainersQueryObject {
+ backupManagementType?: BackupManagementType;
+}
+
+// @public
+export interface BmsrpQueryObject {
+ endDate?: Date;
+ extendedInfo?: boolean;
+ moveReadyRPOnly?: boolean;
+ restorePointQueryType?: RestorePointQueryType;
+ startDate?: Date;
+}
+
+// @public
+export interface BMSTriggerDataMoveOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface BMSWorkloadItemQueryObject {
+ backupManagementType?: BackupManagementType;
+ protectionStatus?: ProtectionStatus;
+ workloadItemType?: WorkloadItemType;
+ workloadType?: WorkloadType;
+}
+
+// @public
+export interface ClientDiscoveryDisplay {
+ description?: string;
+ operation?: string;
+ provider?: string;
+ resource?: string;
+}
+
+// @public
+export interface ClientDiscoveryForLogSpecification {
+ blobDuration?: string;
+ displayName?: string;
+ name?: string;
+}
+
+// @public
+export interface ClientDiscoveryForProperties {
+ serviceSpecification?: ClientDiscoveryForServiceSpecification;
+}
+
+// @public
+export interface ClientDiscoveryForServiceSpecification {
+ logSpecifications?: ClientDiscoveryForLogSpecification[];
+}
+
+// @public
+export interface ClientDiscoveryResponse {
+ nextLink?: string;
+ value?: ClientDiscoveryValueForSingleApi[];
+}
+
+// @public
+export interface ClientDiscoveryValueForSingleApi {
+ display?: ClientDiscoveryDisplay;
+ name?: string;
+ origin?: string;
+ properties?: ClientDiscoveryForProperties;
+}
+
+// @public
+export interface ClientScriptForConnect {
+ osType?: string;
+ scriptContent?: string;
+ scriptExtension?: string;
+ scriptNameSuffix?: string;
+ url?: string;
+}
+
+// @public
+export interface CloudError {
+ error?: CloudErrorBody;
+}
+
+// @public
+export interface CloudErrorBody {
+ readonly additionalInfo?: ErrorAdditionalInfo[];
+ readonly code?: string;
+ readonly details?: CloudErrorBody[];
+ readonly message?: string;
+ readonly target?: string;
+}
+
+// @public
+export interface ContainerIdentityInfo {
+ aadTenantId?: string;
+ audience?: string;
+ servicePrincipalClientId?: string;
+ uniqueName?: string;
+}
+
+// @public
+export type ContainerType = string;
+
+// @public
+export type CopyOptions = string;
+
+// @public
+export type CreateMode = string;
+
+// @public
+export interface DailyRetentionFormat {
+ daysOfTheMonth?: Day[];
+}
+
+// @public
+export interface DailyRetentionSchedule {
+ retentionDuration?: RetentionDuration;
+ retentionTimes?: Date[];
+}
+
+// @public
+export type DataMoveLevel = string;
+
+// @public
+export type DataSourceType = string;
+
+// @public
+export interface Day {
+ date?: number;
+ isLast?: boolean;
+}
+
+// @public
+export type DayOfWeek = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
+
+// @public
+export type DedupState = string;
+
+// @public (undocumented)
+export interface DiskExclusionProperties {
+ diskLunList?: number[];
+ isInclusionList?: boolean;
+}
+
+// @public
+export interface DiskInformation {
+ // (undocumented)
+ lun?: number;
+ // (undocumented)
+ name?: string;
+}
+
+// @public
+export interface DistributedNodesInfo {
+ errorDetail?: ErrorDetail;
+ nodeName?: string;
+ status?: string;
+}
+
+// @public
+export type DpmBackupEngine = BackupEngineBase & {
+ backupEngineType: "DpmBackupEngine";
+};
+
+// @public
+export type DpmContainer = ProtectionContainer & {
+ containerType: "DPMContainer" | "AzureBackupServerContainer";
+ canReRegister?: boolean;
+ containerId?: string;
+ protectedItemCount?: number;
+ dpmAgentVersion?: string;
+ dpmServers?: string[];
+ upgradeAvailable?: boolean;
+ protectionStatus?: string;
+ extendedInfo?: DPMContainerExtendedInfo;
+};
+
+// @public
+export interface DPMContainerExtendedInfo {
+ lastRefreshedAt?: Date;
+}
+
+// @public (undocumented)
+export type DpmContainerUnion = DpmContainer | AzureBackupServerContainer;
+
+// @public
+export interface DpmErrorInfo {
+ errorString?: string;
+ recommendations?: string[];
+}
+
+// @public
+export type DpmJob = Job & {
+ jobType: "DpmJob";
+ duration?: string;
+ dpmServerName?: string;
+ containerName?: string;
+ containerType?: string;
+ workloadType?: string;
+ actionsInfo?: JobSupportedAction[];
+ errorDetails?: DpmErrorInfo[];
+ extendedInfo?: DpmJobExtendedInfo;
+};
+
+// @public
+export interface DpmJobExtendedInfo {
+ dynamicErrorMessage?: string;
+ propertyBag?: {
+ [propertyName: string]: string;
+ };
+ tasksList?: DpmJobTaskDetails[];
+}
+
+// @public
+export interface DpmJobTaskDetails {
+ duration?: string;
+ endTime?: Date;
+ startTime?: Date;
+ status?: string;
+ taskId?: string;
+}
+
+// @public
+export type DPMProtectedItem = ProtectedItem & {
+ protectedItemType: "DPMProtectedItem";
+ friendlyName?: string;
+ backupEngineName?: string;
+ protectionState?: ProtectedItemState;
+ extendedInfo?: DPMProtectedItemExtendedInfo;
+};
+
+// @public
+export interface DPMProtectedItemExtendedInfo {
+ diskStorageUsedInBytes?: string;
+ isCollocated?: boolean;
+ isPresentOnCloud?: boolean;
+ lastBackupStatus?: string;
+ lastRefreshedAt?: Date;
+ oldestRecoveryPoint?: Date;
+ onPremiseLatestRecoveryPoint?: Date;
+ onPremiseOldestRecoveryPoint?: Date;
+ onPremiseRecoveryPointCount?: number;
+ protectableObjectLoadPath?: {
+ [propertyName: string]: string;
+ };
+ protected?: boolean;
+ protectionGroupName?: string;
+ recoveryPointCount?: number;
+ totalDiskStorageSizeInBytes?: string;
+}
+
+// @public
+export type EncryptionAtRestType = string;
+
+// @public
+export interface EncryptionDetails {
+ encryptionEnabled?: boolean;
+ kekUrl?: string;
+ kekVaultId?: string;
+ secretKeyUrl?: string;
+ secretKeyVaultId?: string;
+}
+
+// @public
+export type EnhancedSecurityState = string;
+
+// @public
+export interface ErrorAdditionalInfo {
+ readonly info?: Record;
+ readonly type?: string;
+}
+
+// @public
+export interface ErrorDetail {
+ readonly code?: string;
+ readonly message?: string;
+ readonly recommendations?: string[];
+}
+
+// @public
+export type ExportJobsOperationResultInfo = OperationResultInfoBase & {
+ objectType: "ExportJobsOperationResultInfo";
+ blobUrl?: string;
+ blobSasKey?: string;
+ excelFileBlobUrl?: string;
+ excelFileBlobSasKey?: string;
+};
+
+// @public
+export interface ExportJobsOperationResults {
+ get(vaultName: string, resourceGroupName: string, operationId: string, options?: ExportJobsOperationResultsGetOptionalParams): Promise;
+}
+
+// @public
+export interface ExportJobsOperationResultsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ExportJobsOperationResultsGetResponse = OperationResultInfoBaseResource;
+
+// @public
+export interface ExtendedProperties {
+ diskExclusionProperties?: DiskExclusionProperties;
+ linuxVmApplicationName?: string;
+}
+
+// @public
+export type FabricName = string;
+
+// @public
+export interface FeatureSupport {
+ validate(azureRegion: string, parameters: FeatureSupportRequestUnion, options?: FeatureSupportValidateOptionalParams): Promise;
+}
+
+// @public
+export interface FeatureSupportRequest {
+ featureType: "AzureBackupGoals" | "AzureVMResourceBackup";
+}
+
+// @public (undocumented)
+export type FeatureSupportRequestUnion = FeatureSupportRequest | AzureBackupGoalFeatureSupportRequest | AzureVMResourceFeatureSupportRequest;
+
+// @public
+export interface FeatureSupportValidateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type FeatureSupportValidateResponse = AzureVMResourceFeatureSupportResponse;
+
+// @public
+export type GenericContainer = ProtectionContainer & {
+ containerType: "GenericContainer";
+ fabricName?: string;
+ extendedInformation?: GenericContainerExtendedInfo;
+};
+
+// @public
+export interface GenericContainerExtendedInfo {
+ containerIdentityInfo?: ContainerIdentityInfo;
+ rawCertData?: string;
+ serviceEndpoints?: {
+ [propertyName: string]: string;
+ };
+}
+
+// @public
+export type GenericProtectedItem = ProtectedItem & {
+ protectedItemType: "GenericProtectedItem";
+ friendlyName?: string;
+ policyState?: string;
+ protectionState?: ProtectionState;
+ protectedItemId?: number;
+ sourceAssociations?: {
+ [propertyName: string]: string;
+ };
+ fabricName?: string;
+};
+
+// @public
+export type GenericProtectionPolicy = ProtectionPolicy & {
+ backupManagementType: "GenericProtectionPolicy";
+ subProtectionPolicy?: SubProtectionPolicy[];
+ timeZone?: string;
+ fabricName?: string;
+};
+
+// @public
+export type GenericRecoveryPoint = RecoveryPoint & {
+ objectType: "GenericRecoveryPoint";
+ friendlyName?: string;
+ recoveryPointType?: string;
+ recoveryPointTime?: Date;
+ recoveryPointAdditionalInfo?: string;
+};
+
+// @public
+export interface GetOperationStatusOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type GetOperationStatusResponse = OperationStatus;
+
+// @public
+export interface GetProtectedItemQueryObject {
+ expand?: string;
+}
+
+// @public
+export type HealthState = string;
+
+// @public
+export type HealthStatus = string;
+
+// @public (undocumented)
+export interface HourlySchedule {
+ interval?: number;
+ scheduleWindowDuration?: number;
+ scheduleWindowStartTime?: Date;
+}
+
+// @public
+export type HttpStatusCode = "Continue" | "SwitchingProtocols" | "OK" | "Created" | "Accepted" | "NonAuthoritativeInformation" | "NoContent" | "ResetContent" | "PartialContent" | "MultipleChoices" | "Ambiguous" | "MovedPermanently" | "Moved" | "Found" | "Redirect" | "SeeOther" | "RedirectMethod" | "NotModified" | "UseProxy" | "Unused" | "TemporaryRedirect" | "RedirectKeepVerb" | "BadRequest" | "Unauthorized" | "PaymentRequired" | "Forbidden" | "NotFound" | "MethodNotAllowed" | "NotAcceptable" | "ProxyAuthenticationRequired" | "RequestTimeout" | "Conflict" | "Gone" | "LengthRequired" | "PreconditionFailed" | "RequestEntityTooLarge" | "RequestUriTooLong" | "UnsupportedMediaType" | "RequestedRangeNotSatisfiable" | "ExpectationFailed" | "UpgradeRequired" | "InternalServerError" | "NotImplemented" | "BadGateway" | "ServiceUnavailable" | "GatewayTimeout" | "HttpVersionNotSupported";
+
+// @public
+export type IaasVMBackupRequest = BackupRequest & {
+ objectType: "IaasVMBackupRequest";
+ recoveryPointExpiryTimeInUTC?: Date;
+};
+
+// @public
+export type IaaSVMContainer = ProtectionContainer & {
+ containerType: "IaaSVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines";
+ virtualMachineId?: string;
+ virtualMachineVersion?: string;
+ resourceGroup?: string;
+};
+
+// @public (undocumented)
+export type IaaSVMContainerUnion = IaaSVMContainer | AzureIaaSClassicComputeVMContainer | AzureIaaSComputeVMContainer;
+
+// @public
+export type IaasVmilrRegistrationRequest = ILRRequest & {
+ objectType: "IaasVMILRRegistrationRequest";
+ recoveryPointId?: string;
+ virtualMachineId?: string;
+ initiatorName?: string;
+ renewExistingRegistration?: boolean;
+};
+
+// @public
+export type IaaSVMProtectableItem = WorkloadProtectableItem & {
+ protectableItemType: "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines";
+ virtualMachineId?: string;
+ virtualMachineVersion?: string;
+ resourceGroup?: string;
+};
+
+// @public (undocumented)
+export type IaaSVMProtectableItemUnion = IaaSVMProtectableItem | AzureIaaSClassicComputeVMProtectableItem | AzureIaaSComputeVMProtectableItem;
+
+// @public
+export type IaasVMRecoveryPoint = RecoveryPoint & {
+ objectType: "IaasVMRecoveryPoint";
+ recoveryPointType?: string;
+ recoveryPointTime?: Date;
+ recoveryPointAdditionalInfo?: string;
+ sourceVMStorageType?: string;
+ isSourceVMEncrypted?: boolean;
+ keyAndSecret?: KeyAndSecretDetails;
+ isInstantIlrSessionActive?: boolean;
+ recoveryPointTierDetails?: RecoveryPointTierInformationV2[];
+ isManagedVirtualMachine?: boolean;
+ virtualMachineSize?: string;
+ originalStorageAccountOption?: boolean;
+ osType?: string;
+ recoveryPointDiskConfiguration?: RecoveryPointDiskConfiguration;
+ zones?: string[];
+ recoveryPointMoveReadinessInfo?: {
+ [propertyName: string]: RecoveryPointMoveReadinessInfo;
+ };
+};
+
+// @public
+export type IaasVMRestoreRequest = RestoreRequest & {
+ objectType: "IaasVMRestoreRequest" | "IaasVMRestoreWithRehydrationRequest";
+ recoveryPointId?: string;
+ recoveryType?: RecoveryType;
+ sourceResourceId?: string;
+ targetVirtualMachineId?: string;
+ targetResourceGroupId?: string;
+ storageAccountId?: string;
+ virtualNetworkId?: string;
+ subnetId?: string;
+ targetDomainNameId?: string;
+ region?: string;
+ affinityGroup?: string;
+ createNewCloudService?: boolean;
+ originalStorageAccountOption?: boolean;
+ encryptionDetails?: EncryptionDetails;
+ restoreDiskLunList?: number[];
+ restoreWithManagedDisks?: boolean;
+ diskEncryptionSetId?: string;
+ zones?: string[];
+ identityInfo?: IdentityInfo;
+ identityBasedRestoreDetails?: IdentityBasedRestoreDetails;
+};
+
+// @public (undocumented)
+export type IaasVMRestoreRequestUnion = IaasVMRestoreRequest | IaasVMRestoreWithRehydrationRequest;
+
+// @public
+export type IaasVMRestoreWithRehydrationRequest = IaasVMRestoreRequest & {
+ objectType: "IaasVMRestoreWithRehydrationRequest";
+ recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
+};
+
+// @public
+export interface IdentityBasedRestoreDetails {
+ objectType?: string;
+ targetStorageAccountId?: string;
+}
+
+// @public
+export interface IdentityInfo {
+ isSystemAssignedIdentity?: boolean;
+ managedIdentityResourceId?: string;
+}
+
+// @public
+export interface ILRRequest {
+ objectType: "AzureFileShareProvisionILRRequest" | "IaasVMILRRegistrationRequest";
+}
+
+// @public
+export type ILRRequestResource = Resource & {
+ properties?: ILRRequestUnion;
+};
+
+// @public (undocumented)
+export type ILRRequestUnion = ILRRequest | AzureFileShareProvisionILRRequest | IaasVmilrRegistrationRequest;
+
+// @public
+export type InfrastructureEncryptionState = string;
+
+// @public
+export interface InquiryInfo {
+ errorDetail?: ErrorDetail;
+ inquiryDetails?: WorkloadInquiryDetails[];
+ status?: string;
+}
+
+// @public
+export type InquiryStatus = string;
+
+// @public
+export interface InquiryValidation {
+ readonly additionalDetail?: string;
+ errorDetail?: ErrorDetail;
+ status?: string;
+}
+
+// @public
+export interface InstantItemRecoveryTarget {
+ clientScripts?: ClientScriptForConnect[];
+}
+
+// @public (undocumented)
+export interface InstantRPAdditionalDetails {
+ // (undocumented)
+ azureBackupRGNamePrefix?: string;
+ // (undocumented)
+ azureBackupRGNameSuffix?: string;
+}
+
+// @public
+export type IntentItemType = string;
+
+// @public
+export interface ItemLevelRecoveryConnections {
+ provision(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: ILRRequestResource, options?: ItemLevelRecoveryConnectionsProvisionOptionalParams): Promise;
+ revoke(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, options?: ItemLevelRecoveryConnectionsRevokeOptionalParams): Promise;
+}
+
+// @public
+export interface ItemLevelRecoveryConnectionsProvisionOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface ItemLevelRecoveryConnectionsRevokeOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface Job {
+ activityId?: string;
+ backupManagementType?: BackupManagementType;
+ endTime?: Date;
+ entityFriendlyName?: string;
+ jobType: "AzureIaaSVMJob" | "AzureIaaSVMJobV2" | "AzureStorageJob" | "AzureWorkloadJob" | "DpmJob" | "MabJob" | "VaultJob";
+ operation?: string;
+ startTime?: Date;
+ status?: string;
+}
+
+// @public
+export interface JobCancellations {
+ trigger(vaultName: string, resourceGroupName: string, jobName: string, options?: JobCancellationsTriggerOptionalParams): Promise;
+}
+
+// @public
+export interface JobCancellationsTriggerOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface JobDetails {
+ get(vaultName: string, resourceGroupName: string, jobName: string, options?: JobDetailsGetOptionalParams): Promise;
+}
+
+// @public
+export interface JobDetailsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type JobDetailsGetResponse = JobResource;
+
+// @public
+export interface JobOperationResults {
+ get(vaultName: string, resourceGroupName: string, jobName: string, operationId: string, options?: JobOperationResultsGetOptionalParams): Promise;
+}
+
+// @public
+export interface JobOperationResultsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type JobOperationType = string;
+
+// @public
+export interface JobQueryObject {
+ backupManagementType?: BackupManagementType;
+ endTime?: Date;
+ jobId?: string;
+ operation?: JobOperationType;
+ startTime?: Date;
+ status?: JobStatus;
+}
+
+// @public
+export type JobResource = Resource & {
+ properties?: JobUnion;
+};
+
+// @public
+export type JobResourceList = ResourceList & {
+ value?: JobResource[];
+};
+
+// @public
+export interface Jobs {
+ export(vaultName: string, resourceGroupName: string, options?: JobsExportOptionalParams): Promise;
+}
+
+// @public
+export interface JobsExportOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export type JobStatus = string;
+
+// @public
+export type JobSupportedAction = "Invalid" | "Cancellable" | "Retriable";
+
+// @public (undocumented)
+export type JobUnion = Job | AzureIaaSVMJob | AzureIaaSVMJobV2 | AzureStorageJob | AzureWorkloadJob | DpmJob | MabJob | VaultJob;
+
+// @public
+export interface KEKDetails {
+ keyBackupData?: string;
+ keyUrl?: string;
+ keyVaultId?: string;
+}
+
+// @public
+export interface KeyAndSecretDetails {
+ bekDetails?: BEKDetails;
+ encryptionMechanism?: string;
+ kekDetails?: KEKDetails;
+}
+
+// @public
+export enum KnownAcquireStorageAccountLock {
+ // (undocumented)
+ Acquire = "Acquire",
+ // (undocumented)
+ NotAcquire = "NotAcquire"
+}
+
+// @public
+export enum KnownAzureFileShareType {
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Xsmb = "XSMB",
+ // (undocumented)
+ XSync = "XSync"
+}
+
+// @public
+export enum KnownBackupEngineType {
+ // (undocumented)
+ AzureBackupServerEngine = "AzureBackupServerEngine",
+ // (undocumented)
+ DpmBackupEngine = "DpmBackupEngine",
+ // (undocumented)
+ Invalid = "Invalid"
+}
+
+// @public
+export enum KnownBackupItemType {
+ // (undocumented)
+ AzureFileShare = "AzureFileShare",
+ // (undocumented)
+ AzureSqlDb = "AzureSqlDb",
+ // (undocumented)
+ Client = "Client",
+ // (undocumented)
+ Exchange = "Exchange",
+ // (undocumented)
+ FileFolder = "FileFolder",
+ // (undocumented)
+ GenericDataSource = "GenericDataSource",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ SAPAseDatabase = "SAPAseDatabase",
+ // (undocumented)
+ SAPHanaDatabase = "SAPHanaDatabase",
+ // (undocumented)
+ Sharepoint = "Sharepoint",
+ // (undocumented)
+ SQLDataBase = "SQLDataBase",
+ // (undocumented)
+ Sqldb = "SQLDB",
+ // (undocumented)
+ SystemState = "SystemState",
+ // (undocumented)
+ VM = "VM",
+ // (undocumented)
+ VMwareVM = "VMwareVM"
+}
+
+// @public
+export enum KnownBackupManagementType {
+ // (undocumented)
+ AzureBackupServer = "AzureBackupServer",
+ // (undocumented)
+ AzureIaasVM = "AzureIaasVM",
+ // (undocumented)
+ AzureSql = "AzureSql",
+ // (undocumented)
+ AzureStorage = "AzureStorage",
+ // (undocumented)
+ AzureWorkload = "AzureWorkload",
+ // (undocumented)
+ DefaultBackup = "DefaultBackup",
+ // (undocumented)
+ DPM = "DPM",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ MAB = "MAB"
+}
+
+// @public
+export enum KnownBackupType {
+ // (undocumented)
+ CopyOnlyFull = "CopyOnlyFull",
+ // (undocumented)
+ Differential = "Differential",
+ // (undocumented)
+ Full = "Full",
+ // (undocumented)
+ Incremental = "Incremental",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Log = "Log"
+}
+
+// @public
+export enum KnownContainerType {
+ // (undocumented)
+ AzureBackupServerContainer = "AzureBackupServerContainer",
+ // (undocumented)
+ AzureSqlContainer = "AzureSqlContainer",
+ // (undocumented)
+ Cluster = "Cluster",
+ // (undocumented)
+ DPMContainer = "DPMContainer",
+ // (undocumented)
+ GenericContainer = "GenericContainer",
+ // (undocumented)
+ IaasVMContainer = "IaasVMContainer",
+ // (undocumented)
+ IaasVMServiceContainer = "IaasVMServiceContainer",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ MABContainer = "MABContainer",
+ // (undocumented)
+ SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
+ // (undocumented)
+ StorageContainer = "StorageContainer",
+ // (undocumented)
+ Unknown = "Unknown",
+ // (undocumented)
+ VCenter = "VCenter",
+ // (undocumented)
+ VMAppContainer = "VMAppContainer",
+ // (undocumented)
+ Windows = "Windows"
+}
+
+// @public
+export enum KnownCopyOptions {
+ // (undocumented)
+ CreateCopy = "CreateCopy",
+ // (undocumented)
+ FailOnConflict = "FailOnConflict",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Overwrite = "Overwrite",
+ // (undocumented)
+ Skip = "Skip"
+}
+
+// @public
+export enum KnownCreateMode {
+ // (undocumented)
+ Default = "Default",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Recover = "Recover"
+}
+
+// @public
+export enum KnownDataMoveLevel {
+ // (undocumented)
+ Container = "Container",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Vault = "Vault"
+}
+
+// @public
+export enum KnownDataSourceType {
+ // (undocumented)
+ AzureFileShare = "AzureFileShare",
+ // (undocumented)
+ AzureSqlDb = "AzureSqlDb",
+ // (undocumented)
+ Client = "Client",
+ // (undocumented)
+ Exchange = "Exchange",
+ // (undocumented)
+ FileFolder = "FileFolder",
+ // (undocumented)
+ GenericDataSource = "GenericDataSource",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ SAPAseDatabase = "SAPAseDatabase",
+ // (undocumented)
+ SAPHanaDatabase = "SAPHanaDatabase",
+ // (undocumented)
+ Sharepoint = "Sharepoint",
+ // (undocumented)
+ SQLDataBase = "SQLDataBase",
+ // (undocumented)
+ Sqldb = "SQLDB",
+ // (undocumented)
+ SystemState = "SystemState",
+ // (undocumented)
+ VM = "VM",
+ // (undocumented)
+ VMwareVM = "VMwareVM"
+}
+
+// @public
+export enum KnownDedupState {
+ // (undocumented)
+ Disabled = "Disabled",
+ // (undocumented)
+ Enabled = "Enabled",
+ // (undocumented)
+ Invalid = "Invalid"
+}
+
+// @public
+export enum KnownEncryptionAtRestType {
+ // (undocumented)
+ CustomerManaged = "CustomerManaged",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ MicrosoftManaged = "MicrosoftManaged"
+}
+
+// @public
+export enum KnownEnhancedSecurityState {
+ // (undocumented)
+ Disabled = "Disabled",
+ // (undocumented)
+ Enabled = "Enabled",
+ // (undocumented)
+ Invalid = "Invalid"
+}
+
+// @public
+export enum KnownFabricName {
+ // (undocumented)
+ Azure = "Azure",
+ // (undocumented)
+ Invalid = "Invalid"
+}
+
+// @public
+export enum KnownHealthState {
+ // (undocumented)
+ ActionRequired = "ActionRequired",
+ // (undocumented)
+ ActionSuggested = "ActionSuggested",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Passed = "Passed"
+}
+
+// @public
+export enum KnownHealthStatus {
+ // (undocumented)
+ ActionRequired = "ActionRequired",
+ // (undocumented)
+ ActionSuggested = "ActionSuggested",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Passed = "Passed"
+}
+
+// @public
+export enum KnownInfrastructureEncryptionState {
+ // (undocumented)
+ Disabled = "Disabled",
+ // (undocumented)
+ Enabled = "Enabled",
+ // (undocumented)
+ Invalid = "Invalid"
+}
+
+// @public
+export enum KnownInquiryStatus {
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Success = "Success"
+}
+
+// @public
+export enum KnownIntentItemType {
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ SQLAvailabilityGroupContainer = "SQLAvailabilityGroupContainer",
+ // (undocumented)
+ SQLInstance = "SQLInstance"
+}
+
+// @public
+export enum KnownJobOperationType {
+ // (undocumented)
+ Backup = "Backup",
+ // (undocumented)
+ ConfigureBackup = "ConfigureBackup",
+ // (undocumented)
+ CrossRegionRestore = "CrossRegionRestore",
+ // (undocumented)
+ DeleteBackupData = "DeleteBackupData",
+ // (undocumented)
+ DisableBackup = "DisableBackup",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Register = "Register",
+ // (undocumented)
+ Restore = "Restore",
+ // (undocumented)
+ Undelete = "Undelete",
+ // (undocumented)
+ UnRegister = "UnRegister",
+ // (undocumented)
+ UpdateCustomerManagedKey = "UpdateCustomerManagedKey"
+}
+
+// @public
+export enum KnownJobStatus {
+ // (undocumented)
+ Cancelled = "Cancelled",
+ // (undocumented)
+ Cancelling = "Cancelling",
+ // (undocumented)
+ Completed = "Completed",
+ // (undocumented)
+ CompletedWithWarnings = "CompletedWithWarnings",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ InProgress = "InProgress",
+ // (undocumented)
+ Invalid = "Invalid"
+}
+
+// @public
+export enum KnownLastBackupStatus {
+ // (undocumented)
+ Healthy = "Healthy",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ IRPending = "IRPending",
+ // (undocumented)
+ Unhealthy = "Unhealthy"
+}
+
+// @public
+export enum KnownLastUpdateStatus {
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ FirstInitialization = "FirstInitialization",
+ // (undocumented)
+ Initialized = "Initialized",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ NotEnabled = "NotEnabled",
+ // (undocumented)
+ PartiallyFailed = "PartiallyFailed",
+ // (undocumented)
+ PartiallySucceeded = "PartiallySucceeded",
+ // (undocumented)
+ Succeeded = "Succeeded"
+}
+
+// @public
+export enum KnownMabServerType {
+ // (undocumented)
+ AzureBackupServerContainer = "AzureBackupServerContainer",
+ // (undocumented)
+ AzureSqlContainer = "AzureSqlContainer",
+ // (undocumented)
+ Cluster = "Cluster",
+ // (undocumented)
+ DPMContainer = "DPMContainer",
+ // (undocumented)
+ GenericContainer = "GenericContainer",
+ // (undocumented)
+ IaasVMContainer = "IaasVMContainer",
+ // (undocumented)
+ IaasVMServiceContainer = "IaasVMServiceContainer",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ MABContainer = "MABContainer",
+ // (undocumented)
+ SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
+ // (undocumented)
+ StorageContainer = "StorageContainer",
+ // (undocumented)
+ Unknown = "Unknown",
+ // (undocumented)
+ VCenter = "VCenter",
+ // (undocumented)
+ VMAppContainer = "VMAppContainer",
+ // (undocumented)
+ Windows = "Windows"
+}
+
+// @public
+export enum KnownOperationStatusValues {
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ InProgress = "InProgress",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Succeeded = "Succeeded"
+}
+
+// @public
+export enum KnownOperationType {
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Register = "Register",
+ // (undocumented)
+ Reregister = "Reregister"
+}
+
+// @public
+export enum KnownOverwriteOptions {
+ // (undocumented)
+ FailOnConflict = "FailOnConflict",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Overwrite = "Overwrite"
+}
+
+// @public
+export enum KnownPolicyType {
+ // (undocumented)
+ CopyOnlyFull = "CopyOnlyFull",
+ // (undocumented)
+ Differential = "Differential",
+ // (undocumented)
+ Full = "Full",
+ // (undocumented)
+ Incremental = "Incremental",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Log = "Log"
+}
+
+// @public
+export enum KnownPrivateEndpointConnectionStatus {
+ // (undocumented)
+ Approved = "Approved",
+ // (undocumented)
+ Disconnected = "Disconnected",
+ // (undocumented)
+ Pending = "Pending",
+ // (undocumented)
+ Rejected = "Rejected"
+}
+
+// @public
+export enum KnownProtectedItemHealthStatus {
+ // (undocumented)
+ Healthy = "Healthy",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ IRPending = "IRPending",
+ // (undocumented)
+ NotReachable = "NotReachable",
+ // (undocumented)
+ Unhealthy = "Unhealthy"
+}
+
+// @public
+export enum KnownProtectedItemState {
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ IRPending = "IRPending",
+ // (undocumented)
+ Protected = "Protected",
+ // (undocumented)
+ ProtectionError = "ProtectionError",
+ // (undocumented)
+ ProtectionPaused = "ProtectionPaused",
+ // (undocumented)
+ ProtectionStopped = "ProtectionStopped"
+}
+
+// @public
+export enum KnownProtectionIntentItemType {
+ // (undocumented)
+ AzureResourceItem = "AzureResourceItem",
+ // (undocumented)
+ AzureWorkloadContainerAutoProtectionIntent = "AzureWorkloadContainerAutoProtectionIntent",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ RecoveryServiceVaultItem = "RecoveryServiceVaultItem"
+}
+
+// @public
+export enum KnownProtectionState {
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ IRPending = "IRPending",
+ // (undocumented)
+ Protected = "Protected",
+ // (undocumented)
+ ProtectionError = "ProtectionError",
+ // (undocumented)
+ ProtectionPaused = "ProtectionPaused",
+ // (undocumented)
+ ProtectionStopped = "ProtectionStopped"
+}
+
+// @public
+export enum KnownProtectionStatus {
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ NotProtected = "NotProtected",
+ // (undocumented)
+ Protected = "Protected",
+ // (undocumented)
+ Protecting = "Protecting",
+ // (undocumented)
+ ProtectionFailed = "ProtectionFailed"
+}
+
+// @public
+export enum KnownProvisioningState {
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Pending = "Pending",
+ // (undocumented)
+ Succeeded = "Succeeded"
+}
+
+// @public
+export enum KnownRecoveryMode {
+ // (undocumented)
+ FileRecovery = "FileRecovery",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ WorkloadRecovery = "WorkloadRecovery"
+}
+
+// @public
+export enum KnownRecoveryType {
+ // (undocumented)
+ AlternateLocation = "AlternateLocation",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Offline = "Offline",
+ // (undocumented)
+ OriginalLocation = "OriginalLocation",
+ // (undocumented)
+ RestoreDisks = "RestoreDisks"
+}
+
+// @public
+export enum KnownRehydrationPriority {
+ // (undocumented)
+ High = "High",
+ // (undocumented)
+ Standard = "Standard"
+}
+
+// @public
+export enum KnownResourceHealthStatus {
+ // (undocumented)
+ Healthy = "Healthy",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ PersistentDegraded = "PersistentDegraded",
+ // (undocumented)
+ PersistentUnhealthy = "PersistentUnhealthy",
+ // (undocumented)
+ TransientDegraded = "TransientDegraded",
+ // (undocumented)
+ TransientUnhealthy = "TransientUnhealthy"
+}
+
+// @public
+export enum KnownRestorePointQueryType {
+ // (undocumented)
+ All = "All",
+ // (undocumented)
+ Differential = "Differential",
+ // (undocumented)
+ Full = "Full",
+ // (undocumented)
+ FullAndDifferential = "FullAndDifferential",
+ // (undocumented)
+ Incremental = "Incremental",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Log = "Log"
+}
+
+// @public
+export enum KnownRestorePointType {
+ // (undocumented)
+ Differential = "Differential",
+ // (undocumented)
+ Full = "Full",
+ // (undocumented)
+ Incremental = "Incremental",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Log = "Log"
+}
+
+// @public
+export enum KnownRestoreRequestType {
+ // (undocumented)
+ FullShareRestore = "FullShareRestore",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ ItemLevelRestore = "ItemLevelRestore"
+}
+
+// @public
+export enum KnownRetentionDurationType {
+ // (undocumented)
+ Days = "Days",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Months = "Months",
+ // (undocumented)
+ Weeks = "Weeks",
+ // (undocumented)
+ Years = "Years"
+}
+
+// @public
+export enum KnownRetentionScheduleFormat {
+ // (undocumented)
+ Daily = "Daily",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Weekly = "Weekly"
+}
+
+// @public
+export enum KnownScheduleRunType {
+ // (undocumented)
+ Daily = "Daily",
+ // (undocumented)
+ Hourly = "Hourly",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Weekly = "Weekly"
+}
+
+// @public
+export enum KnownSoftDeleteFeatureState {
+ // (undocumented)
+ Disabled = "Disabled",
+ // (undocumented)
+ Enabled = "Enabled",
+ // (undocumented)
+ Invalid = "Invalid"
+}
+
+// @public
+export enum KnownSQLDataDirectoryType {
+ // (undocumented)
+ Data = "Data",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Log = "Log"
+}
+
+// @public
+export enum KnownStorageType {
+ // (undocumented)
+ GeoRedundant = "GeoRedundant",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ LocallyRedundant = "LocallyRedundant",
+ // (undocumented)
+ ReadAccessGeoZoneRedundant = "ReadAccessGeoZoneRedundant",
+ // (undocumented)
+ ZoneRedundant = "ZoneRedundant"
+}
+
+// @public
+export enum KnownStorageTypeState {
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Locked = "Locked",
+ // (undocumented)
+ Unlocked = "Unlocked"
+}
+
+// @public
+export enum KnownSupportStatus {
+ // (undocumented)
+ DefaultOFF = "DefaultOFF",
+ // (undocumented)
+ DefaultON = "DefaultON",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ NotSupported = "NotSupported",
+ // (undocumented)
+ Supported = "Supported"
+}
+
+// @public
+export enum KnownType {
+ // (undocumented)
+ BackupProtectedItemCountSummary = "BackupProtectedItemCountSummary",
+ // (undocumented)
+ BackupProtectionContainerCountSummary = "BackupProtectionContainerCountSummary",
+ // (undocumented)
+ Invalid = "Invalid"
+}
+
+// @public
+export enum KnownUsagesUnit {
+ // (undocumented)
+ Bytes = "Bytes",
+ // (undocumented)
+ BytesPerSecond = "BytesPerSecond",
+ // (undocumented)
+ Count = "Count",
+ // (undocumented)
+ CountPerSecond = "CountPerSecond",
+ // (undocumented)
+ Percent = "Percent",
+ // (undocumented)
+ Seconds = "Seconds"
+}
+
+// @public
+export enum KnownValidationStatus {
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ Succeeded = "Succeeded"
+}
+
+// @public
+export enum KnownWorkloadItemType {
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ SAPAseDatabase = "SAPAseDatabase",
+ // (undocumented)
+ SAPAseSystem = "SAPAseSystem",
+ // (undocumented)
+ SAPHanaDatabase = "SAPHanaDatabase",
+ // (undocumented)
+ SAPHanaSystem = "SAPHanaSystem",
+ // (undocumented)
+ SQLDataBase = "SQLDataBase",
+ // (undocumented)
+ SQLInstance = "SQLInstance"
+}
+
+// @public
+export enum KnownWorkloadType {
+ // (undocumented)
+ AzureFileShare = "AzureFileShare",
+ // (undocumented)
+ AzureSqlDb = "AzureSqlDb",
+ // (undocumented)
+ Client = "Client",
+ // (undocumented)
+ Exchange = "Exchange",
+ // (undocumented)
+ FileFolder = "FileFolder",
+ // (undocumented)
+ GenericDataSource = "GenericDataSource",
+ // (undocumented)
+ Invalid = "Invalid",
+ // (undocumented)
+ SAPAseDatabase = "SAPAseDatabase",
+ // (undocumented)
+ SAPHanaDatabase = "SAPHanaDatabase",
+ // (undocumented)
+ Sharepoint = "Sharepoint",
+ // (undocumented)
+ SQLDataBase = "SQLDataBase",
+ // (undocumented)
+ Sqldb = "SQLDB",
+ // (undocumented)
+ SystemState = "SystemState",
+ // (undocumented)
+ VM = "VM",
+ // (undocumented)
+ VMwareVM = "VMwareVM"
+}
+
+// @public
+export enum KnownXcoolState {
+ // (undocumented)
+ Disabled = "Disabled",
+ // (undocumented)
+ Enabled = "Enabled",
+ // (undocumented)
+ Invalid = "Invalid"
+}
+
+// @public
+export interface KPIResourceHealthDetails {
+ resourceHealthDetails?: ResourceHealthDetails[];
+ resourceHealthStatus?: ResourceHealthStatus;
+}
+
+// @public
+export type LastBackupStatus = string;
+
+// @public
+export type LastUpdateStatus = string;
+
+// @public
+export interface ListRecoveryPointsRecommendedForMoveRequest {
+ excludedRPList?: string[];
+ objectType?: string;
+}
+
+// @public
+export type LogSchedulePolicy = SchedulePolicy & {
+ schedulePolicyType: "LogSchedulePolicy";
+ scheduleFrequencyInMins?: number;
+};
+
+// @public
+export type LongTermRetentionPolicy = RetentionPolicy & {
+ retentionPolicyType: "LongTermRetentionPolicy";
+ dailySchedule?: DailyRetentionSchedule;
+ weeklySchedule?: WeeklyRetentionSchedule;
+ monthlySchedule?: MonthlyRetentionSchedule;
+ yearlySchedule?: YearlyRetentionSchedule;
+};
+
+// @public
+export type LongTermSchedulePolicy = SchedulePolicy & {
+ schedulePolicyType: "LongTermSchedulePolicy";
+};
+
+// @public
+export type MabContainer = ProtectionContainer & {
+ containerType: "Windows";
+ canReRegister?: boolean;
+ containerId?: number;
+ protectedItemCount?: number;
+ agentVersion?: string;
+ extendedInfo?: MabContainerExtendedInfo;
+ mabContainerHealthDetails?: MABContainerHealthDetails[];
+ containerHealthState?: string;
+};
+
+// @public
+export interface MabContainerExtendedInfo {
+ backupItems?: string[];
+ backupItemType?: BackupItemType;
+ lastBackupStatus?: string;
+ lastRefreshedAt?: Date;
+ policyName?: string;
+}
+
+// @public
+export interface MABContainerHealthDetails {
+ code?: number;
+ message?: string;
+ recommendations?: string[];
+ title?: string;
+}
+
+// @public
+export interface MabErrorInfo {
+ readonly errorString?: string;
+ readonly recommendations?: string[];
+}
+
+// @public
+export type MabFileFolderProtectedItem = ProtectedItem & {
+ protectedItemType: "MabFileFolderProtectedItem";
+ friendlyName?: string;
+ computerName?: string;
+ lastBackupStatus?: string;
+ lastBackupTime?: Date;
+ protectionState?: string;
+ deferredDeleteSyncTimeInUTC?: number;
+ extendedInfo?: MabFileFolderProtectedItemExtendedInfo;
+};
+
+// @public
+export interface MabFileFolderProtectedItemExtendedInfo {
+ lastRefreshedAt?: Date;
+ oldestRecoveryPoint?: Date;
+ recoveryPointCount?: number;
+}
+
+// @public
+export type MabJob = Job & {
+ jobType: "MabJob";
+ duration?: string;
+ actionsInfo?: JobSupportedAction[];
+ mabServerName?: string;
+ mabServerType?: MabServerType;
+ workloadType?: WorkloadType;
+ errorDetails?: MabErrorInfo[];
+ extendedInfo?: MabJobExtendedInfo;
+};
+
+// @public
+export interface MabJobExtendedInfo {
+ dynamicErrorMessage?: string;
+ propertyBag?: {
+ [propertyName: string]: string;
+ };
+ tasksList?: MabJobTaskDetails[];
+}
+
+// @public
+export interface MabJobTaskDetails {
+ duration?: string;
+ endTime?: Date;
+ startTime?: Date;
+ status?: string;
+ taskId?: string;
+}
+
+// @public
+export type MabProtectionPolicy = ProtectionPolicy & {
+ backupManagementType: "MAB";
+ schedulePolicy?: SchedulePolicyUnion;
+ retentionPolicy?: RetentionPolicyUnion;
+};
+
+// @public
+export type MabServerType = string;
+
+// @public
+export interface MonthlyRetentionSchedule {
+ retentionDuration?: RetentionDuration;
+ retentionScheduleDaily?: DailyRetentionFormat;
+ retentionScheduleFormatType?: RetentionScheduleFormat;
+ retentionScheduleWeekly?: WeeklyRetentionFormat;
+ retentionTimes?: Date[];
+}
+
+// @public
+export type MonthOfYear = "Invalid" | "January" | "February" | "March" | "April" | "May" | "June" | "July" | "August" | "September" | "October" | "November" | "December";
+
+// @public
+export interface MoveRecoveryPointOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public (undocumented)
+export interface MoveRPAcrossTiersRequest {
+ objectType?: string;
+ sourceTierType?: RecoveryPointTierType;
+ targetTierType?: RecoveryPointTierType;
+}
+
+// @public
+export interface NameInfo {
+ localizedValue?: string;
+ value?: string;
+}
+
+// @public
+export interface NewErrorResponse {
+ error?: NewErrorResponseError;
+}
+
+// @public
+export interface NewErrorResponseError {
+ readonly additionalInfo?: ErrorAdditionalInfo[];
+ readonly code?: string;
+ readonly details?: NewErrorResponse[];
+ readonly message?: string;
+ readonly target?: string;
+}
+
+// @public
+export interface Operation {
+ validate(vaultName: string, resourceGroupName: string, parameters: ValidateOperationRequestUnion, options?: OperationValidateOptionalParams): Promise;
+}
+
+// @public
+export type OperationResultInfo = OperationResultInfoBase & {
+ objectType: "OperationResultInfo";
+ jobList?: string[];
+};
+
+// @public
+export interface OperationResultInfoBase {
+ objectType: "ExportJobsOperationResultInfo" | "OperationResultInfo";
+}
+
+// @public
+export type OperationResultInfoBaseResource = OperationWorkerResponse & {
+ operation?: OperationResultInfoBaseUnion;
+};
+
+// @public (undocumented)
+export type OperationResultInfoBaseUnion = OperationResultInfoBase | ExportJobsOperationResultInfo | OperationResultInfo;
+
+// @public
+export interface Operations {
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OperationsListNextResponse = ClientDiscoveryResponse;
+
+// @public
+export interface OperationsListOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OperationsListResponse = ClientDiscoveryResponse;
+
+// @public
+export interface OperationStatus {
+ endTime?: Date;
+ error?: OperationStatusError;
+ id?: string;
+ name?: string;
+ properties?: OperationStatusExtendedInfoUnion;
+ startTime?: Date;
+ status?: OperationStatusValues;
+}
+
+// @public
+export interface OperationStatusError {
+ code?: string;
+ message?: string;
+}
+
+// @public
+export interface OperationStatusExtendedInfo {
+ objectType: "OperationStatusJobExtendedInfo" | "OperationStatusJobsExtendedInfo" | "OperationStatusProvisionILRExtendedInfo" | "OperationStatusValidateOperationExtendedInfo";
+}
+
+// @public (undocumented)
+export type OperationStatusExtendedInfoUnion = OperationStatusExtendedInfo | OperationStatusJobExtendedInfo | OperationStatusJobsExtendedInfo | OperationStatusProvisionILRExtendedInfo | OperationStatusValidateOperationExtendedInfo;
+
+// @public
+export type OperationStatusJobExtendedInfo = OperationStatusExtendedInfo & {
+ objectType: "OperationStatusJobExtendedInfo";
+ jobId?: string;
+};
+
+// @public
+export type OperationStatusJobsExtendedInfo = OperationStatusExtendedInfo & {
+ objectType: "OperationStatusJobsExtendedInfo";
+ jobIds?: string[];
+ failedJobsError?: {
+ [propertyName: string]: string;
+ };
+};
+
+// @public
+export type OperationStatusProvisionILRExtendedInfo = OperationStatusExtendedInfo & {
+ objectType: "OperationStatusProvisionILRExtendedInfo";
+ recoveryTarget?: InstantItemRecoveryTarget;
+};
+
+// @public
+export type OperationStatusValidateOperationExtendedInfo = OperationStatusExtendedInfo & {
+ objectType: "OperationStatusValidateOperationExtendedInfo";
+ validateOperationResponse?: ValidateOperationResponse;
+};
+
+// @public
+export type OperationStatusValues = string;
+
+// @public
+export type OperationType = string;
+
+// @public
+export interface OperationValidateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OperationValidateResponse = ValidateOperationsResponse;
+
+// @public
+export interface OperationWorkerResponse {
+ headers?: {
+ [propertyName: string]: string[];
+ };
+ statusCode?: HttpStatusCode;
+}
+
+// @public
+export type OverwriteOptions = string;
+
+// @public
+export interface PointInTimeRange {
+ endTime?: Date;
+ startTime?: Date;
+}
+
+// @public
+export type PolicyType = string;
+
+// @public
+export interface PreBackupValidation {
+ code?: string;
+ message?: string;
+ status?: InquiryStatus;
+}
+
+// @public
+export interface PrepareDataMoveRequest {
+ dataMoveLevel: DataMoveLevel;
+ ignoreMoved?: boolean;
+ sourceContainerArmIds?: string[];
+ targetRegion: string;
+ targetResourceId: string;
+}
+
+// @public
+export type PrepareDataMoveResponse = VaultStorageConfigOperationResultResponse & {
+ objectType: "PrepareDataMoveResponse";
+ correlationId?: string;
+ sourceVaultProperties?: {
+ [propertyName: string]: string;
+ };
+};
+
+// @public
+export interface PreValidateEnableBackupRequest {
+ properties?: string;
+ resourceId?: string;
+ resourceType?: DataSourceType;
+ vaultId?: string;
+}
+
+// @public
+export interface PreValidateEnableBackupResponse {
+ containerName?: string;
+ errorCode?: string;
+ errorMessage?: string;
+ protectedItemName?: string;
+ recommendation?: string;
+ status?: ValidationStatus;
+}
+
+// @public
+export interface PrivateEndpoint {
+ id?: string;
+}
+
+// @public
+export interface PrivateEndpointConnection {
+ privateEndpoint?: PrivateEndpoint;
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
+ provisioningState?: ProvisioningState;
+}
+
+// @public
+export interface PrivateEndpointConnectionDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface PrivateEndpointConnectionGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PrivateEndpointConnectionGetResponse = PrivateEndpointConnectionResource;
+
+// @public
+export interface PrivateEndpointConnectionOperations {
+ beginDelete(vaultName: string, resourceGroupName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(vaultName: string, resourceGroupName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionDeleteOptionalParams): Promise;
+ beginPut(vaultName: string, resourceGroupName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionPutOptionalParams): Promise, PrivateEndpointConnectionPutResponse>>;
+ beginPutAndWait(vaultName: string, resourceGroupName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionPutOptionalParams): Promise;
+ get(vaultName: string, resourceGroupName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionGetOptionalParams): Promise;
+}
+
+// @public
+export interface PrivateEndpointConnectionPutOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type PrivateEndpointConnectionPutResponse = PrivateEndpointConnectionResource;
+
+// @public
+export type PrivateEndpointConnectionResource = Resource & {
+ properties?: PrivateEndpointConnection;
+};
+
+// @public
+export type PrivateEndpointConnectionStatus = string;
+
+// @public
+export interface PrivateEndpointGetOperationStatusOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PrivateEndpointGetOperationStatusResponse = OperationStatus;
+
+// @public
+export interface PrivateEndpointOperations {
+ getOperationStatus(vaultName: string, resourceGroupName: string, privateEndpointConnectionName: string, operationId: string, options?: PrivateEndpointGetOperationStatusOptionalParams): Promise;
+}
+
+// @public
+export interface PrivateLinkServiceConnectionState {
+ actionRequired?: string;
+ description?: string;
+ status?: PrivateEndpointConnectionStatus;
+}
+
+// @public
+export interface ProtectableContainer {
+ backupManagementType?: BackupManagementType;
+ containerId?: string;
+ friendlyName?: string;
+ healthStatus?: string;
+ protectableContainerType: "StorageContainer" | "VMAppContainer";
+}
+
+// @public
+export type ProtectableContainerResource = Resource & {
+ properties?: ProtectableContainerUnion;
+};
+
+// @public
+export type ProtectableContainerResourceList = ResourceList & {
+ value?: ProtectableContainerResource[];
+};
+
+// @public
+export interface ProtectableContainers {
+ list(vaultName: string, resourceGroupName: string, fabricName: string, options?: ProtectableContainersListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface ProtectableContainersListNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export type ProtectableContainersListNextResponse = ProtectableContainerResourceList;
+
+// @public
+export interface ProtectableContainersListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export type ProtectableContainersListResponse = ProtectableContainerResourceList;
+
+// @public (undocumented)
+export type ProtectableContainerUnion = ProtectableContainer | AzureStorageProtectableContainer | AzureVMAppContainerProtectableContainer;
+
+// @public
+export interface ProtectedItem {
+ backupManagementType?: BackupManagementType;
+ backupSetName?: string;
+ containerName?: string;
+ createMode?: CreateMode;
+ deferredDeleteTimeInUTC?: Date;
+ deferredDeleteTimeRemaining?: string;
+ isArchiveEnabled?: boolean;
+ isDeferredDeleteScheduleUpcoming?: boolean;
+ isRehydrate?: boolean;
+ isScheduledForDeferredDelete?: boolean;
+ lastRecoveryPoint?: Date;
+ policyId?: string;
+ policyName?: string;
+ protectedItemType: "AzureFileShareProtectedItem" | "AzureIaaSVMProtectedItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "Microsoft.Sql/servers/databases" | "AzureVmWorkloadProtectedItem" | "AzureVmWorkloadSAPAseDatabase" | "AzureVmWorkloadSAPHanaDatabase" | "AzureVmWorkloadSQLDatabase" | "DPMProtectedItem" | "GenericProtectedItem" | "MabFileFolderProtectedItem";
+ resourceGuardOperationRequests?: string[];
+ sourceResourceId?: string;
+ workloadType?: DataSourceType;
+}
+
+// @public
+export type ProtectedItemHealthStatus = string;
+
+// @public
+export interface ProtectedItemOperationResults {
+ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, operationId: string, options?: ProtectedItemOperationResultsGetOptionalParams): Promise;
+}
+
+// @public
+export interface ProtectedItemOperationResultsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectedItemOperationResultsGetResponse = ProtectedItemResource;
+
+// @public
+export interface ProtectedItemOperationStatuses {
+ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, operationId: string, options?: ProtectedItemOperationStatusesGetOptionalParams): Promise;
+}
+
+// @public
+export interface ProtectedItemOperationStatusesGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectedItemOperationStatusesGetResponse = OperationStatus;
+
+// @public
+export interface ProtectedItemQueryObject {
+ backupEngineName?: string;
+ backupManagementType?: BackupManagementType;
+ backupSetName?: string;
+ containerName?: string;
+ fabricName?: string;
+ friendlyName?: string;
+ healthState?: HealthState;
+ itemType?: DataSourceType;
+ policyName?: string;
+}
+
+// @public
+export type ProtectedItemResource = Resource & {
+ properties?: ProtectedItemUnion;
+};
+
+// @public
+export type ProtectedItemResourceList = ResourceList & {
+ value?: ProtectedItemResource[];
+};
+
+// @public
+export interface ProtectedItems {
+ createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, parameters: ProtectedItemResource, options?: ProtectedItemsCreateOrUpdateOptionalParams): Promise;
+ delete(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options?: ProtectedItemsDeleteOptionalParams): Promise;
+ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options?: ProtectedItemsGetOptionalParams): Promise;
+}
+
+// @public
+export interface ProtectedItemsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectedItemsCreateOrUpdateResponse = ProtectedItemResource;
+
+// @public
+export interface ProtectedItemsDeleteOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface ProtectedItemsGetOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export type ProtectedItemsGetResponse = ProtectedItemResource;
+
+// @public
+export type ProtectedItemState = string;
+
+// @public (undocumented)
+export type ProtectedItemUnion = ProtectedItem | AzureFileshareProtectedItem | AzureIaaSVMProtectedItemUnion | AzureSqlProtectedItem | AzureVmWorkloadProtectedItemUnion | DPMProtectedItem | GenericProtectedItem | MabFileFolderProtectedItem;
+
+// @public
+export interface ProtectionContainer {
+ backupManagementType?: BackupManagementType;
+ containerType: "DPMContainer" | "AzureBackupServerContainer" | "IaaSVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureWorkloadContainer" | "SQLAGWorkLoadContainer" | "AzureSqlContainer" | "StorageContainer" | "VMAppContainer" | "GenericContainer" | "Windows";
+ friendlyName?: string;
+ healthStatus?: string;
+ protectableObjectType?: string;
+ registrationStatus?: string;
+}
+
+// @public
+export interface ProtectionContainerOperationResults {
+ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, operationId: string, options?: ProtectionContainerOperationResultsGetOptionalParams): Promise;
+}
+
+// @public
+export interface ProtectionContainerOperationResultsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionContainerOperationResultsGetResponse = ProtectionContainerResource;
+
+// @public
+export interface ProtectionContainerRefreshOperationResults {
+ get(vaultName: string, resourceGroupName: string, fabricName: string, operationId: string, options?: ProtectionContainerRefreshOperationResultsGetOptionalParams): Promise;
+}
+
+// @public
+export interface ProtectionContainerRefreshOperationResultsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionContainerResource = Resource & {
+ properties?: ProtectionContainerUnion;
+};
+
+// @public
+export type ProtectionContainerResourceList = ResourceList & {
+ value?: ProtectionContainerResource[];
+};
+
+// @public
+export interface ProtectionContainers {
+ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: ProtectionContainersGetOptionalParams): Promise;
+ inquire(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: ProtectionContainersInquireOptionalParams): Promise;
+ refresh(vaultName: string, resourceGroupName: string, fabricName: string, options?: ProtectionContainersRefreshOptionalParams): Promise;
+ register(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, parameters: ProtectionContainerResource, options?: ProtectionContainersRegisterOptionalParams): Promise;
+ unregister(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: ProtectionContainersUnregisterOptionalParams): Promise;
+}
+
+// @public
+export interface ProtectionContainersGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionContainersGetResponse = ProtectionContainerResource;
+
+// @public
+export interface ProtectionContainersInquireOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export interface ProtectionContainersRefreshOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export interface ProtectionContainersRegisterOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionContainersRegisterResponse = ProtectionContainerResource;
+
+// @public
+export interface ProtectionContainersUnregisterOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public (undocumented)
+export type ProtectionContainerUnion = ProtectionContainer | DpmContainerUnion | IaaSVMContainerUnion | AzureWorkloadContainerUnion | AzureSqlContainer | AzureStorageContainer | GenericContainer | MabContainer;
+
+// @public
+export interface ProtectionIntent {
+ backupManagementType?: BackupManagementType;
+ itemId?: string;
+ policyId?: string;
+ protectionIntentItemType: "RecoveryServiceVaultItem" | "AzureResourceItem" | "AzureWorkloadContainerAutoProtectionIntent" | "AzureWorkloadAutoProtectionIntent" | "AzureWorkloadSQLAutoProtectionIntent";
+ protectionState?: ProtectionStatus;
+ sourceResourceId?: string;
+}
+
+// @public
+export interface ProtectionIntentCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionIntentCreateOrUpdateResponse = ProtectionIntentResource;
+
+// @public
+export interface ProtectionIntentDeleteOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface ProtectionIntentGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionIntentGetResponse = ProtectionIntentResource;
+
+// @public
+export type ProtectionIntentItemType = string;
+
+// @public
+export interface ProtectionIntentOperations {
+ createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, parameters: ProtectionIntentResource, options?: ProtectionIntentCreateOrUpdateOptionalParams): Promise;
+ delete(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: ProtectionIntentDeleteOptionalParams): Promise;
+ get(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: ProtectionIntentGetOptionalParams): Promise;
+ validate(azureRegion: string, parameters: PreValidateEnableBackupRequest, options?: ProtectionIntentValidateOptionalParams): Promise;
+}
+
+// @public
+export interface ProtectionIntentQueryObject {
+ backupManagementType?: BackupManagementType;
+ itemName?: string;
+ itemType?: IntentItemType;
+ parentName?: string;
+}
+
+// @public
+export type ProtectionIntentResource = Resource & {
+ properties?: ProtectionIntentUnion;
+};
+
+// @public
+export type ProtectionIntentResourceList = ResourceList & {
+ value?: ProtectionIntentResource[];
+};
+
+// @public (undocumented)
+export type ProtectionIntentUnion = ProtectionIntent | AzureRecoveryServiceVaultProtectionIntentUnion | AzureResourceProtectionIntent | AzureWorkloadContainerAutoProtectionIntent;
+
+// @public
+export interface ProtectionIntentValidateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionIntentValidateResponse = PreValidateEnableBackupResponse;
+
+// @public
+export interface ProtectionPolicies {
+ beginDelete(vaultName: string, resourceGroupName: string, policyName: string, options?: ProtectionPoliciesDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(vaultName: string, resourceGroupName: string, policyName: string, options?: ProtectionPoliciesDeleteOptionalParams): Promise;
+ createOrUpdate(vaultName: string, resourceGroupName: string, policyName: string, parameters: ProtectionPolicyResource, options?: ProtectionPoliciesCreateOrUpdateOptionalParams): Promise;
+ get(vaultName: string, resourceGroupName: string, policyName: string, options?: ProtectionPoliciesGetOptionalParams): Promise;
+}
+
+// @public
+export interface ProtectionPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionPoliciesCreateOrUpdateResponse = ProtectionPolicyResource;
+
+// @public
+export interface ProtectionPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface ProtectionPoliciesGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionPoliciesGetResponse = ProtectionPolicyResource;
+
+// @public
+export interface ProtectionPolicy {
+ backupManagementType: "AzureWorkload" | "AzureStorage" | "AzureIaasVM" | "AzureSql" | "GenericProtectionPolicy" | "MAB";
+ protectedItemsCount?: number;
+ resourceGuardOperationRequests?: string[];
+}
+
+// @public
+export interface ProtectionPolicyOperationResults {
+ get(vaultName: string, resourceGroupName: string, policyName: string, operationId: string, options?: ProtectionPolicyOperationResultsGetOptionalParams): Promise;
+}
+
+// @public
+export interface ProtectionPolicyOperationResultsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionPolicyOperationResultsGetResponse = ProtectionPolicyResource;
+
+// @public
+export interface ProtectionPolicyOperationStatuses {
+ get(vaultName: string, resourceGroupName: string, policyName: string, operationId: string, options?: ProtectionPolicyOperationStatusesGetOptionalParams): Promise;
+}
+
+// @public
+export interface ProtectionPolicyOperationStatusesGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ProtectionPolicyOperationStatusesGetResponse = OperationStatus;
+
+// @public
+export interface ProtectionPolicyQueryObject {
+ backupManagementType?: BackupManagementType;
+ fabricName?: string;
+ workloadType?: WorkloadType;
+}
+
+// @public
+export type ProtectionPolicyResource = Resource & {
+ properties?: ProtectionPolicyUnion;
+};
+
+// @public
+export type ProtectionPolicyResourceList = ResourceList & {
+ value?: ProtectionPolicyResource[];
+};
+
+// @public (undocumented)
+export type ProtectionPolicyUnion = ProtectionPolicy | AzureVmWorkloadProtectionPolicy | AzureFileShareProtectionPolicy | AzureIaaSVMProtectionPolicy | AzureSqlProtectionPolicy | GenericProtectionPolicy | MabProtectionPolicy;
+
+// @public
+export type ProtectionState = string;
+
+// @public
+export type ProtectionStatus = string;
+
+// @public
+export type ProvisioningState = string;
+
+// @public
+export type RecoveryMode = string;
+
+// @public
+export interface RecoveryPoint {
+ objectType: "AzureFileShareRecoveryPoint" | "AzureWorkloadRecoveryPoint" | "AzureWorkloadPointInTimeRecoveryPoint" | "AzureWorkloadSAPHanaPointInTimeRecoveryPoint" | "AzureWorkloadSAPHanaRecoveryPoint" | "AzureWorkloadSQLRecoveryPoint" | "AzureWorkloadSQLPointInTimeRecoveryPoint" | "GenericRecoveryPoint" | "IaasVMRecoveryPoint";
+}
+
+// @public
+export interface RecoveryPointDiskConfiguration {
+ excludedDiskList?: DiskInformation[];
+ includedDiskList?: DiskInformation[];
+ numberOfDisksAttachedToVm?: number;
+ numberOfDisksIncludedInBackup?: number;
+}
+
+// @public (undocumented)
+export interface RecoveryPointMoveReadinessInfo {
+ // (undocumented)
+ additionalInfo?: string;
+ // (undocumented)
+ isReadyForMove?: boolean;
+}
+
+// @public
+export interface RecoveryPointRehydrationInfo {
+ rehydrationPriority?: RehydrationPriority;
+ rehydrationRetentionDuration?: string;
+}
+
+// @public
+export type RecoveryPointResource = Resource & {
+ properties?: RecoveryPointUnion;
+};
+
+// @public
+export type RecoveryPointResourceList = ResourceList & {
+ value?: RecoveryPointResource[];
+};
+
+// @public
+export interface RecoveryPoints {
+ get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, options?: RecoveryPointsGetOptionalParams): Promise;
+ list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options?: RecoveryPointsListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface RecoveryPointsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type RecoveryPointsGetResponse = RecoveryPointResource;
+
+// @public
+export interface RecoveryPointsListNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export type RecoveryPointsListNextResponse = RecoveryPointResourceList;
+
+// @public
+export interface RecoveryPointsListOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+}
+
+// @public
+export type RecoveryPointsListResponse = RecoveryPointResourceList;
+
+// @public
+export interface RecoveryPointsRecommendedForMove {
+ list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, parameters: ListRecoveryPointsRecommendedForMoveRequest, options?: RecoveryPointsRecommendedForMoveListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface RecoveryPointsRecommendedForMoveListNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type RecoveryPointsRecommendedForMoveListNextResponse = RecoveryPointResourceList;
+
+// @public
+export interface RecoveryPointsRecommendedForMoveListOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type RecoveryPointsRecommendedForMoveListResponse = RecoveryPointResourceList;
+
+// @public
+export interface RecoveryPointTierInformation {
+ extendedInfo?: {
+ [propertyName: string]: string;
+ };
+ status?: RecoveryPointTierStatus;
+ type?: RecoveryPointTierType;
+}
+
+// @public
+export type RecoveryPointTierInformationV2 = RecoveryPointTierInformation & {};
+
+// @public
+export type RecoveryPointTierStatus = "Invalid" | "Valid" | "Disabled" | "Deleted" | "Rehydrated";
+
+// @public
+export type RecoveryPointTierType = "Invalid" | "InstantRP" | "HardenedRP" | "ArchivedRP";
+
+// @public (undocumented)
+export type RecoveryPointUnion = RecoveryPoint | AzureFileShareRecoveryPoint | AzureWorkloadRecoveryPointUnion | GenericRecoveryPoint | IaasVMRecoveryPoint;
+
+// @public (undocumented)
+export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
+ // (undocumented)
+ $host: string;
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: RecoveryServicesBackupClientOptionalParams);
+ // (undocumented)
+ apiVersion: string;
+ // (undocumented)
+ backupEngines: BackupEngines;
+ // (undocumented)
+ backupJobs: BackupJobs;
+ // (undocumented)
+ backupOperationResults: BackupOperationResults;
+ // (undocumented)
+ backupOperationStatuses: BackupOperationStatuses;
+ // (undocumented)
+ backupPolicies: BackupPolicies;
+ // (undocumented)
+ backupProtectableItems: BackupProtectableItems;
+ // (undocumented)
+ backupProtectedItems: BackupProtectedItems;
+ // (undocumented)
+ backupProtectionContainers: BackupProtectionContainers;
+ // (undocumented)
+ backupProtectionIntent: BackupProtectionIntent;
+ // (undocumented)
+ backupResourceEncryptionConfigs: BackupResourceEncryptionConfigs;
+ // (undocumented)
+ backupResourceStorageConfigsNonCRR: BackupResourceStorageConfigsNonCRR;
+ // (undocumented)
+ backupResourceVaultConfigs: BackupResourceVaultConfigs;
+ // (undocumented)
+ backups: Backups;
+ // (undocumented)
+ backupStatus: BackupStatus;
+ // (undocumented)
+ backupUsageSummaries: BackupUsageSummaries;
+ // (undocumented)
+ backupWorkloadItems: BackupWorkloadItems;
+ beginBMSPrepareDataMove(vaultName: string, resourceGroupName: string, parameters: PrepareDataMoveRequest, options?: BMSPrepareDataMoveOptionalParams): Promise, void>>;
+ beginBMSPrepareDataMoveAndWait(vaultName: string, resourceGroupName: string, parameters: PrepareDataMoveRequest, options?: BMSPrepareDataMoveOptionalParams): Promise;
+ beginBMSTriggerDataMove(vaultName: string, resourceGroupName: string, parameters: TriggerDataMoveRequest, options?: BMSTriggerDataMoveOptionalParams): Promise, void>>;
+ beginBMSTriggerDataMoveAndWait(vaultName: string, resourceGroupName: string, parameters: TriggerDataMoveRequest, options?: BMSTriggerDataMoveOptionalParams): Promise;
+ beginMoveRecoveryPoint(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: MoveRPAcrossTiersRequest, options?: MoveRecoveryPointOptionalParams): Promise, void>>;
+ beginMoveRecoveryPointAndWait(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: MoveRPAcrossTiersRequest, options?: MoveRecoveryPointOptionalParams): Promise;
+ // (undocumented)
+ bMSPrepareDataMoveOperationResult: BMSPrepareDataMoveOperationResult;
+ // (undocumented)
+ exportJobsOperationResults: ExportJobsOperationResults;
+ // (undocumented)
+ featureSupport: FeatureSupport;
+ getOperationStatus(vaultName: string, resourceGroupName: string, operationId: string, options?: GetOperationStatusOptionalParams): Promise;
+ // (undocumented)
+ itemLevelRecoveryConnections: ItemLevelRecoveryConnections;
+ // (undocumented)
+ jobCancellations: JobCancellations;
+ // (undocumented)
+ jobDetails: JobDetails;
+ // (undocumented)
+ jobOperationResults: JobOperationResults;
+ // (undocumented)
+ jobs: Jobs;
+ // (undocumented)
+ operation: Operation;
+ // (undocumented)
+ operations: Operations;
+ // (undocumented)
+ privateEndpointConnectionOperations: PrivateEndpointConnectionOperations;
+ // (undocumented)
+ privateEndpointOperations: PrivateEndpointOperations;
+ // (undocumented)
+ protectableContainers: ProtectableContainers;
+ // (undocumented)
+ protectedItemOperationResults: ProtectedItemOperationResults;
+ // (undocumented)
+ protectedItemOperationStatuses: ProtectedItemOperationStatuses;
+ // (undocumented)
+ protectedItems: ProtectedItems;
+ // (undocumented)
+ protectionContainerOperationResults: ProtectionContainerOperationResults;
+ // (undocumented)
+ protectionContainerRefreshOperationResults: ProtectionContainerRefreshOperationResults;
+ // (undocumented)
+ protectionContainers: ProtectionContainers;
+ // (undocumented)
+ protectionIntentOperations: ProtectionIntentOperations;
+ // (undocumented)
+ protectionPolicies: ProtectionPolicies;
+ // (undocumented)
+ protectionPolicyOperationResults: ProtectionPolicyOperationResults;
+ // (undocumented)
+ protectionPolicyOperationStatuses: ProtectionPolicyOperationStatuses;
+ // (undocumented)
+ recoveryPoints: RecoveryPoints;
+ // (undocumented)
+ recoveryPointsRecommendedForMove: RecoveryPointsRecommendedForMove;
+ // (undocumented)
+ resourceGuardProxies: ResourceGuardProxies;
+ // (undocumented)
+ resourceGuardProxy: ResourceGuardProxy;
+ // (undocumented)
+ restores: Restores;
+ // (undocumented)
+ securityPINs: SecurityPINs;
+ // (undocumented)
+ subscriptionId: string;
+ // (undocumented)
+ validateOperation: ValidateOperation;
+ // (undocumented)
+ validateOperationResults: ValidateOperationResults;
+ // (undocumented)
+ validateOperationStatuses: ValidateOperationStatuses;
+}
+
+// @public
+export interface RecoveryServicesBackupClientOptionalParams extends coreClient.ServiceClientOptions {
+ $host?: string;
+ apiVersion?: string;
+ endpoint?: string;
+}
+
+// @public
+export type RecoveryType = string;
+
+// @public
+export type RehydrationPriority = string;
+
+// @public
+export interface Resource {
+ eTag?: string;
+ readonly id?: string;
+ location?: string;
+ readonly name?: string;
+ tags?: {
+ [propertyName: string]: string;
+ };
+ readonly type?: string;
+}
+
+// @public (undocumented)
+export interface ResourceGuardOperationDetail {
+ // (undocumented)
+ defaultResourceRequest?: string;
+ // (undocumented)
+ vaultCriticalOperation?: string;
+}
+
+// @public
+export interface ResourceGuardProxies {
+ list(vaultName: string, resourceGroupName: string, options?: ResourceGuardProxiesGetOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface ResourceGuardProxiesGetNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ResourceGuardProxiesGetNextResponse = ResourceGuardProxyBaseResourceList;
+
+// @public
+export interface ResourceGuardProxiesGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ResourceGuardProxiesGetResponse = ResourceGuardProxyBaseResourceList;
+
+// @public
+export interface ResourceGuardProxy {
+ delete(vaultName: string, resourceGroupName: string, resourceGuardProxyName: string, options?: ResourceGuardProxyDeleteOptionalParams): Promise;
+ get(vaultName: string, resourceGroupName: string, resourceGuardProxyName: string, options?: ResourceGuardProxyGetOptionalParams): Promise;
+ put(vaultName: string, resourceGroupName: string, resourceGuardProxyName: string, options?: ResourceGuardProxyPutOptionalParams): Promise;
+ unlockDelete(vaultName: string, resourceGroupName: string, resourceGuardProxyName: string, parameters: UnlockDeleteRequest, options?: ResourceGuardProxyUnlockDeleteOptionalParams): Promise;
+}
+
+// @public (undocumented)
+export interface ResourceGuardProxyBase {
+ // (undocumented)
+ description?: string;
+ // (undocumented)
+ lastUpdatedTime?: string;
+ // (undocumented)
+ resourceGuardOperationDetails?: ResourceGuardOperationDetail[];
+ // (undocumented)
+ resourceGuardResourceId?: string;
+}
+
+// @public (undocumented)
+export type ResourceGuardProxyBaseResource = Resource & {
+ properties?: ResourceGuardProxyBase;
+};
+
+// @public
+export type ResourceGuardProxyBaseResourceList = ResourceList & {
+ value?: ResourceGuardProxyBaseResource[];
+};
+
+// @public
+export interface ResourceGuardProxyDeleteOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface ResourceGuardProxyGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ResourceGuardProxyGetResponse = ResourceGuardProxyBaseResource;
+
+// @public
+export interface ResourceGuardProxyPutOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ResourceGuardProxyPutResponse = ResourceGuardProxyBaseResource;
+
+// @public
+export interface ResourceGuardProxyUnlockDeleteOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ResourceGuardProxyUnlockDeleteResponse = UnlockDeleteResponse;
+
+// @public
+export interface ResourceHealthDetails {
+ readonly code?: number;
+ readonly message?: string;
+ readonly recommendations?: string[];
+ readonly title?: string;
+}
+
+// @public
+export type ResourceHealthStatus = string;
+
+// @public
+export interface ResourceList {
+ nextLink?: string;
+}
+
+// @public
+export interface RestoreFileSpecs {
+ fileSpecType?: string;
+ path?: string;
+ targetFolderPath?: string;
+}
+
+// @public
+export type RestorePointQueryType = string;
+
+// @public
+export type RestorePointType = string;
+
+// @public
+export interface RestoreRequest {
+ objectType: "AzureFileShareRestoreRequest" | "AzureWorkloadRestoreRequest" | "AzureWorkloadPointInTimeRestoreRequest" | "AzureWorkloadSAPHanaRestoreRequest" | "AzureWorkloadSAPHanaPointInTimeRestoreRequest" | "AzureWorkloadSQLRestoreRequest" | "AzureWorkloadSQLPointInTimeRestoreRequest" | "IaasVMRestoreRequest" | "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest" | "AzureWorkloadSAPHanaRestoreWithRehydrateRequest" | "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest" | "AzureWorkloadSQLRestoreWithRehydrateRequest" | "IaasVMRestoreWithRehydrationRequest";
+}
+
+// @public
+export type RestoreRequestResource = Resource & {
+ properties?: RestoreRequestUnion;
+};
+
+// @public
+export type RestoreRequestType = string;
+
+// @public (undocumented)
+export type RestoreRequestUnion = RestoreRequest | AzureFileShareRestoreRequest | AzureWorkloadRestoreRequestUnion | IaasVMRestoreRequestUnion;
+
+// @public
+export interface Restores {
+ beginTrigger(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: RestoreRequestResource, options?: RestoresTriggerOptionalParams): Promise, void>>;
+ beginTriggerAndWait(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: RestoreRequestResource, options?: RestoresTriggerOptionalParams): Promise;
+}
+
+// @public
+export interface RestoresTriggerOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface RetentionDuration {
+ count?: number;
+ durationType?: RetentionDurationType;
+}
+
+// @public
+export type RetentionDurationType = string;
+
+// @public
+export interface RetentionPolicy {
+ retentionPolicyType: "LongTermRetentionPolicy" | "SimpleRetentionPolicy";
+}
+
+// @public (undocumented)
+export type RetentionPolicyUnion = RetentionPolicy | LongTermRetentionPolicy | SimpleRetentionPolicy;
+
+// @public
+export type RetentionScheduleFormat = string;
+
+// @public
+export interface SchedulePolicy {
+ schedulePolicyType: "LogSchedulePolicy" | "LongTermSchedulePolicy" | "SimpleSchedulePolicy";
+}
+
+// @public (undocumented)
+export type SchedulePolicyUnion = SchedulePolicy | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy;
+
+// @public
+export type ScheduleRunType = string;
+
+// @public
+export interface SecurityPinBase {
+ resourceGuardOperationRequests?: string[];
+}
+
+// @public
+export interface SecurityPINs {
+ get(vaultName: string, resourceGroupName: string, options?: SecurityPINsGetOptionalParams): Promise;
+}
+
+// @public
+export interface SecurityPINsGetOptionalParams extends coreClient.OperationOptions {
+ parameters?: SecurityPinBase;
+}
+
+// @public
+export type SecurityPINsGetResponse = TokenInformation;
+
+// @public
+export interface Settings {
+ isCompression?: boolean;
+ issqlcompression?: boolean;
+ timeZone?: string;
+}
+
+// @public
+export type SimpleRetentionPolicy = RetentionPolicy & {
+ retentionPolicyType: "SimpleRetentionPolicy";
+ retentionDuration?: RetentionDuration;
+};
+
+// @public
+export type SimpleSchedulePolicy = SchedulePolicy & {
+ schedulePolicyType: "SimpleSchedulePolicy";
+ scheduleRunFrequency?: ScheduleRunType;
+ scheduleRunDays?: DayOfWeek[];
+ scheduleRunTimes?: Date[];
+ hourlySchedule?: HourlySchedule;
+ scheduleWeeklyFrequency?: number;
+};
+
+// @public
+export type SoftDeleteFeatureState = string;
+
+// @public
+export interface SQLDataDirectory {
+ logicalName?: string;
+ path?: string;
+ type?: SQLDataDirectoryType;
+}
+
+// @public
+export interface SQLDataDirectoryMapping {
+ mappingType?: SQLDataDirectoryType;
+ sourceLogicalName?: string;
+ sourcePath?: string;
+ targetPath?: string;
+}
+
+// @public
+export type SQLDataDirectoryType = string;
+
+// @public
+export type StorageType = string;
+
+// @public
+export type StorageTypeState = string;
+
+// @public
+export interface SubProtectionPolicy {
+ policyType?: PolicyType;
+ retentionPolicy?: RetentionPolicyUnion;
+ schedulePolicy?: SchedulePolicyUnion;
+}
+
+// @public
+export type SupportStatus = string;
+
+// @public
+export interface TargetAFSRestoreInfo {
+ name?: string;
+ targetResourceId?: string;
+}
+
+// @public
+export interface TargetRestoreInfo {
+ containerId?: string;
+ databaseName?: string;
+ overwriteOption?: OverwriteOptions;
+ targetDirectoryForFileRestore?: string;
+}
+
+// @public
+export interface TokenInformation {
+ expiryTimeInUtcTicks?: number;
+ securityPIN?: string;
+ token?: string;
+}
+
+// @public
+export interface TriggerDataMoveRequest {
+ correlationId: string;
+ dataMoveLevel: DataMoveLevel;
+ pauseGC?: boolean;
+ sourceContainerArmIds?: string[];
+ sourceRegion: string;
+ sourceResourceId: string;
+}
+
+// @public
+export type Type = string;
+
+// @public
+export interface UnlockDeleteRequest {
+ // (undocumented)
+ resourceGuardOperationRequests?: string[];
+ // (undocumented)
+ resourceToBeDeleted?: string;
+}
+
+// @public
+export interface UnlockDeleteResponse {
+ unlockDeleteExpiryTime?: string;
+}
+
+// @public
+export type UsagesUnit = string;
+
+// @public
+export type ValidateIaasVMRestoreOperationRequest = ValidateRestoreOperationRequest & {
+ objectType: "ValidateIaasVMRestoreOperationRequest";
+};
+
+// @public
+export interface ValidateOperation {
+ beginTrigger(vaultName: string, resourceGroupName: string, parameters: ValidateOperationRequestUnion, options?: ValidateOperationTriggerOptionalParams): Promise, void>>;
+ beginTriggerAndWait(vaultName: string, resourceGroupName: string, parameters: ValidateOperationRequestUnion, options?: ValidateOperationTriggerOptionalParams): Promise;
+}
+
+// @public
+export interface ValidateOperationRequest {
+ objectType: "ValidateRestoreOperationRequest" | "ValidateIaasVMRestoreOperationRequest";
+}
+
+// @public (undocumented)
+export type ValidateOperationRequestUnion = ValidateOperationRequest | ValidateRestoreOperationRequestUnion;
+
+// @public
+export interface ValidateOperationResponse {
+ validationResults?: ErrorDetail[];
+}
+
+// @public
+export interface ValidateOperationResults {
+ get(vaultName: string, resourceGroupName: string, operationId: string, options?: ValidateOperationResultsGetOptionalParams): Promise;
+}
+
+// @public
+export interface ValidateOperationResultsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ValidateOperationResultsGetResponse = ValidateOperationsResponse;
+
+// @public (undocumented)
+export interface ValidateOperationsResponse {
+ validateOperationResponse?: ValidateOperationResponse;
+}
+
+// @public
+export interface ValidateOperationStatuses {
+ get(vaultName: string, resourceGroupName: string, operationId: string, options?: ValidateOperationStatusesGetOptionalParams): Promise;
+}
+
+// @public
+export interface ValidateOperationStatusesGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ValidateOperationStatusesGetResponse = OperationStatus;
+
+// @public
+export interface ValidateOperationTriggerOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type ValidateRestoreOperationRequest = ValidateOperationRequest & {
+ objectType: "ValidateRestoreOperationRequest" | "ValidateIaasVMRestoreOperationRequest";
+ restoreRequest?: RestoreRequestUnion;
+};
+
+// @public (undocumented)
+export type ValidateRestoreOperationRequestUnion = ValidateRestoreOperationRequest | ValidateIaasVMRestoreOperationRequest;
+
+// @public
+export type ValidationStatus = string;
+
+// @public
+export type VaultJob = Job & {
+ jobType: "VaultJob";
+ duration?: string;
+ actionsInfo?: JobSupportedAction[];
+ errorDetails?: VaultJobErrorInfo[];
+ extendedInfo?: VaultJobExtendedInfo;
+};
+
+// @public
+export interface VaultJobErrorInfo {
+ errorCode?: number;
+ errorString?: string;
+ recommendations?: string[];
+}
+
+// @public
+export interface VaultJobExtendedInfo {
+ propertyBag?: {
+ [propertyName: string]: string;
+ };
+}
+
+// @public
+export interface VaultStorageConfigOperationResultResponse {
+ objectType: "PrepareDataMoveResponse";
+}
+
+// @public (undocumented)
+export type VaultStorageConfigOperationResultResponseUnion = VaultStorageConfigOperationResultResponse | PrepareDataMoveResponse;
+
+// @public
+export interface WeeklyRetentionFormat {
+ daysOfTheWeek?: DayOfWeek[];
+ weeksOfTheMonth?: WeekOfMonth[];
+}
+
+// @public
+export interface WeeklyRetentionSchedule {
+ daysOfTheWeek?: DayOfWeek[];
+ retentionDuration?: RetentionDuration;
+ retentionTimes?: Date[];
+}
+
+// @public
+export type WeekOfMonth = "First" | "Second" | "Third" | "Fourth" | "Last" | "Invalid";
+
+// @public
+export interface WorkloadInquiryDetails {
+ inquiryValidation?: InquiryValidation;
+ itemCount?: number;
+ type?: string;
+}
+
+// @public
+export interface WorkloadItem {
+ backupManagementType?: string;
+ friendlyName?: string;
+ protectionState?: ProtectionStatus;
+ workloadItemType: "AzureVmWorkloadItem" | "SAPAseDatabase" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SQLDataBase" | "SQLInstance";
+ workloadType?: string;
+}
+
+// @public
+export type WorkloadItemResource = Resource & {
+ properties?: WorkloadItemUnion;
+};
+
+// @public
+export type WorkloadItemResourceList = ResourceList & {
+ value?: WorkloadItemResource[];
+};
+
+// @public
+export type WorkloadItemType = string;
+
+// @public (undocumented)
+export type WorkloadItemUnion = WorkloadItem | AzureVmWorkloadItemUnion;
+
+// @public
+export interface WorkloadProtectableItem {
+ backupManagementType?: string;
+ friendlyName?: string;
+ protectableItemType: "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
+ protectionState?: ProtectionStatus;
+ workloadType?: string;
+}
+
+// @public
+export type WorkloadProtectableItemResource = Resource & {
+ properties?: WorkloadProtectableItemUnion;
+};
+
+// @public
+export type WorkloadProtectableItemResourceList = ResourceList & {
+ value?: WorkloadProtectableItemResource[];
+};
+
+// @public (undocumented)
+export type WorkloadProtectableItemUnion = WorkloadProtectableItem | AzureFileShareProtectableItem | IaaSVMProtectableItemUnion | AzureVmWorkloadProtectableItemUnion;
+
+// @public
+export type WorkloadType = string;
+
+// @public
+export type XcoolState = string;
+
+// @public
+export interface YearlyRetentionSchedule {
+ monthsOfYear?: MonthOfYear[];
+ retentionDuration?: RetentionDuration;
+ retentionScheduleDaily?: DailyRetentionFormat;
+ retentionScheduleFormatType?: RetentionScheduleFormat;
+ retentionScheduleWeekly?: WeeklyRetentionFormat;
+ retentionTimes?: Date[];
+}
+
+// (No @packageDocumentation comment for this package)
+
+```
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/rollup.config.js b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/rollup.config.js
index ea6687ad2d1a..9be1955eb7f1 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/rollup.config.js
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/rollup.config.js
@@ -1,31 +1,188 @@
-import rollup from "rollup";
-import nodeResolve from "rollup-plugin-node-resolve";
-import sourcemaps from "rollup-plugin-sourcemaps";
-
-/**
- * @type {rollup.RollupFileOptions}
- */
-const config = {
- input: "./esm/recoveryServicesBackupClient.js",
- external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"],
- output: {
- file: "./dist/arm-recoveryservicesbackup.js",
- format: "umd",
- name: "Azure.ArmRecoveryservicesbackup",
- sourcemap: true,
- globals: {
- "@azure/ms-rest-js": "msRest",
- "@azure/ms-rest-azure-js": "msRestAzure"
- },
- banner: `/*
+/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */`
- },
- plugins: [nodeResolve({ mainFields: ["module", "main"] }), sourcemaps()]
+ */
+
+import nodeResolve from "@rollup/plugin-node-resolve";
+import cjs from "@rollup/plugin-commonjs";
+import sourcemaps from "rollup-plugin-sourcemaps";
+import multiEntry from "@rollup/plugin-multi-entry";
+import json from "@rollup/plugin-json";
+
+import nodeBuiltins from "builtin-modules";
+
+/**
+ * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api.
+ *
+ * NOTE: this manual configuration is only needed because OpenTelemetry uses an
+ * __exportStar downleveled helper function to declare its exports which confuses
+ * rollup's automatic discovery mechanism.
+ *
+ * @returns an object reference that can be `...`'d into your cjs() configuration.
+ */
+export function openTelemetryCommonJs() {
+ const namedExports = {};
+
+ for (const key of [
+ "@opentelemetry/api",
+ "@azure/core-tracing/node_modules/@opentelemetry/api"
+ ]) {
+ namedExports[key] = [
+ "SpanKind",
+ "TraceFlags",
+ "getSpan",
+ "setSpan",
+ "SpanStatusCode",
+ "getSpanContext",
+ "setSpanContext"
+ ];
+ }
+
+ const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"];
+
+ for (const version of releasedOpenTelemetryVersions) {
+ namedExports[
+ // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path.
+ `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js`
+ ] = [
+ "SpanKind",
+ "TraceFlags",
+ "getSpan",
+ "setSpan",
+ "StatusCode",
+ "CanonicalCode",
+ "getSpanContext",
+ "setSpanContext"
+ ];
+ }
+
+ return namedExports;
+}
+
+// #region Warning Handler
+
+/**
+ * A function that can determine whether a rollupwarning should be ignored. If
+ * the function returns `true`, then the warning will not be displayed.
+ */
+
+function ignoreNiseSinonEvalWarnings(warning) {
+ return (
+ warning.code === "EVAL" &&
+ warning.id &&
+ (warning.id.includes("node_modules/nise") ||
+ warning.id.includes("node_modules/sinon")) === true
+ );
+}
+
+function ignoreChaiCircularDependencyWarnings(warning) {
+ return (
+ warning.code === "CIRCULAR_DEPENDENCY" &&
+ warning.importer && warning.importer.includes("node_modules/chai") === true
+ );
+}
+
+const warningInhibitors = [
+ ignoreChaiCircularDependencyWarnings,
+ ignoreNiseSinonEvalWarnings
+];
+
+/**
+ * Construct a warning handler for the shared rollup configuration
+ * that ignores certain warnings that are not relevant to testing.
+ */
+function makeOnWarnForTesting() {
+ return (warning, warn) => {
+ // If every inhibitor returns false (i.e. no inhibitors), then show the warning
+ if (warningInhibitors.every((inhib) => !inhib(warning))) {
+ warn(warning);
+ }
+ };
+}
+
+// #endregion
+
+function makeBrowserTestConfig() {
+ const config = {
+ input: {
+ include: ["dist-esm/test/**/*.spec.js"],
+ exclude: ["dist-esm/test/**/node/**"]
+ },
+ output: {
+ file: `dist-test/index.browser.js`,
+ format: "umd",
+ sourcemap: true
+ },
+ preserveSymlinks: false,
+ plugins: [
+ multiEntry({ exports: false }),
+ nodeResolve({
+ mainFields: ["module", "browser"]
+ }),
+ cjs({
+ namedExports: {
+ // Chai's strange internal architecture makes it impossible to statically
+ // analyze its exports.
+ chai: [
+ "version",
+ "use",
+ "util",
+ "config",
+ "expect",
+ "should",
+ "assert"
+ ],
+ ...openTelemetryCommonJs()
+ }
+ }),
+ json(),
+ sourcemaps()
+ //viz({ filename: "dist-test/browser-stats.html", sourcemap: true })
+ ],
+ onwarn: makeOnWarnForTesting(),
+ // Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0,
+ // rollup started respecting the "sideEffects" field in package.json. Since
+ // our package.json sets "sideEffects=false", this also applies to test
+ // code, which causes all tests to be removed by tree-shaking.
+ treeshake: false
+ };
+
+ return config;
+}
+
+const defaultConfigurationOptions = {
+ disableBrowserBundle: false
};
-export default config;
+export function makeConfig(pkg, options) {
+ options = {
+ ...defaultConfigurationOptions,
+ ...(options || {})
+ };
+
+ const baseConfig = {
+ // Use the package's module field if it has one
+ input: pkg["module"] || "dist-esm/src/index.js",
+ external: [
+ ...nodeBuiltins,
+ ...Object.keys(pkg.dependencies),
+ ...Object.keys(pkg.devDependencies)
+ ],
+ output: { file: "dist/index.js", format: "cjs", sourcemap: true },
+ preserveSymlinks: false,
+ plugins: [sourcemaps(), nodeResolve(), cjs()]
+ };
+
+ const config = [baseConfig];
+
+ if (!options.disableBrowserBundle) {
+ config.push(makeBrowserTestConfig());
+ }
+
+ return config;
+}
+
+export default makeConfig(require("./package.json"));
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupOperationResultsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/index.ts
similarity index 54%
rename from sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupOperationResultsMappers.ts
rename to sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/index.ts
index 841f64f3c0bd..5ad081670efe 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupOperationResultsMappers.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/index.ts
@@ -6,4 +6,7 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-export { discriminators, CloudError } from "../models/mappers";
+///
+export * from "./models";
+export { RecoveryServicesBackupClient } from "./recoveryServicesBackupClient";
+export * from "./operationsInterfaces";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/lroImpl.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/lroImpl.ts
new file mode 100644
index 000000000000..518d5f053b4e
--- /dev/null
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/lroImpl.ts
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import { LongRunningOperation, LroResponse } from "@azure/core-lro";
+
+export class LroImpl implements LongRunningOperation {
+ constructor(
+ private sendOperationFn: (args: any, spec: any) => Promise>,
+ private args: Record,
+ private spec: {
+ readonly requestBody?: unknown;
+ readonly path?: string;
+ readonly httpMethod: string;
+ } & Record,
+ public requestPath: string = spec.path!,
+ public requestMethod: string = spec.httpMethod
+ ) {}
+ public async sendInitialRequest(): Promise> {
+ return this.sendOperationFn(this.args, this.spec);
+ }
+ public async sendPollRequest(path: string): Promise> {
+ const { requestBody, ...restSpec } = this.spec;
+ return this.sendOperationFn(this.args, {
+ ...restSpec,
+ path,
+ httpMethod: "GET"
+ });
+ }
+}
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/aadPropertiesMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/aadPropertiesMappers.ts
deleted file mode 100644
index f478e80e0f73..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/aadPropertiesMappers.ts
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorAdditionalInfo,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- NewErrorResponse,
- NewErrorResponseError,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/bMSPrepareDataMoveOperationResultMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/bMSPrepareDataMoveOperationResultMappers.ts
deleted file mode 100644
index 2ac6dde24d4d..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/bMSPrepareDataMoveOperationResultMappers.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- ErrorAdditionalInfo,
- NewErrorResponse,
- NewErrorResponseError,
- PrepareDataMoveResponse,
- VaultStorageConfigOperationResultResponse
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupCrrJobDetailsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupCrrJobDetailsMappers.ts
deleted file mode 100644
index f478e80e0f73..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupCrrJobDetailsMappers.ts
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorAdditionalInfo,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- NewErrorResponse,
- NewErrorResponseError,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupCrrJobsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupCrrJobsMappers.ts
deleted file mode 100644
index 2a64622f2f0e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupCrrJobsMappers.ts
+++ /dev/null
@@ -1,236 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorAdditionalInfo,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- NewErrorResponse,
- NewErrorResponseError,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupEnginesMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupEnginesMappers.ts
deleted file mode 100644
index 2b141b46a66e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupEnginesMappers.ts
+++ /dev/null
@@ -1,234 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupJobsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupJobsMappers.ts
deleted file mode 100644
index 2b141b46a66e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupJobsMappers.ts
+++ /dev/null
@@ -1,234 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupOperationStatusesMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupOperationStatusesMappers.ts
deleted file mode 100644
index 08be818858ae..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupOperationStatusesMappers.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AzureFileShareRecoveryPoint,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- BEKDetails,
- ClientScriptForConnect,
- CloudError,
- DiskInformation,
- GenericRecoveryPoint,
- IaasVMRecoveryPoint,
- InstantItemRecoveryTarget,
- KEKDetails,
- KeyAndSecretDetails,
- OperationStatus,
- OperationStatusError,
- OperationStatusExtendedInfo,
- OperationStatusJobExtendedInfo,
- OperationStatusJobsExtendedInfo,
- OperationStatusProvisionILRExtendedInfo,
- OperationStatusRecoveryPointExtendedInfo,
- PointInTimeRange,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointTierInformation,
- SQLDataDirectory
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupPoliciesMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupPoliciesMappers.ts
deleted file mode 100644
index 2b141b46a66e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupPoliciesMappers.ts
+++ /dev/null
@@ -1,234 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectableItemsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectableItemsMappers.ts
deleted file mode 100644
index 2b141b46a66e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectableItemsMappers.ts
+++ /dev/null
@@ -1,234 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectedItemsCrrMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectedItemsCrrMappers.ts
deleted file mode 100644
index 2a64622f2f0e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectedItemsCrrMappers.ts
+++ /dev/null
@@ -1,236 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorAdditionalInfo,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- NewErrorResponse,
- NewErrorResponseError,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectedItemsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectedItemsMappers.ts
deleted file mode 100644
index 2b141b46a66e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectedItemsMappers.ts
+++ /dev/null
@@ -1,234 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectionContainersMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectionContainersMappers.ts
deleted file mode 100644
index 2b141b46a66e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectionContainersMappers.ts
+++ /dev/null
@@ -1,234 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectionIntentMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectionIntentMappers.ts
deleted file mode 100644
index 2b141b46a66e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupProtectionIntentMappers.ts
+++ /dev/null
@@ -1,234 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupResourceEncryptionConfigsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupResourceEncryptionConfigsMappers.ts
deleted file mode 100644
index f478e80e0f73..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupResourceEncryptionConfigsMappers.ts
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorAdditionalInfo,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- NewErrorResponse,
- NewErrorResponseError,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupResourceStorageConfigsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupResourceStorageConfigsMappers.ts
deleted file mode 100644
index f478e80e0f73..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupResourceStorageConfigsMappers.ts
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorAdditionalInfo,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- NewErrorResponse,
- NewErrorResponseError,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupResourceVaultConfigsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupResourceVaultConfigsMappers.ts
deleted file mode 100644
index f478e80e0f73..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupResourceVaultConfigsMappers.ts
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorAdditionalInfo,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- NewErrorResponse,
- NewErrorResponseError,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupStatusMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupStatusMappers.ts
deleted file mode 100644
index 195ec26f67a5..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupStatusMappers.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- BackupStatusRequest,
- BackupStatusResponse,
- CloudError
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupUsageSummariesCRRMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupUsageSummariesCRRMappers.ts
deleted file mode 100644
index 387b0f7f5b1d..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupUsageSummariesCRRMappers.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- BackupManagementUsage,
- BackupManagementUsageList,
- ErrorAdditionalInfo,
- NameInfo,
- NewErrorResponse,
- NewErrorResponseError
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupUsageSummariesMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupUsageSummariesMappers.ts
deleted file mode 100644
index a09f6df2d285..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupUsageSummariesMappers.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- BackupManagementUsage,
- BackupManagementUsageList,
- CloudError,
- NameInfo
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupWorkloadItemsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupWorkloadItemsMappers.ts
deleted file mode 100644
index 2b141b46a66e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupWorkloadItemsMappers.ts
+++ /dev/null
@@ -1,234 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupsMappers.ts
deleted file mode 100644
index a7719f9e3a6a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/backupsMappers.ts
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/crossRegionRestoreMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/crossRegionRestoreMappers.ts
deleted file mode 100644
index 3b9a9f884247..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/crossRegionRestoreMappers.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AzureFileShareRestoreRequest,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- CrossRegionRestoreRequest,
- CrrAccessToken,
- EncryptionDetails,
- ErrorAdditionalInfo,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- NewErrorResponse,
- NewErrorResponseError,
- RecoveryPointRehydrationInfo,
- RestoreFileSpecs,
- RestoreRequest,
- SQLDataDirectoryMapping,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- WorkloadCrrAccessToken
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/crrOperationResultsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/crrOperationResultsMappers.ts
deleted file mode 100644
index 6b281afdf294..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/crrOperationResultsMappers.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- ErrorAdditionalInfo,
- NewErrorResponse,
- NewErrorResponseError
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/crrOperationStatusMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/crrOperationStatusMappers.ts
deleted file mode 100644
index 61a4fde86431..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/crrOperationStatusMappers.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AzureFileShareRecoveryPoint,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- BEKDetails,
- ClientScriptForConnect,
- DiskInformation,
- ErrorAdditionalInfo,
- GenericRecoveryPoint,
- IaasVMRecoveryPoint,
- InstantItemRecoveryTarget,
- KEKDetails,
- KeyAndSecretDetails,
- NewErrorResponse,
- NewErrorResponseError,
- OperationStatus,
- OperationStatusError,
- OperationStatusExtendedInfo,
- OperationStatusJobExtendedInfo,
- OperationStatusJobsExtendedInfo,
- OperationStatusProvisionILRExtendedInfo,
- OperationStatusRecoveryPointExtendedInfo,
- PointInTimeRange,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointTierInformation,
- SQLDataDirectory
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/exportJobsOperationResultsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/exportJobsOperationResultsMappers.ts
deleted file mode 100644
index b1eb0d5f7cc9..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/exportJobsOperationResultsMappers.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- CloudError,
- ExportJobsOperationResultInfo,
- OperationResultInfo,
- OperationResultInfoBase,
- OperationResultInfoBaseResource,
- OperationWorkerResponse
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/featureSupportMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/featureSupportMappers.ts
deleted file mode 100644
index ec3de8eb31f0..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/featureSupportMappers.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AzureBackupGoalFeatureSupportRequest,
- AzureVMResourceFeatureSupportRequest,
- AzureVMResourceFeatureSupportResponse,
- CloudError,
- FeatureSupportRequest
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/index.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/index.ts
index 4d1ebf9b4cf2..a4d0fce83205 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/index.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/index.ts
@@ -6,597 +6,1105 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
-import * as msRest from "@azure/ms-rest-js";
+import * as coreClient from "@azure/core-client";
-export { BaseResource, CloudError };
+export type FeatureSupportRequestUnion =
+ | FeatureSupportRequest
+ | AzureBackupGoalFeatureSupportRequest
+ | AzureVMResourceFeatureSupportRequest;
+export type ProtectionIntentUnion =
+ | ProtectionIntent
+ | AzureRecoveryServiceVaultProtectionIntentUnion
+ | AzureResourceProtectionIntent
+ | AzureWorkloadContainerAutoProtectionIntent;
+export type OperationStatusExtendedInfoUnion =
+ | OperationStatusExtendedInfo
+ | OperationStatusJobExtendedInfo
+ | OperationStatusJobsExtendedInfo
+ | OperationStatusProvisionILRExtendedInfo
+ | OperationStatusValidateOperationExtendedInfo;
+export type VaultStorageConfigOperationResultResponseUnion =
+ | VaultStorageConfigOperationResultResponse
+ | PrepareDataMoveResponse;
+export type ProtectedItemUnion =
+ | ProtectedItem
+ | AzureFileshareProtectedItem
+ | AzureIaaSVMProtectedItemUnion
+ | AzureSqlProtectedItem
+ | AzureVmWorkloadProtectedItemUnion
+ | DPMProtectedItem
+ | GenericProtectedItem
+ | MabFileFolderProtectedItem;
+export type RecoveryPointUnion =
+ | RecoveryPoint
+ | AzureFileShareRecoveryPoint
+ | AzureWorkloadRecoveryPointUnion
+ | GenericRecoveryPoint
+ | IaasVMRecoveryPoint;
+export type RestoreRequestUnion =
+ | RestoreRequest
+ | AzureFileShareRestoreRequest
+ | AzureWorkloadRestoreRequestUnion
+ | IaasVMRestoreRequestUnion;
+export type ProtectionPolicyUnion =
+ | ProtectionPolicy
+ | AzureVmWorkloadProtectionPolicy
+ | AzureFileShareProtectionPolicy
+ | AzureIaaSVMProtectionPolicy
+ | AzureSqlProtectionPolicy
+ | GenericProtectionPolicy
+ | MabProtectionPolicy;
+export type JobUnion =
+ | Job
+ | AzureIaaSVMJob
+ | AzureIaaSVMJobV2
+ | AzureStorageJob
+ | AzureWorkloadJob
+ | DpmJob
+ | MabJob
+ | VaultJob;
+export type OperationResultInfoBaseUnion =
+ | OperationResultInfoBase
+ | ExportJobsOperationResultInfo
+ | OperationResultInfo;
+export type ValidateOperationRequestUnion =
+ | ValidateOperationRequest
+ | ValidateRestoreOperationRequestUnion;
+export type BackupEngineBaseUnion =
+ | BackupEngineBase
+ | AzureBackupServerEngine
+ | DpmBackupEngine;
+export type ProtectableContainerUnion =
+ | ProtectableContainer
+ | AzureStorageProtectableContainer
+ | AzureVMAppContainerProtectableContainer;
+export type ProtectionContainerUnion =
+ | ProtectionContainer
+ | DpmContainerUnion
+ | IaaSVMContainerUnion
+ | AzureWorkloadContainerUnion
+ | AzureSqlContainer
+ | AzureStorageContainer
+ | GenericContainer
+ | MabContainer;
+export type WorkloadItemUnion = WorkloadItem | AzureVmWorkloadItemUnion;
+export type BackupRequestUnion =
+ | BackupRequest
+ | AzureFileShareBackupRequest
+ | AzureWorkloadBackupRequest
+ | IaasVMBackupRequest;
+export type ILRRequestUnion =
+ | ILRRequest
+ | AzureFileShareProvisionILRRequest
+ | IaasVmilrRegistrationRequest;
+export type WorkloadProtectableItemUnion =
+ | WorkloadProtectableItem
+ | AzureFileShareProtectableItem
+ | IaaSVMProtectableItemUnion
+ | AzureVmWorkloadProtectableItemUnion;
+export type SchedulePolicyUnion =
+ | SchedulePolicy
+ | LogSchedulePolicy
+ | LongTermSchedulePolicy
+ | SimpleSchedulePolicy;
+export type RetentionPolicyUnion =
+ | RetentionPolicy
+ | LongTermRetentionPolicy
+ | SimpleRetentionPolicy;
+export type AzureRecoveryServiceVaultProtectionIntentUnion =
+ | AzureRecoveryServiceVaultProtectionIntent
+ | AzureWorkloadAutoProtectionIntentUnion;
+export type AzureIaaSVMProtectedItemUnion =
+ | AzureIaaSVMProtectedItem
+ | AzureIaaSClassicComputeVMProtectedItem
+ | AzureIaaSComputeVMProtectedItem;
+export type AzureVmWorkloadProtectedItemUnion =
+ | AzureVmWorkloadProtectedItem
+ | AzureVmWorkloadSAPAseDatabaseProtectedItem
+ | AzureVmWorkloadSAPHanaDatabaseProtectedItem
+ | AzureVmWorkloadSQLDatabaseProtectedItem;
+export type AzureWorkloadRecoveryPointUnion =
+ | AzureWorkloadRecoveryPoint
+ | AzureWorkloadPointInTimeRecoveryPointUnion
+ | AzureWorkloadSAPHanaRecoveryPoint
+ | AzureWorkloadSQLRecoveryPointUnion;
+export type AzureWorkloadRestoreRequestUnion =
+ | AzureWorkloadRestoreRequest
+ | AzureWorkloadPointInTimeRestoreRequest
+ | AzureWorkloadSAPHanaRestoreRequestUnion
+ | AzureWorkloadSQLRestoreRequestUnion;
+export type IaasVMRestoreRequestUnion =
+ | IaasVMRestoreRequest
+ | IaasVMRestoreWithRehydrationRequest;
+export type ValidateRestoreOperationRequestUnion =
+ | ValidateRestoreOperationRequest
+ | ValidateIaasVMRestoreOperationRequest;
+export type DpmContainerUnion = DpmContainer | AzureBackupServerContainer;
+export type IaaSVMContainerUnion =
+ | IaaSVMContainer
+ | AzureIaaSClassicComputeVMContainer
+ | AzureIaaSComputeVMContainer;
+export type AzureWorkloadContainerUnion =
+ | AzureWorkloadContainer
+ | AzureSqlagWorkloadContainerProtectionContainer
+ | AzureVMAppContainerProtectionContainer;
+export type AzureVmWorkloadItemUnion =
+ | AzureVmWorkloadItem
+ | AzureVmWorkloadSAPAseDatabaseWorkloadItem
+ | AzureVmWorkloadSAPAseSystemWorkloadItem
+ | AzureVmWorkloadSAPHanaDatabaseWorkloadItem
+ | AzureVmWorkloadSAPHanaSystemWorkloadItem
+ | AzureVmWorkloadSQLDatabaseWorkloadItem
+ | AzureVmWorkloadSQLInstanceWorkloadItem;
+export type IaaSVMProtectableItemUnion =
+ | IaaSVMProtectableItem
+ | AzureIaaSClassicComputeVMProtectableItem
+ | AzureIaaSComputeVMProtectableItem;
+export type AzureVmWorkloadProtectableItemUnion =
+ | AzureVmWorkloadProtectableItem
+ | AzureVmWorkloadSAPAseSystemProtectableItem
+ | AzureVmWorkloadSAPHanaDatabaseProtectableItem
+ | AzureVmWorkloadSAPHanaSystemProtectableItem
+ | AzureVmWorkloadSQLAvailabilityGroupProtectableItem
+ | AzureVmWorkloadSQLDatabaseProtectableItem
+ | AzureVmWorkloadSQLInstanceProtectableItem;
+export type AzureWorkloadAutoProtectionIntentUnion =
+ | AzureWorkloadAutoProtectionIntent
+ | AzureWorkloadSQLAutoProtectionIntent;
+export type AzureWorkloadPointInTimeRecoveryPointUnion =
+ | AzureWorkloadPointInTimeRecoveryPoint
+ | AzureWorkloadSAPHanaPointInTimeRecoveryPoint;
+export type AzureWorkloadSQLRecoveryPointUnion =
+ | AzureWorkloadSQLRecoveryPoint
+ | AzureWorkloadSQLPointInTimeRecoveryPoint;
+export type AzureWorkloadSAPHanaRestoreRequestUnion =
+ | AzureWorkloadSAPHanaRestoreRequest
+ | AzureWorkloadSAPHanaPointInTimeRestoreRequestUnion
+ | AzureWorkloadSAPHanaRestoreWithRehydrateRequest;
+export type AzureWorkloadSQLRestoreRequestUnion =
+ | AzureWorkloadSQLRestoreRequest
+ | AzureWorkloadSQLPointInTimeRestoreRequestUnion
+ | AzureWorkloadSQLRestoreWithRehydrateRequest;
+export type AzureWorkloadSAPHanaPointInTimeRestoreRequestUnion =
+ | AzureWorkloadSAPHanaPointInTimeRestoreRequest
+ | AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest;
+export type AzureWorkloadSQLPointInTimeRestoreRequestUnion =
+ | AzureWorkloadSQLPointInTimeRestoreRequest
+ | AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest;
-/**
- * An interface representing BackupResourceEncryptionConfig.
- */
-export interface BackupResourceEncryptionConfig {
- /**
- * Encryption At Rest Type. Possible values include: 'Invalid', 'MicrosoftManaged',
- * 'CustomerManaged'
- */
- encryptionAtRestType?: EncryptionAtRestType;
- /**
- * Key Vault Key URI
- */
- keyUri?: string;
- /**
- * Key Vault Subscription Id
- */
- subscriptionId?: string;
- /**
- * Possible values include: 'Invalid', 'NotEnabled', 'PartiallySucceeded', 'PartiallyFailed',
- * 'Failed', 'Succeeded'
- */
- lastUpdateStatus?: LastUpdateStatus;
- /**
- * Possible values include: 'Invalid', 'Disabled', 'Enabled'
- */
- infrastructureEncryptionState?: InfrastructureEncryptionState;
+/** The resource storage details. */
+export interface BackupResourceConfig {
+ /** Storage type */
+ storageModelType?: StorageType;
+ /** Storage type. */
+ storageType?: StorageType;
+ /** Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked. */
+ storageTypeState?: StorageTypeState;
+ /** Opt in details of Cross Region Restore feature. */
+ crossRegionRestoreFlag?: boolean;
+ /** Vault Dedup state */
+ dedupState?: DedupState;
+ /** Vault x-cool state */
+ xcoolState?: XcoolState;
}
-/**
- * ARM Resource.
- */
-export interface Resource extends BaseResource {
+/** ARM Resource. */
+export interface Resource {
/**
* Resource Id represents the complete path to the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* Resource name associated with the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
- /**
- * Resource location.
- */
+ /** Resource location. */
location?: string;
- /**
- * Resource tags.
- */
+ /** Resource tags. */
tags?: { [propertyName: string]: string };
- /**
- * Optional ETag.
- */
+ /** Optional ETag. */
eTag?: string;
}
-/**
- * An interface representing BackupResourceEncryptionConfigResource.
- */
-export interface BackupResourceEncryptionConfigResource extends Resource {
- /**
- * BackupResourceEncryptionConfigResource properties
- */
- properties?: BackupResourceEncryptionConfig;
-}
-
-/**
- * The Private Endpoint network resource that is linked to the Private Endpoint connection
- */
-export interface PrivateEndpoint {
- /**
- * Gets or sets id
- */
- id?: string;
+/** The resource management error response. */
+export interface NewErrorResponse {
+ /** The error object. */
+ error?: NewErrorResponseError;
}
-/**
- * Private Link Service Connection State
- */
-export interface PrivateLinkServiceConnectionState {
- /**
- * Gets or sets the status. Possible values include: 'Pending', 'Approved', 'Rejected',
- * 'Disconnected'
- */
- status?: PrivateEndpointConnectionStatus;
- /**
- * Gets or sets description
- */
- description?: string;
+/** The error object. */
+export interface NewErrorResponseError {
/**
- * Gets or sets actions required
+ * The error code.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- actionRequired?: string;
-}
-
-/**
- * Private Endpoint Connection Response Properties
- */
-export interface PrivateEndpointConnection {
+ readonly code?: string;
/**
- * Gets or sets provisioning state of the private endpoint connection. Possible values include:
- * 'Succeeded', 'Deleting', 'Failed', 'Pending'
+ * The error message.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- provisioningState?: ProvisioningState;
+ readonly message?: string;
/**
- * Gets or sets private endpoint associated with the private endpoint connection
+ * The error target.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- privateEndpoint?: PrivateEndpoint;
+ readonly target?: string;
/**
- * Gets or sets private link service connection state
+ * The error details.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
-}
-
-/**
- * Private Endpoint Connection Response Properties
- */
-export interface PrivateEndpointConnectionResource extends Resource {
+ readonly details?: NewErrorResponse[];
/**
- * PrivateEndpointConnectionResource properties
+ * The error additional info.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- properties?: PrivateEndpointConnection;
+ readonly additionalInfo?: ErrorAdditionalInfo[];
}
-/**
- * The resource management error additional info.
- */
+/** The resource management error additional info. */
export interface ErrorAdditionalInfo {
/**
* The additional info type.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/**
* The additional info.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly info?: any;
+ readonly info?: Record;
}
/**
- * The error object.
+ * Contract to validate if backup can be enabled on the given resource in a given vault and given configuration.
+ * It will validate followings
+ * 1. Vault capacity
+ * 2. VM is already protected
+ * 3. Any VM related configuration passed in properties.
*/
-export interface NewErrorResponseError {
- /**
- * The error code.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+export interface PreValidateEnableBackupRequest {
+ /** ProtectedItem Type- VM, SqlDataBase, AzureFileShare etc */
+ resourceType?: DataSourceType;
+ /** ARM Virtual Machine Id */
+ resourceId?: string;
+ /** ARM id of the Recovery Services Vault */
+ vaultId?: string;
+ /** Configuration of VM if any needs to be validated like OS type etc */
+ properties?: string;
+}
+
+/** Response contract for enable backup validation request */
+export interface PreValidateEnableBackupResponse {
+ /** Validation Status */
+ status?: ValidationStatus;
+ /** Response error code */
+ errorCode?: string;
+ /** Response error message */
+ errorMessage?: string;
+ /** Recommended action for user */
+ recommendation?: string;
+ /**
+ * Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required
+ * for portal
+ */
+ containerName?: string;
+ /** Specifies the product specific ds name. E.g. vm;iaasvmcontainer;rgname;vmname. This is required for portal */
+ protectedItemName?: string;
+}
+
+/** BackupStatus request. */
+export interface BackupStatusRequest {
+ /** Container Type - VM, SQLPaaS, DPM, AzureFileShare... */
+ resourceType?: DataSourceType;
+ /** Entire ARM resource id of the resource */
+ resourceId?: string;
+ /** Protectable Item Logical Name */
+ poLogicalName?: string;
+}
+
+/** BackupStatus response. */
+export interface BackupStatusResponse {
+ /** Specifies whether the container is registered or not */
+ protectionStatus?: ProtectionStatus;
+ /** Specifies the arm resource id of the vault */
+ vaultId?: string;
+ /** Specifies the fabric name - Azure or AD */
+ fabricName?: FabricName;
+ /** Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;csname;vmname. */
+ containerName?: string;
+ /** Specifies the product specific ds name. E.g. vm;iaasvmcontainer;csname;vmname. */
+ protectedItemName?: string;
+ /** ErrorCode in case of intent failed */
+ errorCode?: string;
+ /** ErrorMessage in case of intent failed. */
+ errorMessage?: string;
+ /** Specifies the policy name which is used for protection */
+ policyName?: string;
+ /** Container registration status */
+ registrationStatus?: string;
+}
+
+/** Base class for feature request */
+export interface FeatureSupportRequest {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ featureType: "AzureBackupGoals" | "AzureVMResourceBackup";
+}
+
+/** Response for feature support requests for Azure IaasVm */
+export interface AzureVMResourceFeatureSupportResponse {
+ /** Support status of feature */
+ supportStatus?: SupportStatus;
+}
+
+/** Base class for backup ProtectionIntent. */
+export interface ProtectionIntent {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectionIntentItemType:
+ | "RecoveryServiceVaultItem"
+ | "AzureResourceItem"
+ | "AzureWorkloadContainerAutoProtectionIntent"
+ | "AzureWorkloadAutoProtectionIntent"
+ | "AzureWorkloadSQLAutoProtectionIntent";
+ /** Type of backup management for the backed up item. */
+ backupManagementType?: BackupManagementType;
+ /** ARM ID of the resource to be backed up. */
+ sourceResourceId?: string;
+ /** ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId */
+ itemId?: string;
+ /** ID of the backup policy with which this item is backed up. */
+ policyId?: string;
+ /** Backup state of this backup item. */
+ protectionState?: ProtectionStatus;
+}
+
+/** Base for all lists of resources. */
+export interface ResourceList {
+ /** The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. */
+ nextLink?: string;
+}
+
+/** Backup management usage for vault. */
+export interface BackupManagementUsageList {
+ /** The list of backup management usages for the given vault. */
+ value?: BackupManagementUsage[];
+}
+
+/** Backup management usages of a vault. */
+export interface BackupManagementUsage {
+ /** Unit of the usage. */
+ unit?: UsagesUnit;
+ /** Quota period of usage. */
+ quotaPeriod?: string;
+ /** Next reset time of usage. */
+ nextResetTime?: Date;
+ /** Current value of usage. */
+ currentValue?: number;
+ /** Limit of usage. */
+ limit?: number;
+ /** Name of usage. */
+ name?: NameInfo;
+}
+
+/** The name of usage. */
+export interface NameInfo {
+ /** Value of usage. */
+ value?: string;
+ /** Localized value of usage. */
+ localizedValue?: string;
+}
+
+/** Operations List response which contains list of available APIs. */
+export interface ClientDiscoveryResponse {
+ /** List of available operations. */
+ value?: ClientDiscoveryValueForSingleApi[];
+ /** Link to the next chunk of Response. */
+ nextLink?: string;
+}
+
+/** Available operation details. */
+export interface ClientDiscoveryValueForSingleApi {
+ /** Name of the Operation. */
+ name?: string;
+ /** Contains the localized display information for this particular operation */
+ display?: ClientDiscoveryDisplay;
+ /** The intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX */
+ origin?: string;
+ /** ShoeBox properties for the given operation. */
+ properties?: ClientDiscoveryForProperties;
+}
+
+/** Localized display information of an operation. */
+export interface ClientDiscoveryDisplay {
+ /** Name of the provider for display purposes */
+ provider?: string;
+ /** ResourceType for which this Operation can be performed. */
+ resource?: string;
+ /** Operations Name itself. */
+ operation?: string;
+ /** Description of the operation having details of what operation is about. */
+ description?: string;
+}
+
+/** Class to represent shoebox properties in json client discovery. */
+export interface ClientDiscoveryForProperties {
+ /** Operation properties. */
+ serviceSpecification?: ClientDiscoveryForServiceSpecification;
+}
+
+/** Class to represent shoebox service specification in json client discovery. */
+export interface ClientDiscoveryForServiceSpecification {
+ /** List of log specifications of this operation. */
+ logSpecifications?: ClientDiscoveryForLogSpecification[];
+}
+
+/** Class to represent shoebox log specification in json client discovery. */
+export interface ClientDiscoveryForLogSpecification {
+ /** Name for shoebox log specification. */
+ name?: string;
+ /** Localized display name */
+ displayName?: string;
+ /** blob duration of shoebox log specification */
+ blobDuration?: string;
+}
+
+/** Backup resource vault config details. */
+export interface BackupResourceVaultConfig {
+ /** Storage type. */
+ storageModelType?: StorageType;
+ /** Storage type. */
+ storageType?: StorageType;
+ /** Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked. */
+ storageTypeState?: StorageTypeState;
+ /** Enabled or Disabled. */
+ enhancedSecurityState?: EnhancedSecurityState;
+ /** Soft Delete feature state */
+ softDeleteFeatureState?: SoftDeleteFeatureState;
+ /** ResourceGuard Operation Requests */
+ resourceGuardOperationRequests?: string[];
+ /** Is soft delete feature state editable */
+ isSoftDeleteFeatureStateEditable?: boolean;
+}
+
+export interface BackupResourceEncryptionConfig {
+ /** Encryption At Rest Type */
+ encryptionAtRestType?: EncryptionAtRestType;
+ /** Key Vault Key URI */
+ keyUri?: string;
+ /** Key Vault Subscription Id */
+ subscriptionId?: string;
+ lastUpdateStatus?: LastUpdateStatus;
+ infrastructureEncryptionState?: InfrastructureEncryptionState;
+}
+
+/** Private Endpoint Connection Response Properties */
+export interface PrivateEndpointConnection {
+ /** Gets or sets provisioning state of the private endpoint connection */
+ provisioningState?: ProvisioningState;
+ /** Gets or sets private endpoint associated with the private endpoint connection */
+ privateEndpoint?: PrivateEndpoint;
+ /** Gets or sets private link service connection state */
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
+}
+
+/** The Private Endpoint network resource that is linked to the Private Endpoint connection */
+export interface PrivateEndpoint {
+ /** Gets or sets id */
+ id?: string;
+}
+
+/** Private Link Service Connection State */
+export interface PrivateLinkServiceConnectionState {
+ /** Gets or sets the status */
+ status?: PrivateEndpointConnectionStatus;
+ /** Gets or sets description */
+ description?: string;
+ /** Gets or sets actions required */
+ actionRequired?: string;
+}
+
+/** An error response from the Container Instance service. */
+export interface CloudError {
+ /** The error object. */
+ error?: CloudErrorBody;
+}
+
+/** An error response from the Container Instance service. */
+export interface CloudErrorBody {
+ /**
+ * An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly code?: string;
/**
- * The error message.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * A message describing the error, intended to be suitable for display in a user interface.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly message?: string;
/**
- * The error target.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The target of the particular error. For example, the name of the property in error.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly target?: string;
/**
- * The error details.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * A list of additional details about the error.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly details?: NewErrorResponse[];
+ readonly details?: CloudErrorBody[];
/**
* The error additional info.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly additionalInfo?: ErrorAdditionalInfo[];
}
-/**
- * The resource management error response.
- */
-export interface NewErrorResponse {
- /**
- * The error object.
- */
- error?: NewErrorResponseError;
+/** Operation status. */
+export interface OperationStatus {
+ /** ID of the operation. */
+ id?: string;
+ /** Name of the operation. */
+ name?: string;
+ /** Operation status. */
+ status?: OperationStatusValues;
+ /** Operation start time. Format: ISO-8601. */
+ startTime?: Date;
+ /** Operation end time. Format: ISO-8601. */
+ endTime?: Date;
+ /** Error information related to this operation. */
+ error?: OperationStatusError;
+ /** Additional information associated with this operation. */
+ properties?: OperationStatusExtendedInfoUnion;
}
-/**
- * Health Details for backup items.
- */
-export interface ResourceHealthDetails {
- /**
- * Health Code
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly code?: number;
- /**
- * Health Title
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly title?: string;
- /**
- * Health Message
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly message?: string;
- /**
- * Health Recommended Actions
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recommendations?: string[];
+/** Error information associated with operation status call. */
+export interface OperationStatusError {
+ /** Error code of the operation failure. */
+ code?: string;
+ /** Error message displayed if the operation failure. */
+ message?: string;
}
-/**
- * KPI Resource Health Details
- */
-export interface KPIResourceHealthDetails {
- /**
- * Resource Health Status. Possible values include: 'Healthy', 'TransientDegraded',
- * 'PersistentDegraded', 'TransientUnhealthy', 'PersistentUnhealthy', 'Invalid'
- */
- resourceHealthStatus?: ResourceHealthStatus;
- /**
- * Resource Health Status
- */
- resourceHealthDetails?: ResourceHealthDetails[];
+/** Base class for additional information of operation status. */
+export interface OperationStatusExtendedInfo {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "OperationStatusJobExtendedInfo"
+ | "OperationStatusJobsExtendedInfo"
+ | "OperationStatusProvisionILRExtendedInfo"
+ | "OperationStatusValidateOperationExtendedInfo";
}
-/**
- * Additional information about Azure File Share backup item.
- */
-export interface AzureFileshareProtectedItemExtendedInfo {
- /**
- * The oldest backup copy available for this item in the service.
- */
- oldestRecoveryPoint?: Date;
- /**
- * Number of available backup copies associated with this backup item.
- */
- recoveryPointCount?: number;
- /**
- * Indicates consistency of policy object and policy applied to this backup item.
- */
- policyState?: string;
- /**
- * Indicates the state of this resource. Possible values are from enum ResourceState {Invalid,
- * Active, SoftDeleted, Deleted}
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly resourceState?: string;
+/** Prepare DataMove Request */
+export interface PrepareDataMoveRequest {
+ /** ARM Id of target vault */
+ targetResourceId: string;
+ /** Target Region */
+ targetRegion: string;
+ /** DataMove Level */
+ dataMoveLevel: DataMoveLevel;
/**
- * The resource state sync time for this backup item.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Source Container ArmIds
+ * This needs to be populated only if DataMoveLevel is set to container
*/
- readonly resourceStateSyncTime?: Date;
+ sourceContainerArmIds?: string[];
+ /** Ignore the artifacts which are already moved. */
+ ignoreMoved?: boolean;
}
-/**
- * Contains the possible cases for ProtectedItem.
- */
-export type ProtectedItemUnion =
- | ProtectedItem
- | AzureFileshareProtectedItem
- | AzureIaaSVMProtectedItemUnion
- | AzureSqlProtectedItem
- | AzureVmWorkloadProtectedItemUnion
- | DPMProtectedItem
- | GenericProtectedItem
- | MabFileFolderProtectedItem;
+/** Operation result response for Vault Storage Config */
+export interface VaultStorageConfigOperationResultResponse {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "PrepareDataMoveResponse";
+}
-/**
- * Base class for backup items.
- */
+/** Trigger DataMove Request */
+export interface TriggerDataMoveRequest {
+ /** ARM Id of source vault */
+ sourceResourceId: string;
+ /** Source Region */
+ sourceRegion: string;
+ /** DataMove Level */
+ dataMoveLevel: DataMoveLevel;
+ /** Correlation Id */
+ correlationId: string;
+ /** Source Container ArmIds */
+ sourceContainerArmIds?: string[];
+ /** Pause GC */
+ pauseGC?: boolean;
+}
+
+/** Base class for backup items. */
export interface ProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "ProtectedItem";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType:
+ | "AzureFileShareProtectedItem"
+ | "AzureIaaSVMProtectedItem"
+ | "Microsoft.ClassicCompute/virtualMachines"
+ | "Microsoft.Compute/virtualMachines"
+ | "Microsoft.Sql/servers/databases"
+ | "AzureVmWorkloadProtectedItem"
+ | "AzureVmWorkloadSAPAseDatabase"
+ | "AzureVmWorkloadSAPHanaDatabase"
+ | "AzureVmWorkloadSQLDatabase"
+ | "DPMProtectedItem"
+ | "GenericProtectedItem"
+ | "MabFileFolderProtectedItem";
+ /** Type of backup management for the backed up item. */
backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
+ /** Type of workload this item represents. */
workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
+ /** Unique name of container */
containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
+ /** ARM ID of the resource to be backed up. */
sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
+ /** ID of the backup policy with which this item is backed up. */
policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
+ /** Timestamp when the last (latest) backup copy was created for this backup item. */
lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
+ /** Name of the backup set the backup item belongs to */
backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
+ /** Create mode to indicate recovery of existing soft deleted data source or creation of new data source. */
createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
+ /** Time for deferred deletion in UTC */
deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
+ /** Flag to identify whether the DS is scheduled for deferred delete */
isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
+ /** Time remaining before the DS marked for deferred delete is permanently deleted */
deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
+ /** Flag to identify whether the deferred deleted DS is to be purged soon */
isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
+ /** Flag to identify that deferred deleted DS is to be moved into Pause state */
isRehydrate?: boolean;
+ /** ResourceGuardOperationRequests on which LAC check will be performed */
+ resourceGuardOperationRequests?: string[];
+ /** Flag to identify whether datasource is protected in archive */
+ isArchiveEnabled?: boolean;
+ /** Name of the policy used for protection */
+ policyName?: string;
}
-/**
- * Azure File Share workload-specific backup item.
- */
-export interface AzureFileshareProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "AzureFileShareProtectedItem";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
+/** Base class for backup copies. Workload-specific backup copies are derived from this class. */
+export interface RecoveryPoint {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureFileShareRecoveryPoint"
+ | "AzureWorkloadRecoveryPoint"
+ | "AzureWorkloadPointInTimeRecoveryPoint"
+ | "AzureWorkloadSAPHanaPointInTimeRecoveryPoint"
+ | "AzureWorkloadSAPHanaRecoveryPoint"
+ | "AzureWorkloadSQLRecoveryPoint"
+ | "AzureWorkloadSQLPointInTimeRecoveryPoint"
+ | "GenericRecoveryPoint"
+ | "IaasVMRecoveryPoint";
+}
+
+/** Base class for restore request. Workload-specific restore requests are derived from this class. */
+export interface RestoreRequest {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureFileShareRestoreRequest"
+ | "AzureWorkloadRestoreRequest"
+ | "AzureWorkloadPointInTimeRestoreRequest"
+ | "AzureWorkloadSAPHanaRestoreRequest"
+ | "AzureWorkloadSAPHanaPointInTimeRestoreRequest"
+ | "AzureWorkloadSQLRestoreRequest"
+ | "AzureWorkloadSQLPointInTimeRestoreRequest"
+ | "IaasVMRestoreRequest"
+ | "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest"
+ | "AzureWorkloadSAPHanaRestoreWithRehydrateRequest"
+ | "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest"
+ | "AzureWorkloadSQLRestoreWithRehydrateRequest"
+ | "IaasVMRestoreWithRehydrationRequest";
+}
+
+/** Base class for backup policy. Workload-specific backup policies are derived from this class. */
+export interface ProtectionPolicy {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ backupManagementType:
+ | "AzureWorkload"
+ | "AzureStorage"
+ | "AzureIaasVM"
+ | "AzureSql"
+ | "GenericProtectionPolicy"
+ | "MAB";
+ /** Number of items associated with this policy. */
+ protectedItemsCount?: number;
+ /** ResourceGuard Operation Requests */
+ resourceGuardOperationRequests?: string[];
+}
+
+/** Defines workload agnostic properties for a job. */
+export interface Job {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ jobType:
+ | "AzureIaaSVMJob"
+ | "AzureIaaSVMJobV2"
+ | "AzureStorageJob"
+ | "AzureWorkloadJob"
+ | "DpmJob"
+ | "MabJob"
+ | "VaultJob";
+ /** Friendly name of the entity on which the current job is executing. */
+ entityFriendlyName?: string;
+ /** Backup management type to execute the current job. */
backupManagementType?: BackupManagementType;
+ /** The operation name. */
+ operation?: string;
+ /** Job status. */
+ status?: string;
+ /** The start time. */
+ startTime?: Date;
+ /** The end time. */
+ endTime?: Date;
+ /** ActivityId of job. */
+ activityId?: string;
+}
+
+/** Base class for operation result info. */
+export interface OperationResultInfoBase {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "ExportJobsOperationResultInfo" | "OperationResultInfo";
+}
+
+/** This is the base class for operation result responses. */
+export interface OperationWorkerResponse {
+ /** HTTP Status Code of the operation. */
+ statusCode?: HttpStatusCode;
+ /** HTTP headers associated with this operation. */
+ headers?: { [propertyName: string]: string[] };
+}
+
+/** Base class for validate operation request. */
+export interface ValidateOperationRequest {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "ValidateRestoreOperationRequest"
+ | "ValidateIaasVMRestoreOperationRequest";
+}
+
+export interface ValidateOperationsResponse {
+ /** Base class for validate operation response. */
+ validateOperationResponse?: ValidateOperationResponse;
+}
+
+/** Base class for validate operation response. */
+export interface ValidateOperationResponse {
+ /** Gets the validation result */
+ validationResults?: ErrorDetail[];
+}
+
+/** Error Detail class which encapsulates Code, Message and Recommendations. */
+export interface ErrorDetail {
/**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
+ * Error code.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- isDeferredDeleteScheduleUpcoming?: boolean;
+ readonly code?: string;
/**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
+ * Error Message related to the Code.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- isRehydrate?: boolean;
+ readonly message?: string;
/**
- * Friendly name of the fileshare represented by this backup item.
+ * List of recommendation strings.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
+ readonly recommendations?: string[];
+}
+
+/** The base backup engine class. All workload specific backup engines derive from this class. */
+export interface BackupEngineBase {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ backupEngineType: "AzureBackupServerEngine" | "DpmBackupEngine";
+ /** Friendly name of the backup engine. */
friendlyName?: string;
- /**
- * Backup status of this backup item.
- */
- protectionStatus?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
- protectionState?: ProtectionState;
- /**
- * Last backup operation status. Possible values: Healthy, Unhealthy.
- */
- lastBackupStatus?: string;
- /**
- * Timestamp of the last backup operation on this backup item.
- */
- lastBackupTime?: Date;
- /**
- * Health details of different KPIs
- */
- kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
- /**
- * Additional information with this backup item.
- */
- extendedInfo?: AzureFileshareProtectedItemExtendedInfo;
- /**
- * backups running status for this backup item. Possible values include: 'Passed',
- * 'ActionRequired', 'ActionSuggested', 'Invalid'
- */
- healthStatus?: HealthStatus;
+ /** Type of backup management for the backup engine. */
+ backupManagementType?: BackupManagementType;
+ /** Registration status of the backup engine with the Recovery Services Vault. */
+ registrationStatus?: string;
+ /** Status of the backup engine with the Recovery Services Vault. = {Active/Deleting/DeleteFailed} */
+ backupEngineState?: string;
+ /** Backup status of the backup engine. */
+ healthStatus?: string;
+ /** Flag indicating if the backup engine be registered, once already registered. */
+ canReRegister?: boolean;
+ /** ID of the backup engine. */
+ backupEngineId?: string;
+ /** Backup engine version */
+ dpmVersion?: string;
+ /** Backup agent version */
+ azureBackupAgentVersion?: string;
+ /** To check if backup agent upgrade available */
+ isAzureBackupAgentUpgradeAvailable?: boolean;
+ /** To check if backup engine upgrade available */
+ isDpmUpgradeAvailable?: boolean;
+ /** Extended info of the backupengine */
+ extendedInfo?: BackupEngineExtendedInfo;
}
-/**
- * Contains the possible cases for RecoveryPoint.
- */
-export type RecoveryPointUnion =
- | RecoveryPoint
- | AzureFileShareRecoveryPoint
- | AzureWorkloadRecoveryPointUnion
- | GenericRecoveryPoint
- | IaasVMRecoveryPoint;
+/** Additional information on backup engine. */
+export interface BackupEngineExtendedInfo {
+ /** Database name of backup engine. */
+ databaseName?: string;
+ /** Number of protected items in the backup engine. */
+ protectedItemsCount?: number;
+ /** Number of protected servers in the backup engine. */
+ protectedServersCount?: number;
+ /** Number of disks in the backup engine. */
+ diskCount?: number;
+ /** Disk space used in the backup engine. */
+ usedDiskSpace?: number;
+ /** Disk space currently available in the backup engine. */
+ availableDiskSpace?: number;
+ /** Last refresh time in the backup engine. */
+ refreshedAt?: Date;
+ /** Protected instances in the backup engine. */
+ azureProtectedInstances?: number;
+}
-/**
- * Base class for backup copies. Workload-specific backup copies are derived from this class.
- */
-export interface RecoveryPoint {
- /**
- * Polymorphic Discriminator
- */
- objectType: "RecoveryPoint";
+/** Protectable Container Class. */
+export interface ProtectableContainer {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableContainerType: "StorageContainer" | "VMAppContainer";
+ /** Friendly name of the container. */
+ friendlyName?: string;
+ /** Type of backup management for the container. */
+ backupManagementType?: BackupManagementType;
+ /** Status of health of the container. */
+ healthStatus?: string;
+ /** Fabric Id of the container such as ARM Id. */
+ containerId?: string;
}
-/**
- * Azure File Share workload specific backup copy.
- */
-export interface AzureFileShareRecoveryPoint {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureFileShareRecoveryPoint";
+/** Base class for container with backup items. Containers with specific workloads are derived from this class. */
+export interface ProtectionContainer {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType:
+ | "DPMContainer"
+ | "AzureBackupServerContainer"
+ | "IaaSVMContainer"
+ | "Microsoft.ClassicCompute/virtualMachines"
+ | "Microsoft.Compute/virtualMachines"
+ | "AzureWorkloadContainer"
+ | "SQLAGWorkLoadContainer"
+ | "AzureSqlContainer"
+ | "StorageContainer"
+ | "VMAppContainer"
+ | "GenericContainer"
+ | "Windows";
+ /** Friendly name of the container. */
+ friendlyName?: string;
+ /** Type of backup management for the container. */
+ backupManagementType?: BackupManagementType;
+ /** Status of registration of the container with the Recovery Services Vault. */
+ registrationStatus?: string;
+ /** Status of health of the container. */
+ healthStatus?: string;
+ /** Type of the protectable object associated with this container */
+ protectableObjectType?: string;
+}
+
+/** Base class for backup item. Workload-specific backup items are derived from this class. */
+export interface WorkloadItem {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ workloadItemType:
+ | "AzureVmWorkloadItem"
+ | "SAPAseDatabase"
+ | "SAPAseSystem"
+ | "SAPHanaDatabase"
+ | "SAPHanaSystem"
+ | "SQLDataBase"
+ | "SQLInstance";
+ /** Type of backup management to backup an item. */
+ backupManagementType?: string;
+ /** Type of workload for the backup management */
+ workloadType?: string;
+ /** Friendly name of the backup item. */
+ friendlyName?: string;
+ /** State of the back up item. */
+ protectionState?: ProtectionStatus;
+}
+
+/** Base class for backup request. Workload-specific backup requests are derived from this class. */
+export interface BackupRequest {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureFileShareBackupRequest"
+ | "AzureWorkloadBackupRequest"
+ | "IaasVMBackupRequest";
+}
+
+/** Parameters to Provision ILR API. */
+export interface ILRRequest {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureFileShareProvisionILRRequest"
+ | "IaasVMILRRegistrationRequest";
+}
+
+/** Base class for backup item. Workload-specific backup items are derived from this class. */
+export interface WorkloadProtectableItem {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType:
+ | "AzureFileShare"
+ | "IaaSVMProtectableItem"
+ | "Microsoft.ClassicCompute/virtualMachines"
+ | "Microsoft.Compute/virtualMachines"
+ | "AzureVmWorkloadProtectableItem"
+ | "SAPAseSystem"
+ | "SAPHanaDatabase"
+ | "SAPHanaSystem"
+ | "SQLAvailabilityGroupContainer"
+ | "SQLDataBase"
+ | "SQLInstance";
+ /** Type of backup management to backup an item. */
+ backupManagementType?: string;
+ /** Type of workload for the backup management */
+ workloadType?: string;
+ /** Friendly name of the backup item. */
+ friendlyName?: string;
+ /** State of the back up item. */
+ protectionState?: ProtectionStatus;
+}
+
+/** Base class for get security pin request body */
+export interface SecurityPinBase {
+ /** ResourceGuard Operation Requests */
+ resourceGuardOperationRequests?: string[];
+}
+
+/** The token information details. */
+export interface TokenInformation {
+ /** Token value. */
+ token?: string;
+ /** Expiry time of token. */
+ expiryTimeInUtcTicks?: number;
+ /** Security PIN */
+ securityPIN?: string;
+}
+
+export interface MoveRPAcrossTiersRequest {
+ /** Gets the class type. */
+ objectType?: string;
+ /** Source tier from where RP needs to be moved */
+ sourceTierType?: RecoveryPointTierType;
+ /** Target tier where RP needs to be moved */
+ targetTierType?: RecoveryPointTierType;
+}
+
+/** ListRecoveryPointsRecommendedForMoveRequest Request */
+export interface ListRecoveryPointsRecommendedForMoveRequest {
+ /** Gets the class type. */
+ objectType?: string;
+ /** List of Recovery Points excluded from Move */
+ excludedRPList?: string[];
+}
+
+export interface ResourceGuardProxyBase {
+ resourceGuardResourceId?: string;
+ resourceGuardOperationDetails?: ResourceGuardOperationDetail[];
+ lastUpdatedTime?: string;
+ description?: string;
+}
+
+export interface ResourceGuardOperationDetail {
+ vaultCriticalOperation?: string;
+ defaultResourceRequest?: string;
+}
+
+/** Request body of unlock delete API. */
+export interface UnlockDeleteRequest {
+ resourceGuardOperationRequests?: string[];
+ resourceToBeDeleted?: string;
+}
+
+/** Response of Unlock Delete API. */
+export interface UnlockDeleteResponse {
+ /** This is the time when unlock delete privileges will get expired. */
+ unlockDeleteExpiryTime?: string;
+}
+
+/** KPI Resource Health Details */
+export interface KPIResourceHealthDetails {
+ /** Resource Health Status */
+ resourceHealthStatus?: ResourceHealthStatus;
+ /** Resource Health Status */
+ resourceHealthDetails?: ResourceHealthDetails[];
+}
+
+/** Health Details for backup items. */
+export interface ResourceHealthDetails {
/**
- * Type of the backup copy. Specifies whether it is a crash consistent backup or app consistent.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Health Code
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly recoveryPointType?: string;
+ readonly code?: number;
/**
- * Time at which this backup copy was created.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Health Title
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly recoveryPointTime?: Date;
+ readonly title?: string;
/**
- * Contains Url to the snapshot of fileshare, if applicable
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Health Message
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly fileShareSnapshotUri?: string;
+ readonly message?: string;
/**
- * Contains recovery point size
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Health Recommended Actions
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly recoveryPointSizeInGB?: number;
+ readonly recommendations?: string[];
}
-/**
- * Restore file specs like file path, type and target folder path info.
- */
-export interface RestoreFileSpecs {
+/** Additional information about Azure File Share backup item. */
+export interface AzureFileshareProtectedItemExtendedInfo {
+ /** The oldest backup copy available for this item in the service. */
+ oldestRecoveryPoint?: Date;
+ /** Number of available backup copies associated with this backup item. */
+ recoveryPointCount?: number;
+ /** Indicates consistency of policy object and policy applied to this backup item. */
+ policyState?: string;
/**
- * Source File/Folder path
+ * Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- path?: string;
+ readonly resourceState?: string;
/**
- * Indicates what the Path variable stands for
+ * The resource state sync time for this backup item.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
+ readonly resourceStateSyncTime?: Date;
+}
+
+/** Restore file specs like file path, type and target folder path info. */
+export interface RestoreFileSpecs {
+ /** Source File/Folder path */
+ path?: string;
+ /** Indicates what the Path variable stands for */
fileSpecType?: string;
- /**
- * Destination folder path in target FileShare
- */
+ /** Destination folder path in target FileShare */
targetFolderPath?: string;
}
-/**
- * Target Azure File Share Info.
- */
+/** Target Azure File Share Info. */
export interface TargetAFSRestoreInfo {
- /**
- * File share name
- */
+ /** File share name */
name?: string;
- /**
- * Target file share resource ARM ID
- */
+ /** Target file share resource ARM ID */
targetResourceId?: string;
}
-/**
- * Contains the possible cases for RestoreRequest.
- */
-export type RestoreRequestUnion =
- | RestoreRequest
- | AzureFileShareRestoreRequest
- | AzureWorkloadRestoreRequestUnion
- | IaasVMRestoreRequestUnion;
-
-/**
- * Base class for restore request. Workload-specific restore requests are derived from this class.
- */
-export interface RestoreRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "RestoreRequest";
-}
-
-/**
- * AzureFileShare Restore Request
- */
-export interface AzureFileShareRestoreRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureFileShareRestoreRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Source storage account ARM Id
- */
- sourceResourceId?: string;
- /**
- * Options to resolve copy conflicts. Possible values include: 'Invalid', 'CreateCopy', 'Skip',
- * 'Overwrite', 'FailOnConflict'
- */
- copyOptions?: CopyOptions;
- /**
- * Restore Type (FullShareRestore or ItemLevelRestore). Possible values include: 'Invalid',
- * 'FullShareRestore', 'ItemLevelRestore'
- */
- restoreRequestType?: RestoreRequestType;
- /**
- * List of Source Files/Folders(which need to recover) and TargetFolderPath details
- */
- restoreFileSpecs?: RestoreFileSpecs[];
- /**
- * Target File Share Details
- */
- targetDetails?: TargetAFSRestoreInfo;
-}
-
-/**
- * Common settings field for backup management
- */
+/** Common settings field for backup management */
export interface Settings {
- /**
- * TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- */
+ /** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */
timeZone?: string;
- /**
- * SQL compression flag
- */
+ /** SQL compression flag */
issqlcompression?: boolean;
/**
* Workload compression flag. This has been added so that 'isSqlCompression'
@@ -605,9029 +1113,3680 @@ export interface Settings {
isCompression?: boolean;
}
-/**
- * Contains the possible cases for SchedulePolicy.
- */
-export type SchedulePolicyUnion =
- | SchedulePolicy
- | LogSchedulePolicy
- | LongTermSchedulePolicy
- | SimpleSchedulePolicy;
+/** Sub-protection policy which includes schedule and retention */
+export interface SubProtectionPolicy {
+ /** Type of backup policy type */
+ policyType?: PolicyType;
+ /** Backup schedule specified as part of backup policy. */
+ schedulePolicy?: SchedulePolicyUnion;
+ /** Retention policy with the details on backup copy retention ranges. */
+ retentionPolicy?: RetentionPolicyUnion;
+}
-/**
- * Base class for backup schedule.
- */
+/** Base class for backup schedule. */
export interface SchedulePolicy {
- /**
- * Polymorphic Discriminator
- */
- schedulePolicyType: "SchedulePolicy";
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ schedulePolicyType:
+ | "LogSchedulePolicy"
+ | "LongTermSchedulePolicy"
+ | "SimpleSchedulePolicy";
}
-/**
- * Contains the possible cases for RetentionPolicy.
- */
-export type RetentionPolicyUnion =
- | RetentionPolicy
- | LongTermRetentionPolicy
- | SimpleRetentionPolicy;
-
-/**
- * Base class for retention policy.
- */
+/** Base class for retention policy. */
export interface RetentionPolicy {
- /**
- * Polymorphic Discriminator
- */
- retentionPolicyType: "RetentionPolicy";
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ retentionPolicyType: "LongTermRetentionPolicy" | "SimpleRetentionPolicy";
}
-/**
- * Sub-protection policy which includes schedule and retention
- */
-export interface SubProtectionPolicy {
- /**
- * Type of backup policy type. Possible values include: 'Invalid', 'Full', 'Differential', 'Log',
- * 'CopyOnlyFull', 'Incremental'
- */
- policyType?: PolicyType;
- /**
- * Backup schedule specified as part of backup policy.
- */
- schedulePolicy?: SchedulePolicyUnion;
- /**
- * Retention policy with the details on backup copy retention ranges.
- */
- retentionPolicy?: RetentionPolicyUnion;
+/** Additional information on Azure IaaS VM specific backup item. */
+export interface AzureIaaSVMProtectedItemExtendedInfo {
+ /** The oldest backup copy available for this backup item. */
+ oldestRecoveryPoint?: Date;
+ /** Number of backup copies available for this backup item. */
+ recoveryPointCount?: number;
+ /** Specifies if backup policy associated with the backup item is inconsistent. */
+ policyInconsistent?: boolean;
}
-/**
- * Contains the possible cases for ProtectionPolicy.
- */
-export type ProtectionPolicyUnion =
- | ProtectionPolicy
- | AzureVmWorkloadProtectionPolicy
- | AzureFileShareProtectionPolicy
- | AzureIaaSVMProtectionPolicy
- | AzureSqlProtectionPolicy
- | GenericProtectionPolicy
- | MabProtectionPolicy;
-
-/**
- * Base class for backup policy. Workload-specific backup policies are derived from this class.
- */
-export interface ProtectionPolicy {
- /**
- * Polymorphic Discriminator
- */
- backupManagementType: "ProtectionPolicy";
- /**
- * Number of items associated with this policy.
- */
- protectedItemsCount?: number;
+/** Extended Properties for Azure IaasVM Backup. */
+export interface ExtendedProperties {
+ /** Extended Properties for Disk Exclusion. */
+ diskExclusionProperties?: DiskExclusionProperties;
+ /** Linux VM name */
+ linuxVmApplicationName?: string;
}
-/**
- * Azure VM (Mercury) workload-specific backup policy.
- */
-export interface AzureVmWorkloadProtectionPolicy {
- /**
- * Polymorphic Discriminator
- */
- backupManagementType: "AzureWorkload";
- /**
- * Number of items associated with this policy.
- */
- protectedItemsCount?: number;
- /**
- * Type of workload for the backup management. Possible values include: 'Invalid', 'VM',
- * 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState',
- * 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
- * 'SAPAseDatabase'
- */
- workLoadType?: WorkloadType;
- /**
- * Common settings for the backup management
- */
- settings?: Settings;
- /**
- * List of sub-protection policies which includes schedule and retention
- */
- subProtectionPolicy?: SubProtectionPolicy[];
- /**
- * Fix the policy inconsistency
- */
- makePolicyConsistent?: boolean;
+export interface DiskExclusionProperties {
+ /** List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection. */
+ diskLunList?: number[];
+ /** Flag to indicate whether DiskLunList is to be included/ excluded from backup. */
+ isInclusionList?: boolean;
}
-/**
- * AzureStorage backup policy.
- */
-export interface AzureFileShareProtectionPolicy {
- /**
- * Polymorphic Discriminator
- */
- backupManagementType: "AzureStorage";
- /**
- * Number of items associated with this policy.
- */
- protectedItemsCount?: number;
+/** Azure IaaS VM workload-specific error information. */
+export interface AzureIaaSVMErrorInfo {
/**
- * Type of workload for the backup management. Possible values include: 'Invalid', 'VM',
- * 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState',
- * 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
- * 'SAPAseDatabase'
+ * Error code.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- workLoadType?: WorkloadType;
+ readonly errorCode?: number;
/**
- * Backup schedule specified as part of backup policy.
+ * Title: Typically, the entity that the error pertains to.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- schedulePolicy?: SchedulePolicyUnion;
+ readonly errorTitle?: string;
/**
- * Retention policy with the details on backup copy retention ranges.
+ * Localized error string.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- retentionPolicy?: RetentionPolicyUnion;
+ readonly errorString?: string;
/**
- * TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
+ * List of localized recommendations for above error code.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- timeZone?: string;
+ readonly recommendations?: string[];
}
-/**
- * Contains the possible cases for AzureIaaSVMProtectedItem.
- */
-export type AzureIaaSVMProtectedItemUnion =
- | AzureIaaSVMProtectedItem
- | AzureIaaSClassicComputeVMProtectedItem
- | AzureIaaSComputeVMProtectedItem;
+/** Azure IaaS VM workload-specific additional information for job. */
+export interface AzureIaaSVMJobExtendedInfo {
+ /** List of tasks associated with this job. */
+ tasksList?: AzureIaaSVMJobTaskDetails[];
+ /** Job properties. */
+ propertyBag?: { [propertyName: string]: string };
+ /** Job internal properties. */
+ internalPropertyBag?: { [propertyName: string]: string };
+ /** Indicates progress of the job. Null if it has not started or completed. */
+ progressPercentage?: number;
+ /** Time remaining for execution of this job. */
+ estimatedRemainingDuration?: string;
+ /** Non localized error message on job execution. */
+ dynamicErrorMessage?: string;
+}
-/**
- * IaaS VM workload-specific backup item.
- */
-export interface AzureIaaSVMProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "AzureIaaSVMProtectedItem";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
- /**
- * Friendly name of the VM represented by this backup item.
- */
- friendlyName?: string;
- /**
- * Fully qualified ARM ID of the virtual machine represented by this item.
- */
- virtualMachineId?: string;
- /**
- * Backup status of this backup item.
- */
- protectionStatus?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
- protectionState?: ProtectionState;
- /**
- * Health status of protected item. Possible values include: 'Passed', 'ActionRequired',
- * 'ActionSuggested', 'Invalid'
- */
- healthStatus?: HealthStatus;
- /**
- * Health details on this backup item.
- */
- healthDetails?: AzureIaaSVMHealthDetails[];
- /**
- * Health details of different KPIs
- */
- kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
- /**
- * Last backup operation status.
- */
- lastBackupStatus?: string;
- /**
- * Timestamp of the last backup operation on this backup item.
- */
- lastBackupTime?: Date;
- /**
- * Data ID of the protected item.
- */
- protectedItemDataId?: string;
+/** Azure IaaS VM workload-specific job task details. */
+export interface AzureIaaSVMJobTaskDetails {
+ /** The task display name. */
+ taskId?: string;
+ /** The start time. */
+ startTime?: Date;
+ /** The end time. */
+ endTime?: Date;
+ /** The instanceId. */
+ instanceId?: string;
+ /** Time elapsed for task. */
+ duration?: string;
+ /** The status. */
+ status?: string;
+ /** Progress of the task. */
+ progressPercentage?: number;
/**
- * Additional information for this backup item.
+ * Details about execution of the task.
+ * eg: number of bytes transferred etc
*/
- extendedInfo?: AzureIaaSVMProtectedItemExtendedInfo;
- extendedProperties?: ExtendedProperties;
+ taskExecutionDetails?: string;
}
-/**
- * IaaS VM workload-specific backup item representing the Classic Compute VM.
- */
-export interface AzureIaaSClassicComputeVMProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "Microsoft.ClassicCompute/virtualMachines";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
- /**
- * Friendly name of the VM represented by this backup item.
- */
- friendlyName?: string;
- /**
- * Fully qualified ARM ID of the virtual machine represented by this item.
- */
- virtualMachineId?: string;
- /**
- * Backup status of this backup item.
- */
- protectionStatus?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
- protectionState?: ProtectionState;
- /**
- * Health status of protected item. Possible values include: 'Passed', 'ActionRequired',
- * 'ActionSuggested', 'Invalid'
- */
- healthStatus?: HealthStatus;
- /**
- * Health details on this backup item.
- */
- healthDetails?: AzureIaaSVMHealthDetails[];
- /**
- * Health details of different KPIs
- */
- kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
- /**
- * Last backup operation status.
- */
- lastBackupStatus?: string;
- /**
- * Timestamp of the last backup operation on this backup item.
- */
- lastBackupTime?: Date;
- /**
- * Data ID of the protected item.
- */
- protectedItemDataId?: string;
- /**
- * Additional information for this backup item.
- */
- extendedInfo?: AzureIaaSVMProtectedItemExtendedInfo;
- extendedProperties?: ExtendedProperties;
+export interface InstantRPAdditionalDetails {
+ azureBackupRGNamePrefix?: string;
+ azureBackupRGNameSuffix?: string;
}
-/**
- * IaaS VM workload-specific backup item representing the Azure Resource Manager VM.
- */
-export interface AzureIaaSComputeVMProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "Microsoft.Compute/virtualMachines";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
- /**
- * Friendly name of the VM represented by this backup item.
- */
- friendlyName?: string;
- /**
- * Fully qualified ARM ID of the virtual machine represented by this item.
- */
- virtualMachineId?: string;
- /**
- * Backup status of this backup item.
- */
- protectionStatus?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
- protectionState?: ProtectionState;
- /**
- * Health status of protected item. Possible values include: 'Passed', 'ActionRequired',
- * 'ActionSuggested', 'Invalid'
- */
- healthStatus?: HealthStatus;
- /**
- * Health details on this backup item.
- */
- healthDetails?: AzureIaaSVMHealthDetails[];
- /**
- * Health details of different KPIs
- */
- kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
- /**
- * Last backup operation status.
- */
- lastBackupStatus?: string;
- /**
- * Timestamp of the last backup operation on this backup item.
- */
- lastBackupTime?: Date;
- /**
- * Data ID of the protected item.
- */
- protectedItemDataId?: string;
- /**
- * Additional information for this backup item.
- */
- extendedInfo?: AzureIaaSVMProtectedItemExtendedInfo;
- extendedProperties?: ExtendedProperties;
+/** Additional information on Azure Sql specific protected item. */
+export interface AzureSqlProtectedItemExtendedInfo {
+ /** The oldest backup copy available for this item in the service. */
+ oldestRecoveryPoint?: Date;
+ /** Number of available backup copies associated with this backup item. */
+ recoveryPointCount?: number;
+ /** State of the backup policy associated with this backup item. */
+ policyState?: string;
}
-/**
- * Azure IaaS VM workload-specific error information.
- */
-export interface AzureIaaSVMErrorInfo {
- /**
- * Error code.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly errorCode?: number;
- /**
- * Title: Typically, the entity that the error pertains to.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly errorTitle?: string;
- /**
- * Localized error string.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly errorString?: string;
- /**
- * List of localized recommendations for above error code.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recommendations?: string[];
+/** Azure storage specific error information */
+export interface AzureStorageErrorInfo {
+ /** Error code. */
+ errorCode?: number;
+ /** Localized error string. */
+ errorString?: string;
+ /** List of localized recommendations for above error code. */
+ recommendations?: string[];
}
-/**
- * Azure IaaS VM workload-specific Health Details.
- */
-export interface AzureIaaSVMHealthDetails extends ResourceHealthDetails {}
+/** Azure Storage workload-specific additional information for job. */
+export interface AzureStorageJobExtendedInfo {
+ /** List of tasks for this job */
+ tasksList?: AzureStorageJobTaskDetails[];
+ /** Job properties. */
+ propertyBag?: { [propertyName: string]: string };
+ /** Non localized error message on job execution. */
+ dynamicErrorMessage?: string;
+}
-/**
- * Azure IaaS VM workload-specific job task details.
- */
-export interface AzureIaaSVMJobTaskDetails {
- /**
- * The task display name.
- */
+/** Azure storage workload specific job task details. */
+export interface AzureStorageJobTaskDetails {
+ /** The task display name. */
taskId?: string;
- /**
- * The start time.
- */
- startTime?: Date;
- /**
- * The end time.
- */
- endTime?: Date;
- /**
- * The instanceId.
- */
- instanceId?: string;
- /**
- * Time elapsed for task.
- */
- duration?: string;
- /**
- * The status.
- */
+ /** The status. */
status?: string;
- /**
- * Progress of the task.
- */
- progressPercentage?: number;
- /**
- * Details about execution of the task.
- * eg: number of bytes transferred etc
- */
- taskExecutionDetails?: string;
}
-/**
- * Azure IaaS VM workload-specific additional information for job.
- */
-export interface AzureIaaSVMJobExtendedInfo {
- /**
- * List of tasks associated with this job.
- */
- tasksList?: AzureIaaSVMJobTaskDetails[];
- /**
- * Job properties.
- */
+/** Additional information on Azure Workload for SQL specific backup item. */
+export interface AzureVmWorkloadProtectedItemExtendedInfo {
+ /** The oldest backup copy available for this backup item. */
+ oldestRecoveryPoint?: Date;
+ /** Number of backup copies available for this backup item. */
+ recoveryPointCount?: number;
+ /** Indicates consistency of policy object and policy applied to this backup item. */
+ policyState?: string;
+ /** Indicates consistency of policy object and policy applied to this backup item. */
+ recoveryModel?: string;
+}
+
+/** Azure storage specific error information */
+export interface AzureWorkloadErrorInfo {
+ /** Error code. */
+ errorCode?: number;
+ /** Localized error string. */
+ errorString?: string;
+ /** Title: Typically, the entity that the error pertains to. */
+ errorTitle?: string;
+ /** List of localized recommendations for above error code. */
+ recommendations?: string[];
+ /** Additional details for above error code. */
+ additionalDetails?: string;
+}
+
+/** Azure VM workload-specific additional information for job. */
+export interface AzureWorkloadJobExtendedInfo {
+ /** List of tasks for this job */
+ tasksList?: AzureWorkloadJobTaskDetails[];
+ /** Job properties. */
propertyBag?: { [propertyName: string]: string };
- /**
- * Job internal properties.
- */
- internalPropertyBag?: { [propertyName: string]: string };
- /**
- * Indicates progress of the job. Null if it has not started or completed.
- */
- progressPercentage?: number;
- /**
- * Time remaining for execution of this job.
- */
- estimatedRemainingDuration?: string;
- /**
- * Non localized error message on job execution.
- */
+ /** Non localized error message on job execution. */
dynamicErrorMessage?: string;
}
-/**
- * Contains the possible cases for Job.
- */
-export type JobUnion =
- | Job
- | AzureIaaSVMJob
- | AzureStorageJob
- | AzureWorkloadJob
- | DpmJob
- | MabJob
- | VaultJob;
-
-/**
- * Defines workload agnostic properties for a job.
- */
-export interface Job {
- /**
- * Polymorphic Discriminator
- */
- jobType: "Job";
- /**
- * Friendly name of the entity on which the current job is executing.
- */
- entityFriendlyName?: string;
- /**
- * Backup management type to execute the current job. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * The operation name.
- */
- operation?: string;
- /**
- * Job status.
- */
+/** Azure VM workload specific job task details. */
+export interface AzureWorkloadJobTaskDetails {
+ /** The task display name. */
+ taskId?: string;
+ /** The status. */
status?: string;
- /**
- * The start time.
- */
+}
+
+/** Provides details for log ranges */
+export interface PointInTimeRange {
+ /** Start time of the time range for log recovery. */
startTime?: Date;
- /**
- * The end time.
- */
+ /** End time of the time range for log recovery. */
endTime?: Date;
- /**
- * ActivityId of job.
- */
- activityId?: string;
}
-/**
- * Azure IaaS VM workload-specific job object.
- */
-export interface AzureIaaSVMJob {
- /**
- * Polymorphic Discriminator
- */
- jobType: "AzureIaaSVMJob";
- /**
- * Friendly name of the entity on which the current job is executing.
- */
- entityFriendlyName?: string;
- /**
- * Backup management type to execute the current job. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * The operation name.
- */
- operation?: string;
- /**
- * Job status.
- */
- status?: string;
+/** Recovery point tier information. */
+export interface RecoveryPointTierInformation {
+ /** Recovery point tier type. */
+ type?: RecoveryPointTierType;
+ /** Recovery point tier status. */
+ status?: RecoveryPointTierStatus;
+ /** Recovery point tier status. */
+ extendedInfo?: { [propertyName: string]: string };
+}
+
+export interface RecoveryPointMoveReadinessInfo {
+ isReadyForMove?: boolean;
+ additionalInfo?: string;
+}
+
+/** Details about target workload during restore operation. */
+export interface TargetRestoreInfo {
+ /** Can Overwrite if Target DataBase already exists */
+ overwriteOption?: OverwriteOptions;
+ /** Resource Id name of the container in which Target DataBase resides */
+ containerId?: string;
+ /** Database name InstanceName/DataBaseName for SQL or System/DbName for SAP Hana */
+ databaseName?: string;
+ /** Target directory location for restore as files. */
+ targetDirectoryForFileRestore?: string;
+}
+
+/** Extended info class details */
+export interface AzureWorkloadSQLRecoveryPointExtendedInfo {
+ /** UTC time at which data directory info was captured */
+ dataDirectoryTimeInUTC?: Date;
+ /** List of data directory paths during restore operation. */
+ dataDirectoryPaths?: SQLDataDirectory[];
+}
+
+/** SQLDataDirectory info */
+export interface SQLDataDirectory {
+ /** Type of data directory mapping */
+ type?: SQLDataDirectoryType;
+ /** File path */
+ path?: string;
+ /** Logical name of the file */
+ logicalName?: string;
+}
+
+/** Encapsulates information regarding data directory */
+export interface SQLDataDirectoryMapping {
+ /** Type of data directory mapping */
+ mappingType?: SQLDataDirectoryType;
+ /** Restore source logical name path */
+ sourceLogicalName?: string;
+ /** Restore source path */
+ sourcePath?: string;
+ /** Target path */
+ targetPath?: string;
+}
+
+/** BEK is bitlocker encryption key. */
+export interface BEKDetails {
+ /** Secret is BEK. */
+ secretUrl?: string;
+ /** ID of the Key Vault where this Secret is stored. */
+ secretVaultId?: string;
+ /** BEK data. */
+ secretData?: string;
+}
+
+/** Filters to list backup copies. */
+export interface BmsrpQueryObject {
+ /** Backup copies created after this time. */
+ startDate?: Date;
+ /** Backup copies created before this time. */
+ endDate?: Date;
+ /** RestorePoint type */
+ restorePointQueryType?: RestorePointQueryType;
+ /** In Get Recovery Point, it tells whether extended information about recovery point is asked. */
+ extendedInfo?: boolean;
+ /** Whether the RP can be moved to another tier */
+ moveReadyRPOnly?: boolean;
+}
+
+/** Disk information */
+export interface DiskInformation {
+ lun?: number;
+ name?: string;
+}
+
+/** Daily retention format. */
+export interface DailyRetentionFormat {
+ /** List of days of the month. */
+ daysOfTheMonth?: Day[];
+}
+
+/** Day of the week. */
+export interface Day {
+ /** Date of the month */
+ date?: number;
+ /** Whether Date is last date of month */
+ isLast?: boolean;
+}
+
+/** Daily retention schedule. */
+export interface DailyRetentionSchedule {
+ /** Retention times of retention policy. */
+ retentionTimes?: Date[];
+ /** Retention duration of retention Policy. */
+ retentionDuration?: RetentionDuration;
+}
+
+/** Retention duration. */
+export interface RetentionDuration {
/**
- * The start time.
+ * Count of duration types. Retention duration is obtained by the counting the duration type Count times.
+ * For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
*/
+ count?: number;
+ /** Retention duration type of retention policy. */
+ durationType?: RetentionDurationType;
+}
+
+/** DPM workload-specific error information. */
+export interface DpmErrorInfo {
+ /** Localized error string. */
+ errorString?: string;
+ /** List of localized recommendations for above error code. */
+ recommendations?: string[];
+}
+
+/** Additional information on the DPM workload-specific job. */
+export interface DpmJobExtendedInfo {
+ /** List of tasks associated with this job. */
+ tasksList?: DpmJobTaskDetails[];
+ /** The job properties. */
+ propertyBag?: { [propertyName: string]: string };
+ /** Non localized error message on job execution. */
+ dynamicErrorMessage?: string;
+}
+
+/** DPM workload-specific job task details. */
+export interface DpmJobTaskDetails {
+ /** The task display name. */
+ taskId?: string;
+ /** The start time. */
startTime?: Date;
- /**
- * The end time.
- */
+ /** The end time. */
endTime?: Date;
- /**
- * ActivityId of job.
- */
- activityId?: string;
- /**
- * Time elapsed during the execution of this job.
- */
+ /** Time elapsed for task. */
duration?: string;
- /**
- * Gets or sets the state/actions applicable on this job like cancel/retry.
- */
- actionsInfo?: JobSupportedAction[];
- /**
- * Error details on execution of this job.
- */
- errorDetails?: AzureIaaSVMErrorInfo[];
- /**
- * Specifies whether the backup item is a Classic or an Azure Resource Manager VM.
- */
- virtualMachineVersion?: string;
- /**
- * Additional information for this job.
- */
- extendedInfo?: AzureIaaSVMJobExtendedInfo;
+ /** The status. */
+ status?: string;
}
-/**
- * Additional information on Azure IaaS VM specific backup item.
- */
-export interface AzureIaaSVMProtectedItemExtendedInfo {
- /**
- * The oldest backup copy available for this backup item.
- */
+/** Additional information of DPM Protected item. */
+export interface DPMProtectedItemExtendedInfo {
+ /** Attribute to provide information on various DBs. */
+ protectableObjectLoadPath?: { [propertyName: string]: string };
+ /** To check if backup item is disk protected. */
+ protected?: boolean;
+ /** To check if backup item is cloud protected. */
+ isPresentOnCloud?: boolean;
+ /** Last backup status information on backup item. */
+ lastBackupStatus?: string;
+ /** Last refresh time on backup item. */
+ lastRefreshedAt?: Date;
+ /** Oldest cloud recovery point time. */
oldestRecoveryPoint?: Date;
- /**
- * Number of backup copies available for this backup item.
- */
+ /** cloud recovery point count. */
recoveryPointCount?: number;
- /**
- * Specifies if backup policy associated with the backup item is inconsistent.
- */
- policyInconsistent?: boolean;
+ /** Oldest disk recovery point time. */
+ onPremiseOldestRecoveryPoint?: Date;
+ /** latest disk recovery point time. */
+ onPremiseLatestRecoveryPoint?: Date;
+ /** disk recovery point count. */
+ onPremiseRecoveryPointCount?: number;
+ /** To check if backup item is collocated. */
+ isCollocated?: boolean;
+ /** Protection group name of the backup item. */
+ protectionGroupName?: string;
+ /** Used Disk storage in bytes. */
+ diskStorageUsedInBytes?: string;
+ /** total Disk storage in bytes. */
+ totalDiskStorageSizeInBytes?: string;
}
-/**
- * An interface representing DiskExclusionProperties.
- */
-export interface DiskExclusionProperties {
- /**
- * List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
- */
- diskLunList?: number[];
- /**
- * Flag to indicate whether DiskLunList is to be included/ excluded from backup.
- */
- isInclusionList?: boolean;
+/** Details needed if the VM was encrypted at the time of backup. */
+export interface EncryptionDetails {
+ /** Identifies whether this backup copy represents an encrypted VM at the time of backup. */
+ encryptionEnabled?: boolean;
+ /** Key Url. */
+ kekUrl?: string;
+ /** Secret Url. */
+ secretKeyUrl?: string;
+ /** ID of Key Vault where KEK is stored. */
+ kekVaultId?: string;
+ /** ID of Key Vault where Secret is stored. */
+ secretKeyVaultId?: string;
}
-/**
- * Extended Properties for Azure IaasVM Backup.
- */
-export interface ExtendedProperties {
+export interface HourlySchedule {
/**
- * Extended Properties for Disk Exclusion.
+ * Interval at which backup needs to be triggered. For hourly the value
+ * can be 4/6/8/12
*/
- diskExclusionProperties?: DiskExclusionProperties;
+ interval?: number;
+ /** To specify start time of the backup window */
+ scheduleWindowStartTime?: Date;
+ /** To specify duration of the backup window */
+ scheduleWindowDuration?: number;
}
-/**
- * An interface representing InstantRPAdditionalDetails.
- */
-export interface InstantRPAdditionalDetails {
- azureBackupRGNamePrefix?: string;
- azureBackupRGNameSuffix?: string;
+/** IaaS VM workload specific restore details for restores using managed identity */
+export interface IdentityBasedRestoreDetails {
+ /** Gets the class type. */
+ objectType?: string;
+ /** Fully qualified ARM ID of the target storage account. */
+ targetStorageAccountId?: string;
}
-/**
- * IaaS VM workload-specific backup policy.
- */
-export interface AzureIaaSVMProtectionPolicy {
- /**
- * Polymorphic Discriminator
- */
- backupManagementType: "AzureIaasVM";
- /**
- * Number of items associated with this policy.
- */
- protectedItemsCount?: number;
- instantRPDetails?: InstantRPAdditionalDetails;
- /**
- * Backup schedule specified as part of backup policy.
- */
- schedulePolicy?: SchedulePolicyUnion;
- /**
- * Retention policy with the details on backup copy retention ranges.
- */
- retentionPolicy?: RetentionPolicyUnion;
- /**
- * Instant RP retention policy range in days
- */
- instantRpRetentionRangeInDays?: number;
+/** Encapsulates Managed Identity related information */
+export interface IdentityInfo {
+ /** To differentiate if the managed identity is system assigned or user assigned */
+ isSystemAssignedIdentity?: boolean;
/**
- * TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
+ * Managed Identity Resource Id
+ * Optional: Might not be required in the case of system assigned managed identity
*/
- timeZone?: string;
+ managedIdentityResourceId?: string;
}
-/**
- * Additional information on Azure Sql specific protected item.
- */
-export interface AzureSqlProtectedItemExtendedInfo {
- /**
- * The oldest backup copy available for this item in the service.
- */
- oldestRecoveryPoint?: Date;
- /**
- * Number of available backup copies associated with this backup item.
- */
- recoveryPointCount?: number;
- /**
- * State of the backup policy associated with this backup item.
- */
- policyState?: string;
+/** Filters to list backup items. */
+export interface GetProtectedItemQueryObject {
+ /** Specifies if the additional information should be provided for this item. */
+ expand?: string;
}
/**
- * Azure SQL workload-specific backup item.
+ * BEK is bitlocker key.
+ * KEK is encryption key for BEK
+ * If the VM was encrypted then we will store following details :
+ * 1. Secret(BEK) - Url + Backup Data + vaultId.
+ * 2. Key(KEK) - Url + Backup Data + vaultId.
+ * 3. EncryptionMechanism
+ * BEK and KEK can potentially have different vault ids.
*/
-export interface AzureSqlProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "Microsoft.Sql/servers/databases";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
- /**
- * Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.
- */
- protectedItemDataId?: string;
- /**
- * Backup state of the backed up item. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
- protectionState?: ProtectedItemState;
- /**
- * Additional information for this backup item.
- */
- extendedInfo?: AzureSqlProtectedItemExtendedInfo;
+export interface KeyAndSecretDetails {
+ /** KEK is encryption key for BEK. */
+ kekDetails?: KEKDetails;
+ /** BEK is bitlocker encryption key. */
+ bekDetails?: BEKDetails;
+ /** Encryption mechanism: None/ SinglePass/ DoublePass */
+ encryptionMechanism?: string;
}
-/**
- * Azure storage specific error information
- */
-export interface AzureStorageErrorInfo {
- /**
- * Error code.
- */
- errorCode?: number;
- /**
- * Localized error string.
- */
- errorString?: string;
- /**
- * List of localized recommendations for above error code.
- */
- recommendations?: string[];
+/** KEK is encryption key for BEK. */
+export interface KEKDetails {
+ /** Key is KEK. */
+ keyUrl?: string;
+ /** Key Vault ID where this Key is stored. */
+ keyVaultId?: string;
+ /** KEK data. */
+ keyBackupData?: string;
}
-/**
- * Azure SQL workload-specific backup policy.
- */
-export interface AzureSqlProtectionPolicy {
- /**
- * Polymorphic Discriminator
- */
- backupManagementType: "AzureSql";
- /**
- * Number of items associated with this policy.
- */
- protectedItemsCount?: number;
- /**
- * Retention policy details.
- */
- retentionPolicy?: RetentionPolicyUnion;
+/** Disk configuration */
+export interface RecoveryPointDiskConfiguration {
+ /** Number of disks included in backup */
+ numberOfDisksIncludedInBackup?: number;
+ /** Number of disks attached to the VM */
+ numberOfDisksAttachedToVm?: number;
+ /** Information of disks included in backup */
+ includedDiskList?: DiskInformation[];
+ /** Information of disks excluded from backup */
+ excludedDiskList?: DiskInformation[];
}
-/**
- * Azure storage workload specific job task details.
- */
-export interface AzureStorageJobTaskDetails {
- /**
- * The task display name.
- */
- taskId?: string;
- /**
- * The status.
- */
- status?: string;
+/** Filters to list the jobs. */
+export interface JobQueryObject {
+ /** Status of the job. */
+ status?: JobStatus;
+ /** Type of backup management for the job. */
+ backupManagementType?: BackupManagementType;
+ /** Type of operation. */
+ operation?: JobOperationType;
+ /** JobID represents the job uniquely. */
+ jobId?: string;
+ /** Job has started at this time. Value is in UTC. */
+ startTime?: Date;
+ /** Job has ended at this time. Value is in UTC. */
+ endTime?: Date;
}
-/**
- * Azure Storage workload-specific additional information for job.
- */
-export interface AzureStorageJobExtendedInfo {
+/** Weekly retention schedule. */
+export interface WeeklyRetentionSchedule {
+ /** List of days of week for weekly retention policy. */
+ daysOfTheWeek?: DayOfWeek[];
+ /** Retention times of retention policy. */
+ retentionTimes?: Date[];
+ /** Retention duration of retention Policy. */
+ retentionDuration?: RetentionDuration;
+}
+
+/** Monthly retention schedule. */
+export interface MonthlyRetentionSchedule {
+ /** Retention schedule format type for monthly retention policy. */
+ retentionScheduleFormatType?: RetentionScheduleFormat;
+ /** Daily retention format for monthly retention policy. */
+ retentionScheduleDaily?: DailyRetentionFormat;
+ /** Weekly retention format for monthly retention policy. */
+ retentionScheduleWeekly?: WeeklyRetentionFormat;
+ /** Retention times of retention policy. */
+ retentionTimes?: Date[];
+ /** Retention duration of retention Policy. */
+ retentionDuration?: RetentionDuration;
+}
+
+/** Weekly retention format. */
+export interface WeeklyRetentionFormat {
+ /** List of days of the week. */
+ daysOfTheWeek?: DayOfWeek[];
+ /** List of weeks of month. */
+ weeksOfTheMonth?: WeekOfMonth[];
+}
+
+/** Yearly retention schedule. */
+export interface YearlyRetentionSchedule {
+ /** Retention schedule format for yearly retention policy. */
+ retentionScheduleFormatType?: RetentionScheduleFormat;
+ /** List of months of year of yearly retention policy. */
+ monthsOfYear?: MonthOfYear[];
+ /** Daily retention format for yearly retention policy. */
+ retentionScheduleDaily?: DailyRetentionFormat;
+ /** Weekly retention format for yearly retention policy. */
+ retentionScheduleWeekly?: WeeklyRetentionFormat;
+ /** Retention times of retention policy. */
+ retentionTimes?: Date[];
+ /** Retention duration of retention Policy. */
+ retentionDuration?: RetentionDuration;
+}
+
+/** MAB workload-specific error information. */
+export interface MabErrorInfo {
/**
- * List of tasks for this job
+ * Localized error string.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- tasksList?: AzureStorageJobTaskDetails[];
+ readonly errorString?: string;
/**
- * Job properties.
+ * List of localized recommendations.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
+ readonly recommendations?: string[];
+}
+
+/** Additional information on the backed up item. */
+export interface MabFileFolderProtectedItemExtendedInfo {
+ /** Last time when the agent data synced to service. */
+ lastRefreshedAt?: Date;
+ /** The oldest backup copy available. */
+ oldestRecoveryPoint?: Date;
+ /** Number of backup copies associated with the backup item. */
+ recoveryPointCount?: number;
+}
+
+/** Additional information for the MAB workload-specific job. */
+export interface MabJobExtendedInfo {
+ /** List of tasks for this job. */
+ tasksList?: MabJobTaskDetails[];
+ /** The job properties. */
propertyBag?: { [propertyName: string]: string };
- /**
- * Non localized error message on job execution.
- */
+ /** Non localized error message specific to this job. */
dynamicErrorMessage?: string;
}
-/**
- * Azure storage specific job.
- */
-export interface AzureStorageJob {
- /**
- * Polymorphic Discriminator
- */
- jobType: "AzureStorageJob";
- /**
- * Friendly name of the entity on which the current job is executing.
- */
- entityFriendlyName?: string;
- /**
- * Backup management type to execute the current job. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * The operation name.
- */
- operation?: string;
- /**
- * Job status.
- */
- status?: string;
- /**
- * The start time.
- */
+/** MAB workload-specific job task details. */
+export interface MabJobTaskDetails {
+ /** The task display name. */
+ taskId?: string;
+ /** The start time. */
startTime?: Date;
- /**
- * The end time.
- */
+ /** The end time. */
endTime?: Date;
- /**
- * ActivityId of job.
- */
- activityId?: string;
- /**
- * Time elapsed during the execution of this job.
- */
+ /** Time elapsed for task. */
duration?: string;
+ /** The status. */
+ status?: string;
+}
+
+/** Filters to list backup items. */
+export interface ProtectedItemQueryObject {
+ /** Health State for the backed up item. */
+ healthState?: HealthState;
+ /** Backup management type for the backed up item. */
+ backupManagementType?: BackupManagementType;
+ /** Type of workload this item represents. */
+ itemType?: DataSourceType;
+ /** Backup policy name associated with the backup item. */
+ policyName?: string;
+ /** Name of the container. */
+ containerName?: string;
+ /** Backup Engine name */
+ backupEngineName?: string;
+ /** Friendly name of protected item */
+ friendlyName?: string;
+ /** Name of the fabric. */
+ fabricName?: string;
+ /** Name of the backup set. */
+ backupSetName?: string;
+}
+
+/** Filters the list backup policies API. */
+export interface ProtectionPolicyQueryObject {
+ /** Backup management type for the backup policy. */
+ backupManagementType?: BackupManagementType;
+ /** Fabric name for filter */
+ fabricName?: string;
+ /** Workload type for the backup policy. */
+ workloadType?: WorkloadType;
+}
+
+/** Vault Job specific error information */
+export interface VaultJobErrorInfo {
+ /** Error code. */
+ errorCode?: number;
+ /** Localized error string. */
+ errorString?: string;
+ /** List of localized recommendations for above error code. */
+ recommendations?: string[];
+}
+
+/** Vault Job for CMK - has CMK specific info. */
+export interface VaultJobExtendedInfo {
+ /** Job properties. */
+ propertyBag?: { [propertyName: string]: string };
+}
+
+/** Additional information of the DPMContainer. */
+export interface DPMContainerExtendedInfo {
+ /** Last refresh time of the DPMContainer. */
+ lastRefreshedAt?: Date;
+}
+
+/** Extended information of the container. */
+export interface AzureWorkloadContainerExtendedInfo {
+ /** Host Os Name in case of Stand Alone and Cluster Name in case of distributed container. */
+ hostServerName?: string;
+ /** Inquiry Status for the container. */
+ inquiryInfo?: InquiryInfo;
+ /** List of the nodes in case of distributed container. */
+ nodesList?: DistributedNodesInfo[];
+}
+
+/** Details about inquired protectable items under a given container. */
+export interface InquiryInfo {
/**
- * Gets or sets the state/actions applicable on this job like cancel/retry.
- */
- actionsInfo?: JobSupportedAction[];
- /**
- * Error details on execution of this job.
- */
- errorDetails?: AzureStorageErrorInfo[];
- /**
- * Specifies friendly name of the storage account.
- */
- storageAccountName?: string;
- /**
- * Specifies whether the Storage account is a Classic or an Azure Resource Manager Storage
- * account.
+ * Inquiry Status for this container such as
+ * InProgress | Failed | Succeeded
*/
- storageAccountVersion?: string;
+ status?: string;
+ /** Error Details if the Status is non-success. */
+ errorDetail?: ErrorDetail;
/**
- * Additional information about the job.
+ * Inquiry Details which will have workload specific details.
+ * For e.g. - For SQL and oracle this will contain different details.
*/
- extendedInfo?: AzureStorageJobExtendedInfo;
+ inquiryDetails?: WorkloadInquiryDetails[];
}
-/**
- * Error Detail class which encapsulates Code, Message and Recommendations.
- */
-export interface ErrorDetail {
- /**
- * Error code.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly code?: string;
+/** Details of an inquired protectable item. */
+export interface WorkloadInquiryDetails {
+ /** Type of the Workload such as SQL, Oracle etc. */
+ type?: string;
+ /** Contains the protectable item Count inside this Container. */
+ itemCount?: number;
+ /** Inquiry validation such as permissions and other backup validations. */
+ inquiryValidation?: InquiryValidation;
+}
+
+/** Validation for inquired protectable items under a given container. */
+export interface InquiryValidation {
+ /** Status for the Inquiry Validation. */
+ status?: string;
+ /** Error Detail in case the status is non-success. */
+ errorDetail?: ErrorDetail;
/**
- * Error Message related to the Code.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Error Additional Detail in case the status is non-success.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly message?: string;
+ readonly additionalDetail?: string;
+}
+
+/** This is used to represent the various nodes of the distributed container. */
+export interface DistributedNodesInfo {
+ /** Name of the node under a distributed container. */
+ nodeName?: string;
/**
- * List of recommendation strings.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Status of this Node.
+ * Failed | Succeeded
*/
- readonly recommendations?: string[];
+ status?: string;
+ /** Error Details if the Status is non-success. */
+ errorDetail?: ErrorDetail;
}
-/**
- * Additional information on Azure Workload for SQL specific backup item.
- */
-export interface AzureVmWorkloadProtectedItemExtendedInfo {
- /**
- * The oldest backup copy available for this backup item.
- */
- oldestRecoveryPoint?: Date;
- /**
- * Number of backup copies available for this backup item.
- */
- recoveryPointCount?: number;
- /**
- * Indicates consistency of policy object and policy applied to this backup item.
- */
- policyState?: string;
+/** Pre-backup validation for Azure VM Workload provider. */
+export interface PreBackupValidation {
+ /** Status of protectable item, i.e. InProgress,Succeeded,Failed */
+ status?: InquiryStatus;
+ /** Error code of protectable item */
+ code?: string;
+ /** Message corresponding to the error code for the protectable item */
+ message?: string;
}
-/**
- * Contains the possible cases for AzureVmWorkloadProtectedItem.
- */
-export type AzureVmWorkloadProtectedItemUnion =
- | AzureVmWorkloadProtectedItem
- | AzureVmWorkloadSAPAseDatabaseProtectedItem
- | AzureVmWorkloadSAPHanaDatabaseProtectedItem
- | AzureVmWorkloadSQLDatabaseProtectedItem;
+/** Query parameters to fetch backup summaries. */
+export interface BMSBackupSummariesQueryObject {
+ /** Backup management type for this container. */
+ type?: Type;
+}
-/**
- * Azure VM workload-specific protected item.
- */
-export interface AzureVmWorkloadProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "AzureVmWorkloadProtectedItem";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
+/** Filters to list protection intent. */
+export interface ProtectionIntentQueryObject {
+ /** Backup management type for the backed up item */
backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
- /**
- * Friendly name of the DB represented by this backup item.
- */
- friendlyName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Parent name of the DB such as Instance or Availability Group.
- */
+ /** Type of workload this item represents */
+ itemType?: IntentItemType;
+ /** Parent name of the intent */
parentName?: string;
- /**
- * Parent type of protected item, example: for a DB, standalone server or distributed
- */
- parentType?: string;
- /**
- * Backup status of this backup item.
- */
- protectionStatus?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
- protectionState?: ProtectionState;
- /**
- * Last backup operation status. Possible values: Healthy, Unhealthy. Possible values include:
- * 'Invalid', 'Healthy', 'Unhealthy', 'IRPending'
- */
- lastBackupStatus?: LastBackupStatus;
- /**
- * Timestamp of the last backup operation on this backup item.
- */
- lastBackupTime?: Date;
- /**
- * Error details in last backup
- */
- lastBackupErrorDetail?: ErrorDetail;
- /**
- * Data ID of the protected item.
- */
- protectedItemDataSourceId?: string;
- /**
- * Health status of the backup item, evaluated based on last heartbeat received. Possible values
- * include: 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
- */
- protectedItemHealthStatus?: ProtectedItemHealthStatus;
- /**
- * Additional information for this backup item.
- */
- extendedInfo?: AzureVmWorkloadProtectedItemExtendedInfo;
- /**
- * Health details of different KPIs
- */
- kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
+ /** Item name of the intent */
+ itemName?: string;
}
-/**
- * Azure VM workload-specific protected item representing SAP ASE Database.
- */
-export interface AzureVmWorkloadSAPAseDatabaseProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "AzureVmWorkloadSAPAseDatabase";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
+/** Query parameters to fetch list of backup engines. */
+export interface BMSBackupEngineQueryObject {
+ /** attribute to add extended info */
+ expand?: string;
+}
+
+/** Query parameters to fetch list of backup engines. */
+export interface BMSBackupEnginesQueryObject {
+ /** Backup management type for the backup engine. */
backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
- /**
- * Friendly name of the DB represented by this backup item.
- */
+ /** Friendly name of the backup engine. */
friendlyName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Parent name of the DB such as Instance or Availability Group.
- */
- parentName?: string;
- /**
- * Parent type of protected item, example: for a DB, standalone server or distributed
- */
- parentType?: string;
- /**
- * Backup status of this backup item.
- */
- protectionStatus?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
- protectionState?: ProtectionState;
- /**
- * Last backup operation status. Possible values: Healthy, Unhealthy. Possible values include:
- * 'Invalid', 'Healthy', 'Unhealthy', 'IRPending'
- */
- lastBackupStatus?: LastBackupStatus;
- /**
- * Timestamp of the last backup operation on this backup item.
- */
- lastBackupTime?: Date;
- /**
- * Error details in last backup
- */
- lastBackupErrorDetail?: ErrorDetail;
- /**
- * Data ID of the protected item.
- */
- protectedItemDataSourceId?: string;
- /**
- * Health status of the backup item, evaluated based on last heartbeat received. Possible values
- * include: 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
- */
- protectedItemHealthStatus?: ProtectedItemHealthStatus;
- /**
- * Additional information for this backup item.
- */
- extendedInfo?: AzureVmWorkloadProtectedItemExtendedInfo;
- /**
- * Health details of different KPIs
- */
- kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
+ /** Attribute to add extended info. */
+ expand?: string;
}
-/**
- * Azure VM workload-specific protected item representing SAP HANA Database.
- */
-export interface AzureVmWorkloadSAPHanaDatabaseProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "AzureVmWorkloadSAPHanaDatabase";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
+/** The query filters that can be used with the list containers API. */
+export interface BMSContainerQueryObject {
+ /** Backup management type for this container. */
+ backupManagementType: BackupManagementType;
+ /** Type of container for filter */
+ containerType?: ContainerType;
+ /** Backup engine name */
+ backupEngineName?: string;
+ /** Fabric name for filter */
+ fabricName?: string;
+ /** Status of registration of this container with the Recovery Services Vault. */
+ status?: string;
+ /** Friendly name of this container. */
+ friendlyName?: string;
+}
+
+/** The query filters that can be used with the inquire container API. */
+export interface BMSContainersInquiryQueryObject {
+ /** Backup management type for this container. */
backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
+ /** Workload type for this container. */
+ workloadType?: WorkloadType;
+}
+
+/** Filters to list items that can be backed up. */
+export interface BmspoQueryObject {
+ /** Backup management type. */
+ backupManagementType?: BackupManagementType;
+ /** Workload type */
+ workloadType?: WorkloadType;
+ /** Full name of the container whose Protectable Objects should be returned. */
containerName?: string;
+ /** Backup status query parameter. */
+ status?: string;
+ /** Friendly name. */
+ friendlyName?: string;
+}
+
+/** The query filters that can be used with the refresh container API. */
+export interface BMSRefreshContainersQueryObject {
+ /** Backup management type for this container. */
+ backupManagementType?: BackupManagementType;
+}
+
+/** Filters to list items that can be backed up. */
+export interface BMSWorkloadItemQueryObject {
+ /** Backup management type. */
+ backupManagementType?: BackupManagementType;
+ /** Workload Item type */
+ workloadItemType?: WorkloadItemType;
+ /** Workload type */
+ workloadType?: WorkloadType;
+ /** Backup status query parameter. */
+ protectionStatus?: ProtectionStatus;
+}
+
+/** Client script details for file / folder restore. */
+export interface ClientScriptForConnect {
+ /** File content of the client script for file / folder restore. */
+ scriptContent?: string;
+ /** File extension of the client script for file / folder restore - .ps1 , .sh , etc. */
+ scriptExtension?: string;
+ /** OS type - Windows, Linux etc. for which this file / folder restore client script works. */
+ osType?: string;
+ /** URL of Executable from where to source the content. If this is not null then ScriptContent should not be used */
+ url?: string;
/**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
+ * Mandatory suffix that should be added to the name of script that is given for download to user.
+ * If its null or empty then , ignore it.
*/
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
+ scriptNameSuffix?: string;
+}
+
+/** Container identity information */
+export interface ContainerIdentityInfo {
+ /** Unique name of the container */
+ uniqueName?: string;
+ /** Protection container identity - AAD Tenant */
+ aadTenantId?: string;
+ /** Protection container identity - AAD Service Principal */
+ servicePrincipalClientId?: string;
+ /** Protection container identity - Audience */
+ audience?: string;
+}
+
+/** Container extended information */
+export interface GenericContainerExtendedInfo {
+ /** Public key of container cert */
+ rawCertData?: string;
+ /** Container identity information */
+ containerIdentityInfo?: ContainerIdentityInfo;
+ /** Azure Backup Service Endpoints for the container */
+ serviceEndpoints?: { [propertyName: string]: string };
+}
+
+/** Target details for file / folder restore. */
+export interface InstantItemRecoveryTarget {
+ /** List of client scripts. */
+ clientScripts?: ClientScriptForConnect[];
+}
+
+/** Additional information of the container. */
+export interface MabContainerExtendedInfo {
+ /** Time stamp when this container was refreshed. */
+ lastRefreshedAt?: Date;
+ /** Type of backup items associated with this container. */
+ backupItemType?: BackupItemType;
+ /** List of backup items associated with this container. */
+ backupItems?: string[];
+ /** Backup policy associated with this container. */
+ policyName?: string;
+ /** Latest backup status of this container. */
+ lastBackupStatus?: string;
+}
+
+/** MAB workload-specific Health Details. */
+export interface MABContainerHealthDetails {
+ /** Health Code */
+ code?: number;
+ /** Health Title */
+ title?: string;
+ /** Health Message */
+ message?: string;
+ /** Health Recommended Actions */
+ recommendations?: string[];
+}
+
+/** RP Rehydration Info */
+export interface RecoveryPointRehydrationInfo {
/**
- * Friendly name of the DB represented by this backup item.
+ * How long the rehydrated RP should be kept
+ * Should be ISO8601 Duration format e.g. "P7D"
*/
+ rehydrationRetentionDuration?: string;
+ /** Rehydration Priority */
+ rehydrationPriority?: RehydrationPriority;
+}
+
+/** The resource storage details. */
+export type BackupResourceConfigResource = Resource & {
+ /** BackupResourceConfigResource properties */
+ properties?: BackupResourceConfig;
+};
+
+/** Base class for backup ProtectionIntent. */
+export type ProtectionIntentResource = Resource & {
+ /** ProtectionIntentResource properties */
+ properties?: ProtectionIntentUnion;
+};
+
+/** Backup resource vault config details. */
+export type BackupResourceVaultConfigResource = Resource & {
+ /** BackupResourceVaultConfigResource properties */
+ properties?: BackupResourceVaultConfig;
+};
+
+export type BackupResourceEncryptionConfigExtendedResource = Resource & {
+ /** BackupResourceEncryptionConfigExtendedResource properties */
+ properties?: BackupResourceEncryptionConfigExtended;
+};
+
+export type BackupResourceEncryptionConfigResource = Resource & {
+ /** BackupResourceEncryptionConfigResource properties */
+ properties?: BackupResourceEncryptionConfig;
+};
+
+/** Private Endpoint Connection Response Properties */
+export type PrivateEndpointConnectionResource = Resource & {
+ /** PrivateEndpointConnectionResource properties */
+ properties?: PrivateEndpointConnection;
+};
+
+/** Base class for backup items. */
+export type ProtectedItemResource = Resource & {
+ /** ProtectedItemResource properties */
+ properties?: ProtectedItemUnion;
+};
+
+/** Base class for backup copies. Workload-specific backup copies are derived from this class. */
+export type RecoveryPointResource = Resource & {
+ /** RecoveryPointResource properties */
+ properties?: RecoveryPointUnion;
+};
+
+/** Base class for restore request. Workload-specific restore requests are derived from this class. */
+export type RestoreRequestResource = Resource & {
+ /** RestoreRequestResource properties */
+ properties?: RestoreRequestUnion;
+};
+
+/** Base class for backup policy. Workload-specific backup policies are derived from this class. */
+export type ProtectionPolicyResource = Resource & {
+ /** ProtectionPolicyResource properties */
+ properties?: ProtectionPolicyUnion;
+};
+
+/** Defines workload agnostic properties for a job. */
+export type JobResource = Resource & {
+ /** JobResource properties */
+ properties?: JobUnion;
+};
+
+/** The base backup engine class. All workload specific backup engines derive from this class. */
+export type BackupEngineBaseResource = Resource & {
+ /** BackupEngineBaseResource properties */
+ properties?: BackupEngineBaseUnion;
+};
+
+/** Protectable Container Class. */
+export type ProtectableContainerResource = Resource & {
+ /** ProtectableContainerResource properties */
+ properties?: ProtectableContainerUnion;
+};
+
+/** Base class for container with backup items. Containers with specific workloads are derived from this class. */
+export type ProtectionContainerResource = Resource & {
+ /** ProtectionContainerResource properties */
+ properties?: ProtectionContainerUnion;
+};
+
+/** Base class for backup item. Workload-specific backup items are derived from this class. */
+export type WorkloadItemResource = Resource & {
+ /** WorkloadItemResource properties */
+ properties?: WorkloadItemUnion;
+};
+
+/** Base class for backup request. Workload-specific backup requests are derived from this class. */
+export type BackupRequestResource = Resource & {
+ /** BackupRequestResource properties */
+ properties?: BackupRequestUnion;
+};
+
+/** Parameters to Provision ILR API. */
+export type ILRRequestResource = Resource & {
+ /** ILRRequestResource properties */
+ properties?: ILRRequestUnion;
+};
+
+/** Base class for backup item. Workload-specific backup items are derived from this class. */
+export type WorkloadProtectableItemResource = Resource & {
+ /** WorkloadProtectableItemResource properties */
+ properties?: WorkloadProtectableItemUnion;
+};
+
+export type ResourceGuardProxyBaseResource = Resource & {
+ /** ResourceGuardProxyBaseResource properties */
+ properties?: ResourceGuardProxyBase;
+};
+
+/** Azure backup goal feature specific request. */
+export type AzureBackupGoalFeatureSupportRequest = FeatureSupportRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ featureType: "AzureBackupGoals";
+};
+
+/** AzureResource(IaaS VM) Specific feature support request */
+export type AzureVMResourceFeatureSupportRequest = FeatureSupportRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ featureType: "AzureVMResourceBackup";
+ /** Size of the resource: VM size(A/D series etc) in case of IaasVM */
+ vmSize?: string;
+ /** SKUs (Premium/Managed etc) in case of IaasVM */
+ vmSku?: string;
+};
+
+/** Azure Recovery Services Vault specific protection intent item. */
+export type AzureRecoveryServiceVaultProtectionIntent = ProtectionIntent & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectionIntentItemType:
+ | "RecoveryServiceVaultItem"
+ | "AzureWorkloadAutoProtectionIntent"
+ | "AzureWorkloadSQLAutoProtectionIntent";
+};
+
+/** IaaS VM specific backup protection intent item. */
+export type AzureResourceProtectionIntent = ProtectionIntent & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectionIntentItemType: "AzureResourceItem";
+ /** Friendly name of the VM represented by this backup item. */
friendlyName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
+};
+
+/** Azure workload specific protection intent item. */
+export type AzureWorkloadContainerAutoProtectionIntent = ProtectionIntent & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectionIntentItemType: "AzureWorkloadContainerAutoProtectionIntent";
+};
+
+/** List of ProtectionIntent resources */
+export type ProtectionIntentResourceList = ResourceList & {
+ /** List of resources. */
+ value?: ProtectionIntentResource[];
+};
+
+/** List of RecoveryPoint resources */
+export type RecoveryPointResourceList = ResourceList & {
+ /** List of resources. */
+ value?: RecoveryPointResource[];
+};
+
+/** List of ProtectionPolicy resources */
+export type ProtectionPolicyResourceList = ResourceList & {
+ /** List of resources. */
+ value?: ProtectionPolicyResource[];
+};
+
+/** List of Job resources */
+export type JobResourceList = ResourceList & {
+ /** List of resources. */
+ value?: JobResource[];
+};
+
+/** List of ProtectedItem resources */
+export type ProtectedItemResourceList = ResourceList & {
+ /** List of resources. */
+ value?: ProtectedItemResource[];
+};
+
+/** List of BackupEngineBase resources */
+export type BackupEngineBaseResourceList = ResourceList & {
+ /** List of resources. */
+ value?: BackupEngineBaseResource[];
+};
+
+/** List of ProtectableContainer resources */
+export type ProtectableContainerResourceList = ResourceList & {
+ /** List of resources. */
+ value?: ProtectableContainerResource[];
+};
+
+/** List of WorkloadItem resources */
+export type WorkloadItemResourceList = ResourceList & {
+ /** List of resources. */
+ value?: WorkloadItemResource[];
+};
+
+/** List of WorkloadProtectableItem resources */
+export type WorkloadProtectableItemResourceList = ResourceList & {
+ /** List of resources. */
+ value?: WorkloadProtectableItemResource[];
+};
+
+/** List of ProtectionContainer resources */
+export type ProtectionContainerResourceList = ResourceList & {
+ /** List of resources. */
+ value?: ProtectionContainerResource[];
+};
+
+/** List of ResourceGuardProxyBase resources */
+export type ResourceGuardProxyBaseResourceList = ResourceList & {
+ /** List of resources. */
+ value?: ResourceGuardProxyBaseResource[];
+};
+
+export type BackupResourceEncryptionConfigExtended = BackupResourceEncryptionConfig & {
+ /** User Assigned Identity Id */
+ userAssignedIdentity?: string;
+ /** bool to indicate whether to use system Assigned Identity or not */
+ useSystemAssignedIdentity?: boolean;
+};
+
+/** Operation status job extended info. */
+export type OperationStatusJobExtendedInfo = OperationStatusExtendedInfo & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "OperationStatusJobExtendedInfo";
+ /** ID of the job created for this protected item. */
+ jobId?: string;
+};
+
+/** Operation status extended info for list of jobs. */
+export type OperationStatusJobsExtendedInfo = OperationStatusExtendedInfo & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "OperationStatusJobsExtendedInfo";
+ /** IDs of the jobs created for the protected item. */
+ jobIds?: string[];
+ /** Stores all the failed jobs along with the corresponding error codes. */
+ failedJobsError?: { [propertyName: string]: string };
+};
+
+/** Operation status extended info for ILR provision action. */
+export type OperationStatusProvisionILRExtendedInfo = OperationStatusExtendedInfo & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "OperationStatusProvisionILRExtendedInfo";
+ /** Target details for file / folder restore. */
+ recoveryTarget?: InstantItemRecoveryTarget;
+};
+
+/** Operation status extended info for ValidateOperation action. */
+export type OperationStatusValidateOperationExtendedInfo = OperationStatusExtendedInfo & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "OperationStatusValidateOperationExtendedInfo";
+ /** Gets the validation operation response */
+ validateOperationResponse?: ValidateOperationResponse;
+};
+
+/** Prepare DataMove Response */
+export type PrepareDataMoveResponse = VaultStorageConfigOperationResultResponse & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "PrepareDataMoveResponse";
+ /** Co-relationId for move operation */
+ correlationId?: string;
+ /** Source Vault Properties */
+ sourceVaultProperties?: { [propertyName: string]: string };
+};
+
+/** Azure File Share workload-specific backup item. */
+export type AzureFileshareProtectedItem = ProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType: "AzureFileShareProtectedItem";
+ /** Friendly name of the fileshare represented by this backup item. */
+ friendlyName?: string;
+ /** Backup status of this backup item. */
+ protectionStatus?: string;
+ /** Backup state of this backup item. */
+ protectionState?: ProtectionState;
+ /** Last backup operation status. Possible values: Healthy, Unhealthy. */
+ lastBackupStatus?: string;
+ /** Timestamp of the last backup operation on this backup item. */
+ lastBackupTime?: Date;
+ /** Health details of different KPIs */
+ kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
+ /** Additional information with this backup item. */
+ extendedInfo?: AzureFileshareProtectedItemExtendedInfo;
+};
+
+/** IaaS VM workload-specific backup item. */
+export type AzureIaaSVMProtectedItem = ProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType:
+ | "AzureIaaSVMProtectedItem"
+ | "Microsoft.ClassicCompute/virtualMachines"
+ | "Microsoft.Compute/virtualMachines";
+ /** Friendly name of the VM represented by this backup item. */
+ friendlyName?: string;
+ /** Fully qualified ARM ID of the virtual machine represented by this item. */
+ virtualMachineId?: string;
+ /** Backup status of this backup item. */
+ protectionStatus?: string;
+ /** Backup state of this backup item. */
+ protectionState?: ProtectionState;
+ /** Health status of protected item. */
+ healthStatus?: HealthStatus;
+ /** Health details on this backup item. */
+ healthDetails?: AzureIaaSVMHealthDetails[];
+ /** Health details of different KPIs */
+ kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
+ /** Last backup operation status. */
+ lastBackupStatus?: string;
+ /** Timestamp of the last backup operation on this backup item. */
+ lastBackupTime?: Date;
+ /** Data ID of the protected item. */
+ protectedItemDataId?: string;
+ /** Additional information for this backup item. */
+ extendedInfo?: AzureIaaSVMProtectedItemExtendedInfo;
+ /** Extended Properties for Azure IaasVM Backup. */
+ extendedProperties?: ExtendedProperties;
+};
+
+/** Azure SQL workload-specific backup item. */
+export type AzureSqlProtectedItem = ProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType: "Microsoft.Sql/servers/databases";
+ /** Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services. */
+ protectedItemDataId?: string;
+ /** Backup state of the backed up item. */
+ protectionState?: ProtectedItemState;
+ /** Additional information for this backup item. */
+ extendedInfo?: AzureSqlProtectedItemExtendedInfo;
+};
+
+/** Azure VM workload-specific protected item. */
+export type AzureVmWorkloadProtectedItem = ProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType:
+ | "AzureVmWorkloadProtectedItem"
+ | "AzureVmWorkloadSAPAseDatabase"
+ | "AzureVmWorkloadSAPHanaDatabase"
+ | "AzureVmWorkloadSQLDatabase";
+ /** Friendly name of the DB represented by this backup item. */
+ friendlyName?: string;
+ /** Host/Cluster Name for instance or AG */
serverName?: string;
- /**
- * Parent name of the DB such as Instance or Availability Group.
- */
+ /** Parent name of the DB such as Instance or Availability Group. */
parentName?: string;
- /**
- * Parent type of protected item, example: for a DB, standalone server or distributed
- */
+ /** Parent type of protected item, example: for a DB, standalone server or distributed */
parentType?: string;
- /**
- * Backup status of this backup item.
- */
+ /** Backup status of this backup item. */
protectionStatus?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
+ /** Backup state of this backup item. */
protectionState?: ProtectionState;
- /**
- * Last backup operation status. Possible values: Healthy, Unhealthy. Possible values include:
- * 'Invalid', 'Healthy', 'Unhealthy', 'IRPending'
- */
+ /** Last backup operation status. Possible values: Healthy, Unhealthy. */
lastBackupStatus?: LastBackupStatus;
- /**
- * Timestamp of the last backup operation on this backup item.
- */
+ /** Timestamp of the last backup operation on this backup item. */
lastBackupTime?: Date;
- /**
- * Error details in last backup
- */
+ /** Error details in last backup */
lastBackupErrorDetail?: ErrorDetail;
- /**
- * Data ID of the protected item.
- */
+ /** Data ID of the protected item. */
protectedItemDataSourceId?: string;
- /**
- * Health status of the backup item, evaluated based on last heartbeat received. Possible values
- * include: 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
- */
+ /** Health status of the backup item, evaluated based on last heartbeat received */
protectedItemHealthStatus?: ProtectedItemHealthStatus;
- /**
- * Additional information for this backup item.
- */
+ /** Additional information for this backup item. */
extendedInfo?: AzureVmWorkloadProtectedItemExtendedInfo;
- /**
- * Health details of different KPIs
- */
+ /** Health details of different KPIs */
kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
-}
+};
-/**
- * Azure VM workload-specific protected item representing SQL Database.
- */
-export interface AzureVmWorkloadSQLDatabaseProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "AzureVmWorkloadSQLDatabase";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
- /**
- * Friendly name of the DB represented by this backup item.
- */
- friendlyName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Parent name of the DB such as Instance or Availability Group.
- */
- parentName?: string;
- /**
- * Parent type of protected item, example: for a DB, standalone server or distributed
- */
- parentType?: string;
- /**
- * Backup status of this backup item.
- */
- protectionStatus?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
- protectionState?: ProtectionState;
- /**
- * Last backup operation status. Possible values: Healthy, Unhealthy. Possible values include:
- * 'Invalid', 'Healthy', 'Unhealthy', 'IRPending'
- */
- lastBackupStatus?: LastBackupStatus;
- /**
- * Timestamp of the last backup operation on this backup item.
- */
- lastBackupTime?: Date;
- /**
- * Error details in last backup
- */
- lastBackupErrorDetail?: ErrorDetail;
- /**
- * Data ID of the protected item.
- */
- protectedItemDataSourceId?: string;
- /**
- * Health status of the backup item, evaluated based on last heartbeat received. Possible values
- * include: 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
- */
- protectedItemHealthStatus?: ProtectedItemHealthStatus;
- /**
- * Additional information for this backup item.
- */
- extendedInfo?: AzureVmWorkloadProtectedItemExtendedInfo;
- /**
- * Health details of different KPIs
- */
- kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
-}
-
-/**
- * Azure storage specific error information
- */
-export interface AzureWorkloadErrorInfo {
- /**
- * Error code.
- */
- errorCode?: number;
- /**
- * Localized error string.
- */
- errorString?: string;
- /**
- * Title: Typically, the entity that the error pertains to.
- */
- errorTitle?: string;
- /**
- * List of localized recommendations for above error code.
- */
- recommendations?: string[];
- /**
- * Additional details for above error code.
- */
- additionalDetails?: string;
-}
-
-/**
- * Azure VM workload specific job task details.
- */
-export interface AzureWorkloadJobTaskDetails {
- /**
- * The task display name.
- */
- taskId?: string;
- /**
- * The status.
- */
- status?: string;
-}
-
-/**
- * Azure VM workload-specific additional information for job.
- */
-export interface AzureWorkloadJobExtendedInfo {
- /**
- * List of tasks for this job
- */
- tasksList?: AzureWorkloadJobTaskDetails[];
- /**
- * Job properties.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Non localized error message on job execution.
- */
- dynamicErrorMessage?: string;
-}
-
-/**
- * Azure storage specific job.
- */
-export interface AzureWorkloadJob {
- /**
- * Polymorphic Discriminator
- */
- jobType: "AzureWorkloadJob";
- /**
- * Friendly name of the entity on which the current job is executing.
- */
- entityFriendlyName?: string;
- /**
- * Backup management type to execute the current job. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * The operation name.
- */
- operation?: string;
- /**
- * Job status.
- */
- status?: string;
- /**
- * The start time.
- */
- startTime?: Date;
- /**
- * The end time.
- */
- endTime?: Date;
- /**
- * ActivityId of job.
- */
- activityId?: string;
- /**
- * Workload type of the job
- */
- workloadType?: string;
- /**
- * Time elapsed during the execution of this job.
- */
- duration?: string;
- /**
- * Gets or sets the state/actions applicable on this job like cancel/retry.
- */
- actionsInfo?: JobSupportedAction[];
- /**
- * Error details on execution of this job.
- */
- errorDetails?: AzureWorkloadErrorInfo[];
- /**
- * Additional information about the job.
- */
- extendedInfo?: AzureWorkloadJobExtendedInfo;
-}
-
-/**
- * Provides details for log ranges
- */
-export interface PointInTimeRange {
- /**
- * Start time of the time range for log recovery.
- */
- startTime?: Date;
- /**
- * End time of the time range for log recovery.
- */
- endTime?: Date;
-}
-
-/**
- * Contains the possible cases for AzureWorkloadRecoveryPoint.
- */
-export type AzureWorkloadRecoveryPointUnion =
- | AzureWorkloadRecoveryPoint
- | AzureWorkloadPointInTimeRecoveryPointUnion
- | AzureWorkloadSAPHanaRecoveryPoint
- | AzureWorkloadSQLRecoveryPointUnion;
-
-/**
- * Workload specific recovery point, specifically encapsulates full/diff recovery point
- */
-export interface AzureWorkloadRecoveryPoint {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadRecoveryPoint";
- /**
- * UTC time at which recovery point was created
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recoveryPointTimeInUTC?: Date;
- /**
- * Type of restore point. Possible values include: 'Invalid', 'Full', 'Log', 'Differential',
- * 'Incremental'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: RestorePointType;
- /**
- * Recovery point tier information.
- */
- recoveryPointTierDetails?: RecoveryPointTierInformation[];
- /**
- * Eligibility of RP to be moved to another tier
- */
- recoveryPointMoveReadinessInfo?: { [propertyName: string]: RecoveryPointMoveReadinessInfo };
-}
-
-/**
- * Contains the possible cases for AzureWorkloadPointInTimeRecoveryPoint.
- */
-export type AzureWorkloadPointInTimeRecoveryPointUnion =
- | AzureWorkloadPointInTimeRecoveryPoint
- | AzureWorkloadSAPHanaPointInTimeRecoveryPoint;
-
-/**
- * Recovery point specific to PointInTime
- */
-export interface AzureWorkloadPointInTimeRecoveryPoint {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadPointInTimeRecoveryPoint";
- /**
- * UTC time at which recovery point was created
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recoveryPointTimeInUTC?: Date;
- /**
- * Type of restore point. Possible values include: 'Invalid', 'Full', 'Log', 'Differential',
- * 'Incremental'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: RestorePointType;
- /**
- * Recovery point tier information.
- */
- recoveryPointTierDetails?: RecoveryPointTierInformation[];
- /**
- * Eligibility of RP to be moved to another tier
- */
- recoveryPointMoveReadinessInfo?: { [propertyName: string]: RecoveryPointMoveReadinessInfo };
- /**
- * List of log ranges
- */
- timeRanges?: PointInTimeRange[];
-}
-
-/**
- * Contains the possible cases for AzureWorkloadRestoreRequest.
- */
-export type AzureWorkloadRestoreRequestUnion =
- | AzureWorkloadRestoreRequest
- | AzureWorkloadPointInTimeRestoreRequest
- | AzureWorkloadSAPHanaRestoreRequestUnion
- | AzureWorkloadSQLRestoreRequestUnion;
-
-/**
- * AzureWorkload-specific restore.
- */
-export interface AzureWorkloadRestoreRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadRestoreRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- */
- sourceResourceId?: string;
- /**
- * Workload specific property bag.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Details of target database
- */
- targetInfo?: TargetRestoreInfo;
- /**
- * Defines whether the current recovery mode is file restore or database restore. Possible values
- * include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- */
- recoveryMode?: RecoveryMode;
- /**
- * This is the complete ARM Id of the target VM
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
-}
-
-/**
- * AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log restore
- */
-export interface AzureWorkloadPointInTimeRestoreRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadPointInTimeRestoreRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- */
- sourceResourceId?: string;
- /**
- * Workload specific property bag.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Details of target database
- */
- targetInfo?: TargetRestoreInfo;
- /**
- * Defines whether the current recovery mode is file restore or database restore. Possible values
- * include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- */
- recoveryMode?: RecoveryMode;
- /**
- * This is the complete ARM Id of the target VM
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
- /**
- * PointInTime value
- */
- pointInTime?: Date;
-}
-
-/**
- * Recovery point tier information.
- */
-export interface RecoveryPointTierInformation {
- /**
- * Recovery point tier type. Possible values include: 'Invalid', 'InstantRP', 'HardenedRP',
- * 'ArchivedRP'
- */
- type?: RecoveryPointTierType;
- /**
- * Recovery point tier status. Possible values include: 'Invalid', 'Valid', 'Disabled',
- * 'Deleted', 'Rehydrated'
- */
- status?: RecoveryPointTierStatus;
- /**
- * Recovery point tier status.
- */
- extendedInfo?: { [propertyName: string]: string };
-}
-
-/**
- * An interface representing RecoveryPointMoveReadinessInfo.
- */
-export interface RecoveryPointMoveReadinessInfo {
- isReadyForMove?: boolean;
- additionalInfo?: string;
-}
-
-/**
- * Details about target workload during restore operation.
- */
-export interface TargetRestoreInfo {
- /**
- * Can Overwrite if Target DataBase already exists. Possible values include: 'Invalid',
- * 'FailOnConflict', 'Overwrite'
- */
- overwriteOption?: OverwriteOptions;
- /**
- * Resource Id name of the container in which Target DataBase resides
- */
- containerId?: string;
- /**
- * Database name InstanceName/DataBaseName for SQL or System/DbName for SAP Hana
- */
- databaseName?: string;
- /**
- * Target directory location for restore as files.
- */
- targetDirectoryForFileRestore?: string;
-}
-
-/**
- * Recovery point specific to PointInTime in SAPHana
- */
-export interface AzureWorkloadSAPHanaPointInTimeRecoveryPoint {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint";
- /**
- * UTC time at which recovery point was created
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recoveryPointTimeInUTC?: Date;
- /**
- * Type of restore point. Possible values include: 'Invalid', 'Full', 'Log', 'Differential',
- * 'Incremental'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: RestorePointType;
- /**
- * Recovery point tier information.
- */
- recoveryPointTierDetails?: RecoveryPointTierInformation[];
- /**
- * Eligibility of RP to be moved to another tier
- */
- recoveryPointMoveReadinessInfo?: { [propertyName: string]: RecoveryPointMoveReadinessInfo };
- /**
- * List of log ranges
- */
- timeRanges?: PointInTimeRange[];
-}
-
-/**
- * Contains the possible cases for AzureWorkloadSAPHanaRestoreRequest.
- */
-export type AzureWorkloadSAPHanaRestoreRequestUnion =
- | AzureWorkloadSAPHanaRestoreRequest
- | AzureWorkloadSAPHanaPointInTimeRestoreRequestUnion
- | AzureWorkloadSAPHanaRestoreWithRehydrateRequest;
-
-/**
- * AzureWorkload SAP Hana-specific restore.
- */
-export interface AzureWorkloadSAPHanaRestoreRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSAPHanaRestoreRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- */
- sourceResourceId?: string;
- /**
- * Workload specific property bag.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Details of target database
- */
- targetInfo?: TargetRestoreInfo;
- /**
- * Defines whether the current recovery mode is file restore or database restore. Possible values
- * include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- */
- recoveryMode?: RecoveryMode;
- /**
- * This is the complete ARM Id of the target VM
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
-}
-
-/**
- * Contains the possible cases for AzureWorkloadSAPHanaPointInTimeRestoreRequest.
- */
-export type AzureWorkloadSAPHanaPointInTimeRestoreRequestUnion =
- | AzureWorkloadSAPHanaPointInTimeRestoreRequest
- | AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest;
-
-/**
- * AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log restore
- */
-export interface AzureWorkloadSAPHanaPointInTimeRestoreRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSAPHanaPointInTimeRestoreRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- */
- sourceResourceId?: string;
- /**
- * Workload specific property bag.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Details of target database
- */
- targetInfo?: TargetRestoreInfo;
- /**
- * Defines whether the current recovery mode is file restore or database restore. Possible values
- * include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- */
- recoveryMode?: RecoveryMode;
- /**
- * This is the complete ARM Id of the target VM
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
- /**
- * PointInTime value
- */
- pointInTime?: Date;
-}
-
-/**
- * SAPHana specific recoverypoint, specifically encapsulates full/diff recoverypoints
- */
-export interface AzureWorkloadSAPHanaRecoveryPoint {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSAPHanaRecoveryPoint";
- /**
- * UTC time at which recovery point was created
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recoveryPointTimeInUTC?: Date;
- /**
- * Type of restore point. Possible values include: 'Invalid', 'Full', 'Log', 'Differential',
- * 'Incremental'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: RestorePointType;
- /**
- * Recovery point tier information.
- */
- recoveryPointTierDetails?: RecoveryPointTierInformation[];
- /**
- * Eligibility of RP to be moved to another tier
- */
- recoveryPointMoveReadinessInfo?: { [propertyName: string]: RecoveryPointMoveReadinessInfo };
-}
-
-/**
- * Contains the possible cases for AzureWorkloadSQLRecoveryPoint.
- */
-export type AzureWorkloadSQLRecoveryPointUnion =
- | AzureWorkloadSQLRecoveryPoint
- | AzureWorkloadSQLPointInTimeRecoveryPoint;
-
-/**
- * SQL specific recoverypoint, specifically encapsulates full/diff recoverypoint along with
- * extended info
- */
-export interface AzureWorkloadSQLRecoveryPoint {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSQLRecoveryPoint";
- /**
- * UTC time at which recovery point was created
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recoveryPointTimeInUTC?: Date;
- /**
- * Type of restore point. Possible values include: 'Invalid', 'Full', 'Log', 'Differential',
- * 'Incremental'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: RestorePointType;
- /**
- * Recovery point tier information.
- */
- recoveryPointTierDetails?: RecoveryPointTierInformation[];
- /**
- * Eligibility of RP to be moved to another tier
- */
- recoveryPointMoveReadinessInfo?: { [propertyName: string]: RecoveryPointMoveReadinessInfo };
- /**
- * Extended Info that provides data directory details. Will be populated in two cases:
- * When a specific recovery point is accessed using GetRecoveryPoint
- * Or when ListRecoveryPoints is called for Log RP only with ExtendedInfo query filter
- */
- extendedInfo?: AzureWorkloadSQLRecoveryPointExtendedInfo;
-}
-
-/**
- * Recovery point specific to PointInTime
- */
-export interface AzureWorkloadSQLPointInTimeRecoveryPoint {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSQLPointInTimeRecoveryPoint";
- /**
- * UTC time at which recovery point was created
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recoveryPointTimeInUTC?: Date;
- /**
- * Type of restore point. Possible values include: 'Invalid', 'Full', 'Log', 'Differential',
- * 'Incremental'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: RestorePointType;
- /**
- * Recovery point tier information.
- */
- recoveryPointTierDetails?: RecoveryPointTierInformation[];
- /**
- * Eligibility of RP to be moved to another tier
- */
- recoveryPointMoveReadinessInfo?: { [propertyName: string]: RecoveryPointMoveReadinessInfo };
- /**
- * Extended Info that provides data directory details. Will be populated in two cases:
- * When a specific recovery point is accessed using GetRecoveryPoint
- * Or when ListRecoveryPoints is called for Log RP only with ExtendedInfo query filter
- */
- extendedInfo?: AzureWorkloadSQLRecoveryPointExtendedInfo;
- /**
- * List of log ranges
- */
- timeRanges?: PointInTimeRange[];
-}
-
-/**
- * Contains the possible cases for AzureWorkloadSQLRestoreRequest.
- */
-export type AzureWorkloadSQLRestoreRequestUnion =
- | AzureWorkloadSQLRestoreRequest
- | AzureWorkloadSQLPointInTimeRestoreRequestUnion
- | AzureWorkloadSQLRestoreWithRehydrateRequest;
-
-/**
- * AzureWorkload SQL -specific restore. Specifically for full/diff restore
- */
-export interface AzureWorkloadSQLRestoreRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSQLRestoreRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- */
- sourceResourceId?: string;
- /**
- * Workload specific property bag.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Details of target database
- */
- targetInfo?: TargetRestoreInfo;
- /**
- * Defines whether the current recovery mode is file restore or database restore. Possible values
- * include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- */
- recoveryMode?: RecoveryMode;
- /**
- * This is the complete ARM Id of the target VM
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
- /**
- * Default option set to true. If this is set to false, alternate data directory must be provided
- */
- shouldUseAlternateTargetLocation?: boolean;
- /**
- * SQL specific property where user can chose to set no-recovery when restore operation is tried
- */
- isNonRecoverable?: boolean;
- /**
- * Data directory details
- */
- alternateDirectoryPaths?: SQLDataDirectoryMapping[];
-}
-
-/**
- * Contains the possible cases for AzureWorkloadSQLPointInTimeRestoreRequest.
- */
-export type AzureWorkloadSQLPointInTimeRestoreRequestUnion =
- | AzureWorkloadSQLPointInTimeRestoreRequest
- | AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest;
-
-/**
- * AzureWorkload SQL -specific restore. Specifically for PointInTime/Log restore
- */
-export interface AzureWorkloadSQLPointInTimeRestoreRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSQLPointInTimeRestoreRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- */
- sourceResourceId?: string;
- /**
- * Workload specific property bag.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Details of target database
- */
- targetInfo?: TargetRestoreInfo;
- /**
- * Defines whether the current recovery mode is file restore or database restore. Possible values
- * include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- */
- recoveryMode?: RecoveryMode;
- /**
- * This is the complete ARM Id of the target VM
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
- /**
- * Default option set to true. If this is set to false, alternate data directory must be provided
- */
- shouldUseAlternateTargetLocation?: boolean;
- /**
- * SQL specific property where user can chose to set no-recovery when restore operation is tried
- */
- isNonRecoverable?: boolean;
- /**
- * Data directory details
- */
- alternateDirectoryPaths?: SQLDataDirectoryMapping[];
- /**
- * PointInTime value
- */
- pointInTime?: Date;
-}
-
-/**
- * SQLDataDirectory info
- */
-export interface SQLDataDirectory {
- /**
- * Type of data directory mapping. Possible values include: 'Invalid', 'Data', 'Log'
- */
- type?: SQLDataDirectoryType;
- /**
- * File path
- */
- path?: string;
- /**
- * Logical name of the file
- */
- logicalName?: string;
-}
-
-/**
- * Extended info class details
- */
-export interface AzureWorkloadSQLRecoveryPointExtendedInfo {
- /**
- * UTC time at which data directory info was captured
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly dataDirectoryTimeInUTC?: Date;
- /**
- * List of data directory paths during restore operation.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly dataDirectoryPaths?: SQLDataDirectory[];
-}
-
-/**
- * Encapsulates information regarding data directory
- */
-export interface SQLDataDirectoryMapping {
- /**
- * Type of data directory mapping. Possible values include: 'Invalid', 'Data', 'Log'
- */
- mappingType?: SQLDataDirectoryType;
- /**
- * Restore source logical name path
- */
- sourceLogicalName?: string;
- /**
- * Restore source path
- */
- sourcePath?: string;
- /**
- * Target path
- */
- targetPath?: string;
-}
-
-/**
- * BEK is bitlocker encryption key.
- */
-export interface BEKDetails {
- /**
- * Secret is BEK.
- */
- secretUrl?: string;
- /**
- * ID of the Key Vault where this Secret is stored.
- */
- secretVaultId?: string;
- /**
- * BEK data.
- */
- secretData?: string;
-}
-
-/**
- * Filters to list backup copies.
- */
-export interface BMSRPQueryObject {
- /**
- * Backup copies created after this time.
- */
- startDate?: Date;
- /**
- * Backup copies created before this time.
- */
- endDate?: Date;
- /**
- * RestorePoint type. Possible values include: 'Invalid', 'Full', 'Log', 'Differential',
- * 'FullAndDifferential', 'All', 'Incremental'
- */
- restorePointQueryType?: RestorePointQueryType;
- /**
- * In Get Recovery Point, it tells whether extended information about recovery point is asked.
- */
- extendedInfo?: boolean;
- /**
- * Whether the RP can be moved to another tier
- */
- moveReadyRPOnly?: boolean;
-}
-
-/**
- * Disk information
- */
-export interface DiskInformation {
- lun?: number;
- name?: string;
-}
-
-/**
- * Day of the week.
- */
-export interface Day {
- /**
- * Date of the month
- */
- date?: number;
- /**
- * Whether Date is last date of month
- */
- isLast?: boolean;
-}
-
-/**
- * Daily retention format.
- */
-export interface DailyRetentionFormat {
- /**
- * List of days of the month.
- */
- daysOfTheMonth?: Day[];
-}
-
-/**
- * Retention duration.
- */
-export interface RetentionDuration {
- /**
- * Count of duration types. Retention duration is obtained by the counting the duration type
- * Count times.
- * For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- */
- count?: number;
- /**
- * Retention duration type of retention policy. Possible values include: 'Invalid', 'Days',
- * 'Weeks', 'Months', 'Years'
- */
- durationType?: RetentionDurationType;
-}
-
-/**
- * Daily retention schedule.
- */
-export interface DailyRetentionSchedule {
- /**
- * Retention times of retention policy.
- */
- retentionTimes?: Date[] | string[];
- /**
- * Retention duration of retention Policy.
- */
- retentionDuration?: RetentionDuration;
-}
-
-/**
- * DPM workload-specific error information.
- */
-export interface DpmErrorInfo {
- /**
- * Localized error string.
- */
- errorString?: string;
- /**
- * List of localized recommendations for above error code.
- */
- recommendations?: string[];
-}
-
-/**
- * DPM workload-specific job task details.
- */
-export interface DpmJobTaskDetails {
- /**
- * The task display name.
- */
- taskId?: string;
- /**
- * The start time.
- */
- startTime?: Date;
- /**
- * The end time.
- */
- endTime?: Date;
- /**
- * Time elapsed for task.
- */
- duration?: string;
- /**
- * The status.
- */
- status?: string;
-}
-
-/**
- * Additional information on the DPM workload-specific job.
- */
-export interface DpmJobExtendedInfo {
- /**
- * List of tasks associated with this job.
- */
- tasksList?: DpmJobTaskDetails[];
- /**
- * The job properties.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Non localized error message on job execution.
- */
- dynamicErrorMessage?: string;
-}
-
-/**
- * DPM workload-specific job object.
- */
-export interface DpmJob {
- /**
- * Polymorphic Discriminator
- */
- jobType: "DpmJob";
- /**
- * Friendly name of the entity on which the current job is executing.
- */
- entityFriendlyName?: string;
- /**
- * Backup management type to execute the current job. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * The operation name.
- */
- operation?: string;
- /**
- * Job status.
- */
- status?: string;
- /**
- * The start time.
- */
- startTime?: Date;
- /**
- * The end time.
- */
- endTime?: Date;
- /**
- * ActivityId of job.
- */
- activityId?: string;
- /**
- * Time elapsed for job.
- */
- duration?: string;
- /**
- * DPM server name managing the backup item or backup job.
- */
- dpmServerName?: string;
- /**
- * Name of cluster/server protecting current backup item, if any.
- */
- containerName?: string;
- /**
- * Type of container.
- */
- containerType?: string;
- /**
- * Type of backup item.
- */
- workloadType?: string;
- /**
- * The state/actions applicable on this job like cancel/retry.
- */
- actionsInfo?: JobSupportedAction[];
- /**
- * The errors.
- */
- errorDetails?: DpmErrorInfo[];
- /**
- * Additional information for this job.
- */
- extendedInfo?: DpmJobExtendedInfo;
-}
-
-/**
- * Additional information of DPM Protected item.
- */
-export interface DPMProtectedItemExtendedInfo {
- /**
- * Attribute to provide information on various DBs.
- */
- protectableObjectLoadPath?: { [propertyName: string]: string };
- /**
- * To check if backup item is disk protected.
- */
- protectedProperty?: boolean;
- /**
- * To check if backup item is cloud protected.
- */
- isPresentOnCloud?: boolean;
- /**
- * Last backup status information on backup item.
- */
- lastBackupStatus?: string;
- /**
- * Last refresh time on backup item.
- */
- lastRefreshedAt?: Date;
- /**
- * Oldest cloud recovery point time.
- */
- oldestRecoveryPoint?: Date;
- /**
- * cloud recovery point count.
- */
- recoveryPointCount?: number;
- /**
- * Oldest disk recovery point time.
- */
- onPremiseOldestRecoveryPoint?: Date;
- /**
- * latest disk recovery point time.
- */
- onPremiseLatestRecoveryPoint?: Date;
- /**
- * disk recovery point count.
- */
- onPremiseRecoveryPointCount?: number;
- /**
- * To check if backup item is collocated.
- */
- isCollocated?: boolean;
- /**
- * Protection group name of the backup item.
- */
- protectionGroupName?: string;
- /**
- * Used Disk storage in bytes.
- */
- diskStorageUsedInBytes?: string;
- /**
- * total Disk storage in bytes.
- */
- totalDiskStorageSizeInBytes?: string;
-}
-
-/**
- * Additional information on Backup engine specific backup item.
- */
-export interface DPMProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "DPMProtectedItem";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
- /**
- * Friendly name of the managed item
- */
- friendlyName?: string;
- /**
- * Backup Management server protecting this backup item
- */
- backupEngineName?: string;
- /**
- * Protection state of the backup engine. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
- protectionState?: ProtectedItemState;
- /**
- * Extended info of the backup item.
- */
- extendedInfo?: DPMProtectedItemExtendedInfo;
-}
-
-/**
- * Details needed if the VM was encrypted at the time of backup.
- */
-export interface EncryptionDetails {
- /**
- * Identifies whether this backup copy represents an encrypted VM at the time of backup.
- */
- encryptionEnabled?: boolean;
- /**
- * Key Url.
- */
- kekUrl?: string;
- /**
- * Secret Url.
- */
- secretKeyUrl?: string;
- /**
- * ID of Key Vault where KEK is stored.
- */
- kekVaultId?: string;
- /**
- * ID of Key Vault where Secret is stored.
- */
- secretKeyVaultId?: string;
-}
-
-/**
- * Contains the possible cases for OperationResultInfoBase.
- */
-export type OperationResultInfoBaseUnion =
- | OperationResultInfoBase
- | ExportJobsOperationResultInfo
- | OperationResultInfo;
-
-/**
- * Base class for operation result info.
- */
-export interface OperationResultInfoBase {
- /**
- * Polymorphic Discriminator
- */
- objectType: "OperationResultInfoBase";
-}
-
-/**
- * This class is used to send blob details after exporting jobs.
- */
-export interface ExportJobsOperationResultInfo {
- /**
- * Polymorphic Discriminator
- */
- objectType: "ExportJobsOperationResultInfo";
- /**
- * URL of the blob into which the serialized string of list of jobs is exported.
- */
- blobUrl?: string;
- /**
- * SAS key to access the blob. It expires in 15 mins.
- */
- blobSasKey?: string;
- /**
- * URL of the blob into which the ExcelFile is uploaded.
- */
- excelFileBlobUrl?: string;
- /**
- * SAS key to access the blob. It expires in 15 mins.
- */
- excelFileBlobSasKey?: string;
-}
-
-/**
- * Azure VM (Mercury) workload-specific backup policy.
- */
-export interface GenericProtectionPolicy {
- /**
- * Polymorphic Discriminator
- */
- backupManagementType: "GenericProtectionPolicy";
- /**
- * Number of items associated with this policy.
- */
- protectedItemsCount?: number;
- /**
- * List of sub-protection policies which includes schedule and retention
- */
- subProtectionPolicy?: SubProtectionPolicy[];
- /**
- * TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- */
- timeZone?: string;
- /**
- * Name of this policy's fabric.
- */
- fabricName?: string;
-}
-
-/**
- * Base class for backup items.
- */
-export interface GenericProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "GenericProtectedItem";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Indicates consistency of policy object and policy applied to this backup item.
- */
- policyState?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'IRPending',
- * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- */
- protectionState?: ProtectionState;
- /**
- * Data Plane Service ID of the protected item.
- */
- protectedItemId?: number;
- /**
- * Loosely coupled (type, value) associations (example - parent of a protected item)
- */
- sourceAssociations?: { [propertyName: string]: string };
- /**
- * Name of this backup item's fabric.
- */
- fabricName?: string;
-}
-
-/**
- * Generic backup copy.
- */
-export interface GenericRecoveryPoint {
- /**
- * Polymorphic Discriminator
- */
- objectType: "GenericRecoveryPoint";
- /**
- * Friendly name of the backup copy.
- */
- friendlyName?: string;
- /**
- * Type of the backup copy.
- */
- recoveryPointType?: string;
- /**
- * Time at which this backup copy was created.
- */
- recoveryPointTime?: Date;
- /**
- * Additional information associated with this backup copy.
- */
- recoveryPointAdditionalInfo?: string;
-}
-
-/**
- * Filters to list backup items.
- */
-export interface GetProtectedItemQueryObject {
- /**
- * Specifies if the additional information should be provided for this item.
- */
- expand?: string;
-}
-
-/**
- * KEK is encryption key for BEK.
- */
-export interface KEKDetails {
- /**
- * Key is KEK.
- */
- keyUrl?: string;
- /**
- * Key Vault ID where this Key is stored.
- */
- keyVaultId?: string;
- /**
- * KEK data.
- */
- keyBackupData?: string;
-}
-
-/**
- * BEK is bitlocker key.
- * KEK is encryption key for BEK
- * If the VM was encrypted then we will store following details :
- * 1. Secret(BEK) - Url + Backup Data + vaultId.
- * 2. Key(KEK) - Url + Backup Data + vaultId.
- * 3. EncryptionMechanism
- * BEK and KEK can potentially have different vault ids.
- */
-export interface KeyAndSecretDetails {
- /**
- * KEK is encryption key for BEK.
- */
- kekDetails?: KEKDetails;
- /**
- * BEK is bitlocker encryption key.
- */
- bekDetails?: BEKDetails;
- /**
- * Encryption mechanism: None/ SinglePass/ DoublePass
- */
- encryptionMechanism?: string;
-}
-
-/**
- * Disk configuration
- */
-export interface RecoveryPointDiskConfiguration {
- /**
- * Number of disks included in backup
- */
- numberOfDisksIncludedInBackup?: number;
- /**
- * Number of disks attached to the VM
- */
- numberOfDisksAttachedToVm?: number;
- /**
- * Information of disks included in backup
- */
- includedDiskList?: DiskInformation[];
- /**
- * Information of disks excluded from backup
- */
- excludedDiskList?: DiskInformation[];
-}
-
-/**
- * IaaS VM workload specific backup copy.
- */
-export interface IaasVMRecoveryPoint {
- /**
- * Polymorphic Discriminator
- */
- objectType: "IaasVMRecoveryPoint";
- /**
- * Type of the backup copy.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recoveryPointType?: string;
- /**
- * Time at which this backup copy was created.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recoveryPointTime?: Date;
- /**
- * Additional information associated with this backup copy.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recoveryPointAdditionalInfo?: string;
- /**
- * Storage type of the VM whose backup copy is created.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly sourceVMStorageType?: string;
- /**
- * Identifies whether the VM was encrypted when the backup copy is created.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly isSourceVMEncrypted?: boolean;
- /**
- * Required details for recovering an encrypted VM. Applicable only when IsSourceVMEncrypted is
- * true.
- */
- keyAndSecret?: KeyAndSecretDetails;
- /**
- * Is the session to recover items from this backup copy still active.
- */
- isInstantIlrSessionActive?: boolean;
- /**
- * Recovery point tier information.
- */
- recoveryPointTierDetails?: RecoveryPointTierInformation[];
- /**
- * Whether VM is with Managed Disks
- */
- isManagedVirtualMachine?: boolean;
- /**
- * Virtual Machine Size
- */
- virtualMachineSize?: string;
- /**
- * Original Storage Account Option
- */
- originalStorageAccountOption?: boolean;
- /**
- * OS type
- */
- osType?: string;
- /**
- * Disk configuration
- */
- recoveryPointDiskConfiguration?: RecoveryPointDiskConfiguration;
- /**
- * Identifies the zone of the VM at the time of backup. Applicable only for zone-pinned Vms
- */
- zones?: string[];
- /**
- * Eligibility of RP to be moved to another tier
- */
- recoveryPointMoveReadinessInfo?: { [propertyName: string]: RecoveryPointMoveReadinessInfo };
-}
-
-/**
- * Contains the possible cases for IaasVMRestoreRequest.
- */
-export type IaasVMRestoreRequestUnion = IaasVMRestoreRequest | IaasVMRestoreWithRehydrationRequest;
-
-/**
- * IaaS VM workload-specific restore.
- */
-export interface IaasVMRestoreRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "IaasVMRestoreRequest";
- /**
- * ID of the backup copy to be recovered.
- */
- recoveryPointId?: string;
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM which is being recovered.
- */
- sourceResourceId?: string;
- /**
- * This is the complete ARM Id of the VM that will be created.
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
- /**
- * This is the ARM Id of the resource group that you want to create for this Virtual machine and
- * other artifacts.
- * For e.g. /subscriptions/{subId}/resourcegroups/{rg}
- */
- targetResourceGroupId?: string;
- /**
- * Fully qualified ARM ID of the storage account to which the VM has to be restored.
- */
- storageAccountId?: string;
- /**
- * This is the virtual network Id of the vnet that will be attached to the virtual machine.
- * User will be validated for join action permissions in the linked access.
- */
- virtualNetworkId?: string;
- /**
- * Subnet ID, is the subnet ID associated with the to be restored VM. For Classic VMs it would be
- * {VnetID}/Subnet/{SubnetName} and, for the Azure Resource Manager VMs it would be ARM resource
- * ID used to represent
- * the subnet.
- */
- subnetId?: string;
- /**
- * Fully qualified ARM ID of the domain name to be associated to the VM being restored. This
- * applies only to Classic
- * Virtual Machines.
- */
- targetDomainNameId?: string;
- /**
- * Region in which the virtual machine is restored.
- */
- region?: string;
- /**
- * Affinity group associated to VM to be restored. Used only for Classic Compute Virtual
- * Machines.
- */
- affinityGroup?: string;
- /**
- * Should a new cloud service be created while restoring the VM. If this is false, VM will be
- * restored to the same
- * cloud service as it was at the time of backup.
- */
- createNewCloudService?: boolean;
- /**
- * Original Storage Account Option
- */
- originalStorageAccountOption?: boolean;
- /**
- * Details needed if the VM was encrypted at the time of backup.
- */
- encryptionDetails?: EncryptionDetails;
- /**
- * List of Disk LUNs for partial restore
- */
- restoreDiskLunList?: number[];
- /**
- * Flag to denote of an Unmanaged disk VM should be restored with Managed disks.
- */
- restoreWithManagedDisks?: boolean;
- /**
- * DiskEncryptionSet's ID - needed if the VM needs to be encrypted at rest during restore with
- * customer managed key.
- */
- diskEncryptionSetId?: string;
- /**
- * Target zone where the VM and its disks should be restored.
- */
- zones?: string[];
-}
-
-/**
- * Filters to list the jobs.
- */
-export interface JobQueryObject {
- /**
- * Status of the job. Possible values include: 'Invalid', 'InProgress', 'Completed', 'Failed',
- * 'CompletedWithWarnings', 'Cancelled', 'Cancelling'
- */
- status?: JobStatus;
- /**
- * Type of backup management for the job. Possible values include: 'Invalid', 'AzureIaasVM',
- * 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of operation. Possible values include: 'Invalid', 'Register', 'UnRegister',
- * 'ConfigureBackup', 'Backup', 'Restore', 'DisableBackup', 'DeleteBackupData',
- * 'CrossRegionRestore', 'Undelete', 'UpdateCustomerManagedKey'
- */
- operation?: JobOperationType;
- /**
- * JobID represents the job uniquely.
- */
- jobId?: string;
- /**
- * Job has started at this time. Value is in UTC.
- */
- startTime?: Date;
- /**
- * Job has ended at this time. Value is in UTC.
- */
- endTime?: Date;
-}
-
-/**
- * Defines workload agnostic properties for a job.
- */
-export interface JobResource extends Resource {
- /**
- * JobResource properties
- */
- properties?: JobUnion;
-}
-
-/**
- * Log policy schedule.
- */
-export interface LogSchedulePolicy {
- /**
- * Polymorphic Discriminator
- */
- schedulePolicyType: "LogSchedulePolicy";
- /**
- * Frequency of the log schedule operation of this policy in minutes.
- */
- scheduleFrequencyInMins?: number;
-}
-
-/**
- * Weekly retention schedule.
- */
-export interface WeeklyRetentionSchedule {
- /**
- * List of days of week for weekly retention policy.
- */
- daysOfTheWeek?: DayOfWeek[];
- /**
- * Retention times of retention policy.
- */
- retentionTimes?: Date[] | string[];
- /**
- * Retention duration of retention Policy.
- */
- retentionDuration?: RetentionDuration;
-}
-
-/**
- * Weekly retention format.
- */
-export interface WeeklyRetentionFormat {
- /**
- * List of days of the week.
- */
- daysOfTheWeek?: DayOfWeek[];
- /**
- * List of weeks of month.
- */
- weeksOfTheMonth?: WeekOfMonth[];
-}
-
-/**
- * Monthly retention schedule.
- */
-export interface MonthlyRetentionSchedule {
- /**
- * Retention schedule format type for monthly retention policy. Possible values include:
- * 'Invalid', 'Daily', 'Weekly'
- */
- retentionScheduleFormatType?: RetentionScheduleFormat;
- /**
- * Daily retention format for monthly retention policy.
- */
- retentionScheduleDaily?: DailyRetentionFormat;
- /**
- * Weekly retention format for monthly retention policy.
- */
- retentionScheduleWeekly?: WeeklyRetentionFormat;
- /**
- * Retention times of retention policy.
- */
- retentionTimes?: Date[] | string[];
- /**
- * Retention duration of retention Policy.
- */
- retentionDuration?: RetentionDuration;
-}
-
-/**
- * Yearly retention schedule.
- */
-export interface YearlyRetentionSchedule {
- /**
- * Retention schedule format for yearly retention policy. Possible values include: 'Invalid',
- * 'Daily', 'Weekly'
- */
- retentionScheduleFormatType?: RetentionScheduleFormat;
- /**
- * List of months of year of yearly retention policy.
- */
- monthsOfYear?: MonthOfYear[];
- /**
- * Daily retention format for yearly retention policy.
- */
- retentionScheduleDaily?: DailyRetentionFormat;
- /**
- * Weekly retention format for yearly retention policy.
- */
- retentionScheduleWeekly?: WeeklyRetentionFormat;
- /**
- * Retention times of retention policy.
- */
- retentionTimes?: Date[] | string[];
- /**
- * Retention duration of retention Policy.
- */
- retentionDuration?: RetentionDuration;
-}
-
-/**
- * Long term retention policy.
- */
-export interface LongTermRetentionPolicy {
- /**
- * Polymorphic Discriminator
- */
- retentionPolicyType: "LongTermRetentionPolicy";
- /**
- * Daily retention schedule of the protection policy.
- */
- dailySchedule?: DailyRetentionSchedule;
- /**
- * Weekly retention schedule of the protection policy.
- */
- weeklySchedule?: WeeklyRetentionSchedule;
- /**
- * Monthly retention schedule of the protection policy.
- */
- monthlySchedule?: MonthlyRetentionSchedule;
- /**
- * Yearly retention schedule of the protection policy.
- */
- yearlySchedule?: YearlyRetentionSchedule;
-}
-
-/**
- * Long term policy schedule.
- */
-export interface LongTermSchedulePolicy {
- /**
- * Polymorphic Discriminator
- */
- schedulePolicyType: "LongTermSchedulePolicy";
-}
-
-/**
- * MAB workload-specific error information.
- */
-export interface MabErrorInfo {
- /**
- * Localized error string.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly errorString?: string;
- /**
- * List of localized recommendations.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly recommendations?: string[];
-}
-
-/**
- * Additional information on the backed up item.
- */
-export interface MabFileFolderProtectedItemExtendedInfo {
- /**
- * Last time when the agent data synced to service.
- */
- lastRefreshedAt?: Date;
- /**
- * The oldest backup copy available.
- */
- oldestRecoveryPoint?: Date;
- /**
- * Number of backup copies associated with the backup item.
- */
- recoveryPointCount?: number;
-}
-
-/**
- * MAB workload-specific backup item.
- */
-export interface MabFileFolderProtectedItem {
- /**
- * Polymorphic Discriminator
- */
- protectedItemType: "MabFileFolderProtectedItem";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: DataSourceType;
- /**
- * Unique name of container
- */
- containerName?: string;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Timestamp when the last (latest) backup copy was created for this backup item.
- */
- lastRecoveryPoint?: Date;
- /**
- * Name of the backup set the backup item belongs to
- */
- backupSetName?: string;
- /**
- * Create mode to indicate recovery of existing soft deleted data source or creation of new data
- * source. Possible values include: 'Invalid', 'Default', 'Recover'
- */
- createMode?: CreateMode;
- /**
- * Time for deferred deletion in UTC
- */
- deferredDeleteTimeInUTC?: Date;
- /**
- * Flag to identify whether the DS is scheduled for deferred delete
- */
- isScheduledForDeferredDelete?: boolean;
- /**
- * Time remaining before the DS marked for deferred delete is permanently deleted
- */
- deferredDeleteTimeRemaining?: string;
- /**
- * Flag to identify whether the deferred deleted DS is to be purged soon
- */
- isDeferredDeleteScheduleUpcoming?: boolean;
- /**
- * Flag to identify that deferred deleted DS is to be moved into Pause state
- */
- isRehydrate?: boolean;
- /**
- * Friendly name of this backup item.
- */
- friendlyName?: string;
- /**
- * Name of the computer associated with this backup item.
- */
- computerName?: string;
- /**
- * Status of last backup operation.
- */
- lastBackupStatus?: string;
- /**
- * Timestamp of the last backup operation on this backup item.
- */
- lastBackupTime?: Date;
- /**
- * Protected, ProtectionStopped, IRPending or ProtectionError
- */
- protectionState?: string;
- /**
- * Sync time for deferred deletion in UTC
- */
- deferredDeleteSyncTimeInUTC?: number;
- /**
- * Additional information with this backup item.
- */
- extendedInfo?: MabFileFolderProtectedItemExtendedInfo;
-}
-
-/**
- * MAB workload-specific job task details.
- */
-export interface MabJobTaskDetails {
- /**
- * The task display name.
- */
- taskId?: string;
- /**
- * The start time.
- */
- startTime?: Date;
- /**
- * The end time.
- */
- endTime?: Date;
- /**
- * Time elapsed for task.
- */
- duration?: string;
- /**
- * The status.
- */
- status?: string;
-}
-
-/**
- * Additional information for the MAB workload-specific job.
- */
-export interface MabJobExtendedInfo {
- /**
- * List of tasks for this job.
- */
- tasksList?: MabJobTaskDetails[];
- /**
- * The job properties.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Non localized error message specific to this job.
- */
- dynamicErrorMessage?: string;
-}
-
-/**
- * MAB workload-specific job.
- */
-export interface MabJob {
- /**
- * Polymorphic Discriminator
- */
- jobType: "MabJob";
- /**
- * Friendly name of the entity on which the current job is executing.
- */
- entityFriendlyName?: string;
- /**
- * Backup management type to execute the current job. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * The operation name.
- */
- operation?: string;
- /**
- * Job status.
- */
- status?: string;
- /**
- * The start time.
- */
- startTime?: Date;
- /**
- * The end time.
- */
- endTime?: Date;
- /**
- * ActivityId of job.
- */
- activityId?: string;
- /**
- * Time taken by job to run.
- */
- duration?: string;
- /**
- * The state/actions applicable on jobs like cancel/retry.
- */
- actionsInfo?: JobSupportedAction[];
- /**
- * Name of server protecting the DS.
- */
- mabServerName?: string;
- /**
- * Server type of MAB container. Possible values include: 'Invalid', 'Unknown',
- * 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', 'AzureBackupServerContainer',
- * 'MABContainer', 'Cluster', 'AzureSqlContainer', 'Windows', 'VCenter', 'VMAppContainer',
- * 'SQLAGWorkLoadContainer', 'StorageContainer', 'GenericContainer'
- */
- mabServerType?: MabServerType;
- /**
- * Workload type of backup item. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: WorkloadType;
- /**
- * The errors.
- */
- errorDetails?: MabErrorInfo[];
- /**
- * Additional information on the job.
- */
- extendedInfo?: MabJobExtendedInfo;
-}
-
-/**
- * Mab container-specific backup policy.
- */
-export interface MabProtectionPolicy {
- /**
- * Polymorphic Discriminator
- */
- backupManagementType: "MAB";
- /**
- * Number of items associated with this policy.
- */
- protectedItemsCount?: number;
- /**
- * Backup schedule of backup policy.
- */
- schedulePolicy?: SchedulePolicyUnion;
- /**
- * Retention policy details.
- */
- retentionPolicy?: RetentionPolicyUnion;
-}
-
-/**
- * Operation result info.
- */
-export interface OperationResultInfo {
- /**
- * Polymorphic Discriminator
- */
- objectType: "OperationResultInfo";
- /**
- * List of jobs created by this operation.
- */
- jobList?: string[];
-}
-
-/**
- * Prepare DataMove Request
- */
-export interface PrepareDataMoveRequest {
- /**
- * ARM Id of target vault
- */
- targetResourceId: string;
- /**
- * Target Region
- */
- targetRegion: string;
- /**
- * DataMove Level. Possible values include: 'Invalid', 'Vault', 'Container'
- */
- dataMoveLevel: DataMoveLevel;
- /**
- * Source Container ArmIds
- * This needs to be populated only if DataMoveLevel is set to container
- */
- sourceContainerArmIds?: string[];
- /**
- * Ignore the artifacts which are already moved.
- */
- ignoreMoved?: boolean;
-}
-
-/**
- * Contains the possible cases for VaultStorageConfigOperationResultResponse.
- */
-export type VaultStorageConfigOperationResultResponseUnion =
- | VaultStorageConfigOperationResultResponse
- | PrepareDataMoveResponse;
-
-/**
- * Operation result response for Vault Storage Config
- */
-export interface VaultStorageConfigOperationResultResponse {
- /**
- * Polymorphic Discriminator
- */
- objectType: "VaultStorageConfigOperationResultResponse";
-}
-
-/**
- * Prepare DataMove Response
- */
-export interface PrepareDataMoveResponse {
- /**
- * Polymorphic Discriminator
- */
- objectType: "PrepareDataMoveResponse";
- /**
- * Co-relationId for move operation
- */
- correlationId?: string;
- /**
- * Source Vault Properties
- */
- sourceVaultProperties?: { [propertyName: string]: string };
-}
-
-/**
- * Trigger DataMove Request
- */
-export interface TriggerDataMoveRequest {
- /**
- * ARM Id of source vault
- */
- sourceResourceId: string;
- /**
- * Source Region
- */
- sourceRegion: string;
- /**
- * DataMove Level. Possible values include: 'Invalid', 'Vault', 'Container'
- */
- dataMoveLevel: DataMoveLevel;
- /**
- * Correlation Id
- */
- correlationId: string;
- /**
- * Source Container ArmIds
- */
- sourceContainerArmIds?: string[];
- /**
- * Pause GC
- */
- pauseGC?: boolean;
-}
-
-/**
- * This is the base class for operation result responses.
- */
-export interface OperationWorkerResponse {
- /**
- * HTTP Status Code of the operation. Possible values include: 'Continue', 'SwitchingProtocols',
- * 'OK', 'Created', 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent',
- * 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', 'Moved', 'Found',
- * 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused',
- * 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', 'Unauthorized', 'PaymentRequired',
- * 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired',
- * 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed',
- * 'RequestEntityTooLarge', 'RequestUriTooLong', 'UnsupportedMediaType',
- * 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError',
- * 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout',
- * 'HttpVersionNotSupported'
- */
- statusCode?: HttpStatusCode;
- /**
- * HTTP headers associated with this operation.
- */
- headers?: { [propertyName: string]: string[] };
-}
-
-/**
- * Base class for operation result info.
- */
-export interface OperationResultInfoBaseResource extends OperationWorkerResponse {
- /**
- * OperationResultInfoBaseResource operation
- */
- operation?: OperationResultInfoBaseUnion;
-}
-
-/**
- * Filters to list backup items.
- */
-export interface ProtectedItemQueryObject {
- /**
- * Health State for the backed up item. Possible values include: 'Passed', 'ActionRequired',
- * 'ActionSuggested', 'Invalid'
- */
- healthState?: HealthState;
- /**
- * Backup management type for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- itemType?: DataSourceType;
- /**
- * Backup policy name associated with the backup item.
- */
- policyName?: string;
- /**
- * Name of the container.
- */
- containerName?: string;
- /**
- * Backup Engine name
- */
- backupEngineName?: string;
- /**
- * Friendly name of protected item
- */
- friendlyName?: string;
- /**
- * Name of the fabric.
- */
- fabricName?: string;
- /**
- * Name of the backup set.
- */
- backupSetName?: string;
-}
-
-/**
- * Base class for backup items.
- */
-export interface ProtectedItemResource extends Resource {
- /**
- * ProtectedItemResource properties
- */
- properties?: ProtectedItemUnion;
-}
-
-/**
- * Filters the list backup policies API.
- */
-export interface ProtectionPolicyQueryObject {
- /**
- * Backup management type for the backup policy. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Fabric name for filter
- */
- fabricName?: string;
- /**
- * Workload type for the backup policy. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: WorkloadType;
-}
-
-/**
- * Base class for backup policy. Workload-specific backup policies are derived from this class.
- */
-export interface ProtectionPolicyResource extends Resource {
- /**
- * ProtectionPolicyResource properties
- */
- properties?: ProtectionPolicyUnion;
-}
-
-/**
- * Base class for backup copies. Workload-specific backup copies are derived from this class.
- */
-export interface RecoveryPointResource extends Resource {
- /**
- * RecoveryPointResource properties
- */
- properties?: RecoveryPointUnion;
-}
-
-/**
- * Base for all lists of resources.
- */
-export interface ResourceList {
- /**
- * The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
- */
- nextLink?: string;
-}
-
-/**
- * Base class for restore request. Workload-specific restore requests are derived from this class.
- */
-export interface RestoreRequestResource extends Resource {
- /**
- * RestoreRequestResource properties
- */
- properties?: RestoreRequestUnion;
-}
-
-/**
- * Simple policy retention.
- */
-export interface SimpleRetentionPolicy {
- /**
- * Polymorphic Discriminator
- */
- retentionPolicyType: "SimpleRetentionPolicy";
- /**
- * Retention duration of the protection policy.
- */
- retentionDuration?: RetentionDuration;
-}
-
-/**
- * Simple policy schedule.
- */
-export interface SimpleSchedulePolicy {
- /**
- * Polymorphic Discriminator
- */
- schedulePolicyType: "SimpleSchedulePolicy";
- /**
- * Frequency of the schedule operation of this policy. Possible values include: 'Invalid',
- * 'Daily', 'Weekly'
- */
- scheduleRunFrequency?: ScheduleRunType;
- /**
- * List of days of week this schedule has to be run.
- */
- scheduleRunDays?: DayOfWeek[];
- /**
- * List of times of day this schedule has to be run.
- */
- scheduleRunTimes?: Date[] | string[];
- /**
- * At every number weeks this schedule has to be run.
- */
- scheduleWeeklyFrequency?: number;
-}
-
-/**
- * Contains the possible cases for ValidateOperationRequest.
- */
-export type ValidateOperationRequestUnion =
- | ValidateOperationRequest
- | ValidateRestoreOperationRequestUnion;
-
-/**
- * Base class for validate operation request.
- */
-export interface ValidateOperationRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "ValidateOperationRequest";
-}
-
-/**
- * Contains the possible cases for ValidateRestoreOperationRequest.
- */
-export type ValidateRestoreOperationRequestUnion =
- | ValidateRestoreOperationRequest
- | ValidateIaasVMRestoreOperationRequest;
-
-/**
- * AzureRestoreValidation request.
- */
-export interface ValidateRestoreOperationRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "ValidateRestoreOperationRequest";
- /**
- * Sets restore request to be validated
- */
- restoreRequest?: RestoreRequestUnion;
-}
-
-/**
- * AzureRestoreValidation request.
- */
-export interface ValidateIaasVMRestoreOperationRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "ValidateIaasVMRestoreOperationRequest";
- /**
- * Sets restore request to be validated
- */
- restoreRequest?: RestoreRequestUnion;
-}
-
-/**
- * Base class for validate operation response.
- */
-export interface ValidateOperationResponse {
- /**
- * Gets the validation result
- */
- validationResults?: ErrorDetail[];
-}
-
-/**
- * An interface representing ValidateOperationsResponse.
- */
-export interface ValidateOperationsResponse {
- validateOperationResponse?: ValidateOperationResponse;
-}
-
-/**
- * Backup resource vault config details.
- */
-export interface BackupResourceVaultConfig {
- /**
- * Storage type. Possible values include: 'Invalid', 'GeoRedundant', 'LocallyRedundant',
- * 'ZoneRedundant', 'ReadAccessGeoZoneRedundant'
- */
- storageModelType?: StorageType;
- /**
- * Storage type. Possible values include: 'Invalid', 'GeoRedundant', 'LocallyRedundant',
- * 'ZoneRedundant', 'ReadAccessGeoZoneRedundant'
- */
- storageType?: StorageType;
- /**
- * Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is
- * always Locked. Possible values include: 'Invalid', 'Locked', 'Unlocked'
- */
- storageTypeState?: StorageTypeState;
- /**
- * Enabled or Disabled. Possible values include: 'Invalid', 'Enabled', 'Disabled'
- */
- enhancedSecurityState?: EnhancedSecurityState;
- /**
- * Soft Delete feature state. Possible values include: 'Invalid', 'Enabled', 'Disabled'
- */
- softDeleteFeatureState?: SoftDeleteFeatureState;
-}
-
-/**
- * Backup resource vault config details.
- */
-export interface BackupResourceVaultConfigResource extends Resource {
- /**
- * BackupResourceVaultConfigResource properties
- */
- properties?: BackupResourceVaultConfig;
-}
-
-/**
- * Vault Job specific error information
- */
-export interface VaultJobErrorInfo {
- /**
- * Error code.
- */
- errorCode?: number;
- /**
- * Localized error string.
- */
- errorString?: string;
- /**
- * List of localized recommendations for above error code.
- */
- recommendations?: string[];
-}
-
-/**
- * Vault Job for CMK - has CMK specific info.
- */
-export interface VaultJobExtendedInfo {
- /**
- * Job properties.
- */
- propertyBag?: { [propertyName: string]: string };
-}
-
-/**
- * Vault level Job
- */
-export interface VaultJob {
- /**
- * Polymorphic Discriminator
- */
- jobType: "VaultJob";
- /**
- * Friendly name of the entity on which the current job is executing.
- */
- entityFriendlyName?: string;
- /**
- * Backup management type to execute the current job. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * The operation name.
- */
- operation?: string;
- /**
- * Job status.
- */
- status?: string;
- /**
- * The start time.
- */
- startTime?: Date;
- /**
- * The end time.
- */
- endTime?: Date;
- /**
- * ActivityId of job.
- */
- activityId?: string;
- /**
- * Time elapsed during the execution of this job.
- */
- duration?: string;
- /**
- * Gets or sets the state/actions applicable on this job like cancel/retry.
- */
- actionsInfo?: JobSupportedAction[];
- /**
- * Error details on execution of this job.
- */
- errorDetails?: VaultJobErrorInfo[];
- /**
- * Additional information about the job.
- */
- extendedInfo?: VaultJobExtendedInfo;
-}
-
-/**
- * Contains the possible cases for ProtectionContainer.
- */
-export type ProtectionContainerUnion =
- | ProtectionContainer
- | AzureSqlContainer
- | AzureStorageContainer
- | AzureWorkloadContainerUnion
- | DpmContainerUnion
- | GenericContainer
- | IaaSVMContainerUnion
- | MabContainer;
-
-/**
- * Base class for container with backup items. Containers with specific workloads are derived from
- * this class.
- */
-export interface ProtectionContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "ProtectionContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
-}
-
-/**
- * Contains the possible cases for DpmContainer.
- */
-export type DpmContainerUnion = DpmContainer | AzureBackupServerContainer;
-
-/**
- * DPM workload-specific protection container.
- */
-export interface DpmContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "DPMContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Specifies whether the container is re-registrable.
- */
- canReRegister?: boolean;
- /**
- * ID of container.
- */
- containerId?: string;
- /**
- * Number of protected items in the BackupEngine
- */
- protectedItemCount?: number;
- /**
- * Backup engine Agent version
- */
- dpmAgentVersion?: string;
- /**
- * List of BackupEngines protecting the container
- */
- dpmServers?: string[];
- /**
- * To check if upgrade available
- */
- upgradeAvailable?: boolean;
- /**
- * Protection status of the container.
- */
- protectionStatus?: string;
- /**
- * Extended Info of the container.
- */
- extendedInfo?: DPMContainerExtendedInfo;
-}
-
-/**
- * AzureBackupServer (DPMVenus) workload-specific protection container.
- */
-export interface AzureBackupServerContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "AzureBackupServerContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Specifies whether the container is re-registrable.
- */
- canReRegister?: boolean;
- /**
- * ID of container.
- */
- containerId?: string;
- /**
- * Number of protected items in the BackupEngine
- */
- protectedItemCount?: number;
- /**
- * Backup engine Agent version
- */
- dpmAgentVersion?: string;
- /**
- * List of BackupEngines protecting the container
- */
- dpmServers?: string[];
- /**
- * To check if upgrade available
- */
- upgradeAvailable?: boolean;
- /**
- * Protection status of the container.
- */
- protectionStatus?: string;
- /**
- * Extended Info of the container.
- */
- extendedInfo?: DPMContainerExtendedInfo;
-}
-
-/**
- * Contains the possible cases for BackupEngineBase.
- */
-export type BackupEngineBaseUnion = BackupEngineBase | AzureBackupServerEngine | DpmBackupEngine;
-
-/**
- * The base backup engine class. All workload specific backup engines derive from this class.
- */
-export interface BackupEngineBase {
- /**
- * Polymorphic Discriminator
- */
- backupEngineType: "BackupEngineBase";
- /**
- * Friendly name of the backup engine.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the backup engine. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Registration status of the backup engine with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of the backup engine with the Recovery Services Vault. = {Active/Deleting/DeleteFailed}
- */
- backupEngineState?: string;
- /**
- * Backup status of the backup engine.
- */
- healthStatus?: string;
- /**
- * Flag indicating if the backup engine be registered, once already registered.
- */
- canReRegister?: boolean;
- /**
- * ID of the backup engine.
- */
- backupEngineId?: string;
- /**
- * Backup engine version
- */
- dpmVersion?: string;
- /**
- * Backup agent version
- */
- azureBackupAgentVersion?: string;
- /**
- * To check if backup agent upgrade available
- */
- isAzureBackupAgentUpgradeAvailable?: boolean;
- /**
- * To check if backup engine upgrade available
- */
- isDpmUpgradeAvailable?: boolean;
- /**
- * Extended info of the backupengine
- */
- extendedInfo?: BackupEngineExtendedInfo;
-}
-
-/**
- * Backup engine type when Azure Backup Server is used to manage the backups.
- */
-export interface AzureBackupServerEngine {
- /**
- * Polymorphic Discriminator
- */
- backupEngineType: "AzureBackupServerEngine";
- /**
- * Friendly name of the backup engine.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the backup engine. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Registration status of the backup engine with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of the backup engine with the Recovery Services Vault. = {Active/Deleting/DeleteFailed}
- */
- backupEngineState?: string;
- /**
- * Backup status of the backup engine.
- */
- healthStatus?: string;
- /**
- * Flag indicating if the backup engine be registered, once already registered.
- */
- canReRegister?: boolean;
- /**
- * ID of the backup engine.
- */
- backupEngineId?: string;
- /**
- * Backup engine version
- */
- dpmVersion?: string;
- /**
- * Backup agent version
- */
- azureBackupAgentVersion?: string;
- /**
- * To check if backup agent upgrade available
- */
- isAzureBackupAgentUpgradeAvailable?: boolean;
- /**
- * To check if backup engine upgrade available
- */
- isDpmUpgradeAvailable?: boolean;
- /**
- * Extended info of the backupengine
- */
- extendedInfo?: BackupEngineExtendedInfo;
-}
-
-/**
- * Contains the possible cases for BackupRequest.
- */
-export type BackupRequestUnion =
- | BackupRequest
- | AzureFileShareBackupRequest
- | AzureWorkloadBackupRequest
- | IaasVMBackupRequest;
-
-/**
- * Base class for backup request. Workload-specific backup requests are derived from this class.
- */
-export interface BackupRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "BackupRequest";
-}
-
-/**
- * AzureFileShare workload-specific backup request.
- */
-export interface AzureFileShareBackupRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureFileShareBackupRequest";
- /**
- * Backup copy will expire after the time specified (UTC).
- */
- recoveryPointExpiryTimeInUTC?: Date;
-}
-
-/**
- * Contains the possible cases for WorkloadProtectableItem.
- */
-export type WorkloadProtectableItemUnion =
- | WorkloadProtectableItem
- | AzureFileShareProtectableItem
- | AzureVmWorkloadProtectableItemUnion
- | IaaSVMProtectableItemUnion;
-
-/**
- * Base class for backup item. Workload-specific backup items are derived from this class.
- */
-export interface WorkloadProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "WorkloadProtectableItem";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
-}
-
-/**
- * Protectable item for Azure Fileshare workloads.
- */
-export interface AzureFileShareProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "AzureFileShare";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Full Fabric ID of container to which this protectable item belongs. For example, ARM ID.
- */
- parentContainerFabricId?: string;
- /**
- * Friendly name of container to which this protectable item belongs.
- */
- parentContainerFriendlyName?: string;
- /**
- * File Share type XSync or XSMB. Possible values include: 'Invalid', 'XSMB', 'XSync'
- */
- azureFileShareType?: AzureFileShareType;
-}
-
-/**
- * Contains the possible cases for ILRRequest.
- */
-export type ILRRequestUnion =
- | ILRRequest
- | AzureFileShareProvisionILRRequest
- | IaasVMILRRegistrationRequest;
-
-/**
- * Parameters to Provision ILR API.
- */
-export interface ILRRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "ILRRequest";
-}
-
-/**
- * Update snapshot Uri with the correct friendly Name of the source Azure file share.
- */
-export interface AzureFileShareProvisionILRRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureFileShareProvisionILRRequest";
- /**
- * Recovery point ID.
- */
- recoveryPointId?: string;
- /**
- * Source Storage account ARM Id
- */
- sourceResourceId?: string;
-}
-
-/**
- * Contains the possible cases for IaaSVMContainer.
- */
-export type IaaSVMContainerUnion =
- | IaaSVMContainer
- | AzureIaaSClassicComputeVMContainer
- | AzureIaaSComputeVMContainer;
-
-/**
- * IaaS VM workload-specific container.
- */
-export interface IaaSVMContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "IaaSVMContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.
- */
- virtualMachineId?: string;
- /**
- * Specifies whether the container represents a Classic or an Azure Resource Manager VM.
- */
- virtualMachineVersion?: string;
- /**
- * Resource group name of Recovery Services Vault.
- */
- resourceGroup?: string;
-}
-
-/**
- * IaaS VM workload-specific backup item representing a classic virtual machine.
- */
-export interface AzureIaaSClassicComputeVMContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "Microsoft.ClassicCompute/virtualMachines";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.
- */
- virtualMachineId?: string;
- /**
- * Specifies whether the container represents a Classic or an Azure Resource Manager VM.
- */
- virtualMachineVersion?: string;
- /**
- * Resource group name of Recovery Services Vault.
- */
- resourceGroup?: string;
-}
-
-/**
- * Contains the possible cases for IaaSVMProtectableItem.
- */
-export type IaaSVMProtectableItemUnion =
- | IaaSVMProtectableItem
- | AzureIaaSClassicComputeVMProtectableItem
- | AzureIaaSComputeVMProtectableItem;
-
-/**
- * IaaS VM workload-specific backup item.
- */
-export interface IaaSVMProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "IaaSVMProtectableItem";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Fully qualified ARM ID of the virtual machine.
- */
- virtualMachineId?: string;
-}
-
-/**
- * IaaS VM workload-specific backup item representing the Classic Compute VM.
- */
-export interface AzureIaaSClassicComputeVMProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "Microsoft.ClassicCompute/virtualMachines";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Fully qualified ARM ID of the virtual machine.
- */
- virtualMachineId?: string;
-}
-
-/**
- * IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.
- */
-export interface AzureIaaSComputeVMContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "Microsoft.Compute/virtualMachines";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.
- */
- virtualMachineId?: string;
- /**
- * Specifies whether the container represents a Classic or an Azure Resource Manager VM.
- */
- virtualMachineVersion?: string;
- /**
- * Resource group name of Recovery Services Vault.
- */
- resourceGroup?: string;
-}
-
-/**
- * IaaS VM workload-specific backup item representing the Azure Resource Manager VM.
- */
-export interface AzureIaaSComputeVMProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "Microsoft.Compute/virtualMachines";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Fully qualified ARM ID of the virtual machine.
- */
- virtualMachineId?: string;
-}
-
-/**
- * Contains the possible cases for AzureWorkloadContainer.
- */
-export type AzureWorkloadContainerUnion =
- | AzureWorkloadContainer
- | AzureSQLAGWorkloadContainerProtectionContainer
- | AzureVMAppContainerProtectionContainer;
-
-/**
- * Container for the workloads running inside Azure Compute or Classic Compute.
- */
-export interface AzureWorkloadContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "AzureWorkloadContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * ARM ID of the virtual machine represented by this Azure Workload Container
- */
- sourceResourceId?: string;
- /**
- * Time stamp when this container was updated.
- */
- lastUpdatedTime?: Date;
- /**
- * Additional details of a workload container.
- */
- extendedInfo?: AzureWorkloadContainerExtendedInfo;
- /**
- * Workload type for which registration was sent. Possible values include: 'Invalid', 'VM',
- * 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState',
- * 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
- * 'SAPAseDatabase'
- */
- workloadType?: WorkloadType;
- /**
- * Re-Do Operation. Possible values include: 'Invalid', 'Register', 'Reregister'
- */
- operationType?: OperationType;
-}
-
-/**
- * Container for SQL workloads under SQL Availability Group.
- */
-export interface AzureSQLAGWorkloadContainerProtectionContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "SQLAGWorkLoadContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * ARM ID of the virtual machine represented by this Azure Workload Container
- */
- sourceResourceId?: string;
- /**
- * Time stamp when this container was updated.
- */
- lastUpdatedTime?: Date;
- /**
- * Additional details of a workload container.
- */
- extendedInfo?: AzureWorkloadContainerExtendedInfo;
- /**
- * Workload type for which registration was sent. Possible values include: 'Invalid', 'VM',
- * 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState',
- * 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
- * 'SAPAseDatabase'
- */
- workloadType?: WorkloadType;
- /**
- * Re-Do Operation. Possible values include: 'Invalid', 'Register', 'Reregister'
- */
- operationType?: OperationType;
-}
-
-/**
- * Azure Sql workload-specific container.
- */
-export interface AzureSqlContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "AzureSqlContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
-}
-
-/**
- * Azure Storage Account workload-specific container.
- */
-export interface AzureStorageContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "StorageContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Fully qualified ARM url.
- */
- sourceResourceId?: string;
- /**
- * Storage account version.
- */
- storageAccountVersion?: string;
- /**
- * Resource group name of Recovery Services Vault.
- */
- resourceGroup?: string;
- /**
- * Number of items backed up in this container.
- */
- protectedItemCount?: number;
-}
-
-/**
- * Contains the possible cases for ProtectableContainer.
- */
-export type ProtectableContainerUnion =
- | ProtectableContainer
- | AzureStorageProtectableContainer
- | AzureVMAppContainerProtectableContainer;
-
-/**
- * Protectable Container Class.
- */
-export interface ProtectableContainer {
- /**
- * Polymorphic Discriminator
- */
- protectableContainerType: "ProtectableContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Fabric Id of the container such as ARM Id.
- */
- containerId?: string;
-}
-
-/**
- * Azure Storage-specific protectable containers
- */
-export interface AzureStorageProtectableContainer {
- /**
- * Polymorphic Discriminator
- */
- protectableContainerType: "StorageContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Fabric Id of the container such as ARM Id.
- */
- containerId?: string;
-}
-
-/**
- * Azure workload-specific container
- */
-export interface AzureVMAppContainerProtectableContainer {
- /**
- * Polymorphic Discriminator
- */
- protectableContainerType: "VMAppContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Fabric Id of the container such as ARM Id.
- */
- containerId?: string;
-}
-
-/**
- * Container for SQL workloads under Azure Virtual Machines.
- */
-export interface AzureVMAppContainerProtectionContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "VMAppContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * ARM ID of the virtual machine represented by this Azure Workload Container
- */
- sourceResourceId?: string;
- /**
- * Time stamp when this container was updated.
- */
- lastUpdatedTime?: Date;
- /**
- * Additional details of a workload container.
- */
- extendedInfo?: AzureWorkloadContainerExtendedInfo;
- /**
- * Workload type for which registration was sent. Possible values include: 'Invalid', 'VM',
- * 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState',
- * 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
- * 'SAPAseDatabase'
- */
- workloadType?: WorkloadType;
- /**
- * Re-Do Operation. Possible values include: 'Invalid', 'Register', 'Reregister'
- */
- operationType?: OperationType;
-}
-
-/**
- * Contains the possible cases for WorkloadItem.
- */
-export type WorkloadItemUnion = WorkloadItem | AzureVmWorkloadItemUnion;
-
-/**
- * Base class for backup item. Workload-specific backup items are derived from this class.
- */
-export interface WorkloadItem {
- /**
- * Polymorphic Discriminator
- */
- workloadItemType: "WorkloadItem";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
-}
-
-/**
- * Contains the possible cases for AzureVmWorkloadItem.
- */
-export type AzureVmWorkloadItemUnion =
- | AzureVmWorkloadItem
- | AzureVmWorkloadSAPAseDatabaseWorkloadItem
- | AzureVmWorkloadSAPAseSystemWorkloadItem
- | AzureVmWorkloadSAPHanaDatabaseWorkloadItem
- | AzureVmWorkloadSAPHanaSystemWorkloadItem
- | AzureVmWorkloadSQLDatabaseWorkloadItem
- | AzureVmWorkloadSQLInstanceWorkloadItem;
-
-/**
- * Azure VM workload-specific workload item.
- */
-export interface AzureVmWorkloadItem {
- /**
- * Polymorphic Discriminator
- */
- workloadItemType: "AzureVmWorkloadItem";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if workload item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subWorkloadItemCount?: number;
-}
-
-/**
- * Pre-backup validation for Azure VM Workload provider.
- */
-export interface PreBackupValidation {
- /**
- * Status of protectable item, i.e. InProgress,Succeeded,Failed. Possible values include:
- * 'Invalid', 'Success', 'Failed'
- */
- status?: InquiryStatus;
- /**
- * Error code of protectable item
- */
- code?: string;
- /**
- * Message corresponding to the error code for the protectable item
- */
- message?: string;
-}
-
-/**
- * Contains the possible cases for AzureVmWorkloadProtectableItem.
- */
-export type AzureVmWorkloadProtectableItemUnion =
- | AzureVmWorkloadProtectableItem
- | AzureVmWorkloadSAPAseSystemProtectableItem
- | AzureVmWorkloadSAPHanaDatabaseProtectableItem
- | AzureVmWorkloadSAPHanaSystemProtectableItem
- | AzureVmWorkloadSQLAvailabilityGroupProtectableItem
- | AzureVmWorkloadSQLDatabaseProtectableItem
- | AzureVmWorkloadSQLInstanceProtectableItem;
-
-/**
- * Azure VM workload-specific protectable item.
- */
-export interface AzureVmWorkloadProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "AzureVmWorkloadProtectableItem";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Parent Unique Name is added to provide the service formatted URI Name of the Parent
- * Only Applicable for data bases where the parent would be either Instance or a SQL AG.
- */
- parentUniqueName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if protectable item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * Indicates if protectable item is auto-protected
- */
- isAutoProtected?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subprotectableitemcount?: number;
- /**
- * Pre-backup validation for protectable objects
- */
- prebackupvalidation?: PreBackupValidation;
-}
-
-/**
- * Azure VM workload-specific workload item representing SAP ASE Database.
- */
-export interface AzureVmWorkloadSAPAseDatabaseWorkloadItem {
- /**
- * Polymorphic Discriminator
- */
- workloadItemType: "SAPAseDatabase";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if workload item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subWorkloadItemCount?: number;
-}
-
-/**
- * Azure VM workload-specific protectable item representing SAP ASE System.
- */
-export interface AzureVmWorkloadSAPAseSystemProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "SAPAseSystem";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Parent Unique Name is added to provide the service formatted URI Name of the Parent
- * Only Applicable for data bases where the parent would be either Instance or a SQL AG.
- */
- parentUniqueName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if protectable item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * Indicates if protectable item is auto-protected
- */
- isAutoProtected?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subprotectableitemcount?: number;
- /**
- * Pre-backup validation for protectable objects
- */
- prebackupvalidation?: PreBackupValidation;
-}
-
-/**
- * Azure VM workload-specific workload item representing SAP ASE System.
- */
-export interface AzureVmWorkloadSAPAseSystemWorkloadItem {
- /**
- * Polymorphic Discriminator
- */
- workloadItemType: "SAPAseSystem";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if workload item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subWorkloadItemCount?: number;
-}
-
-/**
- * Azure VM workload-specific protectable item representing SAP HANA Database.
- */
-export interface AzureVmWorkloadSAPHanaDatabaseProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "SAPHanaDatabase";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Parent Unique Name is added to provide the service formatted URI Name of the Parent
- * Only Applicable for data bases where the parent would be either Instance or a SQL AG.
- */
- parentUniqueName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if protectable item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * Indicates if protectable item is auto-protected
- */
- isAutoProtected?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subprotectableitemcount?: number;
- /**
- * Pre-backup validation for protectable objects
- */
- prebackupvalidation?: PreBackupValidation;
-}
-
-/**
- * Azure VM workload-specific workload item representing SAP HANA Database.
- */
-export interface AzureVmWorkloadSAPHanaDatabaseWorkloadItem {
- /**
- * Polymorphic Discriminator
- */
- workloadItemType: "SAPHanaDatabase";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if workload item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subWorkloadItemCount?: number;
-}
-
-/**
- * Azure VM workload-specific protectable item representing SAP HANA System.
- */
-export interface AzureVmWorkloadSAPHanaSystemProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "SAPHanaSystem";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Parent Unique Name is added to provide the service formatted URI Name of the Parent
- * Only Applicable for data bases where the parent would be either Instance or a SQL AG.
- */
- parentUniqueName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if protectable item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * Indicates if protectable item is auto-protected
- */
- isAutoProtected?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subprotectableitemcount?: number;
- /**
- * Pre-backup validation for protectable objects
- */
- prebackupvalidation?: PreBackupValidation;
-}
-
-/**
- * Azure VM workload-specific workload item representing SAP HANA System.
- */
-export interface AzureVmWorkloadSAPHanaSystemWorkloadItem {
- /**
- * Polymorphic Discriminator
- */
- workloadItemType: "SAPHanaSystem";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if workload item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subWorkloadItemCount?: number;
-}
-
-/**
- * Azure VM workload-specific protectable item representing SQL Availability Group.
- */
-export interface AzureVmWorkloadSQLAvailabilityGroupProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "SQLAvailabilityGroupContainer";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Parent Unique Name is added to provide the service formatted URI Name of the Parent
- * Only Applicable for data bases where the parent would be either Instance or a SQL AG.
- */
- parentUniqueName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if protectable item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * Indicates if protectable item is auto-protected
- */
- isAutoProtected?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subprotectableitemcount?: number;
- /**
- * Pre-backup validation for protectable objects
- */
- prebackupvalidation?: PreBackupValidation;
-}
-
-/**
- * Azure VM workload-specific protectable item representing SQL Database.
- */
-export interface AzureVmWorkloadSQLDatabaseProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "SQLDataBase";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Parent Unique Name is added to provide the service formatted URI Name of the Parent
- * Only Applicable for data bases where the parent would be either Instance or a SQL AG.
- */
- parentUniqueName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if protectable item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * Indicates if protectable item is auto-protected
- */
- isAutoProtected?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subprotectableitemcount?: number;
- /**
- * Pre-backup validation for protectable objects
- */
- prebackupvalidation?: PreBackupValidation;
-}
-
-/**
- * Azure VM workload-specific workload item representing SQL Database.
- */
-export interface AzureVmWorkloadSQLDatabaseWorkloadItem {
- /**
- * Polymorphic Discriminator
- */
- workloadItemType: "SQLDataBase";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if workload item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subWorkloadItemCount?: number;
-}
-
-/**
- * Azure VM workload-specific protectable item representing SQL Instance.
- */
-export interface AzureVmWorkloadSQLInstanceProtectableItem {
- /**
- * Polymorphic Discriminator
- */
- protectableItemType: "SQLInstance";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Parent Unique Name is added to provide the service formatted URI Name of the Parent
- * Only Applicable for data bases where the parent would be either Instance or a SQL AG.
- */
- parentUniqueName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if protectable item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * Indicates if protectable item is auto-protected
- */
- isAutoProtected?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subprotectableitemcount?: number;
- /**
- * Pre-backup validation for protectable objects
- */
- prebackupvalidation?: PreBackupValidation;
-}
-
-/**
- * Azure VM workload-specific workload item representing SQL Instance.
- */
-export interface AzureVmWorkloadSQLInstanceWorkloadItem {
- /**
- * Polymorphic Discriminator
- */
- workloadItemType: "SQLInstance";
- /**
- * Type of backup management to backup an item.
- */
- backupManagementType?: string;
- /**
- * Type of workload for the backup management
- */
- workloadType?: string;
- /**
- * Friendly name of the backup item.
- */
- friendlyName?: string;
- /**
- * State of the back up item. Possible values include: 'Invalid', 'NotProtected', 'Protecting',
- * 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Name for instance or AG
- */
- parentName?: string;
- /**
- * Host/Cluster Name for instance or AG
- */
- serverName?: string;
- /**
- * Indicates if workload item is auto-protectable
- */
- isAutoProtectable?: boolean;
- /**
- * For instance or AG, indicates number of DB's present
- */
- subinquireditemcount?: number;
- /**
- * For instance or AG, indicates number of DB's to be protected
- */
- subWorkloadItemCount?: number;
- /**
- * Data Directory Paths for default directories
- */
- dataDirectoryPaths?: SQLDataDirectory[];
-}
-
-/**
- * AzureWorkload workload-specific backup request.
- */
-export interface AzureWorkloadBackupRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadBackupRequest";
- /**
- * Type of backup, viz. Full, Differential, Log or CopyOnlyFull. Possible values include:
- * 'Invalid', 'Full', 'Differential', 'Log', 'CopyOnlyFull', 'Incremental'
- */
- backupType?: BackupType;
- /**
- * Bool for Compression setting
- */
- enableCompression?: boolean;
- /**
- * Backup copy will expire after the time specified (UTC).
- */
- recoveryPointExpiryTimeInUTC?: Date;
-}
-
-/**
- * Validation for inquired protectable items under a given container.
- */
-export interface InquiryValidation {
- /**
- * Status for the Inquiry Validation.
- */
- status?: string;
- /**
- * Error Detail in case the status is non-success.
- */
- errorDetail?: ErrorDetail;
- /**
- * Error Additional Detail in case the status is non-success.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly additionalDetail?: string;
-}
-
-/**
- * Details of an inquired protectable item.
- */
-export interface WorkloadInquiryDetails {
- /**
- * Type of the Workload such as SQL, Oracle etc.
- */
- type?: string;
- /**
- * Contains the protectable item Count inside this Container.
- */
- itemCount?: number;
- /**
- * Inquiry validation such as permissions and other backup validations.
- */
- inquiryValidation?: InquiryValidation;
-}
-
-/**
- * Details about inquired protectable items under a given container.
- */
-export interface InquiryInfo {
- /**
- * Inquiry Status for this container such as
- * InProgress | Failed | Succeeded
- */
- status?: string;
- /**
- * Error Details if the Status is non-success.
- */
- errorDetail?: ErrorDetail;
- /**
- * Inquiry Details which will have workload specific details.
- * For e.g. - For SQL and oracle this will contain different details.
- */
- inquiryDetails?: WorkloadInquiryDetails[];
-}
-
-/**
- * This is used to represent the various nodes of the distributed container.
- */
-export interface DistributedNodesInfo {
- /**
- * Name of the node under a distributed container.
- */
- nodeName?: string;
- /**
- * Status of this Node.
- * Failed | Succeeded
- */
- status?: string;
- /**
- * Error Details if the Status is non-success.
- */
- errorDetail?: ErrorDetail;
-}
-
-/**
- * Extended information of the container.
- */
-export interface AzureWorkloadContainerExtendedInfo {
- /**
- * Host Os Name in case of Stand Alone and Cluster Name in case of distributed container.
- */
- hostServerName?: string;
- /**
- * Inquiry Status for the container.
- */
- inquiryInfo?: InquiryInfo;
- /**
- * List of the nodes in case of distributed container.
- */
- nodesList?: DistributedNodesInfo[];
-}
-
-/**
- * Additional information on backup engine.
- */
-export interface BackupEngineExtendedInfo {
- /**
- * Database name of backup engine.
- */
- databaseName?: string;
- /**
- * Number of protected items in the backup engine.
- */
- protectedItemsCount?: number;
- /**
- * Number of protected servers in the backup engine.
- */
- protectedServersCount?: number;
- /**
- * Number of disks in the backup engine.
- */
- diskCount?: number;
- /**
- * Disk space used in the backup engine.
- */
- usedDiskSpace?: number;
- /**
- * Disk space currently available in the backup engine.
- */
- availableDiskSpace?: number;
- /**
- * Last refresh time in the backup engine.
- */
- refreshedAt?: Date;
- /**
- * Protected instances in the backup engine.
- */
- azureProtectedInstances?: number;
-}
-
-/**
- * The base backup engine class. All workload specific backup engines derive from this class.
- */
-export interface BackupEngineBaseResource extends Resource {
- /**
- * BackupEngineBaseResource properties
- */
- properties?: BackupEngineBaseUnion;
-}
-
-/**
- * Base class for backup request. Workload-specific backup requests are derived from this class.
- */
-export interface BackupRequestResource extends Resource {
- /**
- * BackupRequestResource properties
- */
- properties?: BackupRequestUnion;
-}
-
-/**
- * Query parameters to fetch list of backup engines.
- */
-export interface BMSBackupEngineQueryObject {
- /**
- * attribute to add extended info
- */
- expand?: string;
-}
-
-/**
- * Query parameters to fetch list of backup engines.
- */
-export interface BMSBackupEnginesQueryObject {
- /**
- * Backup management type for the backup engine. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Friendly name of the backup engine.
- */
- friendlyName?: string;
- /**
- * Attribute to add extended info.
- */
- expand?: string;
-}
-
-/**
- * The query filters that can be used with the list containers API.
- */
-export interface BMSContainerQueryObject {
- /**
- * Backup management type for this container. Possible values include: 'Invalid', 'AzureIaasVM',
- * 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType: BackupManagementType;
- /**
- * Type of container for filter. Possible values include: 'Invalid', 'Unknown',
- * 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', 'AzureBackupServerContainer',
- * 'MABContainer', 'Cluster', 'AzureSqlContainer', 'Windows', 'VCenter', 'VMAppContainer',
- * 'SQLAGWorkLoadContainer', 'StorageContainer', 'GenericContainer'
- */
- containerType?: ContainerType;
- /**
- * Backup engine name
- */
- backupEngineName?: string;
- /**
- * Fabric name for filter
- */
- fabricName?: string;
- /**
- * Status of registration of this container with the Recovery Services Vault.
- */
- status?: string;
- /**
- * Friendly name of this container.
- */
- friendlyName?: string;
-}
-
-/**
- * The query filters that can be used with the inquire container API.
- */
-export interface BMSContainersInquiryQueryObject {
- /**
- * Backup management type for this container. Possible values include: 'Invalid', 'AzureIaasVM',
- * 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Workload type for this container. Possible values include: 'Invalid', 'VM', 'FileFolder',
- * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client',
- * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: WorkloadType;
-}
-
-/**
- * Filters to list items that can be backed up.
- */
-export interface BMSPOQueryObject {
- /**
- * Backup management type. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM',
- * 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Workload type. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB',
- * 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource',
- * 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: WorkloadType;
- /**
- * Full name of the container whose Protectable Objects should be returned.
- */
- containerName?: string;
- /**
- * Backup status query parameter.
- */
- status?: string;
- /**
- * Friendly name.
- */
- friendlyName?: string;
-}
-
-/**
- * The query filters that can be used with the refresh container API.
- */
-export interface BMSRefreshContainersQueryObject {
- /**
- * Backup management type for this container. Possible values include: 'Invalid', 'AzureIaasVM',
- * 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
-}
-
-/**
- * Filters to list items that can be backed up.
- */
-export interface BMSWorkloadItemQueryObject {
- /**
- * Backup management type. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM',
- * 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Workload Item type. Possible values include: 'Invalid', 'SQLInstance', 'SQLDataBase',
- * 'SAPHanaSystem', 'SAPHanaDatabase', 'SAPAseSystem', 'SAPAseDatabase'
- */
- workloadItemType?: WorkloadItemType;
- /**
- * Workload type. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB',
- * 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource',
- * 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- workloadType?: WorkloadType;
- /**
- * Backup status query parameter. Possible values include: 'Invalid', 'NotProtected',
- * 'Protecting', 'Protected', 'ProtectionFailed'
- */
- protectionStatus?: ProtectionStatus;
-}
-
-/**
- * Client script details for file / folder restore.
- */
-export interface ClientScriptForConnect {
- /**
- * File content of the client script for file / folder restore.
- */
- scriptContent?: string;
- /**
- * File extension of the client script for file / folder restore - .ps1 , .sh , etc.
- */
- scriptExtension?: string;
- /**
- * OS type - Windows, Linux etc. for which this file / folder restore client script works.
- */
- osType?: string;
- /**
- * URL of Executable from where to source the content. If this is not null then ScriptContent
- * should not be used
- */
- url?: string;
- /**
- * Mandatory suffix that should be added to the name of script that is given for download to
- * user.
- * If its null or empty then , ignore it.
- */
- scriptNameSuffix?: string;
-}
-
-/**
- * Container identity information
- */
-export interface ContainerIdentityInfo {
- /**
- * Unique name of the container
- */
- uniqueName?: string;
- /**
- * Protection container identity - AAD Tenant
- */
- aadTenantId?: string;
- /**
- * Protection container identity - AAD Service Principal
- */
- servicePrincipalClientId?: string;
- /**
- * Protection container identity - Audience
- */
- audience?: string;
-}
-
-/**
- * Data Protection Manager (DPM) specific backup engine.
- */
-export interface DpmBackupEngine {
- /**
- * Polymorphic Discriminator
- */
- backupEngineType: "DpmBackupEngine";
- /**
- * Friendly name of the backup engine.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the backup engine. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Registration status of the backup engine with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of the backup engine with the Recovery Services Vault. = {Active/Deleting/DeleteFailed}
- */
- backupEngineState?: string;
- /**
- * Backup status of the backup engine.
- */
- healthStatus?: string;
- /**
- * Flag indicating if the backup engine be registered, once already registered.
- */
- canReRegister?: boolean;
- /**
- * ID of the backup engine.
- */
- backupEngineId?: string;
- /**
- * Backup engine version
- */
- dpmVersion?: string;
- /**
- * Backup agent version
- */
- azureBackupAgentVersion?: string;
- /**
- * To check if backup agent upgrade available
- */
- isAzureBackupAgentUpgradeAvailable?: boolean;
- /**
- * To check if backup engine upgrade available
- */
- isDpmUpgradeAvailable?: boolean;
- /**
- * Extended info of the backupengine
- */
- extendedInfo?: BackupEngineExtendedInfo;
-}
-
-/**
- * Additional information of the DPMContainer.
- */
-export interface DPMContainerExtendedInfo {
- /**
- * Last refresh time of the DPMContainer.
- */
- lastRefreshedAt?: Date;
-}
-
-/**
- * Container extended information
- */
-export interface GenericContainerExtendedInfo {
- /**
- * Public key of container cert
- */
- rawCertData?: string;
- /**
- * Container identity information
- */
- containerIdentityInfo?: ContainerIdentityInfo;
- /**
- * Azure Backup Service Endpoints for the container
- */
- serviceEndpoints?: { [propertyName: string]: string };
-}
-
-/**
- * Base class for generic container of backup items
- */
-export interface GenericContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "GenericContainer";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Name of the container's fabric
- */
- fabricName?: string;
- /**
- * Extended information (not returned in List container API calls)
- */
- extendedInformation?: GenericContainerExtendedInfo;
-}
-
-/**
- * IaaS VM workload-specific backup request.
- */
-export interface IaasVMBackupRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "IaasVMBackupRequest";
- /**
- * Backup copy will expire after the time specified (UTC).
- */
- recoveryPointExpiryTimeInUTC?: Date;
-}
-
-/**
- * Restore files/folders from a backup copy of IaaS VM.
- */
-export interface IaasVMILRRegistrationRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "IaasVMILRRegistrationRequest";
- /**
- * ID of the IaaS VM backup copy from where the files/folders have to be restored.
- */
- recoveryPointId?: string;
- /**
- * Fully qualified ARM ID of the virtual machine whose the files / folders have to be restored.
- */
- virtualMachineId?: string;
- /**
- * iSCSI initiator name.
- */
- initiatorName?: string;
- /**
- * Whether to renew existing registration with the iSCSI server.
- */
- renewExistingRegistration?: boolean;
-}
-
-/**
- * Parameters to Provision ILR API.
- */
-export interface ILRRequestResource extends Resource {
- /**
- * ILRRequestResource properties
- */
- properties?: ILRRequestUnion;
-}
-
-/**
- * Target details for file / folder restore.
- */
-export interface InstantItemRecoveryTarget {
- /**
- * List of client scripts.
- */
- clientScripts?: ClientScriptForConnect[];
-}
-
-/**
- * Additional information of the container.
- */
-export interface MabContainerExtendedInfo {
- /**
- * Time stamp when this container was refreshed.
- */
- lastRefreshedAt?: Date;
- /**
- * Type of backup items associated with this container. Possible values include: 'Invalid', 'VM',
- * 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState',
- * 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
- * 'SAPAseDatabase'
- */
- backupItemType?: BackupItemType;
- /**
- * List of backup items associated with this container.
- */
- backupItems?: string[];
- /**
- * Backup policy associated with this container.
- */
- policyName?: string;
- /**
- * Latest backup status of this container.
- */
- lastBackupStatus?: string;
-}
-
-/**
- * MAB workload-specific Health Details.
- */
-export interface MABContainerHealthDetails {
- /**
- * Health Code
- */
- code?: number;
- /**
- * Health Title
- */
- title?: string;
- /**
- * Health Message
- */
- message?: string;
- /**
- * Health Recommended Actions
- */
- recommendations?: string[];
-}
-
-/**
- * Container with items backed up using MAB backup engine.
- */
-export interface MabContainer {
- /**
- * Polymorphic Discriminator
- */
- containerType: "Windows";
- /**
- * Friendly name of the container.
- */
- friendlyName?: string;
- /**
- * Type of backup management for the container. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Status of registration of the container with the Recovery Services Vault.
- */
- registrationStatus?: string;
- /**
- * Status of health of the container.
- */
- healthStatus?: string;
- /**
- * Can the container be registered one more time.
- */
- canReRegister?: boolean;
- /**
- * ContainerID represents the container.
- */
- containerId?: number;
- /**
- * Number of items backed up in this container.
- */
- protectedItemCount?: number;
- /**
- * Agent version of this container.
- */
- agentVersion?: string;
- /**
- * Additional information for this container
- */
- extendedInfo?: MabContainerExtendedInfo;
- /**
- * Health details on this mab container.
- */
- mabContainerHealthDetails?: MABContainerHealthDetails[];
- /**
- * Health state of mab container.
- */
- containerHealthState?: string;
-}
-
-/**
- * Error information associated with operation status call.
- */
-export interface OperationStatusError {
- /**
- * Error code of the operation failure.
- */
- code?: string;
- /**
- * Error message displayed if the operation failure.
- */
- message?: string;
-}
-
-/**
- * Contains the possible cases for OperationStatusExtendedInfo.
- */
-export type OperationStatusExtendedInfoUnion =
- | OperationStatusExtendedInfo
- | OperationStatusJobExtendedInfo
- | OperationStatusJobsExtendedInfo
- | OperationStatusProvisionILRExtendedInfo
- | OperationStatusRecoveryPointExtendedInfo;
-
-/**
- * Base class for additional information of operation status.
- */
-export interface OperationStatusExtendedInfo {
- /**
- * Polymorphic Discriminator
- */
- objectType: "OperationStatusExtendedInfo";
-}
-
-/**
- * Operation status.
- */
-export interface OperationStatus {
- /**
- * ID of the operation.
- */
- id?: string;
- /**
- * Name of the operation.
- */
- name?: string;
- /**
- * Operation status. Possible values include: 'Invalid', 'InProgress', 'Succeeded', 'Failed',
- * 'Canceled'
- */
- status?: OperationStatusValues;
- /**
- * Operation start time. Format: ISO-8601.
- */
- startTime?: Date;
- /**
- * Operation end time. Format: ISO-8601.
- */
- endTime?: Date;
- /**
- * Error information related to this operation.
- */
- error?: OperationStatusError;
- /**
- * Additional information associated with this operation.
- */
- properties?: OperationStatusExtendedInfoUnion;
-}
-
-/**
- * Operation status job extended info.
- */
-export interface OperationStatusJobExtendedInfo {
- /**
- * Polymorphic Discriminator
- */
- objectType: "OperationStatusJobExtendedInfo";
- /**
- * ID of the job created for this protected item.
- */
- jobId?: string;
-}
-
-/**
- * Operation status extended info for list of jobs.
- */
-export interface OperationStatusJobsExtendedInfo {
- /**
- * Polymorphic Discriminator
- */
- objectType: "OperationStatusJobsExtendedInfo";
- /**
- * IDs of the jobs created for the protected item.
- */
- jobIds?: string[];
- /**
- * Stores all the failed jobs along with the corresponding error codes.
- */
- failedJobsError?: { [propertyName: string]: string };
-}
-
-/**
- * Operation status extended info for ILR provision action.
- */
-export interface OperationStatusProvisionILRExtendedInfo {
- /**
- * Polymorphic Discriminator
- */
- objectType: "OperationStatusProvisionILRExtendedInfo";
- /**
- * Target details for file / folder restore.
- */
- recoveryTarget?: InstantItemRecoveryTarget;
-}
-
-/**
- * Protectable Container Class.
- */
-export interface ProtectableContainerResource extends Resource {
- /**
- * ProtectableContainerResource properties
- */
- properties?: ProtectableContainerUnion;
-}
-
-/**
- * Base class for container with backup items. Containers with specific workloads are derived from
- * this class.
- */
-export interface ProtectionContainerResource extends Resource {
- /**
- * ProtectionContainerResource properties
- */
- properties?: ProtectionContainerUnion;
-}
-
-/**
- * The token information details.
- */
-export interface TokenInformation {
- /**
- * Token value.
- */
- token?: string;
- /**
- * Expiry time of token.
- */
- expiryTimeInUtcTicks?: number;
- /**
- * Security PIN
- */
- securityPIN?: string;
-}
-
-/**
- * Base class for backup item. Workload-specific backup items are derived from this class.
- */
-export interface WorkloadItemResource extends Resource {
- /**
- * WorkloadItemResource properties
- */
- properties?: WorkloadItemUnion;
-}
-
-/**
- * Base class for backup item. Workload-specific backup items are derived from this class.
- */
-export interface WorkloadProtectableItemResource extends Resource {
- /**
- * WorkloadProtectableItemResource properties
- */
- properties?: WorkloadProtectableItemUnion;
-}
-
-/**
- * RP Rehydration Info
- */
-export interface RecoveryPointRehydrationInfo {
- /**
- * How long the rehydrated RP should be kept
- * Should be ISO8601 Duration format e.g. "P7D"
- */
- rehydrationRetentionDuration?: string;
- /**
- * Rehydration Priority. Possible values include: 'Standard', 'High'
- */
- rehydrationPriority?: RehydrationPriority;
-}
-
-/**
- * AzureWorkload SAP Hana-specific restore with integrated rehydration of recovery point.
- */
-export interface AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- */
- sourceResourceId?: string;
- /**
- * Workload specific property bag.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Details of target database
- */
- targetInfo?: TargetRestoreInfo;
- /**
- * Defines whether the current recovery mode is file restore or database restore. Possible values
- * include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- */
- recoveryMode?: RecoveryMode;
- /**
- * This is the complete ARM Id of the target VM
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
- /**
- * PointInTime value
- */
- pointInTime?: Date;
- /**
- * RP Rehydration Info
- */
- recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
-}
-
-/**
- * AzureWorkload SAP Hana-specific restore with integrated rehydration of recovery point.
- */
-export interface AzureWorkloadSAPHanaRestoreWithRehydrateRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSAPHanaRestoreWithRehydrateRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- */
- sourceResourceId?: string;
- /**
- * Workload specific property bag.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Details of target database
- */
- targetInfo?: TargetRestoreInfo;
- /**
- * Defines whether the current recovery mode is file restore or database restore. Possible values
- * include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- */
- recoveryMode?: RecoveryMode;
- /**
- * This is the complete ARM Id of the target VM
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
- /**
- * RP Rehydration Info
- */
- recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
-}
-
-/**
- * AzureWorkload SQL-specific restore with integrated rehydration of recovery point.
- */
-export interface AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- */
- sourceResourceId?: string;
- /**
- * Workload specific property bag.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Details of target database
- */
- targetInfo?: TargetRestoreInfo;
- /**
- * Defines whether the current recovery mode is file restore or database restore. Possible values
- * include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- */
- recoveryMode?: RecoveryMode;
- /**
- * This is the complete ARM Id of the target VM
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
- /**
- * Default option set to true. If this is set to false, alternate data directory must be provided
- */
- shouldUseAlternateTargetLocation?: boolean;
- /**
- * SQL specific property where user can chose to set no-recovery when restore operation is tried
- */
- isNonRecoverable?: boolean;
- /**
- * Data directory details
- */
- alternateDirectoryPaths?: SQLDataDirectoryMapping[];
- /**
- * PointInTime value
- */
- pointInTime?: Date;
- /**
- * RP Rehydration Info
- */
- recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
-}
-
-/**
- * AzureWorkload SQL-specific restore with integrated rehydration of recovery point
- */
-export interface AzureWorkloadSQLRestoreWithRehydrateRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "AzureWorkloadSQLRestoreWithRehydrateRequest";
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM on which workload that was running is being recovered.
- */
- sourceResourceId?: string;
- /**
- * Workload specific property bag.
- */
- propertyBag?: { [propertyName: string]: string };
- /**
- * Details of target database
- */
- targetInfo?: TargetRestoreInfo;
- /**
- * Defines whether the current recovery mode is file restore or database restore. Possible values
- * include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- */
- recoveryMode?: RecoveryMode;
- /**
- * This is the complete ARM Id of the target VM
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
- /**
- * Default option set to true. If this is set to false, alternate data directory must be provided
- */
- shouldUseAlternateTargetLocation?: boolean;
- /**
- * SQL specific property where user can chose to set no-recovery when restore operation is tried
- */
- isNonRecoverable?: boolean;
- /**
- * Data directory details
- */
- alternateDirectoryPaths?: SQLDataDirectoryMapping[];
- /**
- * RP Rehydration Info
- */
- recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
-}
-
-/**
- * IaaS VM workload-specific restore with integrated rehydration of recovery point.
- */
-export interface IaasVMRestoreWithRehydrationRequest {
- /**
- * Polymorphic Discriminator
- */
- objectType: "IaasVMRestoreWithRehydrationRequest";
- /**
- * ID of the backup copy to be recovered.
- */
- recoveryPointId?: string;
- /**
- * Type of this recovery. Possible values include: 'Invalid', 'OriginalLocation',
- * 'AlternateLocation', 'RestoreDisks', 'Offline'
- */
- recoveryType?: RecoveryType;
- /**
- * Fully qualified ARM ID of the VM which is being recovered.
- */
- sourceResourceId?: string;
- /**
- * This is the complete ARM Id of the VM that will be created.
- * For e.g.
- * /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
- */
- targetVirtualMachineId?: string;
- /**
- * This is the ARM Id of the resource group that you want to create for this Virtual machine and
- * other artifacts.
- * For e.g. /subscriptions/{subId}/resourcegroups/{rg}
- */
- targetResourceGroupId?: string;
- /**
- * Fully qualified ARM ID of the storage account to which the VM has to be restored.
- */
- storageAccountId?: string;
- /**
- * This is the virtual network Id of the vnet that will be attached to the virtual machine.
- * User will be validated for join action permissions in the linked access.
- */
- virtualNetworkId?: string;
- /**
- * Subnet ID, is the subnet ID associated with the to be restored VM. For Classic VMs it would be
- * {VnetID}/Subnet/{SubnetName} and, for the Azure Resource Manager VMs it would be ARM resource
- * ID used to represent
- * the subnet.
- */
- subnetId?: string;
- /**
- * Fully qualified ARM ID of the domain name to be associated to the VM being restored. This
- * applies only to Classic
- * Virtual Machines.
- */
- targetDomainNameId?: string;
- /**
- * Region in which the virtual machine is restored.
- */
- region?: string;
- /**
- * Affinity group associated to VM to be restored. Used only for Classic Compute Virtual
- * Machines.
- */
- affinityGroup?: string;
- /**
- * Should a new cloud service be created while restoring the VM. If this is false, VM will be
- * restored to the same
- * cloud service as it was at the time of backup.
- */
- createNewCloudService?: boolean;
- /**
- * Original Storage Account Option
- */
- originalStorageAccountOption?: boolean;
- /**
- * Details needed if the VM was encrypted at the time of backup.
- */
- encryptionDetails?: EncryptionDetails;
- /**
- * List of Disk LUNs for partial restore
- */
- restoreDiskLunList?: number[];
- /**
- * Flag to denote of an Unmanaged disk VM should be restored with Managed disks.
- */
- restoreWithManagedDisks?: boolean;
- /**
- * DiskEncryptionSet's ID - needed if the VM needs to be encrypted at rest during restore with
- * customer managed key.
- */
- diskEncryptionSetId?: string;
- /**
- * Target zone where the VM and its disks should be restored.
- */
- zones?: string[];
- /**
- * RP Rehydration Info
- */
- recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
-}
-
-/**
- * An interface representing MoveRPAcrossTiersRequest.
- */
-export interface MoveRPAcrossTiersRequest {
- /**
- * Gets the class type.
- */
- objectType?: string;
- /**
- * Source tier from where RP needs to be moved. Possible values include: 'Invalid', 'InstantRP',
- * 'HardenedRP', 'ArchivedRP'
- */
- sourceTierType?: RecoveryPointTierType;
- /**
- * Target tier where RP needs to be moved. Possible values include: 'Invalid', 'InstantRP',
- * 'HardenedRP', 'ArchivedRP'
- */
- targetTierType?: RecoveryPointTierType;
-}
-
-/**
- * ListRecoveryPointsRecommendedForMoveRequest Request
- */
-export interface ListRecoveryPointsRecommendedForMoveRequest {
- /**
- * Gets the class type.
- */
- objectType?: string;
- /**
- * List of Recovery Points excluded from Move
- */
- excludedRPList?: string[];
-}
-
-/**
- * The name of usage.
- */
-export interface NameInfo {
- /**
- * Value of usage.
- */
- value?: string;
- /**
- * Localized value of usage.
- */
- localizedValue?: string;
-}
-
-/**
- * Backup management usages of a vault.
- */
-export interface BackupManagementUsage {
- /**
- * Unit of the usage. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent',
- * 'CountPerSecond', 'BytesPerSecond'
- */
- unit?: UsagesUnit;
- /**
- * Quota period of usage.
- */
- quotaPeriod?: string;
- /**
- * Next reset time of usage.
- */
- nextResetTime?: Date;
- /**
- * Current value of usage.
- */
- currentValue?: number;
- /**
- * Limit of usage.
- */
- limit?: number;
- /**
- * Name of usage.
- */
- name?: NameInfo;
-}
-
-/**
- * Query parameters to fetch backup summaries.
- */
-export interface BMSBackupSummariesQueryObject {
- /**
- * Backup management type for this container. Possible values include: 'Invalid',
- * 'BackupProtectedItemCountSummary', 'BackupProtectionContainerCountSummary'
- */
- type?: Type;
-}
-
-/**
- * An interface representing AADProperties.
- */
-export interface AADProperties {
- servicePrincipalClientId?: string;
- tenantId?: string;
- authority?: string;
- audience?: string;
- servicePrincipalObjectId?: string;
-}
-
-/**
- * An interface representing AADPropertiesResource.
- */
-export interface AADPropertiesResource extends Resource {
- /**
- * AADPropertiesResource properties
- */
- properties?: AADProperties;
-}
-
-/**
- * The resource storage details.
- */
-export interface BackupResourceConfig {
- /**
- * Storage type. Possible values include: 'Invalid', 'GeoRedundant', 'LocallyRedundant',
- * 'ZoneRedundant', 'ReadAccessGeoZoneRedundant'
- */
- storageModelType?: StorageType;
- /**
- * Storage type. Possible values include: 'Invalid', 'GeoRedundant', 'LocallyRedundant',
- * 'ZoneRedundant', 'ReadAccessGeoZoneRedundant'
- */
- storageType?: StorageType;
- /**
- * Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is
- * always Locked. Possible values include: 'Invalid', 'Locked', 'Unlocked'
- */
- storageTypeState?: StorageTypeState;
- /**
- * Opt in details of Cross Region Restore feature.
- */
- crossRegionRestoreFlag?: boolean;
-}
-
-/**
- * Request object for fetching CRR jobs.
- */
-export interface CrrJobRequest {
- /**
- * Entire ARM resource id of the resource
- */
- resourceId?: string;
- /**
- * Job Name of the job to be fetched
- */
- jobName?: string;
-}
-
-/**
- * Request object for fetching CRR jobs.
- */
-export interface CrrJobRequestResource extends Resource {
- /**
- * CrrJobRequestResource properties
- */
- properties?: CrrJobRequest;
-}
-
-/**
- * The resource storage details.
- */
-export interface BackupResourceConfigResource extends Resource {
- /**
- * BackupResourceConfigResource properties
- */
- properties?: BackupResourceConfig;
-}
-
-/**
- * Contains the possible cases for CrrAccessToken.
- */
-export type CrrAccessTokenUnion = CrrAccessToken | WorkloadCrrAccessToken;
-
-/**
- * An interface representing CrrAccessToken.
- */
-export interface CrrAccessToken {
- /**
- * Polymorphic Discriminator
- */
- objectType: "CrrAccessToken";
- /**
- * Access token used for authentication
- */
- accessTokenString?: string;
- /**
- * Subscription Id of the source vault
- */
- subscriptionId?: string;
- /**
- * Resource Group name of the source vault
- */
- resourceGroupName?: string;
- /**
- * Resource Name of the source vault
- */
- resourceName?: string;
- /**
- * Resource Id of the source vault
- */
- resourceId?: string;
- /**
- * Protected item container id
- */
- protectionContainerId?: number;
- /**
- * Recovery Point Id
- */
- recoveryPointId?: string;
- /**
- * Recovery Point Time
- */
- recoveryPointTime?: string;
- /**
- * Container Unique name
- */
- containerName?: string;
- /**
- * Container Type
- */
- containerType?: string;
- /**
- * Backup Management Type
- */
- backupManagementType?: string;
- /**
- * Datasource Type
- */
- datasourceType?: string;
- /**
- * Datasource Friendly Name
- */
- datasourceName?: string;
- /**
- * Datasource Id
- */
- datasourceId?: string;
- /**
- * Datasource Container Unique Name
- */
- datasourceContainerName?: string;
- /**
- * CoordinatorServiceStampId to be used by BCM in restore call
- */
- coordinatorServiceStampId?: string;
- /**
- * CoordinatorServiceStampUri to be used by BCM in restore call
- */
- coordinatorServiceStampUri?: string;
- /**
- * ProtectionServiceStampId to be used by BCM in restore call
- */
- protectionServiceStampId?: string;
- /**
- * ProtectionServiceStampUri to be used by BCM in restore call
- */
- protectionServiceStampUri?: string;
- /**
- * Extended Information about the token like FileSpec etc.
- */
- tokenExtendedInformation?: string;
- /**
- * Recovery point Tier Information
- */
- rpTierInformation?: { [propertyName: string]: string };
- /**
- * Recovery point information: Original SA option
- */
- rpOriginalSAOption?: boolean;
- /**
- * Recovery point information: Managed virtual machine
- */
- rpIsManagedVirtualMachine?: boolean;
- /**
- * Recovery point information: VM size description
- */
- rpVMSizeDescription?: string;
- /**
- * Active region name of BMS Stamp
- */
- bMSActiveRegion?: string;
-}
-
-/**
- * An interface representing CrossRegionRestoreRequest.
- */
-export interface CrossRegionRestoreRequest {
- /**
- * Access details for cross region restore
- */
- crossRegionRestoreAccessDetails?: CrrAccessTokenUnion;
- /**
- * Request object for triggering restore
- */
- restoreRequest?: RestoreRequestUnion;
-}
-
-/**
- * An interface representing CrossRegionRestoreRequestResource.
- */
-export interface CrossRegionRestoreRequestResource extends Resource {
- /**
- * CrossRegionRestoreRequestResource properties
- */
- properties?: CrossRegionRestoreRequest;
-}
-
-/**
- * An interface representing CrrAccessTokenResource.
- */
-export interface CrrAccessTokenResource extends Resource {
- /**
- * CrrAccessTokenResource properties
- */
- properties?: CrrAccessTokenUnion;
-}
-
-/**
- * Filters to list backup items.
- */
-export interface BMSAADPropertiesQueryObject {
- /**
- * Backup management type for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
-}
-
-/**
- * Operation status extended info for Updated Recovery Point.
- */
-export interface OperationStatusRecoveryPointExtendedInfo {
- /**
- * Polymorphic Discriminator
- */
- objectType: "OperationStatusRecoveryPointExtendedInfo";
- /**
- * Recovery Point info with updated source snapshot URI
- */
- updatedRecoveryPoint?: RecoveryPointUnion;
- /**
- * In case the share is in soft-deleted state, populate this field with deleted backup item
- */
- deletedBackupItemVersion?: string;
-}
-
-/**
- * An interface representing WorkloadCrrAccessToken.
- */
-export interface WorkloadCrrAccessToken {
- /**
- * Polymorphic Discriminator
- */
- objectType: "WorkloadCrrAccessToken";
- /**
- * Access token used for authentication
- */
- accessTokenString?: string;
- /**
- * Subscription Id of the source vault
- */
- subscriptionId?: string;
- /**
- * Resource Group name of the source vault
- */
- resourceGroupName?: string;
- /**
- * Resource Name of the source vault
- */
- resourceName?: string;
- /**
- * Resource Id of the source vault
- */
- resourceId?: string;
- /**
- * Protected item container id
- */
- protectionContainerId?: number;
- /**
- * Recovery Point Id
- */
- recoveryPointId?: string;
- /**
- * Recovery Point Time
- */
- recoveryPointTime?: string;
- /**
- * Container Unique name
- */
- containerName?: string;
- /**
- * Container Type
- */
- containerType?: string;
- /**
- * Backup Management Type
- */
- backupManagementType?: string;
- /**
- * Datasource Type
- */
- datasourceType?: string;
- /**
- * Datasource Friendly Name
- */
- datasourceName?: string;
- /**
- * Datasource Id
- */
- datasourceId?: string;
- /**
- * Datasource Container Unique Name
- */
- datasourceContainerName?: string;
- /**
- * CoordinatorServiceStampId to be used by BCM in restore call
- */
- coordinatorServiceStampId?: string;
- /**
- * CoordinatorServiceStampUri to be used by BCM in restore call
- */
- coordinatorServiceStampUri?: string;
- /**
- * ProtectionServiceStampId to be used by BCM in restore call
- */
- protectionServiceStampId?: string;
- /**
- * ProtectionServiceStampUri to be used by BCM in restore call
- */
- protectionServiceStampUri?: string;
- /**
- * Extended Information about the token like FileSpec etc.
- */
- tokenExtendedInformation?: string;
- /**
- * Recovery point Tier Information
- */
- rpTierInformation?: { [propertyName: string]: string };
- /**
- * Recovery point information: Original SA option
- */
- rpOriginalSAOption?: boolean;
- /**
- * Recovery point information: Managed virtual machine
- */
- rpIsManagedVirtualMachine?: boolean;
- /**
- * Recovery point information: VM size description
- */
- rpVMSizeDescription?: string;
- /**
- * Active region name of BMS Stamp
- */
- bMSActiveRegion?: string;
- protectableObjectUniqueName?: string;
- protectableObjectFriendlyName?: string;
- protectableObjectWorkloadType?: string;
- protectableObjectProtectionState?: string;
- protectableObjectContainerHostOsName?: string;
- protectableObjectParentLogicalContainerName?: string;
- /**
- * Container Id
- */
- containerId?: string;
- /**
- * Policy Name
- */
- policyName?: string;
- /**
- * Policy Id
- */
- policyId?: string;
-}
-
-/**
- * Contains the possible cases for FeatureSupportRequest.
- */
-export type FeatureSupportRequestUnion =
- | FeatureSupportRequest
- | AzureBackupGoalFeatureSupportRequest
- | AzureVMResourceFeatureSupportRequest;
-
-/**
- * Base class for feature request
- */
-export interface FeatureSupportRequest {
- /**
- * Polymorphic Discriminator
- */
- featureType: "FeatureSupportRequest";
-}
-
-/**
- * Azure backup goal feature specific request.
- */
-export interface AzureBackupGoalFeatureSupportRequest {
- /**
- * Polymorphic Discriminator
- */
- featureType: "AzureBackupGoals";
-}
-
-/**
- * Contains the possible cases for ProtectionIntent.
- */
-export type ProtectionIntentUnion =
- | ProtectionIntent
- | AzureRecoveryServiceVaultProtectionIntentUnion
- | AzureResourceProtectionIntent;
-
-/**
- * Base class for backup ProtectionIntent.
- */
-export interface ProtectionIntent {
- /**
- * Polymorphic Discriminator
- */
- protectionIntentItemType: "ProtectionIntent";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- */
- itemId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'NotProtected',
- * 'Protecting', 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
-}
-
-/**
- * Contains the possible cases for AzureRecoveryServiceVaultProtectionIntent.
- */
-export type AzureRecoveryServiceVaultProtectionIntentUnion =
- | AzureRecoveryServiceVaultProtectionIntent
- | AzureWorkloadAutoProtectionIntentUnion;
-
-/**
- * Azure Recovery Services Vault specific protection intent item.
- */
-export interface AzureRecoveryServiceVaultProtectionIntent {
- /**
- * Polymorphic Discriminator
- */
- protectionIntentItemType: "RecoveryServiceVaultItem";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- */
- itemId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'NotProtected',
- * 'Protecting', 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
-}
+/** Additional information on Backup engine specific backup item. */
+export type DPMProtectedItem = ProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType: "DPMProtectedItem";
+ /** Friendly name of the managed item */
+ friendlyName?: string;
+ /** Backup Management server protecting this backup item */
+ backupEngineName?: string;
+ /** Protection state of the backup engine */
+ protectionState?: ProtectedItemState;
+ /** Extended info of the backup item. */
+ extendedInfo?: DPMProtectedItemExtendedInfo;
+};
-/**
- * IaaS VM specific backup protection intent item.
- */
-export interface AzureResourceProtectionIntent {
- /**
- * Polymorphic Discriminator
- */
- protectionIntentItemType: "AzureResourceItem";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- */
- itemId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'NotProtected',
- * 'Protecting', 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Friendly name of the VM represented by this backup item.
- */
+/** Base class for backup items. */
+export type GenericProtectedItem = ProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType: "GenericProtectedItem";
+ /** Friendly name of the container. */
friendlyName?: string;
-}
+ /** Indicates consistency of policy object and policy applied to this backup item. */
+ policyState?: string;
+ /** Backup state of this backup item. */
+ protectionState?: ProtectionState;
+ /** Data Plane Service ID of the protected item. */
+ protectedItemId?: number;
+ /** Loosely coupled (type, value) associations (example - parent of a protected item) */
+ sourceAssociations?: { [propertyName: string]: string };
+ /** Name of this backup item's fabric. */
+ fabricName?: string;
+};
-/**
- * AzureResource(IaaS VM) Specific feature support request
- */
-export interface AzureVMResourceFeatureSupportRequest {
- /**
- * Polymorphic Discriminator
- */
- featureType: "AzureVMResourceBackup";
- /**
- * Size of the resource: VM size(A/D series etc) in case of IaasVM
- */
- vmSize?: string;
- /**
- * SKUs (Premium/Managed etc) in case of IaasVM
- */
- vmSku?: string;
-}
+/** MAB workload-specific backup item. */
+export type MabFileFolderProtectedItem = ProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType: "MabFileFolderProtectedItem";
+ /** Friendly name of this backup item. */
+ friendlyName?: string;
+ /** Name of the computer associated with this backup item. */
+ computerName?: string;
+ /** Status of last backup operation. */
+ lastBackupStatus?: string;
+ /** Timestamp of the last backup operation on this backup item. */
+ lastBackupTime?: Date;
+ /** Protected, ProtectionStopped, IRPending or ProtectionError */
+ protectionState?: string;
+ /** Sync time for deferred deletion in UTC */
+ deferredDeleteSyncTimeInUTC?: number;
+ /** Additional information with this backup item. */
+ extendedInfo?: MabFileFolderProtectedItemExtendedInfo;
+};
-/**
- * Response for feature support requests for Azure IaasVm
- */
-export interface AzureVMResourceFeatureSupportResponse {
- /**
- * Support status of feature. Possible values include: 'Invalid', 'Supported', 'DefaultOFF',
- * 'DefaultON', 'NotSupported'
- */
- supportStatus?: SupportStatus;
-}
+/** Azure File Share workload specific backup copy. */
+export type AzureFileShareRecoveryPoint = RecoveryPoint & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureFileShareRecoveryPoint";
+ /** Type of the backup copy. Specifies whether it is a crash consistent backup or app consistent. */
+ recoveryPointType?: string;
+ /** Time at which this backup copy was created. */
+ recoveryPointTime?: Date;
+ /** Contains Url to the snapshot of fileshare, if applicable */
+ fileShareSnapshotUri?: string;
+ /** Contains recovery point size */
+ recoveryPointSizeInGB?: number;
+};
-/**
- * Contains the possible cases for AzureWorkloadAutoProtectionIntent.
- */
-export type AzureWorkloadAutoProtectionIntentUnion =
- | AzureWorkloadAutoProtectionIntent
- | AzureWorkloadSQLAutoProtectionIntent;
+/** Workload specific recovery point, specifically encapsulates full/diff recovery point */
+export type AzureWorkloadRecoveryPoint = RecoveryPoint & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureWorkloadRecoveryPoint"
+ | "AzureWorkloadPointInTimeRecoveryPoint"
+ | "AzureWorkloadSAPHanaPointInTimeRecoveryPoint"
+ | "AzureWorkloadSAPHanaRecoveryPoint"
+ | "AzureWorkloadSQLRecoveryPoint"
+ | "AzureWorkloadSQLPointInTimeRecoveryPoint";
+ /** UTC time at which recovery point was created */
+ recoveryPointTimeInUTC?: Date;
+ /** Type of restore point */
+ type?: RestorePointType;
+ /** Recovery point tier information. */
+ recoveryPointTierDetails?: RecoveryPointTierInformationV2[];
+ /** Eligibility of RP to be moved to another tier */
+ recoveryPointMoveReadinessInfo?: {
+ [propertyName: string]: RecoveryPointMoveReadinessInfo;
+ };
+};
-/**
- * Azure Recovery Services Vault specific protection intent item.
- */
-export interface AzureWorkloadAutoProtectionIntent {
- /**
- * Polymorphic Discriminator
- */
- protectionIntentItemType: "AzureWorkloadAutoProtectionIntent";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- */
- itemId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'NotProtected',
- * 'Protecting', 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
-}
+/** Generic backup copy. */
+export type GenericRecoveryPoint = RecoveryPoint & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "GenericRecoveryPoint";
+ /** Friendly name of the backup copy. */
+ friendlyName?: string;
+ /** Type of the backup copy. */
+ recoveryPointType?: string;
+ /** Time at which this backup copy was created. */
+ recoveryPointTime?: Date;
+ /** Additional information associated with this backup copy. */
+ recoveryPointAdditionalInfo?: string;
+};
-/**
- * Azure Workload SQL Auto Protection intent item.
- */
-export interface AzureWorkloadSQLAutoProtectionIntent {
- /**
- * Polymorphic Discriminator
- */
- protectionIntentItemType: "AzureWorkloadSQLAutoProtectionIntent";
- /**
- * Type of backup management for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * ARM ID of the resource to be backed up.
- */
- sourceResourceId?: string;
- /**
- * ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- */
- itemId?: string;
- /**
- * ID of the backup policy with which this item is backed up.
- */
- policyId?: string;
- /**
- * Backup state of this backup item. Possible values include: 'Invalid', 'NotProtected',
- * 'Protecting', 'Protected', 'ProtectionFailed'
- */
- protectionState?: ProtectionStatus;
- /**
- * Workload item type of the item for which intent is to be set. Possible values include:
- * 'Invalid', 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', 'SAPHanaDatabase', 'SAPAseSystem',
- * 'SAPAseDatabase'
- */
- workloadItemType?: WorkloadItemType;
-}
+/** IaaS VM workload specific backup copy. */
+export type IaasVMRecoveryPoint = RecoveryPoint & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "IaasVMRecoveryPoint";
+ /** Type of the backup copy. */
+ recoveryPointType?: string;
+ /** Time at which this backup copy was created. */
+ recoveryPointTime?: Date;
+ /** Additional information associated with this backup copy. */
+ recoveryPointAdditionalInfo?: string;
+ /** Storage type of the VM whose backup copy is created. */
+ sourceVMStorageType?: string;
+ /** Identifies whether the VM was encrypted when the backup copy is created. */
+ isSourceVMEncrypted?: boolean;
+ /** Required details for recovering an encrypted VM. Applicable only when IsSourceVMEncrypted is true. */
+ keyAndSecret?: KeyAndSecretDetails;
+ /** Is the session to recover items from this backup copy still active. */
+ isInstantIlrSessionActive?: boolean;
+ /** Recovery point tier information. */
+ recoveryPointTierDetails?: RecoveryPointTierInformationV2[];
+ /** Whether VM is with Managed Disks */
+ isManagedVirtualMachine?: boolean;
+ /** Virtual Machine Size */
+ virtualMachineSize?: string;
+ /** Original Storage Account Option */
+ originalStorageAccountOption?: boolean;
+ /** OS type */
+ osType?: string;
+ /** Disk configuration */
+ recoveryPointDiskConfiguration?: RecoveryPointDiskConfiguration;
+ /** Identifies the zone of the VM at the time of backup. Applicable only for zone-pinned Vms */
+ zones?: string[];
+ /** Eligibility of RP to be moved to another tier */
+ recoveryPointMoveReadinessInfo?: {
+ [propertyName: string]: RecoveryPointMoveReadinessInfo;
+ };
+};
-/**
- * BackupStatus request.
- */
-export interface BackupStatusRequest {
- /**
- * Container Type - VM, SQLPaaS, DPM, AzureFileShare. Possible values include: 'Invalid', 'VM',
- * 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState',
- * 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase',
- * 'SAPAseDatabase'
- */
- resourceType?: DataSourceType;
- /**
- * Entire ARM resource id of the resource
- */
- resourceId?: string;
- /**
- * Protectable Item Logical Name
- */
- poLogicalName?: string;
-}
+/** AzureFileShare Restore Request */
+export type AzureFileShareRestoreRequest = RestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureFileShareRestoreRequest";
+ /** Type of this recovery. */
+ recoveryType?: RecoveryType;
+ /** Source storage account ARM Id */
+ sourceResourceId?: string;
+ /** Options to resolve copy conflicts. */
+ copyOptions?: CopyOptions;
+ /** Restore Type (FullShareRestore or ItemLevelRestore) */
+ restoreRequestType?: RestoreRequestType;
+ /** List of Source Files/Folders(which need to recover) and TargetFolderPath details */
+ restoreFileSpecs?: RestoreFileSpecs[];
+ /** Target File Share Details */
+ targetDetails?: TargetAFSRestoreInfo;
+};
-/**
- * BackupStatus response.
- */
-export interface BackupStatusResponse {
- /**
- * Specifies whether the container is registered or not. Possible values include: 'Invalid',
- * 'NotProtected', 'Protecting', 'Protected', 'ProtectionFailed'
- */
- protectionStatus?: ProtectionStatus;
- /**
- * Specifies the arm resource id of the vault
- */
- vaultId?: string;
+/** AzureWorkload-specific restore. */
+export type AzureWorkloadRestoreRequest = RestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureWorkloadRestoreRequest"
+ | "AzureWorkloadPointInTimeRestoreRequest"
+ | "AzureWorkloadSAPHanaRestoreRequest"
+ | "AzureWorkloadSAPHanaPointInTimeRestoreRequest"
+ | "AzureWorkloadSQLRestoreRequest"
+ | "AzureWorkloadSQLPointInTimeRestoreRequest"
+ | "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest"
+ | "AzureWorkloadSAPHanaRestoreWithRehydrateRequest"
+ | "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest"
+ | "AzureWorkloadSQLRestoreWithRehydrateRequest";
+ /** Type of this recovery. */
+ recoveryType?: RecoveryType;
+ /** Fully qualified ARM ID of the VM on which workload that was running is being recovered. */
+ sourceResourceId?: string;
+ /** Workload specific property bag. */
+ propertyBag?: { [propertyName: string]: string };
+ /** Details of target database */
+ targetInfo?: TargetRestoreInfo;
+ /** Defines whether the current recovery mode is file restore or database restore */
+ recoveryMode?: RecoveryMode;
/**
- * Specifies the fabric name - Azure or AD. Possible values include: 'Invalid', 'Azure'
+ * This is the complete ARM Id of the target VM
+ * For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
*/
- fabricName?: FabricName;
+ targetVirtualMachineId?: string;
+};
+
+/** IaaS VM workload-specific restore. */
+export type IaasVMRestoreRequest = RestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "IaasVMRestoreRequest" | "IaasVMRestoreWithRehydrationRequest";
+ /** ID of the backup copy to be recovered. */
+ recoveryPointId?: string;
+ /** Type of this recovery. */
+ recoveryType?: RecoveryType;
+ /** Fully qualified ARM ID of the VM which is being recovered. */
+ sourceResourceId?: string;
/**
- * Specifies the product specific container name. E.g.
- * iaasvmcontainer;iaasvmcontainer;csname;vmname.
+ * This is the complete ARM Id of the VM that will be created.
+ * For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
*/
- containerName?: string;
+ targetVirtualMachineId?: string;
/**
- * Specifies the product specific ds name. E.g. vm;iaasvmcontainer;csname;vmname.
+ * This is the ARM Id of the resource group that you want to create for this Virtual machine and other artifacts.
+ * For e.g. /subscriptions/{subId}/resourcegroups/{rg}
*/
- protectedItemName?: string;
+ targetResourceGroupId?: string;
+ /** Fully qualified ARM ID of the storage account to which the VM has to be restored. */
+ storageAccountId?: string;
/**
- * ErrorCode in case of intent failed
+ * This is the virtual network Id of the vnet that will be attached to the virtual machine.
+ * User will be validated for join action permissions in the linked access.
*/
- errorCode?: string;
+ virtualNetworkId?: string;
/**
- * ErrorMessage in case of intent failed.
+ * Subnet ID, is the subnet ID associated with the to be restored VM. For Classic VMs it would be
+ * {VnetID}/Subnet/{SubnetName} and, for the Azure Resource Manager VMs it would be ARM resource ID used to represent
+ * the subnet.
*/
- errorMessage?: string;
+ subnetId?: string;
/**
- * Specifies the policy name which is used for protection
+ * Fully qualified ARM ID of the domain name to be associated to the VM being restored. This applies only to Classic
+ * Virtual Machines.
*/
- policyName?: string;
+ targetDomainNameId?: string;
+ /** Region in which the virtual machine is restored. */
+ region?: string;
+ /** Affinity group associated to VM to be restored. Used only for Classic Compute Virtual Machines. */
+ affinityGroup?: string;
/**
- * Container registration status
+ * Should a new cloud service be created while restoring the VM. If this is false, VM will be restored to the same
+ * cloud service as it was at the time of backup.
*/
- registrationStatus?: string;
-}
+ createNewCloudService?: boolean;
+ /** Original Storage Account Option */
+ originalStorageAccountOption?: boolean;
+ /** Details needed if the VM was encrypted at the time of backup. */
+ encryptionDetails?: EncryptionDetails;
+ /** List of Disk LUNs for partial restore */
+ restoreDiskLunList?: number[];
+ /** Flag to denote of an Unmanaged disk VM should be restored with Managed disks. */
+ restoreWithManagedDisks?: boolean;
+ /** DiskEncryptionSet's ID - needed if the VM needs to be encrypted at rest during restore with customer managed key. */
+ diskEncryptionSetId?: string;
+ /** Target zone where the VM and its disks should be restored. */
+ zones?: string[];
+ /** Managed Identity information required to access customer storage account. */
+ identityInfo?: IdentityInfo;
+ /** IaaS VM workload specific restore details for restores using managed identity. */
+ identityBasedRestoreDetails?: IdentityBasedRestoreDetails;
+};
-/**
- * Contract to validate if backup can be enabled on the given resource in a given vault and given
- * configuration.
- * It will validate followings
- * 1. Vault capacity
- * 2. VM is already protected
- * 3. Any VM related configuration passed in properties.
- */
-export interface PreValidateEnableBackupRequest {
- /**
- * ProtectedItem Type- VM, SqlDataBase, AzureFileShare etc. Possible values include: 'Invalid',
- * 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM',
- * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare',
- * 'SAPHanaDatabase', 'SAPAseDatabase'
- */
- resourceType?: DataSourceType;
- /**
- * ARM Virtual Machine Id
- */
- resourceId?: string;
- /**
- * ARM id of the Recovery Services Vault
- */
- vaultId?: string;
- /**
- * Configuration of VM if any needs to be validated like OS type etc
- */
- properties?: string;
-}
+/** Azure VM (Mercury) workload-specific backup policy. */
+export type AzureVmWorkloadProtectionPolicy = ProtectionPolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ backupManagementType: "AzureWorkload";
+ /** Type of workload for the backup management */
+ workLoadType?: WorkloadType;
+ /** Common settings for the backup management */
+ settings?: Settings;
+ /** List of sub-protection policies which includes schedule and retention */
+ subProtectionPolicy?: SubProtectionPolicy[];
+ /** Fix the policy inconsistency */
+ makePolicyConsistent?: boolean;
+};
-/**
- * Response contract for enable backup validation request
- */
-export interface PreValidateEnableBackupResponse {
- /**
- * Validation Status. Possible values include: 'Invalid', 'Succeeded', 'Failed'
- */
- status?: ValidationStatus;
- /**
- * Response error code
- */
- errorCode?: string;
- /**
- * Response error message
- */
- errorMessage?: string;
- /**
- * Recommended action for user
- */
- recommendation?: string;
- /**
- * Specifies the product specific container name. E.g.
- * iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required
- * for portal
- */
- containerName?: string;
- /**
- * Specifies the product specific ds name. E.g. vm;iaasvmcontainer;rgname;vmname. This is
- * required for portal
- */
- protectedItemName?: string;
-}
+/** AzureStorage backup policy. */
+export type AzureFileShareProtectionPolicy = ProtectionPolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ backupManagementType: "AzureStorage";
+ /** Type of workload for the backup management */
+ workLoadType?: WorkloadType;
+ /** Backup schedule specified as part of backup policy. */
+ schedulePolicy?: SchedulePolicyUnion;
+ /** Retention policy with the details on backup copy retention ranges. */
+ retentionPolicy?: RetentionPolicyUnion;
+ /** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */
+ timeZone?: string;
+};
-/**
- * Filters to list protection intent.
- */
-export interface ProtectionIntentQueryObject {
- /**
- * Backup management type for the backed up item. Possible values include: 'Invalid',
- * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
- * 'DefaultBackup'
- */
- backupManagementType?: BackupManagementType;
- /**
- * Type of workload this item represents. Possible values include: 'Invalid', 'SQLInstance',
- * 'SQLAvailabilityGroupContainer'
- */
- itemType?: IntentItemType;
- /**
- * Parent name of the intent
- */
- parentName?: string;
- /**
- * Item name of the intent
- */
- itemName?: string;
-}
+/** IaaS VM workload-specific backup policy. */
+export type AzureIaaSVMProtectionPolicy = ProtectionPolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ backupManagementType: "AzureIaasVM";
+ instantRPDetails?: InstantRPAdditionalDetails;
+ /** Backup schedule specified as part of backup policy. */
+ schedulePolicy?: SchedulePolicyUnion;
+ /** Retention policy with the details on backup copy retention ranges. */
+ retentionPolicy?: RetentionPolicyUnion;
+ /** Instant RP retention policy range in days */
+ instantRpRetentionRangeInDays?: number;
+ /** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */
+ timeZone?: string;
+};
-/**
- * Base class for backup ProtectionIntent.
- */
-export interface ProtectionIntentResource extends Resource {
- /**
- * ProtectionIntentResource properties
- */
- properties?: ProtectionIntentUnion;
-}
+/** Azure SQL workload-specific backup policy. */
+export type AzureSqlProtectionPolicy = ProtectionPolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ backupManagementType: "AzureSql";
+ /** Retention policy details. */
+ retentionPolicy?: RetentionPolicyUnion;
+};
-/**
- * Localized display information of an operation.
- */
-export interface ClientDiscoveryDisplay {
- /**
- * Name of the provider for display purposes
- */
- provider?: string;
- /**
- * ResourceType for which this Operation can be performed.
- */
- resource?: string;
- /**
- * Operations Name itself.
- */
- operation?: string;
- /**
- * Description of the operation having details of what operation is about.
- */
- description?: string;
-}
+/** Azure VM (Mercury) workload-specific backup policy. */
+export type GenericProtectionPolicy = ProtectionPolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ backupManagementType: "GenericProtectionPolicy";
+ /** List of sub-protection policies which includes schedule and retention */
+ subProtectionPolicy?: SubProtectionPolicy[];
+ /** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */
+ timeZone?: string;
+ /** Name of this policy's fabric. */
+ fabricName?: string;
+};
-/**
- * Class to represent shoebox log specification in json client discovery.
- */
-export interface ClientDiscoveryForLogSpecification {
- /**
- * Name for shoebox log specification.
- */
- name?: string;
- /**
- * Localized display name
- */
- displayName?: string;
- /**
- * blob duration of shoebox log specification
- */
- blobDuration?: string;
-}
+/** Mab container-specific backup policy. */
+export type MabProtectionPolicy = ProtectionPolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ backupManagementType: "MAB";
+ /** Backup schedule of backup policy. */
+ schedulePolicy?: SchedulePolicyUnion;
+ /** Retention policy details. */
+ retentionPolicy?: RetentionPolicyUnion;
+};
-/**
- * Class to represent shoebox service specification in json client discovery.
- */
-export interface ClientDiscoveryForServiceSpecification {
- /**
- * List of log specifications of this operation.
- */
- logSpecifications?: ClientDiscoveryForLogSpecification[];
-}
+/** Azure IaaS VM workload-specific job object. */
+export type AzureIaaSVMJob = Job & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ jobType: "AzureIaaSVMJob";
+ /** Time elapsed during the execution of this job. */
+ duration?: string;
+ /** Gets or sets the state/actions applicable on this job like cancel/retry. */
+ actionsInfo?: JobSupportedAction[];
+ /** Error details on execution of this job. */
+ errorDetails?: AzureIaaSVMErrorInfo[];
+ /** Specifies whether the backup item is a Classic or an Azure Resource Manager VM. */
+ virtualMachineVersion?: string;
+ /** Additional information for this job. */
+ extendedInfo?: AzureIaaSVMJobExtendedInfo;
+ /** Container name of the entity on which the current job is executing. */
+ containerName?: string;
+ /** Indicated that whether the job is adhoc(true) or scheduled(false) */
+ isUserTriggered?: boolean;
+};
-/**
- * Class to represent shoebox properties in json client discovery.
- */
-export interface ClientDiscoveryForProperties {
- /**
- * Operation properties.
- */
- serviceSpecification?: ClientDiscoveryForServiceSpecification;
-}
+/** Azure IaaS VM workload-specific job object. */
+export type AzureIaaSVMJobV2 = Job & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ jobType: "AzureIaaSVMJobV2";
+ /** Gets or sets the state/actions applicable on this job like cancel/retry. */
+ actionsInfo?: JobSupportedAction[];
+ /** Container name of the entity on which the current job is executing. */
+ containerName?: string;
+ /** Time elapsed during the execution of this job. */
+ duration?: string;
+ /** Error details on execution of this job. */
+ errorDetails?: AzureIaaSVMErrorInfo[];
+ /** Specifies whether the backup item is a Classic or an Azure Resource Manager VM. */
+ virtualMachineVersion?: string;
+ /** Additional information for this job. */
+ extendedInfo?: AzureIaaSVMJobExtendedInfo;
+};
-/**
- * Available operation details.
- */
-export interface ClientDiscoveryValueForSingleApi {
- /**
- * Name of the Operation.
- */
- name?: string;
- /**
- * Contains the localized display information for this particular operation
- */
- display?: ClientDiscoveryDisplay;
- /**
- * The intended executor of the operation;governs the display of the operation in the RBAC UX and
- * the audit logs UX
- */
- origin?: string;
- /**
- * ShoeBox properties for the given operation.
- */
- properties?: ClientDiscoveryForProperties;
-}
+/** Azure storage specific job. */
+export type AzureStorageJob = Job & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ jobType: "AzureStorageJob";
+ /** Time elapsed during the execution of this job. */
+ duration?: string;
+ /** Gets or sets the state/actions applicable on this job like cancel/retry. */
+ actionsInfo?: JobSupportedAction[];
+ /** Error details on execution of this job. */
+ errorDetails?: AzureStorageErrorInfo[];
+ /** Specifies friendly name of the storage account. */
+ storageAccountName?: string;
+ /** Specifies whether the Storage account is a Classic or an Azure Resource Manager Storage account. */
+ storageAccountVersion?: string;
+ /** Additional information about the job. */
+ extendedInfo?: AzureStorageJobExtendedInfo;
+ /** Indicated that whether the job is adhoc(true) or scheduled(false) */
+ isUserTriggered?: boolean;
+};
+
+/** Azure storage specific job. */
+export type AzureWorkloadJob = Job & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ jobType: "AzureWorkloadJob";
+ /** Workload type of the job */
+ workloadType?: string;
+ /** Time elapsed during the execution of this job. */
+ duration?: string;
+ /** Gets or sets the state/actions applicable on this job like cancel/retry. */
+ actionsInfo?: JobSupportedAction[];
+ /** Error details on execution of this job. */
+ errorDetails?: AzureWorkloadErrorInfo[];
+ /** Additional information about the job. */
+ extendedInfo?: AzureWorkloadJobExtendedInfo;
+};
+
+/** DPM workload-specific job object. */
+export type DpmJob = Job & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ jobType: "DpmJob";
+ /** Time elapsed for job. */
+ duration?: string;
+ /** DPM server name managing the backup item or backup job. */
+ dpmServerName?: string;
+ /** Name of cluster/server protecting current backup item, if any. */
+ containerName?: string;
+ /** Type of container. */
+ containerType?: string;
+ /** Type of backup item. */
+ workloadType?: string;
+ /** The state/actions applicable on this job like cancel/retry. */
+ actionsInfo?: JobSupportedAction[];
+ /** The errors. */
+ errorDetails?: DpmErrorInfo[];
+ /** Additional information for this job. */
+ extendedInfo?: DpmJobExtendedInfo;
+};
-/**
- * Optional Parameters.
- */
-export interface ProtectedItemsGetOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** MAB workload-specific job. */
+export type MabJob = Job & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ jobType: "MabJob";
+ /** Time taken by job to run. */
+ duration?: string;
+ /** The state/actions applicable on jobs like cancel/retry. */
+ actionsInfo?: JobSupportedAction[];
+ /** Name of server protecting the DS. */
+ mabServerName?: string;
+ /** Server type of MAB container. */
+ mabServerType?: MabServerType;
+ /** Workload type of backup item. */
+ workloadType?: WorkloadType;
+ /** The errors. */
+ errorDetails?: MabErrorInfo[];
+ /** Additional information on the job. */
+ extendedInfo?: MabJobExtendedInfo;
+};
-/**
- * Optional Parameters.
- */
-export interface RecoveryPointsListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Vault level Job */
+export type VaultJob = Job & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ jobType: "VaultJob";
+ /** Time elapsed during the execution of this job. */
+ duration?: string;
+ /** Gets or sets the state/actions applicable on this job like cancel/retry. */
+ actionsInfo?: JobSupportedAction[];
+ /** Error details on execution of this job. */
+ errorDetails?: VaultJobErrorInfo[];
+ /** Additional information about the job. */
+ extendedInfo?: VaultJobExtendedInfo;
+};
-/**
- * Optional Parameters.
- */
-export interface RecoveryPointsListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** This class is used to send blob details after exporting jobs. */
+export type ExportJobsOperationResultInfo = OperationResultInfoBase & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "ExportJobsOperationResultInfo";
+ /** URL of the blob into which the serialized string of list of jobs is exported. */
+ blobUrl?: string;
+ /** SAS key to access the blob. It expires in 15 mins. */
+ blobSasKey?: string;
+ /** URL of the blob into which the ExcelFile is uploaded. */
+ excelFileBlobUrl?: string;
+ /** SAS key to access the blob. It expires in 15 mins. */
+ excelFileBlobSasKey?: string;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupPoliciesListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Operation result info. */
+export type OperationResultInfo = OperationResultInfoBase & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "OperationResultInfo";
+ /** List of jobs created by this operation. */
+ jobList?: string[];
+};
-/**
- * Optional Parameters.
- */
-export interface BackupPoliciesListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Base class for operation result info. */
+export type OperationResultInfoBaseResource = OperationWorkerResponse & {
+ /** OperationResultInfoBaseResource operation */
+ operation?: OperationResultInfoBaseUnion;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupJobsListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** AzureRestoreValidation request. */
+export type ValidateRestoreOperationRequest = ValidateOperationRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "ValidateRestoreOperationRequest"
+ | "ValidateIaasVMRestoreOperationRequest";
+ /** Sets restore request to be validated */
+ restoreRequest?: RestoreRequestUnion;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupJobsListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** Backup engine type when Azure Backup Server is used to manage the backups. */
+export type AzureBackupServerEngine = BackupEngineBase & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ backupEngineType: "AzureBackupServerEngine";
+};
-/**
- * Optional Parameters.
- */
-export interface JobsExportMethodOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Data Protection Manager (DPM) specific backup engine. */
+export type DpmBackupEngine = BackupEngineBase & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ backupEngineType: "DpmBackupEngine";
+};
-/**
- * Optional Parameters.
- */
-export interface BackupProtectedItemsListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** Azure Storage-specific protectable containers */
+export type AzureStorageProtectableContainer = ProtectableContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableContainerType: "StorageContainer";
+};
-/**
- * Optional Parameters.
- */
-export interface BackupProtectedItemsListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** Azure workload-specific container */
+export type AzureVMAppContainerProtectableContainer = ProtectableContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableContainerType: "VMAppContainer";
+};
-/**
- * Optional Parameters.
- */
-export interface BackupEnginesListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** DPM workload-specific protection container. */
+export type DpmContainer = ProtectionContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType: "DPMContainer" | "AzureBackupServerContainer";
+ /** Specifies whether the container is re-registrable. */
+ canReRegister?: boolean;
+ /** ID of container. */
+ containerId?: string;
+ /** Number of protected items in the BackupEngine */
+ protectedItemCount?: number;
+ /** Backup engine Agent version */
+ dpmAgentVersion?: string;
+ /** List of BackupEngines protecting the container */
+ dpmServers?: string[];
+ /** To check if upgrade available */
+ upgradeAvailable?: boolean;
+ /** Protection status of the container. */
+ protectionStatus?: string;
+ /** Extended Info of the container. */
+ extendedInfo?: DPMContainerExtendedInfo;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupEnginesGetOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** IaaS VM workload-specific container. */
+export type IaaSVMContainer = ProtectionContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType:
+ | "IaaSVMContainer"
+ | "Microsoft.ClassicCompute/virtualMachines"
+ | "Microsoft.Compute/virtualMachines";
+ /** Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container. */
+ virtualMachineId?: string;
+ /** Specifies whether the container represents a Classic or an Azure Resource Manager VM. */
+ virtualMachineVersion?: string;
+ /** Resource group name of Recovery Services Vault. */
+ resourceGroup?: string;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupEnginesListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** Container for the workloads running inside Azure Compute or Classic Compute. */
+export type AzureWorkloadContainer = ProtectionContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType:
+ | "AzureWorkloadContainer"
+ | "SQLAGWorkLoadContainer"
+ | "VMAppContainer";
+ /** ARM ID of the virtual machine represented by this Azure Workload Container */
+ sourceResourceId?: string;
+ /** Time stamp when this container was updated. */
+ lastUpdatedTime?: Date;
+ /** Additional details of a workload container. */
+ extendedInfo?: AzureWorkloadContainerExtendedInfo;
+ /** Workload type for which registration was sent. */
+ workloadType?: WorkloadType;
+ /** Re-Do Operation */
+ operationType?: OperationType;
+};
-/**
- * Optional Parameters.
- */
-export interface ProtectableContainersListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Azure Sql workload-specific container. */
+export type AzureSqlContainer = ProtectionContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType: "AzureSqlContainer";
+};
-/**
- * Optional Parameters.
- */
-export interface ProtectableContainersListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Azure Storage Account workload-specific container. */
+export type AzureStorageContainer = ProtectionContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType: "StorageContainer";
+ /** Fully qualified ARM url. */
+ sourceResourceId?: string;
+ /** Storage account version. */
+ storageAccountVersion?: string;
+ /** Resource group name of Recovery Services Vault. */
+ resourceGroup?: string;
+ /** Number of items backed up in this container. */
+ protectedItemCount?: number;
+ /** Whether storage account lock is to be acquired for this container or not. */
+ acquireStorageAccountLock?: AcquireStorageAccountLock;
+};
-/**
- * Optional Parameters.
- */
-export interface ProtectionContainersInquireOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Base class for generic container of backup items */
+export type GenericContainer = ProtectionContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType: "GenericContainer";
+ /** Name of the container's fabric */
+ fabricName?: string;
+ /** Extended information (not returned in List container API calls) */
+ extendedInformation?: GenericContainerExtendedInfo;
+};
-/**
- * Optional Parameters.
- */
-export interface ProtectionContainersRefreshOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Container with items backed up using MAB backup engine. */
+export type MabContainer = ProtectionContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType: "Windows";
+ /** Can the container be registered one more time. */
+ canReRegister?: boolean;
+ /** ContainerID represents the container. */
+ containerId?: number;
+ /** Number of items backed up in this container. */
+ protectedItemCount?: number;
+ /** Agent version of this container. */
+ agentVersion?: string;
+ /** Additional information for this container */
+ extendedInfo?: MabContainerExtendedInfo;
+ /** Health details on this mab container. */
+ mabContainerHealthDetails?: MABContainerHealthDetails[];
+ /** Health state of mab container. */
+ containerHealthState?: string;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupWorkloadItemsListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** Azure VM workload-specific workload item. */
+export type AzureVmWorkloadItem = WorkloadItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ workloadItemType:
+ | "AzureVmWorkloadItem"
+ | "SAPAseDatabase"
+ | "SAPAseSystem"
+ | "SAPHanaDatabase"
+ | "SAPHanaSystem"
+ | "SQLDataBase"
+ | "SQLInstance";
+ /** Name for instance or AG */
+ parentName?: string;
+ /** Host/Cluster Name for instance or AG */
+ serverName?: string;
+ /** Indicates if workload item is auto-protectable */
+ isAutoProtectable?: boolean;
+ /** For instance or AG, indicates number of DB's present */
+ subinquireditemcount?: number;
+ /** For instance or AG, indicates number of DB's to be protected */
+ subWorkloadItemCount?: number;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupWorkloadItemsListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** AzureFileShare workload-specific backup request. */
+export type AzureFileShareBackupRequest = BackupRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureFileShareBackupRequest";
+ /** Backup copy will expire after the time specified (UTC). */
+ recoveryPointExpiryTimeInUTC?: Date;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupProtectableItemsListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** AzureWorkload workload-specific backup request. */
+export type AzureWorkloadBackupRequest = BackupRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureWorkloadBackupRequest";
+ /** Type of backup, viz. Full, Differential, Log or CopyOnlyFull */
+ backupType?: BackupType;
+ /** Bool for Compression setting */
+ enableCompression?: boolean;
+ /** Backup copy will expire after the time specified (UTC). */
+ recoveryPointExpiryTimeInUTC?: Date;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupProtectableItemsListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** IaaS VM workload-specific backup request. */
+export type IaasVMBackupRequest = BackupRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "IaasVMBackupRequest";
+ /** Backup copy will expire after the time specified (UTC). */
+ recoveryPointExpiryTimeInUTC?: Date;
+};
+
+/** Update snapshot Uri with the correct friendly Name of the source Azure file share. */
+export type AzureFileShareProvisionILRRequest = ILRRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureFileShareProvisionILRRequest";
+ /** Recovery point ID. */
+ recoveryPointId?: string;
+ /** Source Storage account ARM Id */
+ sourceResourceId?: string;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupProtectionContainersListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Restore files/folders from a backup copy of IaaS VM. */
+export type IaasVmilrRegistrationRequest = ILRRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "IaasVMILRRegistrationRequest";
+ /** ID of the IaaS VM backup copy from where the files/folders have to be restored. */
+ recoveryPointId?: string;
+ /** Fully qualified ARM ID of the virtual machine whose the files / folders have to be restored. */
+ virtualMachineId?: string;
+ /** iSCSI initiator name. */
+ initiatorName?: string;
+ /** Whether to renew existing registration with the iSCSI server. */
+ renewExistingRegistration?: boolean;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupProtectionContainersListNextOptionalParams
- extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Protectable item for Azure Fileshare workloads. */
+export type AzureFileShareProtectableItem = WorkloadProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType: "AzureFileShare";
+ /** Full Fabric ID of container to which this protectable item belongs. For example, ARM ID. */
+ parentContainerFabricId?: string;
+ /** Friendly name of container to which this protectable item belongs. */
+ parentContainerFriendlyName?: string;
+ /** File Share type XSync or XSMB. */
+ azureFileShareType?: AzureFileShareType;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupUsageSummariesCRRListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** IaaS VM workload-specific backup item. */
+export type IaaSVMProtectableItem = WorkloadProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType:
+ | "IaaSVMProtectableItem"
+ | "Microsoft.ClassicCompute/virtualMachines"
+ | "Microsoft.Compute/virtualMachines";
+ /** Fully qualified ARM ID of the virtual machine. */
+ virtualMachineId?: string;
+ /** Specifies whether the container represents a Classic or an Azure Resource Manager VM. */
+ virtualMachineVersion?: string;
+ /** Resource group name of Recovery Services Vault. */
+ resourceGroup?: string;
+};
-/**
- * Optional Parameters.
- */
-export interface AadPropertiesGetOptionalParams extends msRest.RequestOptionsBase {
+/** Azure VM workload-specific protectable item. */
+export type AzureVmWorkloadProtectableItem = WorkloadProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType:
+ | "AzureVmWorkloadProtectableItem"
+ | "SAPAseSystem"
+ | "SAPHanaDatabase"
+ | "SAPHanaSystem"
+ | "SQLAvailabilityGroupContainer"
+ | "SQLDataBase"
+ | "SQLInstance";
+ /** Name for instance or AG */
+ parentName?: string;
/**
- * OData filter options.
+ * Parent Unique Name is added to provide the service formatted URI Name of the Parent
+ * Only Applicable for data bases where the parent would be either Instance or a SQL AG.
*/
- filter?: string;
-}
+ parentUniqueName?: string;
+ /** Host/Cluster Name for instance or AG */
+ serverName?: string;
+ /** Indicates if protectable item is auto-protectable */
+ isAutoProtectable?: boolean;
+ /** Indicates if protectable item is auto-protected */
+ isAutoProtected?: boolean;
+ /** For instance or AG, indicates number of DB's present */
+ subinquireditemcount?: number;
+ /** For instance or AG, indicates number of DB's to be protected */
+ subprotectableitemcount?: number;
+ /** Pre-backup validation for protectable objects */
+ prebackupvalidation?: PreBackupValidation;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupCrrJobsListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** Azure IaaS VM workload-specific Health Details. */
+export type AzureIaaSVMHealthDetails = ResourceHealthDetails & {};
-/**
- * Optional Parameters.
- */
-export interface BackupCrrJobsListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** Log policy schedule. */
+export type LogSchedulePolicy = SchedulePolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ schedulePolicyType: "LogSchedulePolicy";
+ /** Frequency of the log schedule operation of this policy in minutes. */
+ scheduleFrequencyInMins?: number;
+};
-/**
- * Optional Parameters.
- */
-export interface RecoveryPointsCrrListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Long term policy schedule. */
+export type LongTermSchedulePolicy = SchedulePolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ schedulePolicyType: "LongTermSchedulePolicy";
+};
-/**
- * Optional Parameters.
- */
-export interface RecoveryPointsCrrListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
-}
+/** Simple policy schedule. */
+export type SimpleSchedulePolicy = SchedulePolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ schedulePolicyType: "SimpleSchedulePolicy";
+ /** Frequency of the schedule operation of this policy. */
+ scheduleRunFrequency?: ScheduleRunType;
+ /** List of days of week this schedule has to be run. */
+ scheduleRunDays?: DayOfWeek[];
+ /** List of times of day this schedule has to be run. */
+ scheduleRunTimes?: Date[];
+ /** Hourly Schedule of this Policy */
+ hourlySchedule?: HourlySchedule;
+ /** At every number weeks this schedule has to be run. */
+ scheduleWeeklyFrequency?: number;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupProtectedItemsCrrListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** Long term retention policy. */
+export type LongTermRetentionPolicy = RetentionPolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ retentionPolicyType: "LongTermRetentionPolicy";
+ /** Daily retention schedule of the protection policy. */
+ dailySchedule?: DailyRetentionSchedule;
+ /** Weekly retention schedule of the protection policy. */
+ weeklySchedule?: WeeklyRetentionSchedule;
+ /** Monthly retention schedule of the protection policy. */
+ monthlySchedule?: MonthlyRetentionSchedule;
+ /** Yearly retention schedule of the protection policy. */
+ yearlySchedule?: YearlyRetentionSchedule;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupProtectedItemsCrrListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** Simple policy retention. */
+export type SimpleRetentionPolicy = RetentionPolicy & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ retentionPolicyType: "SimpleRetentionPolicy";
+ /** Retention duration of the protection policy. */
+ retentionDuration?: RetentionDuration;
+};
-/**
- * Optional Parameters.
- */
-export interface BackupProtectionIntentListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** RecoveryPoint Tier Information V2 */
+export type RecoveryPointTierInformationV2 = RecoveryPointTierInformation & {};
-/**
- * Optional Parameters.
- */
-export interface BackupProtectionIntentListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** Azure Recovery Services Vault specific protection intent item. */
+export type AzureWorkloadAutoProtectionIntent = AzureRecoveryServiceVaultProtectionIntent & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectionIntentItemType:
+ | "AzureWorkloadAutoProtectionIntent"
+ | "AzureWorkloadSQLAutoProtectionIntent";
+};
-/**
- * Optional Parameters.
- */
-export interface BackupUsageSummariesListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * OData filter options.
- */
- filter?: string;
- /**
- * skipToken Filter.
- */
- skipToken?: string;
-}
+/** IaaS VM workload-specific backup item representing the Classic Compute VM. */
+export type AzureIaaSClassicComputeVMProtectedItem = AzureIaaSVMProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType: "Microsoft.ClassicCompute/virtualMachines";
+};
-/**
- * An interface representing RecoveryServicesBackupClientOptions.
- */
-export interface RecoveryServicesBackupClientOptions extends AzureServiceClientOptions {
- baseUri?: string;
-}
+/** IaaS VM workload-specific backup item representing the Azure Resource Manager VM. */
+export type AzureIaaSComputeVMProtectedItem = AzureIaaSVMProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType: "Microsoft.Compute/virtualMachines";
+};
-/**
- * @interface
- * List of RecoveryPoint resources
- * @extends Array, ResourceList
- */
-export interface RecoveryPointResourceList extends Array, ResourceList {}
+/** Azure VM workload-specific protected item representing SAP ASE Database. */
+export type AzureVmWorkloadSAPAseDatabaseProtectedItem = AzureVmWorkloadProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType: "AzureVmWorkloadSAPAseDatabase";
+};
-/**
- * @interface
- * List of ProtectionPolicy resources
- * @extends Array, ResourceList
- */
-export interface ProtectionPolicyResourceList
- extends Array,
- ResourceList {}
+/** Azure VM workload-specific protected item representing SAP HANA Database. */
+export type AzureVmWorkloadSAPHanaDatabaseProtectedItem = AzureVmWorkloadProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType: "AzureVmWorkloadSAPHanaDatabase";
+};
-/**
- * @interface
- * List of Job resources
- * @extends Array, ResourceList
- */
-export interface JobResourceList extends Array, ResourceList {}
+/** Azure VM workload-specific protected item representing SQL Database. */
+export type AzureVmWorkloadSQLDatabaseProtectedItem = AzureVmWorkloadProtectedItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectedItemType: "AzureVmWorkloadSQLDatabase";
+};
-/**
- * @interface
- * List of ProtectedItem resources
- * @extends Array, ResourceList
- */
-export interface ProtectedItemResourceList extends Array, ResourceList {}
+/** Recovery point specific to PointInTime */
+export type AzureWorkloadPointInTimeRecoveryPoint = AzureWorkloadRecoveryPoint & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureWorkloadPointInTimeRecoveryPoint"
+ | "AzureWorkloadSAPHanaPointInTimeRecoveryPoint";
+ /** List of log ranges */
+ timeRanges?: PointInTimeRange[];
+};
-/**
- * @interface
- * List of BackupEngineBase resources
- * @extends Array, ResourceList
- */
-export interface BackupEngineBaseResourceList
- extends Array,
- ResourceList {}
+/** SAPHana specific recoverypoint, specifically encapsulates full/diff recoverypoints */
+export type AzureWorkloadSAPHanaRecoveryPoint = AzureWorkloadRecoveryPoint & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureWorkloadSAPHanaRecoveryPoint";
+};
-/**
- * @interface
- * List of ProtectableContainer resources
- * @extends Array, ResourceList
- */
-export interface ProtectableContainerResourceList
- extends Array,
- ResourceList {}
+/** SQL specific recoverypoint, specifically encapsulates full/diff recoverypoint along with extended info */
+export type AzureWorkloadSQLRecoveryPoint = AzureWorkloadRecoveryPoint & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureWorkloadSQLRecoveryPoint"
+ | "AzureWorkloadSQLPointInTimeRecoveryPoint";
+ /**
+ * Extended Info that provides data directory details. Will be populated in two cases:
+ * When a specific recovery point is accessed using GetRecoveryPoint
+ * Or when ListRecoveryPoints is called for Log RP only with ExtendedInfo query filter
+ */
+ extendedInfo?: AzureWorkloadSQLRecoveryPointExtendedInfo;
+};
-/**
- * @interface
- * List of WorkloadItem resources
- * @extends Array, ResourceList
- */
-export interface WorkloadItemResourceList extends Array, ResourceList {}
+/** AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log restore */
+export type AzureWorkloadPointInTimeRestoreRequest = AzureWorkloadRestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureWorkloadPointInTimeRestoreRequest";
+ /** PointInTime value */
+ pointInTime?: Date;
+};
-/**
- * @interface
- * List of WorkloadProtectableItem resources
- * @extends Array, ResourceList
- */
-export interface WorkloadProtectableItemResourceList
- extends Array,
- ResourceList {}
+/** AzureWorkload SAP Hana-specific restore. */
+export type AzureWorkloadSAPHanaRestoreRequest = AzureWorkloadRestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureWorkloadSAPHanaRestoreRequest"
+ | "AzureWorkloadSAPHanaPointInTimeRestoreRequest"
+ | "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest"
+ | "AzureWorkloadSAPHanaRestoreWithRehydrateRequest";
+};
-/**
- * @interface
- * List of ProtectionContainer resources
- * @extends Array, ResourceList
- */
-export interface ProtectionContainerResourceList
- extends Array,
- ResourceList {}
+/** AzureWorkload SQL -specific restore. Specifically for full/diff restore */
+export type AzureWorkloadSQLRestoreRequest = AzureWorkloadRestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureWorkloadSQLRestoreRequest"
+ | "AzureWorkloadSQLPointInTimeRestoreRequest"
+ | "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest"
+ | "AzureWorkloadSQLRestoreWithRehydrateRequest";
+ /** Default option set to true. If this is set to false, alternate data directory must be provided */
+ shouldUseAlternateTargetLocation?: boolean;
+ /** SQL specific property where user can chose to set no-recovery when restore operation is tried */
+ isNonRecoverable?: boolean;
+ /** Data directory details */
+ alternateDirectoryPaths?: SQLDataDirectoryMapping[];
+};
-/**
- * @interface
- * Backup management usage for vault.
- * @extends Array
- */
-export interface BackupManagementUsageList extends Array {}
+/** IaaS VM workload-specific restore with integrated rehydration of recovery point. */
+export type IaasVMRestoreWithRehydrationRequest = IaasVMRestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "IaasVMRestoreWithRehydrationRequest";
+ /** RP Rehydration Info */
+ recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
+};
-/**
- * @interface
- * List of ProtectionIntent resources
- * @extends Array, ResourceList
- */
-export interface ProtectionIntentResourceList
- extends Array,
- ResourceList {}
+/** AzureRestoreValidation request. */
+export type ValidateIaasVMRestoreOperationRequest = ValidateRestoreOperationRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "ValidateIaasVMRestoreOperationRequest";
+};
-/**
- * @interface
- * Operations List response which contains list of available APIs.
- * @extends Array
- */
-export interface ClientDiscoveryResponse extends Array {
- /**
- * Link to the next chunk of Response.
- */
- nextLink?: string;
-}
+/** AzureBackupServer (DPMVenus) workload-specific protection container. */
+export type AzureBackupServerContainer = DpmContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType: "AzureBackupServerContainer";
+};
-/**
- * Defines values for EncryptionAtRestType.
- * Possible values include: 'Invalid', 'MicrosoftManaged', 'CustomerManaged'
- * @readonly
- * @enum {string}
- */
-export type EncryptionAtRestType = "Invalid" | "MicrosoftManaged" | "CustomerManaged";
+/** IaaS VM workload-specific backup item representing a classic virtual machine. */
+export type AzureIaaSClassicComputeVMContainer = IaaSVMContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType: "Microsoft.ClassicCompute/virtualMachines";
+};
-/**
- * Defines values for LastUpdateStatus.
- * Possible values include: 'Invalid', 'NotEnabled', 'PartiallySucceeded', 'PartiallyFailed',
- * 'Failed', 'Succeeded'
- * @readonly
- * @enum {string}
- */
-export type LastUpdateStatus =
- | "Invalid"
- | "NotEnabled"
- | "PartiallySucceeded"
- | "PartiallyFailed"
- | "Failed"
- | "Succeeded";
+/** IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine. */
+export type AzureIaaSComputeVMContainer = IaaSVMContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType: "Microsoft.Compute/virtualMachines";
+};
-/**
- * Defines values for InfrastructureEncryptionState.
- * Possible values include: 'Invalid', 'Disabled', 'Enabled'
- * @readonly
- * @enum {string}
- */
-export type InfrastructureEncryptionState = "Invalid" | "Disabled" | "Enabled";
+/** Container for SQL workloads under SQL Availability Group. */
+export type AzureSqlagWorkloadContainerProtectionContainer = AzureWorkloadContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType: "SQLAGWorkLoadContainer";
+};
-/**
- * Defines values for ProvisioningState.
- * Possible values include: 'Succeeded', 'Deleting', 'Failed', 'Pending'
- * @readonly
- * @enum {string}
- */
-export type ProvisioningState = "Succeeded" | "Deleting" | "Failed" | "Pending";
+/** Container for SQL workloads under Azure Virtual Machines. */
+export type AzureVMAppContainerProtectionContainer = AzureWorkloadContainer & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ containerType: "VMAppContainer";
+};
-/**
- * Defines values for PrivateEndpointConnectionStatus.
- * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
- * @readonly
- * @enum {string}
- */
-export type PrivateEndpointConnectionStatus = "Pending" | "Approved" | "Rejected" | "Disconnected";
+/** Azure VM workload-specific workload item representing SAP ASE Database. */
+export type AzureVmWorkloadSAPAseDatabaseWorkloadItem = AzureVmWorkloadItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ workloadItemType: "SAPAseDatabase";
+};
-/**
- * Defines values for ProtectionState.
- * Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError',
- * 'ProtectionStopped', 'ProtectionPaused'
- * @readonly
- * @enum {string}
- */
-export type ProtectionState =
- | "Invalid"
- | "IRPending"
- | "Protected"
- | "ProtectionError"
- | "ProtectionStopped"
- | "ProtectionPaused";
+/** Azure VM workload-specific workload item representing SAP ASE System. */
+export type AzureVmWorkloadSAPAseSystemWorkloadItem = AzureVmWorkloadItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ workloadItemType: "SAPAseSystem";
+};
-/**
- * Defines values for ResourceHealthStatus.
- * Possible values include: 'Healthy', 'TransientDegraded', 'PersistentDegraded',
- * 'TransientUnhealthy', 'PersistentUnhealthy', 'Invalid'
- * @readonly
- * @enum {string}
- */
-export type ResourceHealthStatus =
- | "Healthy"
- | "TransientDegraded"
- | "PersistentDegraded"
- | "TransientUnhealthy"
- | "PersistentUnhealthy"
- | "Invalid";
+/** Azure VM workload-specific workload item representing SAP HANA Database. */
+export type AzureVmWorkloadSAPHanaDatabaseWorkloadItem = AzureVmWorkloadItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ workloadItemType: "SAPHanaDatabase";
+};
-/**
- * Defines values for HealthStatus.
- * Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid'
- * @readonly
- * @enum {string}
- */
-export type HealthStatus = "Passed" | "ActionRequired" | "ActionSuggested" | "Invalid";
+/** Azure VM workload-specific workload item representing SAP HANA System. */
+export type AzureVmWorkloadSAPHanaSystemWorkloadItem = AzureVmWorkloadItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ workloadItemType: "SAPHanaSystem";
+};
-/**
- * Defines values for RecoveryType.
- * Possible values include: 'Invalid', 'OriginalLocation', 'AlternateLocation', 'RestoreDisks',
- * 'Offline'
- * @readonly
- * @enum {string}
- */
-export type RecoveryType =
- | "Invalid"
- | "OriginalLocation"
- | "AlternateLocation"
- | "RestoreDisks"
- | "Offline";
+/** Azure VM workload-specific workload item representing SQL Database. */
+export type AzureVmWorkloadSQLDatabaseWorkloadItem = AzureVmWorkloadItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ workloadItemType: "SQLDataBase";
+};
-/**
- * Defines values for CopyOptions.
- * Possible values include: 'Invalid', 'CreateCopy', 'Skip', 'Overwrite', 'FailOnConflict'
- * @readonly
- * @enum {string}
- */
-export type CopyOptions = "Invalid" | "CreateCopy" | "Skip" | "Overwrite" | "FailOnConflict";
+/** Azure VM workload-specific workload item representing SQL Instance. */
+export type AzureVmWorkloadSQLInstanceWorkloadItem = AzureVmWorkloadItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ workloadItemType: "SQLInstance";
+ /** Data Directory Paths for default directories */
+ dataDirectoryPaths?: SQLDataDirectory[];
+};
-/**
- * Defines values for RestoreRequestType.
- * Possible values include: 'Invalid', 'FullShareRestore', 'ItemLevelRestore'
- * @readonly
- * @enum {string}
- */
-export type RestoreRequestType = "Invalid" | "FullShareRestore" | "ItemLevelRestore";
+/** IaaS VM workload-specific backup item representing the Classic Compute VM. */
+export type AzureIaaSClassicComputeVMProtectableItem = IaaSVMProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType: "Microsoft.ClassicCompute/virtualMachines";
+};
-/**
- * Defines values for WorkloadType.
- * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange',
- * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase',
- * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- * @readonly
- * @enum {string}
- */
-export type WorkloadType =
- | "Invalid"
- | "VM"
- | "FileFolder"
- | "AzureSqlDb"
- | "SQLDB"
- | "Exchange"
- | "Sharepoint"
- | "VMwareVM"
- | "SystemState"
- | "Client"
- | "GenericDataSource"
- | "SQLDataBase"
- | "AzureFileShare"
- | "SAPHanaDatabase"
- | "SAPAseDatabase";
+/** IaaS VM workload-specific backup item representing the Azure Resource Manager VM. */
+export type AzureIaaSComputeVMProtectableItem = IaaSVMProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType: "Microsoft.Compute/virtualMachines";
+};
-/**
- * Defines values for PolicyType.
- * Possible values include: 'Invalid', 'Full', 'Differential', 'Log', 'CopyOnlyFull', 'Incremental'
- * @readonly
- * @enum {string}
- */
-export type PolicyType =
- | "Invalid"
- | "Full"
- | "Differential"
- | "Log"
- | "CopyOnlyFull"
- | "Incremental";
+/** Azure VM workload-specific protectable item representing SAP ASE System. */
+export type AzureVmWorkloadSAPAseSystemProtectableItem = AzureVmWorkloadProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType: "SAPAseSystem";
+};
-/**
- * Defines values for JobSupportedAction.
- * Possible values include: 'Invalid', 'Cancellable', 'Retriable'
- * @readonly
- * @enum {string}
- */
-export type JobSupportedAction = "Invalid" | "Cancellable" | "Retriable";
+/** Azure VM workload-specific protectable item representing SAP HANA Database. */
+export type AzureVmWorkloadSAPHanaDatabaseProtectableItem = AzureVmWorkloadProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType: "SAPHanaDatabase";
+};
-/**
- * Defines values for ProtectedItemState.
- * Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError',
- * 'ProtectionStopped', 'ProtectionPaused'
- * @readonly
- * @enum {string}
- */
-export type ProtectedItemState =
- | "Invalid"
- | "IRPending"
- | "Protected"
- | "ProtectionError"
- | "ProtectionStopped"
- | "ProtectionPaused";
+/** Azure VM workload-specific protectable item representing SAP HANA System. */
+export type AzureVmWorkloadSAPHanaSystemProtectableItem = AzureVmWorkloadProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType: "SAPHanaSystem";
+};
-/**
- * Defines values for LastBackupStatus.
- * Possible values include: 'Invalid', 'Healthy', 'Unhealthy', 'IRPending'
- * @readonly
- * @enum {string}
- */
-export type LastBackupStatus = "Invalid" | "Healthy" | "Unhealthy" | "IRPending";
+/** Azure VM workload-specific protectable item representing SQL Availability Group. */
+export type AzureVmWorkloadSQLAvailabilityGroupProtectableItem = AzureVmWorkloadProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType: "SQLAvailabilityGroupContainer";
+};
-/**
- * Defines values for ProtectedItemHealthStatus.
- * Possible values include: 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
- * @readonly
- * @enum {string}
- */
-export type ProtectedItemHealthStatus =
- | "Invalid"
- | "Healthy"
- | "Unhealthy"
- | "NotReachable"
- | "IRPending";
+/** Azure VM workload-specific protectable item representing SQL Database. */
+export type AzureVmWorkloadSQLDatabaseProtectableItem = AzureVmWorkloadProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType: "SQLDataBase";
+};
-/**
- * Defines values for RestorePointType.
- * Possible values include: 'Invalid', 'Full', 'Log', 'Differential', 'Incremental'
- * @readonly
- * @enum {string}
- */
-export type RestorePointType = "Invalid" | "Full" | "Log" | "Differential" | "Incremental";
+/** Azure VM workload-specific protectable item representing SQL Instance. */
+export type AzureVmWorkloadSQLInstanceProtectableItem = AzureVmWorkloadProtectableItem & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectableItemType: "SQLInstance";
+};
-/**
- * Defines values for RecoveryPointTierType.
- * Possible values include: 'Invalid', 'InstantRP', 'HardenedRP', 'ArchivedRP'
- * @readonly
- * @enum {string}
- */
-export type RecoveryPointTierType = "Invalid" | "InstantRP" | "HardenedRP" | "ArchivedRP";
+/** Azure Workload SQL Auto Protection intent item. */
+export type AzureWorkloadSQLAutoProtectionIntent = AzureWorkloadAutoProtectionIntent & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ protectionIntentItemType: "AzureWorkloadSQLAutoProtectionIntent";
+ /** Workload item type of the item for which intent is to be set */
+ workloadItemType?: WorkloadItemType;
+};
-/**
- * Defines values for RecoveryPointTierStatus.
- * Possible values include: 'Invalid', 'Valid', 'Disabled', 'Deleted', 'Rehydrated'
- * @readonly
- * @enum {string}
- */
-export type RecoveryPointTierStatus = "Invalid" | "Valid" | "Disabled" | "Deleted" | "Rehydrated";
+/** Recovery point specific to PointInTime in SAPHana */
+export type AzureWorkloadSAPHanaPointInTimeRecoveryPoint = AzureWorkloadPointInTimeRecoveryPoint & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint";
+};
-/**
- * Defines values for OverwriteOptions.
- * Possible values include: 'Invalid', 'FailOnConflict', 'Overwrite'
- * @readonly
- * @enum {string}
- */
-export type OverwriteOptions = "Invalid" | "FailOnConflict" | "Overwrite";
+/** Recovery point specific to PointInTime */
+export type AzureWorkloadSQLPointInTimeRecoveryPoint = AzureWorkloadSQLRecoveryPoint & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureWorkloadSQLPointInTimeRecoveryPoint";
+ /** List of log ranges */
+ timeRanges?: PointInTimeRange[];
+};
-/**
- * Defines values for RecoveryMode.
- * Possible values include: 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- * @readonly
- * @enum {string}
- */
-export type RecoveryMode = "Invalid" | "FileRecovery" | "WorkloadRecovery";
+/** AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log restore */
+export type AzureWorkloadSAPHanaPointInTimeRestoreRequest = AzureWorkloadSAPHanaRestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureWorkloadSAPHanaPointInTimeRestoreRequest"
+ | "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest";
+ /** PointInTime value */
+ pointInTime?: Date;
+};
-/**
- * Defines values for SQLDataDirectoryType.
- * Possible values include: 'Invalid', 'Data', 'Log'
- * @readonly
- * @enum {string}
- */
-export type SQLDataDirectoryType = "Invalid" | "Data" | "Log";
+/** AzureWorkload SAP Hana-specific restore with integrated rehydration of recovery point. */
+export type AzureWorkloadSAPHanaRestoreWithRehydrateRequest = AzureWorkloadSAPHanaRestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureWorkloadSAPHanaRestoreWithRehydrateRequest";
+ /** RP Rehydration Info */
+ recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
+};
-/**
- * Defines values for RestorePointQueryType.
- * Possible values include: 'Invalid', 'Full', 'Log', 'Differential', 'FullAndDifferential', 'All',
- * 'Incremental'
- * @readonly
- * @enum {string}
- */
-export type RestorePointQueryType =
- | "Invalid"
- | "Full"
- | "Log"
- | "Differential"
- | "FullAndDifferential"
- | "All"
- | "Incremental";
+/** AzureWorkload SQL -specific restore. Specifically for PointInTime/Log restore */
+export type AzureWorkloadSQLPointInTimeRestoreRequest = AzureWorkloadSQLRestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType:
+ | "AzureWorkloadSQLPointInTimeRestoreRequest"
+ | "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest";
+ /** PointInTime value */
+ pointInTime?: Date;
+};
-/**
- * Defines values for RetentionDurationType.
- * Possible values include: 'Invalid', 'Days', 'Weeks', 'Months', 'Years'
- * @readonly
- * @enum {string}
- */
-export type RetentionDurationType = "Invalid" | "Days" | "Weeks" | "Months" | "Years";
+/** AzureWorkload SQL-specific restore with integrated rehydration of recovery point */
+export type AzureWorkloadSQLRestoreWithRehydrateRequest = AzureWorkloadSQLRestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureWorkloadSQLRestoreWithRehydrateRequest";
+ /** RP Rehydration Info */
+ recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
+};
-/**
- * Defines values for BackupManagementType.
- * Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer',
- * 'AzureSql', 'AzureStorage', 'AzureWorkload', 'DefaultBackup'
- * @readonly
- * @enum {string}
- */
-export type BackupManagementType =
- | "Invalid"
- | "AzureIaasVM"
- | "MAB"
- | "DPM"
- | "AzureBackupServer"
- | "AzureSql"
- | "AzureStorage"
- | "AzureWorkload"
- | "DefaultBackup";
+/** AzureWorkload SAP Hana-specific restore with integrated rehydration of recovery point. */
+export type AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest = AzureWorkloadSAPHanaPointInTimeRestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest";
+ /** RP Rehydration Info */
+ recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
+};
-/**
- * Defines values for JobStatus.
- * Possible values include: 'Invalid', 'InProgress', 'Completed', 'Failed',
- * 'CompletedWithWarnings', 'Cancelled', 'Cancelling'
- * @readonly
- * @enum {string}
- */
-export type JobStatus =
- | "Invalid"
- | "InProgress"
- | "Completed"
- | "Failed"
- | "CompletedWithWarnings"
- | "Cancelled"
- | "Cancelling";
+/** AzureWorkload SQL-specific restore with integrated rehydration of recovery point. */
+export type AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest = AzureWorkloadSQLPointInTimeRestoreRequest & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ objectType: "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest";
+ /** RP Rehydration Info */
+ recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
+};
-/**
- * Defines values for JobOperationType.
- * Possible values include: 'Invalid', 'Register', 'UnRegister', 'ConfigureBackup', 'Backup',
- * 'Restore', 'DisableBackup', 'DeleteBackupData', 'CrossRegionRestore', 'Undelete',
- * 'UpdateCustomerManagedKey'
- * @readonly
- * @enum {string}
+/** Known values of {@link StorageType} that the service accepts. */
+export enum KnownStorageType {
+ Invalid = "Invalid",
+ GeoRedundant = "GeoRedundant",
+ LocallyRedundant = "LocallyRedundant",
+ ZoneRedundant = "ZoneRedundant",
+ ReadAccessGeoZoneRedundant = "ReadAccessGeoZoneRedundant"
+}
+
+/**
+ * Defines values for StorageType. \
+ * {@link KnownStorageType} can be used interchangeably with StorageType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **GeoRedundant** \
+ * **LocallyRedundant** \
+ * **ZoneRedundant** \
+ * **ReadAccessGeoZoneRedundant**
+ */
+export type StorageType = string;
+
+/** Known values of {@link StorageTypeState} that the service accepts. */
+export enum KnownStorageTypeState {
+ Invalid = "Invalid",
+ Locked = "Locked",
+ Unlocked = "Unlocked"
+}
+
+/**
+ * Defines values for StorageTypeState. \
+ * {@link KnownStorageTypeState} can be used interchangeably with StorageTypeState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Locked** \
+ * **Unlocked**
+ */
+export type StorageTypeState = string;
+
+/** Known values of {@link DedupState} that the service accepts. */
+export enum KnownDedupState {
+ Invalid = "Invalid",
+ Enabled = "Enabled",
+ Disabled = "Disabled"
+}
+
+/**
+ * Defines values for DedupState. \
+ * {@link KnownDedupState} can be used interchangeably with DedupState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Enabled** \
+ * **Disabled**
+ */
+export type DedupState = string;
+
+/** Known values of {@link XcoolState} that the service accepts. */
+export enum KnownXcoolState {
+ Invalid = "Invalid",
+ Enabled = "Enabled",
+ Disabled = "Disabled"
+}
+
+/**
+ * Defines values for XcoolState. \
+ * {@link KnownXcoolState} can be used interchangeably with XcoolState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Enabled** \
+ * **Disabled**
+ */
+export type XcoolState = string;
+
+/** Known values of {@link DataSourceType} that the service accepts. */
+export enum KnownDataSourceType {
+ Invalid = "Invalid",
+ VM = "VM",
+ FileFolder = "FileFolder",
+ AzureSqlDb = "AzureSqlDb",
+ Sqldb = "SQLDB",
+ Exchange = "Exchange",
+ Sharepoint = "Sharepoint",
+ VMwareVM = "VMwareVM",
+ SystemState = "SystemState",
+ Client = "Client",
+ GenericDataSource = "GenericDataSource",
+ SQLDataBase = "SQLDataBase",
+ AzureFileShare = "AzureFileShare",
+ SAPHanaDatabase = "SAPHanaDatabase",
+ SAPAseDatabase = "SAPAseDatabase"
+}
+
+/**
+ * Defines values for DataSourceType. \
+ * {@link KnownDataSourceType} can be used interchangeably with DataSourceType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **VM** \
+ * **FileFolder** \
+ * **AzureSqlDb** \
+ * **SQLDB** \
+ * **Exchange** \
+ * **Sharepoint** \
+ * **VMwareVM** \
+ * **SystemState** \
+ * **Client** \
+ * **GenericDataSource** \
+ * **SQLDataBase** \
+ * **AzureFileShare** \
+ * **SAPHanaDatabase** \
+ * **SAPAseDatabase**
+ */
+export type DataSourceType = string;
+
+/** Known values of {@link ValidationStatus} that the service accepts. */
+export enum KnownValidationStatus {
+ Invalid = "Invalid",
+ Succeeded = "Succeeded",
+ Failed = "Failed"
+}
+
+/**
+ * Defines values for ValidationStatus. \
+ * {@link KnownValidationStatus} can be used interchangeably with ValidationStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Succeeded** \
+ * **Failed**
+ */
+export type ValidationStatus = string;
+
+/** Known values of {@link ProtectionStatus} that the service accepts. */
+export enum KnownProtectionStatus {
+ Invalid = "Invalid",
+ NotProtected = "NotProtected",
+ Protecting = "Protecting",
+ Protected = "Protected",
+ ProtectionFailed = "ProtectionFailed"
+}
+
+/**
+ * Defines values for ProtectionStatus. \
+ * {@link KnownProtectionStatus} can be used interchangeably with ProtectionStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **NotProtected** \
+ * **Protecting** \
+ * **Protected** \
+ * **ProtectionFailed**
+ */
+export type ProtectionStatus = string;
+
+/** Known values of {@link FabricName} that the service accepts. */
+export enum KnownFabricName {
+ Invalid = "Invalid",
+ Azure = "Azure"
+}
+
+/**
+ * Defines values for FabricName. \
+ * {@link KnownFabricName} can be used interchangeably with FabricName,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Azure**
+ */
+export type FabricName = string;
+
+/** Known values of {@link SupportStatus} that the service accepts. */
+export enum KnownSupportStatus {
+ Invalid = "Invalid",
+ Supported = "Supported",
+ DefaultOFF = "DefaultOFF",
+ DefaultON = "DefaultON",
+ NotSupported = "NotSupported"
+}
+
+/**
+ * Defines values for SupportStatus. \
+ * {@link KnownSupportStatus} can be used interchangeably with SupportStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Supported** \
+ * **DefaultOFF** \
+ * **DefaultON** \
+ * **NotSupported**
+ */
+export type SupportStatus = string;
+
+/** Known values of {@link ProtectionIntentItemType} that the service accepts. */
+export enum KnownProtectionIntentItemType {
+ Invalid = "Invalid",
+ AzureResourceItem = "AzureResourceItem",
+ RecoveryServiceVaultItem = "RecoveryServiceVaultItem",
+ AzureWorkloadContainerAutoProtectionIntent = "AzureWorkloadContainerAutoProtectionIntent"
+}
+
+/**
+ * Defines values for ProtectionIntentItemType. \
+ * {@link KnownProtectionIntentItemType} can be used interchangeably with ProtectionIntentItemType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **AzureResourceItem** \
+ * **RecoveryServiceVaultItem** \
+ * **AzureWorkloadContainerAutoProtectionIntent**
*/
-export type JobOperationType =
- | "Invalid"
- | "Register"
- | "UnRegister"
- | "ConfigureBackup"
- | "Backup"
- | "Restore"
- | "DisableBackup"
- | "DeleteBackupData"
- | "CrossRegionRestore"
- | "Undelete"
- | "UpdateCustomerManagedKey";
+export type ProtectionIntentItemType = string;
-/**
- * Defines values for DayOfWeek.
- * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday',
- * 'Saturday'
- * @readonly
- * @enum {string}
+/** Known values of {@link BackupManagementType} that the service accepts. */
+export enum KnownBackupManagementType {
+ Invalid = "Invalid",
+ AzureIaasVM = "AzureIaasVM",
+ MAB = "MAB",
+ DPM = "DPM",
+ AzureBackupServer = "AzureBackupServer",
+ AzureSql = "AzureSql",
+ AzureStorage = "AzureStorage",
+ AzureWorkload = "AzureWorkload",
+ DefaultBackup = "DefaultBackup"
+}
+
+/**
+ * Defines values for BackupManagementType. \
+ * {@link KnownBackupManagementType} can be used interchangeably with BackupManagementType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **AzureIaasVM** \
+ * **MAB** \
+ * **DPM** \
+ * **AzureBackupServer** \
+ * **AzureSql** \
+ * **AzureStorage** \
+ * **AzureWorkload** \
+ * **DefaultBackup**
+ */
+export type BackupManagementType = string;
+
+/** Known values of {@link UsagesUnit} that the service accepts. */
+export enum KnownUsagesUnit {
+ Count = "Count",
+ Bytes = "Bytes",
+ Seconds = "Seconds",
+ Percent = "Percent",
+ CountPerSecond = "CountPerSecond",
+ BytesPerSecond = "BytesPerSecond"
+}
+
+/**
+ * Defines values for UsagesUnit. \
+ * {@link KnownUsagesUnit} can be used interchangeably with UsagesUnit,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Count** \
+ * **Bytes** \
+ * **Seconds** \
+ * **Percent** \
+ * **CountPerSecond** \
+ * **BytesPerSecond**
+ */
+export type UsagesUnit = string;
+
+/** Known values of {@link EnhancedSecurityState} that the service accepts. */
+export enum KnownEnhancedSecurityState {
+ Invalid = "Invalid",
+ Enabled = "Enabled",
+ Disabled = "Disabled"
+}
+
+/**
+ * Defines values for EnhancedSecurityState. \
+ * {@link KnownEnhancedSecurityState} can be used interchangeably with EnhancedSecurityState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Enabled** \
+ * **Disabled**
+ */
+export type EnhancedSecurityState = string;
+
+/** Known values of {@link SoftDeleteFeatureState} that the service accepts. */
+export enum KnownSoftDeleteFeatureState {
+ Invalid = "Invalid",
+ Enabled = "Enabled",
+ Disabled = "Disabled"
+}
+
+/**
+ * Defines values for SoftDeleteFeatureState. \
+ * {@link KnownSoftDeleteFeatureState} can be used interchangeably with SoftDeleteFeatureState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Enabled** \
+ * **Disabled**
+ */
+export type SoftDeleteFeatureState = string;
+
+/** Known values of {@link EncryptionAtRestType} that the service accepts. */
+export enum KnownEncryptionAtRestType {
+ Invalid = "Invalid",
+ MicrosoftManaged = "MicrosoftManaged",
+ CustomerManaged = "CustomerManaged"
+}
+
+/**
+ * Defines values for EncryptionAtRestType. \
+ * {@link KnownEncryptionAtRestType} can be used interchangeably with EncryptionAtRestType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **MicrosoftManaged** \
+ * **CustomerManaged**
+ */
+export type EncryptionAtRestType = string;
+
+/** Known values of {@link LastUpdateStatus} that the service accepts. */
+export enum KnownLastUpdateStatus {
+ Invalid = "Invalid",
+ NotEnabled = "NotEnabled",
+ PartiallySucceeded = "PartiallySucceeded",
+ PartiallyFailed = "PartiallyFailed",
+ Failed = "Failed",
+ Succeeded = "Succeeded",
+ Initialized = "Initialized",
+ FirstInitialization = "FirstInitialization"
+}
+
+/**
+ * Defines values for LastUpdateStatus. \
+ * {@link KnownLastUpdateStatus} can be used interchangeably with LastUpdateStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **NotEnabled** \
+ * **PartiallySucceeded** \
+ * **PartiallyFailed** \
+ * **Failed** \
+ * **Succeeded** \
+ * **Initialized** \
+ * **FirstInitialization**
*/
-export type DayOfWeek =
- | "Sunday"
- | "Monday"
- | "Tuesday"
- | "Wednesday"
- | "Thursday"
- | "Friday"
- | "Saturday";
+export type LastUpdateStatus = string;
-/**
- * Defines values for RetentionScheduleFormat.
- * Possible values include: 'Invalid', 'Daily', 'Weekly'
- * @readonly
- * @enum {string}
- */
-export type RetentionScheduleFormat = "Invalid" | "Daily" | "Weekly";
+/** Known values of {@link InfrastructureEncryptionState} that the service accepts. */
+export enum KnownInfrastructureEncryptionState {
+ Invalid = "Invalid",
+ Disabled = "Disabled",
+ Enabled = "Enabled"
+}
/**
- * Defines values for WeekOfMonth.
- * Possible values include: 'First', 'Second', 'Third', 'Fourth', 'Last', 'Invalid'
- * @readonly
- * @enum {string}
+ * Defines values for InfrastructureEncryptionState. \
+ * {@link KnownInfrastructureEncryptionState} can be used interchangeably with InfrastructureEncryptionState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Disabled** \
+ * **Enabled**
*/
-export type WeekOfMonth = "First" | "Second" | "Third" | "Fourth" | "Last" | "Invalid";
+export type InfrastructureEncryptionState = string;
-/**
- * Defines values for MonthOfYear.
- * Possible values include: 'Invalid', 'January', 'February', 'March', 'April', 'May', 'June',
- * 'July', 'August', 'September', 'October', 'November', 'December'
- * @readonly
- * @enum {string}
- */
-export type MonthOfYear =
- | "Invalid"
- | "January"
- | "February"
- | "March"
- | "April"
- | "May"
- | "June"
- | "July"
- | "August"
- | "September"
- | "October"
- | "November"
- | "December";
+/** Known values of {@link ProvisioningState} that the service accepts. */
+export enum KnownProvisioningState {
+ Succeeded = "Succeeded",
+ Deleting = "Deleting",
+ Failed = "Failed",
+ Pending = "Pending"
+}
/**
- * Defines values for MabServerType.
- * Possible values include: 'Invalid', 'Unknown', 'IaasVMContainer', 'IaasVMServiceContainer',
- * 'DPMContainer', 'AzureBackupServerContainer', 'MABContainer', 'Cluster', 'AzureSqlContainer',
- * 'Windows', 'VCenter', 'VMAppContainer', 'SQLAGWorkLoadContainer', 'StorageContainer',
- * 'GenericContainer'
- * @readonly
- * @enum {string}
+ * Defines values for ProvisioningState. \
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Succeeded** \
+ * **Deleting** \
+ * **Failed** \
+ * **Pending**
*/
-export type MabServerType =
- | "Invalid"
- | "Unknown"
- | "IaasVMContainer"
- | "IaasVMServiceContainer"
- | "DPMContainer"
- | "AzureBackupServerContainer"
- | "MABContainer"
- | "Cluster"
- | "AzureSqlContainer"
- | "Windows"
- | "VCenter"
- | "VMAppContainer"
- | "SQLAGWorkLoadContainer"
- | "StorageContainer"
- | "GenericContainer";
+export type ProvisioningState = string;
+
+/** Known values of {@link PrivateEndpointConnectionStatus} that the service accepts. */
+export enum KnownPrivateEndpointConnectionStatus {
+ Pending = "Pending",
+ Approved = "Approved",
+ Rejected = "Rejected",
+ Disconnected = "Disconnected"
+}
+
+/**
+ * Defines values for PrivateEndpointConnectionStatus. \
+ * {@link KnownPrivateEndpointConnectionStatus} can be used interchangeably with PrivateEndpointConnectionStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Pending** \
+ * **Approved** \
+ * **Rejected** \
+ * **Disconnected**
+ */
+export type PrivateEndpointConnectionStatus = string;
+
+/** Known values of {@link OperationStatusValues} that the service accepts. */
+export enum KnownOperationStatusValues {
+ Invalid = "Invalid",
+ InProgress = "InProgress",
+ Succeeded = "Succeeded",
+ Failed = "Failed",
+ Canceled = "Canceled"
+}
+
+/**
+ * Defines values for OperationStatusValues. \
+ * {@link KnownOperationStatusValues} can be used interchangeably with OperationStatusValues,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **InProgress** \
+ * **Succeeded** \
+ * **Failed** \
+ * **Canceled**
+ */
+export type OperationStatusValues = string;
+
+/** Known values of {@link DataMoveLevel} that the service accepts. */
+export enum KnownDataMoveLevel {
+ Invalid = "Invalid",
+ Vault = "Vault",
+ Container = "Container"
+}
+
+/**
+ * Defines values for DataMoveLevel. \
+ * {@link KnownDataMoveLevel} can be used interchangeably with DataMoveLevel,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Vault** \
+ * **Container**
+ */
+export type DataMoveLevel = string;
+
+/** Known values of {@link CreateMode} that the service accepts. */
+export enum KnownCreateMode {
+ Invalid = "Invalid",
+ Default = "Default",
+ Recover = "Recover"
+}
+
+/**
+ * Defines values for CreateMode. \
+ * {@link KnownCreateMode} can be used interchangeably with CreateMode,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Default** \
+ * **Recover**
+ */
+export type CreateMode = string;
+
+/** Known values of {@link BackupEngineType} that the service accepts. */
+export enum KnownBackupEngineType {
+ Invalid = "Invalid",
+ DpmBackupEngine = "DpmBackupEngine",
+ AzureBackupServerEngine = "AzureBackupServerEngine"
+}
+
+/**
+ * Defines values for BackupEngineType. \
+ * {@link KnownBackupEngineType} can be used interchangeably with BackupEngineType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **DpmBackupEngine** \
+ * **AzureBackupServerEngine**
+ */
+export type BackupEngineType = string;
+
+/** Known values of {@link ContainerType} that the service accepts. */
+export enum KnownContainerType {
+ Invalid = "Invalid",
+ Unknown = "Unknown",
+ IaasVMContainer = "IaasVMContainer",
+ IaasVMServiceContainer = "IaasVMServiceContainer",
+ DPMContainer = "DPMContainer",
+ AzureBackupServerContainer = "AzureBackupServerContainer",
+ MABContainer = "MABContainer",
+ Cluster = "Cluster",
+ AzureSqlContainer = "AzureSqlContainer",
+ Windows = "Windows",
+ VCenter = "VCenter",
+ VMAppContainer = "VMAppContainer",
+ SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
+ StorageContainer = "StorageContainer",
+ GenericContainer = "GenericContainer"
+}
+
+/**
+ * Defines values for ContainerType. \
+ * {@link KnownContainerType} can be used interchangeably with ContainerType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Unknown** \
+ * **IaasVMContainer** \
+ * **IaasVMServiceContainer** \
+ * **DPMContainer** \
+ * **AzureBackupServerContainer** \
+ * **MABContainer** \
+ * **Cluster** \
+ * **AzureSqlContainer** \
+ * **Windows** \
+ * **VCenter** \
+ * **VMAppContainer** \
+ * **SQLAGWorkLoadContainer** \
+ * **StorageContainer** \
+ * **GenericContainer**
+ */
+export type ContainerType = string;
+
+/** Known values of {@link ProtectionState} that the service accepts. */
+export enum KnownProtectionState {
+ Invalid = "Invalid",
+ IRPending = "IRPending",
+ Protected = "Protected",
+ ProtectionError = "ProtectionError",
+ ProtectionStopped = "ProtectionStopped",
+ ProtectionPaused = "ProtectionPaused"
+}
+
+/**
+ * Defines values for ProtectionState. \
+ * {@link KnownProtectionState} can be used interchangeably with ProtectionState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **IRPending** \
+ * **Protected** \
+ * **ProtectionError** \
+ * **ProtectionStopped** \
+ * **ProtectionPaused**
+ */
+export type ProtectionState = string;
+
+/** Known values of {@link ResourceHealthStatus} that the service accepts. */
+export enum KnownResourceHealthStatus {
+ Healthy = "Healthy",
+ TransientDegraded = "TransientDegraded",
+ PersistentDegraded = "PersistentDegraded",
+ TransientUnhealthy = "TransientUnhealthy",
+ PersistentUnhealthy = "PersistentUnhealthy",
+ Invalid = "Invalid"
+}
+
+/**
+ * Defines values for ResourceHealthStatus. \
+ * {@link KnownResourceHealthStatus} can be used interchangeably with ResourceHealthStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Healthy** \
+ * **TransientDegraded** \
+ * **PersistentDegraded** \
+ * **TransientUnhealthy** \
+ * **PersistentUnhealthy** \
+ * **Invalid**
+ */
+export type ResourceHealthStatus = string;
+
+/** Known values of {@link RecoveryType} that the service accepts. */
+export enum KnownRecoveryType {
+ Invalid = "Invalid",
+ OriginalLocation = "OriginalLocation",
+ AlternateLocation = "AlternateLocation",
+ RestoreDisks = "RestoreDisks",
+ Offline = "Offline"
+}
+
+/**
+ * Defines values for RecoveryType. \
+ * {@link KnownRecoveryType} can be used interchangeably with RecoveryType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **OriginalLocation** \
+ * **AlternateLocation** \
+ * **RestoreDisks** \
+ * **Offline**
+ */
+export type RecoveryType = string;
+
+/** Known values of {@link CopyOptions} that the service accepts. */
+export enum KnownCopyOptions {
+ Invalid = "Invalid",
+ CreateCopy = "CreateCopy",
+ Skip = "Skip",
+ Overwrite = "Overwrite",
+ FailOnConflict = "FailOnConflict"
+}
+
+/**
+ * Defines values for CopyOptions. \
+ * {@link KnownCopyOptions} can be used interchangeably with CopyOptions,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **CreateCopy** \
+ * **Skip** \
+ * **Overwrite** \
+ * **FailOnConflict**
+ */
+export type CopyOptions = string;
+
+/** Known values of {@link RestoreRequestType} that the service accepts. */
+export enum KnownRestoreRequestType {
+ Invalid = "Invalid",
+ FullShareRestore = "FullShareRestore",
+ ItemLevelRestore = "ItemLevelRestore"
+}
+
+/**
+ * Defines values for RestoreRequestType. \
+ * {@link KnownRestoreRequestType} can be used interchangeably with RestoreRequestType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **FullShareRestore** \
+ * **ItemLevelRestore**
+ */
+export type RestoreRequestType = string;
+
+/** Known values of {@link WorkloadType} that the service accepts. */
+export enum KnownWorkloadType {
+ Invalid = "Invalid",
+ VM = "VM",
+ FileFolder = "FileFolder",
+ AzureSqlDb = "AzureSqlDb",
+ Sqldb = "SQLDB",
+ Exchange = "Exchange",
+ Sharepoint = "Sharepoint",
+ VMwareVM = "VMwareVM",
+ SystemState = "SystemState",
+ Client = "Client",
+ GenericDataSource = "GenericDataSource",
+ SQLDataBase = "SQLDataBase",
+ AzureFileShare = "AzureFileShare",
+ SAPHanaDatabase = "SAPHanaDatabase",
+ SAPAseDatabase = "SAPAseDatabase"
+}
+
+/**
+ * Defines values for WorkloadType. \
+ * {@link KnownWorkloadType} can be used interchangeably with WorkloadType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **VM** \
+ * **FileFolder** \
+ * **AzureSqlDb** \
+ * **SQLDB** \
+ * **Exchange** \
+ * **Sharepoint** \
+ * **VMwareVM** \
+ * **SystemState** \
+ * **Client** \
+ * **GenericDataSource** \
+ * **SQLDataBase** \
+ * **AzureFileShare** \
+ * **SAPHanaDatabase** \
+ * **SAPAseDatabase**
+ */
+export type WorkloadType = string;
+
+/** Known values of {@link PolicyType} that the service accepts. */
+export enum KnownPolicyType {
+ Invalid = "Invalid",
+ Full = "Full",
+ Differential = "Differential",
+ Log = "Log",
+ CopyOnlyFull = "CopyOnlyFull",
+ Incremental = "Incremental"
+}
+
+/**
+ * Defines values for PolicyType. \
+ * {@link KnownPolicyType} can be used interchangeably with PolicyType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Full** \
+ * **Differential** \
+ * **Log** \
+ * **CopyOnlyFull** \
+ * **Incremental**
+ */
+export type PolicyType = string;
+
+/** Known values of {@link HealthStatus} that the service accepts. */
+export enum KnownHealthStatus {
+ Passed = "Passed",
+ ActionRequired = "ActionRequired",
+ ActionSuggested = "ActionSuggested",
+ Invalid = "Invalid"
+}
+
+/**
+ * Defines values for HealthStatus. \
+ * {@link KnownHealthStatus} can be used interchangeably with HealthStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Passed** \
+ * **ActionRequired** \
+ * **ActionSuggested** \
+ * **Invalid**
+ */
+export type HealthStatus = string;
+
+/** Known values of {@link ProtectedItemState} that the service accepts. */
+export enum KnownProtectedItemState {
+ Invalid = "Invalid",
+ IRPending = "IRPending",
+ Protected = "Protected",
+ ProtectionError = "ProtectionError",
+ ProtectionStopped = "ProtectionStopped",
+ ProtectionPaused = "ProtectionPaused"
+}
+
+/**
+ * Defines values for ProtectedItemState. \
+ * {@link KnownProtectedItemState} can be used interchangeably with ProtectedItemState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **IRPending** \
+ * **Protected** \
+ * **ProtectionError** \
+ * **ProtectionStopped** \
+ * **ProtectionPaused**
+ */
+export type ProtectedItemState = string;
+
+/** Known values of {@link LastBackupStatus} that the service accepts. */
+export enum KnownLastBackupStatus {
+ Invalid = "Invalid",
+ Healthy = "Healthy",
+ Unhealthy = "Unhealthy",
+ IRPending = "IRPending"
+}
+
+/**
+ * Defines values for LastBackupStatus. \
+ * {@link KnownLastBackupStatus} can be used interchangeably with LastBackupStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Healthy** \
+ * **Unhealthy** \
+ * **IRPending**
+ */
+export type LastBackupStatus = string;
+
+/** Known values of {@link ProtectedItemHealthStatus} that the service accepts. */
+export enum KnownProtectedItemHealthStatus {
+ Invalid = "Invalid",
+ Healthy = "Healthy",
+ Unhealthy = "Unhealthy",
+ NotReachable = "NotReachable",
+ IRPending = "IRPending"
+}
/**
- * Defines values for DataMoveLevel.
- * Possible values include: 'Invalid', 'Vault', 'Container'
- * @readonly
- * @enum {string}
+ * Defines values for ProtectedItemHealthStatus. \
+ * {@link KnownProtectedItemHealthStatus} can be used interchangeably with ProtectedItemHealthStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Healthy** \
+ * **Unhealthy** \
+ * **NotReachable** \
+ * **IRPending**
+ */
+export type ProtectedItemHealthStatus = string;
+
+/** Known values of {@link RestorePointType} that the service accepts. */
+export enum KnownRestorePointType {
+ Invalid = "Invalid",
+ Full = "Full",
+ Log = "Log",
+ Differential = "Differential",
+ Incremental = "Incremental"
+}
+
+/**
+ * Defines values for RestorePointType. \
+ * {@link KnownRestorePointType} can be used interchangeably with RestorePointType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Full** \
+ * **Log** \
+ * **Differential** \
+ * **Incremental**
+ */
+export type RestorePointType = string;
+
+/** Known values of {@link OverwriteOptions} that the service accepts. */
+export enum KnownOverwriteOptions {
+ Invalid = "Invalid",
+ FailOnConflict = "FailOnConflict",
+ Overwrite = "Overwrite"
+}
+
+/**
+ * Defines values for OverwriteOptions. \
+ * {@link KnownOverwriteOptions} can be used interchangeably with OverwriteOptions,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **FailOnConflict** \
+ * **Overwrite**
+ */
+export type OverwriteOptions = string;
+
+/** Known values of {@link RecoveryMode} that the service accepts. */
+export enum KnownRecoveryMode {
+ Invalid = "Invalid",
+ FileRecovery = "FileRecovery",
+ WorkloadRecovery = "WorkloadRecovery"
+}
+
+/**
+ * Defines values for RecoveryMode. \
+ * {@link KnownRecoveryMode} can be used interchangeably with RecoveryMode,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **FileRecovery** \
+ * **WorkloadRecovery**
+ */
+export type RecoveryMode = string;
+
+/** Known values of {@link SQLDataDirectoryType} that the service accepts. */
+export enum KnownSQLDataDirectoryType {
+ Invalid = "Invalid",
+ Data = "Data",
+ Log = "Log"
+}
+
+/**
+ * Defines values for SQLDataDirectoryType. \
+ * {@link KnownSQLDataDirectoryType} can be used interchangeably with SQLDataDirectoryType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Data** \
+ * **Log**
+ */
+export type SQLDataDirectoryType = string;
+
+/** Known values of {@link RestorePointQueryType} that the service accepts. */
+export enum KnownRestorePointQueryType {
+ Invalid = "Invalid",
+ Full = "Full",
+ Log = "Log",
+ Differential = "Differential",
+ FullAndDifferential = "FullAndDifferential",
+ All = "All",
+ Incremental = "Incremental"
+}
+
+/**
+ * Defines values for RestorePointQueryType. \
+ * {@link KnownRestorePointQueryType} can be used interchangeably with RestorePointQueryType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Full** \
+ * **Log** \
+ * **Differential** \
+ * **FullAndDifferential** \
+ * **All** \
+ * **Incremental**
+ */
+export type RestorePointQueryType = string;
+
+/** Known values of {@link RetentionDurationType} that the service accepts. */
+export enum KnownRetentionDurationType {
+ Invalid = "Invalid",
+ Days = "Days",
+ Weeks = "Weeks",
+ Months = "Months",
+ Years = "Years"
+}
+
+/**
+ * Defines values for RetentionDurationType. \
+ * {@link KnownRetentionDurationType} can be used interchangeably with RetentionDurationType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Days** \
+ * **Weeks** \
+ * **Months** \
+ * **Years**
+ */
+export type RetentionDurationType = string;
+
+/** Known values of {@link JobStatus} that the service accepts. */
+export enum KnownJobStatus {
+ Invalid = "Invalid",
+ InProgress = "InProgress",
+ Completed = "Completed",
+ Failed = "Failed",
+ CompletedWithWarnings = "CompletedWithWarnings",
+ Cancelled = "Cancelled",
+ Cancelling = "Cancelling"
+}
+
+/**
+ * Defines values for JobStatus. \
+ * {@link KnownJobStatus} can be used interchangeably with JobStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **InProgress** \
+ * **Completed** \
+ * **Failed** \
+ * **CompletedWithWarnings** \
+ * **Cancelled** \
+ * **Cancelling**
+ */
+export type JobStatus = string;
+
+/** Known values of {@link JobOperationType} that the service accepts. */
+export enum KnownJobOperationType {
+ Invalid = "Invalid",
+ Register = "Register",
+ UnRegister = "UnRegister",
+ ConfigureBackup = "ConfigureBackup",
+ Backup = "Backup",
+ Restore = "Restore",
+ DisableBackup = "DisableBackup",
+ DeleteBackupData = "DeleteBackupData",
+ CrossRegionRestore = "CrossRegionRestore",
+ Undelete = "Undelete",
+ UpdateCustomerManagedKey = "UpdateCustomerManagedKey"
+}
+
+/**
+ * Defines values for JobOperationType. \
+ * {@link KnownJobOperationType} can be used interchangeably with JobOperationType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Register** \
+ * **UnRegister** \
+ * **ConfigureBackup** \
+ * **Backup** \
+ * **Restore** \
+ * **DisableBackup** \
+ * **DeleteBackupData** \
+ * **CrossRegionRestore** \
+ * **Undelete** \
+ * **UpdateCustomerManagedKey**
+ */
+export type JobOperationType = string;
+
+/** Known values of {@link RetentionScheduleFormat} that the service accepts. */
+export enum KnownRetentionScheduleFormat {
+ Invalid = "Invalid",
+ Daily = "Daily",
+ Weekly = "Weekly"
+}
+
+/**
+ * Defines values for RetentionScheduleFormat. \
+ * {@link KnownRetentionScheduleFormat} can be used interchangeably with RetentionScheduleFormat,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Daily** \
+ * **Weekly**
+ */
+export type RetentionScheduleFormat = string;
+
+/** Known values of {@link MabServerType} that the service accepts. */
+export enum KnownMabServerType {
+ Invalid = "Invalid",
+ Unknown = "Unknown",
+ IaasVMContainer = "IaasVMContainer",
+ IaasVMServiceContainer = "IaasVMServiceContainer",
+ DPMContainer = "DPMContainer",
+ AzureBackupServerContainer = "AzureBackupServerContainer",
+ MABContainer = "MABContainer",
+ Cluster = "Cluster",
+ AzureSqlContainer = "AzureSqlContainer",
+ Windows = "Windows",
+ VCenter = "VCenter",
+ VMAppContainer = "VMAppContainer",
+ SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
+ StorageContainer = "StorageContainer",
+ GenericContainer = "GenericContainer"
+}
+
+/**
+ * Defines values for MabServerType. \
+ * {@link KnownMabServerType} can be used interchangeably with MabServerType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Unknown** \
+ * **IaasVMContainer** \
+ * **IaasVMServiceContainer** \
+ * **DPMContainer** \
+ * **AzureBackupServerContainer** \
+ * **MABContainer** \
+ * **Cluster** \
+ * **AzureSqlContainer** \
+ * **Windows** \
+ * **VCenter** \
+ * **VMAppContainer** \
+ * **SQLAGWorkLoadContainer** \
+ * **StorageContainer** \
+ * **GenericContainer**
+ */
+export type MabServerType = string;
+
+/** Known values of {@link HealthState} that the service accepts. */
+export enum KnownHealthState {
+ Passed = "Passed",
+ ActionRequired = "ActionRequired",
+ ActionSuggested = "ActionSuggested",
+ Invalid = "Invalid"
+}
+
+/**
+ * Defines values for HealthState. \
+ * {@link KnownHealthState} can be used interchangeably with HealthState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Passed** \
+ * **ActionRequired** \
+ * **ActionSuggested** \
+ * **Invalid**
+ */
+export type HealthState = string;
+
+/** Known values of {@link ScheduleRunType} that the service accepts. */
+export enum KnownScheduleRunType {
+ Invalid = "Invalid",
+ Daily = "Daily",
+ Weekly = "Weekly",
+ Hourly = "Hourly"
+}
+
+/**
+ * Defines values for ScheduleRunType. \
+ * {@link KnownScheduleRunType} can be used interchangeably with ScheduleRunType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Daily** \
+ * **Weekly** \
+ * **Hourly**
+ */
+export type ScheduleRunType = string;
+
+/** Known values of {@link AzureFileShareType} that the service accepts. */
+export enum KnownAzureFileShareType {
+ Invalid = "Invalid",
+ Xsmb = "XSMB",
+ XSync = "XSync"
+}
+
+/**
+ * Defines values for AzureFileShareType. \
+ * {@link KnownAzureFileShareType} can be used interchangeably with AzureFileShareType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **XSMB** \
+ * **XSync**
+ */
+export type AzureFileShareType = string;
+
+/** Known values of {@link OperationType} that the service accepts. */
+export enum KnownOperationType {
+ Invalid = "Invalid",
+ Register = "Register",
+ Reregister = "Reregister"
+}
+
+/**
+ * Defines values for OperationType. \
+ * {@link KnownOperationType} can be used interchangeably with OperationType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Register** \
+ * **Reregister**
+ */
+export type OperationType = string;
+
+/** Known values of {@link AcquireStorageAccountLock} that the service accepts. */
+export enum KnownAcquireStorageAccountLock {
+ Acquire = "Acquire",
+ NotAcquire = "NotAcquire"
+}
+
+/**
+ * Defines values for AcquireStorageAccountLock. \
+ * {@link KnownAcquireStorageAccountLock} can be used interchangeably with AcquireStorageAccountLock,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Acquire** \
+ * **NotAcquire**
*/
-export type DataMoveLevel = "Invalid" | "Vault" | "Container";
+export type AcquireStorageAccountLock = string;
+
+/** Known values of {@link InquiryStatus} that the service accepts. */
+export enum KnownInquiryStatus {
+ Invalid = "Invalid",
+ Success = "Success",
+ Failed = "Failed"
+}
/**
- * Defines values for HttpStatusCode.
- * Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted',
- * 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices',
- * 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod',
- * 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest',
- * 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable',
- * 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired',
- * 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', 'UnsupportedMediaType',
- * 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError',
- * 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout',
- * 'HttpVersionNotSupported'
- * @readonly
- * @enum {string}
- */
+ * Defines values for InquiryStatus. \
+ * {@link KnownInquiryStatus} can be used interchangeably with InquiryStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Success** \
+ * **Failed**
+ */
+export type InquiryStatus = string;
+
+/** Known values of {@link BackupType} that the service accepts. */
+export enum KnownBackupType {
+ Invalid = "Invalid",
+ Full = "Full",
+ Differential = "Differential",
+ Log = "Log",
+ CopyOnlyFull = "CopyOnlyFull",
+ Incremental = "Incremental"
+}
+
+/**
+ * Defines values for BackupType. \
+ * {@link KnownBackupType} can be used interchangeably with BackupType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **Full** \
+ * **Differential** \
+ * **Log** \
+ * **CopyOnlyFull** \
+ * **Incremental**
+ */
+export type BackupType = string;
+
+/** Known values of {@link WorkloadItemType} that the service accepts. */
+export enum KnownWorkloadItemType {
+ Invalid = "Invalid",
+ SQLInstance = "SQLInstance",
+ SQLDataBase = "SQLDataBase",
+ SAPHanaSystem = "SAPHanaSystem",
+ SAPHanaDatabase = "SAPHanaDatabase",
+ SAPAseSystem = "SAPAseSystem",
+ SAPAseDatabase = "SAPAseDatabase"
+}
+
+/**
+ * Defines values for WorkloadItemType. \
+ * {@link KnownWorkloadItemType} can be used interchangeably with WorkloadItemType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **SQLInstance** \
+ * **SQLDataBase** \
+ * **SAPHanaSystem** \
+ * **SAPHanaDatabase** \
+ * **SAPAseSystem** \
+ * **SAPAseDatabase**
+ */
+export type WorkloadItemType = string;
+
+/** Known values of {@link Type} that the service accepts. */
+export enum KnownType {
+ Invalid = "Invalid",
+ BackupProtectedItemCountSummary = "BackupProtectedItemCountSummary",
+ BackupProtectionContainerCountSummary = "BackupProtectionContainerCountSummary"
+}
+
+/**
+ * Defines values for Type. \
+ * {@link KnownType} can be used interchangeably with Type,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **BackupProtectedItemCountSummary** \
+ * **BackupProtectionContainerCountSummary**
+ */
+export type Type = string;
+
+/** Known values of {@link IntentItemType} that the service accepts. */
+export enum KnownIntentItemType {
+ Invalid = "Invalid",
+ SQLInstance = "SQLInstance",
+ SQLAvailabilityGroupContainer = "SQLAvailabilityGroupContainer"
+}
+
+/**
+ * Defines values for IntentItemType. \
+ * {@link KnownIntentItemType} can be used interchangeably with IntentItemType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **SQLInstance** \
+ * **SQLAvailabilityGroupContainer**
+ */
+export type IntentItemType = string;
+
+/** Known values of {@link BackupItemType} that the service accepts. */
+export enum KnownBackupItemType {
+ Invalid = "Invalid",
+ VM = "VM",
+ FileFolder = "FileFolder",
+ AzureSqlDb = "AzureSqlDb",
+ Sqldb = "SQLDB",
+ Exchange = "Exchange",
+ Sharepoint = "Sharepoint",
+ VMwareVM = "VMwareVM",
+ SystemState = "SystemState",
+ Client = "Client",
+ GenericDataSource = "GenericDataSource",
+ SQLDataBase = "SQLDataBase",
+ AzureFileShare = "AzureFileShare",
+ SAPHanaDatabase = "SAPHanaDatabase",
+ SAPAseDatabase = "SAPAseDatabase"
+}
+
+/**
+ * Defines values for BackupItemType. \
+ * {@link KnownBackupItemType} can be used interchangeably with BackupItemType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Invalid** \
+ * **VM** \
+ * **FileFolder** \
+ * **AzureSqlDb** \
+ * **SQLDB** \
+ * **Exchange** \
+ * **Sharepoint** \
+ * **VMwareVM** \
+ * **SystemState** \
+ * **Client** \
+ * **GenericDataSource** \
+ * **SQLDataBase** \
+ * **AzureFileShare** \
+ * **SAPHanaDatabase** \
+ * **SAPAseDatabase**
+ */
+export type BackupItemType = string;
+
+/** Known values of {@link RehydrationPriority} that the service accepts. */
+export enum KnownRehydrationPriority {
+ Standard = "Standard",
+ High = "High"
+}
+
+/**
+ * Defines values for RehydrationPriority. \
+ * {@link KnownRehydrationPriority} can be used interchangeably with RehydrationPriority,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Standard** \
+ * **High**
+ */
+export type RehydrationPriority = string;
+/** Defines values for HttpStatusCode. */
export type HttpStatusCode =
| "Continue"
| "SwitchingProtocols"
@@ -9676,1704 +4835,763 @@ export type HttpStatusCode =
| "ServiceUnavailable"
| "GatewayTimeout"
| "HttpVersionNotSupported";
-
-/**
- * Defines values for DataSourceType.
- * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange',
- * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase',
- * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- * @readonly
- * @enum {string}
- */
-export type DataSourceType =
+/** Defines values for RecoveryPointTierType. */
+export type RecoveryPointTierType =
+ | "Invalid"
+ | "InstantRP"
+ | "HardenedRP"
+ | "ArchivedRP";
+/** Defines values for JobSupportedAction. */
+export type JobSupportedAction = "Invalid" | "Cancellable" | "Retriable";
+/** Defines values for RecoveryPointTierStatus. */
+export type RecoveryPointTierStatus =
+ | "Invalid"
+ | "Valid"
+ | "Disabled"
+ | "Deleted"
+ | "Rehydrated";
+/** Defines values for DayOfWeek. */
+export type DayOfWeek =
+ | "Sunday"
+ | "Monday"
+ | "Tuesday"
+ | "Wednesday"
+ | "Thursday"
+ | "Friday"
+ | "Saturday";
+/** Defines values for WeekOfMonth. */
+export type WeekOfMonth =
+ | "First"
+ | "Second"
+ | "Third"
+ | "Fourth"
+ | "Last"
+ | "Invalid";
+/** Defines values for MonthOfYear. */
+export type MonthOfYear =
| "Invalid"
- | "VM"
- | "FileFolder"
- | "AzureSqlDb"
- | "SQLDB"
- | "Exchange"
- | "Sharepoint"
- | "VMwareVM"
- | "SystemState"
- | "Client"
- | "GenericDataSource"
- | "SQLDataBase"
- | "AzureFileShare"
- | "SAPHanaDatabase"
- | "SAPAseDatabase";
+ | "January"
+ | "February"
+ | "March"
+ | "April"
+ | "May"
+ | "June"
+ | "July"
+ | "August"
+ | "September"
+ | "October"
+ | "November"
+ | "December";
-/**
- * Defines values for CreateMode.
- * Possible values include: 'Invalid', 'Default', 'Recover'
- * @readonly
- * @enum {string}
- */
-export type CreateMode = "Invalid" | "Default" | "Recover";
+/** Optional parameters. */
+export interface BackupResourceStorageConfigsNonCRRGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for HealthState.
- * Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid'
- * @readonly
- * @enum {string}
- */
-export type HealthState = "Passed" | "ActionRequired" | "ActionSuggested" | "Invalid";
+/** Contains response data for the get operation. */
+export type BackupResourceStorageConfigsNonCRRGetResponse = BackupResourceConfigResource;
-/**
- * Defines values for ScheduleRunType.
- * Possible values include: 'Invalid', 'Daily', 'Weekly'
- * @readonly
- * @enum {string}
- */
-export type ScheduleRunType = "Invalid" | "Daily" | "Weekly";
+/** Optional parameters. */
+export interface BackupResourceStorageConfigsNonCRRUpdateOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for StorageType.
- * Possible values include: 'Invalid', 'GeoRedundant', 'LocallyRedundant', 'ZoneRedundant',
- * 'ReadAccessGeoZoneRedundant'
- * @readonly
- * @enum {string}
- */
-export type StorageType =
- | "Invalid"
- | "GeoRedundant"
- | "LocallyRedundant"
- | "ZoneRedundant"
- | "ReadAccessGeoZoneRedundant";
+/** Contains response data for the update operation. */
+export type BackupResourceStorageConfigsNonCRRUpdateResponse = BackupResourceConfigResource;
-/**
- * Defines values for StorageTypeState.
- * Possible values include: 'Invalid', 'Locked', 'Unlocked'
- * @readonly
- * @enum {string}
- */
-export type StorageTypeState = "Invalid" | "Locked" | "Unlocked";
+/** Optional parameters. */
+export interface BackupResourceStorageConfigsNonCRRPatchOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for EnhancedSecurityState.
- * Possible values include: 'Invalid', 'Enabled', 'Disabled'
- * @readonly
- * @enum {string}
- */
-export type EnhancedSecurityState = "Invalid" | "Enabled" | "Disabled";
+/** Optional parameters. */
+export interface ProtectionIntentValidateOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for SoftDeleteFeatureState.
- * Possible values include: 'Invalid', 'Enabled', 'Disabled'
- * @readonly
- * @enum {string}
- */
-export type SoftDeleteFeatureState = "Invalid" | "Enabled" | "Disabled";
+/** Contains response data for the validate operation. */
+export type ProtectionIntentValidateResponse = PreValidateEnableBackupResponse;
-/**
- * Defines values for AzureFileShareType.
- * Possible values include: 'Invalid', 'XSMB', 'XSync'
- * @readonly
- * @enum {string}
- */
-export type AzureFileShareType = "Invalid" | "XSMB" | "XSync";
+/** Optional parameters. */
+export interface ProtectionIntentGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for InquiryStatus.
- * Possible values include: 'Invalid', 'Success', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type InquiryStatus = "Invalid" | "Success" | "Failed";
+/** Contains response data for the get operation. */
+export type ProtectionIntentGetResponse = ProtectionIntentResource;
+
+/** Optional parameters. */
+export interface ProtectionIntentCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the createOrUpdate operation. */
+export type ProtectionIntentCreateOrUpdateResponse = ProtectionIntentResource;
+
+/** Optional parameters. */
+export interface ProtectionIntentDeleteOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Optional parameters. */
+export interface BackupStatusGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type BackupStatusGetResponse = BackupStatusResponse;
+
+/** Optional parameters. */
+export interface FeatureSupportValidateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the validate operation. */
+export type FeatureSupportValidateResponse = AzureVMResourceFeatureSupportResponse;
+
+/** Optional parameters. */
+export interface BackupProtectionIntentListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
+
+/** Contains response data for the list operation. */
+export type BackupProtectionIntentListResponse = ProtectionIntentResourceList;
+
+/** Optional parameters. */
+export interface BackupProtectionIntentListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
+
+/** Contains response data for the listNext operation. */
+export type BackupProtectionIntentListNextResponse = ProtectionIntentResourceList;
+
+/** Optional parameters. */
+export interface BackupUsageSummariesListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
+
+/** Contains response data for the list operation. */
+export type BackupUsageSummariesListResponse = BackupManagementUsageList;
+
+/** Optional parameters. */
+export interface OperationsListOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the list operation. */
+export type OperationsListResponse = ClientDiscoveryResponse;
+
+/** Optional parameters. */
+export interface OperationsListNextOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listNext operation. */
+export type OperationsListNextResponse = ClientDiscoveryResponse;
+
+/** Optional parameters. */
+export interface BackupResourceVaultConfigsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type BackupResourceVaultConfigsGetResponse = BackupResourceVaultConfigResource;
+
+/** Optional parameters. */
+export interface BackupResourceVaultConfigsUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the update operation. */
+export type BackupResourceVaultConfigsUpdateResponse = BackupResourceVaultConfigResource;
+
+/** Optional parameters. */
+export interface BackupResourceVaultConfigsPutOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the put operation. */
+export type BackupResourceVaultConfigsPutResponse = BackupResourceVaultConfigResource;
+
+/** Optional parameters. */
+export interface BackupResourceEncryptionConfigsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type BackupResourceEncryptionConfigsGetResponse = BackupResourceEncryptionConfigExtendedResource;
+
+/** Optional parameters. */
+export interface BackupResourceEncryptionConfigsUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Optional parameters. */
+export interface PrivateEndpointConnectionGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type PrivateEndpointConnectionGetResponse = PrivateEndpointConnectionResource;
+
+/** Optional parameters. */
+export interface PrivateEndpointConnectionPutOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Contains response data for the put operation. */
+export type PrivateEndpointConnectionPutResponse = PrivateEndpointConnectionResource;
+
+/** Optional parameters. */
+export interface PrivateEndpointConnectionDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface PrivateEndpointGetOperationStatusOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the getOperationStatus operation. */
+export type PrivateEndpointGetOperationStatusResponse = OperationStatus;
+
+/** Optional parameters. */
+export interface GetOperationStatusOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the getOperationStatus operation. */
+export type GetOperationStatusResponse = OperationStatus;
+
+/** Optional parameters. */
+export interface BMSPrepareDataMoveOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface BMSTriggerDataMoveOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface MoveRecoveryPointOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface BMSPrepareDataMoveOperationResultGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type BMSPrepareDataMoveOperationResultGetResponse = VaultStorageConfigOperationResultResponseUnion;
+
+/** Optional parameters. */
+export interface ProtectedItemsGetOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
+
+/** Contains response data for the get operation. */
+export type ProtectedItemsGetResponse = ProtectedItemResource;
+
+/** Optional parameters. */
+export interface ProtectedItemsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the createOrUpdate operation. */
+export type ProtectedItemsCreateOrUpdateResponse = ProtectedItemResource;
+
+/** Optional parameters. */
+export interface ProtectedItemsDeleteOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Optional parameters. */
+export interface ProtectedItemOperationResultsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type ProtectedItemOperationResultsGetResponse = ProtectedItemResource;
+
+/** Optional parameters. */
+export interface RecoveryPointsListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
+
+/** Contains response data for the list operation. */
+export type RecoveryPointsListResponse = RecoveryPointResourceList;
+
+/** Optional parameters. */
+export interface RecoveryPointsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type RecoveryPointsGetResponse = RecoveryPointResource;
+
+/** Optional parameters. */
+export interface RecoveryPointsListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
+
+/** Contains response data for the listNext operation. */
+export type RecoveryPointsListNextResponse = RecoveryPointResourceList;
+
+/** Optional parameters. */
+export interface RestoresTriggerOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface BackupPoliciesListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
+
+/** Contains response data for the list operation. */
+export type BackupPoliciesListResponse = ProtectionPolicyResourceList;
+
+/** Optional parameters. */
+export interface BackupPoliciesListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
+
+/** Contains response data for the listNext operation. */
+export type BackupPoliciesListNextResponse = ProtectionPolicyResourceList;
+
+/** Optional parameters. */
+export interface ProtectionPoliciesGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type ProtectionPoliciesGetResponse = ProtectionPolicyResource;
+
+/** Optional parameters. */
+export interface ProtectionPoliciesCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the createOrUpdate operation. */
+export type ProtectionPoliciesCreateOrUpdateResponse = ProtectionPolicyResource;
-/**
- * Defines values for BackupType.
- * Possible values include: 'Invalid', 'Full', 'Differential', 'Log', 'CopyOnlyFull', 'Incremental'
- * @readonly
- * @enum {string}
- */
-export type BackupType =
- | "Invalid"
- | "Full"
- | "Differential"
- | "Log"
- | "CopyOnlyFull"
- | "Incremental";
+/** Optional parameters. */
+export interface ProtectionPoliciesDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
-/**
- * Defines values for OperationType.
- * Possible values include: 'Invalid', 'Register', 'Reregister'
- * @readonly
- * @enum {string}
- */
-export type OperationType = "Invalid" | "Register" | "Reregister";
+/** Optional parameters. */
+export interface ProtectionPolicyOperationResultsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for ContainerType.
- * Possible values include: 'Invalid', 'Unknown', 'IaasVMContainer', 'IaasVMServiceContainer',
- * 'DPMContainer', 'AzureBackupServerContainer', 'MABContainer', 'Cluster', 'AzureSqlContainer',
- * 'Windows', 'VCenter', 'VMAppContainer', 'SQLAGWorkLoadContainer', 'StorageContainer',
- * 'GenericContainer'
- * @readonly
- * @enum {string}
- */
-export type ContainerType =
- | "Invalid"
- | "Unknown"
- | "IaasVMContainer"
- | "IaasVMServiceContainer"
- | "DPMContainer"
- | "AzureBackupServerContainer"
- | "MABContainer"
- | "Cluster"
- | "AzureSqlContainer"
- | "Windows"
- | "VCenter"
- | "VMAppContainer"
- | "SQLAGWorkLoadContainer"
- | "StorageContainer"
- | "GenericContainer";
+/** Contains response data for the get operation. */
+export type ProtectionPolicyOperationResultsGetResponse = ProtectionPolicyResource;
-/**
- * Defines values for WorkloadItemType.
- * Possible values include: 'Invalid', 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem',
- * 'SAPHanaDatabase', 'SAPAseSystem', 'SAPAseDatabase'
- * @readonly
- * @enum {string}
- */
-export type WorkloadItemType =
- | "Invalid"
- | "SQLInstance"
- | "SQLDataBase"
- | "SAPHanaSystem"
- | "SAPHanaDatabase"
- | "SAPAseSystem"
- | "SAPAseDatabase";
+/** Optional parameters. */
+export interface BackupJobsListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Defines values for ProtectionStatus.
- * Possible values include: 'Invalid', 'NotProtected', 'Protecting', 'Protected',
- * 'ProtectionFailed'
- * @readonly
- * @enum {string}
- */
-export type ProtectionStatus =
- | "Invalid"
- | "NotProtected"
- | "Protecting"
- | "Protected"
- | "ProtectionFailed";
+/** Contains response data for the list operation. */
+export type BackupJobsListResponse = JobResourceList;
-/**
- * Defines values for BackupItemType.
- * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange',
- * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase',
- * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- * @readonly
- * @enum {string}
- */
-export type BackupItemType =
- | "Invalid"
- | "VM"
- | "FileFolder"
- | "AzureSqlDb"
- | "SQLDB"
- | "Exchange"
- | "Sharepoint"
- | "VMwareVM"
- | "SystemState"
- | "Client"
- | "GenericDataSource"
- | "SQLDataBase"
- | "AzureFileShare"
- | "SAPHanaDatabase"
- | "SAPAseDatabase";
+/** Optional parameters. */
+export interface BackupJobsListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Defines values for OperationStatusValues.
- * Possible values include: 'Invalid', 'InProgress', 'Succeeded', 'Failed', 'Canceled'
- * @readonly
- * @enum {string}
- */
-export type OperationStatusValues = "Invalid" | "InProgress" | "Succeeded" | "Failed" | "Canceled";
+/** Contains response data for the listNext operation. */
+export type BackupJobsListNextResponse = JobResourceList;
-/**
- * Defines values for RehydrationPriority.
- * Possible values include: 'Standard', 'High'
- * @readonly
- * @enum {string}
- */
-export type RehydrationPriority = "Standard" | "High";
+/** Optional parameters. */
+export interface JobDetailsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for UsagesUnit.
- * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
- * 'BytesPerSecond'
- * @readonly
- * @enum {string}
- */
-export type UsagesUnit =
- | "Count"
- | "Bytes"
- | "Seconds"
- | "Percent"
- | "CountPerSecond"
- | "BytesPerSecond";
+/** Contains response data for the get operation. */
+export type JobDetailsGetResponse = JobResource;
-/**
- * Defines values for Type.
- * Possible values include: 'Invalid', 'BackupProtectedItemCountSummary',
- * 'BackupProtectionContainerCountSummary'
- * @readonly
- * @enum {string}
- */
-export type Type =
- | "Invalid"
- | "BackupProtectedItemCountSummary"
- | "BackupProtectionContainerCountSummary";
+/** Optional parameters. */
+export interface JobCancellationsTriggerOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for SupportStatus.
- * Possible values include: 'Invalid', 'Supported', 'DefaultOFF', 'DefaultON', 'NotSupported'
- * @readonly
- * @enum {string}
- */
-export type SupportStatus = "Invalid" | "Supported" | "DefaultOFF" | "DefaultON" | "NotSupported";
+/** Optional parameters. */
+export interface JobOperationResultsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for FabricName.
- * Possible values include: 'Invalid', 'Azure'
- * @readonly
- * @enum {string}
- */
-export type FabricName = "Invalid" | "Azure";
+/** Optional parameters. */
+export interface ExportJobsOperationResultsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for ValidationStatus.
- * Possible values include: 'Invalid', 'Succeeded', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type ValidationStatus = "Invalid" | "Succeeded" | "Failed";
+/** Contains response data for the get operation. */
+export type ExportJobsOperationResultsGetResponse = OperationResultInfoBaseResource;
-/**
- * Defines values for IntentItemType.
- * Possible values include: 'Invalid', 'SQLInstance', 'SQLAvailabilityGroupContainer'
- * @readonly
- * @enum {string}
- */
-export type IntentItemType = "Invalid" | "SQLInstance" | "SQLAvailabilityGroupContainer";
+/** Optional parameters. */
+export interface JobsExportOptionalParams extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
-/**
- * Contains response data for the get operation.
- */
-export type BackupResourceVaultConfigsGetResponse = BackupResourceVaultConfigResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupResourceVaultConfigResource;
- };
-};
+/** Optional parameters. */
+export interface BackupProtectedItemsListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Contains response data for the update operation.
- */
-export type BackupResourceVaultConfigsUpdateResponse = BackupResourceVaultConfigResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupResourceVaultConfigResource;
- };
-};
+/** Contains response data for the list operation. */
+export type BackupProtectedItemsListResponse = ProtectedItemResourceList;
-/**
- * Contains response data for the put operation.
- */
-export type BackupResourceVaultConfigsPutResponse = BackupResourceVaultConfigResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupResourceVaultConfigResource;
- };
-};
+/** Optional parameters. */
+export interface BackupProtectedItemsListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Contains response data for the get operation.
- */
-export type BackupResourceEncryptionConfigsGetResponse = BackupResourceEncryptionConfigResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupResourceEncryptionConfigResource;
- };
-};
+/** Contains response data for the listNext operation. */
+export type BackupProtectedItemsListNextResponse = ProtectedItemResourceList;
-/**
- * Contains response data for the get operation.
- */
-export type PrivateEndpointConnectionGetResponse = PrivateEndpointConnectionResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnectionResource;
- };
-};
+/** Optional parameters. */
+export interface OperationValidateOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the put operation.
- */
-export type PrivateEndpointConnectionPutResponse = PrivateEndpointConnectionResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnectionResource;
- };
-};
+/** Contains response data for the validate operation. */
+export type OperationValidateResponse = ValidateOperationsResponse;
-/**
- * Contains response data for the beginPut operation.
- */
-export type PrivateEndpointConnectionBeginPutResponse = PrivateEndpointConnectionResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnectionResource;
- };
-};
+/** Optional parameters. */
+export interface ValidateOperationTriggerOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
-/**
- * Contains response data for the getOperationStatus operation.
- */
-export type PrivateEndpointGetOperationStatusResponse = OperationStatus & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationStatus;
- };
-};
+/** Optional parameters. */
+export interface ValidateOperationResultsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the getOperationStatus operation.
- */
-export type GetOperationStatusResponse = OperationStatus & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationStatus;
- };
-};
+/** Contains response data for the get operation. */
+export type ValidateOperationResultsGetResponse = ValidateOperationsResponse;
-/**
- * Contains response data for the get operation.
- */
-export type BMSPrepareDataMoveOperationResultGetResponse = VaultStorageConfigOperationResultResponseUnion & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: VaultStorageConfigOperationResultResponseUnion;
- };
-};
+/** Optional parameters. */
+export interface ValidateOperationStatusesGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the get operation.
- */
-export type ProtectedItemsGetResponse = ProtectedItemResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectedItemResource;
- };
-};
+/** Contains response data for the get operation. */
+export type ValidateOperationStatusesGetResponse = OperationStatus;
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type ProtectedItemsCreateOrUpdateResponse = ProtectedItemResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectedItemResource;
- };
-};
+/** Optional parameters. */
+export interface BackupEnginesListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Contains response data for the get operation.
- */
-export type ProtectedItemOperationResultsGetResponse = ProtectedItemResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectedItemResource;
- };
-};
+/** Contains response data for the list operation. */
+export type BackupEnginesListResponse = BackupEngineBaseResourceList;
-/**
- * Contains response data for the list operation.
- */
-export type RecoveryPointsListResponse = RecoveryPointResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RecoveryPointResourceList;
- };
-};
+/** Optional parameters. */
+export interface BackupEnginesGetOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Contains response data for the get operation.
- */
-export type RecoveryPointsGetResponse = RecoveryPointResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RecoveryPointResource;
- };
-};
+/** Contains response data for the get operation. */
+export type BackupEnginesGetResponse = BackupEngineBaseResource;
-/**
- * Contains response data for the getAccessToken operation.
- */
-export type RecoveryPointsGetAccessTokenResponse = CrrAccessTokenResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: CrrAccessTokenResource;
- };
-};
+/** Optional parameters. */
+export interface BackupEnginesListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Contains response data for the listNext operation.
- */
-export type RecoveryPointsListNextResponse = RecoveryPointResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RecoveryPointResourceList;
- };
-};
+/** Contains response data for the listNext operation. */
+export type BackupEnginesListNextResponse = BackupEngineBaseResourceList;
-/**
- * Contains response data for the list operation.
- */
-export type BackupPoliciesListResponse = ProtectionPolicyResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionPolicyResourceList;
- };
-};
+/** Optional parameters. */
+export interface ProtectionContainerRefreshOperationResultsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the listNext operation.
- */
-export type BackupPoliciesListNextResponse = ProtectionPolicyResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionPolicyResourceList;
- };
-};
+/** Optional parameters. */
+export interface ProtectableContainersListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
-/**
- * Contains response data for the get operation.
- */
-export type ProtectionPoliciesGetResponse = ProtectionPolicyResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionPolicyResource;
- };
-};
+/** Contains response data for the list operation. */
+export type ProtectableContainersListResponse = ProtectableContainerResourceList;
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type ProtectionPoliciesCreateOrUpdateResponse = ProtectionPolicyResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionPolicyResource;
- };
-};
+/** Optional parameters. */
+export interface ProtectableContainersListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
-/**
- * Contains response data for the get operation.
- */
-export type ProtectionPolicyOperationResultsGetResponse = ProtectionPolicyResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionPolicyResource;
- };
-};
+/** Contains response data for the listNext operation. */
+export type ProtectableContainersListNextResponse = ProtectableContainerResourceList;
-/**
- * Contains response data for the list operation.
- */
-export type BackupJobsListResponse = JobResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: JobResourceList;
- };
-};
+/** Optional parameters. */
+export interface ProtectionContainersGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the listNext operation.
- */
-export type BackupJobsListNextResponse = JobResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: JobResourceList;
- };
-};
+/** Contains response data for the get operation. */
+export type ProtectionContainersGetResponse = ProtectionContainerResource;
-/**
- * Contains response data for the get operation.
- */
-export type JobDetailsGetResponse = JobResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: JobResource;
- };
-};
+/** Optional parameters. */
+export interface ProtectionContainersRegisterOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the get operation.
- */
-export type ExportJobsOperationResultsGetResponse = OperationResultInfoBaseResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationResultInfoBaseResource;
- };
-};
+/** Contains response data for the register operation. */
+export type ProtectionContainersRegisterResponse = ProtectionContainerResource;
-/**
- * Contains response data for the list operation.
- */
-export type BackupProtectedItemsListResponse = ProtectedItemResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectedItemResourceList;
- };
-};
+/** Optional parameters. */
+export interface ProtectionContainersUnregisterOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the listNext operation.
- */
-export type BackupProtectedItemsListNextResponse = ProtectedItemResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectedItemResourceList;
- };
-};
+/** Optional parameters. */
+export interface ProtectionContainersInquireOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
-/**
- * Contains response data for the validate operation.
- */
-export type OperationValidateResponse = ValidateOperationsResponse & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ValidateOperationsResponse;
- };
-};
+/** Optional parameters. */
+export interface ProtectionContainersRefreshOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
-/**
- * Contains response data for the list operation.
- */
-export type BackupEnginesListResponse = BackupEngineBaseResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupEngineBaseResourceList;
- };
-};
+/** Optional parameters. */
+export interface BackupWorkloadItemsListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Contains response data for the get operation.
- */
-export type BackupEnginesGetResponse = BackupEngineBaseResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupEngineBaseResource;
- };
-};
+/** Contains response data for the list operation. */
+export type BackupWorkloadItemsListResponse = WorkloadItemResourceList;
-/**
- * Contains response data for the listNext operation.
- */
-export type BackupEnginesListNextResponse = BackupEngineBaseResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupEngineBaseResourceList;
- };
-};
+/** Optional parameters. */
+export interface BackupWorkloadItemsListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Contains response data for the list operation.
- */
-export type ProtectableContainersListResponse = ProtectableContainerResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectableContainerResourceList;
- };
-};
+/** Contains response data for the listNext operation. */
+export type BackupWorkloadItemsListNextResponse = WorkloadItemResourceList;
-/**
- * Contains response data for the listNext operation.
- */
-export type ProtectableContainersListNextResponse = ProtectableContainerResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectableContainerResourceList;
- };
-};
+/** Optional parameters. */
+export interface ProtectionContainerOperationResultsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the get operation.
- */
-export type ProtectionContainersGetResponse = ProtectionContainerResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionContainerResource;
- };
-};
+/** Contains response data for the get operation. */
+export type ProtectionContainerOperationResultsGetResponse = ProtectionContainerResource;
-/**
- * Contains response data for the register operation.
- */
-export type ProtectionContainersRegisterResponse = ProtectionContainerResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionContainerResource;
- };
-};
+/** Optional parameters. */
+export interface BackupsTriggerOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the list operation.
- */
-export type BackupWorkloadItemsListResponse = WorkloadItemResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: WorkloadItemResourceList;
- };
-};
+/** Optional parameters. */
+export interface ProtectedItemOperationStatusesGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the listNext operation.
- */
-export type BackupWorkloadItemsListNextResponse = WorkloadItemResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: WorkloadItemResourceList;
- };
-};
+/** Contains response data for the get operation. */
+export type ProtectedItemOperationStatusesGetResponse = OperationStatus;
-/**
- * Contains response data for the get operation.
- */
-export type ProtectionContainerOperationResultsGetResponse = ProtectionContainerResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionContainerResource;
- };
-};
+/** Optional parameters. */
+export interface ItemLevelRecoveryConnectionsProvisionOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the get operation.
- */
-export type ProtectedItemOperationStatusesGetResponse = OperationStatus & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationStatus;
- };
-};
+/** Optional parameters. */
+export interface ItemLevelRecoveryConnectionsRevokeOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the get operation.
- */
-export type BackupOperationStatusesGetResponse = OperationStatus & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationStatus;
- };
-};
+/** Optional parameters. */
+export interface BackupOperationResultsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the get operation.
- */
-export type ProtectionPolicyOperationStatusesGetResponse = OperationStatus & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationStatus;
- };
-};
+/** Optional parameters. */
+export interface BackupOperationStatusesGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the list operation.
- */
-export type BackupProtectableItemsListResponse = WorkloadProtectableItemResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: WorkloadProtectableItemResourceList;
- };
-};
+/** Contains response data for the get operation. */
+export type BackupOperationStatusesGetResponse = OperationStatus;
-/**
- * Contains response data for the listNext operation.
- */
-export type BackupProtectableItemsListNextResponse = WorkloadProtectableItemResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: WorkloadProtectableItemResourceList;
- };
-};
+/** Optional parameters. */
+export interface ProtectionPolicyOperationStatusesGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the list operation.
- */
-export type BackupProtectionContainersListResponse = ProtectionContainerResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionContainerResourceList;
- };
-};
+/** Contains response data for the get operation. */
+export type ProtectionPolicyOperationStatusesGetResponse = OperationStatus;
-/**
- * Contains response data for the listNext operation.
- */
-export type BackupProtectionContainersListNextResponse = ProtectionContainerResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionContainerResourceList;
- };
-};
+/** Optional parameters. */
+export interface BackupProtectableItemsListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Contains response data for the get operation.
- */
-export type SecurityPINsGetResponse = TokenInformation & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TokenInformation;
- };
-};
+/** Contains response data for the list operation. */
+export type BackupProtectableItemsListResponse = WorkloadProtectableItemResourceList;
-/**
- * Contains response data for the list operation.
- */
-export type RecoveryPointsRecommendedForMoveListResponse = RecoveryPointResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RecoveryPointResourceList;
- };
-};
+/** Optional parameters. */
+export interface BackupProtectableItemsListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+ /** skipToken Filter. */
+ skipToken?: string;
+}
-/**
- * Contains response data for the listNext operation.
- */
-export type RecoveryPointsRecommendedForMoveListNextResponse = RecoveryPointResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RecoveryPointResourceList;
- };
-};
+/** Contains response data for the listNext operation. */
+export type BackupProtectableItemsListNextResponse = WorkloadProtectableItemResourceList;
-/**
- * Contains response data for the list operation.
- */
-export type BackupUsageSummariesCRRListResponse = BackupManagementUsageList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupManagementUsageList;
- };
-};
+/** Optional parameters. */
+export interface BackupProtectionContainersListOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
-/**
- * Contains response data for the get operation.
- */
-export type AadPropertiesGetResponse = AADPropertiesResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: AADPropertiesResource;
- };
-};
+/** Contains response data for the list operation. */
+export type BackupProtectionContainersListResponse = ProtectionContainerResourceList;
-/**
- * Contains response data for the get operation.
- */
-export type BackupCrrJobDetailsGetResponse = JobResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: JobResource;
- };
-};
+/** Optional parameters. */
+export interface BackupProtectionContainersListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** OData filter options. */
+ filter?: string;
+}
-/**
- * Contains response data for the list operation.
- */
-export type BackupCrrJobsListResponse = JobResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: JobResourceList;
- };
-};
+/** Contains response data for the listNext operation. */
+export type BackupProtectionContainersListNextResponse = ProtectionContainerResourceList;
-/**
- * Contains response data for the listNext operation.
- */
-export type BackupCrrJobsListNextResponse = JobResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: JobResourceList;
- };
-};
+/** Optional parameters. */
+export interface SecurityPINsGetOptionalParams
+ extends coreClient.OperationOptions {
+ /** security pin request */
+ parameters?: SecurityPinBase;
+}
-/**
- * Contains response data for the get operation.
- */
-export type CrrOperationStatusGetResponse = OperationStatus & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationStatus;
- };
-};
+/** Contains response data for the get operation. */
+export type SecurityPINsGetResponse = TokenInformation;
-/**
- * Contains response data for the get operation.
- */
-export type BackupResourceStorageConfigsGetResponse = BackupResourceConfigResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupResourceConfigResource;
- };
-};
+/** Optional parameters. */
+export interface RecoveryPointsRecommendedForMoveListOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the update operation.
- */
-export type BackupResourceStorageConfigsUpdateResponse = BackupResourceConfigResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupResourceConfigResource;
- };
-};
+/** Contains response data for the list operation. */
+export type RecoveryPointsRecommendedForMoveListResponse = RecoveryPointResourceList;
-/**
- * Contains response data for the list operation.
- */
-export type RecoveryPointsCrrListResponse = RecoveryPointResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RecoveryPointResourceList;
- };
-};
+/** Optional parameters. */
+export interface RecoveryPointsRecommendedForMoveListNextOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the listNext operation.
- */
-export type RecoveryPointsCrrListNextResponse = RecoveryPointResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RecoveryPointResourceList;
- };
-};
+/** Contains response data for the listNext operation. */
+export type RecoveryPointsRecommendedForMoveListNextResponse = RecoveryPointResourceList;
-/**
- * Contains response data for the list operation.
- */
-export type BackupProtectedItemsCrrListResponse = ProtectedItemResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectedItemResourceList;
- };
-};
+/** Optional parameters. */
+export interface ResourceGuardProxiesGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the listNext operation.
- */
-export type BackupProtectedItemsCrrListNextResponse = ProtectedItemResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectedItemResourceList;
- };
-};
+/** Contains response data for the get operation. */
+export type ResourceGuardProxiesGetResponse = ResourceGuardProxyBaseResourceList;
-/**
- * Contains response data for the validate operation.
- */
-export type ProtectionIntentValidateResponse = PreValidateEnableBackupResponse & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PreValidateEnableBackupResponse;
- };
-};
+/** Optional parameters. */
+export interface ResourceGuardProxiesGetNextOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the get operation.
- */
-export type ProtectionIntentGetResponse = ProtectionIntentResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionIntentResource;
- };
-};
+/** Contains response data for the getNext operation. */
+export type ResourceGuardProxiesGetNextResponse = ResourceGuardProxyBaseResourceList;
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type ProtectionIntentCreateOrUpdateResponse = ProtectionIntentResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionIntentResource;
- };
-};
+/** Optional parameters. */
+export interface ResourceGuardProxyGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the get operation.
- */
-export type BackupStatusGetResponse = BackupStatusResponse & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupStatusResponse;
- };
-};
+/** Contains response data for the get operation. */
+export type ResourceGuardProxyGetResponse = ResourceGuardProxyBaseResource;
-/**
- * Contains response data for the validate operation.
- */
-export type FeatureSupportValidateResponse = AzureVMResourceFeatureSupportResponse & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: AzureVMResourceFeatureSupportResponse;
- };
-};
+/** Optional parameters. */
+export interface ResourceGuardProxyPutOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the list operation.
- */
-export type BackupProtectionIntentListResponse = ProtectionIntentResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionIntentResourceList;
- };
-};
+/** Contains response data for the put operation. */
+export type ResourceGuardProxyPutResponse = ResourceGuardProxyBaseResource;
-/**
- * Contains response data for the listNext operation.
- */
-export type BackupProtectionIntentListNextResponse = ProtectionIntentResourceList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProtectionIntentResourceList;
- };
-};
+/** Optional parameters. */
+export interface ResourceGuardProxyDeleteOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the list operation.
- */
-export type BackupUsageSummariesListResponse = BackupManagementUsageList & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupManagementUsageList;
- };
-};
+/** Optional parameters. */
+export interface ResourceGuardProxyUnlockDeleteOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the list operation.
- */
-export type OperationsListResponse = ClientDiscoveryResponse & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ClientDiscoveryResponse;
- };
-};
+/** Contains response data for the unlockDelete operation. */
+export type ResourceGuardProxyUnlockDeleteResponse = UnlockDeleteResponse;
-/**
- * Contains response data for the listNext operation.
- */
-export type OperationsListNextResponse = ClientDiscoveryResponse & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ClientDiscoveryResponse;
- };
-};
+/** Optional parameters. */
+export interface RecoveryServicesBackupClientOptionalParams
+ extends coreClient.ServiceClientOptions {
+ /** server parameter */
+ $host?: string;
+ /** Api Version */
+ apiVersion?: string;
+ /** Overrides client endpoint. */
+ endpoint?: string;
+}
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/itemLevelRecoveryConnectionsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/itemLevelRecoveryConnectionsMappers.ts
deleted file mode 100644
index a7719f9e3a6a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/itemLevelRecoveryConnectionsMappers.ts
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobCancellationsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobCancellationsMappers.ts
deleted file mode 100644
index 841f64f3c0bd..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobCancellationsMappers.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export { discriminators, CloudError } from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobDetailsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobDetailsMappers.ts
deleted file mode 100644
index a7719f9e3a6a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobDetailsMappers.ts
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobOperationResultsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobOperationResultsMappers.ts
deleted file mode 100644
index 841f64f3c0bd..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobOperationResultsMappers.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export { discriminators, CloudError } from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobsMappers.ts
deleted file mode 100644
index 841f64f3c0bd..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/jobsMappers.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export { discriminators, CloudError } from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/mappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/mappers.ts
index f7b5c9497f97..004a80c86f20 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/mappers.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/mappers.ts
@@ -6,44 +6,45 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
-import * as msRest from "@azure/ms-rest-js";
+import * as coreClient from "@azure/core-client";
-export const CloudError = CloudErrorMapper;
-export const BaseResource = BaseResourceMapper;
-
-export const BackupResourceEncryptionConfig: msRest.CompositeMapper = {
- serializedName: "BackupResourceEncryptionConfig",
+export const BackupResourceConfig: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "BackupResourceEncryptionConfig",
+ className: "BackupResourceConfig",
modelProperties: {
- encryptionAtRestType: {
- serializedName: "encryptionAtRestType",
+ storageModelType: {
+ serializedName: "storageModelType",
type: {
name: "String"
}
},
- keyUri: {
- serializedName: "keyUri",
+ storageType: {
+ serializedName: "storageType",
type: {
name: "String"
}
},
- subscriptionId: {
- serializedName: "subscriptionId",
+ storageTypeState: {
+ serializedName: "storageTypeState",
type: {
name: "String"
}
},
- lastUpdateStatus: {
- serializedName: "lastUpdateStatus",
+ crossRegionRestoreFlag: {
+ serializedName: "crossRegionRestoreFlag",
+ type: {
+ name: "Boolean"
+ }
+ },
+ dedupState: {
+ serializedName: "dedupState",
type: {
name: "String"
}
},
- infrastructureEncryptionState: {
- serializedName: "infrastructureEncryptionState",
+ xcoolState: {
+ serializedName: "xcoolState",
type: {
name: "String"
}
@@ -52,29 +53,28 @@ export const BackupResourceEncryptionConfig: msRest.CompositeMapper = {
}
};
-export const Resource: msRest.CompositeMapper = {
- serializedName: "Resource",
+export const Resource: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "Resource",
modelProperties: {
id: {
- readOnly: true,
serializedName: "id",
+ readOnly: true,
type: {
name: "String"
}
},
name: {
- readOnly: true,
serializedName: "name",
+ readOnly: true,
type: {
name: "String"
}
},
type: {
- readOnly: true,
serializedName: "type",
+ readOnly: true,
type: {
name: "String"
}
@@ -89,11 +89,7 @@ export const Resource: msRest.CompositeMapper = {
serializedName: "tags",
type: {
name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ value: { type: { name: "String" } }
}
},
eTag: {
@@ -106,419 +102,349 @@ export const Resource: msRest.CompositeMapper = {
}
};
-export const BackupResourceEncryptionConfigResource: msRest.CompositeMapper = {
- serializedName: "BackupResourceEncryptionConfigResource",
+export const NewErrorResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "BackupResourceEncryptionConfigResource",
+ className: "NewErrorResponse",
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ error: {
+ serializedName: "error",
type: {
name: "Composite",
- className: "BackupResourceEncryptionConfig"
+ className: "NewErrorResponseError"
}
}
}
}
};
-export const PrivateEndpoint: msRest.CompositeMapper = {
- serializedName: "PrivateEndpoint",
+export const NewErrorResponseError: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PrivateEndpoint",
+ className: "NewErrorResponseError",
modelProperties: {
- id: {
- serializedName: "id",
+ code: {
+ serializedName: "code",
+ readOnly: true,
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = {
- serializedName: "PrivateLinkServiceConnectionState",
- type: {
- name: "Composite",
- className: "PrivateLinkServiceConnectionState",
- modelProperties: {
- status: {
- serializedName: "status",
+ },
+ message: {
+ serializedName: "message",
+ readOnly: true,
type: {
name: "String"
}
},
- description: {
- serializedName: "description",
+ target: {
+ serializedName: "target",
+ readOnly: true,
type: {
name: "String"
}
},
- actionRequired: {
- serializedName: "actionRequired",
+ details: {
+ serializedName: "details",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "NewErrorResponse"
+ }
+ }
+ }
+ },
+ additionalInfo: {
+ serializedName: "additionalInfo",
+ readOnly: true,
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ErrorAdditionalInfo"
+ }
+ }
}
}
}
}
};
-export const PrivateEndpointConnection: msRest.CompositeMapper = {
- serializedName: "PrivateEndpointConnection",
+export const ErrorAdditionalInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PrivateEndpointConnection",
+ className: "ErrorAdditionalInfo",
modelProperties: {
- provisioningState: {
- serializedName: "provisioningState",
+ type: {
+ serializedName: "type",
+ readOnly: true,
type: {
name: "String"
}
},
- privateEndpoint: {
- serializedName: "privateEndpoint",
- type: {
- name: "Composite",
- className: "PrivateEndpoint"
- }
- },
- privateLinkServiceConnectionState: {
- serializedName: "privateLinkServiceConnectionState",
+ info: {
+ serializedName: "info",
+ readOnly: true,
type: {
- name: "Composite",
- className: "PrivateLinkServiceConnectionState"
+ name: "Dictionary",
+ value: { type: { name: "any" } }
}
}
}
}
};
-export const PrivateEndpointConnectionResource: msRest.CompositeMapper = {
- serializedName: "PrivateEndpointConnectionResource",
+export const PreValidateEnableBackupRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PrivateEndpointConnectionResource",
+ className: "PreValidateEnableBackupRequest",
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ resourceType: {
+ serializedName: "resourceType",
type: {
- name: "Composite",
- className: "PrivateEndpointConnection"
+ name: "String"
}
- }
- }
- }
-};
-
-export const ErrorAdditionalInfo: msRest.CompositeMapper = {
- serializedName: "ErrorAdditionalInfo",
- type: {
- name: "Composite",
- className: "ErrorAdditionalInfo",
- modelProperties: {
- type: {
- readOnly: true,
- serializedName: "type",
+ },
+ resourceId: {
+ serializedName: "resourceId",
type: {
name: "String"
}
},
- info: {
- readOnly: true,
- serializedName: "info",
+ vaultId: {
+ serializedName: "vaultId",
+ type: {
+ name: "String"
+ }
+ },
+ properties: {
+ serializedName: "properties",
type: {
- name: "Object"
+ name: "String"
}
}
}
}
};
-export const NewErrorResponseError: msRest.CompositeMapper = {
- serializedName: "NewErrorResponse_error",
+export const PreValidateEnableBackupResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "NewErrorResponseError",
+ className: "PreValidateEnableBackupResponse",
modelProperties: {
- code: {
- readOnly: true,
- serializedName: "code",
+ status: {
+ serializedName: "status",
type: {
name: "String"
}
},
- message: {
- readOnly: true,
- serializedName: "message",
+ errorCode: {
+ serializedName: "errorCode",
type: {
name: "String"
}
},
- target: {
- readOnly: true,
- serializedName: "target",
+ errorMessage: {
+ serializedName: "errorMessage",
type: {
name: "String"
}
},
- details: {
- readOnly: true,
- serializedName: "details",
+ recommendation: {
+ serializedName: "recommendation",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "NewErrorResponse"
- }
- }
+ name: "String"
}
},
- additionalInfo: {
- readOnly: true,
- serializedName: "additionalInfo",
+ containerName: {
+ serializedName: "containerName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ErrorAdditionalInfo"
- }
- }
+ name: "String"
}
- }
- }
- }
-};
-
-export const NewErrorResponse: msRest.CompositeMapper = {
- serializedName: "NewErrorResponse",
- type: {
- name: "Composite",
- className: "NewErrorResponse",
- modelProperties: {
- error: {
- serializedName: "error",
+ },
+ protectedItemName: {
+ serializedName: "protectedItemName",
type: {
- name: "Composite",
- className: "NewErrorResponseError"
+ name: "String"
}
}
}
}
};
-export const ResourceHealthDetails: msRest.CompositeMapper = {
- serializedName: "ResourceHealthDetails",
+export const BackupStatusRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ResourceHealthDetails",
+ className: "BackupStatusRequest",
modelProperties: {
- code: {
- readOnly: true,
- serializedName: "code",
- type: {
- name: "Number"
- }
- },
- title: {
- readOnly: true,
- serializedName: "title",
+ resourceType: {
+ serializedName: "resourceType",
type: {
name: "String"
}
},
- message: {
- readOnly: true,
- serializedName: "message",
+ resourceId: {
+ serializedName: "resourceId",
type: {
name: "String"
}
},
- recommendations: {
- readOnly: true,
- serializedName: "recommendations",
+ poLogicalName: {
+ serializedName: "poLogicalName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
}
}
}
};
-export const KPIResourceHealthDetails: msRest.CompositeMapper = {
- serializedName: "KPIResourceHealthDetails",
+export const BackupStatusResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "KPIResourceHealthDetails",
+ className: "BackupStatusResponse",
modelProperties: {
- resourceHealthStatus: {
- serializedName: "resourceHealthStatus",
+ protectionStatus: {
+ serializedName: "protectionStatus",
type: {
name: "String"
}
},
- resourceHealthDetails: {
- serializedName: "resourceHealthDetails",
+ vaultId: {
+ serializedName: "vaultId",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ResourceHealthDetails"
- }
- }
+ name: "String"
}
- }
- }
- }
-};
-
-export const AzureFileshareProtectedItemExtendedInfo: msRest.CompositeMapper = {
- serializedName: "AzureFileshareProtectedItemExtendedInfo",
- type: {
- name: "Composite",
- className: "AzureFileshareProtectedItemExtendedInfo",
- modelProperties: {
- oldestRecoveryPoint: {
- serializedName: "oldestRecoveryPoint",
+ },
+ fabricName: {
+ serializedName: "fabricName",
type: {
- name: "DateTime"
+ name: "String"
}
},
- recoveryPointCount: {
- serializedName: "recoveryPointCount",
+ containerName: {
+ serializedName: "containerName",
type: {
- name: "Number"
+ name: "String"
}
},
- policyState: {
- serializedName: "policyState",
+ protectedItemName: {
+ serializedName: "protectedItemName",
type: {
name: "String"
}
},
- resourceState: {
- readOnly: true,
- serializedName: "resourceState",
+ errorCode: {
+ serializedName: "errorCode",
type: {
name: "String"
}
},
- resourceStateSyncTime: {
- readOnly: true,
- serializedName: "resourceStateSyncTime",
+ errorMessage: {
+ serializedName: "errorMessage",
type: {
- name: "DateTime"
+ name: "String"
+ }
+ },
+ policyName: {
+ serializedName: "policyName",
+ type: {
+ name: "String"
+ }
+ },
+ registrationStatus: {
+ serializedName: "registrationStatus",
+ type: {
+ name: "String"
}
}
}
}
};
-export const ProtectedItem: msRest.CompositeMapper = {
- serializedName: "ProtectedItem",
+export const FeatureSupportRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
+ className: "FeatureSupportRequest",
+ uberParent: "FeatureSupportRequest",
polymorphicDiscriminator: {
- serializedName: "protectedItemType",
- clientName: "protectedItemType"
+ serializedName: "featureType",
+ clientName: "featureType"
},
- uberParent: "ProtectedItem",
- className: "ProtectedItem",
modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
- type: {
- name: "String"
- }
- },
- workloadType: {
- serializedName: "workloadType",
+ featureType: {
+ serializedName: "featureType",
+ required: true,
type: {
name: "String"
}
- },
- containerName: {
- serializedName: "containerName",
+ }
+ }
+ }
+};
+
+export const AzureVMResourceFeatureSupportResponse: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureVMResourceFeatureSupportResponse",
+ modelProperties: {
+ supportStatus: {
+ serializedName: "supportStatus",
type: {
name: "String"
}
- },
- sourceResourceId: {
- serializedName: "sourceResourceId",
+ }
+ }
+ }
+};
+
+export const ProtectionIntent: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ProtectionIntent",
+ uberParent: "ProtectionIntent",
+ polymorphicDiscriminator: {
+ serializedName: "protectionIntentItemType",
+ clientName: "protectionIntentItemType"
+ },
+ modelProperties: {
+ protectionIntentItemType: {
+ serializedName: "protectionIntentItemType",
+ required: true,
type: {
name: "String"
}
},
- policyId: {
- serializedName: "policyId",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
name: "String"
}
},
- lastRecoveryPoint: {
- serializedName: "lastRecoveryPoint",
- type: {
- name: "DateTime"
- }
- },
- backupSetName: {
- serializedName: "backupSetName",
+ sourceResourceId: {
+ serializedName: "sourceResourceId",
type: {
name: "String"
}
},
- createMode: {
- serializedName: "createMode",
+ itemId: {
+ serializedName: "itemId",
type: {
name: "String"
}
},
- deferredDeleteTimeInUTC: {
- serializedName: "deferredDeleteTimeInUTC",
- type: {
- name: "DateTime"
- }
- },
- isScheduledForDeferredDelete: {
- serializedName: "isScheduledForDeferredDelete",
- type: {
- name: "Boolean"
- }
- },
- deferredDeleteTimeRemaining: {
- serializedName: "deferredDeleteTimeRemaining",
+ policyId: {
+ serializedName: "policyId",
type: {
name: "String"
}
},
- isDeferredDeleteScheduleUpcoming: {
- serializedName: "isDeferredDeleteScheduleUpcoming",
- type: {
- name: "Boolean"
- }
- },
- isRehydrate: {
- serializedName: "isRehydrate",
- type: {
- name: "Boolean"
- }
- },
- protectedItemType: {
- required: true,
- serializedName: "protectedItemType",
+ protectionState: {
+ serializedName: "protectionState",
type: {
name: "String"
}
@@ -527,157 +453,196 @@ export const ProtectedItem: msRest.CompositeMapper = {
}
};
-export const AzureFileshareProtectedItem: msRest.CompositeMapper = {
- serializedName: "AzureFileShareProtectedItem",
+export const ResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "AzureFileshareProtectedItem",
+ className: "ResourceList",
modelProperties: {
- ...ProtectedItem.type.modelProperties,
- friendlyName: {
- serializedName: "friendlyName",
+ nextLink: {
+ serializedName: "nextLink",
type: {
name: "String"
}
- },
- protectionStatus: {
- serializedName: "protectionStatus",
+ }
+ }
+ }
+};
+
+export const BackupManagementUsageList: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BackupManagementUsageList",
+ modelProperties: {
+ value: {
+ serializedName: "value",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "BackupManagementUsage"
+ }
+ }
}
- },
- protectionState: {
- serializedName: "protectionState",
+ }
+ }
+ }
+};
+
+export const BackupManagementUsage: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BackupManagementUsage",
+ modelProperties: {
+ unit: {
+ serializedName: "unit",
type: {
name: "String"
}
},
- lastBackupStatus: {
- serializedName: "lastBackupStatus",
+ quotaPeriod: {
+ serializedName: "quotaPeriod",
type: {
name: "String"
}
},
- lastBackupTime: {
- serializedName: "lastBackupTime",
+ nextResetTime: {
+ serializedName: "nextResetTime",
type: {
name: "DateTime"
}
},
- kpisHealths: {
- serializedName: "kpisHealths",
+ currentValue: {
+ serializedName: "currentValue",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "Composite",
- className: "KPIResourceHealthDetails"
- }
- }
+ name: "Number"
}
},
- extendedInfo: {
- serializedName: "extendedInfo",
+ limit: {
+ serializedName: "limit",
type: {
- name: "Composite",
- className: "AzureFileshareProtectedItemExtendedInfo"
+ name: "Number"
}
},
- healthStatus: {
- serializedName: "healthStatus",
+ name: {
+ serializedName: "name",
type: {
- name: "String"
+ name: "Composite",
+ className: "NameInfo"
}
}
}
}
};
-export const RecoveryPoint: msRest.CompositeMapper = {
- serializedName: "RecoveryPoint",
+export const NameInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "objectType",
- clientName: "objectType"
- },
- uberParent: "RecoveryPoint",
- className: "RecoveryPoint",
+ className: "NameInfo",
modelProperties: {
- objectType: {
- required: true,
- serializedName: "objectType",
+ value: {
+ serializedName: "value",
type: {
name: "String"
}
- }
+ },
+ localizedValue: {
+ serializedName: "localizedValue",
+ type: {
+ name: "String"
+ }
+ }
}
}
};
-export const AzureFileShareRecoveryPoint: msRest.CompositeMapper = {
- serializedName: "AzureFileShareRecoveryPoint",
+export const ClientDiscoveryResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
- uberParent: "RecoveryPoint",
- className: "AzureFileShareRecoveryPoint",
+ className: "ClientDiscoveryResponse",
modelProperties: {
- ...RecoveryPoint.type.modelProperties,
- recoveryPointType: {
- readOnly: true,
- serializedName: "recoveryPointType",
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ClientDiscoveryValueForSingleApi"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ClientDiscoveryValueForSingleApi: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ClientDiscoveryValueForSingleApi",
+ modelProperties: {
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- recoveryPointTime: {
- readOnly: true,
- serializedName: "recoveryPointTime",
+ display: {
+ serializedName: "display",
type: {
- name: "DateTime"
+ name: "Composite",
+ className: "ClientDiscoveryDisplay"
}
},
- fileShareSnapshotUri: {
- readOnly: true,
- serializedName: "fileShareSnapshotUri",
+ origin: {
+ serializedName: "origin",
type: {
name: "String"
}
},
- recoveryPointSizeInGB: {
- readOnly: true,
- serializedName: "recoveryPointSizeInGB",
+ properties: {
+ serializedName: "properties",
type: {
- name: "Number"
+ name: "Composite",
+ className: "ClientDiscoveryForProperties"
}
}
}
}
};
-export const RestoreFileSpecs: msRest.CompositeMapper = {
- serializedName: "RestoreFileSpecs",
+export const ClientDiscoveryDisplay: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "RestoreFileSpecs",
+ className: "ClientDiscoveryDisplay",
modelProperties: {
- path: {
- serializedName: "path",
+ provider: {
+ serializedName: "provider",
type: {
name: "String"
}
},
- fileSpecType: {
- serializedName: "fileSpecType",
+ resource: {
+ serializedName: "resource",
type: {
name: "String"
}
},
- targetFolderPath: {
- serializedName: "targetFolderPath",
+ operation: {
+ serializedName: "operation",
+ type: {
+ name: "String"
+ }
+ },
+ description: {
+ serializedName: "description",
type: {
name: "String"
}
@@ -686,42 +651,62 @@ export const RestoreFileSpecs: msRest.CompositeMapper = {
}
};
-export const TargetAFSRestoreInfo: msRest.CompositeMapper = {
- serializedName: "TargetAFSRestoreInfo",
+export const ClientDiscoveryForProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TargetAFSRestoreInfo",
+ className: "ClientDiscoveryForProperties",
modelProperties: {
- name: {
- serializedName: "name",
+ serviceSpecification: {
+ serializedName: "serviceSpecification",
type: {
- name: "String"
+ name: "Composite",
+ className: "ClientDiscoveryForServiceSpecification"
}
- },
- targetResourceId: {
- serializedName: "targetResourceId",
+ }
+ }
+ }
+};
+
+export const ClientDiscoveryForServiceSpecification: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ClientDiscoveryForServiceSpecification",
+ modelProperties: {
+ logSpecifications: {
+ serializedName: "logSpecifications",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ClientDiscoveryForLogSpecification"
+ }
+ }
}
}
}
}
};
-export const RestoreRequest: msRest.CompositeMapper = {
- serializedName: "RestoreRequest",
+export const ClientDiscoveryForLogSpecification: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "objectType",
- clientName: "objectType"
- },
- uberParent: "RestoreRequest",
- className: "RestoreRequest",
+ className: "ClientDiscoveryForLogSpecification",
modelProperties: {
- objectType: {
- required: true,
- serializedName: "objectType",
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ displayName: {
+ serializedName: "displayName",
+ type: {
+ name: "String"
+ }
+ },
+ blobDuration: {
+ serializedName: "blobDuration",
type: {
name: "String"
}
@@ -730,126 +715,137 @@ export const RestoreRequest: msRest.CompositeMapper = {
}
};
-export const AzureFileShareRestoreRequest: msRest.CompositeMapper = {
- serializedName: "AzureFileShareRestoreRequest",
+export const BackupResourceVaultConfig: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureFileShareRestoreRequest",
+ className: "BackupResourceVaultConfig",
modelProperties: {
- ...RestoreRequest.type.modelProperties,
- recoveryType: {
- serializedName: "recoveryType",
+ storageModelType: {
+ serializedName: "storageModelType",
type: {
name: "String"
}
},
- sourceResourceId: {
- serializedName: "sourceResourceId",
+ storageType: {
+ serializedName: "storageType",
type: {
name: "String"
}
},
- copyOptions: {
- serializedName: "copyOptions",
+ storageTypeState: {
+ serializedName: "storageTypeState",
type: {
name: "String"
}
},
- restoreRequestType: {
- serializedName: "restoreRequestType",
+ enhancedSecurityState: {
+ serializedName: "enhancedSecurityState",
type: {
name: "String"
}
},
- restoreFileSpecs: {
- serializedName: "restoreFileSpecs",
+ softDeleteFeatureState: {
+ serializedName: "softDeleteFeatureState",
+ type: {
+ name: "String"
+ }
+ },
+ resourceGuardOperationRequests: {
+ serializedName: "resourceGuardOperationRequests",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "RestoreFileSpecs"
+ name: "String"
}
}
}
},
- targetDetails: {
- serializedName: "targetDetails",
+ isSoftDeleteFeatureStateEditable: {
+ serializedName: "isSoftDeleteFeatureStateEditable",
type: {
- name: "Composite",
- className: "TargetAFSRestoreInfo"
+ name: "Boolean"
}
}
}
}
};
-export const Settings: msRest.CompositeMapper = {
- serializedName: "Settings",
+export const BackupResourceEncryptionConfig: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Settings",
+ className: "BackupResourceEncryptionConfig",
modelProperties: {
- timeZone: {
- serializedName: "timeZone",
+ encryptionAtRestType: {
+ serializedName: "encryptionAtRestType",
type: {
name: "String"
}
},
- issqlcompression: {
- serializedName: "issqlcompression",
+ keyUri: {
+ serializedName: "keyUri",
type: {
- name: "Boolean"
+ name: "String"
}
},
- isCompression: {
- serializedName: "isCompression",
+ subscriptionId: {
+ serializedName: "subscriptionId",
type: {
- name: "Boolean"
+ name: "String"
+ }
+ },
+ lastUpdateStatus: {
+ serializedName: "lastUpdateStatus",
+ type: {
+ name: "String"
+ }
+ },
+ infrastructureEncryptionState: {
+ serializedName: "infrastructureEncryptionState",
+ type: {
+ name: "String"
}
}
}
}
};
-export const SchedulePolicy: msRest.CompositeMapper = {
- serializedName: "SchedulePolicy",
+export const PrivateEndpointConnection: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "schedulePolicyType",
- clientName: "schedulePolicyType"
- },
- uberParent: "SchedulePolicy",
- className: "SchedulePolicy",
+ className: "PrivateEndpointConnection",
modelProperties: {
- schedulePolicyType: {
- required: true,
- serializedName: "schedulePolicyType",
+ provisioningState: {
+ serializedName: "provisioningState",
type: {
name: "String"
}
+ },
+ privateEndpoint: {
+ serializedName: "privateEndpoint",
+ type: {
+ name: "Composite",
+ className: "PrivateEndpoint"
+ }
+ },
+ privateLinkServiceConnectionState: {
+ serializedName: "privateLinkServiceConnectionState",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServiceConnectionState"
+ }
}
}
}
};
-export const RetentionPolicy: msRest.CompositeMapper = {
- serializedName: "RetentionPolicy",
+export const PrivateEndpoint: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "retentionPolicyType",
- clientName: "retentionPolicyType"
- },
- uberParent: "RetentionPolicy",
- className: "RetentionPolicy",
+ className: "PrivateEndpoint",
modelProperties: {
- retentionPolicyType: {
- required: true,
- serializedName: "retentionPolicyType",
+ id: {
+ serializedName: "id",
type: {
name: "String"
}
@@ -858,302 +854,228 @@ export const RetentionPolicy: msRest.CompositeMapper = {
}
};
-export const SubProtectionPolicy: msRest.CompositeMapper = {
- serializedName: "SubProtectionPolicy",
+export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SubProtectionPolicy",
+ className: "PrivateLinkServiceConnectionState",
modelProperties: {
- policyType: {
- serializedName: "policyType",
+ status: {
+ serializedName: "status",
type: {
name: "String"
}
},
- schedulePolicy: {
- serializedName: "schedulePolicy",
+ description: {
+ serializedName: "description",
type: {
- name: "Composite",
- className: "SchedulePolicy"
+ name: "String"
}
},
- retentionPolicy: {
- serializedName: "retentionPolicy",
+ actionRequired: {
+ serializedName: "actionRequired",
type: {
- name: "Composite",
- className: "RetentionPolicy"
+ name: "String"
}
}
}
}
};
-export const ProtectionPolicy: msRest.CompositeMapper = {
- serializedName: "ProtectionPolicy",
+export const CloudError: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "backupManagementType",
- clientName: "backupManagementType"
- },
- uberParent: "ProtectionPolicy",
- className: "ProtectionPolicy",
+ className: "CloudError",
modelProperties: {
- protectedItemsCount: {
- serializedName: "protectedItemsCount",
- type: {
- name: "Number"
- }
- },
- backupManagementType: {
- required: true,
- serializedName: "backupManagementType",
+ error: {
+ serializedName: "error",
type: {
- name: "String"
+ name: "Composite",
+ className: "CloudErrorBody"
}
}
}
}
};
-export const AzureVmWorkloadProtectionPolicy: msRest.CompositeMapper = {
- serializedName: "AzureWorkload",
+export const CloudErrorBody: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
- uberParent: "ProtectionPolicy",
- className: "AzureVmWorkloadProtectionPolicy",
+ className: "CloudErrorBody",
modelProperties: {
- ...ProtectionPolicy.type.modelProperties,
- workLoadType: {
- serializedName: "workLoadType",
+ code: {
+ serializedName: "code",
+ readOnly: true,
type: {
name: "String"
}
},
- settings: {
- serializedName: "settings",
+ message: {
+ serializedName: "message",
+ readOnly: true,
type: {
- name: "Composite",
- className: "Settings"
+ name: "String"
}
},
- subProtectionPolicy: {
- serializedName: "subProtectionPolicy",
+ target: {
+ serializedName: "target",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ details: {
+ serializedName: "details",
+ readOnly: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "SubProtectionPolicy"
+ className: "CloudErrorBody"
}
}
}
},
- makePolicyConsistent: {
- serializedName: "makePolicyConsistent",
- type: {
- name: "Boolean"
- }
- }
- }
- }
-};
-
-export const AzureFileShareProtectionPolicy: msRest.CompositeMapper = {
- serializedName: "AzureStorage",
- type: {
- name: "Composite",
- polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
- uberParent: "ProtectionPolicy",
- className: "AzureFileShareProtectionPolicy",
- modelProperties: {
- ...ProtectionPolicy.type.modelProperties,
- workLoadType: {
- serializedName: "workLoadType",
- type: {
- name: "String"
- }
- },
- schedulePolicy: {
- serializedName: "schedulePolicy",
- type: {
- name: "Composite",
- className: "SchedulePolicy"
- }
- },
- retentionPolicy: {
- serializedName: "retentionPolicy",
- type: {
- name: "Composite",
- className: "RetentionPolicy"
- }
- },
- timeZone: {
- serializedName: "timeZone",
+ additionalInfo: {
+ serializedName: "additionalInfo",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ErrorAdditionalInfo"
+ }
+ }
}
}
}
}
};
-export const AzureIaaSVMProtectedItem: msRest.CompositeMapper = {
- serializedName: "AzureIaaSVMProtectedItem",
+export const OperationStatus: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "AzureIaaSVMProtectedItem",
+ className: "OperationStatus",
modelProperties: {
- ...ProtectedItem.type.modelProperties,
- friendlyName: {
- serializedName: "friendlyName",
- type: {
- name: "String"
- }
- },
- virtualMachineId: {
- serializedName: "virtualMachineId",
- type: {
- name: "String"
- }
- },
- protectionStatus: {
- serializedName: "protectionStatus",
- type: {
- name: "String"
- }
- },
- protectionState: {
- serializedName: "protectionState",
+ id: {
+ serializedName: "id",
type: {
name: "String"
}
},
- healthStatus: {
- serializedName: "healthStatus",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- healthDetails: {
- serializedName: "healthDetails",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "AzureIaaSVMHealthDetails"
- }
- }
- }
- },
- kpisHealths: {
- serializedName: "kpisHealths",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "Composite",
- className: "KPIResourceHealthDetails"
- }
- }
- }
- },
- lastBackupStatus: {
- serializedName: "lastBackupStatus",
+ status: {
+ serializedName: "status",
type: {
name: "String"
}
},
- lastBackupTime: {
- serializedName: "lastBackupTime",
+ startTime: {
+ serializedName: "startTime",
type: {
name: "DateTime"
}
},
- protectedItemDataId: {
- serializedName: "protectedItemDataId",
+ endTime: {
+ serializedName: "endTime",
type: {
- name: "String"
+ name: "DateTime"
}
},
- extendedInfo: {
- serializedName: "extendedInfo",
+ error: {
+ serializedName: "error",
type: {
name: "Composite",
- className: "AzureIaaSVMProtectedItemExtendedInfo"
+ className: "OperationStatusError"
}
},
- extendedProperties: {
- serializedName: "extendedProperties",
+ properties: {
+ serializedName: "properties",
type: {
name: "Composite",
- className: "ExtendedProperties"
+ className: "OperationStatusExtendedInfo"
}
}
}
}
};
-export const AzureIaaSClassicComputeVMProtectedItem: msRest.CompositeMapper = {
- serializedName: "Microsoft.ClassicCompute/virtualMachines",
+export const OperationStatusError: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "AzureIaaSClassicComputeVMProtectedItem",
+ className: "OperationStatusError",
modelProperties: {
- ...AzureIaaSVMProtectedItem.type.modelProperties
+ code: {
+ serializedName: "code",
+ type: {
+ name: "String"
+ }
+ },
+ message: {
+ serializedName: "message",
+ type: {
+ name: "String"
+ }
+ }
}
}
};
-export const AzureIaaSComputeVMProtectedItem: msRest.CompositeMapper = {
- serializedName: "Microsoft.Compute/virtualMachines",
+export const OperationStatusExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "AzureIaaSComputeVMProtectedItem",
+ className: "OperationStatusExtendedInfo",
+ uberParent: "OperationStatusExtendedInfo",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- ...AzureIaaSVMProtectedItem.type.modelProperties
+ objectType: {
+ serializedName: "objectType",
+ required: true,
+ type: {
+ name: "String"
+ }
+ }
}
}
};
-export const AzureIaaSVMErrorInfo: msRest.CompositeMapper = {
- serializedName: "AzureIaaSVMErrorInfo",
+export const PrepareDataMoveRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureIaaSVMErrorInfo",
+ className: "PrepareDataMoveRequest",
modelProperties: {
- errorCode: {
- readOnly: true,
- serializedName: "errorCode",
+ targetResourceId: {
+ serializedName: "targetResourceId",
+ required: true,
type: {
- name: "Number"
+ name: "String"
}
},
- errorTitle: {
- readOnly: true,
- serializedName: "errorTitle",
+ targetRegion: {
+ serializedName: "targetRegion",
+ required: true,
type: {
name: "String"
}
},
- errorString: {
- readOnly: true,
- serializedName: "errorString",
+ dataMoveLevel: {
+ serializedName: "dataMoveLevel",
+ required: true,
type: {
name: "String"
}
},
- recommendations: {
- readOnly: true,
- serializedName: "recommendations",
+ sourceContainerArmIds: {
+ serializedName: "sourceContainerArmIds",
type: {
name: "Sequence",
element: {
@@ -1162,422 +1084,349 @@ export const AzureIaaSVMErrorInfo: msRest.CompositeMapper = {
}
}
}
- }
+ },
+ ignoreMoved: {
+ serializedName: "ignoreMoved",
+ type: {
+ name: "Boolean"
+ }
+ }
}
}
};
-export const AzureIaaSVMHealthDetails: msRest.CompositeMapper = {
- serializedName: "AzureIaaSVMHealthDetails",
+export const VaultStorageConfigOperationResultResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureIaaSVMHealthDetails",
+ className: "VaultStorageConfigOperationResultResponse",
+ uberParent: "VaultStorageConfigOperationResultResponse",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- ...ResourceHealthDetails.type.modelProperties
+ objectType: {
+ serializedName: "objectType",
+ required: true,
+ type: {
+ name: "String"
+ }
+ }
}
}
};
-export const AzureIaaSVMJobTaskDetails: msRest.CompositeMapper = {
- serializedName: "AzureIaaSVMJobTaskDetails",
+export const TriggerDataMoveRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureIaaSVMJobTaskDetails",
+ className: "TriggerDataMoveRequest",
modelProperties: {
- taskId: {
- serializedName: "taskId",
+ sourceResourceId: {
+ serializedName: "sourceResourceId",
+ required: true,
type: {
name: "String"
}
},
- startTime: {
- serializedName: "startTime",
- type: {
- name: "DateTime"
- }
- },
- endTime: {
- serializedName: "endTime",
- type: {
- name: "DateTime"
- }
- },
- instanceId: {
- serializedName: "instanceId",
+ sourceRegion: {
+ serializedName: "sourceRegion",
+ required: true,
type: {
name: "String"
}
},
- duration: {
- serializedName: "duration",
+ dataMoveLevel: {
+ serializedName: "dataMoveLevel",
+ required: true,
type: {
- name: "TimeSpan"
+ name: "String"
}
},
- status: {
- serializedName: "status",
+ correlationId: {
+ serializedName: "correlationId",
+ required: true,
type: {
name: "String"
}
},
- progressPercentage: {
- serializedName: "progressPercentage",
+ sourceContainerArmIds: {
+ serializedName: "sourceContainerArmIds",
type: {
- name: "Number"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- taskExecutionDetails: {
- serializedName: "taskExecutionDetails",
+ pauseGC: {
+ serializedName: "pauseGC",
type: {
- name: "String"
+ name: "Boolean"
}
}
}
}
};
-export const AzureIaaSVMJobExtendedInfo: msRest.CompositeMapper = {
- serializedName: "AzureIaaSVMJobExtendedInfo",
+export const ProtectedItem: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureIaaSVMJobExtendedInfo",
+ className: "ProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: {
+ serializedName: "protectedItemType",
+ clientName: "protectedItemType"
+ },
modelProperties: {
- tasksList: {
- serializedName: "tasksList",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "AzureIaaSVMJobTaskDetails"
- }
- }
- }
- },
- propertyBag: {
- serializedName: "propertyBag",
+ protectedItemType: {
+ serializedName: "protectedItemType",
+ required: true,
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- internalPropertyBag: {
- serializedName: "internalPropertyBag",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- progressPercentage: {
- serializedName: "progressPercentage",
+ workloadType: {
+ serializedName: "workloadType",
type: {
- name: "Number"
+ name: "String"
}
},
- estimatedRemainingDuration: {
- serializedName: "estimatedRemainingDuration",
+ containerName: {
+ serializedName: "containerName",
type: {
name: "String"
}
},
- dynamicErrorMessage: {
- serializedName: "dynamicErrorMessage",
+ sourceResourceId: {
+ serializedName: "sourceResourceId",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const Job: msRest.CompositeMapper = {
- serializedName: "Job",
- type: {
- name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "jobType",
- clientName: "jobType"
- },
- uberParent: "Job",
- className: "Job",
- modelProperties: {
- entityFriendlyName: {
- serializedName: "entityFriendlyName",
+ },
+ policyId: {
+ serializedName: "policyId",
type: {
name: "String"
}
},
- backupManagementType: {
- serializedName: "backupManagementType",
+ lastRecoveryPoint: {
+ serializedName: "lastRecoveryPoint",
type: {
- name: "String"
+ name: "DateTime"
}
},
- operation: {
- serializedName: "operation",
+ backupSetName: {
+ serializedName: "backupSetName",
type: {
name: "String"
}
},
- status: {
- serializedName: "status",
+ createMode: {
+ serializedName: "createMode",
type: {
name: "String"
}
},
- startTime: {
- serializedName: "startTime",
+ deferredDeleteTimeInUTC: {
+ serializedName: "deferredDeleteTimeInUTC",
type: {
name: "DateTime"
}
},
- endTime: {
- serializedName: "endTime",
+ isScheduledForDeferredDelete: {
+ serializedName: "isScheduledForDeferredDelete",
type: {
- name: "DateTime"
+ name: "Boolean"
}
},
- activityId: {
- serializedName: "activityId",
+ deferredDeleteTimeRemaining: {
+ serializedName: "deferredDeleteTimeRemaining",
type: {
name: "String"
}
},
- jobType: {
- required: true,
- serializedName: "jobType",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const AzureIaaSVMJob: msRest.CompositeMapper = {
- serializedName: "AzureIaaSVMJob",
- type: {
- name: "Composite",
- polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
- uberParent: "Job",
- className: "AzureIaaSVMJob",
- modelProperties: {
- ...Job.type.modelProperties,
- duration: {
- serializedName: "duration",
+ isDeferredDeleteScheduleUpcoming: {
+ serializedName: "isDeferredDeleteScheduleUpcoming",
type: {
- name: "TimeSpan"
+ name: "Boolean"
}
},
- actionsInfo: {
- serializedName: "actionsInfo",
+ isRehydrate: {
+ serializedName: "isRehydrate",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Enum",
- allowedValues: ["Invalid", "Cancellable", "Retriable"]
- }
- }
+ name: "Boolean"
}
},
- errorDetails: {
- serializedName: "errorDetails",
+ resourceGuardOperationRequests: {
+ serializedName: "resourceGuardOperationRequests",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "AzureIaaSVMErrorInfo"
+ name: "String"
}
}
}
},
- virtualMachineVersion: {
- serializedName: "virtualMachineVersion",
+ isArchiveEnabled: {
+ serializedName: "isArchiveEnabled",
type: {
- name: "String"
+ name: "Boolean"
}
},
- extendedInfo: {
- serializedName: "extendedInfo",
+ policyName: {
+ serializedName: "policyName",
type: {
- name: "Composite",
- className: "AzureIaaSVMJobExtendedInfo"
+ name: "String"
}
}
}
}
};
-export const AzureIaaSVMProtectedItemExtendedInfo: msRest.CompositeMapper = {
- serializedName: "AzureIaaSVMProtectedItemExtendedInfo",
+export const RecoveryPoint: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureIaaSVMProtectedItemExtendedInfo",
+ className: "RecoveryPoint",
+ uberParent: "RecoveryPoint",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- oldestRecoveryPoint: {
- serializedName: "oldestRecoveryPoint",
- type: {
- name: "DateTime"
- }
- },
- recoveryPointCount: {
- serializedName: "recoveryPointCount",
+ objectType: {
+ serializedName: "objectType",
+ required: true,
type: {
- name: "Number"
- }
- },
- policyInconsistent: {
- serializedName: "policyInconsistent",
- type: {
- name: "Boolean"
+ name: "String"
}
}
}
}
};
-export const DiskExclusionProperties: msRest.CompositeMapper = {
- serializedName: "DiskExclusionProperties",
+export const RestoreRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DiskExclusionProperties",
+ className: "RestoreRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- diskLunList: {
- serializedName: "diskLunList",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Number"
- }
- }
- }
- },
- isInclusionList: {
- serializedName: "isInclusionList",
+ objectType: {
+ serializedName: "objectType",
+ required: true,
type: {
- name: "Boolean"
+ name: "String"
}
}
}
}
};
-export const ExtendedProperties: msRest.CompositeMapper = {
- serializedName: "ExtendedProperties",
+export const ProtectionPolicy: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ExtendedProperties",
+ className: "ProtectionPolicy",
+ uberParent: "ProtectionPolicy",
+ polymorphicDiscriminator: {
+ serializedName: "backupManagementType",
+ clientName: "backupManagementType"
+ },
modelProperties: {
- diskExclusionProperties: {
- serializedName: "diskExclusionProperties",
+ protectedItemsCount: {
+ serializedName: "protectedItemsCount",
type: {
- name: "Composite",
- className: "DiskExclusionProperties"
+ name: "Number"
}
- }
- }
- }
-};
-
-export const InstantRPAdditionalDetails: msRest.CompositeMapper = {
- serializedName: "InstantRPAdditionalDetails",
- type: {
- name: "Composite",
- className: "InstantRPAdditionalDetails",
- modelProperties: {
- azureBackupRGNamePrefix: {
- serializedName: "azureBackupRGNamePrefix",
+ },
+ backupManagementType: {
+ serializedName: "backupManagementType",
+ required: true,
type: {
name: "String"
}
},
- azureBackupRGNameSuffix: {
- serializedName: "azureBackupRGNameSuffix",
+ resourceGuardOperationRequests: {
+ serializedName: "resourceGuardOperationRequests",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
}
}
}
};
-export const AzureIaaSVMProtectionPolicy: msRest.CompositeMapper = {
- serializedName: "AzureIaasVM",
+export const Job: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
- uberParent: "ProtectionPolicy",
- className: "AzureIaaSVMProtectionPolicy",
+ className: "Job",
+ uberParent: "Job",
+ polymorphicDiscriminator: {
+ serializedName: "jobType",
+ clientName: "jobType"
+ },
modelProperties: {
- ...ProtectionPolicy.type.modelProperties,
- instantRPDetails: {
- serializedName: "instantRPDetails",
+ entityFriendlyName: {
+ serializedName: "entityFriendlyName",
type: {
- name: "Composite",
- className: "InstantRPAdditionalDetails"
+ name: "String"
}
},
- schedulePolicy: {
- serializedName: "schedulePolicy",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
- name: "Composite",
- className: "SchedulePolicy"
+ name: "String"
}
},
- retentionPolicy: {
- serializedName: "retentionPolicy",
+ operation: {
+ serializedName: "operation",
type: {
- name: "Composite",
- className: "RetentionPolicy"
+ name: "String"
}
},
- instantRpRetentionRangeInDays: {
- serializedName: "instantRpRetentionRangeInDays",
+ status: {
+ serializedName: "status",
type: {
- name: "Number"
+ name: "String"
}
},
- timeZone: {
- serializedName: "timeZone",
+ startTime: {
+ serializedName: "startTime",
type: {
- name: "String"
+ name: "DateTime"
}
- }
- }
- }
-};
-
-export const AzureSqlProtectedItemExtendedInfo: msRest.CompositeMapper = {
- serializedName: "AzureSqlProtectedItemExtendedInfo",
- type: {
- name: "Composite",
- className: "AzureSqlProtectedItemExtendedInfo",
- modelProperties: {
- oldestRecoveryPoint: {
- serializedName: "oldestRecoveryPoint",
+ },
+ endTime: {
+ serializedName: "endTime",
type: {
name: "DateTime"
}
},
- recoveryPointCount: {
- serializedName: "recoveryPointCount",
+ activityId: {
+ serializedName: "activityId",
type: {
- name: "Number"
+ name: "String"
}
},
- policyState: {
- serializedName: "policyState",
+ jobType: {
+ serializedName: "jobType",
+ required: true,
type: {
name: "String"
}
@@ -1586,64 +1435,93 @@ export const AzureSqlProtectedItemExtendedInfo: msRest.CompositeMapper = {
}
};
-export const AzureSqlProtectedItem: msRest.CompositeMapper = {
- serializedName: "Microsoft.Sql/servers/databases",
+export const OperationResultInfoBase: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "AzureSqlProtectedItem",
+ className: "OperationResultInfoBase",
+ uberParent: "OperationResultInfoBase",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- ...ProtectedItem.type.modelProperties,
- protectedItemDataId: {
- serializedName: "protectedItemDataId",
- type: {
- name: "String"
- }
- },
- protectionState: {
- serializedName: "protectionState",
+ objectType: {
+ serializedName: "objectType",
+ required: true,
type: {
name: "String"
}
- },
- extendedInfo: {
- serializedName: "extendedInfo",
- type: {
- name: "Composite",
- className: "AzureSqlProtectedItemExtendedInfo"
- }
}
}
}
};
-export const AzureStorageErrorInfo: msRest.CompositeMapper = {
- serializedName: "AzureStorageErrorInfo",
+export const OperationWorkerResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureStorageErrorInfo",
+ className: "OperationWorkerResponse",
modelProperties: {
- errorCode: {
- serializedName: "errorCode",
- type: {
- name: "Number"
- }
- },
- errorString: {
- serializedName: "errorString",
+ statusCode: {
+ serializedName: "statusCode",
type: {
- name: "String"
+ name: "Enum",
+ allowedValues: [
+ "Continue",
+ "SwitchingProtocols",
+ "OK",
+ "Created",
+ "Accepted",
+ "NonAuthoritativeInformation",
+ "NoContent",
+ "ResetContent",
+ "PartialContent",
+ "MultipleChoices",
+ "Ambiguous",
+ "MovedPermanently",
+ "Moved",
+ "Found",
+ "Redirect",
+ "SeeOther",
+ "RedirectMethod",
+ "NotModified",
+ "UseProxy",
+ "Unused",
+ "TemporaryRedirect",
+ "RedirectKeepVerb",
+ "BadRequest",
+ "Unauthorized",
+ "PaymentRequired",
+ "Forbidden",
+ "NotFound",
+ "MethodNotAllowed",
+ "NotAcceptable",
+ "ProxyAuthenticationRequired",
+ "RequestTimeout",
+ "Conflict",
+ "Gone",
+ "LengthRequired",
+ "PreconditionFailed",
+ "RequestEntityTooLarge",
+ "RequestUriTooLong",
+ "UnsupportedMediaType",
+ "RequestedRangeNotSatisfiable",
+ "ExpectationFailed",
+ "UpgradeRequired",
+ "InternalServerError",
+ "NotImplemented",
+ "BadGateway",
+ "ServiceUnavailable",
+ "GatewayTimeout",
+ "HttpVersionNotSupported"
+ ]
}
},
- recommendations: {
- serializedName: "recommendations",
+ headers: {
+ serializedName: "headers",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
+ name: "Dictionary",
+ value: {
+ type: { name: "Sequence", element: { type: { name: "String" } } }
}
}
}
@@ -1651,172 +1529,86 @@ export const AzureStorageErrorInfo: msRest.CompositeMapper = {
}
};
-export const AzureSqlProtectionPolicy: msRest.CompositeMapper = {
- serializedName: "AzureSql",
+export const ValidateOperationRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
- uberParent: "ProtectionPolicy",
- className: "AzureSqlProtectionPolicy",
+ className: "ValidateOperationRequest",
+ uberParent: "ValidateOperationRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- ...ProtectionPolicy.type.modelProperties,
- retentionPolicy: {
- serializedName: "retentionPolicy",
+ objectType: {
+ serializedName: "objectType",
+ required: true,
type: {
- name: "Composite",
- className: "RetentionPolicy"
+ name: "String"
}
}
}
}
};
-export const AzureStorageJobTaskDetails: msRest.CompositeMapper = {
- serializedName: "AzureStorageJobTaskDetails",
+export const ValidateOperationsResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureStorageJobTaskDetails",
- modelProperties: {
- taskId: {
- serializedName: "taskId",
- type: {
- name: "String"
- }
- },
- status: {
- serializedName: "status",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const AzureStorageJobExtendedInfo: msRest.CompositeMapper = {
- serializedName: "AzureStorageJobExtendedInfo",
- type: {
- name: "Composite",
- className: "AzureStorageJobExtendedInfo",
+ className: "ValidateOperationsResponse",
modelProperties: {
- tasksList: {
- serializedName: "tasksList",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "AzureStorageJobTaskDetails"
- }
- }
- }
- },
- propertyBag: {
- serializedName: "propertyBag",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
- }
- },
- dynamicErrorMessage: {
- serializedName: "dynamicErrorMessage",
+ validateOperationResponse: {
+ serializedName: "validateOperationResponse",
type: {
- name: "String"
+ name: "Composite",
+ className: "ValidateOperationResponse"
}
}
}
}
};
-export const AzureStorageJob: msRest.CompositeMapper = {
- serializedName: "AzureStorageJob",
+export const ValidateOperationResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
- uberParent: "Job",
- className: "AzureStorageJob",
+ className: "ValidateOperationResponse",
modelProperties: {
- ...Job.type.modelProperties,
- duration: {
- serializedName: "duration",
- type: {
- name: "TimeSpan"
- }
- },
- actionsInfo: {
- serializedName: "actionsInfo",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Enum",
- allowedValues: ["Invalid", "Cancellable", "Retriable"]
- }
- }
- }
- },
- errorDetails: {
- serializedName: "errorDetails",
+ validationResults: {
+ serializedName: "validationResults",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "AzureStorageErrorInfo"
+ className: "ErrorDetail"
}
}
}
- },
- storageAccountName: {
- serializedName: "storageAccountName",
- type: {
- name: "String"
- }
- },
- storageAccountVersion: {
- serializedName: "storageAccountVersion",
- type: {
- name: "String"
- }
- },
- extendedInfo: {
- serializedName: "extendedInfo",
- type: {
- name: "Composite",
- className: "AzureStorageJobExtendedInfo"
- }
}
}
}
};
-export const ErrorDetail: msRest.CompositeMapper = {
- serializedName: "ErrorDetail",
+export const ErrorDetail: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "ErrorDetail",
modelProperties: {
code: {
- readOnly: true,
serializedName: "code",
+ readOnly: true,
type: {
name: "String"
}
},
message: {
- readOnly: true,
serializedName: "message",
+ readOnly: true,
type: {
name: "String"
}
},
recommendations: {
- readOnly: true,
serializedName: "recommendations",
+ readOnly: true,
type: {
name: "Sequence",
element: {
@@ -1830,209 +1622,194 @@ export const ErrorDetail: msRest.CompositeMapper = {
}
};
-export const AzureVmWorkloadProtectedItemExtendedInfo: msRest.CompositeMapper = {
- serializedName: "AzureVmWorkloadProtectedItemExtendedInfo",
+export const BackupEngineBase: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureVmWorkloadProtectedItemExtendedInfo",
+ className: "BackupEngineBase",
+ uberParent: "BackupEngineBase",
+ polymorphicDiscriminator: {
+ serializedName: "backupEngineType",
+ clientName: "backupEngineType"
+ },
modelProperties: {
- oldestRecoveryPoint: {
- serializedName: "oldestRecoveryPoint",
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
- name: "DateTime"
+ name: "String"
}
},
- recoveryPointCount: {
- serializedName: "recoveryPointCount",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
- name: "Number"
+ name: "String"
}
},
- policyState: {
- serializedName: "policyState",
+ registrationStatus: {
+ serializedName: "registrationStatus",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const AzureVmWorkloadProtectedItem: msRest.CompositeMapper = {
- serializedName: "AzureVmWorkloadProtectedItem",
- type: {
- name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "AzureVmWorkloadProtectedItem",
- modelProperties: {
- ...ProtectedItem.type.modelProperties,
- friendlyName: {
- serializedName: "friendlyName",
+ },
+ backupEngineState: {
+ serializedName: "backupEngineState",
type: {
name: "String"
}
},
- serverName: {
- serializedName: "serverName",
+ healthStatus: {
+ serializedName: "healthStatus",
type: {
name: "String"
}
},
- parentName: {
- serializedName: "parentName",
+ backupEngineType: {
+ serializedName: "backupEngineType",
+ required: true,
type: {
name: "String"
}
},
- parentType: {
- serializedName: "parentType",
+ canReRegister: {
+ serializedName: "canReRegister",
type: {
- name: "String"
+ name: "Boolean"
}
},
- protectionStatus: {
- serializedName: "protectionStatus",
+ backupEngineId: {
+ serializedName: "backupEngineId",
type: {
name: "String"
}
},
- protectionState: {
- serializedName: "protectionState",
+ dpmVersion: {
+ serializedName: "dpmVersion",
type: {
name: "String"
}
},
- lastBackupStatus: {
- serializedName: "lastBackupStatus",
+ azureBackupAgentVersion: {
+ serializedName: "azureBackupAgentVersion",
type: {
name: "String"
}
},
- lastBackupTime: {
- serializedName: "lastBackupTime",
+ isAzureBackupAgentUpgradeAvailable: {
+ serializedName: "isAzureBackupAgentUpgradeAvailable",
type: {
- name: "DateTime"
+ name: "Boolean"
}
},
- lastBackupErrorDetail: {
- serializedName: "lastBackupErrorDetail",
+ isDpmUpgradeAvailable: {
+ serializedName: "isDpmUpgradeAvailable",
type: {
- name: "Composite",
- className: "ErrorDetail"
+ name: "Boolean"
}
},
- protectedItemDataSourceId: {
- serializedName: "protectedItemDataSourceId",
+ extendedInfo: {
+ serializedName: "extendedInfo",
+ type: {
+ name: "Composite",
+ className: "BackupEngineExtendedInfo"
+ }
+ }
+ }
+ }
+};
+
+export const BackupEngineExtendedInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BackupEngineExtendedInfo",
+ modelProperties: {
+ databaseName: {
+ serializedName: "databaseName",
type: {
name: "String"
}
},
- protectedItemHealthStatus: {
- serializedName: "protectedItemHealthStatus",
+ protectedItemsCount: {
+ serializedName: "protectedItemsCount",
type: {
- name: "String"
+ name: "Number"
}
},
- extendedInfo: {
- serializedName: "extendedInfo",
+ protectedServersCount: {
+ serializedName: "protectedServersCount",
type: {
- name: "Composite",
- className: "AzureVmWorkloadProtectedItemExtendedInfo"
+ name: "Number"
}
},
- kpisHealths: {
- serializedName: "kpisHealths",
+ diskCount: {
+ serializedName: "diskCount",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "Composite",
- className: "KPIResourceHealthDetails"
- }
- }
+ name: "Number"
+ }
+ },
+ usedDiskSpace: {
+ serializedName: "usedDiskSpace",
+ type: {
+ name: "Number"
+ }
+ },
+ availableDiskSpace: {
+ serializedName: "availableDiskSpace",
+ type: {
+ name: "Number"
+ }
+ },
+ refreshedAt: {
+ serializedName: "refreshedAt",
+ type: {
+ name: "DateTime"
+ }
+ },
+ azureProtectedInstances: {
+ serializedName: "azureProtectedInstances",
+ type: {
+ name: "Number"
}
}
}
}
};
-export const AzureVmWorkloadSAPAseDatabaseProtectedItem: msRest.CompositeMapper = {
- serializedName: "AzureVmWorkloadSAPAseDatabase",
+export const ProtectableContainer: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "AzureVmWorkloadSAPAseDatabaseProtectedItem",
- modelProperties: {
- ...AzureVmWorkloadProtectedItem.type.modelProperties
- }
- }
-};
-
-export const AzureVmWorkloadSAPHanaDatabaseProtectedItem: msRest.CompositeMapper = {
- serializedName: "AzureVmWorkloadSAPHanaDatabase",
- type: {
- name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "AzureVmWorkloadSAPHanaDatabaseProtectedItem",
- modelProperties: {
- ...AzureVmWorkloadProtectedItem.type.modelProperties
- }
- }
-};
-
-export const AzureVmWorkloadSQLDatabaseProtectedItem: msRest.CompositeMapper = {
- serializedName: "AzureVmWorkloadSQLDatabase",
- type: {
- name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "AzureVmWorkloadSQLDatabaseProtectedItem",
- modelProperties: {
- ...AzureVmWorkloadProtectedItem.type.modelProperties
- }
- }
-};
-
-export const AzureWorkloadErrorInfo: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadErrorInfo",
- type: {
- name: "Composite",
- className: "AzureWorkloadErrorInfo",
+ className: "ProtectableContainer",
+ uberParent: "ProtectableContainer",
+ polymorphicDiscriminator: {
+ serializedName: "protectableContainerType",
+ clientName: "protectableContainerType"
+ },
modelProperties: {
- errorCode: {
- serializedName: "errorCode",
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
- name: "Number"
+ name: "String"
}
},
- errorString: {
- serializedName: "errorString",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
name: "String"
}
},
- errorTitle: {
- serializedName: "errorTitle",
+ protectableContainerType: {
+ serializedName: "protectableContainerType",
+ required: true,
type: {
name: "String"
}
},
- recommendations: {
- serializedName: "recommendations",
+ healthStatus: {
+ serializedName: "healthStatus",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- additionalDetails: {
- serializedName: "additionalDetails",
+ containerId: {
+ serializedName: "containerId",
type: {
name: "String"
}
@@ -2041,59 +1818,49 @@ export const AzureWorkloadErrorInfo: msRest.CompositeMapper = {
}
};
-export const AzureWorkloadJobTaskDetails: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadJobTaskDetails",
+export const ProtectionContainer: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureWorkloadJobTaskDetails",
+ className: "ProtectionContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: {
+ serializedName: "containerType",
+ clientName: "containerType"
+ },
modelProperties: {
- taskId: {
- serializedName: "taskId",
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
name: "String"
}
},
- status: {
- serializedName: "status",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const AzureWorkloadJobExtendedInfo: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadJobExtendedInfo",
- type: {
- name: "Composite",
- className: "AzureWorkloadJobExtendedInfo",
- modelProperties: {
- tasksList: {
- serializedName: "tasksList",
+ },
+ registrationStatus: {
+ serializedName: "registrationStatus",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "AzureWorkloadJobTaskDetails"
- }
- }
+ name: "String"
}
},
- propertyBag: {
- serializedName: "propertyBag",
+ healthStatus: {
+ serializedName: "healthStatus",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- dynamicErrorMessage: {
- serializedName: "dynamicErrorMessage",
+ containerType: {
+ serializedName: "containerType",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ protectableObjectType: {
+ serializedName: "protectableObjectType",
type: {
name: "String"
}
@@ -2102,152 +1869,150 @@ export const AzureWorkloadJobExtendedInfo: msRest.CompositeMapper = {
}
};
-export const AzureWorkloadJob: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadJob",
+export const WorkloadItem: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
- uberParent: "Job",
- className: "AzureWorkloadJob",
+ className: "WorkloadItem",
+ uberParent: "WorkloadItem",
+ polymorphicDiscriminator: {
+ serializedName: "workloadItemType",
+ clientName: "workloadItemType"
+ },
modelProperties: {
- ...Job.type.modelProperties,
- workloadType: {
- serializedName: "workloadType",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
name: "String"
}
},
- duration: {
- serializedName: "duration",
+ workloadType: {
+ serializedName: "workloadType",
type: {
- name: "TimeSpan"
+ name: "String"
}
},
- actionsInfo: {
- serializedName: "actionsInfo",
+ workloadItemType: {
+ serializedName: "workloadItemType",
+ required: true,
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Enum",
- allowedValues: ["Invalid", "Cancellable", "Retriable"]
- }
- }
+ name: "String"
}
},
- errorDetails: {
- serializedName: "errorDetails",
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "AzureWorkloadErrorInfo"
- }
- }
+ name: "String"
}
},
- extendedInfo: {
- serializedName: "extendedInfo",
+ protectionState: {
+ serializedName: "protectionState",
type: {
- name: "Composite",
- className: "AzureWorkloadJobExtendedInfo"
+ name: "String"
}
}
}
}
};
-export const PointInTimeRange: msRest.CompositeMapper = {
- serializedName: "PointInTimeRange",
+export const BackupRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PointInTimeRange",
+ className: "BackupRequest",
+ uberParent: "BackupRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- startTime: {
- serializedName: "startTime",
+ objectType: {
+ serializedName: "objectType",
+ required: true,
type: {
- name: "DateTime"
+ name: "String"
}
- },
- endTime: {
- serializedName: "endTime",
+ }
+ }
+ }
+};
+
+export const ILRRequest: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ILRRequest",
+ uberParent: "ILRRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
+ modelProperties: {
+ objectType: {
+ serializedName: "objectType",
+ required: true,
type: {
- name: "DateTime"
+ name: "String"
}
}
}
}
};
-export const AzureWorkloadRecoveryPoint: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadRecoveryPoint",
+export const WorkloadProtectableItem: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
- uberParent: "RecoveryPoint",
- className: "AzureWorkloadRecoveryPoint",
+ className: "WorkloadProtectableItem",
+ uberParent: "WorkloadProtectableItem",
+ polymorphicDiscriminator: {
+ serializedName: "protectableItemType",
+ clientName: "protectableItemType"
+ },
modelProperties: {
- ...RecoveryPoint.type.modelProperties,
- recoveryPointTimeInUTC: {
- readOnly: true,
- serializedName: "recoveryPointTimeInUTC",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
- name: "DateTime"
+ name: "String"
}
},
- type: {
- readOnly: true,
- serializedName: "type",
+ workloadType: {
+ serializedName: "workloadType",
type: {
name: "String"
}
},
- recoveryPointTierDetails: {
- serializedName: "recoveryPointTierDetails",
+ protectableItemType: {
+ serializedName: "protectableItemType",
+ required: true,
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "RecoveryPointTierInformation"
- }
- }
+ name: "String"
}
},
- recoveryPointMoveReadinessInfo: {
- serializedName: "recoveryPointMoveReadinessInfo",
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "Composite",
- className: "RecoveryPointMoveReadinessInfo"
- }
- }
+ name: "String"
+ }
+ },
+ protectionState: {
+ serializedName: "protectionState",
+ type: {
+ name: "String"
}
}
}
}
};
-export const AzureWorkloadPointInTimeRecoveryPoint: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadPointInTimeRecoveryPoint",
+export const SecurityPinBase: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
- uberParent: "RecoveryPoint",
- className: "AzureWorkloadPointInTimeRecoveryPoint",
+ className: "SecurityPinBase",
modelProperties: {
- ...AzureWorkloadRecoveryPoint.type.modelProperties,
- timeRanges: {
- serializedName: "timeRanges",
+ resourceGuardOperationRequests: {
+ serializedName: "resourceGuardOperationRequests",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "PointInTimeRange"
+ name: "String"
}
}
}
@@ -2256,53 +2021,25 @@ export const AzureWorkloadPointInTimeRecoveryPoint: msRest.CompositeMapper = {
}
};
-export const AzureWorkloadRestoreRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadRestoreRequest",
+export const TokenInformation: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureWorkloadRestoreRequest",
+ className: "TokenInformation",
modelProperties: {
- ...RestoreRequest.type.modelProperties,
- recoveryType: {
- serializedName: "recoveryType",
- type: {
- name: "String"
- }
- },
- sourceResourceId: {
- serializedName: "sourceResourceId",
+ token: {
+ serializedName: "token",
type: {
name: "String"
}
},
- propertyBag: {
- serializedName: "propertyBag",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
- }
- },
- targetInfo: {
- serializedName: "targetInfo",
- type: {
- name: "Composite",
- className: "TargetRestoreInfo"
- }
- },
- recoveryMode: {
- serializedName: "recoveryMode",
+ expiryTimeInUtcTicks: {
+ serializedName: "expiryTimeInUtcTicks",
type: {
- name: "String"
+ name: "Number"
}
},
- targetVirtualMachineId: {
- serializedName: "targetVirtualMachineId",
+ securityPIN: {
+ serializedName: "securityPIN",
type: {
name: "String"
}
@@ -2311,108 +2048,92 @@ export const AzureWorkloadRestoreRequest: msRest.CompositeMapper = {
}
};
-export const AzureWorkloadPointInTimeRestoreRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadPointInTimeRestoreRequest",
+export const MoveRPAcrossTiersRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureWorkloadPointInTimeRestoreRequest",
+ className: "MoveRPAcrossTiersRequest",
modelProperties: {
- ...AzureWorkloadRestoreRequest.type.modelProperties,
- pointInTime: {
- serializedName: "pointInTime",
+ objectType: {
+ serializedName: "objectType",
type: {
- name: "DateTime"
+ name: "String"
}
- }
- }
- }
-};
-
-export const RecoveryPointTierInformation: msRest.CompositeMapper = {
- serializedName: "RecoveryPointTierInformation",
- type: {
- name: "Composite",
- className: "RecoveryPointTierInformation",
- modelProperties: {
- type: {
- serializedName: "type",
+ },
+ sourceTierType: {
+ serializedName: "sourceTierType",
type: {
name: "Enum",
allowedValues: ["Invalid", "InstantRP", "HardenedRP", "ArchivedRP"]
}
},
- status: {
- serializedName: "status",
+ targetTierType: {
+ serializedName: "targetTierType",
type: {
name: "Enum",
- allowedValues: ["Invalid", "Valid", "Disabled", "Deleted", "Rehydrated"]
- }
- },
- extendedInfo: {
- serializedName: "extendedInfo",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ allowedValues: ["Invalid", "InstantRP", "HardenedRP", "ArchivedRP"]
}
}
}
}
};
-export const RecoveryPointMoveReadinessInfo: msRest.CompositeMapper = {
- serializedName: "RecoveryPointMoveReadinessInfo",
+export const ListRecoveryPointsRecommendedForMoveRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "RecoveryPointMoveReadinessInfo",
+ className: "ListRecoveryPointsRecommendedForMoveRequest",
modelProperties: {
- isReadyForMove: {
- serializedName: "isReadyForMove",
+ objectType: {
+ serializedName: "objectType",
type: {
- name: "Boolean"
+ name: "String"
}
},
- additionalInfo: {
- serializedName: "additionalInfo",
+ excludedRPList: {
+ serializedName: "excludedRPList",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
}
}
}
};
-export const TargetRestoreInfo: msRest.CompositeMapper = {
- serializedName: "TargetRestoreInfo",
+export const ResourceGuardProxyBase: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TargetRestoreInfo",
+ className: "ResourceGuardProxyBase",
modelProperties: {
- overwriteOption: {
- serializedName: "overwriteOption",
+ resourceGuardResourceId: {
+ serializedName: "resourceGuardResourceId",
type: {
name: "String"
}
},
- containerId: {
- serializedName: "containerId",
+ resourceGuardOperationDetails: {
+ serializedName: "resourceGuardOperationDetails",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ResourceGuardOperationDetail"
+ }
+ }
}
},
- databaseName: {
- serializedName: "databaseName",
+ lastUpdatedTime: {
+ serializedName: "lastUpdatedTime",
type: {
name: "String"
}
},
- targetDirectoryForFileRestore: {
- serializedName: "targetDirectoryForFileRestore",
+ description: {
+ serializedName: "description",
type: {
name: "String"
}
@@ -2421,101 +2142,87 @@ export const TargetRestoreInfo: msRest.CompositeMapper = {
}
};
-export const AzureWorkloadSAPHanaPointInTimeRecoveryPoint: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint",
- type: {
- name: "Composite",
- polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
- uberParent: "RecoveryPoint",
- className: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint",
- modelProperties: {
- ...AzureWorkloadPointInTimeRecoveryPoint.type.modelProperties
- }
- }
-};
-
-export const AzureWorkloadSAPHanaRestoreRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSAPHanaRestoreRequest",
- type: {
- name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureWorkloadSAPHanaRestoreRequest",
- modelProperties: {
- ...AzureWorkloadRestoreRequest.type.modelProperties
- }
- }
-};
-
-export const AzureWorkloadSAPHanaPointInTimeRestoreRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSAPHanaPointInTimeRestoreRequest",
+export const ResourceGuardOperationDetail: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureWorkloadSAPHanaPointInTimeRestoreRequest",
+ className: "ResourceGuardOperationDetail",
modelProperties: {
- ...AzureWorkloadSAPHanaRestoreRequest.type.modelProperties,
- pointInTime: {
- serializedName: "pointInTime",
+ vaultCriticalOperation: {
+ serializedName: "vaultCriticalOperation",
type: {
- name: "DateTime"
+ name: "String"
+ }
+ },
+ defaultResourceRequest: {
+ serializedName: "defaultResourceRequest",
+ type: {
+ name: "String"
}
}
}
}
};
-export const AzureWorkloadSAPHanaRecoveryPoint: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSAPHanaRecoveryPoint",
+export const UnlockDeleteRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
- uberParent: "RecoveryPoint",
- className: "AzureWorkloadSAPHanaRecoveryPoint",
+ className: "UnlockDeleteRequest",
modelProperties: {
- ...AzureWorkloadRecoveryPoint.type.modelProperties
+ resourceGuardOperationRequests: {
+ serializedName: "resourceGuardOperationRequests",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ resourceToBeDeleted: {
+ serializedName: "resourceToBeDeleted",
+ type: {
+ name: "String"
+ }
+ }
}
}
};
-export const AzureWorkloadSQLRecoveryPoint: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSQLRecoveryPoint",
+export const UnlockDeleteResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
- uberParent: "RecoveryPoint",
- className: "AzureWorkloadSQLRecoveryPoint",
+ className: "UnlockDeleteResponse",
modelProperties: {
- ...AzureWorkloadRecoveryPoint.type.modelProperties,
- extendedInfo: {
- serializedName: "extendedInfo",
+ unlockDeleteExpiryTime: {
+ serializedName: "unlockDeleteExpiryTime",
type: {
- name: "Composite",
- className: "AzureWorkloadSQLRecoveryPointExtendedInfo"
+ name: "String"
}
}
}
}
};
-export const AzureWorkloadSQLPointInTimeRecoveryPoint: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSQLPointInTimeRecoveryPoint",
+export const KPIResourceHealthDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
- uberParent: "RecoveryPoint",
- className: "AzureWorkloadSQLPointInTimeRecoveryPoint",
+ className: "KPIResourceHealthDetails",
modelProperties: {
- ...AzureWorkloadSQLRecoveryPoint.type.modelProperties,
- timeRanges: {
- serializedName: "timeRanges",
+ resourceHealthStatus: {
+ serializedName: "resourceHealthStatus",
+ type: {
+ name: "String"
+ }
+ },
+ resourceHealthDetails: {
+ serializedName: "resourceHealthDetails",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "PointInTimeRange"
+ className: "ResourceHealthDetails"
}
}
}
@@ -2524,35 +2231,40 @@ export const AzureWorkloadSQLPointInTimeRecoveryPoint: msRest.CompositeMapper =
}
};
-export const AzureWorkloadSQLRestoreRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSQLRestoreRequest",
+export const ResourceHealthDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureWorkloadSQLRestoreRequest",
+ className: "ResourceHealthDetails",
modelProperties: {
- ...AzureWorkloadRestoreRequest.type.modelProperties,
- shouldUseAlternateTargetLocation: {
- serializedName: "shouldUseAlternateTargetLocation",
+ code: {
+ serializedName: "code",
+ readOnly: true,
type: {
- name: "Boolean"
+ name: "Number"
}
},
- isNonRecoverable: {
- serializedName: "isNonRecoverable",
+ title: {
+ serializedName: "title",
+ readOnly: true,
type: {
- name: "Boolean"
+ name: "String"
}
},
- alternateDirectoryPaths: {
- serializedName: "alternateDirectoryPaths",
- type: {
- name: "Sequence",
+ message: {
+ serializedName: "message",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ recommendations: {
+ serializedName: "recommendations",
+ readOnly: true,
+ type: {
+ name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "SQLDataDirectoryMapping"
+ name: "String"
}
}
}
@@ -2561,109 +2273,87 @@ export const AzureWorkloadSQLRestoreRequest: msRest.CompositeMapper = {
}
};
-export const AzureWorkloadSQLPointInTimeRestoreRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSQLPointInTimeRestoreRequest",
+export const AzureFileshareProtectedItemExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureWorkloadSQLPointInTimeRestoreRequest",
+ className: "AzureFileshareProtectedItemExtendedInfo",
modelProperties: {
- ...AzureWorkloadSQLRestoreRequest.type.modelProperties,
- pointInTime: {
- serializedName: "pointInTime",
+ oldestRecoveryPoint: {
+ serializedName: "oldestRecoveryPoint",
type: {
name: "DateTime"
}
- }
- }
- }
-};
-
-export const SQLDataDirectory: msRest.CompositeMapper = {
- serializedName: "SQLDataDirectory",
- type: {
- name: "Composite",
- className: "SQLDataDirectory",
- modelProperties: {
- type: {
- serializedName: "type",
+ },
+ recoveryPointCount: {
+ serializedName: "recoveryPointCount",
type: {
- name: "String"
+ name: "Number"
}
},
- path: {
- serializedName: "path",
+ policyState: {
+ serializedName: "policyState",
type: {
name: "String"
}
},
- logicalName: {
- serializedName: "logicalName",
+ resourceState: {
+ serializedName: "resourceState",
+ readOnly: true,
type: {
name: "String"
}
+ },
+ resourceStateSyncTime: {
+ serializedName: "resourceStateSyncTime",
+ readOnly: true,
+ type: {
+ name: "DateTime"
+ }
}
}
}
};
-export const AzureWorkloadSQLRecoveryPointExtendedInfo: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSQLRecoveryPointExtendedInfo",
+export const RestoreFileSpecs: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureWorkloadSQLRecoveryPointExtendedInfo",
+ className: "RestoreFileSpecs",
modelProperties: {
- dataDirectoryTimeInUTC: {
- readOnly: true,
- serializedName: "dataDirectoryTimeInUTC",
+ path: {
+ serializedName: "path",
type: {
- name: "DateTime"
+ name: "String"
}
},
- dataDirectoryPaths: {
- readOnly: true,
- serializedName: "dataDirectoryPaths",
+ fileSpecType: {
+ serializedName: "fileSpecType",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "SQLDataDirectory"
- }
- }
+ name: "String"
+ }
+ },
+ targetFolderPath: {
+ serializedName: "targetFolderPath",
+ type: {
+ name: "String"
}
}
}
}
};
-export const SQLDataDirectoryMapping: msRest.CompositeMapper = {
- serializedName: "SQLDataDirectoryMapping",
+export const TargetAFSRestoreInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SQLDataDirectoryMapping",
+ className: "TargetAFSRestoreInfo",
modelProperties: {
- mappingType: {
- serializedName: "mappingType",
- type: {
- name: "String"
- }
- },
- sourceLogicalName: {
- serializedName: "sourceLogicalName",
- type: {
- name: "String"
- }
- },
- sourcePath: {
- serializedName: "sourcePath",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- targetPath: {
- serializedName: "targetPath",
+ targetResourceId: {
+ serializedName: "targetResourceId",
type: {
name: "String"
}
@@ -2672,88 +2362,75 @@ export const SQLDataDirectoryMapping: msRest.CompositeMapper = {
}
};
-export const BEKDetails: msRest.CompositeMapper = {
- serializedName: "BEKDetails",
+export const Settings: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "BEKDetails",
+ className: "Settings",
modelProperties: {
- secretUrl: {
- serializedName: "secretUrl",
+ timeZone: {
+ serializedName: "timeZone",
type: {
name: "String"
}
},
- secretVaultId: {
- serializedName: "secretVaultId",
+ issqlcompression: {
+ serializedName: "issqlcompression",
type: {
- name: "String"
+ name: "Boolean"
}
},
- secretData: {
- serializedName: "secretData",
+ isCompression: {
+ serializedName: "isCompression",
type: {
- name: "String"
+ name: "Boolean"
}
}
}
}
};
-export const BMSRPQueryObject: msRest.CompositeMapper = {
- serializedName: "BMSRPQueryObject",
+export const SubProtectionPolicy: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "BMSRPQueryObject",
+ className: "SubProtectionPolicy",
modelProperties: {
- startDate: {
- serializedName: "startDate",
- type: {
- name: "DateTime"
- }
- },
- endDate: {
- serializedName: "endDate",
- type: {
- name: "DateTime"
- }
- },
- restorePointQueryType: {
- serializedName: "restorePointQueryType",
+ policyType: {
+ serializedName: "policyType",
type: {
name: "String"
}
},
- extendedInfo: {
- serializedName: "extendedInfo",
+ schedulePolicy: {
+ serializedName: "schedulePolicy",
type: {
- name: "Boolean"
+ name: "Composite",
+ className: "SchedulePolicy"
}
},
- moveReadyRPOnly: {
- serializedName: "moveReadyRPOnly",
+ retentionPolicy: {
+ serializedName: "retentionPolicy",
type: {
- name: "Boolean"
+ name: "Composite",
+ className: "RetentionPolicy"
}
}
}
}
};
-export const DiskInformation: msRest.CompositeMapper = {
- serializedName: "DiskInformation",
+export const SchedulePolicy: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DiskInformation",
+ className: "SchedulePolicy",
+ uberParent: "SchedulePolicy",
+ polymorphicDiscriminator: {
+ serializedName: "schedulePolicyType",
+ clientName: "schedulePolicyType"
+ },
modelProperties: {
- lun: {
- serializedName: "lun",
- type: {
- name: "Number"
- }
- },
- name: {
- serializedName: "name",
+ schedulePolicyType: {
+ serializedName: "schedulePolicyType",
+ required: true,
type: {
name: "String"
}
@@ -2762,64 +2439,68 @@ export const DiskInformation: msRest.CompositeMapper = {
}
};
-export const Day: msRest.CompositeMapper = {
- serializedName: "Day",
+export const RetentionPolicy: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Day",
+ className: "RetentionPolicy",
+ uberParent: "RetentionPolicy",
+ polymorphicDiscriminator: {
+ serializedName: "retentionPolicyType",
+ clientName: "retentionPolicyType"
+ },
modelProperties: {
- date: {
- serializedName: "date",
- type: {
- name: "Number"
- }
- },
- isLast: {
- serializedName: "isLast",
+ retentionPolicyType: {
+ serializedName: "retentionPolicyType",
+ required: true,
type: {
- name: "Boolean"
+ name: "String"
}
}
}
}
};
-export const DailyRetentionFormat: msRest.CompositeMapper = {
- serializedName: "DailyRetentionFormat",
+export const AzureIaaSVMProtectedItemExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DailyRetentionFormat",
+ className: "AzureIaaSVMProtectedItemExtendedInfo",
modelProperties: {
- daysOfTheMonth: {
- serializedName: "daysOfTheMonth",
+ oldestRecoveryPoint: {
+ serializedName: "oldestRecoveryPoint",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Day"
- }
- }
+ name: "DateTime"
+ }
+ },
+ recoveryPointCount: {
+ serializedName: "recoveryPointCount",
+ type: {
+ name: "Number"
+ }
+ },
+ policyInconsistent: {
+ serializedName: "policyInconsistent",
+ type: {
+ name: "Boolean"
}
}
}
}
};
-export const RetentionDuration: msRest.CompositeMapper = {
- serializedName: "RetentionDuration",
+export const ExtendedProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "RetentionDuration",
+ className: "ExtendedProperties",
modelProperties: {
- count: {
- serializedName: "count",
+ diskExclusionProperties: {
+ serializedName: "diskExclusionProperties",
type: {
- name: "Number"
+ name: "Composite",
+ className: "DiskExclusionProperties"
}
},
- durationType: {
- serializedName: "durationType",
+ linuxVmApplicationName: {
+ serializedName: "linuxVmApplicationName",
type: {
name: "String"
}
@@ -2828,48 +2509,61 @@ export const RetentionDuration: msRest.CompositeMapper = {
}
};
-export const DailyRetentionSchedule: msRest.CompositeMapper = {
- serializedName: "DailyRetentionSchedule",
+export const DiskExclusionProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DailyRetentionSchedule",
+ className: "DiskExclusionProperties",
modelProperties: {
- retentionTimes: {
- serializedName: "retentionTimes",
+ diskLunList: {
+ serializedName: "diskLunList",
type: {
name: "Sequence",
element: {
type: {
- name: "DateTime"
+ name: "Number"
}
}
}
},
- retentionDuration: {
- serializedName: "retentionDuration",
+ isInclusionList: {
+ serializedName: "isInclusionList",
type: {
- name: "Composite",
- className: "RetentionDuration"
+ name: "Boolean"
}
}
}
}
};
-export const DpmErrorInfo: msRest.CompositeMapper = {
- serializedName: "DpmErrorInfo",
+export const AzureIaaSVMErrorInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DpmErrorInfo",
+ className: "AzureIaaSVMErrorInfo",
modelProperties: {
- errorString: {
- serializedName: "errorString",
+ errorCode: {
+ serializedName: "errorCode",
+ readOnly: true,
type: {
- name: "String"
+ name: "Number"
}
},
- recommendations: {
+ errorTitle: {
+ serializedName: "errorTitle",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ errorString: {
+ serializedName: "errorString",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ recommendations: {
serializedName: "recommendations",
+ readOnly: true,
type: {
name: "Sequence",
element: {
@@ -2883,11 +2577,63 @@ export const DpmErrorInfo: msRest.CompositeMapper = {
}
};
-export const DpmJobTaskDetails: msRest.CompositeMapper = {
- serializedName: "DpmJobTaskDetails",
+export const AzureIaaSVMJobExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DpmJobTaskDetails",
+ className: "AzureIaaSVMJobExtendedInfo",
+ modelProperties: {
+ tasksList: {
+ serializedName: "tasksList",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureIaaSVMJobTaskDetails"
+ }
+ }
+ }
+ },
+ propertyBag: {
+ serializedName: "propertyBag",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ },
+ internalPropertyBag: {
+ serializedName: "internalPropertyBag",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ },
+ progressPercentage: {
+ serializedName: "progressPercentage",
+ type: {
+ name: "Number"
+ }
+ },
+ estimatedRemainingDuration: {
+ serializedName: "estimatedRemainingDuration",
+ type: {
+ name: "String"
+ }
+ },
+ dynamicErrorMessage: {
+ serializedName: "dynamicErrorMessage",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AzureIaaSVMJobTaskDetails: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureIaaSVMJobTaskDetails",
modelProperties: {
taskId: {
serializedName: "taskId",
@@ -2907,6 +2653,12 @@ export const DpmJobTaskDetails: msRest.CompositeMapper = {
name: "DateTime"
}
},
+ instanceId: {
+ serializedName: "instanceId",
+ type: {
+ name: "String"
+ }
+ },
duration: {
serializedName: "duration",
type: {
@@ -2918,42 +2670,36 @@ export const DpmJobTaskDetails: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ progressPercentage: {
+ serializedName: "progressPercentage",
+ type: {
+ name: "Number"
+ }
+ },
+ taskExecutionDetails: {
+ serializedName: "taskExecutionDetails",
+ type: {
+ name: "String"
+ }
}
}
}
};
-export const DpmJobExtendedInfo: msRest.CompositeMapper = {
- serializedName: "DpmJobExtendedInfo",
+export const InstantRPAdditionalDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DpmJobExtendedInfo",
+ className: "InstantRPAdditionalDetails",
modelProperties: {
- tasksList: {
- serializedName: "tasksList",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "DpmJobTaskDetails"
- }
- }
- }
- },
- propertyBag: {
- serializedName: "propertyBag",
+ azureBackupRGNamePrefix: {
+ serializedName: "azureBackupRGNamePrefix",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- dynamicErrorMessage: {
- serializedName: "dynamicErrorMessage",
+ azureBackupRGNameSuffix: {
+ serializedName: "azureBackupRGNameSuffix",
type: {
name: "String"
}
@@ -2962,121 +2708,125 @@ export const DpmJobExtendedInfo: msRest.CompositeMapper = {
}
};
-export const DpmJob: msRest.CompositeMapper = {
- serializedName: "DpmJob",
+export const AzureSqlProtectedItemExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
- uberParent: "Job",
- className: "DpmJob",
+ className: "AzureSqlProtectedItemExtendedInfo",
modelProperties: {
- ...Job.type.modelProperties,
- duration: {
- serializedName: "duration",
+ oldestRecoveryPoint: {
+ serializedName: "oldestRecoveryPoint",
type: {
- name: "TimeSpan"
+ name: "DateTime"
}
},
- dpmServerName: {
- serializedName: "dpmServerName",
+ recoveryPointCount: {
+ serializedName: "recoveryPointCount",
type: {
- name: "String"
+ name: "Number"
}
},
- containerName: {
- serializedName: "containerName",
+ policyState: {
+ serializedName: "policyState",
type: {
name: "String"
}
- },
- containerType: {
- serializedName: "containerType",
+ }
+ }
+ }
+};
+
+export const AzureStorageErrorInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureStorageErrorInfo",
+ modelProperties: {
+ errorCode: {
+ serializedName: "errorCode",
type: {
- name: "String"
+ name: "Number"
}
},
- workloadType: {
- serializedName: "workloadType",
+ errorString: {
+ serializedName: "errorString",
type: {
name: "String"
}
},
- actionsInfo: {
- serializedName: "actionsInfo",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Enum",
- allowedValues: ["Invalid", "Cancellable", "Retriable"]
- }
- }
- }
- },
- errorDetails: {
- serializedName: "errorDetails",
+ recommendations: {
+ serializedName: "recommendations",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "DpmErrorInfo"
+ name: "String"
}
}
}
- },
- extendedInfo: {
- serializedName: "extendedInfo",
- type: {
- name: "Composite",
- className: "DpmJobExtendedInfo"
- }
}
}
}
};
-export const DPMProtectedItemExtendedInfo: msRest.CompositeMapper = {
- serializedName: "DPMProtectedItemExtendedInfo",
+export const AzureStorageJobExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DPMProtectedItemExtendedInfo",
+ className: "AzureStorageJobExtendedInfo",
modelProperties: {
- protectableObjectLoadPath: {
- serializedName: "protectableObjectLoadPath",
+ tasksList: {
+ serializedName: "tasksList",
type: {
- name: "Dictionary",
- value: {
+ name: "Sequence",
+ element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "AzureStorageJobTaskDetails"
}
}
}
},
- protectedProperty: {
- serializedName: "protected",
+ propertyBag: {
+ serializedName: "propertyBag",
type: {
- name: "Boolean"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- isPresentOnCloud: {
- serializedName: "isPresentOnCloud",
+ dynamicErrorMessage: {
+ serializedName: "dynamicErrorMessage",
type: {
- name: "Boolean"
+ name: "String"
}
- },
- lastBackupStatus: {
- serializedName: "lastBackupStatus",
+ }
+ }
+ }
+};
+
+export const AzureStorageJobTaskDetails: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureStorageJobTaskDetails",
+ modelProperties: {
+ taskId: {
+ serializedName: "taskId",
type: {
name: "String"
}
},
- lastRefreshedAt: {
- serializedName: "lastRefreshedAt",
+ status: {
+ serializedName: "status",
type: {
- name: "DateTime"
+ name: "String"
}
- },
+ }
+ }
+ }
+};
+
+export const AzureVmWorkloadProtectedItemExtendedInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadProtectedItemExtendedInfo",
+ modelProperties: {
oldestRecoveryPoint: {
serializedName: "oldestRecoveryPoint",
type: {
@@ -3089,44 +2839,58 @@ export const DPMProtectedItemExtendedInfo: msRest.CompositeMapper = {
name: "Number"
}
},
- onPremiseOldestRecoveryPoint: {
- serializedName: "onPremiseOldestRecoveryPoint",
- type: {
- name: "DateTime"
- }
- },
- onPremiseLatestRecoveryPoint: {
- serializedName: "onPremiseLatestRecoveryPoint",
+ policyState: {
+ serializedName: "policyState",
type: {
- name: "DateTime"
+ name: "String"
}
},
- onPremiseRecoveryPointCount: {
- serializedName: "onPremiseRecoveryPointCount",
+ recoveryModel: {
+ serializedName: "recoveryModel",
type: {
- name: "Number"
+ name: "String"
}
- },
- isCollocated: {
- serializedName: "isCollocated",
+ }
+ }
+ }
+};
+
+export const AzureWorkloadErrorInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadErrorInfo",
+ modelProperties: {
+ errorCode: {
+ serializedName: "errorCode",
type: {
- name: "Boolean"
+ name: "Number"
}
},
- protectionGroupName: {
- serializedName: "protectionGroupName",
+ errorString: {
+ serializedName: "errorString",
type: {
name: "String"
}
},
- diskStorageUsedInBytes: {
- serializedName: "diskStorageUsedInBytes",
+ errorTitle: {
+ serializedName: "errorTitle",
type: {
name: "String"
}
},
- totalDiskStorageSizeInBytes: {
- serializedName: "totalDiskStorageSizeInBytes",
+ recommendations: {
+ serializedName: "recommendations",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ additionalDetails: {
+ serializedName: "additionalDetails",
type: {
name: "String"
}
@@ -3135,98 +2899,131 @@ export const DPMProtectedItemExtendedInfo: msRest.CompositeMapper = {
}
};
-export const DPMProtectedItem: msRest.CompositeMapper = {
- serializedName: "DPMProtectedItem",
+export const AzureWorkloadJobExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "DPMProtectedItem",
+ className: "AzureWorkloadJobExtendedInfo",
modelProperties: {
- ...ProtectedItem.type.modelProperties,
- friendlyName: {
- serializedName: "friendlyName",
+ tasksList: {
+ serializedName: "tasksList",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadJobTaskDetails"
+ }
+ }
}
},
- backupEngineName: {
- serializedName: "backupEngineName",
+ propertyBag: {
+ serializedName: "propertyBag",
type: {
- name: "String"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- protectionState: {
- serializedName: "protectionState",
+ dynamicErrorMessage: {
+ serializedName: "dynamicErrorMessage",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AzureWorkloadJobTaskDetails: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadJobTaskDetails",
+ modelProperties: {
+ taskId: {
+ serializedName: "taskId",
type: {
name: "String"
}
},
- extendedInfo: {
- serializedName: "extendedInfo",
+ status: {
+ serializedName: "status",
type: {
- name: "Composite",
- className: "DPMProtectedItemExtendedInfo"
+ name: "String"
}
}
}
}
};
-export const EncryptionDetails: msRest.CompositeMapper = {
- serializedName: "EncryptionDetails",
+export const PointInTimeRange: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "EncryptionDetails",
+ className: "PointInTimeRange",
modelProperties: {
- encryptionEnabled: {
- serializedName: "encryptionEnabled",
+ startTime: {
+ serializedName: "startTime",
type: {
- name: "Boolean"
+ name: "DateTime"
}
},
- kekUrl: {
- serializedName: "kekUrl",
+ endTime: {
+ serializedName: "endTime",
type: {
- name: "String"
+ name: "DateTime"
}
- },
- secretKeyUrl: {
- serializedName: "secretKeyUrl",
+ }
+ }
+ }
+};
+
+export const RecoveryPointTierInformation: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "RecoveryPointTierInformation",
+ modelProperties: {
+ type: {
+ serializedName: "type",
type: {
- name: "String"
+ name: "Enum",
+ allowedValues: ["Invalid", "InstantRP", "HardenedRP", "ArchivedRP"]
}
},
- kekVaultId: {
- serializedName: "kekVaultId",
+ status: {
+ serializedName: "status",
type: {
- name: "String"
+ name: "Enum",
+ allowedValues: [
+ "Invalid",
+ "Valid",
+ "Disabled",
+ "Deleted",
+ "Rehydrated"
+ ]
}
},
- secretKeyVaultId: {
- serializedName: "secretKeyVaultId",
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
- name: "String"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
}
}
}
};
-export const OperationResultInfoBase: msRest.CompositeMapper = {
- serializedName: "OperationResultInfoBase",
+export const RecoveryPointMoveReadinessInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "objectType",
- clientName: "objectType"
- },
- uberParent: "OperationResultInfoBase",
- className: "OperationResultInfoBase",
+ className: "RecoveryPointMoveReadinessInfo",
modelProperties: {
- objectType: {
- required: true,
- serializedName: "objectType",
+ isReadyForMove: {
+ serializedName: "isReadyForMove",
+ type: {
+ name: "Boolean"
+ }
+ },
+ additionalInfo: {
+ serializedName: "additionalInfo",
type: {
name: "String"
}
@@ -3235,35 +3032,31 @@ export const OperationResultInfoBase: msRest.CompositeMapper = {
}
};
-export const ExportJobsOperationResultInfo: msRest.CompositeMapper = {
- serializedName: "ExportJobsOperationResultInfo",
+export const TargetRestoreInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: OperationResultInfoBase.type.polymorphicDiscriminator,
- uberParent: "OperationResultInfoBase",
- className: "ExportJobsOperationResultInfo",
+ className: "TargetRestoreInfo",
modelProperties: {
- ...OperationResultInfoBase.type.modelProperties,
- blobUrl: {
- serializedName: "blobUrl",
+ overwriteOption: {
+ serializedName: "overwriteOption",
type: {
name: "String"
}
},
- blobSasKey: {
- serializedName: "blobSasKey",
+ containerId: {
+ serializedName: "containerId",
type: {
name: "String"
}
},
- excelFileBlobUrl: {
- serializedName: "excelFileBlobUrl",
+ databaseName: {
+ serializedName: "databaseName",
type: {
name: "String"
}
},
- excelFileBlobSasKey: {
- serializedName: "excelFileBlobSasKey",
+ targetDirectoryForFileRestore: {
+ serializedName: "targetDirectoryForFileRestore",
type: {
name: "String"
}
@@ -3272,35 +3065,52 @@ export const ExportJobsOperationResultInfo: msRest.CompositeMapper = {
}
};
-export const GenericProtectionPolicy: msRest.CompositeMapper = {
- serializedName: "GenericProtectionPolicy",
+export const AzureWorkloadSQLRecoveryPointExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
- uberParent: "ProtectionPolicy",
- className: "GenericProtectionPolicy",
+ className: "AzureWorkloadSQLRecoveryPointExtendedInfo",
modelProperties: {
- ...ProtectionPolicy.type.modelProperties,
- subProtectionPolicy: {
- serializedName: "subProtectionPolicy",
+ dataDirectoryTimeInUTC: {
+ serializedName: "dataDirectoryTimeInUTC",
+ type: {
+ name: "DateTime"
+ }
+ },
+ dataDirectoryPaths: {
+ serializedName: "dataDirectoryPaths",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "SubProtectionPolicy"
+ className: "SQLDataDirectory"
}
}
}
+ }
+ }
+ }
+};
+
+export const SQLDataDirectory: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "SQLDataDirectory",
+ modelProperties: {
+ type: {
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
},
- timeZone: {
- serializedName: "timeZone",
+ path: {
+ serializedName: "path",
type: {
name: "String"
}
},
- fabricName: {
- serializedName: "fabricName",
+ logicalName: {
+ serializedName: "logicalName",
type: {
name: "String"
}
@@ -3309,52 +3119,31 @@ export const GenericProtectionPolicy: msRest.CompositeMapper = {
}
};
-export const GenericProtectedItem: msRest.CompositeMapper = {
- serializedName: "GenericProtectedItem",
+export const SQLDataDirectoryMapping: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "GenericProtectedItem",
+ className: "SQLDataDirectoryMapping",
modelProperties: {
- ...ProtectedItem.type.modelProperties,
- friendlyName: {
- serializedName: "friendlyName",
+ mappingType: {
+ serializedName: "mappingType",
type: {
name: "String"
}
},
- policyState: {
- serializedName: "policyState",
+ sourceLogicalName: {
+ serializedName: "sourceLogicalName",
type: {
name: "String"
}
},
- protectionState: {
- serializedName: "protectionState",
+ sourcePath: {
+ serializedName: "sourcePath",
type: {
name: "String"
}
},
- protectedItemId: {
- serializedName: "protectedItemId",
- type: {
- name: "Number"
- }
- },
- sourceAssociations: {
- serializedName: "sourceAssociations",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
- }
- },
- fabricName: {
- serializedName: "fabricName",
+ targetPath: {
+ serializedName: "targetPath",
type: {
name: "String"
}
@@ -3363,51 +3152,85 @@ export const GenericProtectedItem: msRest.CompositeMapper = {
}
};
-export const GenericRecoveryPoint: msRest.CompositeMapper = {
- serializedName: "GenericRecoveryPoint",
+export const BEKDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
- uberParent: "RecoveryPoint",
- className: "GenericRecoveryPoint",
+ className: "BEKDetails",
modelProperties: {
- ...RecoveryPoint.type.modelProperties,
- friendlyName: {
- serializedName: "friendlyName",
+ secretUrl: {
+ serializedName: "secretUrl",
type: {
name: "String"
}
},
- recoveryPointType: {
- serializedName: "recoveryPointType",
+ secretVaultId: {
+ serializedName: "secretVaultId",
type: {
name: "String"
}
},
- recoveryPointTime: {
- serializedName: "recoveryPointTime",
+ secretData: {
+ serializedName: "secretData",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const BmsrpQueryObject: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BmsrpQueryObject",
+ modelProperties: {
+ startDate: {
+ serializedName: "startDate",
type: {
name: "DateTime"
}
},
- recoveryPointAdditionalInfo: {
- serializedName: "recoveryPointAdditionalInfo",
+ endDate: {
+ serializedName: "endDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ restorePointQueryType: {
+ serializedName: "restorePointQueryType",
type: {
name: "String"
}
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
+ type: {
+ name: "Boolean"
+ }
+ },
+ moveReadyRPOnly: {
+ serializedName: "moveReadyRPOnly",
+ type: {
+ name: "Boolean"
+ }
}
}
}
};
-export const GetProtectedItemQueryObject: msRest.CompositeMapper = {
- serializedName: "GetProtectedItemQueryObject",
+export const DiskInformation: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "GetProtectedItemQueryObject",
+ className: "DiskInformation",
modelProperties: {
- expand: {
- serializedName: "expand",
+ lun: {
+ serializedName: "lun",
+ type: {
+ name: "Number"
+ }
+ },
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
@@ -3416,505 +3239,562 @@ export const GetProtectedItemQueryObject: msRest.CompositeMapper = {
}
};
-export const KEKDetails: msRest.CompositeMapper = {
- serializedName: "KEKDetails",
+export const DailyRetentionFormat: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "KEKDetails",
+ className: "DailyRetentionFormat",
modelProperties: {
- keyUrl: {
- serializedName: "keyUrl",
+ daysOfTheMonth: {
+ serializedName: "daysOfTheMonth",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Day"
+ }
+ }
}
- },
- keyVaultId: {
- serializedName: "keyVaultId",
+ }
+ }
+ }
+};
+
+export const Day: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "Day",
+ modelProperties: {
+ date: {
+ serializedName: "date",
type: {
- name: "String"
+ name: "Number"
}
},
- keyBackupData: {
- serializedName: "keyBackupData",
+ isLast: {
+ serializedName: "isLast",
type: {
- name: "String"
+ name: "Boolean"
}
}
}
}
};
-export const KeyAndSecretDetails: msRest.CompositeMapper = {
- serializedName: "KeyAndSecretDetails",
+export const DailyRetentionSchedule: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "KeyAndSecretDetails",
+ className: "DailyRetentionSchedule",
modelProperties: {
- kekDetails: {
- serializedName: "kekDetails",
+ retentionTimes: {
+ serializedName: "retentionTimes",
type: {
- name: "Composite",
- className: "KEKDetails"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "DateTime"
+ }
+ }
}
},
- bekDetails: {
- serializedName: "bekDetails",
+ retentionDuration: {
+ serializedName: "retentionDuration",
type: {
name: "Composite",
- className: "BEKDetails"
- }
- },
- encryptionMechanism: {
- serializedName: "encryptionMechanism",
- type: {
- name: "String"
+ className: "RetentionDuration"
}
}
}
}
};
-export const RecoveryPointDiskConfiguration: msRest.CompositeMapper = {
- serializedName: "RecoveryPointDiskConfiguration",
+export const RetentionDuration: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "RecoveryPointDiskConfiguration",
+ className: "RetentionDuration",
modelProperties: {
- numberOfDisksIncludedInBackup: {
- serializedName: "numberOfDisksIncludedInBackup",
+ count: {
+ serializedName: "count",
type: {
name: "Number"
}
},
- numberOfDisksAttachedToVm: {
- serializedName: "numberOfDisksAttachedToVm",
+ durationType: {
+ serializedName: "durationType",
type: {
- name: "Number"
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const DpmErrorInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "DpmErrorInfo",
+ modelProperties: {
+ errorString: {
+ serializedName: "errorString",
+ type: {
+ name: "String"
}
},
- includedDiskList: {
- serializedName: "includedDiskList",
+ recommendations: {
+ serializedName: "recommendations",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "DiskInformation"
+ name: "String"
}
}
}
- },
- excludedDiskList: {
- serializedName: "excludedDiskList",
+ }
+ }
+ }
+};
+
+export const DpmJobExtendedInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "DpmJobExtendedInfo",
+ modelProperties: {
+ tasksList: {
+ serializedName: "tasksList",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "DiskInformation"
+ className: "DpmJobTaskDetails"
}
}
}
+ },
+ propertyBag: {
+ serializedName: "propertyBag",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ },
+ dynamicErrorMessage: {
+ serializedName: "dynamicErrorMessage",
+ type: {
+ name: "String"
+ }
}
}
}
};
-export const IaasVMRecoveryPoint: msRest.CompositeMapper = {
- serializedName: "IaasVMRecoveryPoint",
+export const DpmJobTaskDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
- uberParent: "RecoveryPoint",
- className: "IaasVMRecoveryPoint",
+ className: "DpmJobTaskDetails",
modelProperties: {
- ...RecoveryPoint.type.modelProperties,
- recoveryPointType: {
- readOnly: true,
- serializedName: "recoveryPointType",
+ taskId: {
+ serializedName: "taskId",
type: {
name: "String"
}
},
- recoveryPointTime: {
- readOnly: true,
- serializedName: "recoveryPointTime",
+ startTime: {
+ serializedName: "startTime",
type: {
name: "DateTime"
}
},
- recoveryPointAdditionalInfo: {
- readOnly: true,
- serializedName: "recoveryPointAdditionalInfo",
+ endTime: {
+ serializedName: "endTime",
type: {
- name: "String"
+ name: "DateTime"
}
},
- sourceVMStorageType: {
- readOnly: true,
- serializedName: "sourceVMStorageType",
+ duration: {
+ serializedName: "duration",
type: {
- name: "String"
+ name: "TimeSpan"
}
},
- isSourceVMEncrypted: {
- readOnly: true,
- serializedName: "isSourceVMEncrypted",
+ status: {
+ serializedName: "status",
type: {
- name: "Boolean"
+ name: "String"
}
- },
- keyAndSecret: {
- serializedName: "keyAndSecret",
+ }
+ }
+ }
+};
+
+export const DPMProtectedItemExtendedInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "DPMProtectedItemExtendedInfo",
+ modelProperties: {
+ protectableObjectLoadPath: {
+ serializedName: "protectableObjectLoadPath",
type: {
- name: "Composite",
- className: "KeyAndSecretDetails"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- isInstantIlrSessionActive: {
- serializedName: "isInstantIlrSessionActive",
+ protected: {
+ serializedName: "protected",
type: {
name: "Boolean"
}
},
- recoveryPointTierDetails: {
- serializedName: "recoveryPointTierDetails",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "RecoveryPointTierInformation"
- }
- }
- }
- },
- isManagedVirtualMachine: {
- serializedName: "isManagedVirtualMachine",
+ isPresentOnCloud: {
+ serializedName: "isPresentOnCloud",
type: {
name: "Boolean"
}
},
- virtualMachineSize: {
- serializedName: "virtualMachineSize",
+ lastBackupStatus: {
+ serializedName: "lastBackupStatus",
type: {
name: "String"
}
},
- originalStorageAccountOption: {
- serializedName: "originalStorageAccountOption",
+ lastRefreshedAt: {
+ serializedName: "lastRefreshedAt",
type: {
- name: "Boolean"
+ name: "DateTime"
}
},
- osType: {
- serializedName: "osType",
+ oldestRecoveryPoint: {
+ serializedName: "oldestRecoveryPoint",
type: {
- name: "String"
+ name: "DateTime"
}
},
- recoveryPointDiskConfiguration: {
- serializedName: "recoveryPointDiskConfiguration",
+ recoveryPointCount: {
+ serializedName: "recoveryPointCount",
type: {
- name: "Composite",
- className: "RecoveryPointDiskConfiguration"
+ name: "Number"
}
},
- zones: {
- serializedName: "zones",
+ onPremiseOldestRecoveryPoint: {
+ serializedName: "onPremiseOldestRecoveryPoint",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "DateTime"
}
},
- recoveryPointMoveReadinessInfo: {
- serializedName: "recoveryPointMoveReadinessInfo",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "Composite",
- className: "RecoveryPointMoveReadinessInfo"
- }
- }
- }
- }
- }
- }
-};
-
-export const IaasVMRestoreRequest: msRest.CompositeMapper = {
- serializedName: "IaasVMRestoreRequest",
- type: {
- name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "IaasVMRestoreRequest",
- modelProperties: {
- ...RestoreRequest.type.modelProperties,
- recoveryPointId: {
- serializedName: "recoveryPointId",
+ onPremiseLatestRecoveryPoint: {
+ serializedName: "onPremiseLatestRecoveryPoint",
type: {
- name: "String"
+ name: "DateTime"
}
},
- recoveryType: {
- serializedName: "recoveryType",
+ onPremiseRecoveryPointCount: {
+ serializedName: "onPremiseRecoveryPointCount",
type: {
- name: "String"
+ name: "Number"
}
},
- sourceResourceId: {
- serializedName: "sourceResourceId",
+ isCollocated: {
+ serializedName: "isCollocated",
type: {
- name: "String"
+ name: "Boolean"
}
},
- targetVirtualMachineId: {
- serializedName: "targetVirtualMachineId",
+ protectionGroupName: {
+ serializedName: "protectionGroupName",
type: {
name: "String"
}
},
- targetResourceGroupId: {
- serializedName: "targetResourceGroupId",
+ diskStorageUsedInBytes: {
+ serializedName: "diskStorageUsedInBytes",
type: {
name: "String"
}
},
- storageAccountId: {
- serializedName: "storageAccountId",
+ totalDiskStorageSizeInBytes: {
+ serializedName: "totalDiskStorageSizeInBytes",
type: {
name: "String"
}
- },
- virtualNetworkId: {
- serializedName: "virtualNetworkId",
+ }
+ }
+ }
+};
+
+export const EncryptionDetails: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "EncryptionDetails",
+ modelProperties: {
+ encryptionEnabled: {
+ serializedName: "encryptionEnabled",
type: {
- name: "String"
+ name: "Boolean"
}
},
- subnetId: {
- serializedName: "subnetId",
+ kekUrl: {
+ serializedName: "kekUrl",
type: {
name: "String"
}
},
- targetDomainNameId: {
- serializedName: "targetDomainNameId",
+ secretKeyUrl: {
+ serializedName: "secretKeyUrl",
type: {
name: "String"
}
},
- region: {
- serializedName: "region",
+ kekVaultId: {
+ serializedName: "kekVaultId",
type: {
name: "String"
}
},
- affinityGroup: {
- serializedName: "affinityGroup",
+ secretKeyVaultId: {
+ serializedName: "secretKeyVaultId",
type: {
name: "String"
}
- },
- createNewCloudService: {
- serializedName: "createNewCloudService",
- type: {
- name: "Boolean"
- }
- },
- originalStorageAccountOption: {
- serializedName: "originalStorageAccountOption",
- type: {
- name: "Boolean"
- }
- },
- encryptionDetails: {
- serializedName: "encryptionDetails",
- type: {
- name: "Composite",
- className: "EncryptionDetails"
- }
- },
- restoreDiskLunList: {
- serializedName: "restoreDiskLunList",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Number"
- }
- }
- }
- },
- restoreWithManagedDisks: {
- serializedName: "restoreWithManagedDisks",
+ }
+ }
+ }
+};
+
+export const HourlySchedule: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "HourlySchedule",
+ modelProperties: {
+ interval: {
+ serializedName: "interval",
type: {
- name: "Boolean"
+ name: "Number"
}
},
- diskEncryptionSetId: {
- serializedName: "diskEncryptionSetId",
+ scheduleWindowStartTime: {
+ serializedName: "scheduleWindowStartTime",
type: {
- name: "String"
+ name: "DateTime"
}
},
- zones: {
- serializedName: "zones",
+ scheduleWindowDuration: {
+ serializedName: "scheduleWindowDuration",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "Number"
}
}
}
}
};
-export const JobQueryObject: msRest.CompositeMapper = {
- serializedName: "JobQueryObject",
+export const IdentityBasedRestoreDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "JobQueryObject",
+ className: "IdentityBasedRestoreDetails",
modelProperties: {
- status: {
- serializedName: "status",
+ objectType: {
+ serializedName: "objectType",
type: {
name: "String"
}
},
- backupManagementType: {
- serializedName: "backupManagementType",
+ targetStorageAccountId: {
+ serializedName: "targetStorageAccountId",
type: {
name: "String"
}
- },
- operation: {
- serializedName: "operation",
+ }
+ }
+ }
+};
+
+export const IdentityInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "IdentityInfo",
+ modelProperties: {
+ isSystemAssignedIdentity: {
+ serializedName: "isSystemAssignedIdentity",
type: {
- name: "String"
+ name: "Boolean"
}
},
- jobId: {
- serializedName: "jobId",
+ managedIdentityResourceId: {
+ serializedName: "managedIdentityResourceId",
type: {
name: "String"
}
- },
- startTime: {
- serializedName: "startTime",
- type: {
- name: "DateTime"
- }
- },
- endTime: {
- serializedName: "endTime",
- type: {
- name: "DateTime"
- }
}
}
}
};
-export const JobResource: msRest.CompositeMapper = {
- serializedName: "JobResource",
+export const GetProtectedItemQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "JobResource",
+ className: "GetProtectedItemQueryObject",
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ expand: {
+ serializedName: "expand",
type: {
- name: "Composite",
- className: "Job"
+ name: "String"
}
}
}
}
};
-export const LogSchedulePolicy: msRest.CompositeMapper = {
- serializedName: "LogSchedulePolicy",
+export const KeyAndSecretDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: SchedulePolicy.type.polymorphicDiscriminator,
- uberParent: "SchedulePolicy",
- className: "LogSchedulePolicy",
+ className: "KeyAndSecretDetails",
modelProperties: {
- ...SchedulePolicy.type.modelProperties,
- scheduleFrequencyInMins: {
- serializedName: "scheduleFrequencyInMins",
+ kekDetails: {
+ serializedName: "kekDetails",
type: {
- name: "Number"
+ name: "Composite",
+ className: "KEKDetails"
+ }
+ },
+ bekDetails: {
+ serializedName: "bekDetails",
+ type: {
+ name: "Composite",
+ className: "BEKDetails"
+ }
+ },
+ encryptionMechanism: {
+ serializedName: "encryptionMechanism",
+ type: {
+ name: "String"
}
}
}
}
};
-export const WeeklyRetentionSchedule: msRest.CompositeMapper = {
- serializedName: "WeeklyRetentionSchedule",
+export const KEKDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "WeeklyRetentionSchedule",
+ className: "KEKDetails",
modelProperties: {
- daysOfTheWeek: {
- serializedName: "daysOfTheWeek",
+ keyUrl: {
+ serializedName: "keyUrl",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Enum",
- allowedValues: [
- "Sunday",
- "Monday",
- "Tuesday",
- "Wednesday",
- "Thursday",
- "Friday",
- "Saturday"
- ]
+ name: "String"
+ }
+ },
+ keyVaultId: {
+ serializedName: "keyVaultId",
+ type: {
+ name: "String"
+ }
+ },
+ keyBackupData: {
+ serializedName: "keyBackupData",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const RecoveryPointDiskConfiguration: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "RecoveryPointDiskConfiguration",
+ modelProperties: {
+ numberOfDisksIncludedInBackup: {
+ serializedName: "numberOfDisksIncludedInBackup",
+ type: {
+ name: "Number"
+ }
+ },
+ numberOfDisksAttachedToVm: {
+ serializedName: "numberOfDisksAttachedToVm",
+ type: {
+ name: "Number"
+ }
+ },
+ includedDiskList: {
+ serializedName: "includedDiskList",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DiskInformation"
}
}
}
},
- retentionTimes: {
- serializedName: "retentionTimes",
+ excludedDiskList: {
+ serializedName: "excludedDiskList",
type: {
name: "Sequence",
element: {
type: {
- name: "DateTime"
+ name: "Composite",
+ className: "DiskInformation"
}
}
}
+ }
+ }
+ }
+};
+
+export const JobQueryObject: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "JobQueryObject",
+ modelProperties: {
+ status: {
+ serializedName: "status",
+ type: {
+ name: "String"
+ }
},
- retentionDuration: {
- serializedName: "retentionDuration",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
- name: "Composite",
- className: "RetentionDuration"
+ name: "String"
+ }
+ },
+ operation: {
+ serializedName: "operation",
+ type: {
+ name: "String"
+ }
+ },
+ jobId: {
+ serializedName: "jobId",
+ type: {
+ name: "String"
+ }
+ },
+ startTime: {
+ serializedName: "startTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ endTime: {
+ serializedName: "endTime",
+ type: {
+ name: "DateTime"
}
}
}
}
};
-export const WeeklyRetentionFormat: msRest.CompositeMapper = {
- serializedName: "WeeklyRetentionFormat",
+export const WeeklyRetentionSchedule: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "WeeklyRetentionFormat",
+ className: "WeeklyRetentionSchedule",
modelProperties: {
daysOfTheWeek: {
serializedName: "daysOfTheWeek",
@@ -3936,24 +3816,29 @@ export const WeeklyRetentionFormat: msRest.CompositeMapper = {
}
}
},
- weeksOfTheMonth: {
- serializedName: "weeksOfTheMonth",
+ retentionTimes: {
+ serializedName: "retentionTimes",
type: {
name: "Sequence",
element: {
type: {
- name: "Enum",
- allowedValues: ["First", "Second", "Third", "Fourth", "Last", "Invalid"]
+ name: "DateTime"
}
}
}
+ },
+ retentionDuration: {
+ serializedName: "retentionDuration",
+ type: {
+ name: "Composite",
+ className: "RetentionDuration"
+ }
}
}
}
};
-export const MonthlyRetentionSchedule: msRest.CompositeMapper = {
- serializedName: "MonthlyRetentionSchedule",
+export const MonthlyRetentionSchedule: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "MonthlyRetentionSchedule",
@@ -4000,8 +3885,55 @@ export const MonthlyRetentionSchedule: msRest.CompositeMapper = {
}
};
-export const YearlyRetentionSchedule: msRest.CompositeMapper = {
- serializedName: "YearlyRetentionSchedule",
+export const WeeklyRetentionFormat: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "WeeklyRetentionFormat",
+ modelProperties: {
+ daysOfTheWeek: {
+ serializedName: "daysOfTheWeek",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ]
+ }
+ }
+ }
+ },
+ weeksOfTheMonth: {
+ serializedName: "weeksOfTheMonth",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "First",
+ "Second",
+ "Third",
+ "Fourth",
+ "Last",
+ "Invalid"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const YearlyRetentionSchedule: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "YearlyRetentionSchedule",
@@ -4074,76 +4006,21 @@ export const YearlyRetentionSchedule: msRest.CompositeMapper = {
}
};
-export const LongTermRetentionPolicy: msRest.CompositeMapper = {
- serializedName: "LongTermRetentionPolicy",
- type: {
- name: "Composite",
- polymorphicDiscriminator: RetentionPolicy.type.polymorphicDiscriminator,
- uberParent: "RetentionPolicy",
- className: "LongTermRetentionPolicy",
- modelProperties: {
- ...RetentionPolicy.type.modelProperties,
- dailySchedule: {
- serializedName: "dailySchedule",
- type: {
- name: "Composite",
- className: "DailyRetentionSchedule"
- }
- },
- weeklySchedule: {
- serializedName: "weeklySchedule",
- type: {
- name: "Composite",
- className: "WeeklyRetentionSchedule"
- }
- },
- monthlySchedule: {
- serializedName: "monthlySchedule",
- type: {
- name: "Composite",
- className: "MonthlyRetentionSchedule"
- }
- },
- yearlySchedule: {
- serializedName: "yearlySchedule",
- type: {
- name: "Composite",
- className: "YearlyRetentionSchedule"
- }
- }
- }
- }
-};
-
-export const LongTermSchedulePolicy: msRest.CompositeMapper = {
- serializedName: "LongTermSchedulePolicy",
- type: {
- name: "Composite",
- polymorphicDiscriminator: SchedulePolicy.type.polymorphicDiscriminator,
- uberParent: "SchedulePolicy",
- className: "LongTermSchedulePolicy",
- modelProperties: {
- ...SchedulePolicy.type.modelProperties
- }
- }
-};
-
-export const MabErrorInfo: msRest.CompositeMapper = {
- serializedName: "MabErrorInfo",
+export const MabErrorInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "MabErrorInfo",
modelProperties: {
errorString: {
- readOnly: true,
serializedName: "errorString",
+ readOnly: true,
type: {
name: "String"
}
},
recommendations: {
- readOnly: true,
serializedName: "recommendations",
+ readOnly: true,
type: {
name: "Sequence",
element: {
@@ -4157,8 +4034,7 @@ export const MabErrorInfo: msRest.CompositeMapper = {
}
};
-export const MabFileFolderProtectedItemExtendedInfo: msRest.CompositeMapper = {
- serializedName: "MabFileFolderProtectedItemExtendedInfo",
+export const MabFileFolderProtectedItemExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "MabFileFolderProtectedItemExtendedInfo",
@@ -4185,72 +4061,49 @@ export const MabFileFolderProtectedItemExtendedInfo: msRest.CompositeMapper = {
}
};
-export const MabFileFolderProtectedItem: msRest.CompositeMapper = {
- serializedName: "MabFileFolderProtectedItem",
+export const MabJobExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
- uberParent: "ProtectedItem",
- className: "MabFileFolderProtectedItem",
+ className: "MabJobExtendedInfo",
modelProperties: {
- ...ProtectedItem.type.modelProperties,
- friendlyName: {
- serializedName: "friendlyName",
+ tasksList: {
+ serializedName: "tasksList",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "MabJobTaskDetails"
+ }
+ }
}
},
- computerName: {
- serializedName: "computerName",
+ propertyBag: {
+ serializedName: "propertyBag",
type: {
- name: "String"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- lastBackupStatus: {
- serializedName: "lastBackupStatus",
+ dynamicErrorMessage: {
+ serializedName: "dynamicErrorMessage",
type: {
name: "String"
}
- },
- lastBackupTime: {
- serializedName: "lastBackupTime",
+ }
+ }
+ }
+};
+
+export const MabJobTaskDetails: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "MabJobTaskDetails",
+ modelProperties: {
+ taskId: {
+ serializedName: "taskId",
type: {
- name: "DateTime"
- }
- },
- protectionState: {
- serializedName: "protectionState",
- type: {
- name: "String"
- }
- },
- deferredDeleteSyncTimeInUTC: {
- serializedName: "deferredDeleteSyncTimeInUTC",
- type: {
- name: "Number"
- }
- },
- extendedInfo: {
- serializedName: "extendedInfo",
- type: {
- name: "Composite",
- className: "MabFileFolderProtectedItemExtendedInfo"
- }
- }
- }
- }
-};
-
-export const MabJobTaskDetails: msRest.CompositeMapper = {
- serializedName: "MabJobTaskDetails",
- type: {
- name: "Composite",
- className: "MabJobTaskDetails",
- modelProperties: {
- taskId: {
- serializedName: "taskId",
- type: {
- name: "String"
+ name: "String"
}
},
startTime: {
@@ -4281,193 +4134,115 @@ export const MabJobTaskDetails: msRest.CompositeMapper = {
}
};
-export const MabJobExtendedInfo: msRest.CompositeMapper = {
- serializedName: "MabJobExtendedInfo",
+export const ProtectedItemQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "MabJobExtendedInfo",
+ className: "ProtectedItemQueryObject",
modelProperties: {
- tasksList: {
- serializedName: "tasksList",
+ healthState: {
+ serializedName: "healthState",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "MabJobTaskDetails"
- }
- }
+ name: "String"
}
},
- propertyBag: {
- serializedName: "propertyBag",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- dynamicErrorMessage: {
- serializedName: "dynamicErrorMessage",
+ itemType: {
+ serializedName: "itemType",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const MabJob: msRest.CompositeMapper = {
- serializedName: "MabJob",
- type: {
- name: "Composite",
- polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
- uberParent: "Job",
- className: "MabJob",
- modelProperties: {
- ...Job.type.modelProperties,
- duration: {
- serializedName: "duration",
- type: {
- name: "TimeSpan"
- }
},
- actionsInfo: {
- serializedName: "actionsInfo",
+ policyName: {
+ serializedName: "policyName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Enum",
- allowedValues: ["Invalid", "Cancellable", "Retriable"]
- }
- }
+ name: "String"
}
},
- mabServerName: {
- serializedName: "mabServerName",
+ containerName: {
+ serializedName: "containerName",
type: {
name: "String"
}
},
- mabServerType: {
- serializedName: "mabServerType",
+ backupEngineName: {
+ serializedName: "backupEngineName",
type: {
name: "String"
}
},
- workloadType: {
- serializedName: "workloadType",
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
name: "String"
}
},
- errorDetails: {
- serializedName: "errorDetails",
+ fabricName: {
+ serializedName: "fabricName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "MabErrorInfo"
- }
- }
+ name: "String"
}
},
- extendedInfo: {
- serializedName: "extendedInfo",
+ backupSetName: {
+ serializedName: "backupSetName",
type: {
- name: "Composite",
- className: "MabJobExtendedInfo"
+ name: "String"
}
}
}
}
};
-export const MabProtectionPolicy: msRest.CompositeMapper = {
- serializedName: "MAB",
+export const ProtectionPolicyQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
- uberParent: "ProtectionPolicy",
- className: "MabProtectionPolicy",
+ className: "ProtectionPolicyQueryObject",
modelProperties: {
- ...ProtectionPolicy.type.modelProperties,
- schedulePolicy: {
- serializedName: "schedulePolicy",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
- name: "Composite",
- className: "SchedulePolicy"
+ name: "String"
}
},
- retentionPolicy: {
- serializedName: "retentionPolicy",
+ fabricName: {
+ serializedName: "fabricName",
type: {
- name: "Composite",
- className: "RetentionPolicy"
+ name: "String"
}
- }
- }
- }
-};
-
-export const OperationResultInfo: msRest.CompositeMapper = {
- serializedName: "OperationResultInfo",
- type: {
- name: "Composite",
- polymorphicDiscriminator: OperationResultInfoBase.type.polymorphicDiscriminator,
- uberParent: "OperationResultInfoBase",
- className: "OperationResultInfo",
- modelProperties: {
- ...OperationResultInfoBase.type.modelProperties,
- jobList: {
- serializedName: "jobList",
+ },
+ workloadType: {
+ serializedName: "workloadType",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
}
}
}
};
-export const PrepareDataMoveRequest: msRest.CompositeMapper = {
- serializedName: "PrepareDataMoveRequest",
+export const VaultJobErrorInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PrepareDataMoveRequest",
+ className: "VaultJobErrorInfo",
modelProperties: {
- targetResourceId: {
- required: true,
- serializedName: "targetResourceId",
- type: {
- name: "String"
- }
- },
- targetRegion: {
- required: true,
- serializedName: "targetRegion",
+ errorCode: {
+ serializedName: "errorCode",
type: {
- name: "String"
+ name: "Number"
}
},
- dataMoveLevel: {
- required: true,
- serializedName: "dataMoveLevel",
+ errorString: {
+ serializedName: "errorString",
type: {
name: "String"
}
},
- sourceContainerArmIds: {
- serializedName: "sourceContainerArmIds",
+ recommendations: {
+ serializedName: "recommendations",
type: {
name: "Sequence",
element: {
@@ -4476,62 +4251,68 @@ export const PrepareDataMoveRequest: msRest.CompositeMapper = {
}
}
}
- },
- ignoreMoved: {
- serializedName: "ignoreMoved",
+ }
+ }
+ }
+};
+
+export const VaultJobExtendedInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "VaultJobExtendedInfo",
+ modelProperties: {
+ propertyBag: {
+ serializedName: "propertyBag",
type: {
- name: "Boolean"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
}
}
}
};
-export const VaultStorageConfigOperationResultResponse: msRest.CompositeMapper = {
- serializedName: "VaultStorageConfigOperationResultResponse",
+export const DPMContainerExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "objectType",
- clientName: "objectType"
- },
- uberParent: "VaultStorageConfigOperationResultResponse",
- className: "VaultStorageConfigOperationResultResponse",
+ className: "DPMContainerExtendedInfo",
modelProperties: {
- objectType: {
- required: true,
- serializedName: "objectType",
+ lastRefreshedAt: {
+ serializedName: "lastRefreshedAt",
type: {
- name: "String"
+ name: "DateTime"
}
}
}
}
};
-export const PrepareDataMoveResponse: msRest.CompositeMapper = {
- serializedName: "PrepareDataMoveResponse",
+export const AzureWorkloadContainerExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator:
- VaultStorageConfigOperationResultResponse.type.polymorphicDiscriminator,
- uberParent: "VaultStorageConfigOperationResultResponse",
- className: "PrepareDataMoveResponse",
+ className: "AzureWorkloadContainerExtendedInfo",
modelProperties: {
- ...VaultStorageConfigOperationResultResponse.type.modelProperties,
- correlationId: {
- serializedName: "correlationId",
+ hostServerName: {
+ serializedName: "hostServerName",
type: {
name: "String"
}
},
- sourceVaultProperties: {
- serializedName: "sourceVaultProperties",
+ inquiryInfo: {
+ serializedName: "inquiryInfo",
type: {
- name: "Dictionary",
- value: {
+ name: "Composite",
+ className: "InquiryInfo"
+ }
+ },
+ nodesList: {
+ serializedName: "nodesList",
+ type: {
+ name: "Sequence",
+ element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "DistributedNodesInfo"
}
}
}
@@ -4540,216 +4321,144 @@ export const PrepareDataMoveResponse: msRest.CompositeMapper = {
}
};
-export const TriggerDataMoveRequest: msRest.CompositeMapper = {
- serializedName: "TriggerDataMoveRequest",
+export const InquiryInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TriggerDataMoveRequest",
+ className: "InquiryInfo",
modelProperties: {
- sourceResourceId: {
- required: true,
- serializedName: "sourceResourceId",
- type: {
- name: "String"
- }
- },
- sourceRegion: {
- required: true,
- serializedName: "sourceRegion",
- type: {
- name: "String"
- }
- },
- dataMoveLevel: {
- required: true,
- serializedName: "dataMoveLevel",
+ status: {
+ serializedName: "status",
type: {
name: "String"
}
},
- correlationId: {
- required: true,
- serializedName: "correlationId",
+ errorDetail: {
+ serializedName: "errorDetail",
type: {
- name: "String"
+ name: "Composite",
+ className: "ErrorDetail"
}
},
- sourceContainerArmIds: {
- serializedName: "sourceContainerArmIds",
+ inquiryDetails: {
+ serializedName: "inquiryDetails",
type: {
name: "Sequence",
element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "WorkloadInquiryDetails"
}
}
}
- },
- pauseGC: {
- serializedName: "pauseGC",
- type: {
- name: "Boolean"
- }
}
}
}
};
-export const OperationWorkerResponse: msRest.CompositeMapper = {
- serializedName: "OperationWorkerResponse",
+export const WorkloadInquiryDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "OperationWorkerResponse",
+ className: "WorkloadInquiryDetails",
modelProperties: {
- statusCode: {
- serializedName: "statusCode",
+ type: {
+ serializedName: "type",
type: {
- name: "Enum",
- allowedValues: [
- "Continue",
- "SwitchingProtocols",
- "OK",
- "Created",
- "Accepted",
- "NonAuthoritativeInformation",
- "NoContent",
- "ResetContent",
- "PartialContent",
- "MultipleChoices",
- "Ambiguous",
- "MovedPermanently",
- "Moved",
- "Found",
- "Redirect",
- "SeeOther",
- "RedirectMethod",
- "NotModified",
- "UseProxy",
- "Unused",
- "TemporaryRedirect",
- "RedirectKeepVerb",
- "BadRequest",
- "Unauthorized",
- "PaymentRequired",
- "Forbidden",
- "NotFound",
- "MethodNotAllowed",
- "NotAcceptable",
- "ProxyAuthenticationRequired",
- "RequestTimeout",
- "Conflict",
- "Gone",
- "LengthRequired",
- "PreconditionFailed",
- "RequestEntityTooLarge",
- "RequestUriTooLong",
- "UnsupportedMediaType",
- "RequestedRangeNotSatisfiable",
- "ExpectationFailed",
- "UpgradeRequired",
- "InternalServerError",
- "NotImplemented",
- "BadGateway",
- "ServiceUnavailable",
- "GatewayTimeout",
- "HttpVersionNotSupported"
- ]
+ name: "String"
}
},
- headers: {
- serializedName: "headers",
+ itemCount: {
+ serializedName: "itemCount",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
- }
- }
+ name: "Number"
}
- }
- }
- }
-};
-
-export const OperationResultInfoBaseResource: msRest.CompositeMapper = {
- serializedName: "OperationResultInfoBaseResource",
- type: {
- name: "Composite",
- className: "OperationResultInfoBaseResource",
- modelProperties: {
- ...OperationWorkerResponse.type.modelProperties,
- operation: {
- serializedName: "operation",
+ },
+ inquiryValidation: {
+ serializedName: "inquiryValidation",
type: {
name: "Composite",
- className: "OperationResultInfoBase"
+ className: "InquiryValidation"
}
}
}
}
};
-export const ProtectedItemQueryObject: msRest.CompositeMapper = {
- serializedName: "ProtectedItemQueryObject",
+export const InquiryValidation: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ProtectedItemQueryObject",
+ className: "InquiryValidation",
modelProperties: {
- healthState: {
- serializedName: "healthState",
+ status: {
+ serializedName: "status",
type: {
name: "String"
}
},
- backupManagementType: {
- serializedName: "backupManagementType",
+ errorDetail: {
+ serializedName: "errorDetail",
type: {
- name: "String"
+ name: "Composite",
+ className: "ErrorDetail"
}
},
- itemType: {
- serializedName: "itemType",
+ additionalDetail: {
+ serializedName: "additionalDetail",
+ readOnly: true,
type: {
name: "String"
}
- },
- policyName: {
- serializedName: "policyName",
+ }
+ }
+ }
+};
+
+export const DistributedNodesInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "DistributedNodesInfo",
+ modelProperties: {
+ nodeName: {
+ serializedName: "nodeName",
type: {
name: "String"
}
},
- containerName: {
- serializedName: "containerName",
+ status: {
+ serializedName: "status",
type: {
name: "String"
}
},
- backupEngineName: {
- serializedName: "backupEngineName",
+ errorDetail: {
+ serializedName: "errorDetail",
type: {
- name: "String"
+ name: "Composite",
+ className: "ErrorDetail"
}
- },
- friendlyName: {
- serializedName: "friendlyName",
+ }
+ }
+ }
+};
+
+export const PreBackupValidation: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "PreBackupValidation",
+ modelProperties: {
+ status: {
+ serializedName: "status",
type: {
name: "String"
}
},
- fabricName: {
- serializedName: "fabricName",
+ code: {
+ serializedName: "code",
type: {
name: "String"
}
},
- backupSetName: {
- serializedName: "backupSetName",
+ message: {
+ serializedName: "message",
type: {
name: "String"
}
@@ -4758,29 +4467,25 @@ export const ProtectedItemQueryObject: msRest.CompositeMapper = {
}
};
-export const ProtectedItemResource: msRest.CompositeMapper = {
- serializedName: "ProtectedItemResource",
+export const BMSBackupSummariesQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ProtectedItemResource",
+ className: "BMSBackupSummariesQueryObject",
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ type: {
+ serializedName: "type",
type: {
- name: "Composite",
- className: "ProtectedItem"
+ name: "String"
}
}
}
}
};
-export const ProtectionPolicyQueryObject: msRest.CompositeMapper = {
- serializedName: "ProtectionPolicyQueryObject",
+export const ProtectionIntentQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ProtectionPolicyQueryObject",
+ className: "ProtectionIntentQueryObject",
modelProperties: {
backupManagementType: {
serializedName: "backupManagementType",
@@ -4788,66 +4493,62 @@ export const ProtectionPolicyQueryObject: msRest.CompositeMapper = {
name: "String"
}
},
- fabricName: {
- serializedName: "fabricName",
+ itemType: {
+ serializedName: "itemType",
type: {
name: "String"
}
},
- workloadType: {
- serializedName: "workloadType",
+ parentName: {
+ serializedName: "parentName",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const ProtectionPolicyResource: msRest.CompositeMapper = {
- serializedName: "ProtectionPolicyResource",
- type: {
- name: "Composite",
- className: "ProtectionPolicyResource",
- modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ },
+ itemName: {
+ serializedName: "itemName",
type: {
- name: "Composite",
- className: "ProtectionPolicy"
+ name: "String"
}
}
}
}
};
-export const RecoveryPointResource: msRest.CompositeMapper = {
- serializedName: "RecoveryPointResource",
+export const BMSBackupEngineQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "RecoveryPointResource",
+ className: "BMSBackupEngineQueryObject",
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ expand: {
+ serializedName: "expand",
type: {
- name: "Composite",
- className: "RecoveryPoint"
+ name: "String"
}
}
}
}
};
-export const ResourceList: msRest.CompositeMapper = {
- serializedName: "ResourceList",
+export const BMSBackupEnginesQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ResourceList",
+ className: "BMSBackupEnginesQueryObject",
modelProperties: {
- nextLink: {
- serializedName: "nextLink",
+ backupManagementType: {
+ serializedName: "backupManagementType",
+ type: {
+ name: "String"
+ }
+ },
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ expand: {
+ serializedName: "expand",
type: {
name: "String"
}
@@ -4856,114 +4557,65 @@ export const ResourceList: msRest.CompositeMapper = {
}
};
-export const RestoreRequestResource: msRest.CompositeMapper = {
- serializedName: "RestoreRequestResource",
+export const BMSContainerQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "RestoreRequestResource",
+ className: "BMSContainerQueryObject",
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ backupManagementType: {
+ serializedName: "backupManagementType",
+ required: true,
type: {
- name: "Composite",
- className: "RestoreRequest"
+ name: "String"
}
- }
- }
- }
-};
-
-export const SimpleRetentionPolicy: msRest.CompositeMapper = {
- serializedName: "SimpleRetentionPolicy",
- type: {
- name: "Composite",
- polymorphicDiscriminator: RetentionPolicy.type.polymorphicDiscriminator,
- uberParent: "RetentionPolicy",
- className: "SimpleRetentionPolicy",
- modelProperties: {
- ...RetentionPolicy.type.modelProperties,
- retentionDuration: {
- serializedName: "retentionDuration",
+ },
+ containerType: {
+ serializedName: "containerType",
type: {
- name: "Composite",
- className: "RetentionDuration"
+ name: "String"
}
- }
- }
- }
-};
-
-export const SimpleSchedulePolicy: msRest.CompositeMapper = {
- serializedName: "SimpleSchedulePolicy",
- type: {
- name: "Composite",
- polymorphicDiscriminator: SchedulePolicy.type.polymorphicDiscriminator,
- uberParent: "SchedulePolicy",
- className: "SimpleSchedulePolicy",
- modelProperties: {
- ...SchedulePolicy.type.modelProperties,
- scheduleRunFrequency: {
- serializedName: "scheduleRunFrequency",
+ },
+ backupEngineName: {
+ serializedName: "backupEngineName",
type: {
name: "String"
}
},
- scheduleRunDays: {
- serializedName: "scheduleRunDays",
+ fabricName: {
+ serializedName: "fabricName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Enum",
- allowedValues: [
- "Sunday",
- "Monday",
- "Tuesday",
- "Wednesday",
- "Thursday",
- "Friday",
- "Saturday"
- ]
- }
- }
+ name: "String"
}
},
- scheduleRunTimes: {
- serializedName: "scheduleRunTimes",
+ status: {
+ serializedName: "status",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "DateTime"
- }
- }
+ name: "String"
}
},
- scheduleWeeklyFrequency: {
- serializedName: "scheduleWeeklyFrequency",
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
- name: "Number"
+ name: "String"
}
}
}
}
};
-export const ValidateOperationRequest: msRest.CompositeMapper = {
- serializedName: "ValidateOperationRequest",
+export const BMSContainersInquiryQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "objectType",
- clientName: "objectType"
- },
- uberParent: "ValidateOperationRequest",
- className: "ValidateOperationRequest",
+ className: "BMSContainersInquiryQueryObject",
modelProperties: {
- objectType: {
- required: true,
- serializedName: "objectType",
+ backupManagementType: {
+ serializedName: "backupManagementType",
+ type: {
+ name: "String"
+ }
+ },
+ workloadType: {
+ serializedName: "workloadType",
type: {
name: "String"
}
@@ -4972,110 +4624,124 @@ export const ValidateOperationRequest: msRest.CompositeMapper = {
}
};
-export const ValidateRestoreOperationRequest: msRest.CompositeMapper = {
- serializedName: "ValidateRestoreOperationRequest",
+export const BmspoQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ValidateOperationRequest.type.polymorphicDiscriminator,
- uberParent: "ValidateOperationRequest",
- className: "ValidateRestoreOperationRequest",
+ className: "BmspoQueryObject",
modelProperties: {
- ...ValidateOperationRequest.type.modelProperties,
- restoreRequest: {
- serializedName: "restoreRequest",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
- name: "Composite",
- className: "RestoreRequest"
+ name: "String"
+ }
+ },
+ workloadType: {
+ serializedName: "workloadType",
+ type: {
+ name: "String"
+ }
+ },
+ containerName: {
+ serializedName: "containerName",
+ type: {
+ name: "String"
+ }
+ },
+ status: {
+ serializedName: "status",
+ type: {
+ name: "String"
+ }
+ },
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
}
}
}
}
};
-export const ValidateIaasVMRestoreOperationRequest: msRest.CompositeMapper = {
- serializedName: "ValidateIaasVMRestoreOperationRequest",
- type: {
- name: "Composite",
- polymorphicDiscriminator: ValidateOperationRequest.type.polymorphicDiscriminator,
- uberParent: "ValidateOperationRequest",
- className: "ValidateIaasVMRestoreOperationRequest",
- modelProperties: {
- ...ValidateRestoreOperationRequest.type.modelProperties
- }
- }
-};
-
-export const ValidateOperationResponse: msRest.CompositeMapper = {
- serializedName: "ValidateOperationResponse",
+export const BMSRefreshContainersQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ValidateOperationResponse",
+ className: "BMSRefreshContainersQueryObject",
modelProperties: {
- validationResults: {
- serializedName: "validationResults",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ErrorDetail"
- }
- }
+ name: "String"
}
}
}
}
};
-export const ValidateOperationsResponse: msRest.CompositeMapper = {
- serializedName: "ValidateOperationsResponse",
+export const BMSWorkloadItemQueryObject: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ValidateOperationsResponse",
+ className: "BMSWorkloadItemQueryObject",
modelProperties: {
- validateOperationResponse: {
- serializedName: "validateOperationResponse",
+ backupManagementType: {
+ serializedName: "backupManagementType",
type: {
- name: "Composite",
- className: "ValidateOperationResponse"
+ name: "String"
+ }
+ },
+ workloadItemType: {
+ serializedName: "workloadItemType",
+ type: {
+ name: "String"
+ }
+ },
+ workloadType: {
+ serializedName: "workloadType",
+ type: {
+ name: "String"
+ }
+ },
+ protectionStatus: {
+ serializedName: "protectionStatus",
+ type: {
+ name: "String"
}
}
}
}
};
-export const BackupResourceVaultConfig: msRest.CompositeMapper = {
- serializedName: "BackupResourceVaultConfig",
+export const ClientScriptForConnect: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "BackupResourceVaultConfig",
+ className: "ClientScriptForConnect",
modelProperties: {
- storageModelType: {
- serializedName: "storageModelType",
+ scriptContent: {
+ serializedName: "scriptContent",
type: {
name: "String"
}
},
- storageType: {
- serializedName: "storageType",
+ scriptExtension: {
+ serializedName: "scriptExtension",
type: {
name: "String"
}
},
- storageTypeState: {
- serializedName: "storageTypeState",
+ osType: {
+ serializedName: "osType",
type: {
name: "String"
}
},
- enhancedSecurityState: {
- serializedName: "enhancedSecurityState",
+ url: {
+ serializedName: "url",
type: {
name: "String"
}
},
- softDeleteFeatureState: {
- serializedName: "softDeleteFeatureState",
+ scriptNameSuffix: {
+ serializedName: "scriptNameSuffix",
type: {
name: "String"
}
@@ -5084,166 +4750,125 @@ export const BackupResourceVaultConfig: msRest.CompositeMapper = {
}
};
-export const BackupResourceVaultConfigResource: msRest.CompositeMapper = {
- serializedName: "BackupResourceVaultConfigResource",
+export const ContainerIdentityInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "BackupResourceVaultConfigResource",
+ className: "ContainerIdentityInfo",
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ uniqueName: {
+ serializedName: "uniqueName",
type: {
- name: "Composite",
- className: "BackupResourceVaultConfig"
+ name: "String"
}
- }
- }
- }
-};
-
-export const VaultJobErrorInfo: msRest.CompositeMapper = {
- serializedName: "VaultJobErrorInfo",
- type: {
- name: "Composite",
- className: "VaultJobErrorInfo",
- modelProperties: {
- errorCode: {
- serializedName: "errorCode",
+ },
+ aadTenantId: {
+ serializedName: "aadTenantId",
type: {
- name: "Number"
+ name: "String"
}
},
- errorString: {
- serializedName: "errorString",
+ servicePrincipalClientId: {
+ serializedName: "servicePrincipalClientId",
type: {
name: "String"
}
},
- recommendations: {
- serializedName: "recommendations",
+ audience: {
+ serializedName: "audience",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
}
}
}
};
-export const VaultJobExtendedInfo: msRest.CompositeMapper = {
- serializedName: "VaultJobExtendedInfo",
+export const GenericContainerExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "VaultJobExtendedInfo",
+ className: "GenericContainerExtendedInfo",
modelProperties: {
- propertyBag: {
- serializedName: "propertyBag",
- type: {
+ rawCertData: {
+ serializedName: "rawCertData",
+ type: {
+ name: "String"
+ }
+ },
+ containerIdentityInfo: {
+ serializedName: "containerIdentityInfo",
+ type: {
+ name: "Composite",
+ className: "ContainerIdentityInfo"
+ }
+ },
+ serviceEndpoints: {
+ serializedName: "serviceEndpoints",
+ type: {
name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ value: { type: { name: "String" } }
}
}
}
}
};
-export const VaultJob: msRest.CompositeMapper = {
- serializedName: "VaultJob",
+export const InstantItemRecoveryTarget: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
- uberParent: "Job",
- className: "VaultJob",
+ className: "InstantItemRecoveryTarget",
modelProperties: {
- ...Job.type.modelProperties,
- duration: {
- serializedName: "duration",
- type: {
- name: "TimeSpan"
- }
- },
- actionsInfo: {
- serializedName: "actionsInfo",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Enum",
- allowedValues: ["Invalid", "Cancellable", "Retriable"]
- }
- }
- }
- },
- errorDetails: {
- serializedName: "errorDetails",
+ clientScripts: {
+ serializedName: "clientScripts",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "VaultJobErrorInfo"
+ className: "ClientScriptForConnect"
}
}
}
- },
- extendedInfo: {
- serializedName: "extendedInfo",
- type: {
- name: "Composite",
- className: "VaultJobExtendedInfo"
- }
}
}
}
};
-export const ProtectionContainer: msRest.CompositeMapper = {
- serializedName: "ProtectionContainer",
+export const MabContainerExtendedInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "containerType",
- clientName: "containerType"
- },
- uberParent: "ProtectionContainer",
- className: "ProtectionContainer",
+ className: "MabContainerExtendedInfo",
modelProperties: {
- friendlyName: {
- serializedName: "friendlyName",
+ lastRefreshedAt: {
+ serializedName: "lastRefreshedAt",
type: {
- name: "String"
+ name: "DateTime"
}
},
- backupManagementType: {
- serializedName: "backupManagementType",
+ backupItemType: {
+ serializedName: "backupItemType",
type: {
name: "String"
}
},
- registrationStatus: {
- serializedName: "registrationStatus",
+ backupItems: {
+ serializedName: "backupItems",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- healthStatus: {
- serializedName: "healthStatus",
+ policyName: {
+ serializedName: "policyName",
type: {
name: "String"
}
},
- containerType: {
- required: true,
- serializedName: "containerType",
+ lastBackupStatus: {
+ serializedName: "lastBackupStatus",
type: {
name: "String"
}
@@ -5252,41 +4877,31 @@ export const ProtectionContainer: msRest.CompositeMapper = {
}
};
-export const DpmContainer: msRest.CompositeMapper = {
- serializedName: "DPMContainer",
+export const MABContainerHealthDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "DpmContainer",
+ className: "MABContainerHealthDetails",
modelProperties: {
- ...ProtectionContainer.type.modelProperties,
- canReRegister: {
- serializedName: "canReRegister",
+ code: {
+ serializedName: "code",
type: {
- name: "Boolean"
+ name: "Number"
}
},
- containerId: {
- serializedName: "containerId",
+ title: {
+ serializedName: "title",
type: {
name: "String"
}
},
- protectedItemCount: {
- serializedName: "protectedItemCount",
- type: {
- name: "Number"
- }
- },
- dpmAgentVersion: {
- serializedName: "dpmAgentVersion",
+ message: {
+ serializedName: "message",
type: {
name: "String"
}
},
- dpmServers: {
- serializedName: "dpmServers",
+ recommendations: {
+ serializedName: "recommendations",
type: {
name: "Sequence",
element: {
@@ -5295,1323 +4910,1197 @@ export const DpmContainer: msRest.CompositeMapper = {
}
}
}
- },
- upgradeAvailable: {
- serializedName: "upgradeAvailable",
+ }
+ }
+ }
+};
+
+export const RecoveryPointRehydrationInfo: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "RecoveryPointRehydrationInfo",
+ modelProperties: {
+ rehydrationRetentionDuration: {
+ serializedName: "rehydrationRetentionDuration",
type: {
- name: "Boolean"
+ name: "String"
}
},
- protectionStatus: {
- serializedName: "protectionStatus",
+ rehydrationPriority: {
+ serializedName: "rehydrationPriority",
type: {
name: "String"
}
- },
- extendedInfo: {
- serializedName: "extendedInfo",
+ }
+ }
+ }
+};
+
+export const BackupResourceConfigResource: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BackupResourceConfigResource",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
name: "Composite",
- className: "DPMContainerExtendedInfo"
+ className: "BackupResourceConfig"
}
}
}
}
};
-export const AzureBackupServerContainer: msRest.CompositeMapper = {
- serializedName: "AzureBackupServerContainer",
+export const ProtectionIntentResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "AzureBackupServerContainer",
+ className: "ProtectionIntentResource",
modelProperties: {
- ...DpmContainer.type.modelProperties
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ProtectionIntent"
+ }
+ }
}
}
};
-export const BackupEngineBase: msRest.CompositeMapper = {
- serializedName: "BackupEngineBase",
+export const BackupResourceVaultConfigResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "backupEngineType",
- clientName: "backupEngineType"
- },
- uberParent: "BackupEngineBase",
- className: "BackupEngineBase",
+ className: "BackupResourceVaultConfigResource",
modelProperties: {
- friendlyName: {
- serializedName: "friendlyName",
- type: {
- name: "String"
- }
- },
- backupManagementType: {
- serializedName: "backupManagementType",
- type: {
- name: "String"
- }
- },
- registrationStatus: {
- serializedName: "registrationStatus",
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "BackupResourceVaultConfig"
}
- },
- backupEngineState: {
- serializedName: "backupEngineState",
+ }
+ }
+ }
+};
+
+export const BackupResourceEncryptionConfigExtendedResource: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BackupResourceEncryptionConfigExtendedResource",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "BackupResourceEncryptionConfigExtended"
}
- },
- healthStatus: {
- serializedName: "healthStatus",
+ }
+ }
+ }
+};
+
+export const BackupResourceEncryptionConfigResource: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BackupResourceEncryptionConfigResource",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "BackupResourceEncryptionConfig"
}
- },
- canReRegister: {
- serializedName: "canReRegister",
+ }
+ }
+ }
+};
+
+export const PrivateEndpointConnectionResource: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "PrivateEndpointConnectionResource",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "Boolean"
- }
- },
- backupEngineId: {
- serializedName: "backupEngineId",
- type: {
- name: "String"
- }
- },
- dpmVersion: {
- serializedName: "dpmVersion",
- type: {
- name: "String"
- }
- },
- azureBackupAgentVersion: {
- serializedName: "azureBackupAgentVersion",
- type: {
- name: "String"
- }
- },
- isAzureBackupAgentUpgradeAvailable: {
- serializedName: "isAzureBackupAgentUpgradeAvailable",
- type: {
- name: "Boolean"
- }
- },
- isDpmUpgradeAvailable: {
- serializedName: "isDpmUpgradeAvailable",
- type: {
- name: "Boolean"
- }
- },
- extendedInfo: {
- serializedName: "extendedInfo",
- type: {
- name: "Composite",
- className: "BackupEngineExtendedInfo"
- }
- },
- backupEngineType: {
- required: true,
- serializedName: "backupEngineType",
- type: {
- name: "String"
+ name: "Composite",
+ className: "PrivateEndpointConnection"
}
}
}
}
};
-export const AzureBackupServerEngine: msRest.CompositeMapper = {
- serializedName: "AzureBackupServerEngine",
+export const ProtectedItemResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: BackupEngineBase.type.polymorphicDiscriminator,
- uberParent: "BackupEngineBase",
- className: "AzureBackupServerEngine",
+ className: "ProtectedItemResource",
modelProperties: {
- ...BackupEngineBase.type.modelProperties
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ProtectedItem"
+ }
+ }
}
}
};
-export const BackupRequest: msRest.CompositeMapper = {
- serializedName: "BackupRequest",
+export const RecoveryPointResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "objectType",
- clientName: "objectType"
- },
- uberParent: "BackupRequest",
- className: "BackupRequest",
+ className: "RecoveryPointResource",
modelProperties: {
- objectType: {
- required: true,
- serializedName: "objectType",
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "RecoveryPoint"
}
}
}
}
};
-export const AzureFileShareBackupRequest: msRest.CompositeMapper = {
- serializedName: "AzureFileShareBackupRequest",
+export const RestoreRequestResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: BackupRequest.type.polymorphicDiscriminator,
- uberParent: "BackupRequest",
- className: "AzureFileShareBackupRequest",
+ className: "RestoreRequestResource",
modelProperties: {
- ...BackupRequest.type.modelProperties,
- recoveryPointExpiryTimeInUTC: {
- serializedName: "recoveryPointExpiryTimeInUTC",
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "DateTime"
+ name: "Composite",
+ className: "RestoreRequest"
}
}
}
}
};
-export const WorkloadProtectableItem: msRest.CompositeMapper = {
- serializedName: "WorkloadProtectableItem",
+export const ProtectionPolicyResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "protectableItemType",
- clientName: "protectableItemType"
- },
- uberParent: "WorkloadProtectableItem",
- className: "WorkloadProtectableItem",
+ className: "ProtectionPolicyResource",
modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
- type: {
- name: "String"
- }
- },
- workloadType: {
- serializedName: "workloadType",
- type: {
- name: "String"
- }
- },
- friendlyName: {
- serializedName: "friendlyName",
- type: {
- name: "String"
- }
- },
- protectionState: {
- serializedName: "protectionState",
- type: {
- name: "String"
- }
- },
- protectableItemType: {
- required: true,
- serializedName: "protectableItemType",
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "ProtectionPolicy"
}
}
}
}
};
-export const AzureFileShareProtectableItem: msRest.CompositeMapper = {
- serializedName: "AzureFileShare",
+export const JobResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "AzureFileShareProtectableItem",
+ className: "JobResource",
modelProperties: {
- ...WorkloadProtectableItem.type.modelProperties,
- parentContainerFabricId: {
- serializedName: "parentContainerFabricId",
- type: {
- name: "String"
- }
- },
- parentContainerFriendlyName: {
- serializedName: "parentContainerFriendlyName",
- type: {
- name: "String"
- }
- },
- azureFileShareType: {
- serializedName: "azureFileShareType",
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "Job"
}
}
}
}
};
-export const ILRRequest: msRest.CompositeMapper = {
- serializedName: "ILRRequest",
+export const BackupEngineBaseResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "objectType",
- clientName: "objectType"
- },
- uberParent: "ILRRequest",
- className: "ILRRequest",
+ className: "BackupEngineBaseResource",
modelProperties: {
- objectType: {
- required: true,
- serializedName: "objectType",
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "BackupEngineBase"
}
}
}
}
};
-export const AzureFileShareProvisionILRRequest: msRest.CompositeMapper = {
- serializedName: "AzureFileShareProvisionILRRequest",
+export const ProtectableContainerResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ILRRequest.type.polymorphicDiscriminator,
- uberParent: "ILRRequest",
- className: "AzureFileShareProvisionILRRequest",
+ className: "ProtectableContainerResource",
modelProperties: {
- ...ILRRequest.type.modelProperties,
- recoveryPointId: {
- serializedName: "recoveryPointId",
- type: {
- name: "String"
- }
- },
- sourceResourceId: {
- serializedName: "sourceResourceId",
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "ProtectableContainer"
}
}
}
}
};
-export const IaaSVMContainer: msRest.CompositeMapper = {
- serializedName: "IaaSVMContainer",
+export const ProtectionContainerResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "IaaSVMContainer",
+ className: "ProtectionContainerResource",
modelProperties: {
- ...ProtectionContainer.type.modelProperties,
- virtualMachineId: {
- serializedName: "virtualMachineId",
- type: {
- name: "String"
- }
- },
- virtualMachineVersion: {
- serializedName: "virtualMachineVersion",
- type: {
- name: "String"
- }
- },
- resourceGroup: {
- serializedName: "resourceGroup",
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "ProtectionContainer"
}
}
}
}
};
-export const AzureIaaSClassicComputeVMContainer: msRest.CompositeMapper = {
- serializedName: "Microsoft.ClassicCompute/virtualMachines",
+export const WorkloadItemResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "AzureIaaSClassicComputeVMContainer",
+ className: "WorkloadItemResource",
modelProperties: {
- ...IaaSVMContainer.type.modelProperties
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "WorkloadItem"
+ }
+ }
}
}
};
-export const IaaSVMProtectableItem: msRest.CompositeMapper = {
- serializedName: "IaaSVMProtectableItem",
+export const BackupRequestResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "IaaSVMProtectableItem",
+ className: "BackupRequestResource",
modelProperties: {
- ...WorkloadProtectableItem.type.modelProperties,
- virtualMachineId: {
- serializedName: "virtualMachineId",
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "BackupRequest"
}
}
}
}
};
-export const AzureIaaSClassicComputeVMProtectableItem: msRest.CompositeMapper = {
- serializedName: "Microsoft.ClassicCompute/virtualMachines",
+export const ILRRequestResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "AzureIaaSClassicComputeVMProtectableItem",
+ className: "ILRRequestResource",
modelProperties: {
- ...IaaSVMProtectableItem.type.modelProperties
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ILRRequest"
+ }
+ }
}
}
};
-export const AzureIaaSComputeVMContainer: msRest.CompositeMapper = {
- serializedName: "Microsoft.Compute/virtualMachines",
+export const WorkloadProtectableItemResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "AzureIaaSComputeVMContainer",
- modelProperties: {
- ...IaaSVMContainer.type.modelProperties
- }
- }
-};
-
-export const AzureIaaSComputeVMProtectableItem: msRest.CompositeMapper = {
- serializedName: "Microsoft.Compute/virtualMachines",
- type: {
- name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "AzureIaaSComputeVMProtectableItem",
- modelProperties: {
- ...IaaSVMProtectableItem.type.modelProperties
- }
- }
-};
-
-export const AzureWorkloadContainer: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadContainer",
- type: {
- name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "AzureWorkloadContainer",
+ className: "WorkloadProtectableItemResource",
modelProperties: {
- ...ProtectionContainer.type.modelProperties,
- sourceResourceId: {
- serializedName: "sourceResourceId",
- type: {
- name: "String"
- }
- },
- lastUpdatedTime: {
- serializedName: "lastUpdatedTime",
- type: {
- name: "DateTime"
- }
- },
- extendedInfo: {
- serializedName: "extendedInfo",
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
name: "Composite",
- className: "AzureWorkloadContainerExtendedInfo"
- }
- },
- workloadType: {
- serializedName: "workloadType",
- type: {
- name: "String"
- }
- },
- operationType: {
- serializedName: "operationType",
- type: {
- name: "String"
+ className: "WorkloadProtectableItem"
}
}
}
}
};
-export const AzureSQLAGWorkloadContainerProtectionContainer: msRest.CompositeMapper = {
- serializedName: "SQLAGWorkLoadContainer",
+export const ResourceGuardProxyBaseResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "AzureSQLAGWorkloadContainerProtectionContainer",
+ className: "ResourceGuardProxyBaseResource",
modelProperties: {
- ...AzureWorkloadContainer.type.modelProperties
+ ...Resource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ResourceGuardProxyBase"
+ }
+ }
}
}
};
-export const AzureSqlContainer: msRest.CompositeMapper = {
- serializedName: "AzureSqlContainer",
+export const AzureBackupGoalFeatureSupportRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureBackupGoals",
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "AzureSqlContainer",
+ className: "AzureBackupGoalFeatureSupportRequest",
+ uberParent: "FeatureSupportRequest",
+ polymorphicDiscriminator:
+ FeatureSupportRequest.type.polymorphicDiscriminator,
modelProperties: {
- ...ProtectionContainer.type.modelProperties
+ ...FeatureSupportRequest.type.modelProperties
}
}
};
-export const AzureStorageContainer: msRest.CompositeMapper = {
- serializedName: "StorageContainer",
+export const AzureVMResourceFeatureSupportRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureVMResourceBackup",
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "AzureStorageContainer",
+ className: "AzureVMResourceFeatureSupportRequest",
+ uberParent: "FeatureSupportRequest",
+ polymorphicDiscriminator:
+ FeatureSupportRequest.type.polymorphicDiscriminator,
modelProperties: {
- ...ProtectionContainer.type.modelProperties,
- sourceResourceId: {
- serializedName: "sourceResourceId",
- type: {
- name: "String"
- }
- },
- storageAccountVersion: {
- serializedName: "storageAccountVersion",
+ ...FeatureSupportRequest.type.modelProperties,
+ vmSize: {
+ serializedName: "vmSize",
type: {
name: "String"
}
},
- resourceGroup: {
- serializedName: "resourceGroup",
+ vmSku: {
+ serializedName: "vmSku",
type: {
name: "String"
}
- },
- protectedItemCount: {
- serializedName: "protectedItemCount",
- type: {
- name: "Number"
- }
}
}
}
};
-export const ProtectableContainer: msRest.CompositeMapper = {
- serializedName: "ProtectableContainer",
+export const AzureRecoveryServiceVaultProtectionIntent: coreClient.CompositeMapper = {
+ serializedName: "RecoveryServiceVaultItem",
type: {
name: "Composite",
+ className: "AzureRecoveryServiceVaultProtectionIntent",
+ uberParent: "ProtectionIntent",
polymorphicDiscriminator: {
- serializedName: "protectableContainerType",
- clientName: "protectableContainerType"
+ serializedName: "protectionIntentItemType",
+ clientName: "protectionIntentItemType"
},
- uberParent: "ProtectableContainer",
- className: "ProtectableContainer",
modelProperties: {
+ ...ProtectionIntent.type.modelProperties
+ }
+ }
+};
+
+export const AzureResourceProtectionIntent: coreClient.CompositeMapper = {
+ serializedName: "AzureResourceItem",
+ type: {
+ name: "Composite",
+ className: "AzureResourceProtectionIntent",
+ uberParent: "ProtectionIntent",
+ polymorphicDiscriminator: ProtectionIntent.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ProtectionIntent.type.modelProperties,
friendlyName: {
serializedName: "friendlyName",
type: {
name: "String"
}
- },
- backupManagementType: {
- serializedName: "backupManagementType",
- type: {
- name: "String"
- }
- },
- healthStatus: {
- serializedName: "healthStatus",
- type: {
- name: "String"
- }
- },
- containerId: {
- serializedName: "containerId",
- type: {
- name: "String"
- }
- },
- protectableContainerType: {
- required: true,
- serializedName: "protectableContainerType",
- type: {
- name: "String"
- }
}
}
}
};
-export const AzureStorageProtectableContainer: msRest.CompositeMapper = {
- serializedName: "StorageContainer",
+export const AzureWorkloadContainerAutoProtectionIntent: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadContainerAutoProtectionIntent",
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectableContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectableContainer",
- className: "AzureStorageProtectableContainer",
+ className: "AzureWorkloadContainerAutoProtectionIntent",
+ uberParent: "ProtectionIntent",
+ polymorphicDiscriminator: ProtectionIntent.type.polymorphicDiscriminator,
modelProperties: {
- ...ProtectableContainer.type.modelProperties
+ ...ProtectionIntent.type.modelProperties
}
}
};
-export const AzureVMAppContainerProtectableContainer: msRest.CompositeMapper = {
- serializedName: "VMAppContainer",
+export const ProtectionIntentResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectableContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectableContainer",
- className: "AzureVMAppContainerProtectableContainer",
+ className: "ProtectionIntentResourceList",
modelProperties: {
- ...ProtectableContainer.type.modelProperties
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ProtectionIntentResource"
+ }
+ }
+ }
+ }
}
}
};
-export const AzureVMAppContainerProtectionContainer: msRest.CompositeMapper = {
- serializedName: "VMAppContainer",
+export const RecoveryPointResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "AzureVMAppContainerProtectionContainer",
+ className: "RecoveryPointResourceList",
modelProperties: {
- ...AzureWorkloadContainer.type.modelProperties
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPointResource"
+ }
+ }
+ }
+ }
}
}
};
-export const WorkloadItem: msRest.CompositeMapper = {
- serializedName: "WorkloadItem",
+export const ProtectionPolicyResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "workloadItemType",
- clientName: "workloadItemType"
- },
- uberParent: "WorkloadItem",
- className: "WorkloadItem",
+ className: "ProtectionPolicyResourceList",
modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
- type: {
- name: "String"
- }
- },
- workloadType: {
- serializedName: "workloadType",
- type: {
- name: "String"
- }
- },
- friendlyName: {
- serializedName: "friendlyName",
- type: {
- name: "String"
- }
- },
- protectionState: {
- serializedName: "protectionState",
- type: {
- name: "String"
- }
- },
- workloadItemType: {
- required: true,
- serializedName: "workloadItemType",
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ProtectionPolicyResource"
+ }
+ }
}
}
}
}
};
-export const AzureVmWorkloadItem: msRest.CompositeMapper = {
- serializedName: "AzureVmWorkloadItem",
+export const JobResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadItem",
- className: "AzureVmWorkloadItem",
+ className: "JobResourceList",
modelProperties: {
- ...WorkloadItem.type.modelProperties,
- parentName: {
- serializedName: "parentName",
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
type: {
- name: "String"
- }
- },
- serverName: {
- serializedName: "serverName",
- type: {
- name: "String"
- }
- },
- isAutoProtectable: {
- serializedName: "isAutoProtectable",
- type: {
- name: "Boolean"
- }
- },
- subinquireditemcount: {
- serializedName: "subinquireditemcount",
- type: {
- name: "Number"
- }
- },
- subWorkloadItemCount: {
- serializedName: "subWorkloadItemCount",
- type: {
- name: "Number"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "JobResource"
+ }
+ }
}
}
}
}
};
-export const PreBackupValidation: msRest.CompositeMapper = {
- serializedName: "PreBackupValidation",
+export const ProtectedItemResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PreBackupValidation",
+ className: "ProtectedItemResourceList",
modelProperties: {
- status: {
- serializedName: "status",
- type: {
- name: "String"
- }
- },
- code: {
- serializedName: "code",
- type: {
- name: "String"
- }
- },
- message: {
- serializedName: "message",
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ProtectedItemResource"
+ }
+ }
}
}
}
}
};
-export const AzureVmWorkloadProtectableItem: msRest.CompositeMapper = {
- serializedName: "AzureVmWorkloadProtectableItem",
+export const BackupEngineBaseResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "AzureVmWorkloadProtectableItem",
+ className: "BackupEngineBaseResourceList",
modelProperties: {
- ...WorkloadProtectableItem.type.modelProperties,
- parentName: {
- serializedName: "parentName",
- type: {
- name: "String"
- }
- },
- parentUniqueName: {
- serializedName: "parentUniqueName",
- type: {
- name: "String"
- }
- },
- serverName: {
- serializedName: "serverName",
- type: {
- name: "String"
- }
- },
- isAutoProtectable: {
- serializedName: "isAutoProtectable",
- type: {
- name: "Boolean"
- }
- },
- isAutoProtected: {
- serializedName: "isAutoProtected",
- type: {
- name: "Boolean"
- }
- },
- subinquireditemcount: {
- serializedName: "subinquireditemcount",
- type: {
- name: "Number"
- }
- },
- subprotectableitemcount: {
- serializedName: "subprotectableitemcount",
- type: {
- name: "Number"
- }
- },
- prebackupvalidation: {
- serializedName: "prebackupvalidation",
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
type: {
- name: "Composite",
- className: "PreBackupValidation"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "BackupEngineBaseResource"
+ }
+ }
}
}
}
}
};
-export const AzureVmWorkloadSAPAseDatabaseWorkloadItem: msRest.CompositeMapper = {
- serializedName: "SAPAseDatabase",
+export const ProtectableContainerResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadItem",
- className: "AzureVmWorkloadSAPAseDatabaseWorkloadItem",
+ className: "ProtectableContainerResourceList",
modelProperties: {
- ...AzureVmWorkloadItem.type.modelProperties
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ProtectableContainerResource"
+ }
+ }
+ }
+ }
}
}
};
-export const AzureVmWorkloadSAPAseSystemProtectableItem: msRest.CompositeMapper = {
- serializedName: "SAPAseSystem",
+export const WorkloadItemResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "AzureVmWorkloadSAPAseSystemProtectableItem",
+ className: "WorkloadItemResourceList",
modelProperties: {
- ...AzureVmWorkloadProtectableItem.type.modelProperties
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "WorkloadItemResource"
+ }
+ }
+ }
+ }
}
}
};
-export const AzureVmWorkloadSAPAseSystemWorkloadItem: msRest.CompositeMapper = {
- serializedName: "SAPAseSystem",
+export const WorkloadProtectableItemResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadItem",
- className: "AzureVmWorkloadSAPAseSystemWorkloadItem",
+ className: "WorkloadProtectableItemResourceList",
modelProperties: {
- ...AzureVmWorkloadItem.type.modelProperties
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "WorkloadProtectableItemResource"
+ }
+ }
+ }
+ }
}
}
};
-export const AzureVmWorkloadSAPHanaDatabaseProtectableItem: msRest.CompositeMapper = {
- serializedName: "SAPHanaDatabase",
+export const ProtectionContainerResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "AzureVmWorkloadSAPHanaDatabaseProtectableItem",
+ className: "ProtectionContainerResourceList",
modelProperties: {
- ...AzureVmWorkloadProtectableItem.type.modelProperties
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerResource"
+ }
+ }
+ }
+ }
}
}
};
-export const AzureVmWorkloadSAPHanaDatabaseWorkloadItem: msRest.CompositeMapper = {
- serializedName: "SAPHanaDatabase",
+export const ResourceGuardProxyBaseResourceList: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadItem",
- className: "AzureVmWorkloadSAPHanaDatabaseWorkloadItem",
+ className: "ResourceGuardProxyBaseResourceList",
modelProperties: {
- ...AzureVmWorkloadItem.type.modelProperties
+ ...ResourceList.type.modelProperties,
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ResourceGuardProxyBaseResource"
+ }
+ }
+ }
+ }
}
}
};
-export const AzureVmWorkloadSAPHanaSystemProtectableItem: msRest.CompositeMapper = {
- serializedName: "SAPHanaSystem",
+export const BackupResourceEncryptionConfigExtended: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "AzureVmWorkloadSAPHanaSystemProtectableItem",
+ className: "BackupResourceEncryptionConfigExtended",
modelProperties: {
- ...AzureVmWorkloadProtectableItem.type.modelProperties
+ ...BackupResourceEncryptionConfig.type.modelProperties,
+ userAssignedIdentity: {
+ serializedName: "userAssignedIdentity",
+ type: {
+ name: "String"
+ }
+ },
+ useSystemAssignedIdentity: {
+ serializedName: "useSystemAssignedIdentity",
+ type: {
+ name: "Boolean"
+ }
+ }
}
}
};
-export const AzureVmWorkloadSAPHanaSystemWorkloadItem: msRest.CompositeMapper = {
- serializedName: "SAPHanaSystem",
+export const OperationStatusJobExtendedInfo: coreClient.CompositeMapper = {
+ serializedName: "OperationStatusJobExtendedInfo",
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadItem",
- className: "AzureVmWorkloadSAPHanaSystemWorkloadItem",
+ className: "OperationStatusJobExtendedInfo",
+ uberParent: "OperationStatusExtendedInfo",
+ polymorphicDiscriminator:
+ OperationStatusExtendedInfo.type.polymorphicDiscriminator,
modelProperties: {
- ...AzureVmWorkloadItem.type.modelProperties
+ ...OperationStatusExtendedInfo.type.modelProperties,
+ jobId: {
+ serializedName: "jobId",
+ type: {
+ name: "String"
+ }
+ }
}
}
};
-export const AzureVmWorkloadSQLAvailabilityGroupProtectableItem: msRest.CompositeMapper = {
- serializedName: "SQLAvailabilityGroupContainer",
+export const OperationStatusJobsExtendedInfo: coreClient.CompositeMapper = {
+ serializedName: "OperationStatusJobsExtendedInfo",
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "AzureVmWorkloadSQLAvailabilityGroupProtectableItem",
+ className: "OperationStatusJobsExtendedInfo",
+ uberParent: "OperationStatusExtendedInfo",
+ polymorphicDiscriminator:
+ OperationStatusExtendedInfo.type.polymorphicDiscriminator,
modelProperties: {
- ...AzureVmWorkloadProtectableItem.type.modelProperties
- }
- }
-};
-
-export const AzureVmWorkloadSQLDatabaseProtectableItem: msRest.CompositeMapper = {
- serializedName: "SQLDataBase",
- type: {
- name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "AzureVmWorkloadSQLDatabaseProtectableItem",
- modelProperties: {
- ...AzureVmWorkloadProtectableItem.type.modelProperties
- }
- }
-};
-
-export const AzureVmWorkloadSQLDatabaseWorkloadItem: msRest.CompositeMapper = {
- serializedName: "SQLDataBase",
- type: {
- name: "Composite",
- polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadItem",
- className: "AzureVmWorkloadSQLDatabaseWorkloadItem",
- modelProperties: {
- ...AzureVmWorkloadItem.type.modelProperties
+ ...OperationStatusExtendedInfo.type.modelProperties,
+ jobIds: {
+ serializedName: "jobIds",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ failedJobsError: {
+ serializedName: "failedJobsError",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ }
}
}
};
-export const AzureVmWorkloadSQLInstanceProtectableItem: msRest.CompositeMapper = {
- serializedName: "SQLInstance",
+export const OperationStatusProvisionILRExtendedInfo: coreClient.CompositeMapper = {
+ serializedName: "OperationStatusProvisionILRExtendedInfo",
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadProtectableItem",
- className: "AzureVmWorkloadSQLInstanceProtectableItem",
+ className: "OperationStatusProvisionILRExtendedInfo",
+ uberParent: "OperationStatusExtendedInfo",
+ polymorphicDiscriminator:
+ OperationStatusExtendedInfo.type.polymorphicDiscriminator,
modelProperties: {
- ...AzureVmWorkloadProtectableItem.type.modelProperties
+ ...OperationStatusExtendedInfo.type.modelProperties,
+ recoveryTarget: {
+ serializedName: "recoveryTarget",
+ type: {
+ name: "Composite",
+ className: "InstantItemRecoveryTarget"
+ }
+ }
}
}
};
-export const AzureVmWorkloadSQLInstanceWorkloadItem: msRest.CompositeMapper = {
- serializedName: "SQLInstance",
+export const OperationStatusValidateOperationExtendedInfo: coreClient.CompositeMapper = {
+ serializedName: "OperationStatusValidateOperationExtendedInfo",
type: {
name: "Composite",
- polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
- uberParent: "WorkloadItem",
- className: "AzureVmWorkloadSQLInstanceWorkloadItem",
+ className: "OperationStatusValidateOperationExtendedInfo",
+ uberParent: "OperationStatusExtendedInfo",
+ polymorphicDiscriminator:
+ OperationStatusExtendedInfo.type.polymorphicDiscriminator,
modelProperties: {
- ...AzureVmWorkloadItem.type.modelProperties,
- dataDirectoryPaths: {
- serializedName: "dataDirectoryPaths",
+ ...OperationStatusExtendedInfo.type.modelProperties,
+ validateOperationResponse: {
+ serializedName: "validateOperationResponse",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "SQLDataDirectory"
- }
- }
+ name: "Composite",
+ className: "ValidateOperationResponse"
}
}
}
}
};
-export const AzureWorkloadBackupRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadBackupRequest",
+export const PrepareDataMoveResponse: coreClient.CompositeMapper = {
+ serializedName: "PrepareDataMoveResponse",
type: {
name: "Composite",
- polymorphicDiscriminator: BackupRequest.type.polymorphicDiscriminator,
- uberParent: "BackupRequest",
- className: "AzureWorkloadBackupRequest",
+ className: "PrepareDataMoveResponse",
+ uberParent: "VaultStorageConfigOperationResultResponse",
+ polymorphicDiscriminator:
+ VaultStorageConfigOperationResultResponse.type.polymorphicDiscriminator,
modelProperties: {
- ...BackupRequest.type.modelProperties,
- backupType: {
- serializedName: "backupType",
+ ...VaultStorageConfigOperationResultResponse.type.modelProperties,
+ correlationId: {
+ serializedName: "correlationId",
type: {
name: "String"
}
},
- enableCompression: {
- serializedName: "enableCompression",
- type: {
- name: "Boolean"
- }
- },
- recoveryPointExpiryTimeInUTC: {
- serializedName: "recoveryPointExpiryTimeInUTC",
+ sourceVaultProperties: {
+ serializedName: "sourceVaultProperties",
type: {
- name: "DateTime"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
}
}
}
};
-export const InquiryValidation: msRest.CompositeMapper = {
- serializedName: "InquiryValidation",
+export const AzureFileshareProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "AzureFileShareProtectedItem",
type: {
name: "Composite",
- className: "InquiryValidation",
+ className: "AzureFileshareProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
modelProperties: {
- status: {
- serializedName: "status",
+ ...ProtectedItem.type.modelProperties,
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
name: "String"
}
},
- errorDetail: {
- serializedName: "errorDetail",
+ protectionStatus: {
+ serializedName: "protectionStatus",
type: {
- name: "Composite",
- className: "ErrorDetail"
+ name: "String"
}
},
- additionalDetail: {
- readOnly: true,
- serializedName: "additionalDetail",
+ protectionState: {
+ serializedName: "protectionState",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const WorkloadInquiryDetails: msRest.CompositeMapper = {
- serializedName: "WorkloadInquiryDetails",
- type: {
- name: "Composite",
- className: "WorkloadInquiryDetails",
- modelProperties: {
- type: {
- serializedName: "type",
+ },
+ lastBackupStatus: {
+ serializedName: "lastBackupStatus",
type: {
name: "String"
}
},
- itemCount: {
- serializedName: "itemCount",
+ lastBackupTime: {
+ serializedName: "lastBackupTime",
type: {
- name: "Number"
+ name: "DateTime"
}
},
- inquiryValidation: {
- serializedName: "inquiryValidation",
+ kpisHealths: {
+ serializedName: "kpisHealths",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: { name: "Composite", className: "KPIResourceHealthDetails" }
+ }
+ }
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
name: "Composite",
- className: "InquiryValidation"
+ className: "AzureFileshareProtectedItemExtendedInfo"
}
}
}
}
};
-export const InquiryInfo: msRest.CompositeMapper = {
- serializedName: "InquiryInfo",
+export const AzureIaaSVMProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "AzureIaaSVMProtectedItem",
type: {
name: "Composite",
- className: "InquiryInfo",
+ className: "AzureIaaSVMProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: {
+ serializedName: "protectedItemType",
+ clientName: "protectedItemType"
+ },
modelProperties: {
- status: {
- serializedName: "status",
+ ...ProtectedItem.type.modelProperties,
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
name: "String"
}
},
- errorDetail: {
- serializedName: "errorDetail",
+ virtualMachineId: {
+ serializedName: "virtualMachineId",
type: {
- name: "Composite",
- className: "ErrorDetail"
+ name: "String"
}
},
- inquiryDetails: {
- serializedName: "inquiryDetails",
+ protectionStatus: {
+ serializedName: "protectionStatus",
+ type: {
+ name: "String"
+ }
+ },
+ protectionState: {
+ serializedName: "protectionState",
+ type: {
+ name: "String"
+ }
+ },
+ healthStatus: {
+ serializedName: "healthStatus",
+ type: {
+ name: "String"
+ }
+ },
+ healthDetails: {
+ serializedName: "healthDetails",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "WorkloadInquiryDetails"
+ className: "AzureIaaSVMHealthDetails"
}
}
}
- }
- }
- }
-};
-
-export const DistributedNodesInfo: msRest.CompositeMapper = {
- serializedName: "DistributedNodesInfo",
- type: {
- name: "Composite",
- className: "DistributedNodesInfo",
- modelProperties: {
- nodeName: {
- serializedName: "nodeName",
+ },
+ kpisHealths: {
+ serializedName: "kpisHealths",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: { name: "Composite", className: "KPIResourceHealthDetails" }
+ }
+ }
+ },
+ lastBackupStatus: {
+ serializedName: "lastBackupStatus",
type: {
name: "String"
}
},
- status: {
- serializedName: "status",
+ lastBackupTime: {
+ serializedName: "lastBackupTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ protectedItemDataId: {
+ serializedName: "protectedItemDataId",
type: {
name: "String"
}
},
- errorDetail: {
- serializedName: "errorDetail",
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
name: "Composite",
- className: "ErrorDetail"
+ className: "AzureIaaSVMProtectedItemExtendedInfo"
+ }
+ },
+ extendedProperties: {
+ serializedName: "extendedProperties",
+ type: {
+ name: "Composite",
+ className: "ExtendedProperties"
}
}
}
}
};
-export const AzureWorkloadContainerExtendedInfo: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadContainerExtendedInfo",
+export const AzureSqlProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Sql/servers/databases",
type: {
name: "Composite",
- className: "AzureWorkloadContainerExtendedInfo",
+ className: "AzureSqlProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
modelProperties: {
- hostServerName: {
- serializedName: "hostServerName",
+ ...ProtectedItem.type.modelProperties,
+ protectedItemDataId: {
+ serializedName: "protectedItemDataId",
type: {
name: "String"
}
},
- inquiryInfo: {
- serializedName: "inquiryInfo",
+ protectionState: {
+ serializedName: "protectionState",
type: {
- name: "Composite",
- className: "InquiryInfo"
+ name: "String"
}
},
- nodesList: {
- serializedName: "nodesList",
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "DistributedNodesInfo"
- }
- }
+ name: "Composite",
+ className: "AzureSqlProtectedItemExtendedInfo"
}
}
}
}
};
-export const BackupEngineExtendedInfo: msRest.CompositeMapper = {
- serializedName: "BackupEngineExtendedInfo",
+export const AzureVmWorkloadProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "AzureVmWorkloadProtectedItem",
type: {
name: "Composite",
- className: "BackupEngineExtendedInfo",
+ className: "AzureVmWorkloadProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: {
+ serializedName: "protectedItemType",
+ clientName: "protectedItemType"
+ },
modelProperties: {
- databaseName: {
- serializedName: "databaseName",
+ ...ProtectedItem.type.modelProperties,
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
name: "String"
}
},
- protectedItemsCount: {
- serializedName: "protectedItemsCount",
+ serverName: {
+ serializedName: "serverName",
type: {
- name: "Number"
+ name: "String"
}
},
- protectedServersCount: {
- serializedName: "protectedServersCount",
+ parentName: {
+ serializedName: "parentName",
type: {
- name: "Number"
+ name: "String"
}
},
- diskCount: {
- serializedName: "diskCount",
+ parentType: {
+ serializedName: "parentType",
type: {
- name: "Number"
+ name: "String"
}
},
- usedDiskSpace: {
- serializedName: "usedDiskSpace",
+ protectionStatus: {
+ serializedName: "protectionStatus",
type: {
- name: "Number"
+ name: "String"
}
},
- availableDiskSpace: {
- serializedName: "availableDiskSpace",
+ protectionState: {
+ serializedName: "protectionState",
type: {
- name: "Number"
+ name: "String"
}
},
- refreshedAt: {
- serializedName: "refreshedAt",
+ lastBackupStatus: {
+ serializedName: "lastBackupStatus",
type: {
- name: "DateTime"
+ name: "String"
}
},
- azureProtectedInstances: {
- serializedName: "azureProtectedInstances",
+ lastBackupTime: {
+ serializedName: "lastBackupTime",
type: {
- name: "Number"
+ name: "DateTime"
}
- }
- }
- }
-};
-
-export const BackupEngineBaseResource: msRest.CompositeMapper = {
- serializedName: "BackupEngineBaseResource",
- type: {
- name: "Composite",
- className: "BackupEngineBaseResource",
- modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ },
+ lastBackupErrorDetail: {
+ serializedName: "lastBackupErrorDetail",
type: {
name: "Composite",
- className: "BackupEngineBase"
+ className: "ErrorDetail"
}
- }
- }
- }
-};
-
-export const BackupRequestResource: msRest.CompositeMapper = {
- serializedName: "BackupRequestResource",
- type: {
- name: "Composite",
- className: "BackupRequestResource",
- modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ },
+ protectedItemDataSourceId: {
+ serializedName: "protectedItemDataSourceId",
type: {
- name: "Composite",
- className: "BackupRequest"
+ name: "String"
}
- }
- }
- }
-};
-
-export const BMSBackupEngineQueryObject: msRest.CompositeMapper = {
- serializedName: "BMSBackupEngineQueryObject",
- type: {
- name: "Composite",
- className: "BMSBackupEngineQueryObject",
- modelProperties: {
- expand: {
- serializedName: "expand",
+ },
+ protectedItemHealthStatus: {
+ serializedName: "protectedItemHealthStatus",
type: {
name: "String"
}
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadProtectedItemExtendedInfo"
+ }
+ },
+ kpisHealths: {
+ serializedName: "kpisHealths",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: { name: "Composite", className: "KPIResourceHealthDetails" }
+ }
+ }
}
}
}
};
-export const BMSBackupEnginesQueryObject: msRest.CompositeMapper = {
- serializedName: "BMSBackupEnginesQueryObject",
+export const DPMProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "DPMProtectedItem",
type: {
name: "Composite",
- className: "BMSBackupEnginesQueryObject",
+ className: "DPMProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
+ ...ProtectedItem.type.modelProperties,
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
name: "String"
}
},
- friendlyName: {
- serializedName: "friendlyName",
+ backupEngineName: {
+ serializedName: "backupEngineName",
type: {
name: "String"
}
},
- expand: {
- serializedName: "expand",
+ protectionState: {
+ serializedName: "protectionState",
type: {
name: "String"
}
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
+ type: {
+ name: "Composite",
+ className: "DPMProtectedItemExtendedInfo"
+ }
}
}
}
};
-export const BMSContainerQueryObject: msRest.CompositeMapper = {
- serializedName: "BMSContainerQueryObject",
+export const GenericProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "GenericProtectedItem",
type: {
name: "Composite",
- className: "BMSContainerQueryObject",
+ className: "GenericProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
modelProperties: {
- backupManagementType: {
- required: true,
- serializedName: "backupManagementType",
+ ...ProtectedItem.type.modelProperties,
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
name: "String"
}
},
- containerType: {
- serializedName: "containerType",
+ policyState: {
+ serializedName: "policyState",
type: {
name: "String"
}
},
- backupEngineName: {
- serializedName: "backupEngineName",
+ protectionState: {
+ serializedName: "protectionState",
type: {
name: "String"
}
},
- fabricName: {
- serializedName: "fabricName",
+ protectedItemId: {
+ serializedName: "protectedItemId",
type: {
- name: "String"
+ name: "Number"
}
},
- status: {
- serializedName: "status",
+ sourceAssociations: {
+ serializedName: "sourceAssociations",
type: {
- name: "String"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- friendlyName: {
- serializedName: "friendlyName",
+ fabricName: {
+ serializedName: "fabricName",
type: {
name: "String"
}
@@ -6620,150 +6109,180 @@ export const BMSContainerQueryObject: msRest.CompositeMapper = {
}
};
-export const BMSContainersInquiryQueryObject: msRest.CompositeMapper = {
- serializedName: "BMSContainersInquiryQueryObject",
+export const MabFileFolderProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "MabFileFolderProtectedItem",
type: {
name: "Composite",
- className: "BMSContainersInquiryQueryObject",
+ className: "MabFileFolderProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
+ ...ProtectedItem.type.modelProperties,
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
name: "String"
}
},
- workloadType: {
- serializedName: "workloadType",
+ computerName: {
+ serializedName: "computerName",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const BMSPOQueryObject: msRest.CompositeMapper = {
- serializedName: "BMSPOQueryObject",
- type: {
- name: "Composite",
- className: "BMSPOQueryObject",
- modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
+ },
+ lastBackupStatus: {
+ serializedName: "lastBackupStatus",
type: {
name: "String"
}
},
- workloadType: {
- serializedName: "workloadType",
+ lastBackupTime: {
+ serializedName: "lastBackupTime",
type: {
- name: "String"
+ name: "DateTime"
}
},
- containerName: {
- serializedName: "containerName",
+ protectionState: {
+ serializedName: "protectionState",
type: {
name: "String"
}
},
- status: {
- serializedName: "status",
+ deferredDeleteSyncTimeInUTC: {
+ serializedName: "deferredDeleteSyncTimeInUTC",
type: {
- name: "String"
+ name: "Number"
}
},
- friendlyName: {
- serializedName: "friendlyName",
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
- name: "String"
+ name: "Composite",
+ className: "MabFileFolderProtectedItemExtendedInfo"
}
}
}
}
};
-export const BMSRefreshContainersQueryObject: msRest.CompositeMapper = {
- serializedName: "BMSRefreshContainersQueryObject",
+export const AzureFileShareRecoveryPoint: coreClient.CompositeMapper = {
+ serializedName: "AzureFileShareRecoveryPoint",
type: {
name: "Composite",
- className: "BMSRefreshContainersQueryObject",
+ className: "AzureFileShareRecoveryPoint",
+ uberParent: "RecoveryPoint",
+ polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
+ ...RecoveryPoint.type.modelProperties,
+ recoveryPointType: {
+ serializedName: "recoveryPointType",
type: {
name: "String"
}
- }
- }
+ },
+ recoveryPointTime: {
+ serializedName: "recoveryPointTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ fileShareSnapshotUri: {
+ serializedName: "fileShareSnapshotUri",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryPointSizeInGB: {
+ serializedName: "recoveryPointSizeInGB",
+ type: {
+ name: "Number"
+ }
+ }
+ }
}
};
-export const BMSWorkloadItemQueryObject: msRest.CompositeMapper = {
- serializedName: "BMSWorkloadItemQueryObject",
+export const AzureWorkloadRecoveryPoint: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadRecoveryPoint",
type: {
name: "Composite",
- className: "BMSWorkloadItemQueryObject",
+ className: "AzureWorkloadRecoveryPoint",
+ uberParent: "RecoveryPoint",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
+ ...RecoveryPoint.type.modelProperties,
+ recoveryPointTimeInUTC: {
+ serializedName: "recoveryPointTimeInUTC",
type: {
- name: "String"
+ name: "DateTime"
}
},
- workloadItemType: {
- serializedName: "workloadItemType",
+ type: {
+ serializedName: "type",
type: {
name: "String"
}
},
- workloadType: {
- serializedName: "workloadType",
+ recoveryPointTierDetails: {
+ serializedName: "recoveryPointTierDetails",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPointTierInformationV2"
+ }
+ }
}
},
- protectionStatus: {
- serializedName: "protectionStatus",
+ recoveryPointMoveReadinessInfo: {
+ serializedName: "recoveryPointMoveReadinessInfo",
type: {
- name: "String"
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPointMoveReadinessInfo"
+ }
+ }
}
}
}
}
};
-export const ClientScriptForConnect: msRest.CompositeMapper = {
- serializedName: "ClientScriptForConnect",
+export const GenericRecoveryPoint: coreClient.CompositeMapper = {
+ serializedName: "GenericRecoveryPoint",
type: {
name: "Composite",
- className: "ClientScriptForConnect",
+ className: "GenericRecoveryPoint",
+ uberParent: "RecoveryPoint",
+ polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
modelProperties: {
- scriptContent: {
- serializedName: "scriptContent",
- type: {
- name: "String"
- }
- },
- scriptExtension: {
- serializedName: "scriptExtension",
+ ...RecoveryPoint.type.modelProperties,
+ friendlyName: {
+ serializedName: "friendlyName",
type: {
name: "String"
}
},
- osType: {
- serializedName: "osType",
+ recoveryPointType: {
+ serializedName: "recoveryPointType",
type: {
name: "String"
}
},
- url: {
- serializedName: "url",
+ recoveryPointTime: {
+ serializedName: "recoveryPointTime",
type: {
- name: "String"
+ name: "DateTime"
}
},
- scriptNameSuffix: {
- serializedName: "scriptNameSuffix",
+ recoveryPointAdditionalInfo: {
+ serializedName: "recoveryPointAdditionalInfo",
type: {
name: "String"
}
@@ -6772,95 +6291,120 @@ export const ClientScriptForConnect: msRest.CompositeMapper = {
}
};
-export const ContainerIdentityInfo: msRest.CompositeMapper = {
- serializedName: "ContainerIdentityInfo",
+export const IaasVMRecoveryPoint: coreClient.CompositeMapper = {
+ serializedName: "IaasVMRecoveryPoint",
type: {
name: "Composite",
- className: "ContainerIdentityInfo",
+ className: "IaasVMRecoveryPoint",
+ uberParent: "RecoveryPoint",
+ polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
modelProperties: {
- uniqueName: {
- serializedName: "uniqueName",
+ ...RecoveryPoint.type.modelProperties,
+ recoveryPointType: {
+ serializedName: "recoveryPointType",
type: {
name: "String"
}
},
- aadTenantId: {
- serializedName: "aadTenantId",
+ recoveryPointTime: {
+ serializedName: "recoveryPointTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ recoveryPointAdditionalInfo: {
+ serializedName: "recoveryPointAdditionalInfo",
type: {
name: "String"
}
},
- servicePrincipalClientId: {
- serializedName: "servicePrincipalClientId",
+ sourceVMStorageType: {
+ serializedName: "sourceVMStorageType",
type: {
name: "String"
}
},
- audience: {
- serializedName: "audience",
+ isSourceVMEncrypted: {
+ serializedName: "isSourceVMEncrypted",
+ type: {
+ name: "Boolean"
+ }
+ },
+ keyAndSecret: {
+ serializedName: "keyAndSecret",
+ type: {
+ name: "Composite",
+ className: "KeyAndSecretDetails"
+ }
+ },
+ isInstantIlrSessionActive: {
+ serializedName: "isInstantIlrSessionActive",
+ type: {
+ name: "Boolean"
+ }
+ },
+ recoveryPointTierDetails: {
+ serializedName: "recoveryPointTierDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPointTierInformationV2"
+ }
+ }
+ }
+ },
+ isManagedVirtualMachine: {
+ serializedName: "isManagedVirtualMachine",
+ type: {
+ name: "Boolean"
+ }
+ },
+ virtualMachineSize: {
+ serializedName: "virtualMachineSize",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const DpmBackupEngine: msRest.CompositeMapper = {
- serializedName: "DpmBackupEngine",
- type: {
- name: "Composite",
- polymorphicDiscriminator: BackupEngineBase.type.polymorphicDiscriminator,
- uberParent: "BackupEngineBase",
- className: "DpmBackupEngine",
- modelProperties: {
- ...BackupEngineBase.type.modelProperties
- }
- }
-};
-
-export const DPMContainerExtendedInfo: msRest.CompositeMapper = {
- serializedName: "DPMContainerExtendedInfo",
- type: {
- name: "Composite",
- className: "DPMContainerExtendedInfo",
- modelProperties: {
- lastRefreshedAt: {
- serializedName: "lastRefreshedAt",
+ },
+ originalStorageAccountOption: {
+ serializedName: "originalStorageAccountOption",
type: {
- name: "DateTime"
+ name: "Boolean"
}
- }
- }
- }
-};
-
-export const GenericContainerExtendedInfo: msRest.CompositeMapper = {
- serializedName: "GenericContainerExtendedInfo",
- type: {
- name: "Composite",
- className: "GenericContainerExtendedInfo",
- modelProperties: {
- rawCertData: {
- serializedName: "rawCertData",
+ },
+ osType: {
+ serializedName: "osType",
type: {
name: "String"
}
},
- containerIdentityInfo: {
- serializedName: "containerIdentityInfo",
+ recoveryPointDiskConfiguration: {
+ serializedName: "recoveryPointDiskConfiguration",
type: {
name: "Composite",
- className: "ContainerIdentityInfo"
+ className: "RecoveryPointDiskConfiguration"
}
},
- serviceEndpoints: {
- serializedName: "serviceEndpoints",
+ zones: {
+ serializedName: "zones",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ recoveryPointMoveReadinessInfo: {
+ serializedName: "recoveryPointMoveReadinessInfo",
type: {
name: "Dictionary",
value: {
type: {
- name: "String"
+ name: "Composite",
+ className: "RecoveryPointMoveReadinessInfo"
}
}
}
@@ -6869,383 +6413,340 @@ export const GenericContainerExtendedInfo: msRest.CompositeMapper = {
}
};
-export const GenericContainer: msRest.CompositeMapper = {
- serializedName: "GenericContainer",
+export const AzureFileShareRestoreRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureFileShareRestoreRequest",
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "GenericContainer",
+ className: "AzureFileShareRestoreRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
modelProperties: {
- ...ProtectionContainer.type.modelProperties,
- fabricName: {
- serializedName: "fabricName",
+ ...RestoreRequest.type.modelProperties,
+ recoveryType: {
+ serializedName: "recoveryType",
type: {
name: "String"
}
},
- extendedInformation: {
- serializedName: "extendedInformation",
+ sourceResourceId: {
+ serializedName: "sourceResourceId",
type: {
- name: "Composite",
- className: "GenericContainerExtendedInfo"
+ name: "String"
}
- }
- }
- }
-};
-
-export const IaasVMBackupRequest: msRest.CompositeMapper = {
- serializedName: "IaasVMBackupRequest",
- type: {
- name: "Composite",
- polymorphicDiscriminator: BackupRequest.type.polymorphicDiscriminator,
- uberParent: "BackupRequest",
- className: "IaasVMBackupRequest",
- modelProperties: {
- ...BackupRequest.type.modelProperties,
- recoveryPointExpiryTimeInUTC: {
- serializedName: "recoveryPointExpiryTimeInUTC",
+ },
+ copyOptions: {
+ serializedName: "copyOptions",
type: {
- name: "DateTime"
+ name: "String"
+ }
+ },
+ restoreRequestType: {
+ serializedName: "restoreRequestType",
+ type: {
+ name: "String"
+ }
+ },
+ restoreFileSpecs: {
+ serializedName: "restoreFileSpecs",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RestoreFileSpecs"
+ }
+ }
+ }
+ },
+ targetDetails: {
+ serializedName: "targetDetails",
+ type: {
+ name: "Composite",
+ className: "TargetAFSRestoreInfo"
}
}
}
}
};
-export const IaasVMILRRegistrationRequest: msRest.CompositeMapper = {
- serializedName: "IaasVMILRRegistrationRequest",
+export const AzureWorkloadRestoreRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadRestoreRequest",
type: {
name: "Composite",
- polymorphicDiscriminator: ILRRequest.type.polymorphicDiscriminator,
- uberParent: "ILRRequest",
- className: "IaasVMILRRegistrationRequest",
+ className: "AzureWorkloadRestoreRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- ...ILRRequest.type.modelProperties,
- recoveryPointId: {
- serializedName: "recoveryPointId",
+ ...RestoreRequest.type.modelProperties,
+ recoveryType: {
+ serializedName: "recoveryType",
type: {
name: "String"
}
},
- virtualMachineId: {
- serializedName: "virtualMachineId",
+ sourceResourceId: {
+ serializedName: "sourceResourceId",
type: {
name: "String"
}
},
- initiatorName: {
- serializedName: "initiatorName",
+ propertyBag: {
+ serializedName: "propertyBag",
type: {
- name: "String"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- renewExistingRegistration: {
- serializedName: "renewExistingRegistration",
+ targetInfo: {
+ serializedName: "targetInfo",
type: {
- name: "Boolean"
+ name: "Composite",
+ className: "TargetRestoreInfo"
}
- }
- }
- }
-};
-
-export const ILRRequestResource: msRest.CompositeMapper = {
- serializedName: "ILRRequestResource",
- type: {
- name: "Composite",
- className: "ILRRequestResource",
- modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ },
+ recoveryMode: {
+ serializedName: "recoveryMode",
type: {
- name: "Composite",
- className: "ILRRequest"
+ name: "String"
}
- }
- }
- }
-};
-
-export const InstantItemRecoveryTarget: msRest.CompositeMapper = {
- serializedName: "InstantItemRecoveryTarget",
- type: {
- name: "Composite",
- className: "InstantItemRecoveryTarget",
- modelProperties: {
- clientScripts: {
- serializedName: "clientScripts",
+ },
+ targetVirtualMachineId: {
+ serializedName: "targetVirtualMachineId",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ClientScriptForConnect"
- }
- }
+ name: "String"
}
}
}
}
};
-export const MabContainerExtendedInfo: msRest.CompositeMapper = {
- serializedName: "MabContainerExtendedInfo",
+export const IaasVMRestoreRequest: coreClient.CompositeMapper = {
+ serializedName: "IaasVMRestoreRequest",
type: {
name: "Composite",
- className: "MabContainerExtendedInfo",
+ className: "IaasVMRestoreRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- lastRefreshedAt: {
- serializedName: "lastRefreshedAt",
+ ...RestoreRequest.type.modelProperties,
+ recoveryPointId: {
+ serializedName: "recoveryPointId",
type: {
- name: "DateTime"
+ name: "String"
}
},
- backupItemType: {
- serializedName: "backupItemType",
+ recoveryType: {
+ serializedName: "recoveryType",
type: {
name: "String"
}
},
- backupItems: {
- serializedName: "backupItems",
+ sourceResourceId: {
+ serializedName: "sourceResourceId",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- policyName: {
- serializedName: "policyName",
+ targetVirtualMachineId: {
+ serializedName: "targetVirtualMachineId",
type: {
name: "String"
}
},
- lastBackupStatus: {
- serializedName: "lastBackupStatus",
+ targetResourceGroupId: {
+ serializedName: "targetResourceGroupId",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const MABContainerHealthDetails: msRest.CompositeMapper = {
- serializedName: "MABContainerHealthDetails",
- type: {
- name: "Composite",
- className: "MABContainerHealthDetails",
- modelProperties: {
- code: {
- serializedName: "code",
+ },
+ storageAccountId: {
+ serializedName: "storageAccountId",
type: {
- name: "Number"
+ name: "String"
}
},
- title: {
- serializedName: "title",
+ virtualNetworkId: {
+ serializedName: "virtualNetworkId",
type: {
name: "String"
}
},
- message: {
- serializedName: "message",
+ subnetId: {
+ serializedName: "subnetId",
type: {
name: "String"
}
},
- recommendations: {
- serializedName: "recommendations",
+ targetDomainNameId: {
+ serializedName: "targetDomainNameId",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
- }
- }
- }
-};
-
-export const MabContainer: msRest.CompositeMapper = {
- serializedName: "Windows",
- type: {
- name: "Composite",
- polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
- uberParent: "ProtectionContainer",
- className: "MabContainer",
- modelProperties: {
- ...ProtectionContainer.type.modelProperties,
- canReRegister: {
- serializedName: "canReRegister",
+ },
+ region: {
+ serializedName: "region",
type: {
- name: "Boolean"
+ name: "String"
}
},
- containerId: {
- serializedName: "containerId",
+ affinityGroup: {
+ serializedName: "affinityGroup",
type: {
- name: "Number"
+ name: "String"
}
},
- protectedItemCount: {
- serializedName: "protectedItemCount",
+ createNewCloudService: {
+ serializedName: "createNewCloudService",
type: {
- name: "Number"
+ name: "Boolean"
}
},
- agentVersion: {
- serializedName: "agentVersion",
+ originalStorageAccountOption: {
+ serializedName: "originalStorageAccountOption",
type: {
- name: "String"
+ name: "Boolean"
}
},
- extendedInfo: {
- serializedName: "extendedInfo",
+ encryptionDetails: {
+ serializedName: "encryptionDetails",
type: {
name: "Composite",
- className: "MabContainerExtendedInfo"
+ className: "EncryptionDetails"
}
},
- mabContainerHealthDetails: {
- serializedName: "mabContainerHealthDetails",
+ restoreDiskLunList: {
+ serializedName: "restoreDiskLunList",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "MABContainerHealthDetails"
+ name: "Number"
}
}
}
},
- containerHealthState: {
- serializedName: "containerHealthState",
+ restoreWithManagedDisks: {
+ serializedName: "restoreWithManagedDisks",
type: {
- name: "String"
+ name: "Boolean"
}
- }
- }
- }
-};
-
-export const OperationStatusError: msRest.CompositeMapper = {
- serializedName: "OperationStatusError",
- type: {
- name: "Composite",
- className: "OperationStatusError",
- modelProperties: {
- code: {
- serializedName: "code",
+ },
+ diskEncryptionSetId: {
+ serializedName: "diskEncryptionSetId",
type: {
name: "String"
}
},
- message: {
- serializedName: "message",
+ zones: {
+ serializedName: "zones",
type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const OperationStatusExtendedInfo: msRest.CompositeMapper = {
- serializedName: "OperationStatusExtendedInfo",
- type: {
- name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "objectType",
- clientName: "objectType"
- },
- uberParent: "OperationStatusExtendedInfo",
- className: "OperationStatusExtendedInfo",
- modelProperties: {
- objectType: {
- required: true,
- serializedName: "objectType",
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ identityInfo: {
+ serializedName: "identityInfo",
type: {
- name: "String"
+ name: "Composite",
+ className: "IdentityInfo"
+ }
+ },
+ identityBasedRestoreDetails: {
+ serializedName: "identityBasedRestoreDetails",
+ type: {
+ name: "Composite",
+ className: "IdentityBasedRestoreDetails"
}
}
}
}
};
-export const OperationStatus: msRest.CompositeMapper = {
- serializedName: "OperationStatus",
+export const AzureVmWorkloadProtectionPolicy: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkload",
type: {
name: "Composite",
- className: "OperationStatus",
+ className: "AzureVmWorkloadProtectionPolicy",
+ uberParent: "ProtectionPolicy",
+ polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
modelProperties: {
- id: {
- serializedName: "id",
+ ...ProtectionPolicy.type.modelProperties,
+ workLoadType: {
+ serializedName: "workLoadType",
type: {
name: "String"
}
},
- name: {
- serializedName: "name",
+ settings: {
+ serializedName: "settings",
type: {
- name: "String"
+ name: "Composite",
+ className: "Settings"
}
},
- status: {
- serializedName: "status",
+ subProtectionPolicy: {
+ serializedName: "subProtectionPolicy",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubProtectionPolicy"
+ }
+ }
}
},
- startTime: {
- serializedName: "startTime",
+ makePolicyConsistent: {
+ serializedName: "makePolicyConsistent",
type: {
- name: "DateTime"
+ name: "Boolean"
}
- },
- endTime: {
- serializedName: "endTime",
+ }
+ }
+ }
+};
+
+export const AzureFileShareProtectionPolicy: coreClient.CompositeMapper = {
+ serializedName: "AzureStorage",
+ type: {
+ name: "Composite",
+ className: "AzureFileShareProtectionPolicy",
+ uberParent: "ProtectionPolicy",
+ polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ProtectionPolicy.type.modelProperties,
+ workLoadType: {
+ serializedName: "workLoadType",
type: {
- name: "DateTime"
+ name: "String"
}
},
- error: {
- serializedName: "error",
+ schedulePolicy: {
+ serializedName: "schedulePolicy",
type: {
name: "Composite",
- className: "OperationStatusError"
+ className: "SchedulePolicy"
}
},
- properties: {
- serializedName: "properties",
+ retentionPolicy: {
+ serializedName: "retentionPolicy",
type: {
name: "Composite",
- className: "OperationStatusExtendedInfo"
+ className: "RetentionPolicy"
}
- }
- }
- }
-};
-
-export const OperationStatusJobExtendedInfo: msRest.CompositeMapper = {
- serializedName: "OperationStatusJobExtendedInfo",
- type: {
- name: "Composite",
- polymorphicDiscriminator: OperationStatusExtendedInfo.type.polymorphicDiscriminator,
- uberParent: "OperationStatusExtendedInfo",
- className: "OperationStatusJobExtendedInfo",
- modelProperties: {
- ...OperationStatusExtendedInfo.type.modelProperties,
- jobId: {
- serializedName: "jobId",
+ },
+ timeZone: {
+ serializedName: "timeZone",
type: {
name: "String"
}
@@ -7254,117 +6755,101 @@ export const OperationStatusJobExtendedInfo: msRest.CompositeMapper = {
}
};
-export const OperationStatusJobsExtendedInfo: msRest.CompositeMapper = {
- serializedName: "OperationStatusJobsExtendedInfo",
+export const AzureIaaSVMProtectionPolicy: coreClient.CompositeMapper = {
+ serializedName: "AzureIaasVM",
type: {
name: "Composite",
- polymorphicDiscriminator: OperationStatusExtendedInfo.type.polymorphicDiscriminator,
- uberParent: "OperationStatusExtendedInfo",
- className: "OperationStatusJobsExtendedInfo",
+ className: "AzureIaaSVMProtectionPolicy",
+ uberParent: "ProtectionPolicy",
+ polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
modelProperties: {
- ...OperationStatusExtendedInfo.type.modelProperties,
- jobIds: {
- serializedName: "jobIds",
+ ...ProtectionPolicy.type.modelProperties,
+ instantRPDetails: {
+ serializedName: "instantRPDetails",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "Composite",
+ className: "InstantRPAdditionalDetails"
}
},
- failedJobsError: {
- serializedName: "failedJobsError",
+ schedulePolicy: {
+ serializedName: "schedulePolicy",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "Composite",
+ className: "SchedulePolicy"
}
- }
- }
- }
-};
-
-export const OperationStatusProvisionILRExtendedInfo: msRest.CompositeMapper = {
- serializedName: "OperationStatusProvisionILRExtendedInfo",
- type: {
- name: "Composite",
- polymorphicDiscriminator: OperationStatusExtendedInfo.type.polymorphicDiscriminator,
- uberParent: "OperationStatusExtendedInfo",
- className: "OperationStatusProvisionILRExtendedInfo",
- modelProperties: {
- ...OperationStatusExtendedInfo.type.modelProperties,
- recoveryTarget: {
- serializedName: "recoveryTarget",
+ },
+ retentionPolicy: {
+ serializedName: "retentionPolicy",
type: {
name: "Composite",
- className: "InstantItemRecoveryTarget"
+ className: "RetentionPolicy"
}
- }
- }
- }
-};
-
-export const ProtectableContainerResource: msRest.CompositeMapper = {
- serializedName: "ProtectableContainerResource",
- type: {
- name: "Composite",
- className: "ProtectableContainerResource",
- modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ },
+ instantRpRetentionRangeInDays: {
+ serializedName: "instantRpRetentionRangeInDays",
type: {
- name: "Composite",
- className: "ProtectableContainer"
+ name: "Number"
+ }
+ },
+ timeZone: {
+ serializedName: "timeZone",
+ type: {
+ name: "String"
}
}
}
}
};
-export const ProtectionContainerResource: msRest.CompositeMapper = {
- serializedName: "ProtectionContainerResource",
+export const AzureSqlProtectionPolicy: coreClient.CompositeMapper = {
+ serializedName: "AzureSql",
type: {
name: "Composite",
- className: "ProtectionContainerResource",
+ className: "AzureSqlProtectionPolicy",
+ uberParent: "ProtectionPolicy",
+ polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ ...ProtectionPolicy.type.modelProperties,
+ retentionPolicy: {
+ serializedName: "retentionPolicy",
type: {
name: "Composite",
- className: "ProtectionContainer"
+ className: "RetentionPolicy"
}
}
}
}
};
-export const TokenInformation: msRest.CompositeMapper = {
- serializedName: "TokenInformation",
+export const GenericProtectionPolicy: coreClient.CompositeMapper = {
+ serializedName: "GenericProtectionPolicy",
type: {
name: "Composite",
- className: "TokenInformation",
+ className: "GenericProtectionPolicy",
+ uberParent: "ProtectionPolicy",
+ polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
modelProperties: {
- token: {
- serializedName: "token",
+ ...ProtectionPolicy.type.modelProperties,
+ subProtectionPolicy: {
+ serializedName: "subProtectionPolicy",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubProtectionPolicy"
+ }
+ }
}
},
- expiryTimeInUtcTicks: {
- serializedName: "expiryTimeInUtcTicks",
+ timeZone: {
+ serializedName: "timeZone",
type: {
- name: "Number"
+ name: "String"
}
},
- securityPIN: {
- serializedName: "securityPIN",
+ fabricName: {
+ serializedName: "fabricName",
type: {
name: "String"
}
@@ -7373,625 +6858,835 @@ export const TokenInformation: msRest.CompositeMapper = {
}
};
-export const WorkloadItemResource: msRest.CompositeMapper = {
- serializedName: "WorkloadItemResource",
+export const MabProtectionPolicy: coreClient.CompositeMapper = {
+ serializedName: "MAB",
type: {
name: "Composite",
- className: "WorkloadItemResource",
+ className: "MabProtectionPolicy",
+ uberParent: "ProtectionPolicy",
+ polymorphicDiscriminator: ProtectionPolicy.type.polymorphicDiscriminator,
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ ...ProtectionPolicy.type.modelProperties,
+ schedulePolicy: {
+ serializedName: "schedulePolicy",
type: {
name: "Composite",
- className: "WorkloadItem"
+ className: "SchedulePolicy"
+ }
+ },
+ retentionPolicy: {
+ serializedName: "retentionPolicy",
+ type: {
+ name: "Composite",
+ className: "RetentionPolicy"
}
}
}
}
};
-export const WorkloadProtectableItemResource: msRest.CompositeMapper = {
- serializedName: "WorkloadProtectableItemResource",
+export const AzureIaaSVMJob: coreClient.CompositeMapper = {
+ serializedName: "AzureIaaSVMJob",
type: {
name: "Composite",
- className: "WorkloadProtectableItemResource",
+ className: "AzureIaaSVMJob",
+ uberParent: "Job",
+ polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ ...Job.type.modelProperties,
+ duration: {
+ serializedName: "duration",
type: {
- name: "Composite",
- className: "WorkloadProtectableItem"
+ name: "TimeSpan"
}
- }
- }
- }
-};
-
-export const RecoveryPointRehydrationInfo: msRest.CompositeMapper = {
- serializedName: "RecoveryPointRehydrationInfo",
- type: {
- name: "Composite",
- className: "RecoveryPointRehydrationInfo",
- modelProperties: {
- rehydrationRetentionDuration: {
- serializedName: "rehydrationRetentionDuration",
+ },
+ actionsInfo: {
+ serializedName: "actionsInfo",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Enum",
+ allowedValues: ["Invalid", "Cancellable", "Retriable"]
+ }
+ }
}
},
- rehydrationPriority: {
- serializedName: "rehydrationPriority",
+ errorDetails: {
+ serializedName: "errorDetails",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureIaaSVMErrorInfo"
+ }
+ }
}
- }
- }
- }
-};
-
-export const AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest",
- type: {
- name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest",
- modelProperties: {
- ...AzureWorkloadSAPHanaPointInTimeRestoreRequest.type.modelProperties,
- recoveryPointRehydrationInfo: {
- serializedName: "recoveryPointRehydrationInfo",
+ },
+ virtualMachineVersion: {
+ serializedName: "virtualMachineVersion",
type: {
- name: "Composite",
- className: "RecoveryPointRehydrationInfo"
+ name: "String"
}
- }
- }
- }
-};
-
-export const AzureWorkloadSAPHanaRestoreWithRehydrateRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSAPHanaRestoreWithRehydrateRequest",
- type: {
- name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureWorkloadSAPHanaRestoreWithRehydrateRequest",
- modelProperties: {
- ...AzureWorkloadSAPHanaRestoreRequest.type.modelProperties,
- recoveryPointRehydrationInfo: {
- serializedName: "recoveryPointRehydrationInfo",
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
name: "Composite",
- className: "RecoveryPointRehydrationInfo"
+ className: "AzureIaaSVMJobExtendedInfo"
}
- }
- }
- }
-};
-
-export const AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest",
- type: {
- name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest",
- modelProperties: {
- ...AzureWorkloadSQLPointInTimeRestoreRequest.type.modelProperties,
- recoveryPointRehydrationInfo: {
- serializedName: "recoveryPointRehydrationInfo",
+ },
+ containerName: {
+ serializedName: "containerName",
type: {
- name: "Composite",
- className: "RecoveryPointRehydrationInfo"
+ name: "String"
}
- }
- }
- }
-};
-
-export const AzureWorkloadSQLRestoreWithRehydrateRequest: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSQLRestoreWithRehydrateRequest",
- type: {
- name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "AzureWorkloadSQLRestoreWithRehydrateRequest",
- modelProperties: {
- ...AzureWorkloadSQLRestoreRequest.type.modelProperties,
- recoveryPointRehydrationInfo: {
- serializedName: "recoveryPointRehydrationInfo",
+ },
+ isUserTriggered: {
+ serializedName: "isUserTriggered",
type: {
- name: "Composite",
- className: "RecoveryPointRehydrationInfo"
+ name: "Boolean"
}
}
}
}
};
-export const IaasVMRestoreWithRehydrationRequest: msRest.CompositeMapper = {
- serializedName: "IaasVMRestoreWithRehydrationRequest",
+export const AzureIaaSVMJobV2: coreClient.CompositeMapper = {
+ serializedName: "AzureIaaSVMJobV2",
type: {
name: "Composite",
- polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
- uberParent: "RestoreRequest",
- className: "IaasVMRestoreWithRehydrationRequest",
+ className: "AzureIaaSVMJobV2",
+ uberParent: "Job",
+ polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
modelProperties: {
- ...IaasVMRestoreRequest.type.modelProperties,
- recoveryPointRehydrationInfo: {
- serializedName: "recoveryPointRehydrationInfo",
+ ...Job.type.modelProperties,
+ actionsInfo: {
+ serializedName: "actionsInfo",
type: {
- name: "Composite",
- className: "RecoveryPointRehydrationInfo"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Enum",
+ allowedValues: ["Invalid", "Cancellable", "Retriable"]
+ }
+ }
}
- }
- }
- }
-};
-
-export const MoveRPAcrossTiersRequest: msRest.CompositeMapper = {
- serializedName: "MoveRPAcrossTiersRequest",
- type: {
- name: "Composite",
- className: "MoveRPAcrossTiersRequest",
- modelProperties: {
- objectType: {
- serializedName: "objectType",
+ },
+ containerName: {
+ serializedName: "containerName",
type: {
name: "String"
}
},
- sourceTierType: {
- serializedName: "sourceTierType",
+ duration: {
+ serializedName: "duration",
type: {
- name: "Enum",
- allowedValues: ["Invalid", "InstantRP", "HardenedRP", "ArchivedRP"]
+ name: "TimeSpan"
}
},
- targetTierType: {
- serializedName: "targetTierType",
+ errorDetails: {
+ serializedName: "errorDetails",
type: {
- name: "Enum",
- allowedValues: ["Invalid", "InstantRP", "HardenedRP", "ArchivedRP"]
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureIaaSVMErrorInfo"
+ }
+ }
+ }
+ },
+ virtualMachineVersion: {
+ serializedName: "virtualMachineVersion",
+ type: {
+ name: "String"
+ }
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
+ type: {
+ name: "Composite",
+ className: "AzureIaaSVMJobExtendedInfo"
}
}
}
}
};
-export const ListRecoveryPointsRecommendedForMoveRequest: msRest.CompositeMapper = {
- serializedName: "ListRecoveryPointsRecommendedForMoveRequest",
+export const AzureStorageJob: coreClient.CompositeMapper = {
+ serializedName: "AzureStorageJob",
type: {
name: "Composite",
- className: "ListRecoveryPointsRecommendedForMoveRequest",
+ className: "AzureStorageJob",
+ uberParent: "Job",
+ polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
modelProperties: {
- objectType: {
- serializedName: "objectType",
+ ...Job.type.modelProperties,
+ duration: {
+ serializedName: "duration",
type: {
- name: "String"
+ name: "TimeSpan"
}
},
- excludedRPList: {
- serializedName: "excludedRPList",
+ actionsInfo: {
+ serializedName: "actionsInfo",
type: {
name: "Sequence",
element: {
type: {
- name: "String"
+ name: "Enum",
+ allowedValues: ["Invalid", "Cancellable", "Retriable"]
}
}
}
- }
- }
- }
-};
-
-export const NameInfo: msRest.CompositeMapper = {
- serializedName: "NameInfo",
- type: {
- name: "Composite",
- className: "NameInfo",
- modelProperties: {
- value: {
- serializedName: "value",
+ },
+ errorDetails: {
+ serializedName: "errorDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureStorageErrorInfo"
+ }
+ }
+ }
+ },
+ storageAccountName: {
+ serializedName: "storageAccountName",
type: {
name: "String"
}
},
- localizedValue: {
- serializedName: "localizedValue",
+ storageAccountVersion: {
+ serializedName: "storageAccountVersion",
type: {
name: "String"
}
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
+ type: {
+ name: "Composite",
+ className: "AzureStorageJobExtendedInfo"
+ }
+ },
+ isUserTriggered: {
+ serializedName: "isUserTriggered",
+ type: {
+ name: "Boolean"
+ }
}
}
}
};
-export const BackupManagementUsage: msRest.CompositeMapper = {
- serializedName: "BackupManagementUsage",
+export const AzureWorkloadJob: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadJob",
type: {
name: "Composite",
- className: "BackupManagementUsage",
- modelProperties: {
- unit: {
- serializedName: "unit",
- type: {
- name: "String"
- }
- },
- quotaPeriod: {
- serializedName: "quotaPeriod",
+ className: "AzureWorkloadJob",
+ uberParent: "Job",
+ polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...Job.type.modelProperties,
+ workloadType: {
+ serializedName: "workloadType",
type: {
name: "String"
}
},
- nextResetTime: {
- serializedName: "nextResetTime",
+ duration: {
+ serializedName: "duration",
type: {
- name: "DateTime"
+ name: "TimeSpan"
}
},
- currentValue: {
- serializedName: "currentValue",
+ actionsInfo: {
+ serializedName: "actionsInfo",
type: {
- name: "Number"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Enum",
+ allowedValues: ["Invalid", "Cancellable", "Retriable"]
+ }
+ }
}
},
- limit: {
- serializedName: "limit",
+ errorDetails: {
+ serializedName: "errorDetails",
type: {
- name: "Number"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadErrorInfo"
+ }
+ }
}
},
- name: {
- serializedName: "name",
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
name: "Composite",
- className: "NameInfo"
+ className: "AzureWorkloadJobExtendedInfo"
}
}
}
}
};
-export const BMSBackupSummariesQueryObject: msRest.CompositeMapper = {
- serializedName: "BMSBackupSummariesQueryObject",
+export const DpmJob: coreClient.CompositeMapper = {
+ serializedName: "DpmJob",
type: {
name: "Composite",
- className: "BMSBackupSummariesQueryObject",
+ className: "DpmJob",
+ uberParent: "Job",
+ polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
modelProperties: {
- type: {
- serializedName: "type",
+ ...Job.type.modelProperties,
+ duration: {
+ serializedName: "duration",
+ type: {
+ name: "TimeSpan"
+ }
+ },
+ dpmServerName: {
+ serializedName: "dpmServerName",
+ type: {
+ name: "String"
+ }
+ },
+ containerName: {
+ serializedName: "containerName",
+ type: {
+ name: "String"
+ }
+ },
+ containerType: {
+ serializedName: "containerType",
+ type: {
+ name: "String"
+ }
+ },
+ workloadType: {
+ serializedName: "workloadType",
type: {
name: "String"
}
+ },
+ actionsInfo: {
+ serializedName: "actionsInfo",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Enum",
+ allowedValues: ["Invalid", "Cancellable", "Retriable"]
+ }
+ }
+ }
+ },
+ errorDetails: {
+ serializedName: "errorDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DpmErrorInfo"
+ }
+ }
+ }
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
+ type: {
+ name: "Composite",
+ className: "DpmJobExtendedInfo"
+ }
}
}
}
};
-export const AADProperties: msRest.CompositeMapper = {
- serializedName: "AADProperties",
+export const MabJob: coreClient.CompositeMapper = {
+ serializedName: "MabJob",
type: {
name: "Composite",
- className: "AADProperties",
+ className: "MabJob",
+ uberParent: "Job",
+ polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
modelProperties: {
- servicePrincipalClientId: {
- serializedName: "servicePrincipalClientId",
+ ...Job.type.modelProperties,
+ duration: {
+ serializedName: "duration",
type: {
- name: "String"
+ name: "TimeSpan"
+ }
+ },
+ actionsInfo: {
+ serializedName: "actionsInfo",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Enum",
+ allowedValues: ["Invalid", "Cancellable", "Retriable"]
+ }
+ }
}
},
- tenantId: {
- serializedName: "tenantId",
+ mabServerName: {
+ serializedName: "mabServerName",
type: {
name: "String"
}
},
- authority: {
- serializedName: "authority",
+ mabServerType: {
+ serializedName: "mabServerType",
type: {
name: "String"
}
},
- audience: {
- serializedName: "audience",
+ workloadType: {
+ serializedName: "workloadType",
type: {
name: "String"
}
},
- servicePrincipalObjectId: {
- serializedName: "servicePrincipalObjectId",
+ errorDetails: {
+ serializedName: "errorDetails",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "MabErrorInfo"
+ }
+ }
+ }
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
+ type: {
+ name: "Composite",
+ className: "MabJobExtendedInfo"
}
}
}
}
};
-export const AADPropertiesResource: msRest.CompositeMapper = {
- serializedName: "AADPropertiesResource",
+export const VaultJob: coreClient.CompositeMapper = {
+ serializedName: "VaultJob",
type: {
name: "Composite",
- className: "AADPropertiesResource",
+ className: "VaultJob",
+ uberParent: "Job",
+ polymorphicDiscriminator: Job.type.polymorphicDiscriminator,
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ ...Job.type.modelProperties,
+ duration: {
+ serializedName: "duration",
+ type: {
+ name: "TimeSpan"
+ }
+ },
+ actionsInfo: {
+ serializedName: "actionsInfo",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Enum",
+ allowedValues: ["Invalid", "Cancellable", "Retriable"]
+ }
+ }
+ }
+ },
+ errorDetails: {
+ serializedName: "errorDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VaultJobErrorInfo"
+ }
+ }
+ }
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
name: "Composite",
- className: "AADProperties"
+ className: "VaultJobExtendedInfo"
}
}
}
}
};
-export const BackupResourceConfig: msRest.CompositeMapper = {
- serializedName: "BackupResourceConfig",
+export const ExportJobsOperationResultInfo: coreClient.CompositeMapper = {
+ serializedName: "ExportJobsOperationResultInfo",
type: {
name: "Composite",
- className: "BackupResourceConfig",
+ className: "ExportJobsOperationResultInfo",
+ uberParent: "OperationResultInfoBase",
+ polymorphicDiscriminator:
+ OperationResultInfoBase.type.polymorphicDiscriminator,
modelProperties: {
- storageModelType: {
- serializedName: "storageModelType",
+ ...OperationResultInfoBase.type.modelProperties,
+ blobUrl: {
+ serializedName: "blobUrl",
type: {
name: "String"
}
},
- storageType: {
- serializedName: "storageType",
+ blobSasKey: {
+ serializedName: "blobSasKey",
type: {
name: "String"
}
},
- storageTypeState: {
- serializedName: "storageTypeState",
+ excelFileBlobUrl: {
+ serializedName: "excelFileBlobUrl",
type: {
name: "String"
}
},
- crossRegionRestoreFlag: {
- serializedName: "crossRegionRestoreFlag",
+ excelFileBlobSasKey: {
+ serializedName: "excelFileBlobSasKey",
type: {
- name: "Boolean"
+ name: "String"
}
}
}
}
};
-export const CrrJobRequest: msRest.CompositeMapper = {
- serializedName: "CrrJobRequest",
+export const OperationResultInfo: coreClient.CompositeMapper = {
+ serializedName: "OperationResultInfo",
type: {
name: "Composite",
- className: "CrrJobRequest",
+ className: "OperationResultInfo",
+ uberParent: "OperationResultInfoBase",
modelProperties: {
- resourceId: {
- serializedName: "resourceId",
- type: {
- name: "String"
- }
- },
- jobName: {
- serializedName: "jobName",
+ ...OperationResultInfoBase.type.modelProperties,
+ jobList: {
+ serializedName: "jobList",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
}
}
}
};
+OperationResultInfoBase.type.polymorphicDiscriminator =
+ OperationResultInfoBase.type.polymorphicDiscriminator;
-export const CrrJobRequestResource: msRest.CompositeMapper = {
- serializedName: "CrrJobRequestResource",
+export const OperationResultInfoBaseResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "CrrJobRequestResource",
+ className: "OperationResultInfoBaseResource",
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ ...OperationWorkerResponse.type.modelProperties,
+ operation: {
+ serializedName: "operation",
type: {
name: "Composite",
- className: "CrrJobRequest"
+ className: "OperationResultInfoBase"
}
}
}
}
};
-export const BackupResourceConfigResource: msRest.CompositeMapper = {
- serializedName: "BackupResourceConfigResource",
+export const ValidateRestoreOperationRequest: coreClient.CompositeMapper = {
+ serializedName: "ValidateRestoreOperationRequest",
type: {
name: "Composite",
- className: "BackupResourceConfigResource",
+ className: "ValidateRestoreOperationRequest",
+ uberParent: "ValidateOperationRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ ...ValidateOperationRequest.type.modelProperties,
+ restoreRequest: {
+ serializedName: "restoreRequest",
type: {
name: "Composite",
- className: "BackupResourceConfig"
+ className: "RestoreRequest"
}
}
}
}
};
-export const CrrAccessToken: msRest.CompositeMapper = {
- serializedName: "CrrAccessToken",
+export const AzureBackupServerEngine: coreClient.CompositeMapper = {
+ serializedName: "AzureBackupServerEngine",
+ type: {
+ name: "Composite",
+ className: "AzureBackupServerEngine",
+ uberParent: "BackupEngineBase",
+ polymorphicDiscriminator: BackupEngineBase.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...BackupEngineBase.type.modelProperties
+ }
+ }
+};
+
+export const DpmBackupEngine: coreClient.CompositeMapper = {
+ serializedName: "DpmBackupEngine",
+ type: {
+ name: "Composite",
+ className: "DpmBackupEngine",
+ uberParent: "BackupEngineBase",
+ polymorphicDiscriminator: BackupEngineBase.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...BackupEngineBase.type.modelProperties
+ }
+ }
+};
+
+export const AzureStorageProtectableContainer: coreClient.CompositeMapper = {
+ serializedName: "StorageContainer",
+ type: {
+ name: "Composite",
+ className: "AzureStorageProtectableContainer",
+ uberParent: "ProtectableContainer",
+ polymorphicDiscriminator:
+ ProtectableContainer.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ProtectableContainer.type.modelProperties
+ }
+ }
+};
+
+export const AzureVMAppContainerProtectableContainer: coreClient.CompositeMapper = {
+ serializedName: "VMAppContainer",
+ type: {
+ name: "Composite",
+ className: "AzureVMAppContainerProtectableContainer",
+ uberParent: "ProtectableContainer",
+ polymorphicDiscriminator:
+ ProtectableContainer.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ProtectableContainer.type.modelProperties
+ }
+ }
+};
+
+export const DpmContainer: coreClient.CompositeMapper = {
+ serializedName: "DPMContainer",
type: {
name: "Composite",
+ className: "DpmContainer",
+ uberParent: "ProtectionContainer",
polymorphicDiscriminator: {
- serializedName: "objectType",
- clientName: "objectType"
+ serializedName: "containerType",
+ clientName: "containerType"
},
- uberParent: "CrrAccessToken",
- className: "CrrAccessToken",
modelProperties: {
- accessTokenString: {
- serializedName: "accessTokenString",
- type: {
- name: "String"
- }
- },
- subscriptionId: {
- serializedName: "subscriptionId",
- type: {
- name: "String"
- }
- },
- resourceGroupName: {
- serializedName: "resourceGroupName",
- type: {
- name: "String"
- }
- },
- resourceName: {
- serializedName: "resourceName",
+ ...ProtectionContainer.type.modelProperties,
+ canReRegister: {
+ serializedName: "canReRegister",
type: {
- name: "String"
+ name: "Boolean"
}
},
- resourceId: {
- serializedName: "resourceId",
+ containerId: {
+ serializedName: "containerId",
type: {
name: "String"
}
},
- protectionContainerId: {
- serializedName: "protectionContainerId",
+ protectedItemCount: {
+ serializedName: "protectedItemCount",
type: {
name: "Number"
}
},
- recoveryPointId: {
- serializedName: "recoveryPointId",
+ dpmAgentVersion: {
+ serializedName: "dpmAgentVersion",
type: {
name: "String"
}
},
- recoveryPointTime: {
- serializedName: "recoveryPointTime",
+ dpmServers: {
+ serializedName: "dpmServers",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- containerName: {
- serializedName: "containerName",
+ upgradeAvailable: {
+ serializedName: "upgradeAvailable",
type: {
- name: "String"
+ name: "Boolean"
}
},
- containerType: {
- serializedName: "containerType",
+ protectionStatus: {
+ serializedName: "protectionStatus",
type: {
name: "String"
}
},
- backupManagementType: {
- serializedName: "backupManagementType",
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
- name: "String"
+ name: "Composite",
+ className: "DPMContainerExtendedInfo"
}
- },
- datasourceType: {
- serializedName: "datasourceType",
+ }
+ }
+ }
+};
+
+export const IaaSVMContainer: coreClient.CompositeMapper = {
+ serializedName: "IaaSVMContainer",
+ type: {
+ name: "Composite",
+ className: "IaaSVMContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: {
+ serializedName: "containerType",
+ clientName: "containerType"
+ },
+ modelProperties: {
+ ...ProtectionContainer.type.modelProperties,
+ virtualMachineId: {
+ serializedName: "virtualMachineId",
type: {
name: "String"
}
},
- datasourceName: {
- serializedName: "datasourceName",
+ virtualMachineVersion: {
+ serializedName: "virtualMachineVersion",
type: {
name: "String"
}
},
- datasourceId: {
- serializedName: "datasourceId",
+ resourceGroup: {
+ serializedName: "resourceGroup",
type: {
name: "String"
}
- },
- datasourceContainerName: {
- serializedName: "datasourceContainerName",
+ }
+ }
+ }
+};
+
+export const AzureWorkloadContainer: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadContainer",
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: {
+ serializedName: "containerType",
+ clientName: "containerType"
+ },
+ modelProperties: {
+ ...ProtectionContainer.type.modelProperties,
+ sourceResourceId: {
+ serializedName: "sourceResourceId",
type: {
name: "String"
}
},
- coordinatorServiceStampId: {
- serializedName: "coordinatorServiceStampId",
+ lastUpdatedTime: {
+ serializedName: "lastUpdatedTime",
type: {
- name: "String"
+ name: "DateTime"
}
},
- coordinatorServiceStampUri: {
- serializedName: "coordinatorServiceStampUri",
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
- name: "String"
+ name: "Composite",
+ className: "AzureWorkloadContainerExtendedInfo"
}
},
- protectionServiceStampId: {
- serializedName: "protectionServiceStampId",
+ workloadType: {
+ serializedName: "workloadType",
type: {
name: "String"
}
},
- protectionServiceStampUri: {
- serializedName: "protectionServiceStampUri",
+ operationType: {
+ serializedName: "operationType",
type: {
name: "String"
}
- },
- tokenExtendedInformation: {
- serializedName: "tokenExtendedInformation",
+ }
+ }
+ }
+};
+
+export const AzureSqlContainer: coreClient.CompositeMapper = {
+ serializedName: "AzureSqlContainer",
+ type: {
+ name: "Composite",
+ className: "AzureSqlContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ProtectionContainer.type.modelProperties
+ }
+ }
+};
+
+export const AzureStorageContainer: coreClient.CompositeMapper = {
+ serializedName: "StorageContainer",
+ type: {
+ name: "Composite",
+ className: "AzureStorageContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ProtectionContainer.type.modelProperties,
+ sourceResourceId: {
+ serializedName: "sourceResourceId",
type: {
name: "String"
}
},
- rpTierInformation: {
- serializedName: "rpTierInformation",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
- }
- },
- rpOriginalSAOption: {
- serializedName: "rpOriginalSAOption",
- type: {
- name: "Boolean"
- }
- },
- rpIsManagedVirtualMachine: {
- serializedName: "rpIsManagedVirtualMachine",
+ storageAccountVersion: {
+ serializedName: "storageAccountVersion",
type: {
- name: "Boolean"
+ name: "String"
}
},
- rpVMSizeDescription: {
- serializedName: "rpVMSizeDescription",
+ resourceGroup: {
+ serializedName: "resourceGroup",
type: {
name: "String"
}
},
- bMSActiveRegion: {
- serializedName: "bMSActiveRegion",
+ protectedItemCount: {
+ serializedName: "protectedItemCount",
type: {
- name: "String"
+ name: "Number"
}
},
- objectType: {
- required: true,
- serializedName: "objectType",
+ acquireStorageAccountLock: {
+ serializedName: "acquireStorageAccountLock",
type: {
name: "String"
}
@@ -8000,167 +7695,295 @@ export const CrrAccessToken: msRest.CompositeMapper = {
}
};
-export const CrossRegionRestoreRequest: msRest.CompositeMapper = {
- serializedName: "CrossRegionRestoreRequest",
+export const GenericContainer: coreClient.CompositeMapper = {
+ serializedName: "GenericContainer",
type: {
name: "Composite",
- className: "CrossRegionRestoreRequest",
+ className: "GenericContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
modelProperties: {
- crossRegionRestoreAccessDetails: {
- serializedName: "crossRegionRestoreAccessDetails",
+ ...ProtectionContainer.type.modelProperties,
+ fabricName: {
+ serializedName: "fabricName",
type: {
- name: "Composite",
- className: "CrrAccessToken"
+ name: "String"
}
},
- restoreRequest: {
- serializedName: "restoreRequest",
+ extendedInformation: {
+ serializedName: "extendedInformation",
type: {
name: "Composite",
- className: "RestoreRequest"
+ className: "GenericContainerExtendedInfo"
}
}
}
}
};
-export const CrossRegionRestoreRequestResource: msRest.CompositeMapper = {
- serializedName: "CrossRegionRestoreRequestResource",
+export const MabContainer: coreClient.CompositeMapper = {
+ serializedName: "Windows",
type: {
name: "Composite",
- className: "CrossRegionRestoreRequestResource",
+ className: "MabContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ ...ProtectionContainer.type.modelProperties,
+ canReRegister: {
+ serializedName: "canReRegister",
+ type: {
+ name: "Boolean"
+ }
+ },
+ containerId: {
+ serializedName: "containerId",
+ type: {
+ name: "Number"
+ }
+ },
+ protectedItemCount: {
+ serializedName: "protectedItemCount",
+ type: {
+ name: "Number"
+ }
+ },
+ agentVersion: {
+ serializedName: "agentVersion",
+ type: {
+ name: "String"
+ }
+ },
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
name: "Composite",
- className: "CrossRegionRestoreRequest"
+ className: "MabContainerExtendedInfo"
+ }
+ },
+ mabContainerHealthDetails: {
+ serializedName: "mabContainerHealthDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "MABContainerHealthDetails"
+ }
+ }
+ }
+ },
+ containerHealthState: {
+ serializedName: "containerHealthState",
+ type: {
+ name: "String"
}
}
}
}
};
-export const CrrAccessTokenResource: msRest.CompositeMapper = {
- serializedName: "CrrAccessTokenResource",
+export const AzureVmWorkloadItem: coreClient.CompositeMapper = {
+ serializedName: "AzureVmWorkloadItem",
type: {
name: "Composite",
- className: "CrrAccessTokenResource",
+ className: "AzureVmWorkloadItem",
+ uberParent: "WorkloadItem",
+ polymorphicDiscriminator: {
+ serializedName: "workloadItemType",
+ clientName: "workloadItemType"
+ },
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ ...WorkloadItem.type.modelProperties,
+ parentName: {
+ serializedName: "parentName",
type: {
- name: "Composite",
- className: "CrrAccessToken"
+ name: "String"
+ }
+ },
+ serverName: {
+ serializedName: "serverName",
+ type: {
+ name: "String"
+ }
+ },
+ isAutoProtectable: {
+ serializedName: "isAutoProtectable",
+ type: {
+ name: "Boolean"
+ }
+ },
+ subinquireditemcount: {
+ serializedName: "subinquireditemcount",
+ type: {
+ name: "Number"
+ }
+ },
+ subWorkloadItemCount: {
+ serializedName: "subWorkloadItemCount",
+ type: {
+ name: "Number"
}
}
}
}
};
-export const BMSAADPropertiesQueryObject: msRest.CompositeMapper = {
- serializedName: "BMSAADPropertiesQueryObject",
+export const AzureFileShareBackupRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureFileShareBackupRequest",
type: {
name: "Composite",
- className: "BMSAADPropertiesQueryObject",
+ className: "AzureFileShareBackupRequest",
+ uberParent: "BackupRequest",
+ polymorphicDiscriminator: BackupRequest.type.polymorphicDiscriminator,
modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
+ ...BackupRequest.type.modelProperties,
+ recoveryPointExpiryTimeInUTC: {
+ serializedName: "recoveryPointExpiryTimeInUTC",
type: {
- name: "String"
+ name: "DateTime"
}
}
}
}
};
-export const OperationStatusRecoveryPointExtendedInfo: msRest.CompositeMapper = {
- serializedName: "OperationStatusRecoveryPointExtendedInfo",
+export const AzureWorkloadBackupRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadBackupRequest",
type: {
name: "Composite",
- polymorphicDiscriminator: OperationStatusExtendedInfo.type.polymorphicDiscriminator,
- uberParent: "OperationStatusExtendedInfo",
- className: "OperationStatusRecoveryPointExtendedInfo",
+ className: "AzureWorkloadBackupRequest",
+ uberParent: "BackupRequest",
+ polymorphicDiscriminator: BackupRequest.type.polymorphicDiscriminator,
modelProperties: {
- ...OperationStatusExtendedInfo.type.modelProperties,
- updatedRecoveryPoint: {
- serializedName: "updatedRecoveryPoint",
+ ...BackupRequest.type.modelProperties,
+ backupType: {
+ serializedName: "backupType",
type: {
- name: "Composite",
- className: "RecoveryPoint"
+ name: "String"
+ }
+ },
+ enableCompression: {
+ serializedName: "enableCompression",
+ type: {
+ name: "Boolean"
}
},
- deletedBackupItemVersion: {
- serializedName: "deletedBackupItemVersion",
+ recoveryPointExpiryTimeInUTC: {
+ serializedName: "recoveryPointExpiryTimeInUTC",
type: {
- name: "String"
+ name: "DateTime"
}
}
}
}
};
-export const WorkloadCrrAccessToken: msRest.CompositeMapper = {
- serializedName: "WorkloadCrrAccessToken",
+export const IaasVMBackupRequest: coreClient.CompositeMapper = {
+ serializedName: "IaasVMBackupRequest",
type: {
name: "Composite",
- polymorphicDiscriminator: CrrAccessToken.type.polymorphicDiscriminator,
- uberParent: "CrrAccessToken",
- className: "WorkloadCrrAccessToken",
+ className: "IaasVMBackupRequest",
+ uberParent: "BackupRequest",
+ polymorphicDiscriminator: BackupRequest.type.polymorphicDiscriminator,
modelProperties: {
- ...CrrAccessToken.type.modelProperties,
- protectableObjectUniqueName: {
- serializedName: "protectableObjectUniqueName",
+ ...BackupRequest.type.modelProperties,
+ recoveryPointExpiryTimeInUTC: {
+ serializedName: "recoveryPointExpiryTimeInUTC",
type: {
- name: "String"
+ name: "DateTime"
}
- },
- protectableObjectFriendlyName: {
- serializedName: "protectableObjectFriendlyName",
+ }
+ }
+ }
+};
+
+export const AzureFileShareProvisionILRRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureFileShareProvisionILRRequest",
+ type: {
+ name: "Composite",
+ className: "AzureFileShareProvisionILRRequest",
+ uberParent: "ILRRequest",
+ polymorphicDiscriminator: ILRRequest.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ILRRequest.type.modelProperties,
+ recoveryPointId: {
+ serializedName: "recoveryPointId",
type: {
name: "String"
}
},
- protectableObjectWorkloadType: {
- serializedName: "protectableObjectWorkloadType",
+ sourceResourceId: {
+ serializedName: "sourceResourceId",
type: {
name: "String"
}
- },
- protectableObjectProtectionState: {
- serializedName: "protectableObjectProtectionState",
+ }
+ }
+ }
+};
+
+export const IaasVmilrRegistrationRequest: coreClient.CompositeMapper = {
+ serializedName: "IaasVMILRRegistrationRequest",
+ type: {
+ name: "Composite",
+ className: "IaasVmilrRegistrationRequest",
+ uberParent: "ILRRequest",
+ polymorphicDiscriminator: ILRRequest.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ILRRequest.type.modelProperties,
+ recoveryPointId: {
+ serializedName: "recoveryPointId",
type: {
name: "String"
}
},
- protectableObjectContainerHostOsName: {
- serializedName: "protectableObjectContainerHostOsName",
+ virtualMachineId: {
+ serializedName: "virtualMachineId",
type: {
name: "String"
}
},
- protectableObjectParentLogicalContainerName: {
- serializedName: "protectableObjectParentLogicalContainerName",
+ initiatorName: {
+ serializedName: "initiatorName",
type: {
name: "String"
}
},
- containerId: {
- serializedName: "containerId",
+ renewExistingRegistration: {
+ serializedName: "renewExistingRegistration",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const AzureFileShareProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "AzureFileShare",
+ type: {
+ name: "Composite",
+ className: "AzureFileShareProtectableItem",
+ uberParent: "WorkloadProtectableItem",
+ polymorphicDiscriminator:
+ WorkloadProtectableItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...WorkloadProtectableItem.type.modelProperties,
+ parentContainerFabricId: {
+ serializedName: "parentContainerFabricId",
type: {
name: "String"
}
},
- policyName: {
- serializedName: "policyName",
+ parentContainerFriendlyName: {
+ serializedName: "parentContainerFriendlyName",
type: {
name: "String"
}
},
- policyId: {
- serializedName: "policyId",
+ azureFileShareType: {
+ serializedName: "azureFileShareType",
type: {
name: "String"
}
@@ -8169,20 +7992,32 @@ export const WorkloadCrrAccessToken: msRest.CompositeMapper = {
}
};
-export const FeatureSupportRequest: msRest.CompositeMapper = {
- serializedName: "FeatureSupportRequest",
+export const IaaSVMProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "IaaSVMProtectableItem",
type: {
name: "Composite",
+ className: "IaaSVMProtectableItem",
+ uberParent: "WorkloadProtectableItem",
polymorphicDiscriminator: {
- serializedName: "featureType",
- clientName: "featureType"
+ serializedName: "protectableItemType",
+ clientName: "protectableItemType"
},
- uberParent: "FeatureSupportRequest",
- className: "FeatureSupportRequest",
modelProperties: {
- featureType: {
- required: true,
- serializedName: "featureType",
+ ...WorkloadProtectableItem.type.modelProperties,
+ virtualMachineId: {
+ serializedName: "virtualMachineId",
+ type: {
+ name: "String"
+ }
+ },
+ virtualMachineVersion: {
+ serializedName: "virtualMachineVersion",
+ type: {
+ name: "String"
+ }
+ },
+ resourceGroup: {
+ serializedName: "resourceGroup",
type: {
name: "String"
}
@@ -8191,476 +8026,648 @@ export const FeatureSupportRequest: msRest.CompositeMapper = {
}
};
-export const AzureBackupGoalFeatureSupportRequest: msRest.CompositeMapper = {
- serializedName: "AzureBackupGoals",
- type: {
- name: "Composite",
- polymorphicDiscriminator: FeatureSupportRequest.type.polymorphicDiscriminator,
- uberParent: "FeatureSupportRequest",
- className: "AzureBackupGoalFeatureSupportRequest",
- modelProperties: {
- ...FeatureSupportRequest.type.modelProperties
- }
- }
-};
-
-export const ProtectionIntent: msRest.CompositeMapper = {
- serializedName: "ProtectionIntent",
+export const AzureVmWorkloadProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "AzureVmWorkloadProtectableItem",
type: {
name: "Composite",
+ className: "AzureVmWorkloadProtectableItem",
+ uberParent: "WorkloadProtectableItem",
polymorphicDiscriminator: {
- serializedName: "protectionIntentItemType",
- clientName: "protectionIntentItemType"
+ serializedName: "protectableItemType",
+ clientName: "protectableItemType"
},
- uberParent: "ProtectionIntent",
- className: "ProtectionIntent",
modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
+ ...WorkloadProtectableItem.type.modelProperties,
+ parentName: {
+ serializedName: "parentName",
type: {
name: "String"
}
},
- sourceResourceId: {
- serializedName: "sourceResourceId",
+ parentUniqueName: {
+ serializedName: "parentUniqueName",
type: {
name: "String"
}
},
- itemId: {
- serializedName: "itemId",
+ serverName: {
+ serializedName: "serverName",
type: {
name: "String"
}
},
- policyId: {
- serializedName: "policyId",
+ isAutoProtectable: {
+ serializedName: "isAutoProtectable",
type: {
- name: "String"
+ name: "Boolean"
}
},
- protectionState: {
- serializedName: "protectionState",
+ isAutoProtected: {
+ serializedName: "isAutoProtected",
type: {
- name: "String"
+ name: "Boolean"
}
},
- protectionIntentItemType: {
- required: true,
- serializedName: "protectionIntentItemType",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const AzureRecoveryServiceVaultProtectionIntent: msRest.CompositeMapper = {
- serializedName: "RecoveryServiceVaultItem",
- type: {
- name: "Composite",
- polymorphicDiscriminator: ProtectionIntent.type.polymorphicDiscriminator,
- uberParent: "ProtectionIntent",
- className: "AzureRecoveryServiceVaultProtectionIntent",
- modelProperties: {
- ...ProtectionIntent.type.modelProperties
- }
- }
-};
-
-export const AzureResourceProtectionIntent: msRest.CompositeMapper = {
- serializedName: "AzureResourceItem",
- type: {
- name: "Composite",
- polymorphicDiscriminator: ProtectionIntent.type.polymorphicDiscriminator,
- uberParent: "ProtectionIntent",
- className: "AzureResourceProtectionIntent",
- modelProperties: {
- ...ProtectionIntent.type.modelProperties,
- friendlyName: {
- serializedName: "friendlyName",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const AzureVMResourceFeatureSupportRequest: msRest.CompositeMapper = {
- serializedName: "AzureVMResourceBackup",
- type: {
- name: "Composite",
- polymorphicDiscriminator: FeatureSupportRequest.type.polymorphicDiscriminator,
- uberParent: "FeatureSupportRequest",
- className: "AzureVMResourceFeatureSupportRequest",
- modelProperties: {
- ...FeatureSupportRequest.type.modelProperties,
- vmSize: {
- serializedName: "vmSize",
+ subinquireditemcount: {
+ serializedName: "subinquireditemcount",
type: {
- name: "String"
+ name: "Number"
}
},
- vmSku: {
- serializedName: "vmSku",
+ subprotectableitemcount: {
+ serializedName: "subprotectableitemcount",
type: {
- name: "String"
+ name: "Number"
}
- }
- }
- }
-};
-
-export const AzureVMResourceFeatureSupportResponse: msRest.CompositeMapper = {
- serializedName: "AzureVMResourceFeatureSupportResponse",
- type: {
- name: "Composite",
- className: "AzureVMResourceFeatureSupportResponse",
- modelProperties: {
- supportStatus: {
- serializedName: "supportStatus",
+ },
+ prebackupvalidation: {
+ serializedName: "prebackupvalidation",
type: {
- name: "String"
+ name: "Composite",
+ className: "PreBackupValidation"
}
}
}
}
};
-export const AzureWorkloadAutoProtectionIntent: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadAutoProtectionIntent",
+export const AzureIaaSVMHealthDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionIntent.type.polymorphicDiscriminator,
- uberParent: "ProtectionIntent",
- className: "AzureWorkloadAutoProtectionIntent",
+ className: "AzureIaaSVMHealthDetails",
modelProperties: {
- ...AzureRecoveryServiceVaultProtectionIntent.type.modelProperties
+ ...ResourceHealthDetails.type.modelProperties
}
}
};
-export const AzureWorkloadSQLAutoProtectionIntent: msRest.CompositeMapper = {
- serializedName: "AzureWorkloadSQLAutoProtectionIntent",
+export const LogSchedulePolicy: coreClient.CompositeMapper = {
+ serializedName: "LogSchedulePolicy",
type: {
name: "Composite",
- polymorphicDiscriminator: ProtectionIntent.type.polymorphicDiscriminator,
- uberParent: "ProtectionIntent",
- className: "AzureWorkloadSQLAutoProtectionIntent",
+ className: "LogSchedulePolicy",
+ uberParent: "SchedulePolicy",
+ polymorphicDiscriminator: SchedulePolicy.type.polymorphicDiscriminator,
modelProperties: {
- ...AzureWorkloadAutoProtectionIntent.type.modelProperties,
- workloadItemType: {
- serializedName: "workloadItemType",
+ ...SchedulePolicy.type.modelProperties,
+ scheduleFrequencyInMins: {
+ serializedName: "scheduleFrequencyInMins",
type: {
- name: "String"
+ name: "Number"
}
}
}
}
};
-export const BackupStatusRequest: msRest.CompositeMapper = {
- serializedName: "BackupStatusRequest",
+export const LongTermSchedulePolicy: coreClient.CompositeMapper = {
+ serializedName: "LongTermSchedulePolicy",
type: {
name: "Composite",
- className: "BackupStatusRequest",
+ className: "LongTermSchedulePolicy",
+ uberParent: "SchedulePolicy",
+ polymorphicDiscriminator: SchedulePolicy.type.polymorphicDiscriminator,
modelProperties: {
- resourceType: {
- serializedName: "resourceType",
- type: {
- name: "String"
- }
- },
- resourceId: {
- serializedName: "resourceId",
- type: {
- name: "String"
- }
- },
- poLogicalName: {
- serializedName: "poLogicalName",
- type: {
- name: "String"
- }
- }
+ ...SchedulePolicy.type.modelProperties
}
}
};
-export const BackupStatusResponse: msRest.CompositeMapper = {
- serializedName: "BackupStatusResponse",
+export const SimpleSchedulePolicy: coreClient.CompositeMapper = {
+ serializedName: "SimpleSchedulePolicy",
type: {
name: "Composite",
- className: "BackupStatusResponse",
+ className: "SimpleSchedulePolicy",
+ uberParent: "SchedulePolicy",
+ polymorphicDiscriminator: SchedulePolicy.type.polymorphicDiscriminator,
modelProperties: {
- protectionStatus: {
- serializedName: "protectionStatus",
- type: {
- name: "String"
- }
- },
- vaultId: {
- serializedName: "vaultId",
- type: {
- name: "String"
- }
- },
- fabricName: {
- serializedName: "fabricName",
- type: {
- name: "String"
- }
- },
- containerName: {
- serializedName: "containerName",
- type: {
- name: "String"
- }
- },
- protectedItemName: {
- serializedName: "protectedItemName",
+ ...SchedulePolicy.type.modelProperties,
+ scheduleRunFrequency: {
+ serializedName: "scheduleRunFrequency",
type: {
name: "String"
}
},
- errorCode: {
- serializedName: "errorCode",
+ scheduleRunDays: {
+ serializedName: "scheduleRunDays",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ]
+ }
+ }
}
},
- errorMessage: {
- serializedName: "errorMessage",
+ scheduleRunTimes: {
+ serializedName: "scheduleRunTimes",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "DateTime"
+ }
+ }
}
},
- policyName: {
- serializedName: "policyName",
+ hourlySchedule: {
+ serializedName: "hourlySchedule",
type: {
- name: "String"
+ name: "Composite",
+ className: "HourlySchedule"
}
},
- registrationStatus: {
- serializedName: "registrationStatus",
+ scheduleWeeklyFrequency: {
+ serializedName: "scheduleWeeklyFrequency",
type: {
- name: "String"
+ name: "Number"
}
}
}
}
};
-export const PreValidateEnableBackupRequest: msRest.CompositeMapper = {
- serializedName: "PreValidateEnableBackupRequest",
+export const LongTermRetentionPolicy: coreClient.CompositeMapper = {
+ serializedName: "LongTermRetentionPolicy",
type: {
name: "Composite",
- className: "PreValidateEnableBackupRequest",
+ className: "LongTermRetentionPolicy",
+ uberParent: "RetentionPolicy",
+ polymorphicDiscriminator: RetentionPolicy.type.polymorphicDiscriminator,
modelProperties: {
- resourceType: {
- serializedName: "resourceType",
+ ...RetentionPolicy.type.modelProperties,
+ dailySchedule: {
+ serializedName: "dailySchedule",
type: {
- name: "String"
+ name: "Composite",
+ className: "DailyRetentionSchedule"
}
},
- resourceId: {
- serializedName: "resourceId",
+ weeklySchedule: {
+ serializedName: "weeklySchedule",
type: {
- name: "String"
+ name: "Composite",
+ className: "WeeklyRetentionSchedule"
}
},
- vaultId: {
- serializedName: "vaultId",
+ monthlySchedule: {
+ serializedName: "monthlySchedule",
type: {
- name: "String"
+ name: "Composite",
+ className: "MonthlyRetentionSchedule"
}
},
- properties: {
- serializedName: "properties",
+ yearlySchedule: {
+ serializedName: "yearlySchedule",
type: {
- name: "String"
+ name: "Composite",
+ className: "YearlyRetentionSchedule"
}
}
}
}
};
-export const PreValidateEnableBackupResponse: msRest.CompositeMapper = {
- serializedName: "PreValidateEnableBackupResponse",
+export const SimpleRetentionPolicy: coreClient.CompositeMapper = {
+ serializedName: "SimpleRetentionPolicy",
type: {
name: "Composite",
- className: "PreValidateEnableBackupResponse",
+ className: "SimpleRetentionPolicy",
+ uberParent: "RetentionPolicy",
+ polymorphicDiscriminator: RetentionPolicy.type.polymorphicDiscriminator,
modelProperties: {
- status: {
- serializedName: "status",
+ ...RetentionPolicy.type.modelProperties,
+ retentionDuration: {
+ serializedName: "retentionDuration",
type: {
- name: "String"
- }
- },
- errorCode: {
- serializedName: "errorCode",
- type: {
- name: "String"
- }
- },
- errorMessage: {
- serializedName: "errorMessage",
- type: {
- name: "String"
- }
- },
- recommendation: {
- serializedName: "recommendation",
- type: {
- name: "String"
- }
- },
- containerName: {
- serializedName: "containerName",
- type: {
- name: "String"
- }
- },
- protectedItemName: {
- serializedName: "protectedItemName",
- type: {
- name: "String"
+ name: "Composite",
+ className: "RetentionDuration"
}
}
}
}
};
-export const ProtectionIntentQueryObject: msRest.CompositeMapper = {
- serializedName: "ProtectionIntentQueryObject",
+export const RecoveryPointTierInformationV2: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ProtectionIntentQueryObject",
+ className: "RecoveryPointTierInformationV2",
modelProperties: {
- backupManagementType: {
- serializedName: "backupManagementType",
- type: {
- name: "String"
- }
- },
- itemType: {
- serializedName: "itemType",
- type: {
- name: "String"
- }
- },
- parentName: {
- serializedName: "parentName",
- type: {
- name: "String"
- }
- },
- itemName: {
- serializedName: "itemName",
+ ...RecoveryPointTierInformation.type.modelProperties
+ }
+ }
+};
+
+export const AzureWorkloadAutoProtectionIntent: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadAutoProtectionIntent",
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadAutoProtectionIntent",
+ uberParent: "ProtectionIntent",
+ polymorphicDiscriminator: {
+ serializedName: "protectionIntentItemType",
+ clientName: "protectionIntentItemType"
+ },
+ modelProperties: {
+ ...AzureRecoveryServiceVaultProtectionIntent.type.modelProperties
+ }
+ }
+};
+
+export const AzureIaaSClassicComputeVMProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.ClassicCompute/virtualMachines",
+ type: {
+ name: "Composite",
+ className: "AzureIaaSClassicComputeVMProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureIaaSVMProtectedItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureIaaSComputeVMProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Compute/virtualMachines",
+ type: {
+ name: "Composite",
+ className: "AzureIaaSComputeVMProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureIaaSVMProtectedItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureVmWorkloadSAPAseDatabaseProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "AzureVmWorkloadSAPAseDatabase",
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadSAPAseDatabaseProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureVmWorkloadProtectedItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureVmWorkloadSAPHanaDatabaseProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "AzureVmWorkloadSAPHanaDatabase",
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadSAPHanaDatabaseProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureVmWorkloadProtectedItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureVmWorkloadSQLDatabaseProtectedItem: coreClient.CompositeMapper = {
+ serializedName: "AzureVmWorkloadSQLDatabase",
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadSQLDatabaseProtectedItem",
+ uberParent: "ProtectedItem",
+ polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureVmWorkloadProtectedItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureWorkloadPointInTimeRecoveryPoint: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadPointInTimeRecoveryPoint",
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadPointInTimeRecoveryPoint",
+ uberParent: "RecoveryPoint",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
+ modelProperties: {
+ ...AzureWorkloadRecoveryPoint.type.modelProperties,
+ timeRanges: {
+ serializedName: "timeRanges",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PointInTimeRange"
+ }
+ }
}
}
}
}
};
-export const ProtectionIntentResource: msRest.CompositeMapper = {
- serializedName: "ProtectionIntentResource",
+export const AzureWorkloadSAPHanaRecoveryPoint: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSAPHanaRecoveryPoint",
type: {
name: "Composite",
- className: "ProtectionIntentResource",
+ className: "AzureWorkloadSAPHanaRecoveryPoint",
+ uberParent: "RecoveryPoint",
+ polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
modelProperties: {
- ...Resource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ ...AzureWorkloadRecoveryPoint.type.modelProperties
+ }
+ }
+};
+
+export const AzureWorkloadSQLRecoveryPoint: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSQLRecoveryPoint",
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadSQLRecoveryPoint",
+ uberParent: "RecoveryPoint",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
+ modelProperties: {
+ ...AzureWorkloadRecoveryPoint.type.modelProperties,
+ extendedInfo: {
+ serializedName: "extendedInfo",
type: {
name: "Composite",
- className: "ProtectionIntent"
+ className: "AzureWorkloadSQLRecoveryPointExtendedInfo"
}
}
}
}
};
-export const ClientDiscoveryDisplay: msRest.CompositeMapper = {
- serializedName: "ClientDiscoveryDisplay",
+export const AzureWorkloadPointInTimeRestoreRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadPointInTimeRestoreRequest",
type: {
name: "Composite",
- className: "ClientDiscoveryDisplay",
+ className: "AzureWorkloadPointInTimeRestoreRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
modelProperties: {
- provider: {
- serializedName: "provider",
+ ...AzureWorkloadRestoreRequest.type.modelProperties,
+ pointInTime: {
+ serializedName: "pointInTime",
type: {
- name: "String"
+ name: "DateTime"
}
- },
- resource: {
- serializedName: "resource",
+ }
+ }
+ }
+};
+
+export const AzureWorkloadSAPHanaRestoreRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSAPHanaRestoreRequest",
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadSAPHanaRestoreRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
+ modelProperties: {
+ ...AzureWorkloadRestoreRequest.type.modelProperties
+ }
+ }
+};
+
+export const AzureWorkloadSQLRestoreRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSQLRestoreRequest",
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadSQLRestoreRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
+ modelProperties: {
+ ...AzureWorkloadRestoreRequest.type.modelProperties,
+ shouldUseAlternateTargetLocation: {
+ serializedName: "shouldUseAlternateTargetLocation",
type: {
- name: "String"
+ name: "Boolean"
}
},
- operation: {
- serializedName: "operation",
+ isNonRecoverable: {
+ serializedName: "isNonRecoverable",
type: {
- name: "String"
+ name: "Boolean"
}
},
- description: {
- serializedName: "description",
+ alternateDirectoryPaths: {
+ serializedName: "alternateDirectoryPaths",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SQLDataDirectoryMapping"
+ }
+ }
}
}
}
}
};
-export const ClientDiscoveryForLogSpecification: msRest.CompositeMapper = {
- serializedName: "ClientDiscoveryForLogSpecification",
+export const IaasVMRestoreWithRehydrationRequest: coreClient.CompositeMapper = {
+ serializedName: "IaasVMRestoreWithRehydrationRequest",
type: {
name: "Composite",
- className: "ClientDiscoveryForLogSpecification",
+ className: "IaasVMRestoreWithRehydrationRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
modelProperties: {
- name: {
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- displayName: {
- serializedName: "displayName",
- type: {
- name: "String"
- }
- },
- blobDuration: {
- serializedName: "blobDuration",
+ ...IaasVMRestoreRequest.type.modelProperties,
+ recoveryPointRehydrationInfo: {
+ serializedName: "recoveryPointRehydrationInfo",
type: {
- name: "String"
+ name: "Composite",
+ className: "RecoveryPointRehydrationInfo"
}
}
}
}
};
-export const ClientDiscoveryForServiceSpecification: msRest.CompositeMapper = {
- serializedName: "ClientDiscoveryForServiceSpecification",
+export const ValidateIaasVMRestoreOperationRequest: coreClient.CompositeMapper = {
+ serializedName: "ValidateIaasVMRestoreOperationRequest",
+ type: {
+ name: "Composite",
+ className: "ValidateIaasVMRestoreOperationRequest",
+ uberParent: "ValidateOperationRequest",
+ polymorphicDiscriminator:
+ ValidateOperationRequest.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ValidateRestoreOperationRequest.type.modelProperties
+ }
+ }
+};
+
+export const AzureBackupServerContainer: coreClient.CompositeMapper = {
+ serializedName: "AzureBackupServerContainer",
+ type: {
+ name: "Composite",
+ className: "AzureBackupServerContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...DpmContainer.type.modelProperties
+ }
+ }
+};
+
+export const AzureIaaSClassicComputeVMContainer: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.ClassicCompute/virtualMachines",
+ type: {
+ name: "Composite",
+ className: "AzureIaaSClassicComputeVMContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...IaaSVMContainer.type.modelProperties
+ }
+ }
+};
+
+export const AzureIaaSComputeVMContainer: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Compute/virtualMachines",
+ type: {
+ name: "Composite",
+ className: "AzureIaaSComputeVMContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...IaaSVMContainer.type.modelProperties
+ }
+ }
+};
+
+export const AzureSqlagWorkloadContainerProtectionContainer: coreClient.CompositeMapper = {
+ serializedName: "SQLAGWorkLoadContainer",
+ type: {
+ name: "Composite",
+ className: "AzureSqlagWorkloadContainerProtectionContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureWorkloadContainer.type.modelProperties
+ }
+ }
+};
+
+export const AzureVMAppContainerProtectionContainer: coreClient.CompositeMapper = {
+ serializedName: "VMAppContainer",
+ type: {
+ name: "Composite",
+ className: "AzureVMAppContainerProtectionContainer",
+ uberParent: "ProtectionContainer",
+ polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureWorkloadContainer.type.modelProperties
+ }
+ }
+};
+
+export const AzureVmWorkloadSAPAseDatabaseWorkloadItem: coreClient.CompositeMapper = {
+ serializedName: "SAPAseDatabase",
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadSAPAseDatabaseWorkloadItem",
+ uberParent: "WorkloadItem",
+ polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureVmWorkloadItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureVmWorkloadSAPAseSystemWorkloadItem: coreClient.CompositeMapper = {
+ serializedName: "SAPAseSystem",
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadSAPAseSystemWorkloadItem",
+ uberParent: "WorkloadItem",
+ polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureVmWorkloadItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureVmWorkloadSAPHanaDatabaseWorkloadItem: coreClient.CompositeMapper = {
+ serializedName: "SAPHanaDatabase",
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadSAPHanaDatabaseWorkloadItem",
+ uberParent: "WorkloadItem",
+ polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureVmWorkloadItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureVmWorkloadSAPHanaSystemWorkloadItem: coreClient.CompositeMapper = {
+ serializedName: "SAPHanaSystem",
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadSAPHanaSystemWorkloadItem",
+ uberParent: "WorkloadItem",
+ polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureVmWorkloadItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureVmWorkloadSQLDatabaseWorkloadItem: coreClient.CompositeMapper = {
+ serializedName: "SQLDataBase",
type: {
name: "Composite",
- className: "ClientDiscoveryForServiceSpecification",
+ className: "AzureVmWorkloadSQLDatabaseWorkloadItem",
+ uberParent: "WorkloadItem",
+ polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
modelProperties: {
- logSpecifications: {
- serializedName: "logSpecifications",
+ ...AzureVmWorkloadItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureVmWorkloadSQLInstanceWorkloadItem: coreClient.CompositeMapper = {
+ serializedName: "SQLInstance",
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadSQLInstanceWorkloadItem",
+ uberParent: "WorkloadItem",
+ polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureVmWorkloadItem.type.modelProperties,
+ dataDirectoryPaths: {
+ serializedName: "dataDirectoryPaths",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "ClientDiscoveryForLogSpecification"
+ className: "SQLDataDirectory"
}
}
}
@@ -8669,189 +8676,167 @@ export const ClientDiscoveryForServiceSpecification: msRest.CompositeMapper = {
}
};
-export const ClientDiscoveryForProperties: msRest.CompositeMapper = {
- serializedName: "ClientDiscoveryForProperties",
+export const AzureIaaSClassicComputeVMProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.ClassicCompute/virtualMachines",
type: {
name: "Composite",
- className: "ClientDiscoveryForProperties",
+ className: "AzureIaaSClassicComputeVMProtectableItem",
+ uberParent: "WorkloadProtectableItem",
+ polymorphicDiscriminator:
+ WorkloadProtectableItem.type.polymorphicDiscriminator,
modelProperties: {
- serviceSpecification: {
- serializedName: "serviceSpecification",
- type: {
- name: "Composite",
- className: "ClientDiscoveryForServiceSpecification"
- }
- }
+ ...IaaSVMProtectableItem.type.modelProperties
}
}
};
-export const ClientDiscoveryValueForSingleApi: msRest.CompositeMapper = {
- serializedName: "ClientDiscoveryValueForSingleApi",
+export const AzureIaaSComputeVMProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Compute/virtualMachines",
type: {
name: "Composite",
- className: "ClientDiscoveryValueForSingleApi",
+ className: "AzureIaaSComputeVMProtectableItem",
+ uberParent: "WorkloadProtectableItem",
+ polymorphicDiscriminator:
+ WorkloadProtectableItem.type.polymorphicDiscriminator,
modelProperties: {
- name: {
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- display: {
- serializedName: "display",
- type: {
- name: "Composite",
- className: "ClientDiscoveryDisplay"
- }
- },
- origin: {
- serializedName: "origin",
- type: {
- name: "String"
- }
- },
- properties: {
- serializedName: "properties",
- type: {
- name: "Composite",
- className: "ClientDiscoveryForProperties"
- }
- }
+ ...IaaSVMProtectableItem.type.modelProperties
}
}
};
-export const RecoveryPointResourceList: msRest.CompositeMapper = {
- serializedName: "RecoveryPointResourceList",
+export const AzureVmWorkloadSAPAseSystemProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "SAPAseSystem",
type: {
name: "Composite",
- className: "RecoveryPointResourceList",
+ className: "AzureVmWorkloadSAPAseSystemProtectableItem",
+ uberParent: "WorkloadProtectableItem",
+ polymorphicDiscriminator:
+ WorkloadProtectableItem.type.polymorphicDiscriminator,
modelProperties: {
- ...ResourceList.type.modelProperties,
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "RecoveryPointResource"
- }
- }
- }
- }
+ ...AzureVmWorkloadProtectableItem.type.modelProperties
}
}
};
-export const ProtectionPolicyResourceList: msRest.CompositeMapper = {
- serializedName: "ProtectionPolicyResourceList",
+export const AzureVmWorkloadSAPHanaDatabaseProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "SAPHanaDatabase",
type: {
name: "Composite",
- className: "ProtectionPolicyResourceList",
+ className: "AzureVmWorkloadSAPHanaDatabaseProtectableItem",
+ uberParent: "WorkloadProtectableItem",
+ polymorphicDiscriminator:
+ WorkloadProtectableItem.type.polymorphicDiscriminator,
modelProperties: {
- ...ResourceList.type.modelProperties,
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ProtectionPolicyResource"
- }
- }
- }
- }
+ ...AzureVmWorkloadProtectableItem.type.modelProperties
}
}
};
-export const JobResourceList: msRest.CompositeMapper = {
- serializedName: "JobResourceList",
+export const AzureVmWorkloadSAPHanaSystemProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "SAPHanaSystem",
type: {
name: "Composite",
- className: "JobResourceList",
+ className: "AzureVmWorkloadSAPHanaSystemProtectableItem",
+ uberParent: "WorkloadProtectableItem",
+ polymorphicDiscriminator:
+ WorkloadProtectableItem.type.polymorphicDiscriminator,
modelProperties: {
- ...ResourceList.type.modelProperties,
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "JobResource"
- }
- }
- }
- }
+ ...AzureVmWorkloadProtectableItem.type.modelProperties
}
}
};
-export const ProtectedItemResourceList: msRest.CompositeMapper = {
- serializedName: "ProtectedItemResourceList",
+export const AzureVmWorkloadSQLAvailabilityGroupProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "SQLAvailabilityGroupContainer",
type: {
name: "Composite",
- className: "ProtectedItemResourceList",
+ className: "AzureVmWorkloadSQLAvailabilityGroupProtectableItem",
+ uberParent: "WorkloadProtectableItem",
+ polymorphicDiscriminator:
+ WorkloadProtectableItem.type.polymorphicDiscriminator,
modelProperties: {
- ...ResourceList.type.modelProperties,
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ProtectedItemResource"
- }
- }
- }
- }
+ ...AzureVmWorkloadProtectableItem.type.modelProperties
}
}
};
-export const BackupEngineBaseResourceList: msRest.CompositeMapper = {
- serializedName: "BackupEngineBaseResourceList",
+export const AzureVmWorkloadSQLDatabaseProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "SQLDataBase",
type: {
name: "Composite",
- className: "BackupEngineBaseResourceList",
+ className: "AzureVmWorkloadSQLDatabaseProtectableItem",
+ uberParent: "WorkloadProtectableItem",
+ polymorphicDiscriminator:
+ WorkloadProtectableItem.type.polymorphicDiscriminator,
modelProperties: {
- ...ResourceList.type.modelProperties,
- value: {
- serializedName: "",
+ ...AzureVmWorkloadProtectableItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureVmWorkloadSQLInstanceProtectableItem: coreClient.CompositeMapper = {
+ serializedName: "SQLInstance",
+ type: {
+ name: "Composite",
+ className: "AzureVmWorkloadSQLInstanceProtectableItem",
+ uberParent: "WorkloadProtectableItem",
+ polymorphicDiscriminator:
+ WorkloadProtectableItem.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureVmWorkloadProtectableItem.type.modelProperties
+ }
+ }
+};
+
+export const AzureWorkloadSQLAutoProtectionIntent: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSQLAutoProtectionIntent",
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadSQLAutoProtectionIntent",
+ uberParent: "ProtectionIntent",
+ polymorphicDiscriminator: ProtectionIntent.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureWorkloadAutoProtectionIntent.type.modelProperties,
+ workloadItemType: {
+ serializedName: "workloadItemType",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "BackupEngineBaseResource"
- }
- }
+ name: "String"
}
}
}
}
};
-export const ProtectableContainerResourceList: msRest.CompositeMapper = {
- serializedName: "ProtectableContainerResourceList",
+export const AzureWorkloadSAPHanaPointInTimeRecoveryPoint: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint",
type: {
name: "Composite",
- className: "ProtectableContainerResourceList",
+ className: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint",
+ uberParent: "RecoveryPoint",
+ polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
modelProperties: {
- ...ResourceList.type.modelProperties,
- value: {
- serializedName: "",
+ ...AzureWorkloadPointInTimeRecoveryPoint.type.modelProperties
+ }
+ }
+};
+
+export const AzureWorkloadSQLPointInTimeRecoveryPoint: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSQLPointInTimeRecoveryPoint",
+ type: {
+ name: "Composite",
+ className: "AzureWorkloadSQLPointInTimeRecoveryPoint",
+ uberParent: "RecoveryPoint",
+ polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AzureWorkloadSQLRecoveryPoint.type.modelProperties,
+ timeRanges: {
+ serializedName: "timeRanges",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "ProtectableContainerResource"
+ className: "PointInTimeRange"
}
}
}
@@ -8860,274 +8845,256 @@ export const ProtectableContainerResourceList: msRest.CompositeMapper = {
}
};
-export const WorkloadItemResourceList: msRest.CompositeMapper = {
- serializedName: "WorkloadItemResourceList",
+export const AzureWorkloadSAPHanaPointInTimeRestoreRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSAPHanaPointInTimeRestoreRequest",
type: {
name: "Composite",
- className: "WorkloadItemResourceList",
+ className: "AzureWorkloadSAPHanaPointInTimeRestoreRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- ...ResourceList.type.modelProperties,
- value: {
- serializedName: "",
+ ...AzureWorkloadSAPHanaRestoreRequest.type.modelProperties,
+ pointInTime: {
+ serializedName: "pointInTime",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "WorkloadItemResource"
- }
- }
+ name: "DateTime"
}
}
}
}
};
-export const WorkloadProtectableItemResourceList: msRest.CompositeMapper = {
- serializedName: "WorkloadProtectableItemResourceList",
+export const AzureWorkloadSAPHanaRestoreWithRehydrateRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSAPHanaRestoreWithRehydrateRequest",
type: {
name: "Composite",
- className: "WorkloadProtectableItemResourceList",
+ className: "AzureWorkloadSAPHanaRestoreWithRehydrateRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
modelProperties: {
- ...ResourceList.type.modelProperties,
- value: {
- serializedName: "",
+ ...AzureWorkloadSAPHanaRestoreRequest.type.modelProperties,
+ recoveryPointRehydrationInfo: {
+ serializedName: "recoveryPointRehydrationInfo",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "WorkloadProtectableItemResource"
- }
- }
+ name: "Composite",
+ className: "RecoveryPointRehydrationInfo"
}
}
}
}
};
-export const ProtectionContainerResourceList: msRest.CompositeMapper = {
- serializedName: "ProtectionContainerResourceList",
+export const AzureWorkloadSQLPointInTimeRestoreRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSQLPointInTimeRestoreRequest",
type: {
name: "Composite",
- className: "ProtectionContainerResourceList",
+ className: "AzureWorkloadSQLPointInTimeRestoreRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: {
+ serializedName: "objectType",
+ clientName: "objectType"
+ },
modelProperties: {
- ...ResourceList.type.modelProperties,
- value: {
- serializedName: "",
+ ...AzureWorkloadSQLRestoreRequest.type.modelProperties,
+ pointInTime: {
+ serializedName: "pointInTime",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ProtectionContainerResource"
- }
- }
+ name: "DateTime"
}
}
}
}
};
-export const BackupManagementUsageList: msRest.CompositeMapper = {
- serializedName: "BackupManagementUsageList",
+export const AzureWorkloadSQLRestoreWithRehydrateRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSQLRestoreWithRehydrateRequest",
type: {
name: "Composite",
- className: "BackupManagementUsageList",
+ className: "AzureWorkloadSQLRestoreWithRehydrateRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
modelProperties: {
- value: {
- serializedName: "",
+ ...AzureWorkloadSQLRestoreRequest.type.modelProperties,
+ recoveryPointRehydrationInfo: {
+ serializedName: "recoveryPointRehydrationInfo",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "BackupManagementUsage"
- }
- }
+ name: "Composite",
+ className: "RecoveryPointRehydrationInfo"
}
}
}
}
};
-export const ProtectionIntentResourceList: msRest.CompositeMapper = {
- serializedName: "ProtectionIntentResourceList",
+export const AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest",
type: {
name: "Composite",
- className: "ProtectionIntentResourceList",
+ className: "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
modelProperties: {
- ...ResourceList.type.modelProperties,
- value: {
- serializedName: "",
+ ...AzureWorkloadSAPHanaPointInTimeRestoreRequest.type.modelProperties,
+ recoveryPointRehydrationInfo: {
+ serializedName: "recoveryPointRehydrationInfo",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ProtectionIntentResource"
- }
- }
+ name: "Composite",
+ className: "RecoveryPointRehydrationInfo"
}
}
}
}
};
-export const ClientDiscoveryResponse: msRest.CompositeMapper = {
- serializedName: "ClientDiscoveryResponse",
+export const AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest: coreClient.CompositeMapper = {
+ serializedName: "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest",
type: {
name: "Composite",
- className: "ClientDiscoveryResponse",
+ className: "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest",
+ uberParent: "RestoreRequest",
+ polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator,
modelProperties: {
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ClientDiscoveryValueForSingleApi"
- }
- }
- }
- },
- nextLink: {
- serializedName: "nextLink",
+ ...AzureWorkloadSQLPointInTimeRestoreRequest.type.modelProperties,
+ recoveryPointRehydrationInfo: {
+ serializedName: "recoveryPointRehydrationInfo",
type: {
- name: "String"
+ name: "Composite",
+ className: "RecoveryPointRehydrationInfo"
}
}
}
}
};
-export const discriminators = {
+export let discriminators = {
+ FeatureSupportRequest: FeatureSupportRequest,
+ ProtectionIntent: ProtectionIntent,
+ OperationStatusExtendedInfo: OperationStatusExtendedInfo,
+ VaultStorageConfigOperationResultResponse: VaultStorageConfigOperationResultResponse,
+ ProtectedItem: ProtectedItem,
+ RecoveryPoint: RecoveryPoint,
+ RestoreRequest: RestoreRequest,
+ ProtectionPolicy: ProtectionPolicy,
+ Job: Job,
+ OperationResultInfoBase: OperationResultInfoBase,
+ ValidateOperationRequest: ValidateOperationRequest,
+ BackupEngineBase: BackupEngineBase,
+ ProtectableContainer: ProtectableContainer,
+ ProtectionContainer: ProtectionContainer,
+ WorkloadItem: WorkloadItem,
+ BackupRequest: BackupRequest,
+ ILRRequest: ILRRequest,
+ WorkloadProtectableItem: WorkloadProtectableItem,
+ SchedulePolicy: SchedulePolicy,
+ RetentionPolicy: RetentionPolicy,
+ "FeatureSupportRequest.AzureBackupGoals": AzureBackupGoalFeatureSupportRequest,
+ "FeatureSupportRequest.AzureVMResourceBackup": AzureVMResourceFeatureSupportRequest,
+ "ProtectionIntent.RecoveryServiceVaultItem": AzureRecoveryServiceVaultProtectionIntent,
+ "ProtectionIntent.AzureResourceItem": AzureResourceProtectionIntent,
+ "ProtectionIntent.AzureWorkloadContainerAutoProtectionIntent": AzureWorkloadContainerAutoProtectionIntent,
+ "OperationStatusExtendedInfo.OperationStatusJobExtendedInfo": OperationStatusJobExtendedInfo,
+ "OperationStatusExtendedInfo.OperationStatusJobsExtendedInfo": OperationStatusJobsExtendedInfo,
+ "OperationStatusExtendedInfo.OperationStatusProvisionILRExtendedInfo": OperationStatusProvisionILRExtendedInfo,
+ "OperationStatusExtendedInfo.OperationStatusValidateOperationExtendedInfo": OperationStatusValidateOperationExtendedInfo,
+ "VaultStorageConfigOperationResultResponse.PrepareDataMoveResponse": PrepareDataMoveResponse,
"ProtectedItem.AzureFileShareProtectedItem": AzureFileshareProtectedItem,
+ "ProtectedItem.AzureIaaSVMProtectedItem": AzureIaaSVMProtectedItem,
+ "ProtectedItem.Microsoft.Sql/servers/databases": AzureSqlProtectedItem,
+ "ProtectedItem.AzureVmWorkloadProtectedItem": AzureVmWorkloadProtectedItem,
+ "ProtectedItem.DPMProtectedItem": DPMProtectedItem,
+ "ProtectedItem.GenericProtectedItem": GenericProtectedItem,
+ "ProtectedItem.MabFileFolderProtectedItem": MabFileFolderProtectedItem,
"RecoveryPoint.AzureFileShareRecoveryPoint": AzureFileShareRecoveryPoint,
+ "RecoveryPoint.AzureWorkloadRecoveryPoint": AzureWorkloadRecoveryPoint,
+ "RecoveryPoint.GenericRecoveryPoint": GenericRecoveryPoint,
+ "RecoveryPoint.IaasVMRecoveryPoint": IaasVMRecoveryPoint,
"RestoreRequest.AzureFileShareRestoreRequest": AzureFileShareRestoreRequest,
- SchedulePolicy: SchedulePolicy,
- RetentionPolicy: RetentionPolicy,
+ "RestoreRequest.AzureWorkloadRestoreRequest": AzureWorkloadRestoreRequest,
+ "RestoreRequest.IaasVMRestoreRequest": IaasVMRestoreRequest,
"ProtectionPolicy.AzureWorkload": AzureVmWorkloadProtectionPolicy,
"ProtectionPolicy.AzureStorage": AzureFileShareProtectionPolicy,
- "ProtectedItem.Microsoft.ClassicCompute/virtualMachines": AzureIaaSClassicComputeVMProtectedItem,
- "ProtectedItem.Microsoft.Compute/virtualMachines": AzureIaaSComputeVMProtectedItem,
- "Job.AzureIaaSVMJob": AzureIaaSVMJob,
- "ProtectedItem.AzureIaaSVMProtectedItem": AzureIaaSVMProtectedItem,
"ProtectionPolicy.AzureIaasVM": AzureIaaSVMProtectionPolicy,
- "ProtectedItem.Microsoft.Sql/servers/databases": AzureSqlProtectedItem,
"ProtectionPolicy.AzureSql": AzureSqlProtectionPolicy,
+ "ProtectionPolicy.GenericProtectionPolicy": GenericProtectionPolicy,
+ "ProtectionPolicy.MAB": MabProtectionPolicy,
+ "Job.AzureIaaSVMJob": AzureIaaSVMJob,
+ "Job.AzureIaaSVMJobV2": AzureIaaSVMJobV2,
"Job.AzureStorageJob": AzureStorageJob,
- "ProtectedItem.AzureVmWorkloadProtectedItem": AzureVmWorkloadProtectedItem,
+ "Job.AzureWorkloadJob": AzureWorkloadJob,
+ "Job.DpmJob": DpmJob,
+ "Job.MabJob": MabJob,
+ "Job.VaultJob": VaultJob,
+ "OperationResultInfoBase.ExportJobsOperationResultInfo": ExportJobsOperationResultInfo,
+ "OperationResultInfoBase.OperationResultInfo": OperationResultInfo,
+ "ValidateOperationRequest.ValidateRestoreOperationRequest": ValidateRestoreOperationRequest,
+ "BackupEngineBase.AzureBackupServerEngine": AzureBackupServerEngine,
+ "BackupEngineBase.DpmBackupEngine": DpmBackupEngine,
+ "ProtectableContainer.StorageContainer": AzureStorageProtectableContainer,
+ "ProtectableContainer.VMAppContainer": AzureVMAppContainerProtectableContainer,
+ "ProtectionContainer.DPMContainer": DpmContainer,
+ "ProtectionContainer.IaaSVMContainer": IaaSVMContainer,
+ "ProtectionContainer.AzureWorkloadContainer": AzureWorkloadContainer,
+ "ProtectionContainer.AzureSqlContainer": AzureSqlContainer,
+ "ProtectionContainer.StorageContainer": AzureStorageContainer,
+ "ProtectionContainer.GenericContainer": GenericContainer,
+ "ProtectionContainer.Windows": MabContainer,
+ "WorkloadItem.AzureVmWorkloadItem": AzureVmWorkloadItem,
+ "BackupRequest.AzureFileShareBackupRequest": AzureFileShareBackupRequest,
+ "BackupRequest.AzureWorkloadBackupRequest": AzureWorkloadBackupRequest,
+ "BackupRequest.IaasVMBackupRequest": IaasVMBackupRequest,
+ "ILRRequest.AzureFileShareProvisionILRRequest": AzureFileShareProvisionILRRequest,
+ "ILRRequest.IaasVMILRRegistrationRequest": IaasVmilrRegistrationRequest,
+ "WorkloadProtectableItem.AzureFileShare": AzureFileShareProtectableItem,
+ "WorkloadProtectableItem.IaaSVMProtectableItem": IaaSVMProtectableItem,
+ "WorkloadProtectableItem.AzureVmWorkloadProtectableItem": AzureVmWorkloadProtectableItem,
+ "SchedulePolicy.LogSchedulePolicy": LogSchedulePolicy,
+ "SchedulePolicy.LongTermSchedulePolicy": LongTermSchedulePolicy,
+ "SchedulePolicy.SimpleSchedulePolicy": SimpleSchedulePolicy,
+ "RetentionPolicy.LongTermRetentionPolicy": LongTermRetentionPolicy,
+ "RetentionPolicy.SimpleRetentionPolicy": SimpleRetentionPolicy,
+ "ProtectionIntent.AzureWorkloadAutoProtectionIntent": AzureWorkloadAutoProtectionIntent,
+ "ProtectedItem.Microsoft.ClassicCompute/virtualMachines": AzureIaaSClassicComputeVMProtectedItem,
+ "ProtectedItem.Microsoft.Compute/virtualMachines": AzureIaaSComputeVMProtectedItem,
"ProtectedItem.AzureVmWorkloadSAPAseDatabase": AzureVmWorkloadSAPAseDatabaseProtectedItem,
"ProtectedItem.AzureVmWorkloadSAPHanaDatabase": AzureVmWorkloadSAPHanaDatabaseProtectedItem,
"ProtectedItem.AzureVmWorkloadSQLDatabase": AzureVmWorkloadSQLDatabaseProtectedItem,
- "Job.AzureWorkloadJob": AzureWorkloadJob,
"RecoveryPoint.AzureWorkloadPointInTimeRecoveryPoint": AzureWorkloadPointInTimeRecoveryPoint,
- "RestoreRequest.AzureWorkloadPointInTimeRestoreRequest": AzureWorkloadPointInTimeRestoreRequest,
- "RecoveryPoint.AzureWorkloadRecoveryPoint": AzureWorkloadRecoveryPoint,
- "RestoreRequest.AzureWorkloadRestoreRequest": AzureWorkloadRestoreRequest,
- "RecoveryPoint.AzureWorkloadSAPHanaPointInTimeRecoveryPoint": AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- "RestoreRequest.AzureWorkloadSAPHanaPointInTimeRestoreRequest": AzureWorkloadSAPHanaPointInTimeRestoreRequest,
"RecoveryPoint.AzureWorkloadSAPHanaRecoveryPoint": AzureWorkloadSAPHanaRecoveryPoint,
- "RestoreRequest.AzureWorkloadSAPHanaRestoreRequest": AzureWorkloadSAPHanaRestoreRequest,
- "RecoveryPoint.AzureWorkloadSQLPointInTimeRecoveryPoint": AzureWorkloadSQLPointInTimeRecoveryPoint,
- "RestoreRequest.AzureWorkloadSQLPointInTimeRestoreRequest": AzureWorkloadSQLPointInTimeRestoreRequest,
"RecoveryPoint.AzureWorkloadSQLRecoveryPoint": AzureWorkloadSQLRecoveryPoint,
+ "RestoreRequest.AzureWorkloadPointInTimeRestoreRequest": AzureWorkloadPointInTimeRestoreRequest,
+ "RestoreRequest.AzureWorkloadSAPHanaRestoreRequest": AzureWorkloadSAPHanaRestoreRequest,
"RestoreRequest.AzureWorkloadSQLRestoreRequest": AzureWorkloadSQLRestoreRequest,
- "Job.DpmJob": DpmJob,
- "ProtectedItem.DPMProtectedItem": DPMProtectedItem,
- "OperationResultInfoBase.ExportJobsOperationResultInfo": ExportJobsOperationResultInfo,
- "ProtectionPolicy.GenericProtectionPolicy": GenericProtectionPolicy,
- "ProtectedItem.GenericProtectedItem": GenericProtectedItem,
- "RecoveryPoint.GenericRecoveryPoint": GenericRecoveryPoint,
- "RecoveryPoint.IaasVMRecoveryPoint": IaasVMRecoveryPoint,
- "RestoreRequest.IaasVMRestoreRequest": IaasVMRestoreRequest,
- Job: Job,
- "SchedulePolicy.LogSchedulePolicy": LogSchedulePolicy,
- "RetentionPolicy.LongTermRetentionPolicy": LongTermRetentionPolicy,
- "SchedulePolicy.LongTermSchedulePolicy": LongTermSchedulePolicy,
- "ProtectedItem.MabFileFolderProtectedItem": MabFileFolderProtectedItem,
- "Job.MabJob": MabJob,
- "ProtectionPolicy.MAB": MabProtectionPolicy,
- "OperationResultInfoBase.OperationResultInfo": OperationResultInfo,
- OperationResultInfoBase: OperationResultInfoBase,
- "VaultStorageConfigOperationResultResponse.PrepareDataMoveResponse": PrepareDataMoveResponse,
- VaultStorageConfigOperationResultResponse: VaultStorageConfigOperationResultResponse,
- ProtectedItem: ProtectedItem,
- ProtectionPolicy: ProtectionPolicy,
- RecoveryPoint: RecoveryPoint,
- RestoreRequest: RestoreRequest,
- "RetentionPolicy.SimpleRetentionPolicy": SimpleRetentionPolicy,
- "SchedulePolicy.SimpleSchedulePolicy": SimpleSchedulePolicy,
+ "RestoreRequest.IaasVMRestoreWithRehydrationRequest": IaasVMRestoreWithRehydrationRequest,
"ValidateOperationRequest.ValidateIaasVMRestoreOperationRequest": ValidateIaasVMRestoreOperationRequest,
- ValidateOperationRequest: ValidateOperationRequest,
- "ValidateOperationRequest.ValidateRestoreOperationRequest": ValidateRestoreOperationRequest,
- "Job.VaultJob": VaultJob,
"ProtectionContainer.AzureBackupServerContainer": AzureBackupServerContainer,
- "BackupEngineBase.AzureBackupServerEngine": AzureBackupServerEngine,
- "BackupRequest.AzureFileShareBackupRequest": AzureFileShareBackupRequest,
- "WorkloadProtectableItem.AzureFileShare": AzureFileShareProtectableItem,
- "ILRRequest.AzureFileShareProvisionILRRequest": AzureFileShareProvisionILRRequest,
"ProtectionContainer.Microsoft.ClassicCompute/virtualMachines": AzureIaaSClassicComputeVMContainer,
- "WorkloadProtectableItem.Microsoft.ClassicCompute/virtualMachines": AzureIaaSClassicComputeVMProtectableItem,
"ProtectionContainer.Microsoft.Compute/virtualMachines": AzureIaaSComputeVMContainer,
- "WorkloadProtectableItem.Microsoft.Compute/virtualMachines": AzureIaaSComputeVMProtectableItem,
- "ProtectionContainer.SQLAGWorkLoadContainer": AzureSQLAGWorkloadContainerProtectionContainer,
- "ProtectionContainer.AzureSqlContainer": AzureSqlContainer,
- "ProtectionContainer.StorageContainer": AzureStorageContainer,
- "ProtectableContainer.StorageContainer": AzureStorageProtectableContainer,
- "ProtectableContainer.VMAppContainer": AzureVMAppContainerProtectableContainer,
+ "ProtectionContainer.SQLAGWorkLoadContainer": AzureSqlagWorkloadContainerProtectionContainer,
"ProtectionContainer.VMAppContainer": AzureVMAppContainerProtectionContainer,
- "WorkloadItem.AzureVmWorkloadItem": AzureVmWorkloadItem,
- "WorkloadProtectableItem.AzureVmWorkloadProtectableItem": AzureVmWorkloadProtectableItem,
"WorkloadItem.SAPAseDatabase": AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- "WorkloadProtectableItem.SAPAseSystem": AzureVmWorkloadSAPAseSystemProtectableItem,
"WorkloadItem.SAPAseSystem": AzureVmWorkloadSAPAseSystemWorkloadItem,
- "WorkloadProtectableItem.SAPHanaDatabase": AzureVmWorkloadSAPHanaDatabaseProtectableItem,
"WorkloadItem.SAPHanaDatabase": AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- "WorkloadProtectableItem.SAPHanaSystem": AzureVmWorkloadSAPHanaSystemProtectableItem,
"WorkloadItem.SAPHanaSystem": AzureVmWorkloadSAPHanaSystemWorkloadItem,
+ "WorkloadItem.SQLDataBase": AzureVmWorkloadSQLDatabaseWorkloadItem,
+ "WorkloadItem.SQLInstance": AzureVmWorkloadSQLInstanceWorkloadItem,
+ "WorkloadProtectableItem.Microsoft.ClassicCompute/virtualMachines": AzureIaaSClassicComputeVMProtectableItem,
+ "WorkloadProtectableItem.Microsoft.Compute/virtualMachines": AzureIaaSComputeVMProtectableItem,
+ "WorkloadProtectableItem.SAPAseSystem": AzureVmWorkloadSAPAseSystemProtectableItem,
+ "WorkloadProtectableItem.SAPHanaDatabase": AzureVmWorkloadSAPHanaDatabaseProtectableItem,
+ "WorkloadProtectableItem.SAPHanaSystem": AzureVmWorkloadSAPHanaSystemProtectableItem,
"WorkloadProtectableItem.SQLAvailabilityGroupContainer": AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
"WorkloadProtectableItem.SQLDataBase": AzureVmWorkloadSQLDatabaseProtectableItem,
- "WorkloadItem.SQLDataBase": AzureVmWorkloadSQLDatabaseWorkloadItem,
"WorkloadProtectableItem.SQLInstance": AzureVmWorkloadSQLInstanceProtectableItem,
- "WorkloadItem.SQLInstance": AzureVmWorkloadSQLInstanceWorkloadItem,
- "BackupRequest.AzureWorkloadBackupRequest": AzureWorkloadBackupRequest,
- "ProtectionContainer.AzureWorkloadContainer": AzureWorkloadContainer,
- BackupEngineBase: BackupEngineBase,
- BackupRequest: BackupRequest,
- "BackupEngineBase.DpmBackupEngine": DpmBackupEngine,
- "ProtectionContainer.DPMContainer": DpmContainer,
- "ProtectionContainer.GenericContainer": GenericContainer,
- "BackupRequest.IaasVMBackupRequest": IaasVMBackupRequest,
- "ProtectionContainer.IaaSVMContainer": IaaSVMContainer,
- "ILRRequest.IaasVMILRRegistrationRequest": IaasVMILRRegistrationRequest,
- "WorkloadProtectableItem.IaaSVMProtectableItem": IaaSVMProtectableItem,
- ILRRequest: ILRRequest,
- "ProtectionContainer.Windows": MabContainer,
- OperationStatusExtendedInfo: OperationStatusExtendedInfo,
- "OperationStatusExtendedInfo.OperationStatusJobExtendedInfo": OperationStatusJobExtendedInfo,
- "OperationStatusExtendedInfo.OperationStatusJobsExtendedInfo": OperationStatusJobsExtendedInfo,
- "OperationStatusExtendedInfo.OperationStatusProvisionILRExtendedInfo": OperationStatusProvisionILRExtendedInfo,
- ProtectableContainer: ProtectableContainer,
- ProtectionContainer: ProtectionContainer,
- WorkloadItem: WorkloadItem,
- WorkloadProtectableItem: WorkloadProtectableItem,
- "RestoreRequest.AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest": AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
+ "ProtectionIntent.AzureWorkloadSQLAutoProtectionIntent": AzureWorkloadSQLAutoProtectionIntent,
+ "RecoveryPoint.AzureWorkloadSAPHanaPointInTimeRecoveryPoint": AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
+ "RecoveryPoint.AzureWorkloadSQLPointInTimeRecoveryPoint": AzureWorkloadSQLPointInTimeRecoveryPoint,
+ "RestoreRequest.AzureWorkloadSAPHanaPointInTimeRestoreRequest": AzureWorkloadSAPHanaPointInTimeRestoreRequest,
"RestoreRequest.AzureWorkloadSAPHanaRestoreWithRehydrateRequest": AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- "RestoreRequest.AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest": AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
+ "RestoreRequest.AzureWorkloadSQLPointInTimeRestoreRequest": AzureWorkloadSQLPointInTimeRestoreRequest,
"RestoreRequest.AzureWorkloadSQLRestoreWithRehydrateRequest": AzureWorkloadSQLRestoreWithRehydrateRequest,
- "RestoreRequest.IaasVMRestoreWithRehydrationRequest": IaasVMRestoreWithRehydrationRequest,
- CrrAccessToken: CrrAccessToken,
- "OperationStatusExtendedInfo.OperationStatusRecoveryPointExtendedInfo": OperationStatusRecoveryPointExtendedInfo,
- "CrrAccessToken.WorkloadCrrAccessToken": WorkloadCrrAccessToken,
- "FeatureSupportRequest.AzureBackupGoals": AzureBackupGoalFeatureSupportRequest,
- "ProtectionIntent.RecoveryServiceVaultItem": AzureRecoveryServiceVaultProtectionIntent,
- "ProtectionIntent.AzureResourceItem": AzureResourceProtectionIntent,
- "FeatureSupportRequest.AzureVMResourceBackup": AzureVMResourceFeatureSupportRequest,
- "ProtectionIntent.AzureWorkloadAutoProtectionIntent": AzureWorkloadAutoProtectionIntent,
- "ProtectionIntent.AzureWorkloadSQLAutoProtectionIntent": AzureWorkloadSQLAutoProtectionIntent,
- FeatureSupportRequest: FeatureSupportRequest,
- ProtectionIntent: ProtectionIntent
+ "RestoreRequest.AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest": AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
+ "RestoreRequest.AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest": AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest
};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/operationMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/operationMappers.ts
deleted file mode 100644
index 72cb3ad2de2d..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/operationMappers.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AzureFileShareRestoreRequest,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- CloudError,
- EncryptionDetails,
- ErrorDetail,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- RecoveryPointRehydrationInfo,
- RestoreFileSpecs,
- RestoreRequest,
- SQLDataDirectoryMapping,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- ValidateIaasVMRestoreOperationRequest,
- ValidateOperationRequest,
- ValidateOperationResponse,
- ValidateOperationsResponse,
- ValidateRestoreOperationRequest
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/operationsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/operationsMappers.ts
deleted file mode 100644
index cf239cd893a5..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/operationsMappers.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- ClientDiscoveryDisplay,
- ClientDiscoveryForLogSpecification,
- ClientDiscoveryForProperties,
- ClientDiscoveryForServiceSpecification,
- ClientDiscoveryResponse,
- ClientDiscoveryValueForSingleApi,
- CloudError
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/parameters.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/parameters.ts
index b8d2ca018e5d..bcfd82db492b 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/parameters.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/parameters.ts
@@ -3,236 +3,384 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
+import {
+ OperationParameter,
+ OperationURLParameter,
+ OperationQueryParameter
+} from "@azure/core-client";
+import {
+ BackupResourceConfigResource as BackupResourceConfigResourceMapper,
+ PreValidateEnableBackupRequest as PreValidateEnableBackupRequestMapper,
+ ProtectionIntentResource as ProtectionIntentResourceMapper,
+ BackupStatusRequest as BackupStatusRequestMapper,
+ FeatureSupportRequest as FeatureSupportRequestMapper,
+ BackupResourceVaultConfigResource as BackupResourceVaultConfigResourceMapper,
+ BackupResourceEncryptionConfigResource as BackupResourceEncryptionConfigResourceMapper,
+ PrivateEndpointConnectionResource as PrivateEndpointConnectionResourceMapper,
+ PrepareDataMoveRequest as PrepareDataMoveRequestMapper,
+ TriggerDataMoveRequest as TriggerDataMoveRequestMapper,
+ MoveRPAcrossTiersRequest as MoveRPAcrossTiersRequestMapper,
+ ProtectedItemResource as ProtectedItemResourceMapper,
+ RestoreRequestResource as RestoreRequestResourceMapper,
+ ProtectionPolicyResource as ProtectionPolicyResourceMapper,
+ ValidateOperationRequest as ValidateOperationRequestMapper,
+ ProtectionContainerResource as ProtectionContainerResourceMapper,
+ BackupRequestResource as BackupRequestResourceMapper,
+ ILRRequestResource as ILRRequestResourceMapper,
+ SecurityPinBase as SecurityPinBaseMapper,
+ ListRecoveryPointsRecommendedForMoveRequest as ListRecoveryPointsRecommendedForMoveRequestMapper,
+ UnlockDeleteRequest as UnlockDeleteRequestMapper
+} from "../models/mappers";
-export const acceptLanguage: msRest.OperationParameter = {
- parameterPath: "acceptLanguage",
+export const accept: OperationParameter = {
+ parameterPath: "accept",
mapper: {
- serializedName: "accept-language",
- defaultValue: "en-US",
+ defaultValue: "application/json",
+ isConstant: true,
+ serializedName: "Accept",
type: {
name: "String"
}
}
};
-export const apiVersion0: msRest.OperationQueryParameter = {
- parameterPath: "apiVersion",
+
+export const $host: OperationURLParameter = {
+ parameterPath: "$host",
mapper: {
+ serializedName: "$host",
required: true,
- isConstant: true,
- serializedName: "api-version",
- defaultValue: "2021-01-01",
type: {
name: "String"
}
- }
+ },
+ skipEncoding: true
};
-export const apiVersion1: msRest.OperationQueryParameter = {
+
+export const apiVersion: OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
- required: true,
+ defaultValue: "2021-10-01",
isConstant: true,
serializedName: "api-version",
- defaultValue: "2018-12-20",
type: {
name: "String"
}
}
};
-export const apiVersion2: msRest.OperationQueryParameter = {
- parameterPath: "apiVersion",
+
+export const vaultName: OperationURLParameter = {
+ parameterPath: "vaultName",
mapper: {
+ serializedName: "vaultName",
required: true,
- isConstant: true,
- serializedName: "api-version",
- defaultValue: "2017-07-01",
type: {
name: "String"
}
}
};
-export const apiVersion3: msRest.OperationQueryParameter = {
- parameterPath: "apiVersion",
+
+export const resourceGroupName: OperationURLParameter = {
+ parameterPath: "resourceGroupName",
mapper: {
+ serializedName: "resourceGroupName",
required: true,
- isConstant: true,
- serializedName: "api-version",
- defaultValue: "2016-08-10",
type: {
name: "String"
}
}
};
-export const azureRegion: msRest.OperationURLParameter = {
- parameterPath: "azureRegion",
+
+export const subscriptionId: OperationURLParameter = {
+ parameterPath: "subscriptionId",
mapper: {
+ serializedName: "subscriptionId",
required: true,
- serializedName: "azureRegion",
type: {
name: "String"
}
}
};
-export const backupEngineName: msRest.OperationURLParameter = {
- parameterPath: "backupEngineName",
+
+export const contentType: OperationParameter = {
+ parameterPath: ["options", "contentType"],
mapper: {
- required: true,
- serializedName: "backupEngineName",
+ defaultValue: "application/json",
+ isConstant: true,
+ serializedName: "Content-Type",
type: {
name: "String"
}
}
};
-export const containerName: msRest.OperationURLParameter = {
- parameterPath: "containerName",
+
+export const parameters: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: BackupResourceConfigResourceMapper
+};
+
+export const parameters1: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: PreValidateEnableBackupRequestMapper
+};
+
+export const azureRegion: OperationURLParameter = {
+ parameterPath: "azureRegion",
mapper: {
+ serializedName: "azureRegion",
required: true,
- serializedName: "containerName",
type: {
name: "String"
}
}
};
-export const fabricName: msRest.OperationURLParameter = {
+
+export const fabricName: OperationURLParameter = {
parameterPath: "fabricName",
mapper: {
- required: true,
serializedName: "fabricName",
+ required: true,
type: {
name: "String"
}
}
};
-export const filter: msRest.OperationQueryParameter = {
- parameterPath: ["options", "filter"],
+
+export const intentObjectName: OperationURLParameter = {
+ parameterPath: "intentObjectName",
mapper: {
- serializedName: "$filter",
+ serializedName: "intentObjectName",
+ required: true,
type: {
name: "String"
}
}
};
-export const intentObjectName: msRest.OperationURLParameter = {
- parameterPath: "intentObjectName",
+
+export const parameters2: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: ProtectionIntentResourceMapper
+};
+
+export const parameters3: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: BackupStatusRequestMapper
+};
+
+export const parameters4: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: FeatureSupportRequestMapper
+};
+
+export const filter: OperationQueryParameter = {
+ parameterPath: ["options", "filter"],
mapper: {
- required: true,
- serializedName: "intentObjectName",
+ serializedName: "$filter",
type: {
name: "String"
}
}
};
-export const jobName: msRest.OperationURLParameter = {
- parameterPath: "jobName",
+
+export const skipToken: OperationQueryParameter = {
+ parameterPath: ["options", "skipToken"],
mapper: {
- required: true,
- serializedName: "jobName",
+ serializedName: "$skipToken",
type: {
name: "String"
}
}
};
-export const nextPageLink: msRest.OperationURLParameter = {
- parameterPath: "nextPageLink",
+
+export const nextLink: OperationURLParameter = {
+ parameterPath: "nextLink",
mapper: {
- required: true,
serializedName: "nextLink",
+ required: true,
type: {
name: "String"
}
},
skipEncoding: true
};
-export const operationId: msRest.OperationURLParameter = {
- parameterPath: "operationId",
+
+export const parameters5: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: BackupResourceVaultConfigResourceMapper
+};
+
+export const parameters6: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: BackupResourceEncryptionConfigResourceMapper
+};
+
+export const privateEndpointConnectionName: OperationURLParameter = {
+ parameterPath: "privateEndpointConnectionName",
mapper: {
+ serializedName: "privateEndpointConnectionName",
required: true,
- serializedName: "operationId",
type: {
name: "String"
}
}
};
-export const policyName: msRest.OperationURLParameter = {
- parameterPath: "policyName",
+
+export const parameters7: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: PrivateEndpointConnectionResourceMapper
+};
+
+export const operationId: OperationURLParameter = {
+ parameterPath: "operationId",
mapper: {
+ serializedName: "operationId",
required: true,
- serializedName: "policyName",
type: {
name: "String"
}
}
};
-export const privateEndpointConnectionName: msRest.OperationURLParameter = {
- parameterPath: "privateEndpointConnectionName",
+
+export const parameters8: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: PrepareDataMoveRequestMapper
+};
+
+export const parameters9: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: TriggerDataMoveRequestMapper
+};
+
+export const parameters10: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: MoveRPAcrossTiersRequestMapper
+};
+
+export const containerName: OperationURLParameter = {
+ parameterPath: "containerName",
mapper: {
+ serializedName: "containerName",
required: true,
- serializedName: "privateEndpointConnectionName",
type: {
name: "String"
}
}
};
-export const protectedItemName: msRest.OperationURLParameter = {
+
+export const protectedItemName: OperationURLParameter = {
parameterPath: "protectedItemName",
mapper: {
- required: true,
serializedName: "protectedItemName",
+ required: true,
type: {
name: "String"
}
}
};
-export const recoveryPointId: msRest.OperationURLParameter = {
+
+export const recoveryPointId: OperationURLParameter = {
parameterPath: "recoveryPointId",
mapper: {
- required: true,
serializedName: "recoveryPointId",
+ required: true,
type: {
name: "String"
}
}
};
-export const resourceGroupName: msRest.OperationURLParameter = {
- parameterPath: "resourceGroupName",
+
+export const parameters11: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: ProtectedItemResourceMapper
+};
+
+export const parameters12: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: RestoreRequestResourceMapper
+};
+
+export const policyName: OperationURLParameter = {
+ parameterPath: "policyName",
mapper: {
+ serializedName: "policyName",
required: true,
- serializedName: "resourceGroupName",
type: {
name: "String"
}
}
};
-export const skipToken: msRest.OperationQueryParameter = {
- parameterPath: ["options", "skipToken"],
+
+export const parameters13: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: ProtectionPolicyResourceMapper
+};
+
+export const jobName: OperationURLParameter = {
+ parameterPath: "jobName",
mapper: {
- serializedName: "$skipToken",
+ serializedName: "jobName",
+ required: true,
type: {
name: "String"
}
}
};
-export const subscriptionId: msRest.OperationURLParameter = {
- parameterPath: "subscriptionId",
+
+export const parameters14: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: ValidateOperationRequestMapper
+};
+
+export const backupEngineName: OperationURLParameter = {
+ parameterPath: "backupEngineName",
mapper: {
+ serializedName: "backupEngineName",
required: true,
- serializedName: "subscriptionId",
type: {
name: "String"
}
}
};
-export const vaultName: msRest.OperationURLParameter = {
- parameterPath: "vaultName",
+
+export const parameters15: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: ProtectionContainerResourceMapper
+};
+
+export const parameters16: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: BackupRequestResourceMapper
+};
+
+export const parameters17: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: ILRRequestResourceMapper
+};
+
+export const parameters18: OperationParameter = {
+ parameterPath: ["options", "parameters"],
+ mapper: SecurityPinBaseMapper
+};
+
+export const parameters19: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: ListRecoveryPointsRecommendedForMoveRequestMapper
+};
+
+export const resourceGuardProxyName: OperationURLParameter = {
+ parameterPath: "resourceGuardProxyName",
mapper: {
+ serializedName: "resourceGuardProxyName",
required: true,
- serializedName: "vaultName",
type: {
name: "String"
}
}
};
+
+export const parameters20: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: UnlockDeleteRequestMapper
+};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/privateEndpointConnectionOperationsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/privateEndpointConnectionOperationsMappers.ts
deleted file mode 100644
index a1ea00277162..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/privateEndpointConnectionOperationsMappers.ts
+++ /dev/null
@@ -1,226 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorAdditionalInfo,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- NewErrorResponse,
- NewErrorResponseError,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/privateEndpointOperationsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/privateEndpointOperationsMappers.ts
deleted file mode 100644
index 61a4fde86431..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/privateEndpointOperationsMappers.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AzureFileShareRecoveryPoint,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- BEKDetails,
- ClientScriptForConnect,
- DiskInformation,
- ErrorAdditionalInfo,
- GenericRecoveryPoint,
- IaasVMRecoveryPoint,
- InstantItemRecoveryTarget,
- KEKDetails,
- KeyAndSecretDetails,
- NewErrorResponse,
- NewErrorResponseError,
- OperationStatus,
- OperationStatusError,
- OperationStatusExtendedInfo,
- OperationStatusJobExtendedInfo,
- OperationStatusJobsExtendedInfo,
- OperationStatusProvisionILRExtendedInfo,
- OperationStatusRecoveryPointExtendedInfo,
- PointInTimeRange,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointTierInformation,
- SQLDataDirectory
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectableContainersMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectableContainersMappers.ts
deleted file mode 100644
index 2b141b46a66e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectableContainersMappers.ts
+++ /dev/null
@@ -1,234 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectedItemOperationResultsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectedItemOperationResultsMappers.ts
deleted file mode 100644
index a7719f9e3a6a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectedItemOperationResultsMappers.ts
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectedItemOperationStatusesMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectedItemOperationStatusesMappers.ts
deleted file mode 100644
index 08be818858ae..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectedItemOperationStatusesMappers.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AzureFileShareRecoveryPoint,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- BEKDetails,
- ClientScriptForConnect,
- CloudError,
- DiskInformation,
- GenericRecoveryPoint,
- IaasVMRecoveryPoint,
- InstantItemRecoveryTarget,
- KEKDetails,
- KeyAndSecretDetails,
- OperationStatus,
- OperationStatusError,
- OperationStatusExtendedInfo,
- OperationStatusJobExtendedInfo,
- OperationStatusJobsExtendedInfo,
- OperationStatusProvisionILRExtendedInfo,
- OperationStatusRecoveryPointExtendedInfo,
- PointInTimeRange,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointTierInformation,
- SQLDataDirectory
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectedItemsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectedItemsMappers.ts
deleted file mode 100644
index a7719f9e3a6a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectedItemsMappers.ts
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionContainerOperationResultsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionContainerOperationResultsMappers.ts
deleted file mode 100644
index a7719f9e3a6a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionContainerOperationResultsMappers.ts
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionContainerRefreshOperationResultsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionContainerRefreshOperationResultsMappers.ts
deleted file mode 100644
index 841f64f3c0bd..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionContainerRefreshOperationResultsMappers.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export { discriminators, CloudError } from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionContainersMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionContainersMappers.ts
deleted file mode 100644
index a7719f9e3a6a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionContainersMappers.ts
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionIntentOperationsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionIntentOperationsMappers.ts
deleted file mode 100644
index 82204a16f9d4..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionIntentOperationsMappers.ts
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PreValidateEnableBackupRequest,
- PreValidateEnableBackupResponse,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionPoliciesMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionPoliciesMappers.ts
deleted file mode 100644
index a7719f9e3a6a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionPoliciesMappers.ts
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionPolicyOperationResultsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionPolicyOperationResultsMappers.ts
deleted file mode 100644
index a7719f9e3a6a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionPolicyOperationResultsMappers.ts
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionPolicyOperationStatusesMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionPolicyOperationStatusesMappers.ts
deleted file mode 100644
index 08be818858ae..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/protectionPolicyOperationStatusesMappers.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AzureFileShareRecoveryPoint,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- BEKDetails,
- ClientScriptForConnect,
- CloudError,
- DiskInformation,
- GenericRecoveryPoint,
- IaasVMRecoveryPoint,
- InstantItemRecoveryTarget,
- KEKDetails,
- KeyAndSecretDetails,
- OperationStatus,
- OperationStatusError,
- OperationStatusExtendedInfo,
- OperationStatusJobExtendedInfo,
- OperationStatusJobsExtendedInfo,
- OperationStatusProvisionILRExtendedInfo,
- OperationStatusRecoveryPointExtendedInfo,
- PointInTimeRange,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointTierInformation,
- SQLDataDirectory
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/recoveryPointsCrrMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/recoveryPointsCrrMappers.ts
deleted file mode 100644
index 2a64622f2f0e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/recoveryPointsCrrMappers.ts
+++ /dev/null
@@ -1,236 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorAdditionalInfo,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- NewErrorResponse,
- NewErrorResponseError,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/recoveryPointsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/recoveryPointsMappers.ts
deleted file mode 100644
index 17a176444951..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/recoveryPointsMappers.ts
+++ /dev/null
@@ -1,237 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorAdditionalInfo,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- NewErrorResponse,
- NewErrorResponseError,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/recoveryPointsRecommendedForMoveMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/recoveryPointsRecommendedForMoveMappers.ts
deleted file mode 100644
index effefcafde9d..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/recoveryPointsRecommendedForMoveMappers.ts
+++ /dev/null
@@ -1,235 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineBaseResourceList,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- JobResourceList,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- ListRecoveryPointsRecommendedForMoveRequest,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectableContainerResourceList,
- ProtectedItem,
- ProtectedItemResource,
- ProtectedItemResourceList,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionContainerResourceList,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionIntentResourceList,
- ProtectionPolicy,
- ProtectionPolicyResource,
- ProtectionPolicyResourceList,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointResourceList,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- ResourceList,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadItemResourceList,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- WorkloadProtectableItemResourceList,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/restoresMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/restoresMappers.ts
deleted file mode 100644
index a7719f9e3a6a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/restoresMappers.ts
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AADProperties,
- AADPropertiesResource,
- AzureBackupServerContainer,
- AzureBackupServerEngine,
- AzureFileShareBackupRequest,
- AzureFileShareProtectableItem,
- AzureFileshareProtectedItem,
- AzureFileshareProtectedItemExtendedInfo,
- AzureFileShareProtectionPolicy,
- AzureFileShareProvisionILRRequest,
- AzureFileShareRecoveryPoint,
- AzureFileShareRestoreRequest,
- AzureIaaSClassicComputeVMContainer,
- AzureIaaSClassicComputeVMProtectableItem,
- AzureIaaSClassicComputeVMProtectedItem,
- AzureIaaSComputeVMContainer,
- AzureIaaSComputeVMProtectableItem,
- AzureIaaSComputeVMProtectedItem,
- AzureIaaSVMErrorInfo,
- AzureIaaSVMHealthDetails,
- AzureIaaSVMJob,
- AzureIaaSVMJobExtendedInfo,
- AzureIaaSVMJobTaskDetails,
- AzureIaaSVMProtectedItem,
- AzureIaaSVMProtectedItemExtendedInfo,
- AzureIaaSVMProtectionPolicy,
- AzureRecoveryServiceVaultProtectionIntent,
- AzureResourceProtectionIntent,
- AzureSQLAGWorkloadContainerProtectionContainer,
- AzureSqlContainer,
- AzureSqlProtectedItem,
- AzureSqlProtectedItemExtendedInfo,
- AzureSqlProtectionPolicy,
- AzureStorageContainer,
- AzureStorageErrorInfo,
- AzureStorageJob,
- AzureStorageJobExtendedInfo,
- AzureStorageJobTaskDetails,
- AzureStorageProtectableContainer,
- AzureVMAppContainerProtectableContainer,
- AzureVMAppContainerProtectionContainer,
- AzureVmWorkloadItem,
- AzureVmWorkloadProtectableItem,
- AzureVmWorkloadProtectedItem,
- AzureVmWorkloadProtectedItemExtendedInfo,
- AzureVmWorkloadProtectionPolicy,
- AzureVmWorkloadSAPAseDatabaseProtectedItem,
- AzureVmWorkloadSAPAseDatabaseWorkloadItem,
- AzureVmWorkloadSAPAseSystemProtectableItem,
- AzureVmWorkloadSAPAseSystemWorkloadItem,
- AzureVmWorkloadSAPHanaDatabaseProtectableItem,
- AzureVmWorkloadSAPHanaDatabaseProtectedItem,
- AzureVmWorkloadSAPHanaDatabaseWorkloadItem,
- AzureVmWorkloadSAPHanaSystemProtectableItem,
- AzureVmWorkloadSAPHanaSystemWorkloadItem,
- AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectableItem,
- AzureVmWorkloadSQLDatabaseProtectedItem,
- AzureVmWorkloadSQLDatabaseWorkloadItem,
- AzureVmWorkloadSQLInstanceProtectableItem,
- AzureVmWorkloadSQLInstanceWorkloadItem,
- AzureWorkloadAutoProtectionIntent,
- AzureWorkloadBackupRequest,
- AzureWorkloadContainer,
- AzureWorkloadContainerExtendedInfo,
- AzureWorkloadErrorInfo,
- AzureWorkloadJob,
- AzureWorkloadJobExtendedInfo,
- AzureWorkloadJobTaskDetails,
- AzureWorkloadPointInTimeRecoveryPoint,
- AzureWorkloadPointInTimeRestoreRequest,
- AzureWorkloadRecoveryPoint,
- AzureWorkloadRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRecoveryPoint,
- AzureWorkloadSAPHanaPointInTimeRestoreRequest,
- AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSAPHanaRecoveryPoint,
- AzureWorkloadSAPHanaRestoreRequest,
- AzureWorkloadSAPHanaRestoreWithRehydrateRequest,
- AzureWorkloadSQLAutoProtectionIntent,
- AzureWorkloadSQLPointInTimeRecoveryPoint,
- AzureWorkloadSQLPointInTimeRestoreRequest,
- AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest,
- AzureWorkloadSQLRecoveryPoint,
- AzureWorkloadSQLRecoveryPointExtendedInfo,
- AzureWorkloadSQLRestoreRequest,
- AzureWorkloadSQLRestoreWithRehydrateRequest,
- BackupEngineBase,
- BackupEngineBaseResource,
- BackupEngineExtendedInfo,
- BackupRequest,
- BackupRequestResource,
- BackupResourceConfig,
- BackupResourceConfigResource,
- BackupResourceEncryptionConfig,
- BackupResourceEncryptionConfigResource,
- BackupResourceVaultConfig,
- BackupResourceVaultConfigResource,
- BaseResource,
- BEKDetails,
- CloudError,
- ContainerIdentityInfo,
- CrossRegionRestoreRequest,
- CrossRegionRestoreRequestResource,
- CrrAccessToken,
- CrrAccessTokenResource,
- CrrJobRequest,
- CrrJobRequestResource,
- DailyRetentionFormat,
- DailyRetentionSchedule,
- Day,
- DiskExclusionProperties,
- DiskInformation,
- DistributedNodesInfo,
- DpmBackupEngine,
- DpmContainer,
- DPMContainerExtendedInfo,
- DpmErrorInfo,
- DpmJob,
- DpmJobExtendedInfo,
- DpmJobTaskDetails,
- DPMProtectedItem,
- DPMProtectedItemExtendedInfo,
- EncryptionDetails,
- ErrorDetail,
- ExtendedProperties,
- GenericContainer,
- GenericContainerExtendedInfo,
- GenericProtectedItem,
- GenericProtectionPolicy,
- GenericRecoveryPoint,
- IaasVMBackupRequest,
- IaaSVMContainer,
- IaasVMILRRegistrationRequest,
- IaaSVMProtectableItem,
- IaasVMRecoveryPoint,
- IaasVMRestoreRequest,
- IaasVMRestoreWithRehydrationRequest,
- ILRRequest,
- ILRRequestResource,
- InquiryInfo,
- InquiryValidation,
- InstantRPAdditionalDetails,
- Job,
- JobResource,
- KEKDetails,
- KeyAndSecretDetails,
- KPIResourceHealthDetails,
- LogSchedulePolicy,
- LongTermRetentionPolicy,
- LongTermSchedulePolicy,
- MabContainer,
- MabContainerExtendedInfo,
- MABContainerHealthDetails,
- MabErrorInfo,
- MabFileFolderProtectedItem,
- MabFileFolderProtectedItemExtendedInfo,
- MabJob,
- MabJobExtendedInfo,
- MabJobTaskDetails,
- MabProtectionPolicy,
- MonthlyRetentionSchedule,
- PointInTimeRange,
- PreBackupValidation,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionResource,
- PrivateLinkServiceConnectionState,
- ProtectableContainer,
- ProtectableContainerResource,
- ProtectedItem,
- ProtectedItemResource,
- ProtectionContainer,
- ProtectionContainerResource,
- ProtectionIntent,
- ProtectionIntentResource,
- ProtectionPolicy,
- ProtectionPolicyResource,
- RecoveryPoint,
- RecoveryPointDiskConfiguration,
- RecoveryPointMoveReadinessInfo,
- RecoveryPointRehydrationInfo,
- RecoveryPointResource,
- RecoveryPointTierInformation,
- Resource,
- ResourceHealthDetails,
- RestoreFileSpecs,
- RestoreRequest,
- RestoreRequestResource,
- RetentionDuration,
- RetentionPolicy,
- SchedulePolicy,
- Settings,
- SimpleRetentionPolicy,
- SimpleSchedulePolicy,
- SQLDataDirectory,
- SQLDataDirectoryMapping,
- SubProtectionPolicy,
- TargetAFSRestoreInfo,
- TargetRestoreInfo,
- VaultJob,
- VaultJobErrorInfo,
- VaultJobExtendedInfo,
- WeeklyRetentionFormat,
- WeeklyRetentionSchedule,
- WorkloadCrrAccessToken,
- WorkloadInquiryDetails,
- WorkloadItem,
- WorkloadItemResource,
- WorkloadProtectableItem,
- WorkloadProtectableItemResource,
- YearlyRetentionSchedule
-} from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/securityPINsMappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/securityPINsMappers.ts
deleted file mode 100644
index a8d60e5aad92..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/securityPINsMappers.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export { discriminators, CloudError, TokenInformation } from "../models/mappers";
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/aadProperties.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/aadProperties.ts
deleted file mode 100644
index 1252f69bf91e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/aadProperties.ts
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
- */
-
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/aadPropertiesMappers";
-import * as Parameters from "../models/parameters";
-import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext";
-
-/** Class representing a AadProperties. */
-export class AadProperties {
- private readonly client: RecoveryServicesBackupClientContext;
-
- /**
- * Create a AadProperties.
- * @param {RecoveryServicesBackupClientContext} client Reference to the service client.
- */
- constructor(client: RecoveryServicesBackupClientContext) {
- this.client = client;
- }
-
- /**
- * @summary Fetches the AAD properties from target region BCM stamp.
- * @param azureRegion Azure region to hit Api
- * @param [options] The optional parameters
- * @returns Promise
- */
- get(
- azureRegion: string,
- options?: Models.AadPropertiesGetOptionalParams
- ): Promise;
- /**
- * @param azureRegion Azure region to hit Api
- * @param callback The callback
- */
- get(azureRegion: string, callback: msRest.ServiceCallback): void;
- /**
- * @param azureRegion Azure region to hit Api
- * @param options The optional parameters
- * @param callback The callback
- */
- get(
- azureRegion: string,
- options: Models.AadPropertiesGetOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- get(
- azureRegion: string,
- options?:
- | Models.AadPropertiesGetOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- azureRegion,
- options
- },
- getOperationSpec,
- callback
- ) as Promise;
- }
-}
-
-// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const getOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path:
- "subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupAadProperties",
- urlParameters: [Parameters.azureRegion, Parameters.subscriptionId],
- queryParameters: [Parameters.apiVersion1, Parameters.filter],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.AADPropertiesResource
- },
- default: {
- bodyMapper: Mappers.NewErrorResponse
- }
- },
- serializer
-};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/bMSPrepareDataMoveOperationResult.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/bMSPrepareDataMoveOperationResult.ts
index f85b8be8d222..5c84d18397e6 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/bMSPrepareDataMoveOperationResult.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/bMSPrepareDataMoveOperationResult.ts
@@ -3,25 +3,29 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/bMSPrepareDataMoveOperationResultMappers";
+import { BMSPrepareDataMoveOperationResult } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext";
+import { RecoveryServicesBackupClient } from "../recoveryServicesBackupClient";
+import {
+ BMSPrepareDataMoveOperationResultGetOptionalParams,
+ BMSPrepareDataMoveOperationResultGetResponse
+} from "../models";
-/** Class representing a BMSPrepareDataMoveOperationResult. */
-export class BMSPrepareDataMoveOperationResult {
- private readonly client: RecoveryServicesBackupClientContext;
+/** Class containing BMSPrepareDataMoveOperationResult operations. */
+export class BMSPrepareDataMoveOperationResultImpl
+ implements BMSPrepareDataMoveOperationResult {
+ private readonly client: RecoveryServicesBackupClient;
/**
- * Create a BMSPrepareDataMoveOperationResult.
- * @param {RecoveryServicesBackupClientContext} client Reference to the service client.
+ * Initialize a new instance of the class BMSPrepareDataMoveOperationResult class.
+ * @param client Reference to the service client
*/
- constructor(client: RecoveryServicesBackupClientContext) {
+ constructor(client: RecoveryServicesBackupClient) {
this.client = client;
}
@@ -29,81 +33,29 @@ export class BMSPrepareDataMoveOperationResult {
* Fetches Operation Result for Prepare Data Move
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
+ * present.
* @param operationId
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
get(
vaultName: string,
resourceGroupName: string,
operationId: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param operationId
- * @param callback The callback
- */
- get(
- vaultName: string,
- resourceGroupName: string,
- operationId: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param operationId
- * @param options The optional parameters
- * @param callback The callback
- */
- get(
- vaultName: string,
- resourceGroupName: string,
- operationId: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- get(
- vaultName: string,
- resourceGroupName: string,
- operationId: string,
- options?:
- | msRest.RequestOptionsBase
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ options?: BMSPrepareDataMoveOperationResultGetOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- vaultName,
- resourceGroupName,
- operationId,
- options
- },
- getOperationSpec,
- callback
- ) as Promise;
+ { vaultName, resourceGroupName, operationId, options },
+ getOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const getOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const getOperationSpec: coreClient.OperationSpec = {
path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig/operationResults/{operationId}",
- urlParameters: [
- Parameters.vaultName,
- Parameters.resourceGroupName,
- Parameters.subscriptionId,
- Parameters.operationId
- ],
- queryParameters: [Parameters.apiVersion0],
- headerParameters: [Parameters.acceptLanguage],
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig/operationResults/{operationId}",
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.VaultStorageConfigOperationResultResponse
@@ -113,5 +65,14 @@ const getOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.NewErrorResponse
}
},
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.vaultName,
+ Parameters.resourceGroupName,
+ Parameters.subscriptionId,
+ Parameters.operationId
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupCrrJobDetails.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupCrrJobDetails.ts
deleted file mode 100644
index 60fd4d0ccd8a..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupCrrJobDetails.ts
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
- */
-
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/backupCrrJobDetailsMappers";
-import * as Parameters from "../models/parameters";
-import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext";
-
-/** Class representing a BackupCrrJobDetails. */
-export class BackupCrrJobDetails {
- private readonly client: RecoveryServicesBackupClientContext;
-
- /**
- * Create a BackupCrrJobDetails.
- * @param {RecoveryServicesBackupClientContext} client Reference to the service client.
- */
- constructor(client: RecoveryServicesBackupClientContext) {
- this.client = client;
- }
-
- /**
- * @summary Get CRR job details from target region.
- * @param azureRegion Azure region to hit Api
- * @param parameters CRR Job request
- * @param [options] The optional parameters
- * @returns Promise
- */
- get(
- azureRegion: string,
- parameters: Models.CrrJobRequest,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param azureRegion Azure region to hit Api
- * @param parameters CRR Job request
- * @param callback The callback
- */
- get(
- azureRegion: string,
- parameters: Models.CrrJobRequest,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param azureRegion Azure region to hit Api
- * @param parameters CRR Job request
- * @param options The optional parameters
- * @param callback The callback
- */
- get(
- azureRegion: string,
- parameters: Models.CrrJobRequest,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- get(
- azureRegion: string,
- parameters: Models.CrrJobRequest,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- azureRegion,
- parameters,
- options
- },
- getOperationSpec,
- callback
- ) as Promise;
- }
-}
-
-// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const getOperationSpec: msRest.OperationSpec = {
- httpMethod: "POST",
- path:
- "subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupCrrJob",
- urlParameters: [Parameters.azureRegion, Parameters.subscriptionId],
- queryParameters: [Parameters.apiVersion1],
- headerParameters: [Parameters.acceptLanguage],
- requestBody: {
- parameterPath: "parameters",
- mapper: {
- ...Mappers.CrrJobRequest,
- required: true
- }
- },
- responses: {
- 200: {
- bodyMapper: Mappers.JobResource
- },
- default: {
- bodyMapper: Mappers.NewErrorResponse
- }
- },
- serializer
-};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupCrrJobs.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupCrrJobs.ts
deleted file mode 100644
index 80b8046c906e..000000000000
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupCrrJobs.ts
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
- */
-
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/backupCrrJobsMappers";
-import * as Parameters from "../models/parameters";
-import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext";
-
-/** Class representing a BackupCrrJobs. */
-export class BackupCrrJobs {
- private readonly client: RecoveryServicesBackupClientContext;
-
- /**
- * Create a BackupCrrJobs.
- * @param {RecoveryServicesBackupClientContext} client Reference to the service client.
- */
- constructor(client: RecoveryServicesBackupClientContext) {
- this.client = client;
- }
-
- /**
- * @summary Gets the list of CRR jobs from the target region.
- * @param azureRegion Azure region to hit Api
- * @param parameters Backup CRR Job request
- * @param [options] The optional parameters
- * @returns Promise
- */
- list(
- azureRegion: string,
- parameters: Models.CrrJobRequest,
- options?: Models.BackupCrrJobsListOptionalParams
- ): Promise;
- /**
- * @param azureRegion Azure region to hit Api
- * @param parameters Backup CRR Job request
- * @param callback The callback
- */
- list(
- azureRegion: string,
- parameters: Models.CrrJobRequest,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param azureRegion Azure region to hit Api
- * @param parameters Backup CRR Job request
- * @param options The optional parameters
- * @param callback The callback
- */
- list(
- azureRegion: string,
- parameters: Models.CrrJobRequest,
- options: Models.BackupCrrJobsListOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- list(
- azureRegion: string,
- parameters: Models.CrrJobRequest,
- options?:
- | Models.BackupCrrJobsListOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- azureRegion,
- parameters,
- options
- },
- listOperationSpec,
- callback
- ) as Promise;
- }
-
- /**
- * @summary Gets the list of CRR jobs from the target region.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listNext(
- nextPageLink: string,
- options?: Models.BackupCrrJobsListNextOptionalParams
- ): Promise;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
- */
- listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
- */
- listNext(
- nextPageLink: string,
- options: Models.BackupCrrJobsListNextOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- listNext(
- nextPageLink: string,
- options?:
- | Models.BackupCrrJobsListNextOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listNextOperationSpec,
- callback
- ) as Promise;
- }
-}
-
-// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const listOperationSpec: msRest.OperationSpec = {
- httpMethod: "POST",
- path:
- "subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupCrrJobs",
- urlParameters: [Parameters.azureRegion, Parameters.subscriptionId],
- queryParameters: [Parameters.apiVersion1, Parameters.filter, Parameters.skipToken],
- headerParameters: [Parameters.acceptLanguage],
- requestBody: {
- parameterPath: "parameters",
- mapper: {
- ...Mappers.CrrJobRequest,
- required: true
- }
- },
- responses: {
- 200: {
- bodyMapper: Mappers.JobResourceList
- },
- default: {
- bodyMapper: Mappers.NewErrorResponse
- }
- },
- serializer
-};
-
-const listNextOperationSpec: msRest.OperationSpec = {
- httpMethod: "POST",
- baseUrl: "https://management.azure.com",
- path: "{nextLink}",
- urlParameters: [Parameters.nextPageLink],
- queryParameters: [Parameters.apiVersion1, Parameters.filter, Parameters.skipToken],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.JobResourceList
- },
- default: {
- bodyMapper: Mappers.NewErrorResponse
- }
- },
- serializer
-};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupEngines.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupEngines.ts
index 2bf63551c984..6679aae7db0f 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupEngines.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupEngines.ts
@@ -3,205 +3,163 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/backupEnginesMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { BackupEngines } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext";
+import { RecoveryServicesBackupClient } from "../recoveryServicesBackupClient";
+import {
+ BackupEngineBaseResource,
+ BackupEnginesListNextOptionalParams,
+ BackupEnginesListOptionalParams,
+ BackupEnginesListResponse,
+ BackupEnginesGetOptionalParams,
+ BackupEnginesGetResponse,
+ BackupEnginesListNextResponse
+} from "../models";
-/** Class representing a BackupEngines. */
-export class BackupEngines {
- private readonly client: RecoveryServicesBackupClientContext;
+///
+/** Class containing BackupEngines operations. */
+export class BackupEnginesImpl implements BackupEngines {
+ private readonly client: RecoveryServicesBackupClient;
/**
- * Create a BackupEngines.
- * @param {RecoveryServicesBackupClientContext} client Reference to the service client.
+ * Initialize a new instance of the class BackupEngines class.
+ * @param client Reference to the service client
*/
- constructor(client: RecoveryServicesBackupClientContext) {
+ constructor(client: RecoveryServicesBackupClient) {
this.client = client;
}
/**
- * Backup management servers registered to Recovery Services Vault. Returns a pageable list of
- * servers.
+ * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param [options] The optional parameters
- * @returns Promise
+ * present.
+ * @param options The options parameters.
*/
- list(
+ public list(
vaultName: string,
resourceGroupName: string,
- options?: Models.BackupEnginesListOptionalParams
- ): Promise;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param callback The callback
- */
- list(
- vaultName: string,
- resourceGroupName: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param options The optional parameters
- * @param callback The callback
- */
- list(
- vaultName: string,
- resourceGroupName: string,
- options: Models.BackupEnginesListOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- list(
+ options?: BackupEnginesListOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listPagingAll(vaultName, resourceGroupName, options);
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listPagingPage(vaultName, resourceGroupName, options);
+ }
+ };
+ }
+
+ private async *listPagingPage(
vaultName: string,
resourceGroupName: string,
- options?:
- | Models.BackupEnginesListOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
+ options?: BackupEnginesListOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._list(vaultName, resourceGroupName, options);
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listNext(
vaultName,
resourceGroupName,
+ continuationToken,
options
- },
- listOperationSpec,
- callback
- ) as Promise;
+ );
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
}
- /**
- * Returns backup management server registered to Recovery Services Vault.
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param backupEngineName Name of the backup management server.
- * @param [options] The optional parameters
- * @returns Promise
- */
- get(
+ private async *listPagingAll(
vaultName: string,
resourceGroupName: string,
- backupEngineName: string,
- options?: Models.BackupEnginesGetOptionalParams
- ): Promise;
+ options?: BackupEnginesListOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listPagingPage(
+ vaultName,
+ resourceGroupName,
+ options
+ )) {
+ yield* page;
+ }
+ }
+
/**
+ * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param backupEngineName Name of the backup management server.
- * @param callback The callback
+ * present.
+ * @param options The options parameters.
*/
- get(
+ private _list(
vaultName: string,
resourceGroupName: string,
- backupEngineName: string,
- callback: msRest.ServiceCallback
- ): void;
+ options?: BackupEnginesListOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest(
+ { vaultName, resourceGroupName, options },
+ listOperationSpec
+ );
+ }
+
/**
+ * Returns backup management server registered to Recovery Services Vault.
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
+ * present.
* @param backupEngineName Name of the backup management server.
- * @param options The optional parameters
- * @param callback The callback
+ * @param options The options parameters.
*/
get(
vaultName: string,
resourceGroupName: string,
backupEngineName: string,
- options: Models.BackupEnginesGetOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- get(
- vaultName: string,
- resourceGroupName: string,
- backupEngineName: string,
- options?:
- | Models.BackupEnginesGetOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ options?: BackupEnginesGetOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- vaultName,
- resourceGroupName,
- backupEngineName,
- options
- },
- getOperationSpec,
- callback
- ) as Promise;
+ { vaultName, resourceGroupName, backupEngineName, options },
+ getOperationSpec
+ );
}
/**
- * Backup management servers registered to Recovery Services Vault. Returns a pageable list of
- * servers.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listNext(
- nextPageLink: string,
- options?: Models.BackupEnginesListNextOptionalParams
- ): Promise;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
- */
- listNext(
- nextPageLink: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
+ * ListNext
+ * @param vaultName The name of the recovery services vault.
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
+ * present.
+ * @param nextLink The nextLink from the previous successful call to the List method.
+ * @param options The options parameters.
*/
- listNext(
- nextPageLink: string,
- options: Models.BackupEnginesListNextOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- listNext(
- nextPageLink: string,
- options?:
- | Models.BackupEnginesListNextOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ private _listNext(
+ vaultName: string,
+ resourceGroupName: string,
+ nextLink: string,
+ options?: BackupEnginesListNextOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listNextOperationSpec,
- callback
- ) as Promise;
+ { vaultName, resourceGroupName, nextLink, options },
+ listNextOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const listOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const listOperationSpec: coreClient.OperationSpec = {
path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines",
- urlParameters: [Parameters.vaultName, Parameters.resourceGroupName, Parameters.subscriptionId],
- queryParameters: [Parameters.apiVersion0, Parameters.filter, Parameters.skipToken],
- headerParameters: [Parameters.acceptLanguage],
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines",
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.BackupEngineBaseResourceList
@@ -210,21 +168,24 @@ const listOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
- serializer
-};
-
-const getOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines/{backupEngineName}",
+ queryParameters: [
+ Parameters.apiVersion,
+ Parameters.filter,
+ Parameters.skipToken
+ ],
urlParameters: [
+ Parameters.$host,
Parameters.vaultName,
Parameters.resourceGroupName,
- Parameters.subscriptionId,
- Parameters.backupEngineName
+ Parameters.subscriptionId
],
- queryParameters: [Parameters.apiVersion0, Parameters.filter, Parameters.skipToken],
- headerParameters: [Parameters.acceptLanguage],
+ headerParameters: [Parameters.accept],
+ serializer
+};
+const getOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines/{backupEngineName}",
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.BackupEngineBaseResource
@@ -233,16 +194,24 @@ const getOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
+ queryParameters: [
+ Parameters.apiVersion,
+ Parameters.filter,
+ Parameters.skipToken
+ ],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.vaultName,
+ Parameters.resourceGroupName,
+ Parameters.subscriptionId,
+ Parameters.backupEngineName
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const listNextOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- baseUrl: "https://management.azure.com",
+const listNextOperationSpec: coreClient.OperationSpec = {
path: "{nextLink}",
- urlParameters: [Parameters.nextPageLink],
- queryParameters: [Parameters.apiVersion0, Parameters.filter, Parameters.skipToken],
- headerParameters: [Parameters.acceptLanguage],
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.BackupEngineBaseResourceList
@@ -251,5 +220,18 @@ const listNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
+ queryParameters: [
+ Parameters.apiVersion,
+ Parameters.filter,
+ Parameters.skipToken
+ ],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.vaultName,
+ Parameters.resourceGroupName,
+ Parameters.subscriptionId,
+ Parameters.nextLink
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupJobs.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupJobs.ts
index 0d24d427ed6f..53f7e01c55ae 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupJobs.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupJobs.ts
@@ -3,25 +3,33 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/backupJobsMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { BackupJobs } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext";
+import { RecoveryServicesBackupClient } from "../recoveryServicesBackupClient";
+import {
+ JobResource,
+ BackupJobsListNextOptionalParams,
+ BackupJobsListOptionalParams,
+ BackupJobsListResponse,
+ BackupJobsListNextResponse
+} from "../models";
-/** Class representing a BackupJobs. */
-export class BackupJobs {
- private readonly client: RecoveryServicesBackupClientContext;
+///
+/** Class containing BackupJobs operations. */
+export class BackupJobsImpl implements BackupJobs {
+ private readonly client: RecoveryServicesBackupClient;
/**
- * Create a BackupJobs.
- * @param {RecoveryServicesBackupClientContext} client Reference to the service client.
+ * Initialize a new instance of the class BackupJobs class.
+ * @param client Reference to the service client
*/
- constructor(client: RecoveryServicesBackupClientContext) {
+ constructor(client: RecoveryServicesBackupClient) {
this.client = client;
}
@@ -29,108 +37,107 @@ export class BackupJobs {
* Provides a pageable list of jobs.
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param [options] The optional parameters
- * @returns Promise
+ * present.
+ * @param options The options parameters.
*/
- list(
+ public list(
vaultName: string,
resourceGroupName: string,
- options?: Models.BackupJobsListOptionalParams
- ): Promise;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param callback The callback
- */
- list(
+ options?: BackupJobsListOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listPagingAll(vaultName, resourceGroupName, options);
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listPagingPage(vaultName, resourceGroupName, options);
+ }
+ };
+ }
+
+ private async *listPagingPage(
+ vaultName: string,
+ resourceGroupName: string,
+ options?: BackupJobsListOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._list(vaultName, resourceGroupName, options);
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listNext(
+ vaultName,
+ resourceGroupName,
+ continuationToken,
+ options
+ );
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listPagingAll(
vaultName: string,
resourceGroupName: string,
- callback: msRest.ServiceCallback
- ): void;
+ options?: BackupJobsListOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listPagingPage(
+ vaultName,
+ resourceGroupName,
+ options
+ )) {
+ yield* page;
+ }
+ }
+
/**
+ * Provides a pageable list of jobs.
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param options The optional parameters
- * @param callback The callback
+ * present.
+ * @param options The options parameters.
*/
- list(
- vaultName: string,
- resourceGroupName: string,
- options: Models.BackupJobsListOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- list(
+ private _list(
vaultName: string,
resourceGroupName: string,
- options?: Models.BackupJobsListOptionalParams | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ options?: BackupJobsListOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- vaultName,
- resourceGroupName,
- options
- },
- listOperationSpec,
- callback
- ) as Promise;
+ { vaultName, resourceGroupName, options },
+ listOperationSpec
+ );
}
/**
- * Provides a pageable list of jobs.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listNext(
- nextPageLink: string,
- options?: Models.BackupJobsListNextOptionalParams
- ): Promise;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
- */
- listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
+ * ListNext
+ * @param vaultName The name of the recovery services vault.
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
+ * present.
+ * @param nextLink The nextLink from the previous successful call to the List method.
+ * @param options The options parameters.
*/
- listNext(
- nextPageLink: string,
- options: Models.BackupJobsListNextOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- listNext(
- nextPageLink: string,
- options?:
- | Models.BackupJobsListNextOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ private _listNext(
+ vaultName: string,
+ resourceGroupName: string,
+ nextLink: string,
+ options?: BackupJobsListNextOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listNextOperationSpec,
- callback
- ) as Promise;
+ { vaultName, resourceGroupName, nextLink, options },
+ listNextOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const listOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const listOperationSpec: coreClient.OperationSpec = {
path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs",
- urlParameters: [Parameters.vaultName, Parameters.resourceGroupName, Parameters.subscriptionId],
- queryParameters: [Parameters.apiVersion0, Parameters.filter, Parameters.skipToken],
- headerParameters: [Parameters.acceptLanguage],
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs",
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.JobResourceList
@@ -139,16 +146,23 @@ const listOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
+ queryParameters: [
+ Parameters.apiVersion,
+ Parameters.filter,
+ Parameters.skipToken
+ ],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.vaultName,
+ Parameters.resourceGroupName,
+ Parameters.subscriptionId
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const listNextOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- baseUrl: "https://management.azure.com",
+const listNextOperationSpec: coreClient.OperationSpec = {
path: "{nextLink}",
- urlParameters: [Parameters.nextPageLink],
- queryParameters: [Parameters.apiVersion0, Parameters.filter, Parameters.skipToken],
- headerParameters: [Parameters.acceptLanguage],
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.JobResourceList
@@ -157,5 +171,18 @@ const listNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
+ queryParameters: [
+ Parameters.apiVersion,
+ Parameters.filter,
+ Parameters.skipToken
+ ],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.vaultName,
+ Parameters.resourceGroupName,
+ Parameters.subscriptionId,
+ Parameters.nextLink
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupOperationResults.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupOperationResults.ts
index 886b27e600fa..01ec8b22c050 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupOperationResults.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupOperationResults.ts
@@ -3,110 +3,61 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as Mappers from "../models/backupOperationResultsMappers";
+import { BackupOperationResults } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext";
+import { RecoveryServicesBackupClient } from "../recoveryServicesBackupClient";
+import { BackupOperationResultsGetOptionalParams } from "../models";
-/** Class representing a BackupOperationResults. */
-export class BackupOperationResults {
- private readonly client: RecoveryServicesBackupClientContext;
+/** Class containing BackupOperationResults operations. */
+export class BackupOperationResultsImpl implements BackupOperationResults {
+ private readonly client: RecoveryServicesBackupClient;
/**
- * Create a BackupOperationResults.
- * @param {RecoveryServicesBackupClientContext} client Reference to the service client.
+ * Initialize a new instance of the class BackupOperationResults class.
+ * @param client Reference to the service client
*/
- constructor(client: RecoveryServicesBackupClientContext) {
+ constructor(client: RecoveryServicesBackupClient) {
this.client = client;
}
/**
- * Provides the status of the delete operations such as deleting backed up item. Once the operation
- * has started, the
- * status code in the response would be Accepted. It will continue to be in this state till it
- * reaches completion. On
- * successful completion, the status code will be OK. This method expects OperationID as an
- * argument. OperationID is
+ * Provides the status of the delete operations such as deleting backed up item. Once the operation has
+ * started, the
+ * status code in the response would be Accepted. It will continue to be in this state till it reaches
+ * completion. On
+ * successful completion, the status code will be OK. This method expects OperationID as an argument.
+ * OperationID is
* part of the Location header of the operation response.
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
+ * present.
* @param operationId OperationID which represents the operation.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
get(
vaultName: string,
resourceGroupName: string,
operationId: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param operationId OperationID which represents the operation.
- * @param callback The callback
- */
- get(
- vaultName: string,
- resourceGroupName: string,
- operationId: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param operationId OperationID which represents the operation.
- * @param options The optional parameters
- * @param callback The callback
- */
- get(
- vaultName: string,
- resourceGroupName: string,
- operationId: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- get(
- vaultName: string,
- resourceGroupName: string,
- operationId: string,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ options?: BackupOperationResultsGetOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- vaultName,
- resourceGroupName,
- operationId,
- options
- },
- getOperationSpec,
- callback
+ { vaultName, resourceGroupName, operationId, options },
+ getOperationSpec
);
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const getOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const getOperationSpec: coreClient.OperationSpec = {
path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupOperationResults/{operationId}",
- urlParameters: [
- Parameters.vaultName,
- Parameters.resourceGroupName,
- Parameters.subscriptionId,
- Parameters.operationId
- ],
- queryParameters: [Parameters.apiVersion0],
- headerParameters: [Parameters.acceptLanguage],
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupOperationResults/{operationId}",
+ httpMethod: "GET",
responses: {
200: {},
202: {},
@@ -115,5 +66,14 @@ const getOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.vaultName,
+ Parameters.resourceGroupName,
+ Parameters.subscriptionId,
+ Parameters.operationId
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupOperationStatuses.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupOperationStatuses.ts
index 025fa7015648..1e9ffe41d2d5 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupOperationStatuses.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupOperationStatuses.ts
@@ -3,109 +3,62 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/backupOperationStatusesMappers";
+import { BackupOperationStatuses } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext";
+import { RecoveryServicesBackupClient } from "../recoveryServicesBackupClient";
+import {
+ BackupOperationStatusesGetOptionalParams,
+ BackupOperationStatusesGetResponse
+} from "../models";
-/** Class representing a BackupOperationStatuses. */
-export class BackupOperationStatuses {
- private readonly client: RecoveryServicesBackupClientContext;
+/** Class containing BackupOperationStatuses operations. */
+export class BackupOperationStatusesImpl implements BackupOperationStatuses {
+ private readonly client: RecoveryServicesBackupClient;
/**
- * Create a BackupOperationStatuses.
- * @param {RecoveryServicesBackupClientContext} client Reference to the service client.
+ * Initialize a new instance of the class BackupOperationStatuses class.
+ * @param client Reference to the service client
*/
- constructor(client: RecoveryServicesBackupClientContext) {
+ constructor(client: RecoveryServicesBackupClient) {
this.client = client;
}
/**
* Fetches the status of an operation such as triggering a backup, restore. The status can be in
* progress, completed
- * or failed. You can refer to the OperationStatus enum for all the possible states of an
- * operation. Some operations
+ * or failed. You can refer to the OperationStatus enum for all the possible states of an operation.
+ * Some operations
* create jobs. This method returns the list of jobs when the operation is complete.
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
+ * present.
* @param operationId OperationID which represents the operation.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
get(
vaultName: string,
resourceGroupName: string,
operationId: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param operationId OperationID which represents the operation.
- * @param callback The callback
- */
- get(
- vaultName: string,
- resourceGroupName: string,
- operationId: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param operationId OperationID which represents the operation.
- * @param options The optional parameters
- * @param callback The callback
- */
- get(
- vaultName: string,
- resourceGroupName: string,
- operationId: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- get(
- vaultName: string,
- resourceGroupName: string,
- operationId: string,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ options?: BackupOperationStatusesGetOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- vaultName,
- resourceGroupName,
- operationId,
- options
- },
- getOperationSpec,
- callback
- ) as Promise;
+ { vaultName, resourceGroupName, operationId, options },
+ getOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const getOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const getOperationSpec: coreClient.OperationSpec = {
path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupOperations/{operationId}",
- urlParameters: [
- Parameters.vaultName,
- Parameters.resourceGroupName,
- Parameters.subscriptionId,
- Parameters.operationId
- ],
- queryParameters: [Parameters.apiVersion0],
- headerParameters: [Parameters.acceptLanguage],
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupOperations/{operationId}",
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.OperationStatus
@@ -114,5 +67,14 @@ const getOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
+ queryParameters: [Parameters.apiVersion],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.vaultName,
+ Parameters.resourceGroupName,
+ Parameters.subscriptionId,
+ Parameters.operationId
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupPolicies.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupPolicies.ts
index 75788a204848..baa179a95ac9 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupPolicies.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupPolicies.ts
@@ -3,143 +3,145 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/backupPoliciesMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { BackupPolicies } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext";
+import { RecoveryServicesBackupClient } from "../recoveryServicesBackupClient";
+import {
+ ProtectionPolicyResource,
+ BackupPoliciesListNextOptionalParams,
+ BackupPoliciesListOptionalParams,
+ BackupPoliciesListResponse,
+ BackupPoliciesListNextResponse
+} from "../models";
-/** Class representing a BackupPolicies. */
-export class BackupPolicies {
- private readonly client: RecoveryServicesBackupClientContext;
+///
+/** Class containing BackupPolicies operations. */
+export class BackupPoliciesImpl implements BackupPolicies {
+ private readonly client: RecoveryServicesBackupClient;
/**
- * Create a BackupPolicies.
- * @param {RecoveryServicesBackupClientContext} client Reference to the service client.
+ * Initialize a new instance of the class BackupPolicies class.
+ * @param client Reference to the service client
*/
- constructor(client: RecoveryServicesBackupClientContext) {
+ constructor(client: RecoveryServicesBackupClient) {
this.client = client;
}
/**
- * Lists of backup policies associated with Recovery Services Vault. API provides pagination
- * parameters to fetch
+ * Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters
+ * to fetch
* scoped results.
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param [options] The optional parameters
- * @returns Promise
+ * present.
+ * @param options The options parameters.
*/
- list(
+ public list(
vaultName: string,
resourceGroupName: string,
- options?: Models.BackupPoliciesListOptionalParams
- ): Promise;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param callback The callback
- */
- list(
+ options?: BackupPoliciesListOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listPagingAll(vaultName, resourceGroupName, options);
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listPagingPage(vaultName, resourceGroupName, options);
+ }
+ };
+ }
+
+ private async *listPagingPage(
+ vaultName: string,
+ resourceGroupName: string,
+ options?: BackupPoliciesListOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._list(vaultName, resourceGroupName, options);
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listNext(
+ vaultName,
+ resourceGroupName,
+ continuationToken,
+ options
+ );
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listPagingAll(
vaultName: string,
resourceGroupName: string,
- callback: msRest.ServiceCallback
- ): void;
+ options?: BackupPoliciesListOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listPagingPage(
+ vaultName,
+ resourceGroupName,
+ options
+ )) {
+ yield* page;
+ }
+ }
+
/**
+ * Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters
+ * to fetch
+ * scoped results.
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param options The optional parameters
- * @param callback The callback
+ * present.
+ * @param options The options parameters.
*/
- list(
- vaultName: string,
- resourceGroupName: string,
- options: Models.BackupPoliciesListOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- list(
+ private _list(
vaultName: string,
resourceGroupName: string,
- options?:
- | Models.BackupPoliciesListOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ options?: BackupPoliciesListOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- vaultName,
- resourceGroupName,
- options
- },
- listOperationSpec,
- callback
- ) as Promise;
+ { vaultName, resourceGroupName, options },
+ listOperationSpec
+ );
}
/**
- * Lists of backup policies associated with Recovery Services Vault. API provides pagination
- * parameters to fetch
- * scoped results.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listNext(
- nextPageLink: string,
- options?: Models.BackupPoliciesListNextOptionalParams
- ): Promise;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
- */
- listNext(
- nextPageLink: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
+ * ListNext
+ * @param vaultName The name of the recovery services vault.
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
+ * present.
+ * @param nextLink The nextLink from the previous successful call to the List method.
+ * @param options The options parameters.
*/
- listNext(
- nextPageLink: string,
- options: Models.BackupPoliciesListNextOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- listNext(
- nextPageLink: string,
- options?:
- | Models.BackupPoliciesListNextOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ private _listNext(
+ vaultName: string,
+ resourceGroupName: string,
+ nextLink: string,
+ options?: BackupPoliciesListNextOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listNextOperationSpec,
- callback
- ) as Promise;
+ { vaultName, resourceGroupName, nextLink, options },
+ listNextOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const listOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const listOperationSpec: coreClient.OperationSpec = {
path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies",
- urlParameters: [Parameters.vaultName, Parameters.resourceGroupName, Parameters.subscriptionId],
- queryParameters: [Parameters.apiVersion0, Parameters.filter],
- headerParameters: [Parameters.acceptLanguage],
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies",
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ProtectionPolicyResourceList
@@ -148,16 +150,19 @@ const listOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.vaultName,
+ Parameters.resourceGroupName,
+ Parameters.subscriptionId
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const listNextOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- baseUrl: "https://management.azure.com",
+const listNextOperationSpec: coreClient.OperationSpec = {
path: "{nextLink}",
- urlParameters: [Parameters.nextPageLink],
- queryParameters: [Parameters.apiVersion0, Parameters.filter],
- headerParameters: [Parameters.acceptLanguage],
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ProtectionPolicyResourceList
@@ -166,5 +171,14 @@ const listNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.vaultName,
+ Parameters.resourceGroupName,
+ Parameters.subscriptionId,
+ Parameters.nextLink
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupProtectableItems.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupProtectableItems.ts
index b293c1224b78..0aac76712376 100644
--- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupProtectableItems.ts
+++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operations/backupProtectableItems.ts
@@ -3,25 +3,33 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/backupProtectableItemsMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { BackupProtectableItems } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext";
+import { RecoveryServicesBackupClient } from "../recoveryServicesBackupClient";
+import {
+ WorkloadProtectableItemResource,
+ BackupProtectableItemsListNextOptionalParams,
+ BackupProtectableItemsListOptionalParams,
+ BackupProtectableItemsListResponse,
+ BackupProtectableItemsListNextResponse
+} from "../models";
-/** Class representing a BackupProtectableItems. */
-export class BackupProtectableItems {
- private readonly client: RecoveryServicesBackupClientContext;
+///
+/** Class containing BackupProtectableItems operations. */
+export class BackupProtectableItemsImpl implements BackupProtectableItems {
+ private readonly client: RecoveryServicesBackupClient;
/**
- * Create a BackupProtectableItems.
- * @param {RecoveryServicesBackupClientContext} client Reference to the service client.
+ * Initialize a new instance of the class BackupProtectableItems class.
+ * @param client Reference to the service client
*/
- constructor(client: RecoveryServicesBackupClientContext) {
+ constructor(client: RecoveryServicesBackupClient) {
this.client = client;
}
@@ -31,115 +39,109 @@ export class BackupProtectableItems {
* pagination parameters.
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param [options] The optional parameters
- * @returns Promise
+ * present.
+ * @param options The options parameters.
*/
- list(
+ public list(
vaultName: string,
resourceGroupName: string,
- options?: Models.BackupProtectableItemsListOptionalParams
- ): Promise;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param callback The callback
- */
- list(
- vaultName: string,
- resourceGroupName: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is
- * present.
- * @param options The optional parameters
- * @param callback The callback
- */
- list(
- vaultName: string,
- resourceGroupName: string,
- options: Models.BackupProtectableItemsListOptionalParams,
- callback: msRest.ServiceCallback
- ): void;
- list(
+ options?: BackupProtectableItemsListOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listPagingAll(vaultName, resourceGroupName, options);
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listPagingPage(vaultName, resourceGroupName, options);
+ }
+ };
+ }
+
+ private async *listPagingPage(
vaultName: string,
resourceGroupName: string,
- options?:
- | Models.BackupProtectableItemsListOptionalParams
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback