From 5ec9a14ae90e3e3a8269c709768dbbaf2d34d678 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 2 Feb 2021 16:42:56 +0000 Subject: [PATCH] CodeGen from PR 12785 in Azure/azure-rest-api-specs Merge 1ce8d3fc5e113de348512ff65aa93993cede917a into 56348ad232409e3266eaef220e88ae5d64f49ad7 --- .../LICENSE.txt | 2 +- .../README.md | 23 +- .../package.json | 22 +- .../rollup.config.js | 24 +- .../src/models/index.ts | 15577 +++++++------ .../src/models/mappers.ts | 18237 +++++++++++----- .../models/migrationRecoveryPointsMappers.ts | 214 + .../src/models/operationsMappers.ts | 15 +- .../src/models/parameters.ts | 67 +- .../src/models/recoveryPointsMappers.ts | 225 +- .../models/replicationAlertSettingsMappers.ts | 223 +- ...tionEligibilityResultsOperationsMappers.ts | 16 + .../src/models/replicationEventsMappers.ts | 229 +- .../src/models/replicationFabricsMappers.ts | 245 +- .../src/models/replicationJobsMappers.ts | 221 +- .../replicationLogicalNetworksMappers.ts | 229 +- .../replicationMigrationItemsMappers.ts | 234 + .../replicationNetworkMappingsMappers.ts | 237 +- .../src/models/replicationNetworksMappers.ts | 227 +- .../src/models/replicationPoliciesMappers.ts | 226 +- .../replicationProtectableItemsMappers.ts | 227 +- .../replicationProtectedItemsMappers.ts | 310 +- ...ationProtectionContainerMappingsMappers.ts | 248 +- .../replicationProtectionContainersMappers.ts | 245 +- .../replicationProtectionIntentsMappers.ts | 234 + .../models/replicationRecoveryPlansMappers.ts | 256 +- ...icationRecoveryServicesProvidersMappers.ts | 232 +- ...ionStorageClassificationMappingsMappers.ts | 231 +- ...eplicationStorageClassificationsMappers.ts | 227 +- .../models/replicationVaultHealthMappers.ts | 227 +- .../models/replicationVaultSettingMappers.ts | 216 + .../src/models/replicationvCentersMappers.ts | 233 +- ...portedOperatingSystemsOperationsMappers.ts | 213 + .../src/models/targetComputeSizesMappers.ts | 17 +- .../src/operations/index.ts | 11 +- .../src/operations/migrationRecoveryPoints.ts | 214 + .../src/operations/operations.ts | 8 +- .../src/operations/recoveryPoints.ts | 8 +- .../operations/replicationAlertSettings.ts | 8 +- ...replicationEligibilityResultsOperations.ts | 137 + .../src/operations/replicationEvents.ts | 15 +- .../src/operations/replicationFabrics.ts | 8 +- .../src/operations/replicationJobs.ts | 19 +- .../operations/replicationLogicalNetworks.ts | 8 +- .../operations/replicationMigrationItems.ts | 746 + .../operations/replicationNetworkMappings.ts | 11 +- .../src/operations/replicationNetworks.ts | 11 +- .../src/operations/replicationPolicies.ts | 8 +- .../operations/replicationProtectableItems.ts | 15 +- .../operations/replicationProtectedItems.ts | 241 +- .../replicationProtectionContainerMappings.ts | 11 +- .../replicationProtectionContainers.ts | 11 +- .../replicationProtectionIntents.ts | 253 + .../operations/replicationRecoveryPlans.ts | 8 +- .../replicationRecoveryServicesProviders.ts | 81 +- ...eplicationStorageClassificationMappings.ts | 17 +- .../replicationStorageClassifications.ts | 11 +- .../src/operations/replicationVaultHealth.ts | 5 +- .../src/operations/replicationVaultSetting.ts | 254 + .../src/operations/replicationvCenters.ts | 15 +- .../supportedOperatingSystemsOperations.ts | 78 + .../src/operations/targetComputeSizes.ts | 8 +- .../src/siteRecoveryManagementClient.ts | 17 +- .../siteRecoveryManagementClientContext.ts | 9 +- .../tsconfig.json | 2 +- 65 files changed, 27750 insertions(+), 14107 deletions(-) create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/migrationRecoveryPointsMappers.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEligibilityResultsOperationsMappers.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationMigrationItemsMappers.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionIntentsMappers.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultSettingMappers.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/supportedOperatingSystemsOperationsMappers.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/migrationRecoveryPoints.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationEligibilityResultsOperations.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationMigrationItems.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionIntents.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationVaultSetting.ts create mode 100644 sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/supportedOperatingSystemsOperations.ts diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/LICENSE.txt b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/LICENSE.txt index a70e8cf66038..2d3163745319 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/LICENSE.txt +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md index 330bfc2c296c..3cf9ae21c320 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md @@ -9,27 +9,27 @@ This package contains an isomorphic SDK for SiteRecoveryManagementClient. ### How to Install -``` +```bash npm install @azure/arm-recoveryservices-siterecovery ``` ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +#### nodejs - client creation and list operations as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth -``` -npm install @azure/ms-rest-nodeauth +- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +```bash +npm install @azure/ms-rest-nodeauth@"^3.0.0" ``` ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { SiteRecoveryManagementClient, SiteRecoveryManagementModels, SiteRecoveryManagementMappers } from "@azure/arm-recoveryservices-siterecovery"; +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package +```typescript +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { SiteRecoveryManagementClient } = require("@azure/arm-recoveryservices-siterecovery"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { @@ -47,7 +47,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -95,5 +95,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [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%2Frecoveryservicessiterecovery%2Farm-recoveryservices-siterecovery%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.png) diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json index 2b7af5044dfc..ecb3b37bd1cb 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json @@ -4,9 +4,9 @@ "description": "SiteRecoveryManagementClient Library with typescript type definitions for node.js and browser.", "version": "3.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,18 +20,19 @@ "module": "./esm/siteRecoveryManagementClient.js", "types": "./esm/siteRecoveryManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" + "typescript": "^3.5.3", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-sourcemaps": "^0.4.2", + "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/rollup.config.js b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/rollup.config.js index 9c289477ee2a..19fc834e5e7b 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/rollup.config.js +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/siteRecoveryManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/siteRecoveryManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-recoveryservices-siterecovery.js", format: "umd", @@ -15,17 +21,17 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ mainFields: ['module', 'main'] }), + sourcemaps() ] }; + export default config; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/index.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/index.ts index bc6c2955108e..ee9925ebbc98 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/index.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/index.ts @@ -1,11 +1,9 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,34 +11,156 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; +/** + * Azure VM disk input details. + */ +export interface A2AVmDiskInputDetails { + /** + * The disk Uri. + */ + diskUri?: string; + /** + * The recovery VHD storage account Id. + */ + recoveryAzureStorageAccountId?: string; + /** + * The primary staging storage account Id. + */ + primaryStagingAzureStorageAccountId?: string; +} + +/** + * Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows). + */ +export interface DiskEncryptionKeyInfo { + /** + * The secret URL / identifier. + */ + secretIdentifier?: string; + /** + * The KeyVault resource ARM Id for secret. + */ + keyVaultResourceArmId?: string; +} + +/** + * Key Encryption Key (KEK) information. + */ +export interface KeyEncryptionKeyInfo { + /** + * The key URL / identifier. + */ + keyIdentifier?: string; + /** + * The KeyVault resource ARM Id for key. + */ + keyVaultResourceArmId?: string; +} + +/** + * Recovery disk encryption info (BEK and KEK). + */ +export interface DiskEncryptionInfo { + /** + * The recovery KeyVault reference for secret. + */ + diskEncryptionKeyInfo?: DiskEncryptionKeyInfo; + /** + * The recovery KeyVault reference for key. + */ + keyEncryptionKeyInfo?: KeyEncryptionKeyInfo; +} + +/** + * Azure VM managed disk input details. + */ +export interface A2AVmManagedDiskInputDetails { + /** + * The disk Id. + */ + diskId?: string; + /** + * The primary staging storage account Arm Id. + */ + primaryStagingAzureStorageAccountId?: string; + /** + * The target resource group Arm Id. + */ + recoveryResourceGroupId?: string; + /** + * The replica disk type. Its an optional value and will be same as source disk type if not user + * provided. + */ + recoveryReplicaDiskAccountType?: string; + /** + * The target disk type after failover. Its an optional value and will be same as source disk + * type if not user provided. + */ + recoveryTargetDiskAccountType?: string; + /** + * The recovery disk encryption set Id. + */ + recoveryDiskEncryptionSetId?: string; + /** + * The recovery disk encryption information (for one / single pass flows). + */ + diskEncryptionInfo?: DiskEncryptionInfo; +} + +/** + * Contains the possible cases for AddDisksProviderSpecificInput. + */ +export type AddDisksProviderSpecificInputUnion = AddDisksProviderSpecificInput | A2AAddDisksInput; + +/** + * Add Disks provider specific input. + */ +export interface AddDisksProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "AddDisksProviderSpecificInput"; +} + +/** + * A2A add disk(s) input. + */ +export interface A2AAddDisksInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * The list of vm disk details. + */ + vmDisks?: A2AVmDiskInputDetails[]; + /** + * The list of vm managed disk details. + */ + vmManagedDisks?: A2AVmManagedDiskInputDetails[]; +} /** * Contains the possible cases for ApplyRecoveryPointProviderSpecificInput. */ -export type ApplyRecoveryPointProviderSpecificInputUnion = ApplyRecoveryPointProviderSpecificInput | A2AApplyRecoveryPointInput | HyperVReplicaAzureApplyRecoveryPointInput | InMageAzureV2ApplyRecoveryPointInput; +export type ApplyRecoveryPointProviderSpecificInputUnion = ApplyRecoveryPointProviderSpecificInput | A2AApplyRecoveryPointInput | HyperVReplicaAzureApplyRecoveryPointInput | InMageAzureV2ApplyRecoveryPointInput | InMageRcmApplyRecoveryPointInput; /** - * @interface - * An interface representing ApplyRecoveryPointProviderSpecificInput. * Provider specific input for apply recovery point. - * */ export interface ApplyRecoveryPointProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ApplyRecoveryPointProviderSpecificInput"; } /** - * @interface - * An interface representing A2AApplyRecoveryPointInput. * ApplyRecoveryPoint input specific to A2A provider. - * */ export interface A2AApplyRecoveryPointInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; } @@ -48,30 +168,24 @@ export interface A2AApplyRecoveryPointInput { /** * Contains the possible cases for ReplicationProviderSpecificContainerCreationInput. */ -export type ReplicationProviderSpecificContainerCreationInputUnion = ReplicationProviderSpecificContainerCreationInput | A2AContainerCreationInput; +export type ReplicationProviderSpecificContainerCreationInputUnion = ReplicationProviderSpecificContainerCreationInput | A2AContainerCreationInput | VMwareCbtContainerCreationInput; /** - * @interface - * An interface representing ReplicationProviderSpecificContainerCreationInput. * Provider specific input for container creation operation. - * */ export interface ReplicationProviderSpecificContainerCreationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ReplicationProviderSpecificContainerCreationInput"; } /** - * @interface - * An interface representing A2AContainerCreationInput. * A2A cloud creation input. - * */ export interface A2AContainerCreationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; } @@ -79,286 +193,410 @@ export interface A2AContainerCreationInput { /** * Contains the possible cases for ReplicationProviderSpecificContainerMappingInput. */ -export type ReplicationProviderSpecificContainerMappingInputUnion = ReplicationProviderSpecificContainerMappingInput | A2AContainerMappingInput; +export type ReplicationProviderSpecificContainerMappingInputUnion = ReplicationProviderSpecificContainerMappingInput | A2AContainerMappingInput | VMwareCbtContainerMappingInput; /** - * @interface - * An interface representing ReplicationProviderSpecificContainerMappingInput. * Provider specific input for pairing operations. - * */ export interface ReplicationProviderSpecificContainerMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ReplicationProviderSpecificContainerMappingInput"; } /** - * @interface - * An interface representing A2AContainerMappingInput. * A2A container mapping input. - * */ export interface A2AContainerMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {AgentAutoUpdateStatus} [agentAutoUpdateStatus] A value indicating - * whether the auto update is enabled. Possible values include: 'Disabled', + * A value indicating whether the auto update is enabled. Possible values include: 'Disabled', * 'Enabled' */ agentAutoUpdateStatus?: AgentAutoUpdateStatus; /** - * @member {string} [automationAccountArmId] The automation account arm id. + * The automation account arm id. */ automationAccountArmId?: string; } /** - * @interface - * An interface representing A2AVmDiskInputDetails. - * Azure VM disk input details. - * + * Contains the possible cases for ProtectionProfileCustomDetails. */ -export interface A2AVmDiskInputDetails { +export type ProtectionProfileCustomDetailsUnion = ProtectionProfileCustomDetails | ExistingProtectionProfile | NewProtectionProfile; + +/** + * Protection Profile custom input. + */ +export interface ProtectionProfileCustomDetails { /** - * @member {string} [diskUri] The disk Uri. + * Polymorphic Discriminator */ - diskUri?: string; + resourceType: "ProtectionProfileCustomDetails"; +} + +/** + * Contains the possible cases for StorageAccountCustomDetails. + */ +export type StorageAccountCustomDetailsUnion = StorageAccountCustomDetails | ExistingStorageAccount; + +/** + * Storage account custom input. + */ +export interface StorageAccountCustomDetails { /** - * @member {string} [recoveryAzureStorageAccountId] The recovery VHD storage - * account Id. + * Polymorphic Discriminator */ - recoveryAzureStorageAccountId?: string; + resourceType: "StorageAccountCustomDetails"; +} + +/** + * Contains the possible cases for RecoveryAvailabilitySetCustomDetails. + */ +export type RecoveryAvailabilitySetCustomDetailsUnion = RecoveryAvailabilitySetCustomDetails | ExistingRecoveryAvailabilitySet; + +/** + * Recovery Availability Set custom input. + */ +export interface RecoveryAvailabilitySetCustomDetails { /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account Id. + * Polymorphic Discriminator */ - primaryStagingAzureStorageAccountId?: string; + resourceType: "RecoveryAvailabilitySetCustomDetails"; } /** - * @interface - * An interface representing A2AVmManagedDiskInputDetails. - * Azure VM managed disk input details. - * + * Contains the possible cases for RecoveryVirtualNetworkCustomDetails. */ -export interface A2AVmManagedDiskInputDetails { +export type RecoveryVirtualNetworkCustomDetailsUnion = RecoveryVirtualNetworkCustomDetails | ExistingRecoveryVirtualNetwork | NewRecoveryVirtualNetwork; + +/** + * Recovery Virtual network custom input. + */ +export interface RecoveryVirtualNetworkCustomDetails { /** - * @member {string} [diskId] The disk Id. + * Polymorphic Discriminator */ - diskId?: string; + resourceType: "RecoveryVirtualNetworkCustomDetails"; +} + +/** + * Contains the possible cases for RecoveryProximityPlacementGroupCustomDetails. + */ +export type RecoveryProximityPlacementGroupCustomDetailsUnion = RecoveryProximityPlacementGroupCustomDetails | ExistingRecoveryProximityPlacementGroup; + +/** + * Recovery Proximity placement group custom input. + */ +export interface RecoveryProximityPlacementGroupCustomDetails { /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account Arm Id. + * Polymorphic Discriminator */ - primaryStagingAzureStorageAccountId?: string; + resourceType: "RecoveryProximityPlacementGroupCustomDetails"; +} + +/** + * Azure VM disk input details. + */ +export interface A2AProtectionIntentDiskInputDetails { /** - * @member {string} [recoveryResourceGroupId] The target resource group Arm - * Id. + * The disk Uri. */ - recoveryResourceGroupId?: string; + diskUri: string; /** - * @member {string} [recoveryReplicaDiskAccountType] The replica disk type. - * Its an optional value and will be same as source disk type if not user - * provided. + * The recovery VHD storage account input. */ - recoveryReplicaDiskAccountType?: string; + recoveryAzureStorageAccountCustomInput?: StorageAccountCustomDetailsUnion; /** - * @member {string} [recoveryTargetDiskAccountType] The target disk type - * after failover. Its an optional value and will be same as source disk type - * if not user provided. + * The primary staging storage account input. */ - recoveryTargetDiskAccountType?: string; + primaryStagingStorageAccountCustomInput?: StorageAccountCustomDetailsUnion; } /** - * @interface - * An interface representing DiskEncryptionKeyInfo. - * Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows). - * + * Contains the possible cases for RecoveryResourceGroupCustomDetails. */ -export interface DiskEncryptionKeyInfo { - /** - * @member {string} [secretIdentifier] The secret url / identifier. - */ - secretIdentifier?: string; +export type RecoveryResourceGroupCustomDetailsUnion = RecoveryResourceGroupCustomDetails | ExistingRecoveryRecoveryResourceGroup; + +/** + * Recovery Resource Group custom input. + */ +export interface RecoveryResourceGroupCustomDetails { /** - * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for - * secret. + * Polymorphic Discriminator */ - keyVaultResourceArmId?: string; + resourceType: "RecoveryResourceGroupCustomDetails"; } /** - * @interface - * An interface representing KeyEncryptionKeyInfo. - * Key Encryption Key (KEK) information. - * + * Azure VM managed disk input details. */ -export interface KeyEncryptionKeyInfo { +export interface A2AProtectionIntentManagedDiskInputDetails { /** - * @member {string} [keyIdentifier] The key url / identifier. + * The disk Id. */ - keyIdentifier?: string; + diskId: string; /** - * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for - * key. + * The primary staging storage account input. */ - keyVaultResourceArmId?: string; -} - -/** - * @interface - * An interface representing DiskEncryptionInfo. - * Recovery disk encryption info (BEK and KEK). - * - */ -export interface DiskEncryptionInfo { + primaryStagingStorageAccountCustomInput?: StorageAccountCustomDetailsUnion; /** - * @member {DiskEncryptionKeyInfo} [diskEncryptionKeyInfo] The recovery - * KeyVault reference for secret. + * The recovery resource group input. */ - diskEncryptionKeyInfo?: DiskEncryptionKeyInfo; + recoveryResourceGroupCustomInput?: RecoveryResourceGroupCustomDetailsUnion; + /** + * The replica disk type. Its an optional value and will be same as source disk type if not user + * provided. + */ + recoveryReplicaDiskAccountType?: string; /** - * @member {KeyEncryptionKeyInfo} [keyEncryptionKeyInfo] The recovery - * KeyVault reference for key. + * The target disk type after failover. Its an optional value and will be same as source disk + * type if not user provided. */ - keyEncryptionKeyInfo?: KeyEncryptionKeyInfo; + recoveryTargetDiskAccountType?: string; + /** + * The recovery disk encryption set Id. + */ + recoveryDiskEncryptionSetId?: string; + /** + * The recovery disk encryption information (for one / single pass flows). + */ + diskEncryptionInfo?: DiskEncryptionInfo; } /** - * Contains the possible cases for EnableProtectionProviderSpecificInput. + * Contains the possible cases for CreateProtectionIntentProviderSpecificDetails. */ -export type EnableProtectionProviderSpecificInputUnion = EnableProtectionProviderSpecificInput | A2AEnableProtectionInput | HyperVReplicaAzureEnableProtectionInput | InMageAzureV2EnableProtectionInput | InMageEnableProtectionInput | SanEnableProtectionInput; +export type CreateProtectionIntentProviderSpecificDetailsUnion = CreateProtectionIntentProviderSpecificDetails | A2ACreateProtectionIntentInput; /** - * @interface - * An interface representing EnableProtectionProviderSpecificInput. - * Enable protection provider specific input. - * + * Create protection intent provider specific input. */ -export interface EnableProtectionProviderSpecificInput { +export interface CreateProtectionIntentProviderSpecificDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "EnableProtectionProviderSpecificInput"; + instanceType: "CreateProtectionIntentProviderSpecificDetails"; } /** - * @interface - * An interface representing A2AEnableProtectionInput. - * A2A enable protection input. - * + * A2A create protection intent input. */ -export interface A2AEnableProtectionInput { +export interface A2ACreateProtectionIntentInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [fabricObjectId] The fabric specific object Id of the - * virtual machine. + * The fabric specific object Id of the virtual machine. */ - fabricObjectId?: string; + fabricObjectId: string; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The primary location for the virtual machine. */ - recoveryContainerId?: string; + primaryLocation: string; /** - * @member {string} [recoveryResourceGroupId] The recovery resource group Id. - * Valid for V2 scenarios. + * The recovery location for the virtual machine. */ - recoveryResourceGroupId?: string; + recoveryLocation: string; /** - * @member {string} [recoveryCloudServiceId] The recovery cloud service Id. - * Valid for V1 scenarios. + * The recovery subscription Id of the virtual machine. */ - recoveryCloudServiceId?: string; + recoverySubscriptionId: string; /** - * @member {string} [recoveryAvailabilitySetId] The recovery availability set - * Id. + * The recovery availability type of the virtual machine. Possible values include: 'Single', + * 'AvailabilitySet', 'AvailabilityZone' */ - recoveryAvailabilitySetId?: string; + recoveryAvailabilityType: A2ARecoveryAvailabilityType; /** - * @member {A2AVmDiskInputDetails[]} [vmDisks] The list of vm disk details. + * The protection profile custom inputs. */ - vmDisks?: A2AVmDiskInputDetails[]; + protectionProfileCustomInput?: ProtectionProfileCustomDetailsUnion; /** - * @member {A2AVmManagedDiskInputDetails[]} [vmManagedDisks] The list of vm - * managed disk details. + * The recovery resource group Id. Valid for V2 scenarios. */ - vmManagedDisks?: A2AVmManagedDiskInputDetails[]; + recoveryResourceGroupId: string; + /** + * The primary staging storage account input. + */ + primaryStagingStorageAccountCustomInput?: StorageAccountCustomDetailsUnion; + /** + * The recovery availability set input. + */ + recoveryAvailabilitySetCustomInput?: RecoveryAvailabilitySetCustomDetailsUnion; + /** + * The recovery virtual network input. + */ + recoveryVirtualNetworkCustomInput?: RecoveryVirtualNetworkCustomDetailsUnion; + /** + * The recovery proximity placement group custom input. + */ + recoveryProximityPlacementGroupCustomInput?: RecoveryProximityPlacementGroupCustomDetailsUnion; + /** + * A value indicating whether the auto protection is enabled. Possible values include: + * 'Disabled', 'Enabled' + */ + autoProtectionOfDataDisk?: AutoProtectionOfDataDisk; + /** + * The list of vm disk inputs. + */ + vmDisks?: A2AProtectionIntentDiskInputDetails[]; + /** + * The list of vm managed disk inputs. + */ + vmManagedDisks?: A2AProtectionIntentManagedDiskInputDetails[]; /** - * @member {string} [multiVmGroupName] The multi vm group name. + * The multi vm group name. */ multiVmGroupName?: string; /** - * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic - * storage account. + * The multi vm group id. */ - recoveryBootDiagStorageAccountId?: string; + multiVmGroupId?: string; + /** + * The boot diagnostic storage account. + */ + recoveryBootDiagStorageAccount?: StorageAccountCustomDetailsUnion; /** - * @member {DiskEncryptionInfo} [diskEncryptionInfo] The recovery disk - * encryption information. + * The recovery disk encryption information (for two pass flows). */ diskEncryptionInfo?: DiskEncryptionInfo; + /** + * The recovery availability zone. + */ + recoveryAvailabilityZone?: string; } /** - * Contains the possible cases for EventProviderSpecificDetails. + * Contains the possible cases for EnableProtectionProviderSpecificInput. */ -export type EventProviderSpecificDetailsUnion = EventProviderSpecificDetails | A2AEventDetails | HyperVReplica2012EventDetails | HyperVReplica2012R2EventDetails | HyperVReplicaAzureEventDetails | HyperVReplicaBaseEventDetails | InMageAzureV2EventDetails; +export type EnableProtectionProviderSpecificInputUnion = EnableProtectionProviderSpecificInput | A2AEnableProtectionInput | HyperVReplicaAzureEnableProtectionInput | InMageAzureV2EnableProtectionInput | InMageEnableProtectionInput | InMageRcmEnableProtectionInput | SanEnableProtectionInput; /** - * @interface - * An interface representing EventProviderSpecificDetails. - * Model class for provider specific details for an event. - * + * Enable protection provider specific input. */ -export interface EventProviderSpecificDetails { +export interface EnableProtectionProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "EventProviderSpecificDetails"; + instanceType: "EnableProtectionProviderSpecificInput"; } /** - * @interface - * An interface representing A2AEventDetails. - * Model class for event details of a A2A event. - * + * A2A enable protection input. */ -export interface A2AEventDetails { +export interface A2AEnableProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [protectedItemName] The protected item arm name. - */ - protectedItemName?: string; - /** - * @member {string} [fabricObjectId] The azure vm arm id. + * The fabric specific object Id of the virtual machine. */ fabricObjectId?: string; /** - * @member {string} [fabricName] Fabric arm name. + * The recovery container Id. */ - fabricName?: string; + recoveryContainerId?: string; /** - * @member {string} [fabricLocation] The fabric location. + * The recovery resource group Id. Valid for V2 scenarios. + */ + recoveryResourceGroupId?: string; + /** + * The recovery cloud service Id. Valid for V1 scenarios. + */ + recoveryCloudServiceId?: string; + /** + * The recovery availability set Id. + */ + recoveryAvailabilitySetId?: string; + /** + * The recovery proximity placement group Id. + */ + recoveryProximityPlacementGroupId?: string; + /** + * The list of vm disk details. + */ + vmDisks?: A2AVmDiskInputDetails[]; + /** + * The list of vm managed disk details. + */ + vmManagedDisks?: A2AVmManagedDiskInputDetails[]; + /** + * The multi vm group name. + */ + multiVmGroupName?: string; + /** + * The boot diagnostic storage account. + */ + recoveryBootDiagStorageAccountId?: string; + /** + * The recovery disk encryption information. + */ + diskEncryptionInfo?: DiskEncryptionInfo; + /** + * The recovery availability zone. + */ + recoveryAvailabilityZone?: string; + /** + * The recovery Azure virtual network ARM id. + */ + recoveryAzureNetworkId?: string; + /** + * The recovery subnet name. + */ + recoverySubnetName?: string; +} + +/** + * Contains the possible cases for EventProviderSpecificDetails. + */ +export type EventProviderSpecificDetailsUnion = EventProviderSpecificDetails | A2AEventDetails | HyperVReplica2012EventDetails | HyperVReplica2012R2EventDetails | HyperVReplicaAzureEventDetails | HyperVReplicaBaseEventDetails | InMageAzureV2EventDetails | InMageRcmEventDetails; + +/** + * Model class for provider specific details for an event. + */ +export interface EventProviderSpecificDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "EventProviderSpecificDetails"; +} + +/** + * Model class for event details of a A2A event. + */ +export interface A2AEventDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * The protected item arm name. + */ + protectedItemName?: string; + /** + * The azure vm arm id. + */ + fabricObjectId?: string; + /** + * Fabric arm name. + */ + fabricName?: string; + /** + * The fabric location. */ fabricLocation?: string; /** - * @member {string} [remoteFabricName] Remote fabric arm name. + * Remote fabric arm name. */ remoteFabricName?: string; /** - * @member {string} [remoteFabricLocation] Remote fabric location. + * Remote fabric location. */ remoteFabricLocation?: string; } @@ -369,38 +607,30 @@ export interface A2AEventDetails { export type ProviderSpecificFailoverInputUnion = ProviderSpecificFailoverInput | A2AFailoverProviderInput | HyperVReplicaAzureFailbackProviderInput | HyperVReplicaAzureFailoverProviderInput | InMageAzureV2FailoverProviderInput | InMageFailoverProviderInput; /** - * @interface - * An interface representing ProviderSpecificFailoverInput. * Provider specific failover input. - * */ export interface ProviderSpecificFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ProviderSpecificFailoverInput"; } /** - * @interface - * An interface representing A2AFailoverProviderInput. * A2A provider specific input for failover. - * */ export interface A2AFailoverProviderInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [recoveryPointId] The recovery point id to be passed to - * failover to a particular recovery point. In case of latest recovery point, - * null should be passed. + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ recoveryPointId?: string; /** - * @member {string} [cloudServiceCreationOption] A value indicating whether - * to use recovery cloud service for TFO or not. + * A value indicating whether to use recovery cloud service for TFO or not. */ cloudServiceCreationOption?: string; } @@ -408,50 +638,40 @@ export interface A2AFailoverProviderInput { /** * Contains the possible cases for PolicyProviderSpecificInput. */ -export type PolicyProviderSpecificInputUnion = PolicyProviderSpecificInput | A2APolicyCreationInput | HyperVReplicaAzurePolicyInput | HyperVReplicaBluePolicyInput | HyperVReplicaPolicyInput | InMageAzureV2PolicyInput | InMagePolicyInput | VMwareCbtPolicyCreationInput; +export type PolicyProviderSpecificInputUnion = PolicyProviderSpecificInput | A2APolicyCreationInput | HyperVReplicaAzurePolicyInput | HyperVReplicaBluePolicyInput | HyperVReplicaPolicyInput | InMageAzureV2PolicyInput | InMagePolicyInput | InMageRcmPolicyCreationInput | VMwareCbtPolicyCreationInput; /** - * @interface - * An interface representing PolicyProviderSpecificInput. * Base class for provider specific input - * */ export interface PolicyProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "PolicyProviderSpecificInput"; } /** - * @interface - * An interface representing A2APolicyCreationInput. * A2A Policy creation input. - * */ export interface A2APolicyCreationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The duration in minutes until which the recovery points need to be stored. */ recoveryPointHistory?: number; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency (in minutes). + * The crash consistent snapshot frequency (in minutes). */ crashConsistentFrequencyInMinutes?: number; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency (in minutes). + * The app consistent snapshot frequency (in minutes). */ appConsistentFrequencyInMinutes?: number; /** - * @member {SetMultiVmSyncStatus} multiVmSyncStatus A value indicating - * whether multi-VM sync has to be enabled. Value should be 'Enabled' or + * A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or * 'Disabled'. Possible values include: 'Enable', 'Disable' */ multiVmSyncStatus: SetMultiVmSyncStatus; @@ -460,311 +680,292 @@ export interface A2APolicyCreationInput { /** * Contains the possible cases for PolicyProviderSpecificDetails. */ -export type PolicyProviderSpecificDetailsUnion = PolicyProviderSpecificDetails | A2APolicyDetails | HyperVReplicaAzurePolicyDetails | HyperVReplicaBasePolicyDetails | HyperVReplicaBluePolicyDetails | HyperVReplicaPolicyDetails | InMageAzureV2PolicyDetails | InMageBasePolicyDetails | InMagePolicyDetails | RcmAzureMigrationPolicyDetails | VmwareCbtPolicyDetails; +export type PolicyProviderSpecificDetailsUnion = PolicyProviderSpecificDetails | A2APolicyDetails | HyperVReplicaAzurePolicyDetails | HyperVReplicaBasePolicyDetails | HyperVReplicaBluePolicyDetails | HyperVReplicaPolicyDetails | InMageAzureV2PolicyDetails | InMageBasePolicyDetails | InMagePolicyDetails | InMageRcmPolicyDetails | RcmAzureMigrationPolicyDetails | VmwareCbtPolicyDetails; /** - * @interface - * An interface representing PolicyProviderSpecificDetails. * Base class for Provider specific details for policies. - * */ export interface PolicyProviderSpecificDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "PolicyProviderSpecificDetails"; } /** - * @interface - * An interface representing A2APolicyDetails. * A2A specific policy details. - * */ export interface A2APolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * The recovery point threshold in minutes. */ recoveryPointThresholdInMinutes?: number; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The duration in minutes until which the recovery points need to be stored. */ recoveryPointHistory?: number; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The app consistent snapshot frequency in minutes. */ appConsistentFrequencyInMinutes?: number; /** - * @member {string} [multiVmSyncStatus] A value indicating whether multi-VM - * sync has to be enabled. + * A value indicating whether multi-VM sync has to be enabled. */ multiVmSyncStatus?: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The crash consistent snapshot frequency in minutes. */ crashConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing A2AProtectedDiskDetails. * A2A protected disk details. - * */ export interface A2AProtectedDiskDetails { /** - * @member {string} [diskUri] The disk uri. + * The disk uri. */ diskUri?: string; /** - * @member {string} [recoveryAzureStorageAccountId] The recovery disk storage - * account. + * The recovery disk storage account. */ recoveryAzureStorageAccountId?: string; /** - * @member {string} [primaryDiskAzureStorageAccountId] The primary disk - * storage account. + * The primary disk storage account. */ primaryDiskAzureStorageAccountId?: string; /** - * @member {string} [recoveryDiskUri] Recovery disk uri. + * Recovery disk uri. */ recoveryDiskUri?: string; /** - * @member {string} [diskName] The disk name. + * The disk name. */ diskName?: string; /** - * @member {number} [diskCapacityInBytes] The disk capacity in bytes. + * The disk capacity in bytes. */ diskCapacityInBytes?: number; /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account. + * The primary staging storage account. */ primaryStagingAzureStorageAccountId?: string; /** - * @member {string} [diskType] The type of disk. + * The type of disk. */ diskType?: string; /** - * @member {boolean} [resyncRequired] A value indicating whether resync is - * required for this disk. + * A value indicating whether resync is required for this disk. */ resyncRequired?: boolean; /** - * @member {number} [monitoringPercentageCompletion] The percentage of the - * monitoring job. The type of the monitoring job is defined by + * The percentage of the monitoring job. The type of the monitoring job is defined by * MonitoringJobType property. */ monitoringPercentageCompletion?: number; /** - * @member {string} [monitoringJobType] The type of the monitoring job. The - * progress is contained in MonitoringPercentageCompletion property. + * The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion + * property. */ monitoringJobType?: string; /** - * @member {number} [dataPendingInStagingStorageAccountInMB] The data pending - * for replication in MB at staging account. + * The data pending for replication in MB at staging account. */ dataPendingInStagingStorageAccountInMB?: number; /** - * @member {number} [dataPendingAtSourceAgentInMB] The data pending at source - * virtual machine in MB. + * The data pending at source virtual machine in MB. */ dataPendingAtSourceAgentInMB?: number; /** - * @member {boolean} [isDiskEncrypted] A value indicating whether vm has - * encrypted os disk or not. + * The disk state. + */ + diskState?: string; + /** + * The disk level operations list. + */ + allowedDiskLevelOperation?: string[]; + /** + * A value indicating whether vm has encrypted os disk or not. */ isDiskEncrypted?: boolean; /** - * @member {string} [secretIdentifier] The secret URL / identifier (BEK). + * The secret URL / identifier (BEK). */ secretIdentifier?: string; /** - * @member {string} [dekKeyVaultArmId] The KeyVault resource id for secret - * (BEK). + * The KeyVault resource id for secret (BEK). */ dekKeyVaultArmId?: string; /** - * @member {boolean} [isDiskKeyEncrypted] A value indicating whether disk key - * got encrypted or not. + * A value indicating whether disk key got encrypted or not. */ isDiskKeyEncrypted?: boolean; /** - * @member {string} [keyIdentifier] The key URL / identifier (KEK). + * The key URL / identifier (KEK). */ keyIdentifier?: string; /** - * @member {string} [kekKeyVaultArmId] The KeyVault resource id for key - * (KEK). + * The KeyVault resource id for key (KEK). */ kekKeyVaultArmId?: string; } /** - * @interface - * An interface representing A2AProtectedManagedDiskDetails. * A2A protected managed disk details. - * */ export interface A2AProtectedManagedDiskDetails { /** - * @member {string} [diskId] The managed disk Arm id. + * The managed disk Arm id. */ diskId?: string; /** - * @member {string} [recoveryResourceGroupId] The recovery disk resource - * group Arm Id. + * The recovery disk resource group Arm Id. */ recoveryResourceGroupId?: string; /** - * @member {string} [recoveryTargetDiskId] Recovery target disk Arm Id. + * Recovery target disk Arm Id. */ recoveryTargetDiskId?: string; /** - * @member {string} [recoveryReplicaDiskId] Recovery replica disk Arm Id. + * Recovery replica disk Arm Id. */ recoveryReplicaDiskId?: string; /** - * @member {string} [recoveryReplicaDiskAccountType] The replica disk type. - * Its an optional value and will be same as source disk type if not user + * The replica disk type. Its an optional value and will be same as source disk type if not user * provided. */ recoveryReplicaDiskAccountType?: string; /** - * @member {string} [recoveryTargetDiskAccountType] The target disk type - * after failover. Its an optional value and will be same as source disk type - * if not user provided. + * The target disk type after failover. Its an optional value and will be same as source disk + * type if not user provided. */ recoveryTargetDiskAccountType?: string; /** - * @member {string} [diskName] The disk name. + * The recovery disk encryption set Id. + */ + recoveryDiskEncryptionSetId?: string; + /** + * The disk name. */ diskName?: string; /** - * @member {number} [diskCapacityInBytes] The disk capacity in bytes. + * The disk capacity in bytes. */ diskCapacityInBytes?: number; /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account. + * The primary staging storage account. */ primaryStagingAzureStorageAccountId?: string; /** - * @member {string} [diskType] The type of disk. + * The type of disk. */ diskType?: string; /** - * @member {boolean} [resyncRequired] A value indicating whether resync is - * required for this disk. + * A value indicating whether resync is required for this disk. */ resyncRequired?: boolean; /** - * @member {number} [monitoringPercentageCompletion] The percentage of the - * monitoring job. The type of the monitoring job is defined by + * The percentage of the monitoring job. The type of the monitoring job is defined by * MonitoringJobType property. */ monitoringPercentageCompletion?: number; /** - * @member {string} [monitoringJobType] The type of the monitoring job. The - * progress is contained in MonitoringPercentageCompletion property. + * The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion + * property. */ monitoringJobType?: string; /** - * @member {number} [dataPendingInStagingStorageAccountInMB] The data pending - * for replication in MB at staging account. + * The data pending for replication in MB at staging account. */ dataPendingInStagingStorageAccountInMB?: number; /** - * @member {number} [dataPendingAtSourceAgentInMB] The data pending at source - * virtual machine in MB. + * The data pending at source virtual machine in MB. */ dataPendingAtSourceAgentInMB?: number; /** - * @member {boolean} [isDiskEncrypted] A value indicating whether vm has - * encrypted os disk or not. + * The disk state. + */ + diskState?: string; + /** + * The disk level operations list. + */ + allowedDiskLevelOperation?: string[]; + /** + * A value indicating whether vm has encrypted os disk or not. */ isDiskEncrypted?: boolean; /** - * @member {string} [secretIdentifier] The secret URL / identifier (BEK). + * The secret URL / identifier (BEK). */ secretIdentifier?: string; /** - * @member {string} [dekKeyVaultArmId] The KeyVault resource id for secret - * (BEK). + * The KeyVault resource id for secret (BEK). */ dekKeyVaultArmId?: string; /** - * @member {boolean} [isDiskKeyEncrypted] A value indicating whether disk key - * got encrypted or not. + * A value indicating whether disk key got encrypted or not. */ isDiskKeyEncrypted?: boolean; /** - * @member {string} [keyIdentifier] The key URL / identifier (KEK). + * The key URL / identifier (KEK). */ keyIdentifier?: string; /** - * @member {string} [kekKeyVaultArmId] The KeyVault resource id for key - * (KEK). + * The KeyVault resource id for key (KEK). */ kekKeyVaultArmId?: string; + /** + * The failover name for the managed disk. + */ + failoverDiskName?: string; + /** + * The test failover name for the managed disk. + */ + tfoDiskName?: string; } /** * Contains the possible cases for ProtectionContainerMappingProviderSpecificDetails. */ -export type ProtectionContainerMappingProviderSpecificDetailsUnion = ProtectionContainerMappingProviderSpecificDetails | A2AProtectionContainerMappingDetails; +export type ProtectionContainerMappingProviderSpecificDetailsUnion = ProtectionContainerMappingProviderSpecificDetails | A2AProtectionContainerMappingDetails | VMwareCbtProtectionContainerMappingDetails; /** - * @interface - * An interface representing ProtectionContainerMappingProviderSpecificDetails. * Container mapping provider specific details. - * */ export interface ProtectionContainerMappingProviderSpecificDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ProtectionContainerMappingProviderSpecificDetails"; } /** - * @interface - * An interface representing A2AProtectionContainerMappingDetails. * A2A provider specific settings. - * */ export interface A2AProtectionContainerMappingDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {AgentAutoUpdateStatus} [agentAutoUpdateStatus] A value indicating - * whether the auto update is enabled. Possible values include: 'Disabled', + * A value indicating whether the auto update is enabled. Possible values include: 'Disabled', * 'Enabled' */ agentAutoUpdateStatus?: AgentAutoUpdateStatus; /** - * @member {string} [automationAccountArmId] The automation account arm id. + * The automation account arm id. */ automationAccountArmId?: string; /** - * @member {string} [scheduleName] The schedule arm name. + * The schedule arm name. */ scheduleName?: string; /** - * @member {string} [jobScheduleName] The job schedule arm name. + * The job schedule arm name. */ jobScheduleName?: string; } @@ -772,176 +973,246 @@ export interface A2AProtectionContainerMappingDetails { /** * Contains the possible cases for ProviderSpecificRecoveryPointDetails. */ -export type ProviderSpecificRecoveryPointDetailsUnion = ProviderSpecificRecoveryPointDetails | A2ARecoveryPointDetails | InMageAzureV2RecoveryPointDetails; +export type ProviderSpecificRecoveryPointDetailsUnion = ProviderSpecificRecoveryPointDetails | A2ARecoveryPointDetails | InMageAzureV2RecoveryPointDetails | InMageRcmRecoveryPointDetails; /** - * @interface - * An interface representing ProviderSpecificRecoveryPointDetails. * Replication provider specific recovery point details. - * */ export interface ProviderSpecificRecoveryPointDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ProviderSpecificRecoveryPointDetails"; } /** - * @interface - * An interface representing A2ARecoveryPointDetails. * A2A provider specific recovery point details. - * */ export interface A2ARecoveryPointDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {RecoveryPointSyncType} [recoveryPointSyncType] A value indicating - * whether the recovery point is multi VM consistent. Possible values - * include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' + * A value indicating whether the recovery point is multi VM consistent. Possible values include: + * 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' */ recoveryPointSyncType?: RecoveryPointSyncType; + /** + * List of disk ids representing a recovery point. + */ + disks?: string[]; +} + +/** + * Contains the possible cases for RemoveDisksProviderSpecificInput. + */ +export type RemoveDisksProviderSpecificInputUnion = RemoveDisksProviderSpecificInput | A2ARemoveDisksInput; + +/** + * Remove Disk provider specific input. + */ +export interface RemoveDisksProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "RemoveDisksProviderSpecificInput"; +} + +/** + * A2A remove disk(s) input. + */ +export interface A2ARemoveDisksInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * The list of vm disk vhd URIs. + */ + vmDisksUris?: string[]; + /** + * The list of vm managed disk Ids. + */ + vmManagedDisksIds?: string[]; +} + +/** + * A2A unprotected disk details. + */ +export interface A2AUnprotectedDiskDetails { + /** + * The source lun Id for the data disk. + */ + diskLunId?: number; +} + +/** + * IP configuration details. + */ +export interface IPConfig { + /** + * The static IP address of the IP configuration. + */ + staticIPAddress?: string; + /** + * The Id of the public IP address associated with the IP configuration. + */ + publicIpAddressId?: string; + /** + * The backend address pools associated with the IP configuration. + */ + lBBackendAddressPoolIds?: string[]; } /** - * @interface - * An interface representing VMNicDetails. * Hyper V VM network details. - * */ export interface VMNicDetails { /** - * @member {string} [nicId] The nic Id. + * The nic Id. */ nicId?: string; /** - * @member {string} [replicaNicId] The replica nic Id. + * The replica nic Id. */ replicaNicId?: string; /** - * @member {string} [sourceNicArmId] The source nic ARM Id. + * The source nic ARM Id. */ sourceNicArmId?: string; /** - * @member {string} [vMSubnetName] VM subnet name. + * VM subnet name. */ vMSubnetName?: string; /** - * @member {string} [vMNetworkName] VM network name. + * VM network name. */ vMNetworkName?: string; /** - * @member {string} [recoveryVMNetworkId] Recovery VM network Id. + * Recovery VM network Id. */ recoveryVMNetworkId?: string; /** - * @member {string} [recoveryVMSubnetName] Recovery VM subnet name. + * Recovery VM subnet name. */ recoveryVMSubnetName?: string; /** - * @member {string} [ipAddressType] Ip address type. + * Ip address type. */ ipAddressType?: string; /** - * @member {string} [primaryNicStaticIPAddress] Primary nic static IP - * address. + * Primary nic static IP address. */ primaryNicStaticIPAddress?: string; /** - * @member {string} [replicaNicStaticIPAddress] Replica nic static IP - * address. + * Replica nic static IP address. */ replicaNicStaticIPAddress?: string; /** - * @member {string} [selectionType] Selection type for failover. + * Selection type for failover. */ selectionType?: string; /** - * @member {string} [recoveryNicIpAddressType] IP allocation type for - * recovery VM. + * IP allocation type for recovery VM. */ recoveryNicIpAddressType?: string; /** - * @member {boolean} [enableAcceleratedNetworkingOnRecovery] A value - * indicating whether the NIC has accerated networking enabled. + * The id of the public IP address resource associated with the NIC. + */ + recoveryPublicIpAddressId?: string; + /** + * The id of the NSG associated with the NIC. + */ + recoveryNetworkSecurityGroupId?: string; + /** + * The target backend address pools for the NIC. + */ + recoveryLBBackendAddressPoolIds?: string[]; + /** + * A value indicating whether the NIC has accelerated networking enabled. */ enableAcceleratedNetworkingOnRecovery?: boolean; -} - -/** - * @interface - * An interface representing RoleAssignment. - * Azure role assignment details. - * - */ -export interface RoleAssignment { /** - * @member {string} [id] The ARM Id of the role assignment. + * The network to be used by NIC during test failover. */ - id?: string; + tfoVMNetworkId?: string; /** - * @member {string} [name] The name of the role assignment. + * The subnet to be used by NIC during test failover. */ - name?: string; + tfoVMSubnetName?: string; /** - * @member {string} [scope] Role assignment scope. + * The NSG to be used by NIC during test failover. */ - scope?: string; + tfoNetworkSecurityGroupId?: string; /** - * @member {string} [principalId] Principal Id. + * Whether the test failover NIC has accelerated networking enabled. */ - principalId?: string; + enableAcceleratedNetworkingOnTfo?: boolean; /** - * @member {string} [roleDefinitionId] Role definition id. + * The IP configurations to be used by NIC during test failover. */ - roleDefinitionId?: string; + tfoIPConfigs?: IPConfig[]; + /** + * The name of the NIC to be used when creating target NICs. + */ + recoveryNicName?: string; + /** + * The resource group of the NIC to be used when creating target NICs. + */ + recoveryNicResourceGroupName?: string; + /** + * A value indicating whether an existing NIC is allowed to be reused during failover subject to + * availability. Default value: false. + */ + reuseExistingNic?: boolean; + /** + * The name of the NIC to be used when creating target NICs in TFO. + */ + tfoRecoveryNicName?: string; + /** + * The resource group of the NIC to be used when creating target NICs in TFO. + */ + tfoRecoveryNicResourceGroupName?: string; + /** + * A value indicating whether an existing NIC is allowed to be reused during test failover + * subject to availability. Default value: false. + */ + tfoReuseExistingNic?: boolean; } /** - * @interface - * An interface representing InputEndpoint. * Azure VM input endpoint details. - * */ export interface InputEndpoint { /** - * @member {string} [endpointName] The input endpoint name. + * The input endpoint name. */ endpointName?: string; /** - * @member {number} [privatePort] The input endpoint private port. + * The input endpoint private port. */ privatePort?: number; /** - * @member {number} [publicPort] The input endpoint public port. + * The input endpoint public port. */ publicPort?: number; /** - * @member {string} [protocol] The input endpoint protocol. + * The input endpoint protocol. */ protocol?: string; } /** - * @interface - * An interface representing AzureToAzureVmSyncedConfigDetails. * Azure to Azure VM synced configuration details. - * */ export interface AzureToAzureVmSyncedConfigDetails { /** - * @member {{ [propertyName: string]: string }} [tags] The Azure VM tags. + * The Azure VM tags. */ tags?: { [propertyName: string]: string }; /** - * @member {RoleAssignment[]} [roleAssignments] The Azure role assignments. - */ - roleAssignments?: RoleAssignment[]; - /** - * @member {InputEndpoint[]} [inputEndpoints] The Azure VM input endpoints. + * The Azure VM input endpoints. */ inputEndpoints?: InputEndpoint[]; } @@ -949,8756 +1220,11538 @@ export interface AzureToAzureVmSyncedConfigDetails { /** * Contains the possible cases for ReplicationProviderSpecificSettings. */ -export type ReplicationProviderSpecificSettingsUnion = ReplicationProviderSpecificSettings | A2AReplicationDetails | HyperVReplicaAzureReplicationDetails | HyperVReplicaBaseReplicationDetails | HyperVReplicaBlueReplicationDetails | HyperVReplicaReplicationDetails | InMageAzureV2ReplicationDetails | InMageReplicationDetails; +export type ReplicationProviderSpecificSettingsUnion = ReplicationProviderSpecificSettings | A2AReplicationDetails | HyperVReplicaAzureReplicationDetails | HyperVReplicaBaseReplicationDetails | HyperVReplicaBlueReplicationDetails | HyperVReplicaReplicationDetails | InMageAzureV2ReplicationDetails | InMageRcmReplicationDetails | InMageReplicationDetails; /** - * @interface - * An interface representing ReplicationProviderSpecificSettings. * Replication provider specific settings. - * */ export interface ReplicationProviderSpecificSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ReplicationProviderSpecificSettings"; } /** - * @interface - * An interface representing A2AReplicationDetails. * A2A provider specific settings. - * */ export interface A2AReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [fabricObjectId] The fabric specific object Id of the - * virtual machine. + * The fabric specific object Id of the virtual machine. */ fabricObjectId?: string; /** - * @member {string} [multiVmGroupId] The multi vm group Id. + * The initial primary fabric location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialPrimaryFabricLocation?: string; + /** + * The initial recovery fabric location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialRecoveryFabricLocation?: string; + /** + * The initial primary availability zone. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialPrimaryZone?: string; + /** + * The initial recovery availability zone. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialRecoveryZone?: string; + /** + * The multi vm group Id. */ multiVmGroupId?: string; /** - * @member {string} [multiVmGroupName] The multi vm group name. + * The multi vm group name. */ multiVmGroupName?: string; /** - * @member {MultiVmGroupCreateOption} [multiVmGroupCreateOption] Whether - * Multi VM group is auto created or specified by user. Possible values - * include: 'AutoCreated', 'UserSpecified' + * Whether Multi VM group is auto created or specified by user. Possible values include: + * 'AutoCreated', 'UserSpecified' */ multiVmGroupCreateOption?: MultiVmGroupCreateOption; /** - * @member {string} [managementId] The management Id. + * The management Id. */ managementId?: string; /** - * @member {A2AProtectedDiskDetails[]} [protectedDisks] The list of protected - * disks. + * The list of protected disks. */ protectedDisks?: A2AProtectedDiskDetails[]; /** - * @member {A2AProtectedManagedDiskDetails[]} [protectedManagedDisks] The - * list of protected managed disks. + * The list of unprotected disks. + */ + unprotectedDisks?: A2AUnprotectedDiskDetails[]; + /** + * The list of protected managed disks. */ protectedManagedDisks?: A2AProtectedManagedDiskDetails[]; /** - * @member {string} [recoveryBootDiagStorageAccountId] The recovery boot - * diagnostic storage account Arm Id. + * The recovery boot diagnostic storage account Arm Id. */ recoveryBootDiagStorageAccountId?: string; /** - * @member {string} [primaryFabricLocation] Primary fabric location. + * Primary fabric location. */ primaryFabricLocation?: string; /** - * @member {string} [recoveryFabricLocation] The recovery fabric location. + * The recovery fabric location. */ recoveryFabricLocation?: string; /** - * @member {string} [osType] The type of operating system. + * The type of operating system. */ osType?: string; /** - * @member {string} [recoveryAzureVMSize] The size of recovery virtual - * machine. + * The size of recovery virtual machine. */ recoveryAzureVMSize?: string; /** - * @member {string} [recoveryAzureVMName] The name of recovery virtual - * machine. + * The name of recovery virtual machine. */ recoveryAzureVMName?: string; /** - * @member {string} [recoveryAzureResourceGroupId] The recovery resource - * group. + * The recovery resource group. */ recoveryAzureResourceGroupId?: string; /** - * @member {string} [recoveryCloudService] The recovery cloud service. + * The recovery cloud service. */ recoveryCloudService?: string; /** - * @member {string} [recoveryAvailabilitySet] The recovery availability set. + * The recovery availability set. */ recoveryAvailabilitySet?: string; /** - * @member {string} [selectedRecoveryAzureNetworkId] The recovery virtual - * network. + * The recovery virtual network. */ selectedRecoveryAzureNetworkId?: string; /** - * @member {VMNicDetails[]} [vmNics] The virtual machine nic details. + * The test failover virtual network. + */ + selectedTfoAzureNetworkId?: string; + /** + * The virtual machine nic details. */ vmNics?: VMNicDetails[]; /** - * @member {AzureToAzureVmSyncedConfigDetails} [vmSyncedConfigDetails] The - * synced configuration details. + * The synced configuration details. */ vmSyncedConfigDetails?: AzureToAzureVmSyncedConfigDetails; /** - * @member {number} [monitoringPercentageCompletion] The percentage of the - * monitoring job. The type of the monitoring job is defined by + * The percentage of the monitoring job. The type of the monitoring job is defined by * MonitoringJobType property. */ monitoringPercentageCompletion?: number; /** - * @member {string} [monitoringJobType] The type of the monitoring job. The - * progress is contained in MonitoringPercentageCompletion property. + * The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion + * property. */ monitoringJobType?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the source - * server. + * The last heartbeat received from the source server. */ lastHeartbeat?: Date; /** - * @member {string} [agentVersion] The agent version. + * The agent version. */ agentVersion?: string; /** - * @member {boolean} [isReplicationAgentUpdateRequired] A value indicating - * whether replication agent update is required. + * A value indicating whether replication agent update is required. */ isReplicationAgentUpdateRequired?: boolean; /** - * @member {string} [recoveryFabricObjectId] The recovery fabric object Id. + * The recovery fabric object Id. */ recoveryFabricObjectId?: string; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * The protection state for the vm. */ vmProtectionState?: string; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The protection state description for the vm. */ vmProtectionStateDescription?: string; /** - * @member {string} [lifecycleId] An id associated with the PE that survives - * actions like switch protection which change the backing PE/CPE objects - * internally.The lifecycle id gets carried forward to have a link/continuity - * in being able to have an Id that denotes the "same" protected item even - * though other internal Ids/ARM Id might be changing. + * An id associated with the PE that survives actions like switch protection which change the + * backing PE/CPE objects internally.The lifecycle id gets carried forward to have a + * link/continuity in being able to have an Id that denotes the "same" protected item even though + * other internal Ids/ARM Id might be changing. */ lifecycleId?: string; /** - * @member {string} [testFailoverRecoveryFabricObjectId] The test failover - * fabric object Id. + * The test failover fabric object Id. */ testFailoverRecoveryFabricObjectId?: string; /** - * @member {number} [rpoInSeconds] The last RPO value in seconds. + * The last RPO value in seconds. */ rpoInSeconds?: number; /** - * @member {Date} [lastRpoCalculatedTime] The time (in UTC) when the last RPO - * value was calculated by Protection Service. + * The time (in UTC) when the last RPO value was calculated by Protection Service. */ lastRpoCalculatedTime?: Date; + /** + * The recovery availability zone. + */ + recoveryAvailabilityZone?: string; + /** + * The encryption type of the VM. Possible values include: 'NotEncrypted', 'OnePassEncrypted', + * 'TwoPassEncrypted' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vmEncryptionType?: VmEncryptionType; + /** + * The test failover VM name. + */ + tfoAzureVMName?: string; + /** + * The recovery proximity placement group Id. + */ + recoveryProximityPlacementGroupId?: string; } /** - * Contains the possible cases for ReverseReplicationProviderSpecificInput. - */ -export type ReverseReplicationProviderSpecificInputUnion = ReverseReplicationProviderSpecificInput | A2AReprotectInput | HyperVReplicaAzureReprotectInput | InMageAzureV2ReprotectInput | InMageReprotectInput; - -/** - * @interface - * An interface representing ReverseReplicationProviderSpecificInput. - * Provider specific reverse replication input. - * + * Azure VM disk details. */ -export interface ReverseReplicationProviderSpecificInput { +export interface A2AVmDiskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk Uri. */ - instanceType: "ReverseReplicationProviderSpecificInput"; + diskUri?: string; + /** + * The recovery VHD storage account Id. + */ + recoveryAzureStorageAccountId?: string; + /** + * The primary staging storage account Id. + */ + primaryStagingAzureStorageAccountId?: string; } /** - * @interface - * An interface representing A2AReprotectInput. - * Azure specific reprotect input. - * + * Azure VM managed disk input details. */ -export interface A2AReprotectInput { +export interface A2AVmManagedDiskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk Id. */ - instanceType: "A2A"; + diskId?: string; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The primary staging storage account Arm Id. */ - recoveryContainerId?: string; + primaryStagingAzureStorageAccountId?: string; /** - * @member {A2AVmDiskInputDetails[]} [vmDisks] The list of vm disk details. + * The target resource group Arm Id. */ - vmDisks?: A2AVmDiskInputDetails[]; + recoveryResourceGroupId?: string; /** - * @member {string} [recoveryResourceGroupId] The recovery resource group Id. - * Valid for V2 scenarios. + * The replica disk type. */ - recoveryResourceGroupId?: string; + recoveryReplicaDiskAccountType?: string; /** - * @member {string} [recoveryCloudServiceId] The recovery cloud service Id. - * Valid for V1 scenarios. + * The target disk type after failover. */ - recoveryCloudServiceId?: string; + recoveryTargetDiskAccountType?: string; /** - * @member {string} [recoveryAvailabilitySetId] The recovery availability - * set. + * The recovery disk encryption set Id. */ - recoveryAvailabilitySetId?: string; + recoveryDiskEncryptionSetId?: string; /** - * @member {string} [policyId] The Policy Id. + * The recovery disk encryption information (for one / single pass flows). */ - policyId?: string; + diskEncryptionInfo?: DiskEncryptionInfo; } /** - * Contains the possible cases for SwitchProtectionProviderSpecificInput. + * Contains the possible cases for ReplicationProtectionIntentProviderSpecificSettings. */ -export type SwitchProtectionProviderSpecificInputUnion = SwitchProtectionProviderSpecificInput | A2ASwitchProtectionInput; +export type ReplicationProtectionIntentProviderSpecificSettingsUnion = ReplicationProtectionIntentProviderSpecificSettings | A2AReplicationIntentDetails; /** - * @interface - * An interface representing SwitchProtectionProviderSpecificInput. - * Provider specific switch protection input. - * + * Replication provider specific settings. */ -export interface SwitchProtectionProviderSpecificInput { +export interface ReplicationProtectionIntentProviderSpecificSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "SwitchProtectionProviderSpecificInput"; + instanceType: "ReplicationProtectionIntentProviderSpecificSettings"; } /** - * @interface - * An interface representing A2ASwitchProtectionInput. - * A2A specific switch protection input. - * + * A2A provider specific settings. */ -export interface A2ASwitchProtectionInput { +export interface A2AReplicationIntentDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The fabric specific object Id of the virtual machine. */ - recoveryContainerId?: string; + fabricObjectId?: string; /** - * @member {A2AVmDiskInputDetails[]} [vmDisks] The list of vm disk details. + * The ID of Policy governing this PE. */ - vmDisks?: A2AVmDiskInputDetails[]; + policyId?: string; /** - * @member {A2AVmManagedDiskInputDetails[]} [vmManagedDisks] The list of vm - * managed disk details. + * The primary location for the virtual machine. */ - vmManagedDisks?: A2AVmManagedDiskInputDetails[]; + primaryLocation?: string; /** - * @member {string} [recoveryResourceGroupId] The recovery resource group Id. - * Valid for V2 scenarios. + * The recovery location for the virtual machine. */ - recoveryResourceGroupId?: string; + recoveryLocation?: string; /** - * @member {string} [recoveryCloudServiceId] The recovery cloud service Id. - * Valid for V1 scenarios. + * The recovery subscription Id of the virtual machine. */ - recoveryCloudServiceId?: string; + recoverySubscriptionId?: string; + /** + * The recovery fabric Name. + */ + primaryFabricFriendlyName?: string; + /** + * The recovery fabric Name. + */ + recoveryFabricFriendlyName?: string; + /** + * The primary container Name. + */ + primaryContainerFriendlyName?: string; + /** + * The recovery container Name. + */ + recoveryContainerFriendlyName?: string; + /** + * The recovery availability type of the virtual machine. + */ + recoveryAvailabilityType?: string; + /** + * The list of vm disk details. + */ + vmDisks?: A2AVmDiskDetails[]; + /** + * The list of vm managed disk details. + */ + vmManagedDisks?: A2AVmManagedDiskDetails[]; + /** + * The recovery resource group id. + */ + recoveryResourceGroupId?: string; /** - * @member {string} [recoveryAvailabilitySetId] The recovery availability - * set. + * The recovery availability set Id. */ recoveryAvailabilitySetId?: string; /** - * @member {string} [policyId] The Policy Id. + * The recovery virtual network Id. */ - policyId?: string; + recoveryVirtualNetworkId?: string; + /** + * The recovery proximity placement group custom details. + */ + recoveryProximityPlacementGroupId?: string; + /** + * A value indicating whether the auto protection is enabled. Possible values include: + * 'Disabled', 'Enabled' + */ + autoProtectionOfDataDiskStatus?: AutoProtectionOfDataDiskStatus; + /** + * The multi vm group name. + */ + multiVmGroupName?: string; /** - * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic - * storage account. + * The multi vm group id. + */ + multiVmGroupId?: string; + /** + * The boot diagnostic storage account. */ recoveryBootDiagStorageAccountId?: string; /** - * @member {DiskEncryptionInfo} [diskEncryptionInfo] The recovery disk - * encryption information. + * The recovery disk encryption information (for two pass flows). */ diskEncryptionInfo?: DiskEncryptionInfo; + /** + * The recovery availability zone. + */ + recoveryAvailabilityZone?: string; } /** - * Contains the possible cases for ReplicationProviderSpecificUpdateContainerMappingInput. + * Contains the possible cases for ReverseReplicationProviderSpecificInput. */ -export type ReplicationProviderSpecificUpdateContainerMappingInputUnion = ReplicationProviderSpecificUpdateContainerMappingInput | A2AUpdateContainerMappingInput; +export type ReverseReplicationProviderSpecificInputUnion = ReverseReplicationProviderSpecificInput | A2AReprotectInput | HyperVReplicaAzureReprotectInput | InMageAzureV2ReprotectInput | InMageReprotectInput; /** - * @interface - * An interface representing ReplicationProviderSpecificUpdateContainerMappingInput. - * Provider specific input for update pairing operations. - * + * Provider specific reverse replication input. */ -export interface ReplicationProviderSpecificUpdateContainerMappingInput { +export interface ReverseReplicationProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "ReplicationProviderSpecificUpdateContainerMappingInput"; + instanceType: "ReverseReplicationProviderSpecificInput"; } /** - * @interface - * An interface representing A2AUpdateContainerMappingInput. - * A2A update protection container mapping. - * + * Azure specific reprotect input. */ -export interface A2AUpdateContainerMappingInput { +export interface A2AReprotectInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {AgentAutoUpdateStatus} [agentAutoUpdateStatus] A value indicating - * whether the auto update is enabled. Possible values include: 'Disabled', - * 'Enabled' + * The recovery container Id. */ - agentAutoUpdateStatus?: AgentAutoUpdateStatus; + recoveryContainerId?: string; /** - * @member {string} [automationAccountArmId] The automation account arm id. + * The list of vm disk details. */ - automationAccountArmId?: string; -} - -/** - * @interface - * An interface representing A2AVmManagedDiskUpdateDetails. - * Azure VM managed disk update input details. - * - */ -export interface A2AVmManagedDiskUpdateDetails { + vmDisks?: A2AVmDiskInputDetails[]; /** - * @member {string} [diskId] The disk Id. + * The recovery resource group Id. Valid for V2 scenarios. */ - diskId?: string; + recoveryResourceGroupId?: string; /** - * @member {string} [recoveryTargetDiskAccountType] The target disk type - * before failover. + * The recovery cloud service Id. Valid for V1 scenarios. */ - recoveryTargetDiskAccountType?: string; + recoveryCloudServiceId?: string; /** - * @member {string} [recoveryReplicaDiskAccountType] The replica disk type - * before failover. + * The recovery availability set. */ - recoveryReplicaDiskAccountType?: string; + recoveryAvailabilitySetId?: string; + /** + * The Policy Id. + */ + policyId?: string; } /** - * Contains the possible cases for UpdateReplicationProtectedItemProviderInput. + * Contains the possible cases for SwitchProtectionProviderSpecificInput. */ -export type UpdateReplicationProtectedItemProviderInputUnion = UpdateReplicationProtectedItemProviderInput | A2AUpdateReplicationProtectedItemInput | HyperVReplicaAzureUpdateReplicationProtectedItemInput | InMageAzureV2UpdateReplicationProtectedItemInput; +export type SwitchProtectionProviderSpecificInputUnion = SwitchProtectionProviderSpecificInput | A2ASwitchProtectionInput; /** - * @interface - * An interface representing UpdateReplicationProtectedItemProviderInput. - * Update replication protected item provider specific input. - * + * Provider specific switch protection input. */ -export interface UpdateReplicationProtectedItemProviderInput { +export interface SwitchProtectionProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "UpdateReplicationProtectedItemProviderInput"; + instanceType: "SwitchProtectionProviderSpecificInput"; } /** - * @interface - * An interface representing A2AUpdateReplicationProtectedItemInput. - * InMage Azure V2 input to update replication protected item. - * + * A2A specific switch protection input. */ -export interface A2AUpdateReplicationProtectedItemInput { +export interface A2ASwitchProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [recoveryCloudServiceId] The target cloud service ARM Id - * (for V1). + * The recovery container Id. */ - recoveryCloudServiceId?: string; + recoveryContainerId?: string; /** - * @member {string} [recoveryResourceGroupId] The target resource group ARM - * Id (for V2). + * The list of vm disk details. */ - recoveryResourceGroupId?: string; + vmDisks?: A2AVmDiskInputDetails[]; /** - * @member {A2AVmManagedDiskUpdateDetails[]} [managedDiskUpdateDetails] - * Managed disk update details. + * The list of vm managed disk details. */ - managedDiskUpdateDetails?: A2AVmManagedDiskUpdateDetails[]; + vmManagedDisks?: A2AVmManagedDiskInputDetails[]; /** - * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic - * storage account. + * The recovery resource group Id. Valid for V2 scenarios. */ - recoveryBootDiagStorageAccountId?: string; + recoveryResourceGroupId?: string; /** - * @member {DiskEncryptionInfo} [diskEncryptionInfo] The recovery os disk - * encryption information. + * The recovery cloud service Id. Valid for V1 scenarios. */ - diskEncryptionInfo?: DiskEncryptionInfo; -} - -/** - * @interface - * An interface representing AddVCenterRequestProperties. - * The properties of an add vCenter request. - * - */ -export interface AddVCenterRequestProperties { + recoveryCloudServiceId?: string; /** - * @member {string} [friendlyName] The friendly name of the vCenter. + * The recovery availability set. */ - friendlyName?: string; + recoveryAvailabilitySetId?: string; /** - * @member {string} [ipAddress] The IP address of the vCenter to be - * discovered. + * The recovery proximity placement group Id. */ - ipAddress?: string; + recoveryProximityPlacementGroupId?: string; /** - * @member {string} [processServerId] The process server Id from where the - * discovery is orchestrated. + * The Policy Id. */ - processServerId?: string; + policyId?: string; /** - * @member {string} [port] The port number for discovery. + * The boot diagnostic storage account. */ - port?: string; + recoveryBootDiagStorageAccountId?: string; /** - * @member {string} [runAsAccountId] The account Id which has privileges to - * discover the vCenter. + * The recovery disk encryption information. */ - runAsAccountId?: string; + diskEncryptionInfo?: DiskEncryptionInfo; } /** - * @interface - * An interface representing AddVCenterRequest. - * Input required to add vCenter. - * + * Contains the possible cases for TestFailoverProviderSpecificInput. */ -export interface AddVCenterRequest { - /** - * @member {AddVCenterRequestProperties} [properties] The properties of an - * add vCenter request. - */ - properties?: AddVCenterRequestProperties; -} +export type TestFailoverProviderSpecificInputUnion = TestFailoverProviderSpecificInput | A2ATestFailoverInput | HyperVReplicaAzureTestFailoverInput | InMageAzureV2TestFailoverInput | InMageRcmTestFailoverInput | InMageTestFailoverInput; /** - * @interface - * An interface representing AlertProperties. - * The proprties of an alert. - * + * Provider specific test failover input. */ -export interface AlertProperties { - /** - * @member {string} [sendToOwners] A value indicating whether to send email - * to subscription administrator. - */ - sendToOwners?: string; +export interface TestFailoverProviderSpecificInput { /** - * @member {string[]} [customEmailAddresses] The custom email address for - * sending emails. + * Polymorphic Discriminator */ - customEmailAddresses?: string[]; - /** - * @member {string} [locale] The locale for the email notification. - */ - locale?: string; + instanceType: "TestFailoverProviderSpecificInput"; } /** - * @interface - * An interface representing Resource. - * Azure resource. - * - * @extends BaseResource + * A2A provider specific input for test failover. */ -export interface Resource extends BaseResource { +export interface A2ATestFailoverInput { /** - * @member {string} [id] Resource Id - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Polymorphic Discriminator */ - readonly id?: string; - /** - * @member {string} [name] Resource Name - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly name?: string; + instanceType: "A2A"; /** - * @member {string} [type] Resource Type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The recovery point id to be passed to test failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ - readonly type?: string; + recoveryPointId?: string; /** - * @member {string} [location] Resource Location + * A value indicating whether to use recovery cloud service for TFO or not. */ - location?: string; + cloudServiceCreationOption?: string; } /** - * @interface - * An interface representing Alert. - * Implements the Alert class. - * - * @extends Resource + * Contains the possible cases for UnplannedFailoverProviderSpecificInput. */ -export interface Alert extends Resource { +export type UnplannedFailoverProviderSpecificInputUnion = UnplannedFailoverProviderSpecificInput | A2AUnplannedFailoverInput | HyperVReplicaAzureUnplannedFailoverInput | InMageAzureV2UnplannedFailoverInput | InMageRcmUnplannedFailoverInput | InMageUnplannedFailoverInput; + +/** + * Provider specific unplanned failover input. + */ +export interface UnplannedFailoverProviderSpecificInput { /** - * @member {AlertProperties} [properties] Alert related data. + * Polymorphic Discriminator */ - properties?: AlertProperties; + instanceType: "UnplannedFailoverProviderSpecificInput"; } /** - * @interface - * An interface representing ApplyRecoveryPointInputProperties. - * Input properties to apply recovery point. - * + * A2A provider specific input for unplanned failover. */ -export interface ApplyRecoveryPointInputProperties { +export interface A2AUnplannedFailoverInput { /** - * @member {string} [recoveryPointId] The recovery point Id. + * Polymorphic Discriminator */ - recoveryPointId?: string; + instanceType: "A2A"; /** - * @member {ApplyRecoveryPointProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific input for applying recovery - * point. + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ - providerSpecificDetails?: ApplyRecoveryPointProviderSpecificInputUnion; -} - -/** - * @interface - * An interface representing ApplyRecoveryPointInput. - * Input to apply recovery point. - * - */ -export interface ApplyRecoveryPointInput { + recoveryPointId?: string; /** - * @member {ApplyRecoveryPointInputProperties} [properties] The input - * properties to apply recovery point. + * A value indicating whether to use recovery cloud service for failover or not. */ - properties?: ApplyRecoveryPointInputProperties; + cloudServiceCreationOption?: string; } /** - * Contains the possible cases for JobDetails. + * Contains the possible cases for ReplicationProviderSpecificUpdateContainerMappingInput. */ -export type JobDetailsUnion = JobDetails | AsrJobDetails | ExportJobDetails | FailoverJobDetails | SwitchProtectionJobDetails | TestFailoverJobDetails; +export type ReplicationProviderSpecificUpdateContainerMappingInputUnion = ReplicationProviderSpecificUpdateContainerMappingInput | A2AUpdateContainerMappingInput; /** - * @interface - * An interface representing JobDetails. - * Job details based on specific job type. - * + * Provider specific input for update pairing operations. */ -export interface JobDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "JobDetails"; +export interface ReplicationProviderSpecificUpdateContainerMappingInput { /** - * @member {{ [propertyName: string]: string }} [affectedObjectDetails] The - * affected object properties like source server, source cloud, target - * server, target cloud etc. based on the workflow object details. + * Polymorphic Discriminator */ - affectedObjectDetails?: { [propertyName: string]: string }; + instanceType: "ReplicationProviderSpecificUpdateContainerMappingInput"; } /** - * @interface - * An interface representing AsrJobDetails. - * This class represents job details based on specific job type. - * + * A2A update protection container mapping. */ -export interface AsrJobDetails { +export interface A2AUpdateContainerMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "AsrJobDetails"; + instanceType: "A2A"; /** - * @member {{ [propertyName: string]: string }} [affectedObjectDetails] The - * affected object properties like source server, source cloud, target - * server, target cloud etc. based on the workflow object details. + * A value indicating whether the auto update is enabled. Possible values include: 'Disabled', + * 'Enabled' */ - affectedObjectDetails?: { [propertyName: string]: string }; + agentAutoUpdateStatus?: AgentAutoUpdateStatus; + /** + * The automation account arm id. + */ + automationAccountArmId?: string; } /** - * Contains the possible cases for TaskTypeDetails. - */ -export type TaskTypeDetailsUnion = TaskTypeDetails | AutomationRunbookTaskDetails | ConsistencyCheckTaskDetails | FabricReplicationGroupTaskDetails | JobTaskDetails | ManualActionTaskDetails | ScriptActionTaskDetails | VirtualMachineTaskDetails | VmNicUpdatesTaskDetails; - -/** - * @interface - * An interface representing TaskTypeDetails. - * Task details based on specific task type. - * + * Azure VM managed disk update input details. */ -export interface TaskTypeDetails { +export interface A2AVmManagedDiskUpdateDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk Id. */ - instanceType: "TaskTypeDetails"; + diskId?: string; + /** + * The target disk type before failover. + */ + recoveryTargetDiskAccountType?: string; + /** + * The replica disk type before failover. + */ + recoveryReplicaDiskAccountType?: string; + /** + * The recovery disk encryption information (for one / single pass flows). + */ + diskEncryptionInfo?: DiskEncryptionInfo; + /** + * The target disk name for unplanned failover operation. + */ + failoverDiskName?: string; + /** + * The target disk name for test failover operation. + */ + tfoDiskName?: string; } /** - * Contains the possible cases for GroupTaskDetails. + * Contains the possible cases for UpdateReplicationProtectedItemProviderInput. */ -export type GroupTaskDetailsUnion = GroupTaskDetails | InlineWorkflowTaskDetails | RecoveryPlanGroupTaskDetails | RecoveryPlanShutdownGroupTaskDetails; +export type UpdateReplicationProtectedItemProviderInputUnion = UpdateReplicationProtectedItemProviderInput | A2AUpdateReplicationProtectedItemInput | HyperVReplicaAzureUpdateReplicationProtectedItemInput | InMageAzureV2UpdateReplicationProtectedItemInput | InMageRcmUpdateReplicationProtectedItemInput; /** - * @interface - * An interface representing GroupTaskDetails. - * This class represents the group task details when parent child relationship - * exists in the drill down. - * + * Update replication protected item provider specific input. */ -export interface GroupTaskDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "GroupTaskDetails"; +export interface UpdateReplicationProtectedItemProviderInput { /** - * @member {ASRTask[]} [childTasks] The child tasks. + * Polymorphic Discriminator */ - childTasks?: ASRTask[]; + instanceType: "UpdateReplicationProtectedItemProviderInput"; } /** - * @interface - * An interface representing ServiceError. - * ASR error model - * + * InMage Azure V2 input to update replication protected item. */ -export interface ServiceError { +export interface A2AUpdateReplicationProtectedItemInput { /** - * @member {string} [code] Error code. + * Polymorphic Discriminator */ - code?: string; + instanceType: "A2A"; /** - * @member {string} [message] Error message. + * The target cloud service ARM Id (for V1). */ - message?: string; + recoveryCloudServiceId?: string; /** - * @member {string} [possibleCauses] Possible causes of error. + * The target resource group ARM Id (for V2). */ - possibleCauses?: string; + recoveryResourceGroupId?: string; /** - * @member {string} [recommendedAction] Recommended action to resolve error. + * Managed disk update details. */ - recommendedAction?: string; + managedDiskUpdateDetails?: A2AVmManagedDiskUpdateDetails[]; /** - * @member {string} [activityId] Activity Id. + * The boot diagnostic storage account. */ - activityId?: string; -} - -/** - * @interface - * An interface representing ProviderError. - * This class contains the error details per object. - * - */ -export interface ProviderError { + recoveryBootDiagStorageAccountId?: string; /** - * @member {number} [errorCode] The Error code. + * The recovery os disk encryption information. */ - errorCode?: number; + diskEncryptionInfo?: DiskEncryptionInfo; /** - * @member {string} [errorMessage] The Error message. + * The recovery proximity placement group Id. */ - errorMessage?: string; + recoveryProximityPlacementGroupId?: string; /** - * @member {string} [errorId] The Provider error Id. + * The user given name for test failover VM. */ - errorId?: string; + tfoAzureVMName?: string; +} + +/** + * Add Disks input properties. + */ +export interface AddDisksInputProperties { /** - * @member {string} [possibleCauses] The possible causes for the error. + * The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be + * AzureEnableProtectionInput object. For San provider, it will be SanEnableProtectionInput + * object. For HyperVReplicaAzure provider, it can be null. */ - possibleCauses?: string; + providerSpecificDetails?: AddDisksProviderSpecificInputUnion; +} + +/** + * Input for add disk(s) operation. + */ +export interface AddDisksInput { /** - * @member {string} [recommendedAction] The recommended action to resolve the - * error. + * Add disks input properties. */ - recommendedAction?: string; + properties?: AddDisksInputProperties; } /** - * @interface - * An interface representing JobErrorDetails. - * This class contains the error details per object. - * + * Identity provider input. */ -export interface JobErrorDetails { +export interface IdentityProviderInput { /** - * @member {ServiceError} [serviceErrorDetails] The Service error details. + * The tenant Id for the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ - serviceErrorDetails?: ServiceError; + tenantId: string; /** - * @member {ProviderError} [providerErrorDetails] The Provider error details. + * The application/client Id for the service principal with which the on-premise management/data + * plane components would communicate with our Azure services. */ - providerErrorDetails?: ProviderError; + applicationId: string; /** - * @member {string} [errorLevel] Error level of error. + * The object Id of the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ - errorLevel?: string; + objectId: string; /** - * @member {Date} [creationTime] The creation time of job error. + * The intended Audience of the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ - creationTime?: Date; + audience: string; /** - * @member {string} [taskId] The Id of the task. + * The base authority for Azure Active Directory authentication. */ - taskId?: string; + aadAuthority: string; } /** - * @interface - * An interface representing ASRTask. - * Task of the Job. - * + * The properties of an add provider request. */ -export interface ASRTask { +export interface AddRecoveryServicesProviderInputProperties { /** - * @member {string} [taskId] The Id. + * The name of the machine where the provider is getting added. */ - taskId?: string; + machineName: string; /** - * @member {string} [name] The unique Task name. + * The Id of the machine where the provider is getting added. */ - name?: string; + machineId?: string; /** - * @member {Date} [startTime] The start time. + * The identity provider input for DRA authentication. */ - startTime?: Date; + authenticationIdentityInput: IdentityProviderInput; /** - * @member {Date} [endTime] The end time. + * The identity provider input for resource access. */ - endTime?: Date; + resourceAccessIdentityInput: IdentityProviderInput; /** - * @member {string[]} [allowedActions] The state/actions applicable on this - * task. + * The identity provider input for data plane authentication. */ - allowedActions?: string[]; + dataPlaneAuthenticationIdentityInput?: IdentityProviderInput; +} + +/** + * Input required to add a provider. + */ +export interface AddRecoveryServicesProviderInput { /** - * @member {string} [friendlyName] The name. + * The properties of an add provider request. */ - friendlyName?: string; + properties: AddRecoveryServicesProviderInputProperties; +} + +/** + * The properties of an add vCenter request. + */ +export interface AddVCenterRequestProperties { /** - * @member {string} [state] The State. It is one of these values - - * NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other. + * The friendly name of the vCenter. */ - state?: string; + friendlyName?: string; /** - * @member {string} [stateDescription] The description of the task state. For - * example - For Succeeded state, description can be Completed, - * PartiallySucceeded, CompletedWithInformation or Skipped. + * The IP address of the vCenter to be discovered. */ - stateDescription?: string; + ipAddress?: string; /** - * @member {string} [taskType] The type of task. Details in CustomDetails - * property depend on this type. + * The process server Id from where the discovery is orchestrated. */ - taskType?: string; + processServerId?: string; /** - * @member {TaskTypeDetailsUnion} [customDetails] The custom task details - * based on the task type. + * The port number for discovery. */ - customDetails?: TaskTypeDetailsUnion; + port?: string; /** - * @member {GroupTaskDetailsUnion} [groupTaskCustomDetails] The custom task - * details based on the task type, if the task type is GroupTaskDetails or - * one of the types derived from it. + * The account Id which has privileges to discover the vCenter. */ - groupTaskCustomDetails?: GroupTaskDetailsUnion; + runAsAccountId?: string; +} + +/** + * Input required to add vCenter. + */ +export interface AddVCenterRequest { /** - * @member {JobErrorDetails[]} [errors] The task error details. + * The properties of an add vCenter request. */ - errors?: JobErrorDetails[]; + properties?: AddVCenterRequestProperties; } /** - * @interface - * An interface representing AutomationRunbookTaskDetails. - * This class represents the task details for an automation runbook. - * + * Agent disk details. */ -export interface AutomationRunbookTaskDetails { +export interface AgentDiskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "AutomationRunbookTaskDetails"; + readonly diskId?: string; /** - * @member {string} [name] The recovery plan task name. + * The disk name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly diskName?: string; /** - * @member {string} [cloudServiceName] The cloud service of the automation - * runbook account. + * A value indicating whether the disk is the OS disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - cloudServiceName?: string; + readonly isOSDisk?: string; /** - * @member {string} [subscriptionId] The subscription Id of the automation - * runbook account. + * The disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subscriptionId?: string; + readonly capacityInBytes?: number; /** - * @member {string} [accountName] The automation account name of the runbook. + * The lun of disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - accountName?: string; + readonly lunId?: number; +} + +/** + * Agent details. + */ +export interface AgentDetails { /** - * @member {string} [runbookId] The runbook Id. + * The Id of the agent running on the server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runbookId?: string; + readonly agentId?: string; /** - * @member {string} [runbookName] The runbook name. + * The Id of the machine to which the agent is registered. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runbookName?: string; + readonly machineId?: string; /** - * @member {string} [jobId] The job Id of the runbook execution. + * The machine BIOS Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobId?: string; + readonly biosId?: string; /** - * @member {string} [jobOutput] The execution output of the runbook. + * The machine FQDN. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobOutput?: string; + readonly fqdn?: string; /** - * @member {boolean} [isPrimarySideScript] A value indicating whether it is a - * primary side script or not. + * The details of agent disks. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isPrimarySideScript?: boolean; + readonly disks?: AgentDiskDetails[]; } /** - * Contains the possible cases for FabricSpecificCreationInput. - */ -export type FabricSpecificCreationInputUnion = FabricSpecificCreationInput | AzureFabricCreationInput | VMwareV2FabricCreationInput; - -/** - * @interface - * An interface representing FabricSpecificCreationInput. - * Fabric provider specific settings. - * + * The properties of an alert. */ -export interface FabricSpecificCreationInput { +export interface AlertProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * A value indicating whether to send email to subscription administrator. */ - instanceType: "FabricSpecificCreationInput"; -} - -/** - * @interface - * An interface representing AzureFabricCreationInput. - * Fabric provider specific settings. - * - */ -export interface AzureFabricCreationInput { + sendToOwners?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The custom email address for sending emails. */ - instanceType: "Azure"; + customEmailAddresses?: string[]; /** - * @member {string} [location] The Location. + * The locale for the email notification. */ - location?: string; + locale?: string; } /** - * Contains the possible cases for FabricSpecificDetails. - */ -export type FabricSpecificDetailsUnion = FabricSpecificDetails | AzureFabricSpecificDetails | HyperVSiteDetails | VmmDetails | VMwareDetails | VMwareV2FabricSpecificDetails; - -/** - * @interface - * An interface representing FabricSpecificDetails. - * Fabric specific details. - * + * Azure resource. */ -export interface FabricSpecificDetails { +export interface Resource extends BaseResource { /** - * @member {string} instanceType Polymorphic Discriminator + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "FabricSpecificDetails"; -} - -/** - * @interface - * An interface representing AzureFabricSpecificDetails. - * Azure Fabric Specific Details. - * - */ -export interface AzureFabricSpecificDetails { + readonly id?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * Resource Name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "Azure"; + readonly name?: string; /** - * @member {string} [location] The Location for the Azure fabric. + * Resource Type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - location?: string; + readonly type?: string; /** - * @member {string[]} [containerIds] The container Ids for the Azure fabric. + * Resource Location */ - containerIds?: string[]; + location?: string; } /** - * Contains the possible cases for FabricSpecificCreateNetworkMappingInput. + * Implements the Alert class. */ -export type FabricSpecificCreateNetworkMappingInputUnion = FabricSpecificCreateNetworkMappingInput | AzureToAzureCreateNetworkMappingInput | VmmToAzureCreateNetworkMappingInput | VmmToVmmCreateNetworkMappingInput; +export interface Alert extends Resource { + /** + * Alert related data. + */ + properties?: AlertProperties; +} /** - * @interface - * An interface representing FabricSpecificCreateNetworkMappingInput. - * Input details specific to fabrics during Network Mapping. - * + * Input properties to apply recovery point. */ -export interface FabricSpecificCreateNetworkMappingInput { +export interface ApplyRecoveryPointInputProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The recovery point Id. */ - instanceType: "FabricSpecificCreateNetworkMappingInput"; + recoveryPointId?: string; + /** + * Provider specific input for applying recovery point. + */ + providerSpecificDetails?: ApplyRecoveryPointProviderSpecificInputUnion; } /** - * @interface - * An interface representing AzureToAzureCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to Azure to - * Azure Network mapping. - * + * Input to apply recovery point. */ -export interface AzureToAzureCreateNetworkMappingInput { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "AzureToAzure"; +export interface ApplyRecoveryPointInput { /** - * @member {string} [primaryNetworkId] The primary azure vnet Id. + * The input properties to apply recovery point. */ - primaryNetworkId?: string; + properties?: ApplyRecoveryPointInputProperties; } /** - * Contains the possible cases for NetworkMappingFabricSpecificSettings. + * Contains the possible cases for JobDetails. */ -export type NetworkMappingFabricSpecificSettingsUnion = NetworkMappingFabricSpecificSettings | AzureToAzureNetworkMappingSettings | VmmToAzureNetworkMappingSettings | VmmToVmmNetworkMappingSettings; +export type JobDetailsUnion = JobDetails | AsrJobDetails | ExportJobDetails | FailoverJobDetails | SwitchProtectionJobDetails | TestFailoverJobDetails; /** - * @interface - * An interface representing NetworkMappingFabricSpecificSettings. - * Network Mapping fabric specific settings. - * + * Job details based on specific job type. */ -export interface NetworkMappingFabricSpecificSettings { +export interface JobDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "NetworkMappingFabricSpecificSettings"; + instanceType: "JobDetails"; + /** + * The affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. + */ + affectedObjectDetails?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing AzureToAzureNetworkMappingSettings. - * A2A Network Mapping fabric specific settings. - * + * This class represents job details based on specific job type. */ -export interface AzureToAzureNetworkMappingSettings { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "AzureToAzure"; +export interface AsrJobDetails { /** - * @member {string} [primaryFabricLocation] The primary fabric location. + * Polymorphic Discriminator */ - primaryFabricLocation?: string; + instanceType: "AsrJobDetails"; /** - * @member {string} [recoveryFabricLocation] The recovery fabric location. + * The affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. */ - recoveryFabricLocation?: string; + affectedObjectDetails?: { [propertyName: string]: string }; } /** - * Contains the possible cases for FabricSpecificUpdateNetworkMappingInput. + * Contains the possible cases for TaskTypeDetails. */ -export type FabricSpecificUpdateNetworkMappingInputUnion = FabricSpecificUpdateNetworkMappingInput | AzureToAzureUpdateNetworkMappingInput | VmmToAzureUpdateNetworkMappingInput | VmmToVmmUpdateNetworkMappingInput; +export type TaskTypeDetailsUnion = TaskTypeDetails | AutomationRunbookTaskDetails | ConsistencyCheckTaskDetails | FabricReplicationGroupTaskDetails | JobTaskDetails | ManualActionTaskDetails | ScriptActionTaskDetails | VirtualMachineTaskDetails | VmNicUpdatesTaskDetails; /** - * @interface - * An interface representing FabricSpecificUpdateNetworkMappingInput. - * Input details specific to fabrics during Network Mapping. - * + * Task details based on specific task type. */ -export interface FabricSpecificUpdateNetworkMappingInput { +export interface TaskTypeDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "FabricSpecificUpdateNetworkMappingInput"; + instanceType: "TaskTypeDetails"; } /** - * @interface - * An interface representing AzureToAzureUpdateNetworkMappingInput. - * Updates network mappings input. - * + * Contains the possible cases for GroupTaskDetails. */ -export interface AzureToAzureUpdateNetworkMappingInput { +export type GroupTaskDetailsUnion = GroupTaskDetails | InlineWorkflowTaskDetails | RecoveryPlanGroupTaskDetails | RecoveryPlanShutdownGroupTaskDetails; + +/** + * This class represents the group task details when parent child relationship exists in the drill + * down. + */ +export interface GroupTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "AzureToAzure"; + instanceType: "GroupTaskDetails"; /** - * @member {string} [primaryNetworkId] The primary azure vnet Id. + * The child tasks. */ - primaryNetworkId?: string; + childTasks?: ASRTask[]; } /** - * @interface - * An interface representing AzureVmDiskDetails. - * Disk details for E2A provider. - * + * ASR error model */ -export interface AzureVmDiskDetails { - /** - * @member {string} [vhdType] VHD type. - */ - vhdType?: string; - /** - * @member {string} [vhdId] The VHD id. - */ - vhdId?: string; +export interface ServiceError { /** - * @member {string} [vhdName] VHD name. + * Error code. */ - vhdName?: string; + code?: string; /** - * @member {string} [maxSizeMB] Max side in MB. + * Error message. */ - maxSizeMB?: string; + message?: string; /** - * @member {string} [targetDiskLocation] Blob uri of the Azure disk. + * Possible causes of error. */ - targetDiskLocation?: string; + possibleCauses?: string; /** - * @member {string} [targetDiskName] The target Azure disk name. + * Recommended action to resolve error. */ - targetDiskName?: string; + recommendedAction?: string; /** - * @member {string} [lunId] Ordinal\LunId of the disk for the Azure VM. + * Activity Id. */ - lunId?: string; + activityId?: string; } /** - * @interface - * An interface representing ComputeSizeErrorDetails. - * Represents the error used to indicate why the target compute size is not - * applicable. - * + * This class contains the error details per object. */ -export interface ComputeSizeErrorDetails { +export interface ProviderError { /** - * @member {string} [message] The error message. + * The Error code. */ - message?: string; + errorCode?: number; /** - * @member {string} [severity] The severity of the error. + * The Error message. */ - severity?: string; -} - -/** - * Contains the possible cases for ConfigurationSettings. - */ -export type ConfigurationSettingsUnion = ConfigurationSettings | HyperVVirtualMachineDetails | ReplicationGroupDetails | VmmVirtualMachineDetails | VMwareVirtualMachineDetails; - -/** - * @interface - * An interface representing ConfigurationSettings. - * Replication provider specific settings. - * - */ -export interface ConfigurationSettings { + errorMessage?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The Provider error Id. */ - instanceType: "ConfigurationSettings"; + errorId?: string; + /** + * The possible causes for the error. + */ + possibleCauses?: string; + /** + * The recommended action to resolve the error. + */ + recommendedAction?: string; } /** - * @interface - * An interface representing ConfigureAlertRequestProperties. - * Properties of a configure alert request. - * + * This class contains the error details per object. */ -export interface ConfigureAlertRequestProperties { +export interface JobErrorDetails { /** - * @member {string} [sendToOwners] A value indicating whether to send email - * to subscription administrator. + * The Service error details. */ - sendToOwners?: string; + serviceErrorDetails?: ServiceError; /** - * @member {string[]} [customEmailAddresses] The custom email address for - * sending emails. + * The Provider error details. */ - customEmailAddresses?: string[]; + providerErrorDetails?: ProviderError; /** - * @member {string} [locale] The locale for the email notification. + * Error level of error. */ - locale?: string; -} - -/** - * @interface - * An interface representing ConfigureAlertRequest. - * Request to configure alerts for the system. - * - */ -export interface ConfigureAlertRequest { + errorLevel?: string; /** - * @member {ConfigureAlertRequestProperties} [properties] The properties of a - * configure alert request. + * The creation time of job error. */ - properties?: ConfigureAlertRequestProperties; + creationTime?: Date; + /** + * The Id of the task. + */ + taskId?: string; } /** - * @interface - * An interface representing InconsistentVmDetails. - * This class stores the monitoring details for consistency check of - * inconsistent Protected Entity. - * + * Task of the Job. */ -export interface InconsistentVmDetails { +export interface ASRTask { /** - * @member {string} [vmName] The Vm name. + * The Id. */ - vmName?: string; + taskId?: string; /** - * @member {string} [cloudName] The Cloud name. + * The unique Task name. */ - cloudName?: string; + name?: string; /** - * @member {string[]} [details] The list of details regarding state of the - * Protected Entity in SRS and On prem. + * The start time. */ - details?: string[]; + startTime?: Date; /** - * @member {string[]} [errorIds] The list of error ids. + * The end time. */ - errorIds?: string[]; -} - -/** - * @interface - * An interface representing ConsistencyCheckTaskDetails. - * This class contains monitoring details of all the inconsistent Protected - * Entites in Vmm. - * - */ -export interface ConsistencyCheckTaskDetails { + endTime?: Date; /** - * @member {string} instanceType Polymorphic Discriminator + * The state/actions applicable on this task. */ - instanceType: "ConsistencyCheckTaskDetails"; + allowedActions?: string[]; /** - * @member {InconsistentVmDetails[]} [vmDetails] The list of inconsistent Vm - * details. + * The name. */ - vmDetails?: InconsistentVmDetails[]; + friendlyName?: string; + /** + * The State. It is one of these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, + * Suspended or Other. + */ + state?: string; + /** + * The description of the task state. For example - For Succeeded state, description can be + * Completed, PartiallySucceeded, CompletedWithInformation or Skipped. + */ + stateDescription?: string; + /** + * The type of task. Details in CustomDetails property depend on this type. + */ + taskType?: string; + /** + * The custom task details based on the task type. + */ + customDetails?: TaskTypeDetailsUnion; + /** + * The custom task details based on the task type, if the task type is GroupTaskDetails or one of + * the types derived from it. + */ + groupTaskCustomDetails?: GroupTaskDetailsUnion; + /** + * The task error details. + */ + errors?: JobErrorDetails[]; } /** - * @interface - * An interface representing CreateNetworkMappingInputProperties. - * Common input details for network mapping operation. - * + * This class represents the task details for an automation runbook. */ -export interface CreateNetworkMappingInputProperties { +export interface AutomationRunbookTaskDetails { /** - * @member {string} [recoveryFabricName] Recovery fabric Name. + * Polymorphic Discriminator */ - recoveryFabricName?: string; + instanceType: "AutomationRunbookTaskDetails"; /** - * @member {string} [recoveryNetworkId] Recovery network Id. + * The recovery plan task name. */ - recoveryNetworkId?: string; + name?: string; /** - * @member {FabricSpecificCreateNetworkMappingInputUnion} - * [fabricSpecificDetails] Fabric specific input properties. + * The cloud service of the automation runbook account. */ - fabricSpecificDetails?: FabricSpecificCreateNetworkMappingInputUnion; + cloudServiceName?: string; + /** + * The subscription Id of the automation runbook account. + */ + subscriptionId?: string; + /** + * The automation account name of the runbook. + */ + accountName?: string; + /** + * The runbook Id. + */ + runbookId?: string; + /** + * The runbook name. + */ + runbookName?: string; + /** + * The job Id of the runbook execution. + */ + jobId?: string; + /** + * The execution output of the runbook. + */ + jobOutput?: string; + /** + * A value indicating whether it is a primary side script or not. + */ + isPrimarySideScript?: boolean; } /** - * @interface - * An interface representing CreateNetworkMappingInput. - * Create network mappings input. - * + * Contains the possible cases for FabricSpecificCreationInput. */ -export interface CreateNetworkMappingInput { - /** - * @member {CreateNetworkMappingInputProperties} [properties] Input - * properties for creating network mapping. - */ - properties?: CreateNetworkMappingInputProperties; -} +export type FabricSpecificCreationInputUnion = FabricSpecificCreationInput | AzureFabricCreationInput | InMageRcmFabricCreationInput | VMwareV2FabricCreationInput; /** - * @interface - * An interface representing CreatePolicyInputProperties. - * Policy creation properties. - * + * Fabric provider specific settings. */ -export interface CreatePolicyInputProperties { +export interface FabricSpecificCreationInput { /** - * @member {PolicyProviderSpecificInputUnion} [providerSpecificInput] The - * ReplicationProviderSettings. + * Polymorphic Discriminator */ - providerSpecificInput?: PolicyProviderSpecificInputUnion; + instanceType: "FabricSpecificCreationInput"; } /** - * @interface - * An interface representing CreatePolicyInput. - * Protection Policy input. - * + * Fabric provider specific settings. */ -export interface CreatePolicyInput { +export interface AzureFabricCreationInput { /** - * @member {CreatePolicyInputProperties} [properties] Policy creation - * properties. + * Polymorphic Discriminator */ - properties?: CreatePolicyInputProperties; + instanceType: "Azure"; + /** + * The Location. + */ + location?: string; } /** - * @interface - * An interface representing CreateProtectionContainerInputProperties. - * Create protection container input properties. - * + * Contains the possible cases for FabricSpecificDetails. */ -export interface CreateProtectionContainerInputProperties { - /** - * @member {ReplicationProviderSpecificContainerCreationInputUnion[]} - * [providerSpecificInput] Provider specific inputs for container creation. - */ - providerSpecificInput?: ReplicationProviderSpecificContainerCreationInputUnion[]; -} +export type FabricSpecificDetailsUnion = FabricSpecificDetails | AzureFabricSpecificDetails | HyperVSiteDetails | InMageRcmFabricSpecificDetails | VmmDetails | VMwareDetails | VMwareV2FabricSpecificDetails; /** - * @interface - * An interface representing CreateProtectionContainerInput. - * Create protection container input. - * + * Fabric specific details. */ -export interface CreateProtectionContainerInput { +export interface FabricSpecificDetails { /** - * @member {CreateProtectionContainerInputProperties} [properties] Create - * protection container input properties. + * Polymorphic Discriminator */ - properties?: CreateProtectionContainerInputProperties; + instanceType: "FabricSpecificDetails"; } /** - * @interface - * An interface representing CreateProtectionContainerMappingInputProperties. - * Configure pairing input properties. - * + * Azure Fabric Specific Details. */ -export interface CreateProtectionContainerMappingInputProperties { +export interface AzureFabricSpecificDetails { /** - * @member {string} [targetProtectionContainerId] The target unique - * protection container name. + * Polymorphic Discriminator */ - targetProtectionContainerId?: string; + instanceType: "Azure"; /** - * @member {string} [policyId] Applicable policy. + * The Location for the Azure fabric. */ - policyId?: string; + location?: string; /** - * @member {ReplicationProviderSpecificContainerMappingInputUnion} - * [providerSpecificInput] Provider specific input for pairing. + * The container Ids for the Azure fabric. */ - providerSpecificInput?: ReplicationProviderSpecificContainerMappingInputUnion; + containerIds?: string[]; } /** - * @interface - * An interface representing CreateProtectionContainerMappingInput. - * Configure pairing input. - * + * Contains the possible cases for FabricSpecificCreateNetworkMappingInput. */ -export interface CreateProtectionContainerMappingInput { +export type FabricSpecificCreateNetworkMappingInputUnion = FabricSpecificCreateNetworkMappingInput | AzureToAzureCreateNetworkMappingInput | VmmToAzureCreateNetworkMappingInput | VmmToVmmCreateNetworkMappingInput; + +/** + * Input details specific to fabrics during Network Mapping. + */ +export interface FabricSpecificCreateNetworkMappingInput { /** - * @member {CreateProtectionContainerMappingInputProperties} [properties] - * Configure protection input properties. + * Polymorphic Discriminator */ - properties?: CreateProtectionContainerMappingInputProperties; + instanceType: "FabricSpecificCreateNetworkMappingInput"; } /** - * @interface - * An interface representing RecoveryPlanProtectedItem. - * Recovery plan protected item. - * + * Create network mappings input properties/behavior specific to Azure to Azure Network mapping. */ -export interface RecoveryPlanProtectedItem { +export interface AzureToAzureCreateNetworkMappingInput { /** - * @member {string} [id] The ARM Id of the recovery plan protected item. + * Polymorphic Discriminator */ - id?: string; + instanceType: "AzureToAzure"; /** - * @member {string} [virtualMachineId] The virtual machine Id. + * The primary azure vnet Id. */ - virtualMachineId?: string; + primaryNetworkId?: string; } /** - * Contains the possible cases for RecoveryPlanActionDetails. + * Contains the possible cases for NetworkMappingFabricSpecificSettings. */ -export type RecoveryPlanActionDetailsUnion = RecoveryPlanActionDetails | RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails; +export type NetworkMappingFabricSpecificSettingsUnion = NetworkMappingFabricSpecificSettings | AzureToAzureNetworkMappingSettings | VmmToAzureNetworkMappingSettings | VmmToVmmNetworkMappingSettings; /** - * @interface - * An interface representing RecoveryPlanActionDetails. - * Recovery plan action custom details. - * + * Network Mapping fabric specific settings. */ -export interface RecoveryPlanActionDetails { +export interface NetworkMappingFabricSpecificSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "RecoveryPlanActionDetails"; + instanceType: "NetworkMappingFabricSpecificSettings"; } /** - * @interface - * An interface representing RecoveryPlanAction. - * Recovery plan action details. - * + * A2A Network Mapping fabric specific settings. */ -export interface RecoveryPlanAction { - /** - * @member {string} actionName The action name. - */ - actionName: string; +export interface AzureToAzureNetworkMappingSettings { /** - * @member {ReplicationProtectedItemOperation[]} failoverTypes The list of - * failover types. + * Polymorphic Discriminator */ - failoverTypes: ReplicationProtectedItemOperation[]; + instanceType: "AzureToAzure"; /** - * @member {PossibleOperationsDirections[]} failoverDirections The list of - * failover directions. + * The primary fabric location. */ - failoverDirections: PossibleOperationsDirections[]; + primaryFabricLocation?: string; /** - * @member {RecoveryPlanActionDetailsUnion} customDetails The custom details. + * The recovery fabric location. */ - customDetails: RecoveryPlanActionDetailsUnion; + recoveryFabricLocation?: string; } /** - * @interface - * An interface representing RecoveryPlanGroup. - * Recovery plan group details. - * + * Contains the possible cases for FabricSpecificUpdateNetworkMappingInput. */ -export interface RecoveryPlanGroup { - /** - * @member {RecoveryPlanGroupType} groupType The group type. Possible values - * include: 'Shutdown', 'Boot', 'Failover' - */ - groupType: RecoveryPlanGroupType; - /** - * @member {RecoveryPlanProtectedItem[]} [replicationProtectedItems] The list - * of protected items. - */ - replicationProtectedItems?: RecoveryPlanProtectedItem[]; - /** - * @member {RecoveryPlanAction[]} [startGroupActions] The start group - * actions. - */ - startGroupActions?: RecoveryPlanAction[]; +export type FabricSpecificUpdateNetworkMappingInputUnion = FabricSpecificUpdateNetworkMappingInput | AzureToAzureUpdateNetworkMappingInput | VmmToAzureUpdateNetworkMappingInput | VmmToVmmUpdateNetworkMappingInput; + +/** + * Input details specific to fabrics during Network Mapping. + */ +export interface FabricSpecificUpdateNetworkMappingInput { /** - * @member {RecoveryPlanAction[]} [endGroupActions] The end group actions. + * Polymorphic Discriminator */ - endGroupActions?: RecoveryPlanAction[]; + instanceType: "FabricSpecificUpdateNetworkMappingInput"; } /** - * @interface - * An interface representing CreateRecoveryPlanInputProperties. - * Recovery plan creation properties. - * + * Updates network mappings input. */ -export interface CreateRecoveryPlanInputProperties { +export interface AzureToAzureUpdateNetworkMappingInput { /** - * @member {string} primaryFabricId The primary fabric Id. + * Polymorphic Discriminator */ - primaryFabricId: string; + instanceType: "AzureToAzure"; /** - * @member {string} recoveryFabricId The recovery fabric Id. + * The primary azure vnet Id. */ - recoveryFabricId: string; - /** - * @member {FailoverDeploymentModel} [failoverDeploymentModel] The failover - * deployment model. Possible values include: 'NotApplicable', 'Classic', - * 'ResourceManager' - */ - failoverDeploymentModel?: FailoverDeploymentModel; - /** - * @member {RecoveryPlanGroup[]} groups The recovery plan groups. - */ - groups: RecoveryPlanGroup[]; + primaryNetworkId?: string; } /** - * @interface - * An interface representing CreateRecoveryPlanInput. - * Create recovery plan input class. - * + * Disk details for E2A provider. */ -export interface CreateRecoveryPlanInput { +export interface AzureVmDiskDetails { /** - * @member {CreateRecoveryPlanInputProperties} properties Recovery plan - * creation properties. + * VHD type. */ - properties: CreateRecoveryPlanInputProperties; -} - -/** - * @interface - * An interface representing CurrentScenarioDetails. - * Current scenario details of the protected entity. - * - */ -export interface CurrentScenarioDetails { + vhdType?: string; /** - * @member {string} [scenarioName] Scenario name. + * The VHD id. */ - scenarioName?: string; + vhdId?: string; /** - * @member {string} [jobId] ARM Id of the job being executed. + * The disk resource id. */ - jobId?: string; + diskId?: string; /** - * @member {Date} [startTime] Start time of the workflow. + * VHD name. */ - startTime?: Date; -} - -/** - * @interface - * An interface representing DataStore. - * The datastore details of the MT. - * - */ -export interface DataStore { + vhdName?: string; /** - * @member {string} [symbolicName] The symbolic name of data store. + * Max side in MB. */ - symbolicName?: string; + maxSizeMB?: string; /** - * @member {string} [uuid] The uuid of data store. + * Blob uri of the Azure disk. */ - uuid?: string; + targetDiskLocation?: string; /** - * @member {string} [capacity] The capacity of data store in GBs. + * The target Azure disk name. */ - capacity?: string; + targetDiskName?: string; /** - * @member {string} [freeSpace] The free space of data store in GBs. + * Ordinal\LunId of the disk for the Azure VM. */ - freeSpace?: string; + lunId?: string; /** - * @member {string} [type] The type of data store. + * The DiskEncryptionSet ARM ID. */ - type?: string; + diskEncryptionSetId?: string; } /** - * Contains the possible cases for DisableProtectionProviderSpecificInput. - */ -export type DisableProtectionProviderSpecificInputUnion = DisableProtectionProviderSpecificInput | InMageDisableProtectionProviderSpecificInput; - -/** - * @interface - * An interface representing DisableProtectionProviderSpecificInput. - * Disable protection provider specific input. - * + * Represents the error used to indicate why the target compute size is not applicable. */ -export interface DisableProtectionProviderSpecificInput { +export interface ComputeSizeErrorDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The error message. */ - instanceType: "DisableProtectionProviderSpecificInput"; + message?: string; + /** + * The severity of the error. + */ + severity?: string; } /** - * @interface - * An interface representing DisableProtectionInputProperties. - * Disable protection input properties. - * + * Contains the possible cases for ConfigurationSettings. */ -export interface DisableProtectionInputProperties { - /** - * @member {DisableProtectionReason} [disableProtectionReason] Disable - * protection reason. It can have values NotSpecified/MigrationComplete. - * Possible values include: 'NotSpecified', 'MigrationComplete' - */ - disableProtectionReason?: DisableProtectionReason; - /** - * @member {DisableProtectionProviderSpecificInputUnion} - * [replicationProviderInput] Replication provider specific input. - */ - replicationProviderInput?: DisableProtectionProviderSpecificInputUnion; -} +export type ConfigurationSettingsUnion = ConfigurationSettings | HyperVVirtualMachineDetails | ReplicationGroupDetails | VmmVirtualMachineDetails | VMwareVirtualMachineDetails; /** - * @interface - * An interface representing DisableProtectionInput. - * Disable protection input. - * + * Replication provider specific settings. */ -export interface DisableProtectionInput { +export interface ConfigurationSettings { /** - * @member {DisableProtectionInputProperties} [properties] Disable protection - * input properties. + * Polymorphic Discriminator */ - properties?: DisableProtectionInputProperties; + instanceType: "ConfigurationSettings"; } /** - * @interface - * An interface representing DiscoverProtectableItemRequestProperties. - * Discover protectable item properties. - * + * Properties of a configure alert request. */ -export interface DiscoverProtectableItemRequestProperties { +export interface ConfigureAlertRequestProperties { /** - * @member {string} [friendlyName] The friendly name of the physical machine. + * A value indicating whether to send email to subscription administrator. */ - friendlyName?: string; + sendToOwners?: string; /** - * @member {string} [ipAddress] The IP address of the physical machine to be - * discovered. + * The custom email address for sending emails. */ - ipAddress?: string; + customEmailAddresses?: string[]; /** - * @member {string} [osType] The OS type on the physical machine. + * The locale for the email notification. */ - osType?: string; + locale?: string; } /** - * @interface - * An interface representing DiscoverProtectableItemRequest. - * Request to add a physical machine as a protectable item in a container. - * + * Request to configure alerts for the system. */ -export interface DiscoverProtectableItemRequest { +export interface ConfigureAlertRequest { /** - * @member {DiscoverProtectableItemRequestProperties} [properties] The - * properties of a discover protectable item request. + * The properties of a configure alert request. */ - properties?: DiscoverProtectableItemRequestProperties; + properties?: ConfigureAlertRequestProperties; } /** - * @interface - * An interface representing DiskDetails. - * Onprem disk details data. - * + * This class stores the monitoring details for consistency check of inconsistent Protected Entity. */ -export interface DiskDetails { +export interface InconsistentVmDetails { /** - * @member {number} [maxSizeMB] The hard disk max size in MB. + * The Vm name. */ - maxSizeMB?: number; + vmName?: string; /** - * @member {string} [vhdType] The type of the volume. + * The Cloud name. */ - vhdType?: string; + cloudName?: string; /** - * @member {string} [vhdId] The VHD Id. + * The list of details regarding state of the Protected Entity in SRS and On prem. */ - vhdId?: string; + details?: string[]; /** - * @member {string} [vhdName] The VHD name. + * The list of error ids. */ - vhdName?: string; + errorIds?: string[]; } /** - * @interface - * An interface representing DiskVolumeDetails. - * Volume details. - * + * This class contains monitoring details of all the inconsistent Protected Entities in Vmm. */ -export interface DiskVolumeDetails { +export interface ConsistencyCheckTaskDetails { /** - * @member {string} [label] The volume label. + * Polymorphic Discriminator */ - label?: string; + instanceType: "ConsistencyCheckTaskDetails"; /** - * @member {string} [name] The volume name. + * The list of inconsistent Vm details. */ - name?: string; + vmDetails?: InconsistentVmDetails[]; } /** - * @interface - * An interface representing Display. - * Contains the localized display information for this particular operation / - * action. These value will be used by several clients for (1) custom role - * definitions for RBAC; (2) complex query filters for the event service; and - * (3) audit history / records for management operations. - * + * Common input details for network mapping operation. */ -export interface Display { +export interface CreateNetworkMappingInputProperties { /** - * @member {string} [provider] The provider. The localized friendly form of - * the resource provider name – it is expected to also include the - * publisher/company responsible. It should use Title Casing and begin with - * "Microsoft" for 1st party services. e.g. "Microsoft Monitoring Insights" - * or "Microsoft Compute." + * Recovery fabric Name. */ - provider?: string; + recoveryFabricName?: string; /** - * @member {string} [resource] The resource. The localized friendly form of - * the resource related to this action/operation – it should match the public - * documentation for the resource provider. It should use Title Casing. This - * value should be unique for a particular URL type (e.g. nested types should - * *not* reuse their parent’s display.resource field). e.g. "Virtual - * Machines" or "Scheduler Job Collections", or "Virtual Machine VM Sizes" or - * "Scheduler Jobs" + * Recovery network Id. */ - resource?: string; + recoveryNetworkId?: string; /** - * @member {string} [operation] The operation. The localized friendly name - * for the operation, as it should be shown to the user. It should be concise - * (to fit in drop downs) but clear (i.e. self-documenting). It should use - * Title Casing. Prescriptive guidance: Read Create or Update Delete - * 'ActionName' + * Fabric specific input properties. */ - operation?: string; + fabricSpecificDetails?: FabricSpecificCreateNetworkMappingInputUnion; +} + +/** + * Create network mappings input. + */ +export interface CreateNetworkMappingInput { /** - * @member {string} [description] The description. The localized friendly - * description for the operation, as it should be shown to the user. It - * should be thorough, yet concise – it will be used in tool tips and - * detailed views. Prescriptive guidance for namespaces: Read any - * 'display.provider' resource Create or Update any 'display.provider' - * resource Delete any 'display.provider' resource Perform any other action - * on any 'display.provider' resource Prescriptive guidance for namespaces: - * Read any 'display.resource' Create or Update any 'display.resource' Delete - * any 'display.resource' 'ActionName' any 'display.resources' + * Input properties for creating network mapping. */ - description?: string; + properties?: CreateNetworkMappingInputProperties; } /** - * @interface - * An interface representing EnableProtectionInputProperties. - * Enable protection input properties. - * + * Policy creation properties. */ -export interface EnableProtectionInputProperties { +export interface CreatePolicyInputProperties { /** - * @member {string} [policyId] The Policy Id. + * The ReplicationProviderSettings. */ - policyId?: string; + providerSpecificInput?: PolicyProviderSpecificInputUnion; +} + +/** + * Protection Policy input. + */ +export interface CreatePolicyInput { /** - * @member {string} [protectableItemId] The protectable item Id. + * Policy creation properties. */ - protectableItemId?: string; + properties?: CreatePolicyInputProperties; +} + +/** + * Create protection container input properties. + */ +export interface CreateProtectionContainerInputProperties { /** - * @member {EnableProtectionProviderSpecificInputUnion} - * [providerSpecificDetails] The ReplicationProviderInput. For - * HyperVReplicaAzure provider, it will be AzureEnableProtectionInput object. - * For San provider, it will be SanEnableProtectionInput object. For - * HyperVReplicaAzure provider, it can be null. + * Provider specific inputs for container creation. */ - providerSpecificDetails?: EnableProtectionProviderSpecificInputUnion; + providerSpecificInput?: ReplicationProviderSpecificContainerCreationInputUnion[]; } /** - * @interface - * An interface representing EnableProtectionInput. - * Enable protection input. - * + * Create protection container input. */ -export interface EnableProtectionInput { +export interface CreateProtectionContainerInput { /** - * @member {EnableProtectionInputProperties} [properties] Enable protection - * input properties. + * Create protection container input properties. */ - properties?: EnableProtectionInputProperties; + properties?: CreateProtectionContainerInputProperties; } /** - * @interface - * An interface representing EncryptionDetails. - * Encryption details for the fabric. - * + * Configure pairing input properties. */ -export interface EncryptionDetails { +export interface CreateProtectionContainerMappingInputProperties { /** - * @member {string} [kekState] The key encryption key state for the Vmm. + * The target unique protection container name. */ - kekState?: string; + targetProtectionContainerId?: string; /** - * @member {string} [kekCertThumbprint] The key encryption key certificate - * thumbprint. + * Applicable policy. */ - kekCertThumbprint?: string; + policyId?: string; /** - * @member {Date} [kekCertExpiryDate] The key encryption key certificate - * expiry date. + * Provider specific input for pairing. */ - kekCertExpiryDate?: Date; + providerSpecificInput?: ReplicationProviderSpecificContainerMappingInputUnion; } /** - * Contains the possible cases for EventSpecificDetails. + * Configure pairing input. */ -export type EventSpecificDetailsUnion = EventSpecificDetails | JobStatusEventDetails; +export interface CreateProtectionContainerMappingInput { + /** + * Configure protection input properties. + */ + properties?: CreateProtectionContainerMappingInputProperties; +} /** - * @interface - * An interface representing EventSpecificDetails. - * Model class for event specific details for an event. - * + * Create protection intent input properties. */ -export interface EventSpecificDetails { +export interface CreateProtectionIntentProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The ReplicationProviderInput. For A2A provider, it will be A2ACreateProtectionIntentInput + * object. For other providers, it can be null. */ - instanceType: "EventSpecificDetails"; + providerSpecificDetails?: CreateProtectionIntentProviderSpecificDetailsUnion; } /** - * @interface - * An interface representing InnerHealthError. - * Implements InnerHealthError class. HealthError object has a list of - * InnerHealthErrors as child errors. InnerHealthError is used because this - * will prevent an infinite loop of structures when Hydra tries to - * auto-generate the contract. We are exposing the related health errors as - * inner health errors and all API consumers can utilize this in the same - * fashion as Exception -> InnerException. - * + * Create protection intent input. */ -export interface InnerHealthError { +export interface CreateProtectionIntentInput { /** - * @member {string} [errorSource] Source of error. + * Create protection intent input properties. */ - errorSource?: string; + properties?: CreateProtectionIntentProperties; +} + +/** + * Recovery plan protected item. + */ +export interface RecoveryPlanProtectedItem { /** - * @member {string} [errorType] Type of error. + * The ARM Id of the recovery plan protected item. */ - errorType?: string; + id?: string; /** - * @member {string} [errorLevel] Level of error. + * The virtual machine Id. */ - errorLevel?: string; + virtualMachineId?: string; +} + +/** + * Contains the possible cases for RecoveryPlanActionDetails. + */ +export type RecoveryPlanActionDetailsUnion = RecoveryPlanActionDetails | RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails; + +/** + * Recovery plan action custom details. + */ +export interface RecoveryPlanActionDetails { /** - * @member {string} [errorCategory] Category of error. + * Polymorphic Discriminator */ - errorCategory?: string; + instanceType: "RecoveryPlanActionDetails"; +} + +/** + * Recovery plan action details. + */ +export interface RecoveryPlanAction { /** - * @member {string} [errorCode] Error code. + * The action name. */ - errorCode?: string; + actionName: string; /** - * @member {string} [summaryMessage] Summary message of the entity. + * The list of failover types. */ - summaryMessage?: string; + failoverTypes: ReplicationProtectedItemOperation[]; /** - * @member {string} [errorMessage] Error message. + * The list of failover directions. */ - errorMessage?: string; + failoverDirections: PossibleOperationsDirections[]; /** - * @member {string} [possibleCauses] Possible causes of error. + * The custom details. */ - possibleCauses?: string; + customDetails: RecoveryPlanActionDetailsUnion; +} + +/** + * Recovery plan group details. + */ +export interface RecoveryPlanGroup { /** - * @member {string} [recommendedAction] Recommended action to resolve error. + * The group type. Possible values include: 'Shutdown', 'Boot', 'Failover' */ - recommendedAction?: string; + groupType: RecoveryPlanGroupType; /** - * @member {Date} [creationTimeUtc] Error creation time (UTC) + * The list of protected items. */ - creationTimeUtc?: Date; + replicationProtectedItems?: RecoveryPlanProtectedItem[]; /** - * @member {string} [recoveryProviderErrorMessage] DRA error message. + * The start group actions. */ - recoveryProviderErrorMessage?: string; + startGroupActions?: RecoveryPlanAction[]; /** - * @member {string} [entityId] ID of the entity. + * The end group actions. */ - entityId?: string; + endGroupActions?: RecoveryPlanAction[]; } /** - * @interface - * An interface representing HealthError. - * Health Error - * + * Contains the possible cases for RecoveryPlanProviderSpecificInput. */ -export interface HealthError { - /** - * @member {InnerHealthError[]} [innerHealthErrors] The inner health errors. - * HealthError having a list of HealthError as child errors is problematic. - * InnerHealthError is used because this will prevent an infinite loop of - * structures when Hydra tries to auto-generate the contract. We are exposing - * the related health errors as inner health errors and all API consumers can - * utilize this in the same fashion as Exception -> InnerException. - */ - innerHealthErrors?: InnerHealthError[]; - /** - * @member {string} [errorSource] Source of error. - */ - errorSource?: string; - /** - * @member {string} [errorType] Type of error. - */ - errorType?: string; - /** - * @member {string} [errorLevel] Level of error. - */ - errorLevel?: string; - /** - * @member {string} [errorCategory] Category of error. - */ - errorCategory?: string; - /** - * @member {string} [errorCode] Error code. - */ - errorCode?: string; - /** - * @member {string} [summaryMessage] Summary message of the entity. - */ - summaryMessage?: string; - /** - * @member {string} [errorMessage] Error message. - */ - errorMessage?: string; - /** - * @member {string} [possibleCauses] Possible causes of error. - */ - possibleCauses?: string; - /** - * @member {string} [recommendedAction] Recommended action to resolve error. - */ - recommendedAction?: string; - /** - * @member {Date} [creationTimeUtc] Error creation time (UTC) - */ - creationTimeUtc?: Date; - /** - * @member {string} [recoveryProviderErrorMessage] DRA error message. - */ - recoveryProviderErrorMessage?: string; +export type RecoveryPlanProviderSpecificInputUnion = RecoveryPlanProviderSpecificInput | RecoveryPlanA2AInput; + +/** + * Recovery plan provider specific input base class. + */ +export interface RecoveryPlanProviderSpecificInput { /** - * @member {string} [entityId] ID of the entity. + * Polymorphic Discriminator */ - entityId?: string; + instanceType: "RecoveryPlanProviderSpecificInput"; } /** - * @interface - * An interface representing EventProperties. - * The properties of a monitoring event. - * + * Recovery plan creation properties. */ -export interface EventProperties { - /** - * @member {string} [eventCode] The Id of the monitoring event. - */ - eventCode?: string; - /** - * @member {string} [description] The event name. - */ - description?: string; - /** - * @member {string} [eventType] The type of the event. for example: VM - * Health, Server Health, Job Failure etc. - */ - eventType?: string; - /** - * @member {string} [affectedObjectFriendlyName] The friendly name of the - * source of the event on which it is raised (for example, VM, VMM etc). - */ - affectedObjectFriendlyName?: string; - /** - * @member {string} [severity] The severity of the event. - */ - severity?: string; +export interface CreateRecoveryPlanInputProperties { /** - * @member {Date} [timeOfOccurrence] The time of occurence of the event. + * The primary fabric Id. */ - timeOfOccurrence?: Date; + primaryFabricId: string; /** - * @member {string} [fabricId] The ARM ID of the fabric. + * The recovery fabric Id. */ - fabricId?: string; + recoveryFabricId: string; /** - * @member {EventProviderSpecificDetailsUnion} [providerSpecificDetails] The - * provider specific settings. + * The failover deployment model. Possible values include: 'NotApplicable', 'Classic', + * 'ResourceManager' */ - providerSpecificDetails?: EventProviderSpecificDetailsUnion; + failoverDeploymentModel?: FailoverDeploymentModel; /** - * @member {EventSpecificDetailsUnion} [eventSpecificDetails] The event - * specific settings. + * The recovery plan groups. */ - eventSpecificDetails?: EventSpecificDetailsUnion; + groups: RecoveryPlanGroup[]; /** - * @member {HealthError[]} [healthErrors] The list of errors / warnings - * capturing details associated with the issue(s). + * The provider specific input. */ - healthErrors?: HealthError[]; + providerSpecificInput?: RecoveryPlanProviderSpecificInputUnion[]; } /** - * @interface - * An interface representing Event. - * Implements the Event class. - * - * @extends Resource + * Create recovery plan input class. */ -export interface Event extends Resource { +export interface CreateRecoveryPlanInput { /** - * @member {EventProperties} [properties] Event related data. + * Recovery plan creation properties. */ - properties?: EventProperties; + properties: CreateRecoveryPlanInputProperties; } /** - * @interface - * An interface representing EventQueryParameter. - * Implements the event query parameter. - * + * Current job details of the migration item. */ -export interface EventQueryParameter { - /** - * @member {string} [eventCode] The source id of the events to be queried. - */ - eventCode?: string; - /** - * @member {string} [severity] The severity of the events to be queried. - */ - severity?: string; - /** - * @member {string} [eventType] The type of the events to be queried. - */ - eventType?: string; +export interface CurrentJobDetails { /** - * @member {string} [fabricName] The affected object server id of the events - * to be queried. + * The job name. */ - fabricName?: string; + jobName?: string; /** - * @member {string} [affectedObjectFriendlyName] The affected object name of - * the events to be queried. + * The ARM Id of the job being executed. */ - affectedObjectFriendlyName?: string; + jobId?: string; /** - * @member {Date} [startTime] The start time of the time range within which - * the events are to be queried. + * The start time of the job. */ startTime?: Date; - /** - * @member {Date} [endTime] The end time of the time range within which the - * events are to be queried. - */ - endTime?: Date; } /** - * @interface - * An interface representing ExportJobDetails. - * This class represents details for export jobs workflow. - * + * Current scenario details of the protected entity. */ -export interface ExportJobDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "ExportJobDetails"; +export interface CurrentScenarioDetails { /** - * @member {{ [propertyName: string]: string }} [affectedObjectDetails] The - * affected object properties like source server, source cloud, target - * server, target cloud etc. based on the workflow object details. + * Scenario name. */ - affectedObjectDetails?: { [propertyName: string]: string }; + scenarioName?: string; /** - * @member {string} [blobUri] BlobUri of the exported jobs. + * ARM Id of the job being executed. */ - blobUri?: string; + jobId?: string; /** - * @member {string} [sasToken] The sas token to access blob. + * Start time of the workflow. */ - sasToken?: string; + startTime?: Date; } /** - * @interface - * An interface representing FabricProperties. - * Fabric properties. - * + * The data store details of the MT. */ -export interface FabricProperties { +export interface DataStore { /** - * @member {string} [friendlyName] Friendly name of the fabric. + * The symbolic name of data store. */ - friendlyName?: string; + symbolicName?: string; /** - * @member {EncryptionDetails} [encryptionDetails] Encryption details for the - * fabric. + * The uuid of data store. */ - encryptionDetails?: EncryptionDetails; + uuid?: string; /** - * @member {EncryptionDetails} [rolloverEncryptionDetails] Rollover - * encryption details for the fabric. + * The capacity of data store in GBs. */ - rolloverEncryptionDetails?: EncryptionDetails; + capacity?: string; /** - * @member {string} [internalIdentifier] Dra Registration Id. + * The free space of data store in GBs. */ - internalIdentifier?: string; + freeSpace?: string; /** - * @member {string} [bcdrState] BCDR state of the fabric. + * The type of data store. */ - bcdrState?: string; + type?: string; +} + +/** + * Contains the possible cases for DisableProtectionProviderSpecificInput. + */ +export type DisableProtectionProviderSpecificInputUnion = DisableProtectionProviderSpecificInput | InMageDisableProtectionProviderSpecificInput; + +/** + * Disable protection provider specific input. + */ +export interface DisableProtectionProviderSpecificInput { /** - * @member {FabricSpecificDetailsUnion} [customDetails] Fabric specific - * settings. + * Polymorphic Discriminator */ - customDetails?: FabricSpecificDetailsUnion; + instanceType: "DisableProtectionProviderSpecificInput"; +} + +/** + * Disable protection input properties. + */ +export interface DisableProtectionInputProperties { /** - * @member {HealthError[]} [healthErrorDetails] Fabric health error details. + * Disable protection reason. It can have values NotSpecified/MigrationComplete. Possible values + * include: 'NotSpecified', 'MigrationComplete' */ - healthErrorDetails?: HealthError[]; + disableProtectionReason?: DisableProtectionReason; /** - * @member {string} [health] Health of fabric. + * Replication provider specific input. */ - health?: string; + replicationProviderInput?: DisableProtectionProviderSpecificInputUnion; } /** - * @interface - * An interface representing Fabric. - * Fabric definition. - * - * @extends Resource + * Disable protection input. */ -export interface Fabric extends Resource { +export interface DisableProtectionInput { /** - * @member {FabricProperties} [properties] Fabric related data. + * Disable protection input properties. */ - properties?: FabricProperties; + properties?: DisableProtectionInputProperties; } /** - * @interface - * An interface representing FabricCreationInputProperties. - * Properties of site details provided during the time of site creation - * + * Discover protectable item properties. */ -export interface FabricCreationInputProperties { +export interface DiscoverProtectableItemRequestProperties { /** - * @member {FabricSpecificCreationInputUnion} [customDetails] Fabric provider - * specific creation input. + * The friendly name of the physical machine. */ - customDetails?: FabricSpecificCreationInputUnion; + friendlyName?: string; + /** + * The IP address of the physical machine to be discovered. + */ + ipAddress?: string; + /** + * The OS type on the physical machine. + */ + osType?: string; } /** - * @interface - * An interface representing FabricCreationInput. - * Site details provided during the time of site creation - * + * Request to add a physical machine as a protectable item in a container. */ -export interface FabricCreationInput { +export interface DiscoverProtectableItemRequest { /** - * @member {FabricCreationInputProperties} [properties] Fabric creation - * input. + * The properties of a discover protectable item request. */ - properties?: FabricCreationInputProperties; + properties?: DiscoverProtectableItemRequestProperties; } /** - * @interface - * An interface representing JobEntity. - * This class contains the minimal job details required to navigate to the - * desired drill down. - * + * On-prem disk details data. */ -export interface JobEntity { +export interface DiskDetails { /** - * @member {string} [jobId] The job id. + * The hard disk max size in MB. */ - jobId?: string; + maxSizeMB?: number; /** - * @member {string} [jobFriendlyName] The job display name. + * The type of the volume. */ - jobFriendlyName?: string; + vhdType?: string; /** - * @member {string} [targetObjectId] The object id. + * The VHD Id. */ - targetObjectId?: string; + vhdId?: string; /** - * @member {string} [targetObjectName] The object name. + * The VHD name. */ - targetObjectName?: string; + vhdName?: string; +} + +/** + * Volume details. + */ +export interface DiskVolumeDetails { /** - * @member {string} [targetInstanceType] The workflow affected object type. + * The volume label. */ - targetInstanceType?: string; + label?: string; /** - * @member {string} [jobScenarioName] The job name. Enum type ScenarioName. + * The volume name. */ - jobScenarioName?: string; + name?: string; } /** - * @interface - * An interface representing FabricReplicationGroupTaskDetails. - * This class represents the fabric replication group task details. - * + * Contains the localized display information for this particular operation / action. These value + * will be used by several clients for (1) custom role definitions for RBAC; (2) complex query + * filters for the event service; and (3) audit history / records for management operations. */ -export interface FabricReplicationGroupTaskDetails { +export interface Display { /** - * @member {string} instanceType Polymorphic Discriminator + * The provider. The localized friendly form of the resource provider name – it is expected to + * also include the publisher/company responsible. It should use Title Casing and begin with + * "Microsoft" for 1st party services. e.g. "Microsoft Monitoring Insights" or "Microsoft + * Compute." */ - instanceType: "FabricReplicationGroupTaskDetails"; + provider?: string; /** - * @member {string} [skippedReason] The skipped reason. + * The resource. The localized friendly form of the resource related to this action/operation – + * it should match the public documentation for the resource provider. It should use Title + * Casing. This value should be unique for a particular URL type (e.g. nested types should *not* + * reuse their parent’s display.resource field). e.g. "Virtual Machines" or "Scheduler Job + * Collections", or "Virtual Machine VM Sizes" or "Scheduler Jobs" */ - skippedReason?: string; + resource?: string; /** - * @member {string} [skippedReasonString] The skipped reason string. + * The operation. The localized friendly name for the operation, as it should be shown to the + * user. It should be concise (to fit in drop downs) but clear (i.e. self-documenting). It should + * use Title Casing. Prescriptive guidance: Read Create or Update Delete 'ActionName' */ - skippedReasonString?: string; + operation?: string; /** - * @member {JobEntity} [jobTask] The job entity. + * The description. The localized friendly description for the operation, as it should be shown + * to the user. It should be thorough, yet concise – it will be used in tool tips and detailed + * views. Prescriptive guidance for namespaces: Read any 'display.provider' resource Create or + * Update any 'display.provider' resource Delete any 'display.provider' resource Perform any + * other action on any 'display.provider' resource Prescriptive guidance for namespaces: Read any + * 'display.resource' Create or Update any 'display.resource' Delete any 'display.resource' + * 'ActionName' any 'display.resources' */ - jobTask?: JobEntity; + description?: string; } /** - * @interface - * An interface representing FailoverReplicationProtectedItemDetails. - * Failover details for a replication protected item. - * + * Implements InnerHealthError class. HealthError object has a list of InnerHealthErrors as child + * errors. InnerHealthError is used because this will prevent an infinite loop of structures when + * Hydra tries to auto-generate the contract. We are exposing the related health errors as inner + * health errors and all API consumers can utilize this in the same fashion as Exception -> + * InnerException. */ -export interface FailoverReplicationProtectedItemDetails { +export interface InnerHealthError { /** - * @member {string} [name] The name. + * Source of error. */ - name?: string; + errorSource?: string; /** - * @member {string} [friendlyName] The friendly name. + * Type of error. */ - friendlyName?: string; + errorType?: string; /** - * @member {string} [testVmName] The test Vm name. + * Level of error. */ - testVmName?: string; + errorLevel?: string; /** - * @member {string} [testVmFriendlyName] The test Vm friendly name. + * Category of error. */ - testVmFriendlyName?: string; + errorCategory?: string; /** - * @member {string} [networkConnectionStatus] The network connection status. + * Error code. */ - networkConnectionStatus?: string; + errorCode?: string; /** - * @member {string} [networkFriendlyName] The network friendly name. + * Summary message of the entity. */ - networkFriendlyName?: string; + summaryMessage?: string; /** - * @member {string} [subnet] The network subnet. + * Error message. */ - subnet?: string; + errorMessage?: string; /** - * @member {string} [recoveryPointId] The recovery point Id. + * Possible causes of error. */ - recoveryPointId?: string; + possibleCauses?: string; /** - * @member {Date} [recoveryPointTime] The recovery point time. + * Recommended action to resolve error. */ - recoveryPointTime?: Date; -} - -/** - * @interface - * An interface representing FailoverJobDetails. - * This class represents the details for a failover job. - * - */ -export interface FailoverJobDetails { + recommendedAction?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * Error creation time (UTC) */ - instanceType: "FailoverJobDetails"; + creationTimeUtc?: Date; /** - * @member {{ [propertyName: string]: string }} [affectedObjectDetails] The - * affected object properties like source server, source cloud, target - * server, target cloud etc. based on the workflow object details. + * DRA error message. */ - affectedObjectDetails?: { [propertyName: string]: string }; + recoveryProviderErrorMessage?: string; /** - * @member {FailoverReplicationProtectedItemDetails[]} [protectedItemDetails] - * The test VM details. + * ID of the entity. */ - protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; + entityId?: string; } /** - * @interface - * An interface representing FailoverProcessServerRequestProperties. - * The properties of the Failover Process Server request. - * + * Health Error */ -export interface FailoverProcessServerRequestProperties { +export interface HealthError { /** - * @member {string} [containerName] The container identifier. + * The inner health errors. HealthError having a list of HealthError as child errors is + * problematic. InnerHealthError is used because this will prevent an infinite loop of structures + * when Hydra tries to auto-generate the contract. We are exposing the related health errors as + * inner health errors and all API consumers can utilize this in the same fashion as Exception + * -> InnerException. */ - containerName?: string; + innerHealthErrors?: InnerHealthError[]; /** - * @member {string} [sourceProcessServerId] The source process server. + * Source of error. */ - sourceProcessServerId?: string; + errorSource?: string; /** - * @member {string} [targetProcessServerId] The new process server. + * Type of error. */ - targetProcessServerId?: string; + errorType?: string; /** - * @member {string[]} [vmsToMigrate] The VMS to migrate. + * Level of error. */ - vmsToMigrate?: string[]; + errorLevel?: string; /** - * @member {string} [updateType] A value for failover type. It can be - * systemlevel/serverlevel + * Category of error. */ - updateType?: string; -} - -/** - * @interface - * An interface representing FailoverProcessServerRequest. - * Request to failover a process server. - * - */ -export interface FailoverProcessServerRequest { + errorCategory?: string; /** - * @member {FailoverProcessServerRequestProperties} [properties] The - * properties of the PS Failover request. + * Error code. */ - properties?: FailoverProcessServerRequestProperties; -} - -/** - * @interface - * An interface representing HealthErrorSummary. - * class to define the summary of the health error details. - * - */ -export interface HealthErrorSummary { + errorCode?: string; /** - * @member {string} [summaryCode] The code of the health error. + * Summary message of the entity. */ - summaryCode?: string; + summaryMessage?: string; /** - * @member {HealthErrorCategory} [category] The category of the health error. - * Possible values include: 'None', 'Replication', 'TestFailover', - * 'Configuration', 'FabricInfrastructure', 'VersionExpiry', - * 'AgentAutoUpdate' + * Error message. */ - category?: HealthErrorCategory; + errorMessage?: string; /** - * @member {Severity} [severity] Severity of error. Possible values include: - * 'NONE', 'Warning', 'Error', 'Info' + * Possible causes of error. */ - severity?: Severity; + possibleCauses?: string; /** - * @member {string} [summaryMessage] The summary message of the health error. + * Recommended action to resolve error. */ - summaryMessage?: string; + recommendedAction?: string; /** - * @member {string} [affectedResourceType] The type of affected ARM resource. + * Error creation time (UTC) */ - affectedResourceType?: string; + creationTimeUtc?: Date; /** - * @member {string} [affectedResourceSubtype] The sub type of any - * subcomponent within the ARM resource that this might be applicable. Value - * remains null if not applicable. + * DRA error message. */ - affectedResourceSubtype?: string; + recoveryProviderErrorMessage?: string; /** - * @member {string[]} [affectedResourceCorrelationIds] The list of affected - * resource correlation Ids. This can be used to uniquely identify the count - * of items affected by a specific category and severity as well as count of - * item affected by an specific issue. + * ID of the entity. */ - affectedResourceCorrelationIds?: string[]; + entityId?: string; + /** + * The health error unique id. + */ + errorId?: string; + /** + * Value indicating whether the health error is customer resolvable. Possible values include: + * 'Allowed', 'NotAllowed' + */ + customerResolvability?: HealthErrorCustomerResolvability; } /** - * @interface - * An interface representing HyperVReplica2012EventDetails. - * Model class for event details of a HyperVReplica E2E event. - * + * DRA details. */ -export interface HyperVReplica2012EventDetails { +export interface DraDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The DRA Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "HyperVReplica2012"; + readonly id?: string; /** - * @member {string} [containerName] The container friendly name. + * The DRA name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - containerName?: string; + readonly name?: string; /** - * @member {string} [fabricName] The fabric friendly name. + * The DRA version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricName?: string; + readonly version?: string; /** - * @member {string} [remoteContainerName] The remote container name. + * The last heartbeat received from the DRA. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - remoteContainerName?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [remoteFabricName] The remote fabric name. + * The health of the DRA. Possible values include: 'None', 'Normal', 'Warning', 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - remoteFabricName?: string; + readonly health?: ProtectionHealth; + /** + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing HyperVReplica2012R2EventDetails. - * Model class for event details of a HyperVReplica blue E2E event. - * + * Contains the possible cases for EnableMigrationProviderSpecificInput. */ -export interface HyperVReplica2012R2EventDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "HyperVReplica2012R2"; +export type EnableMigrationProviderSpecificInputUnion = EnableMigrationProviderSpecificInput | VMwareCbtEnableMigrationInput; + +/** + * Enable migration provider specific input. + */ +export interface EnableMigrationProviderSpecificInput { /** - * @member {string} [containerName] The container friendly name. + * Polymorphic Discriminator */ - containerName?: string; + instanceType: "EnableMigrationProviderSpecificInput"; +} + +/** + * Enable migration input properties. + */ +export interface EnableMigrationInputProperties { /** - * @member {string} [fabricName] The fabric friendly name. + * The policy Id. */ - fabricName?: string; + policyId: string; /** - * @member {string} [remoteContainerName] The remote container name. + * The provider specific details. */ - remoteContainerName?: string; + providerSpecificDetails: EnableMigrationProviderSpecificInputUnion; +} + +/** + * Enable migration input. + */ +export interface EnableMigrationInput { /** - * @member {string} [remoteFabricName] The remote fabric name. + * Enable migration input properties. */ - remoteFabricName?: string; + properties: EnableMigrationInputProperties; } /** - * @interface - * An interface representing HyperVReplicaAzureApplyRecoveryPointInput. - * ApplyRecoveryPoint input specific to HyperVReplicaAzure provider. - * + * Enable protection input properties. */ -export interface HyperVReplicaAzureApplyRecoveryPointInput { +export interface EnableProtectionInputProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The Policy Id. */ - instanceType: "HyperVReplicaAzure"; + policyId?: string; /** - * @member {string} [vaultLocation] The vault location where the recovery Vm - * resides. + * The protectable item Id. */ - vaultLocation?: string; + protectableItemId?: string; /** - * @member {string} [primaryKekCertificatePfx] The primary kek certificate - * pfx. + * The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be + * AzureEnableProtectionInput object. For San provider, it will be SanEnableProtectionInput + * object. For HyperVReplicaAzure provider, it can be null. */ - primaryKekCertificatePfx?: string; + providerSpecificDetails?: EnableProtectionProviderSpecificInputUnion; +} + +/** + * Enable protection input. + */ +export interface EnableProtectionInput { /** - * @member {string} [secondaryKekCertificatePfx] The secondary kek - * certificate pfx. + * Enable protection input properties. */ - secondaryKekCertificatePfx?: string; + properties?: EnableProtectionInputProperties; } /** - * @interface - * An interface representing HyperVReplicaAzureEnableProtectionInput. - * Azure specific enable protection input. - * + * Encryption details for the fabric. */ -export interface HyperVReplicaAzureEnableProtectionInput { +export interface EncryptionDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The key encryption key state for the Vmm. */ - instanceType: "HyperVReplicaAzure"; + kekState?: string; /** - * @member {string} [hvHostVmId] The Hyper-V host Vm Id. + * The key encryption key certificate thumbprint. */ - hvHostVmId?: string; + kekCertThumbprint?: string; /** - * @member {string} [vmName] The Vm Name. + * The key encryption key certificate expiry date. */ - vmName?: string; + kekCertExpiryDate?: Date; +} + +/** + * Contains the possible cases for EventSpecificDetails. + */ +export type EventSpecificDetailsUnion = EventSpecificDetails | JobStatusEventDetails; + +/** + * Model class for event specific details for an event. + */ +export interface EventSpecificDetails { /** - * @member {string} [osType] The OS type associated with vm. + * Polymorphic Discriminator */ - osType?: string; + instanceType: "EventSpecificDetails"; +} + +/** + * The properties of a monitoring event. + */ +export interface EventProperties { /** - * @member {string} [vhdId] The OS disk VHD id associated with vm. + * The Id of the monitoring event. */ - vhdId?: string; + eventCode?: string; /** - * @member {string} [targetStorageAccountId] The storage account name. + * The event name. */ - targetStorageAccountId?: string; + description?: string; /** - * @member {string} [targetAzureNetworkId] The selected target Azure network - * Id. + * The type of the event. for example: VM Health, Server Health, Job Failure etc. */ - targetAzureNetworkId?: string; + eventType?: string; /** - * @member {string} [targetAzureSubnetId] The selected target Azure subnet - * Id. + * The friendly name of the source of the event on which it is raised (for example, VM, VMM etc). */ - targetAzureSubnetId?: string; + affectedObjectFriendlyName?: string; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * The severity of the event. */ - enableRdpOnTargetOption?: string; + severity?: string; /** - * @member {string} [targetAzureVmName] The target azure Vm Name. + * The time of occurrence of the event. */ - targetAzureVmName?: string; + timeOfOccurrence?: Date; /** - * @member {string} [logStorageAccountId] The storage account to be used for - * logging during replication. + * The ARM ID of the fabric. */ - logStorageAccountId?: string; + fabricId?: string; /** - * @member {string[]} [disksToInclude] The list of VHD IDs of disks to be - * protected. + * The provider specific settings. */ - disksToInclude?: string[]; + providerSpecificDetails?: EventProviderSpecificDetailsUnion; /** - * @member {string} [targetAzureV1ResourceGroupId] The Id of the target - * resource group (for classic deployment) in which the failover VM is to be - * created. + * The event specific settings. */ - targetAzureV1ResourceGroupId?: string; + eventSpecificDetails?: EventSpecificDetailsUnion; /** - * @member {string} [targetAzureV2ResourceGroupId] The Id of the target - * resource group (for resource manager deployment) in which the failover VM - * is to be created. + * The list of errors / warnings capturing details associated with the issue(s). */ - targetAzureV2ResourceGroupId?: string; + healthErrors?: HealthError[]; +} + +/** + * Implements the Event class. + */ +export interface Event extends Resource { /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * Event related data. */ - useManagedDisks?: string; + properties?: EventProperties; } /** - * @interface - * An interface representing HyperVReplicaAzureEventDetails. - * Model class for event details of a HyperVReplica E2A event. - * + * Implements the event query parameter. */ -export interface HyperVReplicaAzureEventDetails { +export interface EventQueryParameter { /** - * @member {string} instanceType Polymorphic Discriminator + * The source id of the events to be queried. */ - instanceType: "HyperVReplicaAzure"; + eventCode?: string; /** - * @member {string} [containerName] The container friendly name. + * The severity of the events to be queried. */ - containerName?: string; + severity?: string; /** - * @member {string} [fabricName] The fabric friendly name. + * The type of the events to be queried. + */ + eventType?: string; + /** + * The affected object server id of the events to be queried. */ fabricName?: string; /** - * @member {string} [remoteContainerName] The remote container name. + * The affected object name of the events to be queried. */ - remoteContainerName?: string; -} - -/** - * @interface - * An interface representing HyperVReplicaAzureFailbackProviderInput. - * HvrA provider specific input for failback. - * - */ -export interface HyperVReplicaAzureFailbackProviderInput { + affectedObjectFriendlyName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The start time of the time range within which the events are to be queried. */ - instanceType: "HyperVReplicaAzureFailback"; + startTime?: Date; /** - * @member {string} [dataSyncOption] Data sync option. + * The end time of the time range within which the events are to be queried. */ - dataSyncOption?: string; + endTime?: Date; +} + +/** + * Existing storage account input. + */ +export interface ExistingProtectionProfile { /** - * @member {string} [recoveryVmCreationOption] ALR options to create - * alternate recovery. + * Polymorphic Discriminator */ - recoveryVmCreationOption?: string; + resourceType: "Existing"; /** - * @member {string} [providerIdForAlternateRecovery] Provider ID for - * alternate location + * The protection profile Arm Id. Throw error, if resource does not exists. */ - providerIdForAlternateRecovery?: string; + protectionProfileId: string; } /** - * @interface - * An interface representing HyperVReplicaAzureFailoverProviderInput. - * HvrA provider specific input for failover. - * + * Existing recovery availability set input. */ -export interface HyperVReplicaAzureFailoverProviderInput { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "HyperVReplicaAzure"; +export interface ExistingRecoveryAvailabilitySet { /** - * @member {string} [vaultLocation] Location of the vault. + * Polymorphic Discriminator */ - vaultLocation?: string; + resourceType: "Existing"; /** - * @member {string} [primaryKekCertificatePfx] Primary kek certificate pfx. + * The recovery availability set Id. Will throw error, if resource does not exist. */ - primaryKekCertificatePfx?: string; + recoveryAvailabilitySetId?: string; +} + +/** + * Existing recovery proximity placement group input. + */ +export interface ExistingRecoveryProximityPlacementGroup { /** - * @member {string} [secondaryKekCertificatePfx] Secondary kek certificate - * pfx. + * Polymorphic Discriminator */ - secondaryKekCertificatePfx?: string; + resourceType: "Existing"; /** - * @member {string} [recoveryPointId] The recovery point id to be passed to - * failover to a particular recovery point. In case of latest recovery point, - * null should be passed. + * The recovery proximity placement group Id. Will throw error, if resource does not exist. */ - recoveryPointId?: string; + recoveryProximityPlacementGroupId?: string; } /** - * @interface - * An interface representing HyperVReplicaAzurePolicyDetails. - * Hyper-V Replica Azure specific protection profile details. - * + * Existing recovery resource group input. */ -export interface HyperVReplicaAzurePolicyDetails { +export interface ExistingRecoveryRecoveryResourceGroup { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "HyperVReplicaAzure"; + resourceType: "Existing"; /** - * @member {number} [recoveryPointHistoryDurationInHours] The duration (in - * hours) to which point the recovery history needs to be maintained. + * The recovery resource group Id. Valid for V2 scenarios. */ - recoveryPointHistoryDurationInHours?: number; + recoveryResourceGroupId?: string; +} + +/** + * Existing recovery virtual network input. + */ +export interface ExistingRecoveryVirtualNetwork { /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] The - * interval (in hours) at which Hyper-V Replica should create an application - * consistent snapshot within the VM. + * Polymorphic Discriminator */ - applicationConsistentSnapshotFrequencyInHours?: number; + resourceType: "Existing"; /** - * @member {number} [replicationInterval] The replication interval. + * The recovery virtual network Id. Will throw error, if resource does not exist. */ - replicationInterval?: number; + recoveryVirtualNetworkId: string; /** - * @member {string} [onlineReplicationStartTime] The scheduled start time for - * the initial replication. If this parameter is Null, the initial - * replication starts immediately. + * The recovery subnet name. */ - onlineReplicationStartTime?: string; + recoverySubnetName?: string; +} + +/** + * Existing storage account input. + */ +export interface ExistingStorageAccount { /** - * @member {string} [encryption] A value indicating whether encryption is - * enabled for virtual machines in this cloud. + * Polymorphic Discriminator */ - encryption?: string; + resourceType: "Existing"; /** - * @member {string} [activeStorageAccountId] The active storage account Id. + * The storage account Arm Id. Throw error, if resource does not exists. */ - activeStorageAccountId?: string; + azureStorageAccountId: string; } /** - * @interface - * An interface representing HyperVReplicaAzurePolicyInput. - * Hyper-V Replica Azure specific input for creating a protection profile. - * + * This class represents details for export jobs workflow. */ -export interface HyperVReplicaAzurePolicyInput { +export interface ExportJobDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "HyperVReplicaAzure"; + instanceType: "ExportJobDetails"; /** - * @member {number} [recoveryPointHistoryDuration] The duration (in hours) to - * which point the recovery history needs to be maintained. + * The affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. */ - recoveryPointHistoryDuration?: number; + affectedObjectDetails?: { [propertyName: string]: string }; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] The - * interval (in hours) at which Hyper-V Replica should create an application - * consistent snapshot within the VM. + * BlobUri of the exported jobs. */ - applicationConsistentSnapshotFrequencyInHours?: number; + blobUri?: string; /** - * @member {number} [replicationInterval] The replication interval. + * The sas token to access blob. */ - replicationInterval?: number; - /** - * @member {string} [onlineReplicationStartTime] The scheduled start time for - * the initial replication. If this parameter is Null, the initial - * replication starts immediately. - */ - onlineReplicationStartTime?: string; - /** - * @member {string[]} [storageAccounts] The list of storage accounts to which - * the VMs in the primary cloud can replicate to. - */ - storageAccounts?: string[]; + sasToken?: string; } /** - * @interface - * An interface representing InitialReplicationDetails. - * Initial replication details. - * + * Fabric properties. */ -export interface InitialReplicationDetails { +export interface FabricProperties { /** - * @member {string} [initialReplicationType] Initial replication type. + * Friendly name of the fabric. */ - initialReplicationType?: string; + friendlyName?: string; /** - * @member {string} [initialReplicationProgressPercentage] The initial - * replication progress percentage. + * Encryption details for the fabric. */ - initialReplicationProgressPercentage?: string; -} - -/** - * @interface - * An interface representing OSDetails. - * Disk Details. - * - */ -export interface OSDetails { + encryptionDetails?: EncryptionDetails; /** - * @member {string} [osType] VM Disk details. + * Rollover encryption details for the fabric. */ - osType?: string; + rolloverEncryptionDetails?: EncryptionDetails; /** - * @member {string} [productType] Product type. + * Dra Registration Id. */ - productType?: string; + internalIdentifier?: string; /** - * @member {string} [osEdition] The OSEdition. + * BCDR state of the fabric. */ - osEdition?: string; + bcdrState?: string; /** - * @member {string} [oSVersion] The OS Version. + * Fabric specific settings. */ - oSVersion?: string; + customDetails?: FabricSpecificDetailsUnion; /** - * @member {string} [oSMajorVersion] The OS Major Version. + * Fabric health error details. */ - oSMajorVersion?: string; + healthErrorDetails?: HealthError[]; /** - * @member {string} [oSMinorVersion] The OS Minor Version. + * Health of fabric. */ - oSMinorVersion?: string; + health?: string; } /** - * @interface - * An interface representing HyperVReplicaAzureReplicationDetails. - * Hyper V Replica Azure provider specific settings. - * + * Fabric definition. */ -export interface HyperVReplicaAzureReplicationDetails { +export interface Fabric extends Resource { /** - * @member {string} instanceType Polymorphic Discriminator + * Fabric related data. */ - instanceType: "HyperVReplicaAzure"; + properties?: FabricProperties; +} + +/** + * Properties of site details provided during the time of site creation + */ +export interface FabricCreationInputProperties { /** - * @member {AzureVmDiskDetails[]} [azureVmDiskDetails] Azure VM Disk details. + * Fabric provider specific creation input. */ - azureVmDiskDetails?: AzureVmDiskDetails[]; + customDetails?: FabricSpecificCreationInputUnion; +} + +/** + * Site details provided during the time of site creation + */ +export interface FabricCreationInput { /** - * @member {string} [recoveryAzureVmName] Recovery Azure given name. + * Fabric creation input. */ - recoveryAzureVmName?: string; + properties?: FabricCreationInputProperties; +} + +/** + * This class contains the minimal job details required to navigate to the desired drill down. + */ +export interface JobEntity { /** - * @member {string} [recoveryAzureVMSize] The Recovery Azure VM size. + * The job id. */ - recoveryAzureVMSize?: string; + jobId?: string; /** - * @member {string} [recoveryAzureStorageAccount] The recovery Azure storage - * account. + * The job display name. */ - recoveryAzureStorageAccount?: string; + jobFriendlyName?: string; /** - * @member {string} [recoveryAzureLogStorageAccountId] The ARM id of the log - * storage account used for replication. This will be set to null if no log - * storage account was provided during enable protection. + * The object id. */ - recoveryAzureLogStorageAccountId?: string; + targetObjectId?: string; /** - * @member {Date} [lastReplicatedTime] The Last replication time. + * The object name. */ - lastReplicatedTime?: Date; + targetObjectName?: string; /** - * @member {number} [rpoInSeconds] Last RPO value. + * The workflow affected object type. */ - rpoInSeconds?: number; + targetInstanceType?: string; /** - * @member {Date} [lastRpoCalculatedTime] The last RPO calculated time. + * The job name. Enum type ScenarioName. */ - lastRpoCalculatedTime?: Date; + jobScenarioName?: string; +} + +/** + * This class represents the fabric replication group task details. + */ +export interface FabricReplicationGroupTaskDetails { /** - * @member {string} [vmId] The virtual machine Id. + * Polymorphic Discriminator */ - vmId?: string; + instanceType: "FabricReplicationGroupTaskDetails"; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * The skipped reason. */ - vmProtectionState?: string; + skippedReason?: string; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The skipped reason string. */ - vmProtectionStateDescription?: string; + skippedReasonString?: string; /** - * @member {InitialReplicationDetails} [initialReplicationDetails] Initial - * replication details. + * The job entity. */ - initialReplicationDetails?: InitialReplicationDetails; + jobTask?: JobEntity; +} + +/** + * Failover details for a replication protected item. + */ +export interface FailoverReplicationProtectedItemDetails { /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The name. */ - vmNics?: VMNicDetails[]; + name?: string; /** - * @member {string} [selectedRecoveryAzureNetworkId] The selected recovery - * azure network Id. + * The friendly name. */ - selectedRecoveryAzureNetworkId?: string; + friendlyName?: string; /** - * @member {string} [selectedSourceNicId] The selected source nic Id which - * will be used as the primary nic during failover. + * The test Vm name. */ - selectedSourceNicId?: string; + testVmName?: string; /** - * @member {string} [encryption] The encryption info. + * The test Vm friendly name. */ - encryption?: string; + testVmFriendlyName?: string; /** - * @member {OSDetails} [oSDetails] The operating system info. + * The network connection status. */ - oSDetails?: OSDetails; + networkConnectionStatus?: string; /** - * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the - * primary side. + * The network friendly name. */ - sourceVmRamSizeInMB?: number; + networkFriendlyName?: string; /** - * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary - * side. + * The network subnet. */ - sourceVmCpuCount?: number; + subnet?: string; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * The recovery point Id. */ - enableRdpOnTargetOption?: string; + recoveryPointId?: string; /** - * @member {string} [recoveryAzureResourceGroupId] The target resource group - * Id. + * The recovery point time. */ - recoveryAzureResourceGroupId?: string; + recoveryPointTime?: Date; +} + +/** + * This class represents the details for a failover job. + */ +export interface FailoverJobDetails { /** - * @member {string} [recoveryAvailabilitySetId] The recovery availability set - * Id. + * Polymorphic Discriminator */ - recoveryAvailabilitySetId?: string; + instanceType: "FailoverJobDetails"; /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * The affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. */ - useManagedDisks?: string; + affectedObjectDetails?: { [propertyName: string]: string }; /** - * @member {string} [licenseType] License Type of the VM to be used. + * The test VM details. */ - licenseType?: string; + protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; } /** - * @interface - * An interface representing HyperVReplicaAzureReprotectInput. - * Azure specific reprotect input. - * + * The properties of the Failover Process Server request. */ -export interface HyperVReplicaAzureReprotectInput { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "HyperVReplicaAzure"; +export interface FailoverProcessServerRequestProperties { /** - * @member {string} [hvHostVmId] The Hyper-V host Vm Id. + * The container identifier. */ - hvHostVmId?: string; + containerName?: string; /** - * @member {string} [vmName] The Vm Name. + * The source process server. */ - vmName?: string; + sourceProcessServerId?: string; /** - * @member {string} [osType] The OS type associated with vm. + * The new process server. */ - osType?: string; + targetProcessServerId?: string; /** - * @member {string} [vHDId] The OS disk VHD id associated with vm. + * The VMS to migrate. */ - vHDId?: string; + vmsToMigrate?: string[]; /** - * @member {string} [storageAccountId] The storage account name. + * A value for failover type. It can be systemlevel/serverlevel */ - storageAccountId?: string; + updateType?: string; +} + +/** + * Request to failover a process server. + */ +export interface FailoverProcessServerRequest { /** - * @member {string} [logStorageAccountId] The storage account to be used for - * logging during replication. + * The properties of the PS Failover request. */ - logStorageAccountId?: string; + properties?: FailoverProcessServerRequestProperties; } /** - * @interface - * An interface representing HyperVReplicaAzureUpdateReplicationProtectedItemInput. - * HyperV replica Azure input to update replication protected item. - * + * class to define the summary of the health error details. */ -export interface HyperVReplicaAzureUpdateReplicationProtectedItemInput { +export interface HealthErrorSummary { /** - * @member {string} instanceType Polymorphic Discriminator + * The code of the health error. */ - instanceType: "HyperVReplicaAzure"; + summaryCode?: string; /** - * @member {string} [recoveryAzureV1ResourceGroupId] The recovery Azure - * resource group Id for classic deployment. + * The category of the health error. Possible values include: 'None', 'Replication', + * 'TestFailover', 'Configuration', 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' */ - recoveryAzureV1ResourceGroupId?: string; + category?: HealthErrorCategory; /** - * @member {string} [recoveryAzureV2ResourceGroupId] The recovery Azure - * resource group Id for resource manager deployment. + * Severity of error. Possible values include: 'NONE', 'Warning', 'Error', 'Info' */ - recoveryAzureV2ResourceGroupId?: string; + severity?: Severity; /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * The summary message of the health error. */ - useManagedDisks?: string; + summaryMessage?: string; + /** + * The type of affected ARM resource. + */ + affectedResourceType?: string; + /** + * The sub type of any subcomponent within the ARM resource that this might be applicable. Value + * remains null if not applicable. + */ + affectedResourceSubtype?: string; + /** + * The list of affected resource correlation Ids. This can be used to uniquely identify the count + * of items affected by a specific category and severity as well as count of item affected by an + * specific issue. + */ + affectedResourceCorrelationIds?: string[]; } /** - * @interface - * An interface representing HyperVReplicaBaseEventDetails. - * Abstract model class for event details of a HyperVReplica E2E event. - * + * Model class for event details of a HyperVReplica E2E event. */ -export interface HyperVReplicaBaseEventDetails { +export interface HyperVReplica2012EventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "HyperVReplicaBaseEventDetails"; + instanceType: "HyperVReplica2012"; /** - * @member {string} [containerName] The container friendly name. + * The container friendly name. */ containerName?: string; /** - * @member {string} [fabricName] The fabric friendly name. + * The fabric friendly name. */ fabricName?: string; /** - * @member {string} [remoteContainerName] The remote container name. + * The remote container name. */ remoteContainerName?: string; /** - * @member {string} [remoteFabricName] The remote fabric name. + * The remote fabric name. */ remoteFabricName?: string; } /** - * @interface - * An interface representing HyperVReplicaBasePolicyDetails. - * Base class for HyperVReplica policy details. - * + * Model class for event details of a HyperVReplica blue E2E event. */ -export interface HyperVReplicaBasePolicyDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "HyperVReplicaBasePolicyDetails"; - /** - * @member {number} [recoveryPoints] A value indicating the number of - * recovery points. - */ - recoveryPoints?: number; +export interface HyperVReplica2012R2EventDetails { /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value - * indicating the application consistent frequency. + * Polymorphic Discriminator */ - applicationConsistentSnapshotFrequencyInHours?: number; + instanceType: "HyperVReplica2012R2"; /** - * @member {string} [compression] A value indicating whether compression has - * to be enabled. + * The container friendly name. */ - compression?: string; + containerName?: string; /** - * @member {string} [initialReplicationMethod] A value indicating whether IR - * is online. + * The fabric friendly name. */ - initialReplicationMethod?: string; + fabricName?: string; /** - * @member {string} [onlineReplicationStartTime] A value indicating the - * online IR start time. + * The remote container name. */ - onlineReplicationStartTime?: string; + remoteContainerName?: string; /** - * @member {string} [offlineReplicationImportPath] A value indicating the - * offline IR import path. + * The remote fabric name. */ - offlineReplicationImportPath?: string; + remoteFabricName?: string; +} + +/** + * ApplyRecoveryPoint input specific to HyperVReplicaAzure provider. + */ +export interface HyperVReplicaAzureApplyRecoveryPointInput { /** - * @member {string} [offlineReplicationExportPath] A value indicating the - * offline IR export path. + * Polymorphic Discriminator */ - offlineReplicationExportPath?: string; + instanceType: "HyperVReplicaAzure"; /** - * @member {number} [replicationPort] A value indicating the recovery HTTPS - * port. + * The vault location where the recovery Vm resides. */ - replicationPort?: number; + vaultLocation?: string; /** - * @member {number} [allowedAuthenticationType] A value indicating the - * authentication type. + * The primary kek certificate pfx. */ - allowedAuthenticationType?: number; + primaryKekCertificatePfx?: string; /** - * @member {string} [replicaDeletionOption] A value indicating whether the VM - * has to be auto deleted. Supported Values: String.Empty, None, - * OnRecoveryCloud + * The secondary kek certificate pfx. */ - replicaDeletionOption?: string; + secondaryKekCertificatePfx?: string; } /** - * @interface - * An interface representing HyperVReplicaBaseReplicationDetails. - * Hyper V replica provider specific settings base class. - * + * Azure specific enable protection input. */ -export interface HyperVReplicaBaseReplicationDetails { +export interface HyperVReplicaAzureEnableProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "HyperVReplicaBaseReplicationDetails"; + instanceType: "HyperVReplicaAzure"; /** - * @member {Date} [lastReplicatedTime] The Last replication time. + * The Hyper-V host Vm Id. */ - lastReplicatedTime?: Date; + hvHostVmId?: string; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The Vm Name. */ - vmNics?: VMNicDetails[]; + vmName?: string; /** - * @member {string} [vmId] The virtual machine Id. + * The OS type associated with vm. */ - vmId?: string; + osType?: string; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * The OS disk VHD id associated with vm. */ - vmProtectionState?: string; + vhdId?: string; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The storage account name. */ - vmProtectionStateDescription?: string; + targetStorageAccountId?: string; /** - * @member {InitialReplicationDetails} [initialReplicationDetails] Initial - * replication details. + * The selected target Azure network Id. */ - initialReplicationDetails?: InitialReplicationDetails; + targetAzureNetworkId?: string; /** - * @member {DiskDetails[]} [vMDiskDetails] VM disk details. + * The selected target Azure subnet Id. */ - vMDiskDetails?: DiskDetails[]; -} - -/** - * @interface - * An interface representing HyperVReplicaBluePolicyDetails. - * Hyper-V Replica Blue specific protection profile details. - * - */ -export interface HyperVReplicaBluePolicyDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "HyperVReplica2012R2"; + targetAzureSubnetId?: string; /** - * @member {number} [replicationFrequencyInSeconds] A value indicating the - * replication interval. + * The selected option to enable RDP\SSH on target vm after failover. String value of + * {SrsDataContract.EnableRDPOnTargetOption} enum. */ - replicationFrequencyInSeconds?: number; + enableRdpOnTargetOption?: string; /** - * @member {number} [recoveryPoints] A value indicating the number of - * recovery points. + * The target azure Vm Name. */ - recoveryPoints?: number; + targetAzureVmName?: string; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value - * indicating the application consistent frequency. + * The storage account to be used for logging during replication. */ - applicationConsistentSnapshotFrequencyInHours?: number; + logStorageAccountId?: string; /** - * @member {string} [compression] A value indicating whether compression has - * to be enabled. + * The list of VHD IDs of disks to be protected. */ - compression?: string; + disksToInclude?: string[]; /** - * @member {string} [initialReplicationMethod] A value indicating whether IR - * is online. + * The Id of the target resource group (for classic deployment) in which the failover VM is to be + * created. */ - initialReplicationMethod?: string; + targetAzureV1ResourceGroupId?: string; /** - * @member {string} [onlineReplicationStartTime] A value indicating the - * online IR start time. + * The Id of the target resource group (for resource manager deployment) in which the failover VM + * is to be created. */ - onlineReplicationStartTime?: string; + targetAzureV2ResourceGroupId?: string; /** - * @member {string} [offlineReplicationImportPath] A value indicating the - * offline IR import path. + * A value indicating whether managed disks should be used during failover. */ - offlineReplicationImportPath?: string; + useManagedDisks?: string; /** - * @member {string} [offlineReplicationExportPath] A value indicating the - * offline IR export path. + * The target availability zone. */ - offlineReplicationExportPath?: string; + targetAvailabilityZone?: string; /** - * @member {number} [replicationPort] A value indicating the recovery HTTPS - * port. + * The proximity placement group ARM Id. */ - replicationPort?: number; + targetProximityPlacementGroupId?: string; /** - * @member {number} [allowedAuthenticationType] A value indicating the - * authentication type. + * The availability set ARM Id. */ - allowedAuthenticationType?: number; + targetAvailabilitySetId?: string; /** - * @member {string} [replicaDeletionOption] A value indicating whether the VM - * has to be auto deleted. Supported Values: String.Empty, None, - * OnRecoveryCloud + * The target VM size. */ - replicaDeletionOption?: string; + targetVmSize?: string; } /** - * @interface - * An interface representing HyperVReplicaBluePolicyInput. - * HyperV Replica Blue policy input. - * + * Model class for event details of a HyperVReplica E2A event. */ -export interface HyperVReplicaBluePolicyInput { +export interface HyperVReplicaAzureEventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "HyperVReplica2012R2"; + instanceType: "HyperVReplicaAzure"; /** - * @member {number} [replicationFrequencyInSeconds] A value indicating the - * replication interval. + * The container friendly name. */ - replicationFrequencyInSeconds?: number; + containerName?: string; /** - * @member {number} [recoveryPoints] A value indicating the number of - * recovery points. + * The fabric friendly name. */ - recoveryPoints?: number; + fabricName?: string; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value - * indicating the application consistent frequency. + * The remote container name. */ - applicationConsistentSnapshotFrequencyInHours?: number; + remoteContainerName?: string; +} + +/** + * HvrA provider specific input for failback. + */ +export interface HyperVReplicaAzureFailbackProviderInput { /** - * @member {string} [compression] A value indicating whether compression has - * to be enabled. + * Polymorphic Discriminator */ - compression?: string; + instanceType: "HyperVReplicaAzureFailback"; /** - * @member {string} [initialReplicationMethod] A value indicating whether IR - * is online. + * Data sync option. */ - initialReplicationMethod?: string; + dataSyncOption?: string; /** - * @member {string} [onlineReplicationStartTime] A value indicating the - * online IR start time. + * ALR options to create alternate recovery. */ - onlineReplicationStartTime?: string; + recoveryVmCreationOption?: string; /** - * @member {string} [offlineReplicationImportPath] A value indicating the - * offline IR import path. + * Provider ID for alternate location */ - offlineReplicationImportPath?: string; + providerIdForAlternateRecovery?: string; +} + +/** + * HvrA provider specific input for failover. + */ +export interface HyperVReplicaAzureFailoverProviderInput { /** - * @member {string} [offlineReplicationExportPath] A value indicating the - * offline IR export path. + * Polymorphic Discriminator */ - offlineReplicationExportPath?: string; + instanceType: "HyperVReplicaAzure"; /** - * @member {number} [replicationPort] A value indicating the recovery HTTPS - * port. + * Location of the vault. */ - replicationPort?: number; + vaultLocation?: string; /** - * @member {number} [allowedAuthenticationType] A value indicating the - * authentication type. + * Primary kek certificate pfx. */ - allowedAuthenticationType?: number; + primaryKekCertificatePfx?: string; /** - * @member {string} [replicaDeletion] A value indicating whether the VM has - * to be auto deleted. + * Secondary kek certificate pfx. */ - replicaDeletion?: string; + secondaryKekCertificatePfx?: string; + /** + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. + */ + recoveryPointId?: string; } /** - * @interface - * An interface representing HyperVReplicaBlueReplicationDetails. - * HyperV replica 2012 R2 (Blue) replication details. - * + * Hyper-V Replica Azure specific protection profile details. */ -export interface HyperVReplicaBlueReplicationDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "HyperVReplica2012R2"; +export interface HyperVReplicaAzurePolicyDetails { /** - * @member {Date} [lastReplicatedTime] The Last replication time. + * Polymorphic Discriminator */ - lastReplicatedTime?: Date; + instanceType: "HyperVReplicaAzure"; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The duration (in hours) to which point the recovery history needs to be maintained. */ - vmNics?: VMNicDetails[]; + recoveryPointHistoryDurationInHours?: number; /** - * @member {string} [vmId] The virtual machine Id. + * The interval (in hours) at which Hyper-V Replica should create an application consistent + * snapshot within the VM. */ - vmId?: string; + applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * The replication interval. */ - vmProtectionState?: string; + replicationInterval?: number; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The scheduled start time for the initial replication. If this parameter is Null, the initial + * replication starts immediately. */ - vmProtectionStateDescription?: string; + onlineReplicationStartTime?: string; /** - * @member {InitialReplicationDetails} [initialReplicationDetails] Initial - * replication details. + * A value indicating whether encryption is enabled for virtual machines in this cloud. */ - initialReplicationDetails?: InitialReplicationDetails; + encryption?: string; /** - * @member {DiskDetails[]} [vMDiskDetails] VM disk details. + * The active storage account Id. */ - vMDiskDetails?: DiskDetails[]; + activeStorageAccountId?: string; } /** - * @interface - * An interface representing HyperVReplicaPolicyDetails. - * Hyper-V Replica Blue specific protection profile details. - * + * Hyper-V Replica Azure specific input for creating a protection profile. */ -export interface HyperVReplicaPolicyDetails { +export interface HyperVReplicaAzurePolicyInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "HyperVReplica2012"; + instanceType: "HyperVReplicaAzure"; /** - * @member {number} [recoveryPoints] A value indicating the number of - * recovery points. + * The duration (in hours) to which point the recovery history needs to be maintained. */ - recoveryPoints?: number; + recoveryPointHistoryDuration?: number; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value - * indicating the application consistent frequency. + * The interval (in hours) at which Hyper-V Replica should create an application consistent + * snapshot within the VM. */ applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [compression] A value indicating whether compression has - * to be enabled. - */ - compression?: string; - /** - * @member {string} [initialReplicationMethod] A value indicating whether IR - * is online. + * The replication interval. */ - initialReplicationMethod?: string; + replicationInterval?: number; /** - * @member {string} [onlineReplicationStartTime] A value indicating the - * online IR start time. + * The scheduled start time for the initial replication. If this parameter is Null, the initial + * replication starts immediately. */ onlineReplicationStartTime?: string; /** - * @member {string} [offlineReplicationImportPath] A value indicating the - * offline IR import path. - */ - offlineReplicationImportPath?: string; - /** - * @member {string} [offlineReplicationExportPath] A value indicating the - * offline IR export path. - */ - offlineReplicationExportPath?: string; - /** - * @member {number} [replicationPort] A value indicating the recovery HTTPS - * port. + * The list of storage accounts to which the VMs in the primary cloud can replicate to. */ - replicationPort?: number; + storageAccounts?: string[]; +} + +/** + * Initial replication details. + */ +export interface InitialReplicationDetails { /** - * @member {number} [allowedAuthenticationType] A value indicating the - * authentication type. + * Initial replication type. */ - allowedAuthenticationType?: number; + initialReplicationType?: string; /** - * @member {string} [replicaDeletionOption] A value indicating whether the VM - * has to be auto deleted. Supported Values: String.Empty, None, - * OnRecoveryCloud + * The initial replication progress percentage. */ - replicaDeletionOption?: string; + initialReplicationProgressPercentage?: string; } /** - * @interface - * An interface representing HyperVReplicaPolicyInput. - * Hyper-V Replica specific policy Input. - * + * Disk Details. */ -export interface HyperVReplicaPolicyInput { +export interface OSDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * VM Disk details. */ - instanceType: "HyperVReplica2012"; + osType?: string; /** - * @member {number} [recoveryPoints] A value indicating the number of - * recovery points. + * Product type. */ - recoveryPoints?: number; + productType?: string; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value - * indicating the application consistent frequency. + * The OSEdition. */ - applicationConsistentSnapshotFrequencyInHours?: number; + osEdition?: string; /** - * @member {string} [compression] A value indicating whether compression has - * to be enabled. + * The OS Version. */ - compression?: string; + oSVersion?: string; /** - * @member {string} [initialReplicationMethod] A value indicating whether IR - * is online. + * The OS Major Version. */ - initialReplicationMethod?: string; + oSMajorVersion?: string; /** - * @member {string} [onlineReplicationStartTime] A value indicating the - * online IR start time. + * The OS Minor Version. */ - onlineReplicationStartTime?: string; + oSMinorVersion?: string; +} + +/** + * Hyper V Replica Azure provider specific settings. + */ +export interface HyperVReplicaAzureReplicationDetails { /** - * @member {string} [offlineReplicationImportPath] A value indicating the - * offline IR import path. + * Polymorphic Discriminator */ - offlineReplicationImportPath?: string; + instanceType: "HyperVReplicaAzure"; /** - * @member {string} [offlineReplicationExportPath] A value indicating the - * offline IR export path. + * Azure VM Disk details. */ - offlineReplicationExportPath?: string; + azureVmDiskDetails?: AzureVmDiskDetails[]; /** - * @member {number} [replicationPort] A value indicating the recovery HTTPS - * port. + * Recovery Azure given name. */ - replicationPort?: number; + recoveryAzureVmName?: string; /** - * @member {number} [allowedAuthenticationType] A value indicating the - * authentication type. + * The Recovery Azure VM size. */ - allowedAuthenticationType?: number; + recoveryAzureVMSize?: string; /** - * @member {string} [replicaDeletion] A value indicating whether the VM has - * to be auto deleted. + * The recovery Azure storage account. */ - replicaDeletion?: string; -} - -/** - * @interface - * An interface representing HyperVReplicaReplicationDetails. - * HyperV replica 2012 replication details. - * - */ -export interface HyperVReplicaReplicationDetails { + recoveryAzureStorageAccount?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The ARM id of the log storage account used for replication. This will be set to null if no log + * storage account was provided during enable protection. */ - instanceType: "HyperVReplica2012"; + recoveryAzureLogStorageAccountId?: string; /** - * @member {Date} [lastReplicatedTime] The Last replication time. + * The Last replication time. */ lastReplicatedTime?: Date; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * Last RPO value. */ - vmNics?: VMNicDetails[]; + rpoInSeconds?: number; /** - * @member {string} [vmId] The virtual machine Id. + * The last RPO calculated time. + */ + lastRpoCalculatedTime?: Date; + /** + * The virtual machine Id. */ vmId?: string; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * The protection state for the vm. */ vmProtectionState?: string; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The protection state description for the vm. */ vmProtectionStateDescription?: string; /** - * @member {InitialReplicationDetails} [initialReplicationDetails] Initial - * replication details. + * Initial replication details. */ initialReplicationDetails?: InitialReplicationDetails; /** - * @member {DiskDetails[]} [vMDiskDetails] VM disk details. + * The PE Network details. */ - vMDiskDetails?: DiskDetails[]; -} - -/** - * @interface - * An interface representing HyperVSiteDetails. - * HyperVSite fabric specific details. - * - */ -export interface HyperVSiteDetails { + vmNics?: VMNicDetails[]; /** - * @member {string} instanceType Polymorphic Discriminator + * The selected recovery azure network Id. */ - instanceType: "HyperVSite"; -} - -/** - * @interface - * An interface representing HyperVVirtualMachineDetails. - * Single Host fabric provider specific VM settings. - * - */ -export interface HyperVVirtualMachineDetails { + selectedRecoveryAzureNetworkId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The selected source nic Id which will be used as the primary nic during failover. */ - instanceType: "HyperVVirtualMachine"; + selectedSourceNicId?: string; /** - * @member {string} [sourceItemId] The source id of the object. + * The encryption info. */ - sourceItemId?: string; + encryption?: string; /** - * @member {string} [generation] The id of the object in fabric. + * The operating system info. */ - generation?: string; + oSDetails?: OSDetails; /** - * @member {OSDetails} [osDetails] The Last replication time. + * The RAM size of the VM on the primary side. */ - osDetails?: OSDetails; + sourceVmRamSizeInMB?: number; /** - * @member {DiskDetails[]} [diskDetails] The Last successful failover time. + * The CPU count of the VM on the primary side. */ - diskDetails?: DiskDetails[]; + sourceVmCpuCount?: number; /** - * @member {PresenceStatus} [hasPhysicalDisk] A value indicating whether the - * VM has a physical disk attached. String value of - * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', - * 'Present', 'NotPresent' + * The selected option to enable RDP\SSH on target vm after failover. String value of + * {SrsDataContract.EnableRDPOnTargetOption} enum. */ - hasPhysicalDisk?: PresenceStatus; + enableRdpOnTargetOption?: string; /** - * @member {PresenceStatus} [hasFibreChannelAdapter] A value indicating - * whether the VM has a fibre channel adapter attached. String value of - * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', - * 'Present', 'NotPresent' + * The target resource group Id. */ - hasFibreChannelAdapter?: PresenceStatus; + recoveryAzureResourceGroupId?: string; /** - * @member {PresenceStatus} [hasSharedVhd] A value indicating whether the VM - * has a shared VHD attached. String value of - * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', - * 'Present', 'NotPresent' + * The recovery availability set Id. */ - hasSharedVhd?: PresenceStatus; + recoveryAvailabilitySetId?: string; + /** + * The target availability zone. + */ + targetAvailabilityZone?: string; + /** + * The target proximity placement group Id. + */ + targetProximityPlacementGroupId?: string; + /** + * A value indicating whether managed disks should be used during failover. + */ + useManagedDisks?: string; + /** + * License Type of the VM to be used. + */ + licenseType?: string; } /** - * @interface - * An interface representing IdentityInformation. - * Identity details. - * + * Azure specific reprotect input. */ -export interface IdentityInformation { +export interface HyperVReplicaAzureReprotectInput { /** - * @member {IdentityProviderType} [identityProviderType] The identity - * provider type. Value is the ToString() of a IdentityProviderType value. - * Possible values include: 'RecoveryServicesActiveDirectory' + * Polymorphic Discriminator */ - identityProviderType?: IdentityProviderType; + instanceType: "HyperVReplicaAzure"; /** - * @member {string} [tenantId] The tenant Id for the service principal with - * which the on-premise management/data plane components would communicate - * with our Azure services. + * The Hyper-V host Vm Id. */ - tenantId?: string; + hvHostVmId?: string; /** - * @member {string} [applicationId] The application/client Id for the service - * principal with which the on-premise management/data plane components would - * communicate with our Azure services. + * The Vm Name. */ - applicationId?: string; + vmName?: string; /** - * @member {string} [objectId] The object Id of the service principal with - * which the on-premise management/data plane components would communicate - * with our Azure services. + * The OS type associated with vm. */ - objectId?: string; + osType?: string; /** - * @member {string} [audience] The intended Audience of the service principal - * with which the on-premise management/data plane components would - * communicate with our Azure services. + * The OS disk VHD id associated with vm. */ - audience?: string; + vHDId?: string; /** - * @member {string} [aadAuthority] The base authority for Azure Active - * Directory authentication. + * The storage account name. */ - aadAuthority?: string; + storageAccountId?: string; /** - * @member {string} [certificateThumbprint] The certificate thumbprint. - * Applicable only if IdentityProviderType is - * RecoveryServicesActiveDirectory. + * The storage account to be used for logging during replication. */ - certificateThumbprint?: string; + logStorageAccountId?: string; } /** - * @interface - * An interface representing InlineWorkflowTaskDetails. - * This class represents the inline workflow task details. - * + * HvrA provider specific input for test failover. */ -export interface InlineWorkflowTaskDetails { +export interface HyperVReplicaAzureTestFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "InlineWorkflowTaskDetails"; + instanceType: "HyperVReplicaAzure"; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * Location of the vault. */ - childTasks?: ASRTask[]; + vaultLocation?: string; /** - * @member {string[]} [workflowIds] The list of child workflow ids. + * Primary kek certificate pfx. */ - workflowIds?: string[]; -} - -/** - * @interface - * An interface representing InMageAgentDetails. - * The details of the InMage agent. - * + primaryKekCertificatePfx?: string; + /** + * Secondary kek certificate pfx. + */ + secondaryKekCertificatePfx?: string; + /** + * The recovery point id to be passed to test failover to a particular recovery point. In case of + * latest recovery point, null should be passed. + */ + recoveryPointId?: string; +} + +/** + * HvrA provider specific input for unplanned failover. */ -export interface InMageAgentDetails { +export interface HyperVReplicaAzureUnplannedFailoverInput { /** - * @member {string} [agentVersion] The agent version. + * Polymorphic Discriminator */ - agentVersion?: string; + instanceType: "HyperVReplicaAzure"; /** - * @member {string} [agentUpdateStatus] A value indicating whether installed - * agent needs to be updated. + * Location of the vault. */ - agentUpdateStatus?: string; + vaultLocation?: string; /** - * @member {string} [postUpdateRebootStatus] A value indicating whether - * reboot is required after update is applied. + * Primary kek certificate pfx. */ - postUpdateRebootStatus?: string; + primaryKekCertificatePfx?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * Secondary kek certificate pfx. */ - agentExpiryDate?: Date; + secondaryKekCertificatePfx?: string; + /** + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. + */ + recoveryPointId?: string; } /** - * @interface - * An interface representing InMageAgentVersionDetails. - * InMage agent version details. - * + * HyperV replica Azure input to update replication protected item. */ -export interface InMageAgentVersionDetails { +export interface HyperVReplicaAzureUpdateReplicationProtectedItemInput { /** - * @member {string} [postUpdateRebootStatus] A value indicating whether - * reboot is required after update is applied. + * Polymorphic Discriminator */ - postUpdateRebootStatus?: string; + instanceType: "HyperVReplicaAzure"; /** - * @member {string} [version] The agent version. + * The recovery Azure resource group Id for classic deployment. */ - version?: string; + recoveryAzureV1ResourceGroupId?: string; /** - * @member {Date} [expiryDate] Version expiry date. + * The recovery Azure resource group Id for resource manager deployment. */ - expiryDate?: Date; + recoveryAzureV2ResourceGroupId?: string; /** - * @member {AgentVersionStatus} [status] A value indicating whether security - * update required. Possible values include: 'Supported', 'NotSupported', - * 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' + * A value indicating whether managed disks should be used during failover. */ - status?: AgentVersionStatus; -} - -/** - * @interface - * An interface representing InMageAzureV2ApplyRecoveryPointInput. - * ApplyRecoveryPoint input specific to InMageAzureV2 provider. - * - */ -export interface InMageAzureV2ApplyRecoveryPointInput { + useManagedDisks?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The dictionary of disk resource Id to disk encryption set ARM Id. */ - instanceType: "InMageAzureV2"; + diskIdToDiskEncryptionMap?: { [propertyName: string]: string }; /** - * @member {string} [vaultLocation] The vault location where the recovery Vm - * resides. + * The target proximity placement group Id. */ - vaultLocation?: string; + targetProximityPlacementGroupId?: string; + /** + * The target availability zone. + */ + targetAvailabilityZone?: string; } /** - * @interface - * An interface representing InMageAzureV2EnableProtectionInput. - * VMware Azure specific enable protection input. - * + * Abstract model class for event details of a HyperVReplica E2E event. */ -export interface InMageAzureV2EnableProtectionInput { +export interface HyperVReplicaBaseEventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "InMageAzureV2"; + instanceType: "HyperVReplicaBaseEventDetails"; /** - * @member {string} [masterTargetId] The Master target Id. + * The container friendly name. */ - masterTargetId?: string; + containerName?: string; /** - * @member {string} [processServerId] The Process Server Id. + * The fabric friendly name. */ - processServerId?: string; + fabricName?: string; /** - * @member {string} storageAccountId The storage account name. + * The remote container name. */ - storageAccountId: string; + remoteContainerName?: string; /** - * @member {string} [runAsAccountId] The CS account Id. + * The remote fabric name. */ - runAsAccountId?: string; + remoteFabricName?: string; +} + +/** + * Base class for HyperVReplica policy details. + */ +export interface HyperVReplicaBasePolicyDetails { /** - * @member {string} [multiVmGroupId] The multi vm group Id. + * Polymorphic Discriminator */ - multiVmGroupId?: string; + instanceType: "HyperVReplicaBasePolicyDetails"; /** - * @member {string} [multiVmGroupName] The multi vm group name. + * A value indicating the number of recovery points. */ - multiVmGroupName?: string; + recoveryPoints?: number; /** - * @member {string[]} [disksToInclude] The disks to include list. + * A value indicating the application consistent frequency. */ - disksToInclude?: string[]; + applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [targetAzureNetworkId] The selected target Azure network - * Id. + * A value indicating whether compression has to be enabled. */ - targetAzureNetworkId?: string; + compression?: string; /** - * @member {string} [targetAzureSubnetId] The selected target Azure subnet - * Id. + * A value indicating whether IR is online. */ - targetAzureSubnetId?: string; + initialReplicationMethod?: string; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * A value indicating the online IR start time. */ - enableRdpOnTargetOption?: string; + onlineReplicationStartTime?: string; /** - * @member {string} [targetAzureVmName] The target azure Vm Name. + * A value indicating the offline IR import path. */ - targetAzureVmName?: string; + offlineReplicationImportPath?: string; /** - * @member {string} [logStorageAccountId] The storage account to be used for - * logging during replication. + * A value indicating the offline IR export path. */ - logStorageAccountId?: string; + offlineReplicationExportPath?: string; /** - * @member {string} [targetAzureV1ResourceGroupId] The Id of the target - * resource group (for classic deployment) in which the failover VM is to be - * created. + * A value indicating the recovery HTTPS port. */ - targetAzureV1ResourceGroupId?: string; + replicationPort?: number; /** - * @member {string} [targetAzureV2ResourceGroupId] The Id of the target - * resource group (for resource manager deployment) in which the failover VM - * is to be created. + * A value indicating the authentication type. */ - targetAzureV2ResourceGroupId?: string; + allowedAuthenticationType?: number; /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, + * None, OnRecoveryCloud */ - useManagedDisks?: string; + replicaDeletionOption?: string; } /** - * @interface - * An interface representing InMageAzureV2EventDetails. - * Model class for event details of a VMwareAzureV2 event. - * + * Hyper V replica provider specific settings base class. */ -export interface InMageAzureV2EventDetails { +export interface HyperVReplicaBaseReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "InMageAzureV2"; + instanceType: "HyperVReplicaBaseReplicationDetails"; /** - * @member {string} [eventType] InMage Event type. Takes one of the values of - * {InMageDataContract.InMageMonitoringEventType}. + * The Last replication time. */ - eventType?: string; + lastReplicatedTime?: Date; /** - * @member {string} [category] InMage Event Category. + * The PE Network details. */ - category?: string; + vmNics?: VMNicDetails[]; /** - * @member {string} [component] InMage Event Component. + * The virtual machine Id. */ - component?: string; + vmId?: string; /** - * @member {string} [correctiveAction] Corrective Action string for the - * event. + * The protection state for the vm. */ - correctiveAction?: string; + vmProtectionState?: string; /** - * @member {string} [details] InMage Event Details. + * The protection state description for the vm. */ - details?: string; + vmProtectionStateDescription?: string; /** - * @member {string} [summary] InMage Event Summary. + * Initial replication details. */ - summary?: string; + initialReplicationDetails?: InitialReplicationDetails; /** - * @member {string} [siteName] VMware Site name. + * VM disk details. */ - siteName?: string; + vMDiskDetails?: DiskDetails[]; } /** - * @interface - * An interface representing InMageAzureV2FailoverProviderInput. - * InMageAzureV2 provider specific input for failover. - * + * Hyper-V Replica Blue specific protection profile details. */ -export interface InMageAzureV2FailoverProviderInput { +export interface HyperVReplicaBluePolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "InMageAzureV2"; + instanceType: "HyperVReplica2012R2"; /** - * @member {string} [vaultLocation] Location of the vault. + * A value indicating the replication interval. */ - vaultLocation?: string; + replicationFrequencyInSeconds?: number; /** - * @member {string} [recoveryPointId] The recovery point id to be passed to - * failover to a particular recovery point. In case of latest recovery point, - * null should be passed. + * A value indicating the number of recovery points. */ - recoveryPointId?: string; -} - -/** - * @interface - * An interface representing InMageAzureV2PolicyDetails. - * InMage Azure v2 specific protection profile details. - * - */ -export interface InMageAzureV2PolicyDetails { + recoveryPoints?: number; /** - * @member {string} instanceType Polymorphic Discriminator + * A value indicating the application consistent frequency. */ - instanceType: "InMageAzureV2"; + applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * A value indicating whether compression has to be enabled. */ - crashConsistentFrequencyInMinutes?: number; + compression?: string; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * A value indicating whether IR is online. */ - recoveryPointThresholdInMinutes?: number; + initialReplicationMethod?: string; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * A value indicating the online IR start time. */ - recoveryPointHistory?: number; + onlineReplicationStartTime?: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * A value indicating the offline IR import path. */ - appConsistentFrequencyInMinutes?: number; + offlineReplicationImportPath?: string; /** - * @member {string} [multiVmSyncStatus] A value indicating whether multi-VM - * sync has to be enabled. + * A value indicating the offline IR export path. */ - multiVmSyncStatus?: string; -} - -/** - * @interface - * An interface representing InMageAzureV2PolicyInput. - * VMWare Azure specific policy Input. - * - */ -export interface InMageAzureV2PolicyInput { + offlineReplicationExportPath?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * A value indicating the recovery HTTPS port. */ - instanceType: "InMageAzureV2"; + replicationPort?: number; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * A value indicating the authentication type. */ - recoveryPointThresholdInMinutes?: number; + allowedAuthenticationType?: number; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, + * None, OnRecoveryCloud */ - recoveryPointHistory?: number; + replicaDeletionOption?: string; +} + +/** + * HyperV Replica Blue policy input. + */ +export interface HyperVReplicaBluePolicyInput { /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency (in minutes). + * Polymorphic Discriminator */ - crashConsistentFrequencyInMinutes?: number; + instanceType: "HyperVReplica2012R2"; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency (in minutes). + * A value indicating the replication interval. */ - appConsistentFrequencyInMinutes?: number; + replicationFrequencyInSeconds?: number; /** - * @member {SetMultiVmSyncStatus} multiVmSyncStatus A value indicating - * whether multi-VM sync has to be enabled. Value should be 'Enabled' or - * 'Disabled'. Possible values include: 'Enable', 'Disable' + * A value indicating the number of recovery points. */ - multiVmSyncStatus: SetMultiVmSyncStatus; -} - -/** - * @interface - * An interface representing InMageAzureV2ProtectedDiskDetails. - * InMageAzureV2 protected disk details. - * - */ -export interface InMageAzureV2ProtectedDiskDetails { + recoveryPoints?: number; /** - * @member {string} [diskId] The disk id. + * A value indicating the application consistent frequency. */ - diskId?: string; + applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [diskName] The disk name. + * A value indicating whether compression has to be enabled. */ - diskName?: string; + compression?: string; /** - * @member {string} [protectionStage] The protection stage. + * A value indicating whether IR is online. */ - protectionStage?: string; + initialReplicationMethod?: string; /** - * @member {string} [healthErrorCode] The health error code for the disk. + * A value indicating the online IR start time. */ - healthErrorCode?: string; + onlineReplicationStartTime?: string; /** - * @member {number} [rpoInSeconds] The RPO in seconds. + * A value indicating the offline IR import path. */ - rpoInSeconds?: number; + offlineReplicationImportPath?: string; /** - * @member {string} [resyncRequired] A value indicating whether resync is - * required for this disk. + * A value indicating the offline IR export path. */ - resyncRequired?: string; + offlineReplicationExportPath?: string; /** - * @member {number} [resyncProgressPercentage] The resync progress - * percentage. + * A value indicating the recovery HTTPS port. */ - resyncProgressPercentage?: number; + replicationPort?: number; /** - * @member {number} [resyncDurationInSeconds] The resync duration in seconds. + * A value indicating the authentication type. */ - resyncDurationInSeconds?: number; + allowedAuthenticationType?: number; /** - * @member {number} [diskCapacityInBytes] The disk capacity in bytes. + * A value indicating whether the VM has to be auto deleted. */ - diskCapacityInBytes?: number; + replicaDeletion?: string; +} + +/** + * HyperV replica 2012 R2 (Blue) replication details. + */ +export interface HyperVReplicaBlueReplicationDetails { /** - * @member {number} [fileSystemCapacityInBytes] The disk file system capacity - * in bytes. + * Polymorphic Discriminator */ - fileSystemCapacityInBytes?: number; + instanceType: "HyperVReplica2012R2"; /** - * @member {number} [sourceDataInMegaBytes] The source data transit in MB. + * The Last replication time. */ - sourceDataInMegaBytes?: number; + lastReplicatedTime?: Date; /** - * @member {number} [psDataInMegaBytes] The PS data transit in MB. + * The PE Network details. */ - psDataInMegaBytes?: number; + vmNics?: VMNicDetails[]; /** - * @member {number} [targetDataInMegaBytes] The target data transit in MB. + * The virtual machine Id. */ - targetDataInMegaBytes?: number; + vmId?: string; /** - * @member {string} [diskResized] A value indicating whether disk is resized. + * The protection state for the vm. */ - diskResized?: string; + vmProtectionState?: string; /** - * @member {Date} [lastRpoCalculatedTime] The last RPO calculated time. + * The protection state description for the vm. */ - lastRpoCalculatedTime?: Date; -} - -/** - * @interface - * An interface representing InMageAzureV2RecoveryPointDetails. - * InMage Azure V2 provider specific recovery point details. - * - */ -export interface InMageAzureV2RecoveryPointDetails { + vmProtectionStateDescription?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * Initial replication details. */ - instanceType: "InMageAzureV2"; + initialReplicationDetails?: InitialReplicationDetails; /** - * @member {string} [isMultiVmSyncPoint] A value indicating whether the - * recovery point is multi VM consistent. + * VM disk details. */ - isMultiVmSyncPoint?: string; + vMDiskDetails?: DiskDetails[]; } /** - * @interface - * An interface representing InMageAzureV2ReplicationDetails. - * InMageAzureV2 provider specific settings - * + * Hyper-V Replica Blue specific protection profile details. */ -export interface InMageAzureV2ReplicationDetails { +export interface HyperVReplicaPolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "InMageAzureV2"; + instanceType: "HyperVReplica2012"; /** - * @member {string} [infrastructureVmId] The infrastructure VM Id. + * A value indicating the number of recovery points. */ - infrastructureVmId?: string; + recoveryPoints?: number; /** - * @member {string} [vCenterInfrastructureId] The vCenter infrastructure Id. + * A value indicating the application consistent frequency. */ - vCenterInfrastructureId?: string; + applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [protectionStage] The protection stage. + * A value indicating whether compression has to be enabled. */ - protectionStage?: string; + compression?: string; /** - * @member {string} [vmId] The virtual machine Id. + * A value indicating whether IR is online. */ - vmId?: string; + initialReplicationMethod?: string; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * A value indicating the online IR start time. */ - vmProtectionState?: string; + onlineReplicationStartTime?: string; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * A value indicating the offline IR import path. */ - vmProtectionStateDescription?: string; + offlineReplicationImportPath?: string; /** - * @member {number} [resyncProgressPercentage] The resync progress - * percentage. + * A value indicating the offline IR export path. */ - resyncProgressPercentage?: number; + offlineReplicationExportPath?: string; /** - * @member {number} [rpoInSeconds] The RPO in seconds. + * A value indicating the recovery HTTPS port. */ - rpoInSeconds?: number; - /** - * @member {number} [compressedDataRateInMB] The compressed data change rate - * in MB. - */ - compressedDataRateInMB?: number; - /** - * @member {number} [uncompressedDataRateInMB] The uncompressed data change - * rate in MB. - */ - uncompressedDataRateInMB?: number; - /** - * @member {string} [ipAddress] The source IP address. - */ - ipAddress?: string; + replicationPort?: number; /** - * @member {string} [agentVersion] The agent version. + * A value indicating the authentication type. */ - agentVersion?: string; + allowedAuthenticationType?: number; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, + * None, OnRecoveryCloud */ - agentExpiryDate?: Date; + replicaDeletionOption?: string; +} + +/** + * Hyper-V Replica specific policy Input. + */ +export interface HyperVReplicaPolicyInput { /** - * @member {string} [isAgentUpdateRequired] A value indicating whether - * installed agent needs to be updated. + * Polymorphic Discriminator */ - isAgentUpdateRequired?: string; + instanceType: "HyperVReplica2012"; /** - * @member {string} [isRebootAfterUpdateRequired] A value indicating whether - * the source server requires a restart after update. + * A value indicating the number of recovery points. */ - isRebootAfterUpdateRequired?: string; + recoveryPoints?: number; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the source - * server. + * A value indicating the application consistent frequency. */ - lastHeartbeat?: Date; + applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [processServerId] The process server Id. + * A value indicating whether compression has to be enabled. */ - processServerId?: string; + compression?: string; /** - * @member {string} [multiVmGroupId] The multi vm group Id. + * A value indicating whether IR is online. */ - multiVmGroupId?: string; + initialReplicationMethod?: string; /** - * @member {string} [multiVmGroupName] The multi vm group name. + * A value indicating the online IR start time. */ - multiVmGroupName?: string; + onlineReplicationStartTime?: string; /** - * @member {string} [multiVmSyncStatus] A value indicating whether multi vm - * sync is enabled or disabled. + * A value indicating the offline IR import path. */ - multiVmSyncStatus?: string; + offlineReplicationImportPath?: string; /** - * @member {InMageAzureV2ProtectedDiskDetails[]} [protectedDisks] The list of - * protected disks. + * A value indicating the offline IR export path. */ - protectedDisks?: InMageAzureV2ProtectedDiskDetails[]; + offlineReplicationExportPath?: string; /** - * @member {string} [diskResized] A value indicating whether any disk is - * resized for this VM. + * A value indicating the recovery HTTPS port. */ - diskResized?: string; + replicationPort?: number; /** - * @member {string} [masterTargetId] The master target Id. + * A value indicating the authentication type. */ - masterTargetId?: string; + allowedAuthenticationType?: number; /** - * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary - * side. + * A value indicating whether the VM has to be auto deleted. */ - sourceVmCpuCount?: number; + replicaDeletion?: string; +} + +/** + * HyperV replica 2012 replication details. + */ +export interface HyperVReplicaReplicationDetails { /** - * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the - * primary side. + * Polymorphic Discriminator */ - sourceVmRamSizeInMB?: number; + instanceType: "HyperVReplica2012"; /** - * @member {string} [osType] The type of the OS on the VM. + * The Last replication time. */ - osType?: string; + lastReplicatedTime?: Date; /** - * @member {string} [vhdName] The OS disk VHD name. + * The PE Network details. */ - vhdName?: string; + vmNics?: VMNicDetails[]; /** - * @member {string} [osDiskId] The id of the disk containing the OS. + * The virtual machine Id. */ - osDiskId?: string; + vmId?: string; /** - * @member {AzureVmDiskDetails[]} [azureVMDiskDetails] Azure VM Disk details. + * The protection state for the vm. */ - azureVMDiskDetails?: AzureVmDiskDetails[]; + vmProtectionState?: string; /** - * @member {string} [recoveryAzureVMName] Recovery Azure given name. + * The protection state description for the vm. */ - recoveryAzureVMName?: string; + vmProtectionStateDescription?: string; /** - * @member {string} [recoveryAzureVMSize] The Recovery Azure VM size. + * Initial replication details. */ - recoveryAzureVMSize?: string; + initialReplicationDetails?: InitialReplicationDetails; /** - * @member {string} [recoveryAzureStorageAccount] The recovery Azure storage - * account. + * VM disk details. */ - recoveryAzureStorageAccount?: string; + vMDiskDetails?: DiskDetails[]; +} + +/** + * HyperVSite fabric specific details. + */ +export interface HyperVSiteDetails { /** - * @member {string} [recoveryAzureLogStorageAccountId] The ARM id of the log - * storage account used for replication. This will be set to null if no log - * storage account was provided during enable protection. + * Polymorphic Discriminator */ - recoveryAzureLogStorageAccountId?: string; + instanceType: "HyperVSite"; +} + +/** + * Single Host fabric provider specific VM settings. + */ +export interface HyperVVirtualMachineDetails { /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * Polymorphic Discriminator */ - vmNics?: VMNicDetails[]; + instanceType: "HyperVVirtualMachine"; /** - * @member {string} [selectedRecoveryAzureNetworkId] The selected recovery - * azure network Id. + * The source id of the object. */ - selectedRecoveryAzureNetworkId?: string; + sourceItemId?: string; /** - * @member {string} [selectedSourceNicId] The selected source nic Id which - * will be used as the primary nic during failover. + * The id of the object in fabric. */ - selectedSourceNicId?: string; + generation?: string; /** - * @member {string} [discoveryType] A value indicating the discovery type of - * the machine. Value can be vCenter or physical. + * The Last replication time. */ - discoveryType?: string; + osDetails?: OSDetails; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * The Last successful failover time. */ - enableRdpOnTargetOption?: string; + diskDetails?: DiskDetails[]; /** - * @member {string[]} [datastores] The datastores of the on-premise machine. - * Value can be list of strings that contain datastore names. + * A value indicating whether the VM has a physical disk attached. String value of + * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', 'Present', + * 'NotPresent' */ - datastores?: string[]; + hasPhysicalDisk?: PresenceStatus; /** - * @member {string} [targetVmId] The ARM Id of the target Azure VM. This - * value will be null until the VM is failed over. Only after failure it will - * be populated with the ARM Id of the Azure VM. + * A value indicating whether the VM has a fibre channel adapter attached. String value of + * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', 'Present', + * 'NotPresent' */ - targetVmId?: string; + hasFibreChannelAdapter?: PresenceStatus; /** - * @member {string} [recoveryAzureResourceGroupId] The target resource group - * Id. + * A value indicating whether the VM has a shared VHD attached. String value of + * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', 'Present', + * 'NotPresent' */ - recoveryAzureResourceGroupId?: string; + hasSharedVhd?: PresenceStatus; +} + +/** + * Identity provider details. + */ +export interface IdentityProviderDetails { /** - * @member {string} [recoveryAvailabilitySetId] The recovery availability set - * Id. + * The tenant Id for the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ - recoveryAvailabilitySetId?: string; + tenantId?: string; /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * The application/client Id for the service principal with which the on-premise management/data + * plane components would communicate with our Azure services. */ - useManagedDisks?: string; + applicationId?: string; /** - * @member {string} [licenseType] License Type of the VM to be used. + * The object Id of the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ - licenseType?: string; + objectId?: string; /** - * @member {HealthError[]} [validationErrors] The validation errors of the - * on-premise machine Value can be list of validation errors. + * The intended Audience of the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ - validationErrors?: HealthError[]; + audience?: string; /** - * @member {Date} [lastRpoCalculatedTime] The last RPO calculated time. + * The base authority for Azure Active Directory authentication. */ - lastRpoCalculatedTime?: Date; + aadAuthority?: string; +} + +/** + * This class represents the inline workflow task details. + */ +export interface InlineWorkflowTaskDetails { /** - * @member {Date} [lastUpdateReceivedTime] The last update time received from - * on-prem components. + * Polymorphic Discriminator */ - lastUpdateReceivedTime?: Date; + instanceType: "InlineWorkflowTaskDetails"; /** - * @member {string} [replicaId] The replica id of the protected item. + * The child tasks. */ - replicaId?: string; + childTasks?: ASRTask[]; /** - * @member {string} [osVersion] The OS Version of the protected item. + * The list of child workflow ids. */ - osVersion?: string; + workflowIds?: string[]; } /** - * @interface - * An interface representing InMageAzureV2ReprotectInput. - * InMageAzureV2 specific provider input. - * + * The details of the InMage agent. */ -export interface InMageAzureV2ReprotectInput { +export interface InMageAgentDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The agent version. */ - instanceType: "InMageAzureV2"; + agentVersion?: string; /** - * @member {string} [masterTargetId] The Master target Id. + * A value indicating whether installed agent needs to be updated. */ - masterTargetId?: string; + agentUpdateStatus?: string; /** - * @member {string} [processServerId] The Process Server Id. + * A value indicating whether reboot is required after update is applied. */ - processServerId?: string; + postUpdateRebootStatus?: string; /** - * @member {string} [storageAccountId] The storage account id. + * Agent expiry date. */ - storageAccountId?: string; + agentExpiryDate?: Date; +} + +/** + * InMage agent version details. + */ +export interface InMageAgentVersionDetails { /** - * @member {string} [runAsAccountId] The CS account Id. + * A value indicating whether reboot is required after update is applied. */ - runAsAccountId?: string; + postUpdateRebootStatus?: string; /** - * @member {string} [policyId] The Policy Id. + * The agent version. */ - policyId?: string; + version?: string; /** - * @member {string} [logStorageAccountId] The storage account to be used for - * logging during replication. + * Version expiry date. */ - logStorageAccountId?: string; + expiryDate?: Date; /** - * @member {string[]} [disksToInclude] The disks to include list. + * A value indicating whether security update required. Possible values include: 'Supported', + * 'NotSupported', 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' */ - disksToInclude?: string[]; + status?: AgentVersionStatus; } /** - * @interface - * An interface representing InMageAzureV2UpdateReplicationProtectedItemInput. - * InMage Azure V2 input to update replication protected item. - * + * ApplyRecoveryPoint input specific to InMageAzureV2 provider. */ -export interface InMageAzureV2UpdateReplicationProtectedItemInput { +export interface InMageAzureV2ApplyRecoveryPointInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} [recoveryAzureV1ResourceGroupId] The recovery Azure - * resource group Id for classic deployment. - */ - recoveryAzureV1ResourceGroupId?: string; - /** - * @member {string} [recoveryAzureV2ResourceGroupId] The recovery Azure - * resource group Id for resource manager deployment. - */ - recoveryAzureV2ResourceGroupId?: string; - /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * The vault location where the recovery Vm resides. */ - useManagedDisks?: string; + vaultLocation?: string; } /** - * @interface - * An interface representing InMageBasePolicyDetails. - * Base class for the policies of providers using InMage replication. - * + * Disk input details. */ -export interface InMageBasePolicyDetails { +export interface InMageAzureV2DiskInputDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The DiskId. */ - instanceType: "InMageBasePolicyDetails"; - /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. - */ - recoveryPointThresholdInMinutes?: number; + diskId?: string; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The LogStorageAccountId. */ - recoveryPointHistory?: number; + logStorageAccountId?: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The DiskType. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - appConsistentFrequencyInMinutes?: number; + diskType?: DiskAccountType; /** - * @member {string} [multiVmSyncStatus] A value indicating whether multi-VM - * sync has to be enabled. + * The DiskEncryptionSet ARM ID. */ - multiVmSyncStatus?: string; + diskEncryptionSetId?: string; } /** - * @interface - * An interface representing InMageDisableProtectionProviderSpecificInput. - * InMage disable protection provider specific input. - * + * VMware Azure specific enable protection input. */ -export interface InMageDisableProtectionProviderSpecificInput { +export interface InMageAzureV2EnableProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "InMage"; + instanceType: "InMageAzureV2"; /** - * @member {string} [replicaVmDeletionStatus] A value indicating whether the - * replica VM should be destroyed or retained. Values from Delete and Retain. + * The Master target Id. */ - replicaVmDeletionStatus?: string; -} - -/** - * @interface - * An interface representing InMageDiskDetails. - * VMware/Physical specific Disk Details - * - */ -export interface InMageDiskDetails { + masterTargetId?: string; /** - * @member {string} [diskId] The disk Id. + * The Process Server Id. */ - diskId?: string; + processServerId?: string; /** - * @member {string} [diskName] The disk name. + * The storage account name. */ - diskName?: string; + storageAccountId?: string; /** - * @member {string} [diskSizeInMB] The disk size in MB. + * The CS account Id. */ - diskSizeInMB?: string; + runAsAccountId?: string; /** - * @member {string} [diskType] Whether disk is system disk or data disk. + * The multi vm group Id. */ - diskType?: string; + multiVmGroupId?: string; /** - * @member {string} [diskConfiguration] Whether disk is dynamic disk or basic - * disk. + * The multi vm group name. */ - diskConfiguration?: string; + multiVmGroupName?: string; /** - * @member {DiskVolumeDetails[]} [volumeList] Volumes of the disk. + * The disks to include list. */ - volumeList?: DiskVolumeDetails[]; -} - -/** - * @interface - * An interface representing InMageVolumeExclusionOptions. - * Guest disk signature based disk exclusion option when doing enable - * protection of virtual machine in InMage provider. - * - */ -export interface InMageVolumeExclusionOptions { + disksToInclude?: InMageAzureV2DiskInputDetails[]; /** - * @member {string} [volumeLabel] The volume label. The disk having any - * volume with this label will be excluded from replication. + * The selected target Azure network Id. */ - volumeLabel?: string; + targetAzureNetworkId?: string; /** - * @member {string} [onlyExcludeIfSingleVolume] The value indicating whether - * to exclude multi volume disk or not. If a disk has multiple volumes and - * one of the volume has label matching with VolumeLabel this disk will be - * excluded from replication if OnlyExcludeIfSingleVolume is false. + * The selected target Azure subnet Id. */ - onlyExcludeIfSingleVolume?: string; -} - -/** - * @interface - * An interface representing InMageDiskSignatureExclusionOptions. - * Guest disk signature based disk exclusion option when doing enable - * protection of virtual machine in InMage provider. - * - */ -export interface InMageDiskSignatureExclusionOptions { + targetAzureSubnetId?: string; /** - * @member {string} [diskSignature] The guest signature of disk to be - * excluded from replication. + * The selected option to enable RDP\SSH on target vm after failover. String value of + * {SrsDataContract.EnableRDPOnTargetOption} enum. */ - diskSignature?: string; -} - -/** - * @interface - * An interface representing InMageDiskExclusionInput. - * DiskExclusionInput when doing enable protection of virtual machine in InMage - * provider. - * - */ -export interface InMageDiskExclusionInput { + enableRdpOnTargetOption?: string; /** - * @member {InMageVolumeExclusionOptions[]} [volumeOptions] The volume label - * based option for disk exclusion. + * The target azure Vm Name. */ - volumeOptions?: InMageVolumeExclusionOptions[]; + targetAzureVmName?: string; /** - * @member {InMageDiskSignatureExclusionOptions[]} [diskSignatureOptions] The - * guest disk signature based option for disk exclusion. + * The storage account to be used for logging during replication. */ - diskSignatureOptions?: InMageDiskSignatureExclusionOptions[]; -} - -/** - * @interface - * An interface representing InMageEnableProtectionInput. - * VMware Azure specific enable protection input. - * - */ -export interface InMageEnableProtectionInput { + logStorageAccountId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The Id of the target resource group (for classic deployment) in which the failover VM is to be + * created. */ - instanceType: "InMage"; + targetAzureV1ResourceGroupId?: string; /** - * @member {string} [vmFriendlyName] The Vm Name. + * The Id of the target resource group (for resource manager deployment) in which the failover VM + * is to be created. */ - vmFriendlyName?: string; + targetAzureV2ResourceGroupId?: string; /** - * @member {string} masterTargetId The Master Target Id. + * The DiskType. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - masterTargetId: string; + diskType?: DiskAccountType; /** - * @member {string} processServerId The Process Server Id. + * The DiskEncryptionSet ARM ID. */ - processServerId: string; + diskEncryptionSetId?: string; /** - * @member {string} retentionDrive The retention drive to use on the MT. + * The target availability zone. */ - retentionDrive: string; + targetAvailabilityZone?: string; /** - * @member {string} [runAsAccountId] The CS account Id. + * The proximity placement group ARM Id. */ - runAsAccountId?: string; + targetProximityPlacementGroupId?: string; /** - * @member {string} multiVmGroupId The multi vm group Id. + * The availability set ARM Id. */ - multiVmGroupId: string; + targetAvailabilitySetId?: string; /** - * @member {string} multiVmGroupName The multi vm group name. + * The target VM size. */ - multiVmGroupName: string; + targetVmSize?: string; +} + +/** + * Model class for event details of a VMwareAzureV2 event. + */ +export interface InMageAzureV2EventDetails { /** - * @member {string} [datastoreName] The target datastore name. + * Polymorphic Discriminator */ - datastoreName?: string; + instanceType: "InMageAzureV2"; /** - * @member {InMageDiskExclusionInput} [diskExclusionInput] The enable disk - * exclusion input. + * InMage Event type. Takes one of the values of {InMageDataContract.InMageMonitoringEventType}. */ - diskExclusionInput?: InMageDiskExclusionInput; + eventType?: string; /** - * @member {string[]} [disksToInclude] The disks to include list. + * InMage Event Category. */ - disksToInclude?: string[]; + category?: string; + /** + * InMage Event Component. + */ + component?: string; + /** + * Corrective Action string for the event. + */ + correctiveAction?: string; + /** + * InMage Event Details. + */ + details?: string; + /** + * InMage Event Summary. + */ + summary?: string; + /** + * VMware Site name. + */ + siteName?: string; } /** - * @interface - * An interface representing InMageFailoverProviderInput. - * Provider specific input for InMage failover. - * + * InMageAzureV2 provider specific input for failover. */ -export interface InMageFailoverProviderInput { +export interface InMageAzureV2FailoverProviderInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "InMage"; + instanceType: "InMageAzureV2"; /** - * @member {RecoveryPointType} [recoveryPointType] The recovery point type. - * Values from LatestTime, LatestTag or Custom. In the case of custom, the - * recovery point provided by RecoveryPointId will be used. In the other two - * cases, recovery point id will be ignored. Possible values include: - * 'LatestTime', 'LatestTag', 'Custom' + * Location of the vault. */ - recoveryPointType?: RecoveryPointType; + vaultLocation?: string; /** - * @member {string} [recoveryPointId] The recovery point id to be passed to - * failover to a particular recovery point. In case of latest recovery point, - * null should be passed. + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ recoveryPointId?: string; } /** - * @interface - * An interface representing InMagePolicyDetails. - * InMage specific protection profile details. - * + * InMageAzureV2 Managed disk details. */ -export interface InMagePolicyDetails { +export interface InMageAzureV2ManagedDiskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk id. */ - instanceType: "InMage"; + diskId?: string; + /** + * Seed managed disk Id. + */ + seedManagedDiskId?: string; + /** + * The replica disk type. + */ + replicaDiskType?: string; +} + +/** + * InMage Azure v2 specific protection profile details. + */ +export interface InMageAzureV2PolicyDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "InMageAzureV2"; + /** + * The crash consistent snapshot frequency in minutes. + */ + crashConsistentFrequencyInMinutes?: number; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * The recovery point threshold in minutes. */ recoveryPointThresholdInMinutes?: number; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The duration in minutes until which the recovery points need to be stored. */ recoveryPointHistory?: number; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The app consistent snapshot frequency in minutes. */ appConsistentFrequencyInMinutes?: number; /** - * @member {string} [multiVmSyncStatus] A value indicating whether multi-VM - * sync has to be enabled. + * A value indicating whether multi-VM sync has to be enabled. */ multiVmSyncStatus?: string; } /** - * @interface - * An interface representing InMagePolicyInput. - * VMWare Azure specific protection profile Input. - * + * VMWare Azure specific policy Input. */ -export interface InMagePolicyInput { +export interface InMageAzureV2PolicyInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "InMage"; + instanceType: "InMageAzureV2"; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * The recovery point threshold in minutes. */ recoveryPointThresholdInMinutes?: number; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The duration in minutes until which the recovery points need to be stored. */ recoveryPointHistory?: number; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency (in minutes). + * The crash consistent snapshot frequency (in minutes). + */ + crashConsistentFrequencyInMinutes?: number; + /** + * The app consistent snapshot frequency (in minutes). */ appConsistentFrequencyInMinutes?: number; /** - * @member {SetMultiVmSyncStatus} multiVmSyncStatus A value indicating - * whether multi-VM sync has to be enabled. Value should be 'Enabled' or + * A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or * 'Disabled'. Possible values include: 'Enable', 'Disable' */ multiVmSyncStatus: SetMultiVmSyncStatus; } /** - * @interface - * An interface representing InMageProtectedDiskDetails. - * InMage protected disk details. - * + * InMageAzureV2 protected disk details. */ -export interface InMageProtectedDiskDetails { +export interface InMageAzureV2ProtectedDiskDetails { /** - * @member {string} [diskId] The disk id. + * The disk id. */ diskId?: string; /** - * @member {string} [diskName] The disk name. + * The disk name. */ diskName?: string; /** - * @member {string} [protectionStage] The protection stage. + * The protection stage. */ protectionStage?: string; /** - * @member {string} [healthErrorCode] The health error code for the disk. + * The health error code for the disk. */ healthErrorCode?: string; /** - * @member {number} [rpoInSeconds] The RPO in seconds. + * The RPO in seconds. */ rpoInSeconds?: number; /** - * @member {string} [resyncRequired] A value indicating whether resync is - * required for this disk. + * A value indicating whether resync is required for this disk. */ resyncRequired?: string; /** - * @member {number} [resyncProgressPercentage] The resync progress - * percentage. + * The resync progress percentage. */ resyncProgressPercentage?: number; /** - * @member {number} [resyncDurationInSeconds] The resync duration in seconds. + * The resync duration in seconds. */ resyncDurationInSeconds?: number; /** - * @member {number} [diskCapacityInBytes] The disk capacity in bytes. + * The disk capacity in bytes. */ diskCapacityInBytes?: number; /** - * @member {number} [fileSystemCapacityInBytes] The file system capacity in - * bytes. + * The disk file system capacity in bytes. */ fileSystemCapacityInBytes?: number; /** - * @member {number} [sourceDataInMB] The source data transit in MB. + * The source data transit in MB. */ - sourceDataInMB?: number; + sourceDataInMegaBytes?: number; /** - * @member {number} [psDataInMB] The PS data transit in MB. + * The PS data transit in MB. */ - psDataInMB?: number; + psDataInMegaBytes?: number; /** - * @member {number} [targetDataInMB] The target data transit in MB. + * The target data transit in MB. */ - targetDataInMB?: number; + targetDataInMegaBytes?: number; /** - * @member {string} [diskResized] A value indicating whether disk is resized. + * A value indicating whether disk is resized. */ diskResized?: string; /** - * @member {Date} [lastRpoCalculatedTime] The last RPO calculated time. + * The last RPO calculated time. */ lastRpoCalculatedTime?: Date; } /** - * @interface - * An interface representing OSDiskDetails. - * Details of the OS Disk. - * + * InMage Azure V2 provider specific recovery point details. */ -export interface OSDiskDetails { - /** - * @member {string} [osVhdId] The id of the disk containing the OS. - */ - osVhdId?: string; +export interface InMageAzureV2RecoveryPointDetails { /** - * @member {string} [osType] The type of the OS on the VM. + * Polymorphic Discriminator */ - osType?: string; + instanceType: "InMageAzureV2"; /** - * @member {string} [vhdName] The OS disk VHD name. + * A value indicating whether the recovery point is multi VM consistent. */ - vhdName?: string; + isMultiVmSyncPoint?: string; } /** - * @interface - * An interface representing InMageReplicationDetails. - * InMage provider specific settings - * + * InMageAzureV2 provider specific settings */ -export interface InMageReplicationDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "InMage"; - /** - * @member {string} [activeSiteType] The active location of the VM. If the VM - * is being protected from Azure, this field will take values from { Azure, - * OnPrem }. If the VM is being protected between two data-centers, this - * field will be OnPrem always. - */ - activeSiteType?: string; +export interface InMageAzureV2ReplicationDetails { /** - * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary - * side. + * Polymorphic Discriminator */ - sourceVmCpuCount?: number; + instanceType: "InMageAzureV2"; /** - * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the - * primary side. + * The infrastructure VM Id. */ - sourceVmRamSizeInMB?: number; + infrastructureVmId?: string; /** - * @member {OSDiskDetails} [osDetails] The OS details. + * The vCenter infrastructure Id. */ - osDetails?: OSDiskDetails; + vCenterInfrastructureId?: string; /** - * @member {string} [protectionStage] The protection stage. + * The protection stage. */ protectionStage?: string; /** - * @member {string} [vmId] The virtual machine Id. + * The virtual machine Id. */ vmId?: string; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * The protection state for the vm. */ vmProtectionState?: string; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The protection state description for the vm. */ vmProtectionStateDescription?: string; /** - * @member {InitialReplicationDetails} [resyncDetails] The resync details of - * the machine + * The resync progress percentage. */ - resyncDetails?: InitialReplicationDetails; - /** - * @member {Date} [retentionWindowStart] The retention window start time. - */ - retentionWindowStart?: Date; + resyncProgressPercentage?: number; /** - * @member {Date} [retentionWindowEnd] The retention window end time. + * The RPO in seconds. */ - retentionWindowEnd?: Date; + rpoInSeconds?: number; /** - * @member {number} [compressedDataRateInMB] The compressed data change rate - * in MB. + * The compressed data change rate in MB. */ compressedDataRateInMB?: number; /** - * @member {number} [uncompressedDataRateInMB] The uncompressed data change - * rate in MB. + * The uncompressed data change rate in MB. */ uncompressedDataRateInMB?: number; /** - * @member {number} [rpoInSeconds] The RPO in seconds. - */ - rpoInSeconds?: number; - /** - * @member {InMageProtectedDiskDetails[]} [protectedDisks] The list of - * protected disks. + * The source IP address. */ - protectedDisks?: InMageProtectedDiskDetails[]; + ipAddress?: string; /** - * @member {string} [ipAddress] The source IP address. + * The agent version. */ - ipAddress?: string; + agentVersion?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the source - * server. + * Agent expiry date. */ - lastHeartbeat?: Date; + agentExpiryDate?: Date; /** - * @member {string} [processServerId] The process server Id. + * A value indicating whether installed agent needs to be updated. */ - processServerId?: string; + isAgentUpdateRequired?: string; /** - * @member {string} [masterTargetId] The master target Id. + * A value indicating whether the source server requires a restart after update. */ - masterTargetId?: string; + isRebootAfterUpdateRequired?: string; /** - * @member {{ [propertyName: string]: Date } | { [propertyName: string]: - * string }} [consistencyPoints] The collection of Consistency points. + * The last heartbeat received from the source server. */ - consistencyPoints?: { [propertyName: string]: Date } | { [propertyName: string]: string }; + lastHeartbeat?: Date; /** - * @member {string} [diskResized] A value indicating whether any disk is - * resized for this VM. + * The process server Id. */ - diskResized?: string; + processServerId?: string; /** - * @member {string} [rebootAfterUpdateStatus] A value indicating whether the - * source server requires a restart after update. + * The process server name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rebootAfterUpdateStatus?: string; + readonly processServerName?: string; /** - * @member {string} [multiVmGroupId] The multi vm group Id, if any. + * The multi vm group Id. */ multiVmGroupId?: string; /** - * @member {string} [multiVmGroupName] The multi vm group name, if any. + * The multi vm group name. */ multiVmGroupName?: string; /** - * @member {string} [multiVmSyncStatus] A value indicating whether the multi - * vm sync is enabled or disabled. + * A value indicating whether multi vm sync is enabled or disabled. */ multiVmSyncStatus?: string; /** - * @member {InMageAgentDetails} [agentDetails] The agent details. - */ - agentDetails?: InMageAgentDetails; - /** - * @member {string} [vCenterInfrastructureId] The vCenter infrastructure Id. + * The list of protected disks. */ - vCenterInfrastructureId?: string; - /** - * @member {string} [infrastructureVmId] The infrastructure VM Id. - */ - infrastructureVmId?: string; + protectedDisks?: InMageAzureV2ProtectedDiskDetails[]; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * A value indicating whether any disk is resized for this VM. */ - vmNics?: VMNicDetails[]; + diskResized?: string; /** - * @member {string} [discoveryType] A value indicating the discovery type of - * the machine. + * The master target Id. */ - discoveryType?: string; + masterTargetId?: string; /** - * @member {string} [azureStorageAccountId] A value indicating the underlying - * Azure storage account. If the VM is not running in Azure, this value shall - * be set to null. + * The CPU count of the VM on the primary side. */ - azureStorageAccountId?: string; + sourceVmCpuCount?: number; /** - * @member {string[]} [datastores] The datastores of the on-premise machine - * Value can be list of strings that contain datastore names + * The RAM size of the VM on the primary side. */ - datastores?: string[]; + sourceVmRamSizeInMB?: number; /** - * @member {HealthError[]} [validationErrors] The validation errors of the - * on-premise machine Value can be list of validation errors + * The type of the OS on the VM. */ - validationErrors?: HealthError[]; + osType?: string; /** - * @member {Date} [lastRpoCalculatedTime] The last RPO calculated time. + * The OS disk VHD name. */ - lastRpoCalculatedTime?: Date; + vhdName?: string; /** - * @member {Date} [lastUpdateReceivedTime] The last update time received from - * on-prem components. + * The id of the disk containing the OS. */ - lastUpdateReceivedTime?: Date; + osDiskId?: string; /** - * @member {string} [replicaId] The replica id of the protected item. + * Azure VM Disk details. */ - replicaId?: string; + azureVMDiskDetails?: AzureVmDiskDetails[]; /** - * @member {string} [osVersion] The OS Version of the protected item. + * Recovery Azure given name. */ - osVersion?: string; -} - -/** - * @interface - * An interface representing InMageReprotectInput. - * InMageAzureV2 specific provider input. - * - */ -export interface InMageReprotectInput { + recoveryAzureVMName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The Recovery Azure VM size. */ - instanceType: "InMage"; + recoveryAzureVMSize?: string; /** - * @member {string} masterTargetId The Master Target Id. + * The recovery Azure storage account. */ - masterTargetId: string; + recoveryAzureStorageAccount?: string; /** - * @member {string} processServerId The Process Server Id. + * The ARM id of the log storage account used for replication. This will be set to null if no log + * storage account was provided during enable protection. */ - processServerId: string; + recoveryAzureLogStorageAccountId?: string; /** - * @member {string} retentionDrive The retention drive to use on the MT. + * The PE Network details. */ - retentionDrive: string; + vmNics?: VMNicDetails[]; /** - * @member {string} [runAsAccountId] The CS account Id. + * The selected recovery azure network Id. */ - runAsAccountId?: string; + selectedRecoveryAzureNetworkId?: string; /** - * @member {string} [datastoreName] The target datastore name. + * The test failover virtual network. */ - datastoreName?: string; + selectedTfoAzureNetworkId?: string; /** - * @member {InMageDiskExclusionInput} [diskExclusionInput] The enable disk - * exclusion input. + * The selected source nic Id which will be used as the primary nic during failover. */ - diskExclusionInput?: InMageDiskExclusionInput; + selectedSourceNicId?: string; /** - * @member {string} profileId The Policy Id. + * A value indicating the discovery type of the machine. Value can be vCenter or physical. */ - profileId: string; + discoveryType?: string; /** - * @member {string[]} [disksToInclude] The disks to include list. + * The selected option to enable RDP\SSH on target vm after failover. String value of + * {SrsDataContract.EnableRDPOnTargetOption} enum. */ - disksToInclude?: string[]; -} - -/** - * @interface - * An interface representing JobProperties. - * Job custom data details. - * - */ -export interface JobProperties { + enableRdpOnTargetOption?: string; /** - * @member {string} [activityId] The activity id. + * The data stores of the on-premise machine. Value can be list of strings that contain data + * store names. */ - activityId?: string; + datastores?: string[]; /** - * @member {string} [scenarioName] The ScenarioName. + * The ARM Id of the target Azure VM. This value will be null until the VM is failed over. Only + * after failure it will be populated with the ARM Id of the Azure VM. */ - scenarioName?: string; + targetVmId?: string; /** - * @member {string} [friendlyName] The DisplayName. + * The target resource group Id. */ - friendlyName?: string; + recoveryAzureResourceGroupId?: string; /** - * @member {string} [state] The status of the Job. It is one of these values - * - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or - * Other. + * The recovery availability set Id. */ - state?: string; + recoveryAvailabilitySetId?: string; /** - * @member {string} [stateDescription] The description of the state of the - * Job. For e.g. - For Succeeded state, description can be Completed, - * PartiallySucceeded, CompletedWithInformation or Skipped. + * The target availability zone. */ - stateDescription?: string; + targetAvailabilityZone?: string; /** - * @member {ASRTask[]} [tasks] The tasks. + * The target proximity placement group Id. */ - tasks?: ASRTask[]; + targetProximityPlacementGroupId?: string; /** - * @member {JobErrorDetails[]} [errors] The errors. + * A value indicating whether managed disks should be used during failover. */ - errors?: JobErrorDetails[]; + useManagedDisks?: string; /** - * @member {Date} [startTime] The start time. + * License Type of the VM to be used. */ - startTime?: Date; + licenseType?: string; /** - * @member {Date} [endTime] The end time. + * The validation errors of the on-premise machine Value can be list of validation errors. */ - endTime?: Date; + validationErrors?: HealthError[]; /** - * @member {string[]} [allowedActions] The Allowed action the job. + * The last RPO calculated time. */ - allowedActions?: string[]; + lastRpoCalculatedTime?: Date; /** - * @member {string} [targetObjectId] The affected Object Id. + * The last update time received from on-prem components. */ - targetObjectId?: string; + lastUpdateReceivedTime?: Date; /** - * @member {string} [targetObjectName] The name of the affected object. + * The replica id of the protected item. */ - targetObjectName?: string; + replicaId?: string; /** - * @member {string} [targetInstanceType] The type of the affected object - * which is of {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} - * class. + * The OS Version of the protected item. */ - targetInstanceType?: string; + osVersion?: string; /** - * @member {JobDetailsUnion} [customDetails] The custom job details like test - * failover job details. + * The list of protected managed disks. */ - customDetails?: JobDetailsUnion; + protectedManagedDisks?: InMageAzureV2ManagedDiskDetails[]; } /** - * @interface - * An interface representing Job. - * Job details. - * - * @extends Resource + * InMageAzureV2 specific provider input. */ -export interface Job extends Resource { +export interface InMageAzureV2ReprotectInput { /** - * @member {JobProperties} [properties] The custom data. + * Polymorphic Discriminator */ - properties?: JobProperties; -} - -/** - * @interface - * An interface representing JobQueryParameter. - * Query parameter to enumerate jobs. - * - */ -export interface JobQueryParameter { + instanceType: "InMageAzureV2"; /** - * @member {string} [startTime] Date time to get jobs from. + * The Master target Id. */ - startTime?: string; + masterTargetId?: string; /** - * @member {string} [endTime] Date time to get jobs upto. + * The Process Server Id. */ - endTime?: string; + processServerId?: string; /** - * @member {string} [fabricId] The Id of the fabric to search jobs under. + * The storage account id. */ - fabricId?: string; + storageAccountId?: string; /** - * @member {string} [affectedObjectTypes] The type of objects. + * The CS account Id. */ - affectedObjectTypes?: string; + runAsAccountId?: string; /** - * @member {string} [jobStatus] The states of the job to be filtered can be - * in. + * The Policy Id. */ - jobStatus?: string; -} - -/** - * @interface - * An interface representing JobStatusEventDetails. - * Model class for event details of a job status event. - * - */ -export interface JobStatusEventDetails { + policyId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The storage account to be used for logging during replication. */ - instanceType: "JobStatus"; + logStorageAccountId?: string; /** - * @member {string} [jobId] Job arm id for the event. + * The disks to include list. */ - jobId?: string; + disksToInclude?: string[]; +} + +/** + * InMageAzureV2 provider specific input for test failover. + */ +export interface InMageAzureV2TestFailoverInput { /** - * @member {string} [jobFriendlyName] JobName for the Event. + * Polymorphic Discriminator */ - jobFriendlyName?: string; + instanceType: "InMageAzureV2"; /** - * @member {string} [jobStatus] JobStatus for the Event. + * Location of the vault. */ - jobStatus?: string; + vaultLocation?: string; /** - * @member {string} [affectedObjectType] AffectedObjectType for the event. + * The recovery point id to be passed to test failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ - affectedObjectType?: string; + recoveryPointId?: string; } /** - * @interface - * An interface representing JobTaskDetails. - * This class represents a task which is actually a workflow so that one can - * navigate to its individual drill down. - * + * InMageAzureV2 provider specific input for unplanned failover. */ -export interface JobTaskDetails { +export interface InMageAzureV2UnplannedFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "JobTaskDetails"; + instanceType: "InMageAzureV2"; /** - * @member {JobEntity} [jobTask] The job entity. + * Location of the vault. */ - jobTask?: JobEntity; + vaultLocation?: string; + /** + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. + */ + recoveryPointId?: string; } /** - * @interface - * An interface representing LogicalNetworkProperties. - * Logical Network Properties. - * + * InMage Azure V2 input to update replication protected item. */ -export interface LogicalNetworkProperties { +export interface InMageAzureV2UpdateReplicationProtectedItemInput { /** - * @member {string} [friendlyName] The Friendly Name. + * Polymorphic Discriminator */ - friendlyName?: string; + instanceType: "InMageAzureV2"; /** - * @member {string} [networkVirtualizationStatus] A value indicating whether - * Network Virtualization is enabled for the logical network. + * The recovery Azure resource group Id for classic deployment. */ - networkVirtualizationStatus?: string; + recoveryAzureV1ResourceGroupId?: string; /** - * @member {string} [logicalNetworkUsage] A value indicating whether logical - * network is used as private test network by test failover. + * The recovery Azure resource group Id for resource manager deployment. */ - logicalNetworkUsage?: string; + recoveryAzureV2ResourceGroupId?: string; /** - * @member {string} [logicalNetworkDefinitionsStatus] A value indicating - * whether logical network definitions are isolated. + * A value indicating whether managed disks should be used during failover. */ - logicalNetworkDefinitionsStatus?: string; -} - -/** - * @interface - * An interface representing LogicalNetwork. - * Logical network data model. - * - * @extends Resource - */ -export interface LogicalNetwork extends Resource { + useManagedDisks?: string; /** - * @member {LogicalNetworkProperties} [properties] The Logical Network - * Properties. + * The target proximity placement group Id. */ - properties?: LogicalNetworkProperties; + targetProximityPlacementGroupId?: string; + /** + * The target availability zone. + */ + targetAvailabilityZone?: string; } /** - * @interface - * An interface representing ManualActionTaskDetails. - * This class represents the manual action task details. - * + * Base class for the policies of providers using InMage replication. */ -export interface ManualActionTaskDetails { +export interface InMageBasePolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "ManualActionTaskDetails"; + instanceType: "InMageBasePolicyDetails"; /** - * @member {string} [name] The name. + * The recovery point threshold in minutes. */ - name?: string; + recoveryPointThresholdInMinutes?: number; /** - * @member {string} [instructions] The instructions. + * The duration in minutes until which the recovery points need to be stored. */ - instructions?: string; + recoveryPointHistory?: number; /** - * @member {string} [observation] The observation. + * The app consistent snapshot frequency in minutes. */ - observation?: string; + appConsistentFrequencyInMinutes?: number; + /** + * A value indicating whether multi-VM sync has to be enabled. + */ + multiVmSyncStatus?: string; } /** - * @interface - * An interface representing RetentionVolume. - * The retention details of the MT. - * + * InMage disable protection provider specific input. */ -export interface RetentionVolume { - /** - * @member {string} [volumeName] The volume name. - */ - volumeName?: string; - /** - * @member {number} [capacityInBytes] The volume capacity. - */ - capacityInBytes?: number; +export interface InMageDisableProtectionProviderSpecificInput { /** - * @member {number} [freeSpaceInBytes] The free space available in this - * volume. + * Polymorphic Discriminator */ - freeSpaceInBytes?: number; + instanceType: "InMage"; /** - * @member {number} [thresholdPercentage] The threshold percentage. + * A value indicating whether the replica VM should be destroyed or retained. Values from Delete + * and Retain. */ - thresholdPercentage?: number; + replicaVmDeletionStatus?: string; } /** - * @interface - * An interface representing VersionDetails. - * Version related details. - * + * VMware/Physical specific Disk Details */ -export interface VersionDetails { +export interface InMageDiskDetails { /** - * @member {string} [version] The agent version. + * The disk Id. */ - version?: string; + diskId?: string; /** - * @member {Date} [expiryDate] Version expiry date. + * The disk name. */ - expiryDate?: Date; + diskName?: string; /** - * @member {AgentVersionStatus} [status] A value indicating whether security - * update required. Possible values include: 'Supported', 'NotSupported', - * 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' + * The disk size in MB. */ - status?: AgentVersionStatus; -} - -/** - * @interface - * An interface representing MasterTargetServer. - * Details of a Master Target Server. - * - */ -export interface MasterTargetServer { + diskSizeInMB?: string; /** - * @member {string} [id] The server Id. + * Whether disk is system disk or data disk. */ - id?: string; + diskType?: string; /** - * @member {string} [ipAddress] The IP address of the server. + * Whether disk is dynamic disk or basic disk. */ - ipAddress?: string; + diskConfiguration?: string; /** - * @member {string} [name] The server name. + * Volumes of the disk. */ - name?: string; + volumeList?: DiskVolumeDetails[]; +} + +/** + * Guest disk signature based disk exclusion option when doing enable protection of virtual machine + * in InMage provider. + */ +export interface InMageVolumeExclusionOptions { /** - * @member {string} [osType] The OS type of the server. + * The volume label. The disk having any volume with this label will be excluded from + * replication. */ - osType?: string; + volumeLabel?: string; /** - * @member {string} [agentVersion] The version of the scout component on the - * server. + * The value indicating whether to exclude multi volume disk or not. If a disk has multiple + * volumes and one of the volume has label matching with VolumeLabel this disk will be excluded + * from replication if OnlyExcludeIfSingleVolume is false. */ - agentVersion?: string; + onlyExcludeIfSingleVolume?: string; +} + +/** + * Guest disk signature based disk exclusion option when doing enable protection of virtual machine + * in InMage provider. + */ +export interface InMageDiskSignatureExclusionOptions { /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the - * server. + * The guest signature of disk to be excluded from replication. */ - lastHeartbeat?: Date; + diskSignature?: string; +} + +/** + * DiskExclusionInput when doing enable protection of virtual machine in InMage provider. + */ +export interface InMageDiskExclusionInput { /** - * @member {string} [versionStatus] Version status + * The volume label based option for disk exclusion. */ - versionStatus?: string; + volumeOptions?: InMageVolumeExclusionOptions[]; /** - * @member {RetentionVolume[]} [retentionVolumes] The retention volumes of - * Master target Server. + * The guest disk signature based option for disk exclusion. */ - retentionVolumes?: RetentionVolume[]; + diskSignatureOptions?: InMageDiskSignatureExclusionOptions[]; +} + +/** + * VMware Azure specific enable protection input. + */ +export interface InMageEnableProtectionInput { /** - * @member {DataStore[]} [dataStores] The list of data stores in the fabric. + * Polymorphic Discriminator */ - dataStores?: DataStore[]; + instanceType: "InMage"; /** - * @member {HealthError[]} [validationErrors] Validation errors. + * The Vm Name. */ - validationErrors?: HealthError[]; + vmFriendlyName?: string; /** - * @member {HealthError[]} [healthErrors] Health errors. + * The Master Target Id. */ - healthErrors?: HealthError[]; + masterTargetId: string; /** - * @member {number} [diskCount] Disk count of the master target. + * The Process Server Id. */ - diskCount?: number; + processServerId: string; /** - * @member {string} [osVersion] OS Version of the master target. + * The retention drive to use on the MT. */ - osVersion?: string; + retentionDrive: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The CS account Id. */ - agentExpiryDate?: Date; + runAsAccountId?: string; /** - * @member {string} [marsAgentVersion] MARS agent version. + * The multi vm group Id. */ - marsAgentVersion?: string; + multiVmGroupId: string; /** - * @member {Date} [marsAgentExpiryDate] MARS agent expiry date. + * The multi vm group name. */ - marsAgentExpiryDate?: Date; + multiVmGroupName: string; /** - * @member {VersionDetails} [agentVersionDetails] Agent version details. + * The target data store name. */ - agentVersionDetails?: VersionDetails; + datastoreName?: string; /** - * @member {VersionDetails} [marsAgentVersionDetails] Mars agent version - * details. + * The enable disk exclusion input. */ - marsAgentVersionDetails?: VersionDetails; + diskExclusionInput?: InMageDiskExclusionInput; + /** + * The disks to include list. + */ + disksToInclude?: string[]; } /** - * @interface - * An interface representing MobilityServiceUpdate. - * The Mobility Service update details. - * + * Provider specific input for InMage failover. */ -export interface MobilityServiceUpdate { +export interface InMageFailoverProviderInput { /** - * @member {string} [version] The version of the latest update. + * Polymorphic Discriminator */ - version?: string; + instanceType: "InMage"; /** - * @member {string} [rebootStatus] The reboot status of the update - whether - * it is required or not. + * The recovery point type. Values from LatestTime, LatestTag or Custom. In the case of custom, + * the recovery point provided by RecoveryPointId will be used. In the other two cases, recovery + * point id will be ignored. Possible values include: 'LatestTime', 'LatestTag', 'Custom' */ - rebootStatus?: string; + recoveryPointType?: RecoveryPointType; /** - * @member {string} [osType] The OS type. + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ - osType?: string; + recoveryPointId?: string; } /** - * @interface - * An interface representing Subnet. - * Subnets of the network. - * + * InMage specific protection profile details. */ -export interface Subnet { +export interface InMagePolicyDetails { /** - * @member {string} [name] The subnet name. + * Polymorphic Discriminator */ - name?: string; + instanceType: "InMage"; /** - * @member {string} [friendlyName] The subnet friendly name. + * The recovery point threshold in minutes. */ - friendlyName?: string; + recoveryPointThresholdInMinutes?: number; /** - * @member {string[]} [addressList] The list of addresses for the subnet. + * The duration in minutes until which the recovery points need to be stored. */ - addressList?: string[]; + recoveryPointHistory?: number; + /** + * The app consistent snapshot frequency in minutes. + */ + appConsistentFrequencyInMinutes?: number; + /** + * A value indicating whether multi-VM sync has to be enabled. + */ + multiVmSyncStatus?: string; } /** - * @interface - * An interface representing NetworkProperties. - * Network Properties - * + * VMWare Azure specific protection profile Input. */ -export interface NetworkProperties { +export interface InMagePolicyInput { /** - * @member {string} [fabricType] The Fabric Type. + * Polymorphic Discriminator */ - fabricType?: string; + instanceType: "InMage"; /** - * @member {Subnet[]} [subnets] The List of subnets. + * The recovery point threshold in minutes. */ - subnets?: Subnet[]; + recoveryPointThresholdInMinutes?: number; /** - * @member {string} [friendlyName] The Friendly Name. + * The duration in minutes until which the recovery points need to be stored. */ - friendlyName?: string; + recoveryPointHistory?: number; /** - * @member {string} [networkType] The Network Type. + * The app consistent snapshot frequency (in minutes). */ - networkType?: string; -} - -/** - * @interface - * An interface representing Network. - * Network model. - * - * @extends Resource - */ -export interface Network extends Resource { + appConsistentFrequencyInMinutes?: number; /** - * @member {NetworkProperties} [properties] The Network Properties. + * A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or + * 'Disabled'. Possible values include: 'Enable', 'Disable' */ - properties?: NetworkProperties; + multiVmSyncStatus: SetMultiVmSyncStatus; } /** - * @interface - * An interface representing NetworkMappingProperties. - * Network Mapping Properties. - * + * InMage protected disk details. */ -export interface NetworkMappingProperties { +export interface InMageProtectedDiskDetails { /** - * @member {string} [state] The pairing state for network mapping. + * The disk id. */ - state?: string; + diskId?: string; /** - * @member {string} [primaryNetworkFriendlyName] The primary network friendly - * name. + * The disk name. */ - primaryNetworkFriendlyName?: string; + diskName?: string; /** - * @member {string} [primaryNetworkId] The primary network id for network - * mapping. + * The protection stage. */ - primaryNetworkId?: string; + protectionStage?: string; /** - * @member {string} [primaryFabricFriendlyName] The primary fabric friendly - * name. + * The health error code for the disk. */ - primaryFabricFriendlyName?: string; + healthErrorCode?: string; /** - * @member {string} [recoveryNetworkFriendlyName] The recovery network - * friendly name. + * The RPO in seconds. */ - recoveryNetworkFriendlyName?: string; + rpoInSeconds?: number; /** - * @member {string} [recoveryNetworkId] The recovery network id for network - * mapping. + * A value indicating whether resync is required for this disk. */ - recoveryNetworkId?: string; + resyncRequired?: string; /** - * @member {string} [recoveryFabricArmId] The recovery fabric ARM id. + * The resync progress percentage. */ - recoveryFabricArmId?: string; + resyncProgressPercentage?: number; /** - * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly - * name. + * The resync duration in seconds. */ - recoveryFabricFriendlyName?: string; + resyncDurationInSeconds?: number; /** - * @member {NetworkMappingFabricSpecificSettingsUnion} - * [fabricSpecificSettings] The fabric specific settings. + * The disk capacity in bytes. */ - fabricSpecificSettings?: NetworkMappingFabricSpecificSettingsUnion; -} - -/** - * @interface - * An interface representing NetworkMapping. - * Network Mapping model. Ideally it should have been possible to inherit this - * class from prev version in InheritedModels as long as there is no difference - * in structure or method signature. Since there were no base Models for - * certain fields and methods viz NetworkMappingProperties and Load with - * required return type, the class has been introduced in its entirety with - * references to base models to facilitate exensions in subsequent versions. - * - * @extends Resource - */ -export interface NetworkMapping extends Resource { + diskCapacityInBytes?: number; /** - * @member {NetworkMappingProperties} [properties] The Network Mapping - * Properties. + * The file system capacity in bytes. */ - properties?: NetworkMappingProperties; -} - -/** - * @interface - * An interface representing OperationsDiscovery. - * Operations discovery class. - * - */ -export interface OperationsDiscovery { + fileSystemCapacityInBytes?: number; /** - * @member {string} [name] Name of the API. The name of the operation being - * performed on this particular object. It should match the action name that - * appears in RBAC / the event service. Examples of operations include: * - * Microsoft.Compute/virtualMachine/capture/action * - * Microsoft.Compute/virtualMachine/restart/action * - * Microsoft.Compute/virtualMachine/write * - * Microsoft.Compute/virtualMachine/read * - * Microsoft.Compute/virtualMachine/delete Each action should include, in - * order: (1) Resource Provider Namespace (2) Type hierarchy for which the - * action applies (e.g. server/databases for a SQL Azure database) (3) Read, - * Write, Action or Delete indicating which type applies. If it is a - * PUT/PATCH on a collection or named value, Write should be used. If it is a - * GET, Read should be used. If it is a DELETE, Delete should be used. If it - * is a POST, Action should be used. As a note: all resource providers would - * need to include the "{Resource Provider Namespace}/register/action" - * operation in their response. This API is used to register for their - * service, and should include details about the operation (e.g. a localized - * name for the resource provider + any special considerations like PII - * release) + * The source data transit in MB. */ - name?: string; + sourceDataInMB?: number; /** - * @member {Display} [display] Object type + * The PS data transit in MB. */ - display?: Display; + psDataInMB?: number; /** - * @member {string} [origin] Origin. The intended executor of the operation; - * governs the display of the operation in the RBAC UX and the audit logs UX. - * Default value is "user,system" + * The target data transit in MB. */ - origin?: string; + targetDataInMB?: number; /** - * @member {any} [properties] Properties. Reserved for future use. + * A value indicating whether disk is resized. */ - properties?: any; + diskResized?: string; + /** + * The last RPO calculated time. + */ + lastRpoCalculatedTime?: Date; } /** - * @interface - * An interface representing PlannedFailoverInputProperties. - * Input definition for planned failover input properties. - * + * InMageRcm source agent upgrade blocking error details. */ -export interface PlannedFailoverInputProperties { +export interface InMageRcmAgentUpgradeBlockingErrorDetails { /** - * @member {string} [failoverDirection] Failover direction. + * The error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverDirection?: string; + readonly errorCode?: string; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; -} - -/** - * @interface - * An interface representing PlannedFailoverInput. - * Input definition for planned failover. - * - */ -export interface PlannedFailoverInput { + readonly errorMessage?: string; /** - * @member {PlannedFailoverInputProperties} [properties] Planned failover - * input properties + * The possible causes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: PlannedFailoverInputProperties; -} - -/** - * @interface - * An interface representing PolicyProperties. - * Protection profile custom data details. - * - */ -export interface PolicyProperties { + readonly possibleCauses?: string; /** - * @member {string} [friendlyName] The FriendlyName. + * The recommended action. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly recommendedAction?: string; /** - * @member {PolicyProviderSpecificDetailsUnion} [providerSpecificDetails] The - * ReplicationChannelSetting. + * The error message parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: PolicyProviderSpecificDetailsUnion; -} - -/** - * @interface - * An interface representing Policy. - * Protection profile details. - * - * @extends Resource - */ -export interface Policy extends Resource { + readonly errorMessageParameters?: { [propertyName: string]: string }; /** - * @member {PolicyProperties} [properties] The custom data. + * The error tags. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: PolicyProperties; + readonly errorTags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing ProcessServer. - * Details of the Process Server. - * + * ApplyRecoveryPoint input specific to InMageRcm provider. */ -export interface ProcessServer { +export interface InMageRcmApplyRecoveryPointInput { /** - * @member {string} [friendlyName] The Process Server's friendly name. + * Polymorphic Discriminator */ - friendlyName?: string; + instanceType: "InMageRcm"; /** - * @member {string} [id] The Process Server Id. + * The recovery point Id. */ - id?: string; + recoveryPointId?: string; +} + +/** + * InMageRcm disk input. + */ +export interface InMageRcmDiskInput { /** - * @member {string} [ipAddress] The IP address of the server. + * The disk Id. */ - ipAddress?: string; + diskId?: string; /** - * @member {string} [osType] The OS type of the server. + * The log storage account ARM Id. */ - osType?: string; + logStorageAccountId?: string; /** - * @member {string} [agentVersion] The version of the scout component on the - * server. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - agentVersion?: string; + diskType?: DiskAccountType; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the - * server. + * The disk encryption set ARM Id. */ - lastHeartbeat?: Date; + diskEncryptionSetId?: string; +} + +/** + * InMageRcm disk input. + */ +export interface InMageRcmDisksDefaultInput { /** - * @member {string} [versionStatus] Version status + * The log storage account ARM Id. */ - versionStatus?: string; + logStorageAccountId?: string; /** - * @member {MobilityServiceUpdate[]} [mobilityServiceUpdates] The list of the - * mobility service updates available on the Process Server. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - mobilityServiceUpdates?: MobilityServiceUpdate[]; + diskType?: DiskAccountType; /** - * @member {string} [hostId] The agent generated Id. + * The disk encryption set ARM Id. */ - hostId?: string; + diskEncryptionSetId?: string; +} + +/** + * InMageRcm specific enable protection input. + */ +export interface InMageRcmEnableProtectionInput { /** - * @member {string} [machineCount] The servers configured with this PS. + * Polymorphic Discriminator */ - machineCount?: string; + instanceType: "InMageRcm"; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this PS. + * The ARM Id of discovered machine. */ - replicationPairCount?: string; + fabricDiscoveryMachineId?: string; /** - * @member {string} [systemLoad] The percentage of the system load. + * The disks to include list. */ - systemLoad?: string; + disksToInclude?: InMageRcmDiskInput[]; /** - * @member {string} [systemLoadStatus] The system load status. + * The default disk input. */ - systemLoadStatus?: string; + disksDefault?: InMageRcmDisksDefaultInput; /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * The target resource group ARM Id. */ - cpuLoad?: string; + targetResourceGroupId?: string; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * The selected target network ARM Id. */ - cpuLoadStatus?: string; + targetNetworkId?: string; /** - * @member {number} [totalMemoryInBytes] The total memory. + * The selected test network ARM Id. */ - totalMemoryInBytes?: number; + testNetworkId?: string; /** - * @member {number} [availableMemoryInBytes] The available memory. + * The selected target subnet name. */ - availableMemoryInBytes?: number; + targetSubnetName?: string; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * The selected test subnet name. */ - memoryUsageStatus?: string; + testSubnetName?: string; /** - * @member {number} [totalSpaceInBytes] The total space. + * The target VM name. */ - totalSpaceInBytes?: number; + targetVmName?: string; /** - * @member {number} [availableSpaceInBytes] The available space. + * The target VM size. */ - availableSpaceInBytes?: number; + targetVmSize?: string; /** - * @member {string} [spaceUsageStatus] The space usage status. + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ - spaceUsageStatus?: string; + licenseType?: LicenseType; /** - * @member {string} [psServiceStatus] The PS service status. + * The target availability set ARM Id. */ - psServiceStatus?: string; + targetAvailabilitySetId?: string; /** - * @member {Date} [sslCertExpiryDate] The PS SSL cert expiry date. + * The target availability zone. */ - sslCertExpiryDate?: Date; + targetAvailabilityZone?: string; /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * The target proximity placement group Id. */ - sslCertExpiryRemainingDays?: number; + targetProximityPlacementGroupId?: string; /** - * @member {string} [osVersion] OS Version of the process server. Note: This - * will get populated if user has CS version greater than 9.12.0.0. + * The target boot diagnostics storage account ARM Id. */ - osVersion?: string; + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {HealthError[]} [healthErrors] Health errors. + * The run-as account Id. */ - healthErrors?: HealthError[]; + runAsAccountId?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The process server Id. */ - agentExpiryDate?: Date; + processServerId?: string; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * The multi VM group name. */ - agentVersionDetails?: VersionDetails; + multiVmGroupName?: string; } /** - * @interface - * An interface representing ProtectableItemProperties. - * Replication protected item custom data details. - * + * Event details for InMageRcm provider. */ -export interface ProtectableItemProperties { +export interface InMageRcmEventDetails { /** - * @member {string} [friendlyName] The name. + * Polymorphic Discriminator */ - friendlyName?: string; + instanceType: "InMageRcm"; /** - * @member {string} [protectionStatus] The protection status. + * The protected item name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectionStatus?: string; + readonly protectedItemName?: string; +} + +/** + * InMageRcm fabric provider specific settings. + */ +export interface InMageRcmFabricCreationInput { /** - * @member {string} [replicationProtectedItemId] The ARM resource of - * protected items. + * Polymorphic Discriminator */ - replicationProtectedItemId?: string; + instanceType: "InMageRcm"; /** - * @member {string} [recoveryServicesProviderId] The recovery provider ARM - * Id. + * The ARM Id of the VMware site. */ - recoveryServicesProviderId?: string; + vmwareSiteId?: string; /** - * @member {string[]} [protectionReadinessErrors] The Current protection - * readiness errors. + * The ARM Id of the physical site. */ - protectionReadinessErrors?: string[]; + physicalSiteId?: string; /** - * @member {string[]} [supportedReplicationProviders] The list of replication - * providers supported for the protectable item. + * The identity provider input for source agent authentication. */ - supportedReplicationProviders?: string[]; + sourceAgentIdentity?: IdentityProviderInput; /** - * @member {ConfigurationSettingsUnion} [customDetails] The Replication - * provider custom settings. + * The certificate to be used for AAD authentication. */ - customDetails?: ConfigurationSettingsUnion; + authCertificate?: string; } /** - * @interface - * An interface representing ProtectableItem. - * Replication protected item - * - * @extends Resource + * Process server details. */ -export interface ProtectableItem extends Resource { +export interface ProcessServerDetails { /** - * @member {ProtectableItemProperties} [properties] The custom data. + * The process server Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: ProtectableItemProperties; -} - -/** - * @interface - * An interface representing ProtectableItemQueryParameter. - * Query parameter to enumerate Protectable items. - * - */ -export interface ProtectableItemQueryParameter { + readonly id?: string; /** - * @member {string} [state] State of the Protectable item query filter. + * The process server name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state?: string; -} - -/** - * @interface - * An interface representing ProtectedItemsQueryParameter. - * Query parameter to enumerate protected items. - * - */ -export interface ProtectedItemsQueryParameter { + readonly name?: string; /** - * @member {string} [sourceFabricName] The source fabric name filter. + * The process server version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceFabricName?: string; + readonly version?: string; /** - * @member {string} [recoveryPlanName] The recovery plan filter. + * The last heartbeat received from the process server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPlanName?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [vCenterName] The vCenter name filter. + * The total memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCenterName?: string; + readonly totalMemoryInBytes?: number; /** - * @member {string} [instanceType] The replication provider type. + * The available memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType?: string; + readonly availableMemoryInBytes?: number; /** - * @member {MultiVmGroupCreateOption} [multiVmGroupCreateOption] Whether - * Multi VM group is auto created or specified by user. Possible values - * include: 'AutoCreated', 'UserSpecified' + * The used memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - multiVmGroupCreateOption?: MultiVmGroupCreateOption; -} - -/** - * @interface - * An interface representing ProtectionContainerFabricSpecificDetails. - * Base class for fabric specific details of container. - * - */ -export interface ProtectionContainerFabricSpecificDetails { + readonly usedMemoryInBytes?: number; /** - * @member {string} [instanceType] Gets the class type. Overriden in derived - * classes. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The memory usage percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly instanceType?: string; -} - -/** - * @interface - * An interface representing ProtectionContainerProperties. - * Protection profile custom data details. - * - */ -export interface ProtectionContainerProperties { + readonly memoryUsagePercentage?: number; /** - * @member {string} [fabricFriendlyName] Fabric friendly name. + * The total disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricFriendlyName?: string; + readonly totalSpaceInBytes?: number; /** - * @member {string} [friendlyName] The name. + * The available disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly availableSpaceInBytes?: number; /** - * @member {string} [fabricType] The fabric type. + * The used disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricType?: string; + readonly usedSpaceInBytes?: number; /** - * @member {number} [protectedItemCount] Number of protected PEs + * The free disk space percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectedItemCount?: number; + readonly freeSpacePercentage?: number; /** - * @member {string} [pairingStatus] The pairing status of this cloud. + * The uploading pending data in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - pairingStatus?: string; + readonly throughputUploadPendingDataInBytes?: number; /** - * @member {string} [role] The role of this cloud. + * The throughput in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - role?: string; + readonly throughputInBytes?: number; /** - * @member {ProtectionContainerFabricSpecificDetails} [fabricSpecificDetails] - * Fabric specific details. + * The processor usage percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricSpecificDetails?: ProtectionContainerFabricSpecificDetails; -} - -/** - * @interface - * An interface representing ProtectionContainer. - * Protection container details. - * - * @extends Resource - */ -export interface ProtectionContainer extends Resource { + readonly processorUsagePercentage?: number; /** - * @member {ProtectionContainerProperties} [properties] The custom data. + * The health of the process server. Possible values include: 'None', 'Normal', 'Warning', + * 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: ProtectionContainerProperties; + readonly health?: ProtectionHealth; + /** + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly healthErrors?: HealthError[]; + /** + * The historic health of the process server based on the health in last 24 hours. Possible + * values include: 'None', 'Normal', 'Warning', 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly historicHealth?: ProtectionHealth; } /** - * @interface - * An interface representing ProtectionContainerMappingProperties. - * Protection container mapping properties. - * + * RCM proxy details. */ -export interface ProtectionContainerMappingProperties { +export interface RcmProxyDetails { /** - * @member {string} [targetProtectionContainerId] Paired protection container - * ARM ID. + * The RCM proxy Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetProtectionContainerId?: string; + readonly id?: string; /** - * @member {string} [targetProtectionContainerFriendlyName] Friendly name of - * paired container. + * The RCM proxy name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetProtectionContainerFriendlyName?: string; + readonly name?: string; /** - * @member {ProtectionContainerMappingProviderSpecificDetailsUnion} - * [providerSpecificDetails] Provider specific provider details. + * The RCM proxy version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: ProtectionContainerMappingProviderSpecificDetailsUnion; + readonly version?: string; /** - * @member {string} [health] Health of pairing. + * The last heartbeat received from the RCM proxy. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - health?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {HealthError[]} [healthErrorDetails] Health error. + * The health of the RCM proxy. Possible values include: 'None', 'Normal', 'Warning', 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrorDetails?: HealthError[]; + readonly health?: ProtectionHealth; /** - * @member {string} [policyId] Policy ARM Id. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - policyId?: string; + readonly healthErrors?: HealthError[]; +} + +/** + * Push installer details. + */ +export interface PushInstallerDetails { /** - * @member {string} [state] Association Status + * The push installer Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state?: string; + readonly id?: string; /** - * @member {string} [sourceProtectionContainerFriendlyName] Friendly name of - * source protection container. + * The push installer name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceProtectionContainerFriendlyName?: string; + readonly name?: string; /** - * @member {string} [sourceFabricFriendlyName] Friendly name of source - * fabric. + * The push installer version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceFabricFriendlyName?: string; + readonly version?: string; /** - * @member {string} [targetFabricFriendlyName] Friendly name of target - * fabric. + * The last heartbeat received from the push installer. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetFabricFriendlyName?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [policyFriendlyName] Friendly name of replication policy. + * The health of the push installer. Possible values include: 'None', 'Normal', 'Warning', + * 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - policyFriendlyName?: string; -} - -/** - * @interface - * An interface representing ProtectionContainerMapping. - * Protection container mapping object. - * - * @extends Resource - */ -export interface ProtectionContainerMapping extends Resource { + readonly health?: ProtectionHealth; /** - * @member {ProtectionContainerMappingProperties} [properties] The custom - * data. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: ProtectionContainerMappingProperties; + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing RcmAzureMigrationPolicyDetails. - * RCM based Azure migration specific policy details. - * + * Replication agent details. */ -export interface RcmAzureMigrationPolicyDetails { +export interface ReplicationAgentDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The replication agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "RcmAzureMigration"; + readonly id?: string; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * The replication agent name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointThresholdInMinutes?: number; + readonly name?: string; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The replication agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointHistory?: number; + readonly version?: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The last heartbeat received from the replication agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - appConsistentFrequencyInMinutes?: number; + readonly lastHeartbeatUtc?: Date; /** - * @member {MultiVmSyncStatus} [multiVmSyncStatus] A value indicating whether - * multi-VM sync has to be enabled. Possible values include: 'Enabled', - * 'Disabled' + * The health of the replication agent. Possible values include: 'None', 'Normal', 'Warning', + * 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - multiVmSyncStatus?: MultiVmSyncStatus; + readonly health?: ProtectionHealth; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - crashConsistentFrequencyInMinutes?: number; + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing RecoveryPlanProperties. - * Recovery plan custom details. - * + * Reprotect agent details. */ -export interface RecoveryPlanProperties { +export interface ReprotectAgentDetails { /** - * @member {string} [friendlyName] The friendly name. + * The reprotect agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly id?: string; /** - * @member {string} [primaryFabricId] The primary fabric Id. + * The reprotect agent name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryFabricId?: string; + readonly name?: string; /** - * @member {string} [primaryFabricFriendlyName] The primary fabric friendly - * name. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryFabricFriendlyName?: string; + readonly version?: string; /** - * @member {string} [recoveryFabricId] The recovery fabric Id. + * The last heartbeat received from the reprotect agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricId?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly - * name. + * The health of the reprotect agent. Possible values include: 'None', 'Normal', 'Warning', + * 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricFriendlyName?: string; + readonly health?: ProtectionHealth; /** - * @member {string} [failoverDeploymentModel] The failover deployment model. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverDeploymentModel?: string; + readonly healthErrors?: HealthError[]; +} + +/** + * InMageRcm fabric specific details. + */ +export interface InMageRcmFabricSpecificDetails { /** - * @member {string[]} [replicationProviders] The list of replication - * providers. + * Polymorphic Discriminator */ - replicationProviders?: string[]; + instanceType: "InMageRcm"; /** - * @member {string[]} [allowedOperations] The list of allowed operations. + * The ARM Id of the VMware site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedOperations?: string[]; + readonly vmwareSiteId?: string; /** - * @member {Date} [lastPlannedFailoverTime] The start time of the last - * planned failover. + * The ARM Id of the physical site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastPlannedFailoverTime?: Date; + readonly physicalSiteId?: string; /** - * @member {Date} [lastUnplannedFailoverTime] The start time of the last - * unplanned failover. + * The service endpoint. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastUnplannedFailoverTime?: Date; + readonly serviceEndpoint?: string; /** - * @member {Date} [lastTestFailoverTime] The start time of the last test - * failover. + * The service resource Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastTestFailoverTime?: Date; + readonly serviceResourceId?: string; /** - * @member {CurrentScenarioDetails} [currentScenario] The current scenario - * details. + * The service container Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - currentScenario?: CurrentScenarioDetails; + readonly serviceContainerId?: string; /** - * @member {string} [currentScenarioStatus] The recovery plan status. + * The data plane Uri. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - currentScenarioStatus?: string; + readonly dataPlaneUri?: string; /** - * @member {string} [currentScenarioStatusDescription] The recovery plan - * status description. + * The control plane Uri. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - currentScenarioStatusDescription?: string; + readonly controlPlaneUri?: string; /** - * @member {RecoveryPlanGroup[]} [groups] The recovery plan groups. + * The list of process servers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - groups?: RecoveryPlanGroup[]; -} - -/** - * @interface - * An interface representing RecoveryPlan. - * Recovery plan details. - * - * @extends Resource - */ -export interface RecoveryPlan extends Resource { + readonly processServers?: ProcessServerDetails[]; /** - * @member {RecoveryPlanProperties} [properties] The custom details. + * The list of RCM proxies. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: RecoveryPlanProperties; -} - -/** - * Contains the possible cases for RecoveryPlanProviderSpecificFailoverInput. - */ -export type RecoveryPlanProviderSpecificFailoverInputUnion = RecoveryPlanProviderSpecificFailoverInput | RecoveryPlanA2AFailoverInput | RecoveryPlanHyperVReplicaAzureFailbackInput | RecoveryPlanHyperVReplicaAzureFailoverInput | RecoveryPlanInMageAzureV2FailoverInput | RecoveryPlanInMageFailoverInput; - -/** - * @interface - * An interface representing RecoveryPlanProviderSpecificFailoverInput. - * Recovery plan provider specific failover input base class. - * - */ -export interface RecoveryPlanProviderSpecificFailoverInput { + readonly rcmProxies?: RcmProxyDetails[]; /** - * @member {string} instanceType Polymorphic Discriminator + * The list of push installers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "RecoveryPlanProviderSpecificFailoverInput"; -} - -/** - * @interface - * An interface representing RecoveryPlanA2AFailoverInput. - * Recovery plan A2A failover input. - * - */ -export interface RecoveryPlanA2AFailoverInput { + readonly pushInstallers?: PushInstallerDetails[]; /** - * @member {string} instanceType Polymorphic Discriminator + * The list of replication agents. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "A2A"; + readonly replicationAgents?: ReplicationAgentDetails[]; /** - * @member {A2ARpRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestCrashConsistent', 'LatestProcessed' + * The list of reprotect agents. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointType: A2ARpRecoveryPointType; + readonly reprotectAgents?: ReprotectAgentDetails[]; /** - * @member {string} [cloudServiceCreationOption] A value indicating whether - * to use recovery cloud service for TFO or not. + * The list of DRAs. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - cloudServiceCreationOption?: string; + readonly dras?: DraDetails[]; /** - * @member {MultiVmSyncPointOption} [multiVmSyncPointOption] A value - * indicating whether multi VM sync enabled VMs should use multi VM sync - * points for failover. Possible values include: - * 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' + * The list of agent details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - multiVmSyncPointOption?: MultiVmSyncPointOption; + readonly agentDetails?: AgentDetails[]; } /** - * @interface - * An interface representing RecoveryPlanAutomationRunbookActionDetails. - * Recovery plan Automation runbook action details. - * + * InMageRcm last source agent upgrade error details. */ -export interface RecoveryPlanAutomationRunbookActionDetails { +export interface InMageRcmLastAgentUpgradeErrorDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "AutomationRunbookActionDetails"; + readonly errorCode?: string; /** - * @member {string} [runbookId] The runbook ARM Id. + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runbookId?: string; + readonly errorMessage?: string; /** - * @member {string} [timeout] The runbook timeout. + * The possible causes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timeout?: string; + readonly possibleCauses?: string; /** - * @member {RecoveryPlanActionLocation} fabricLocation The fabric location. - * Possible values include: 'Primary', 'Recovery' + * The recommended action. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricLocation: RecoveryPlanActionLocation; + readonly recommendedAction?: string; + /** + * The error message parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly errorMessageParameters?: { [propertyName: string]: string }; + /** + * The error tags. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly errorTags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing RecoveryPlanGroupTaskDetails. - * This class represents the recovery plan group task. - * + * InMageRcm mobility agent details. */ -export interface RecoveryPlanGroupTaskDetails { +export interface InMageRcmMobilityAgentDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "RecoveryPlanGroupTaskDetails"; + readonly version?: string; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The latest agent version available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - childTasks?: ASRTask[]; + readonly latestVersion?: string; /** - * @member {string} [name] The name. + * The driver version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly driverVersion?: string; /** - * @member {string} [groupId] The group identifier. + * The latest upgradeable version available without reboot. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - groupId?: string; + readonly latestUpgradableVersionWithoutReboot?: string; /** - * @member {string} [rpGroupType] The group type. + * The agent version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rpGroupType?: string; -} - -/** - * @interface - * An interface representing RecoveryPlanHyperVReplicaAzureFailbackInput. - * Recovery plan HVR Azure failback input. - * - */ -export interface RecoveryPlanHyperVReplicaAzureFailbackInput { + readonly agentVersionExpiryDate?: Date; /** - * @member {string} instanceType Polymorphic Discriminator + * The driver version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "HyperVReplicaAzureFailback"; + readonly driverVersionExpiryDate?: Date; /** - * @member {DataSyncStatus} dataSyncOption The data sync option. Possible - * values include: 'ForDownTime', 'ForSynchronization' + * The time of the last heartbeat received from the agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dataSyncOption: DataSyncStatus; + readonly lastHeartbeatUtc?: Date; /** - * @member {AlternateLocationRecoveryOption} recoveryVmCreationOption The ALR - * option. Possible values include: 'CreateVmIfNotFound', 'NoAction' + * The whether update is possible or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryVmCreationOption: AlternateLocationRecoveryOption; + readonly reasonsBlockingUpgrade?: AgentUpgradeBlockedReason[]; + /** + * A value indicating whether agent is upgradeable or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isUpgradeable?: string; } /** - * @interface - * An interface representing RecoveryPlanHyperVReplicaAzureFailoverInput. - * Recovery plan HVR Azure failover input. - * + * InMageRcm NIC details. */ -export interface RecoveryPlanHyperVReplicaAzureFailoverInput { +export interface InMageRcmNicDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The NIC Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "HyperVReplicaAzure"; + readonly nicId?: string; /** - * @member {string} vaultLocation The vault location. + * A value indicating whether this is the primary NIC. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vaultLocation: string; + readonly isPrimaryNic?: string; /** - * @member {string} [primaryKekCertificatePfx] The primary KEK certificate - * PFX. + * A value indicating whether this NIC is selected for failover. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryKekCertificatePfx?: string; + readonly isSelectedForFailover?: string; /** - * @member {string} [secondaryKekCertificatePfx] The secondary KEK - * certificate PFX. + * The source IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - secondaryKekCertificatePfx?: string; + readonly sourceIPAddress?: string; /** - * @member {HyperVReplicaAzureRpRecoveryPointType} [recoveryPointType] The - * recovery point type. Possible values include: 'Latest', - * 'LatestApplicationConsistent', 'LatestProcessed' + * The source IP address type. Possible values include: 'Dynamic', 'Static' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointType?: HyperVReplicaAzureRpRecoveryPointType; -} - -/** - * @interface - * An interface representing RecoveryPlanInMageAzureV2FailoverInput. - * Recovery plan InMageAzureV2 failover input. - * - */ -export interface RecoveryPlanInMageAzureV2FailoverInput { + readonly sourceIPAddressType?: EthernetAddressType; /** - * @member {string} instanceType Polymorphic Discriminator + * Source network Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "InMageAzureV2"; + readonly sourceNetworkId?: string; /** - * @member {string} vaultLocation The vault location. + * Source subnet name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vaultLocation: string; + readonly sourceSubnetName?: string; /** - * @member {InMageV2RpRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestCrashConsistent', 'LatestProcessed' + * The target IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointType: InMageV2RpRecoveryPointType; + readonly targetIPAddress?: string; /** - * @member {string} [useMultiVmSyncPoint] A value indicating whether multi VM - * sync enabled VMs should use multi VM sync points for failover. + * The target IP address type. Possible values include: 'Dynamic', 'Static' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - useMultiVmSyncPoint?: string; -} - -/** - * @interface - * An interface representing RecoveryPlanInMageFailoverInput. - * Recovery plan InMage failover input. - * - */ -export interface RecoveryPlanInMageFailoverInput { + readonly targetIPAddressType?: EthernetAddressType; /** - * @member {string} instanceType Polymorphic Discriminator + * Target subnet name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "InMage"; + readonly targetSubnetName?: string; /** - * @member {RpInMageRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * Test subnet name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointType: RpInMageRecoveryPointType; -} - -/** - * @interface - * An interface representing RecoveryPlanManualActionDetails. - * Recovery plan manual action details. - * - */ -export interface RecoveryPlanManualActionDetails { + readonly testSubnetName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The test IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "ManualActionDetails"; + readonly testIPAddress?: string; /** - * @member {string} [description] The manual action description. + * The test IP address type. Possible values include: 'Dynamic', 'Static' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly testIPAddressType?: EthernetAddressType; } /** - * @interface - * An interface representing RecoveryPlanPlannedFailoverInputProperties. - * Recovery plan planned failover input properties. - * + * InMageRcm NIC input. */ -export interface RecoveryPlanPlannedFailoverInputProperties { +export interface InMageRcmNicInput { /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The NIC Id. */ - failoverDirection: PossibleOperationsDirections; + nicId?: string; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * A value indicating whether this is the primary NIC. */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; -} - -/** - * @interface - * An interface representing RecoveryPlanPlannedFailoverInput. - * Recovery plan planned failover input. - * - */ -export interface RecoveryPlanPlannedFailoverInput { + isPrimaryNic?: string; /** - * @member {RecoveryPlanPlannedFailoverInputProperties} properties The - * recovery plan planned failover input properties. + * A value indicating whether this NIC is selected for failover. */ - properties: RecoveryPlanPlannedFailoverInputProperties; -} - -/** - * @interface - * An interface representing RecoveryPlanScriptActionDetails. - * Recovery plan script action details. - * - */ -export interface RecoveryPlanScriptActionDetails { + isSelectedForFailover?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * Target subnet name. */ - instanceType: "ScriptActionDetails"; + targetSubnetName?: string; /** - * @member {string} path The script path. + * The target static IP address. */ - path: string; + targetStaticIPAddress?: string; /** - * @member {string} [timeout] The script timeout. + * The test subnet name. */ - timeout?: string; + testSubnetName?: string; /** - * @member {RecoveryPlanActionLocation} fabricLocation The fabric location. - * Possible values include: 'Primary', 'Recovery' + * The test static IP address. */ - fabricLocation: RecoveryPlanActionLocation; + testStaticIPAddress?: string; } /** - * @interface - * An interface representing RecoveryPlanShutdownGroupTaskDetails. - * This class represents the recovery plan shutdown group task details. - * + * InMageRcm policy creation input. */ -export interface RecoveryPlanShutdownGroupTaskDetails { +export interface InMageRcmPolicyCreationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "RecoveryPlanShutdownGroupTaskDetails"; + instanceType: "InMageRcm"; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The duration in minutes until which the recovery points need to be stored. */ - childTasks?: ASRTask[]; + recoveryPointHistoryInMinutes?: number; /** - * @member {string} [name] The name. + * The crash consistent snapshot frequency (in minutes). */ - name?: string; + crashConsistentFrequencyInMinutes?: number; /** - * @member {string} [groupId] The group identifier. + * The app consistent snapshot frequency (in minutes). */ - groupId?: string; + appConsistentFrequencyInMinutes?: number; /** - * @member {string} [rpGroupType] The group type. + * A value indicating whether multi-VM sync has to be enabled. */ - rpGroupType?: string; + enableMultiVmSync?: string; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverCleanupInputProperties. - * Recovery plan test failover cleanup input properties. - * + * InMageRcm specific policy details. */ -export interface RecoveryPlanTestFailoverCleanupInputProperties { +export interface InMageRcmPolicyDetails { /** - * @member {string} [comments] The test failover cleanup comments. + * Polymorphic Discriminator */ - comments?: string; -} - -/** - * @interface - * An interface representing RecoveryPlanTestFailoverCleanupInput. - * Recovery plan test failover cleanup input. - * - */ -export interface RecoveryPlanTestFailoverCleanupInput { + instanceType: "InMageRcm"; /** - * @member {RecoveryPlanTestFailoverCleanupInputProperties} properties The - * recovery plan test failover cleanup input properties. + * The duration in minutes until which the recovery points need to be stored. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties: RecoveryPlanTestFailoverCleanupInputProperties; + readonly recoveryPointHistoryInMinutes?: number; + /** + * The app consistent snapshot frequency in minutes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly appConsistentFrequencyInMinutes?: number; + /** + * The crash consistent snapshot frequency in minutes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly crashConsistentFrequencyInMinutes?: number; + /** + * A value indicating whether multi-VM sync has to be enabled. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly enableMultiVmSync?: string; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverInputProperties. - * Recovery plan test failover input properties. - * + * InMageRcm protected disk details. */ -export interface RecoveryPlanTestFailoverInputProperties { +export interface InMageRcmProtectedDiskDetails { /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The disk Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverDirection: PossibleOperationsDirections; + readonly diskId?: string; /** - * @member {string} networkType The network type to be used for test - * failover. + * The disk name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkType: string; + readonly diskName?: string; /** - * @member {string} [networkId] The Id of the network to be used for test - * failover. + * A value indicating whether the disk is the OS disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkId?: string; + readonly isOSDisk?: string; /** - * @member {string} [skipTestFailoverCleanup] A value indicating whether the - * test failover cleanup is to be skipped. + * The disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skipTestFailoverCleanup?: string; + readonly capacityInBytes?: number; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * The log storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; -} - -/** - * @interface - * An interface representing RecoveryPlanTestFailoverInput. - * Recovery plan test failover input. - * - */ -export interface RecoveryPlanTestFailoverInput { + readonly logStorageAccountId?: string; /** - * @member {RecoveryPlanTestFailoverInputProperties} properties The recovery - * plan test failover input properties. + * The disk encryption set ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties: RecoveryPlanTestFailoverInputProperties; -} - -/** - * @interface - * An interface representing RecoveryPlanUnplannedFailoverInputProperties. - * Recovery plan unplanned failover input properties. - * - */ -export interface RecoveryPlanUnplannedFailoverInputProperties { + readonly diskEncryptionSetId?: string; /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The ARM Id of the seed managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverDirection: PossibleOperationsDirections; + readonly seedManagedDiskId?: string; /** - * @member {SourceSiteOperations} sourceSiteOperations A value indicating - * whether source site operations are required. Possible values include: - * 'Required', 'NotRequired' + * The ARM Id of the target managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceSiteOperations: SourceSiteOperations; + readonly targetManagedDiskId?: string; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; + readonly diskType?: DiskAccountType; } /** - * @interface - * An interface representing RecoveryPlanUnplannedFailoverInput. - * Recovery plan unplanned failover input. - * + * InMageRcm provider specific recovery point details. */ -export interface RecoveryPlanUnplannedFailoverInput { +export interface InMageRcmRecoveryPointDetails { /** - * @member {RecoveryPlanUnplannedFailoverInputProperties} properties The - * recovery plan unplanned failover input properties. + * Polymorphic Discriminator */ - properties: RecoveryPlanUnplannedFailoverInputProperties; + instanceType: "InMageRcm"; + /** + * A value indicating whether the recovery point is multi VM consistent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isMultiVmSyncPoint?: string; } /** - * @interface - * An interface representing RecoveryPointProperties. - * Recovery point properties. - * + * InMageRcm provider specific details. */ -export interface RecoveryPointProperties { +export interface InMageRcmReplicationDetails { /** - * @member {Date} [recoveryPointTime] The recovery point time. + * Polymorphic Discriminator */ - recoveryPointTime?: Date; + instanceType: "InMageRcm"; /** - * @member {string} [recoveryPointType] The recovery point type: - * ApplicationConsistent, CrashConsistent. + * The virtual machine internal identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointType?: string; + readonly internalIdentifier?: string; /** - * @member {ProviderSpecificRecoveryPointDetailsUnion} - * [providerSpecificDetails] The provider specific details for the recovery - * point. + * The ARM Id of the discovered VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: ProviderSpecificRecoveryPointDetailsUnion; -} - -/** - * @interface - * An interface representing RecoveryPoint. - * Base class representing a recovery point. - * - * @extends Resource - */ -export interface RecoveryPoint extends Resource { + readonly fabricDiscoveryMachineId?: string; /** - * @member {RecoveryPointProperties} [properties] Recovery point related - * data. + * The multi VM group name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: RecoveryPointProperties; -} - -/** - * @interface - * An interface representing RecoveryServicesProviderProperties. - * Recovery services provider properties. - * - */ -export interface RecoveryServicesProviderProperties { + readonly multiVmGroupName?: string; /** - * @member {string} [fabricType] Type of the site. + * The type of the discovered VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricType?: string; + readonly discoveryType?: string; /** - * @member {string} [friendlyName] Friendly name of the DRA. + * The process server Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly processServerId?: string; /** - * @member {string} [providerVersion] The provider version. + * The processor core count. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerVersion?: string; + readonly processorCoreCount?: number; /** - * @member {string} [serverVersion] The fabric provider. + * The allocated memory in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverVersion?: string; + readonly allocatedMemoryInMB?: number; /** - * @member {string} [providerVersionState] DRA version status. + * The process server name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerVersionState?: string; + readonly processServerName?: string; /** - * @member {Date} [providerVersionExpiryDate] Expiry date of the version. + * The run-as account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerVersionExpiryDate?: Date; + readonly runAsAccountId?: string; /** - * @member {string} [fabricFriendlyName] The fabric friendly name. + * The type of the OS on the VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricFriendlyName?: string; + readonly osType?: string; /** - * @member {Date} [lastHeartBeat] Time when last heartbeat was sent by the - * DRA. + * The firmware type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastHeartBeat?: Date; + readonly firmwareType?: string; /** - * @member {string} [connectionStatus] A value indicating whether DRA is - * responsive. + * The target generation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - connectionStatus?: string; + readonly targetGeneration?: string; /** - * @member {number} [protectedItemCount] Number of protected VMs currently - * managed by the DRA. + * License Type of the VM to be used. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectedItemCount?: number; + readonly licenseType?: string; /** - * @member {string[]} [allowedScenarios] The scenarios allowed on this - * provider. + * Target VM name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedScenarios?: string[]; + readonly targetVmName?: string; /** - * @member {HealthError[]} [healthErrorDetails] The recovery services - * provider health error details. + * The target VM size. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrorDetails?: HealthError[]; + readonly targetVmSize?: string; /** - * @member {string} [draIdentifier] The DRA Id. + * The target resource group Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - draIdentifier?: string; + readonly targetResourceGroupId?: string; /** - * @member {IdentityInformation} [identityDetails] The identity details. + * The target availability set Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - identityDetails?: IdentityInformation; + readonly targetAvailabilitySetId?: string; /** - * @member {VersionDetails} [providerVersionDetails] The provider version - * details. + * The target availability zone. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerVersionDetails?: VersionDetails; -} - -/** - * @interface - * An interface representing RecoveryServicesProvider. - * Provider details. - * - * @extends Resource - */ -export interface RecoveryServicesProvider extends Resource { - /** - * @member {RecoveryServicesProviderProperties} [properties] Provider - * properties. - */ - properties?: RecoveryServicesProviderProperties; -} - -/** - * @interface - * An interface representing ReplicationProviderContainerUnmappingInput. - * Provider specific input for unpairing operations. - * - */ -export interface ReplicationProviderContainerUnmappingInput { - /** - * @member {string} [instanceType] The class type. - */ - instanceType?: string; -} - -/** - * @interface - * An interface representing RemoveProtectionContainerMappingInputProperties. - * Unpairing input properties. - * - */ -export interface RemoveProtectionContainerMappingInputProperties { - /** - * @member {ReplicationProviderContainerUnmappingInput} - * [providerSpecificInput] Provider specific input for unpairing. - */ - providerSpecificInput?: ReplicationProviderContainerUnmappingInput; -} - -/** - * @interface - * An interface representing RemoveProtectionContainerMappingInput. - * Container unpairing input. - * - */ -export interface RemoveProtectionContainerMappingInput { - /** - * @member {RemoveProtectionContainerMappingInputProperties} [properties] - * Configure protection input properties. - */ - properties?: RemoveProtectionContainerMappingInputProperties; -} - -/** - * @interface - * An interface representing RenewCertificateInputProperties. - * Renew Certificate input properties. - * - */ -export interface RenewCertificateInputProperties { - /** - * @member {string} [renewCertificateType] Renew certificate type. - */ - renewCertificateType?: string; -} - -/** - * @interface - * An interface representing RenewCertificateInput. - * Certificate renewal input. - * - */ -export interface RenewCertificateInput { - /** - * @member {RenewCertificateInputProperties} [properties] Renew certificate - * input properties. - */ - properties?: RenewCertificateInputProperties; -} - -/** - * @interface - * An interface representing ReplicationGroupDetails. - * Replication group details. This will be used in case of San and Wvr. - * - */ -export interface ReplicationGroupDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "ReplicationGroupDetails"; -} - -/** - * @interface - * An interface representing ReplicationProtectedItemProperties. - * Replication protected item custom data details. - * - */ -export interface ReplicationProtectedItemProperties { - /** - * @member {string} [friendlyName] The name. - */ - friendlyName?: string; + readonly targetAvailabilityZone?: string; /** - * @member {string} [protectedItemType] The type of protected item type. + * The target proximity placement group Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectedItemType?: string; + readonly targetProximityPlacementGroupId?: string; /** - * @member {string} [protectableItemId] The protected item ARM Id. + * The target boot diagnostics storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectableItemId?: string; + readonly targetBootDiagnosticsStorageAccountId?: string; /** - * @member {string} [recoveryServicesProviderId] The recovery provider ARM - * Id. + * The target network Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryServicesProviderId?: string; + readonly targetNetworkId?: string; /** - * @member {string} [primaryFabricFriendlyName] The friendly name of the - * primary fabric. + * The test network Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryFabricFriendlyName?: string; + readonly testNetworkId?: string; /** - * @member {string} [primaryFabricProvider] The fabric provider of the - * primary fabric. + * The recovery point Id to which the VM was failed over. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryFabricProvider?: string; + readonly failoverRecoveryPointId?: string; /** - * @member {string} [recoveryFabricFriendlyName] The friendly name of - * recovery fabric. + * The last recovery point received time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricFriendlyName?: string; + readonly lastRecoveryPointReceived?: Date; /** - * @member {string} [recoveryFabricId] The Arm Id of recovery fabric. + * The last recovery point objective value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricId?: string; + readonly lastRpoInSeconds?: number; /** - * @member {string} [primaryProtectionContainerFriendlyName] The name of - * primary protection container friendly name. + * The last recovery point objective calculated time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryProtectionContainerFriendlyName?: string; + readonly lastRpoCalculatedTime?: Date; /** - * @member {string} [recoveryProtectionContainerFriendlyName] The name of - * recovery container friendly name. + * The last recovery point Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryProtectionContainerFriendlyName?: string; + readonly lastRecoveryPointId?: string; /** - * @member {string} [protectionState] The protection status. + * The initial replication progress percentage. This is calculated based on total bytes processed + * for all disks in the source VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectionState?: string; + readonly initialReplicationProgressPercentage?: number; /** - * @member {string} [protectionStateDescription] The protection state - * description. + * The initial replication processed bytes. This includes sum of total bytes transferred and + * matched bytes on all selected disks in source VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectionStateDescription?: string; + readonly initialReplicationProcessedBytes?: number; /** - * @member {string} [activeLocation] The Current active location of the PE. + * The initial replication transferred bytes from source VM to azure for all selected disks on + * source VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - activeLocation?: string; + readonly initialReplicationTransferredBytes?: number; /** - * @member {string} [testFailoverState] The Test failover state. + * The resync progress percentage. This is calculated based on total bytes processed for all + * disks in the source VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - testFailoverState?: string; + readonly resyncProgressPercentage?: number; /** - * @member {string} [testFailoverStateDescription] The Test failover state - * description. + * The resync processed bytes. This includes sum of total bytes transferred and matched bytes on + * all selected disks in source VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - testFailoverStateDescription?: string; + readonly resyncProcessedBytes?: number; /** - * @member {string[]} [allowedOperations] The allowed operations on the - * Replication protected item. + * The resync transferred bytes from source VM to azure for all selected disks on source VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedOperations?: string[]; + readonly resyncTransferredBytes?: number; /** - * @member {string} [replicationHealth] The consolidated protection health - * for the VM taking any issues with SRS as well as all the replication units - * associated with the VM's replication group into account. This is a string - * representation of the ProtectionHealth enumeration. + * A value indicating whether resync is required. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicationHealth?: string; + readonly resyncRequired?: string; /** - * @member {string} [failoverHealth] The consolidated failover health for the - * VM. + * The resync state. Possible values include: 'None', 'PreparedForResynchronization', + * 'StartedResynchronization' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverHealth?: string; + readonly resyncState?: ResyncState; /** - * @member {HealthError[]} [healthErrors] List of health errors. + * The agent auto upgrade state. Possible values include: 'None', 'Started', 'Completed', + * 'Commit' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly agentUpgradeState?: MobilityAgentUpgradeState; /** - * @member {string} [policyId] The ID of Policy governing this PE. + * The last agent upgrade type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - policyId?: string; + readonly lastAgentUpgradeType?: string; /** - * @member {string} [policyFriendlyName] The name of Policy governing this - * PE. + * The last agent upgrade failed or cancelled job Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - policyFriendlyName?: string; + readonly lastAgentUpgradeFailedJobId?: string; /** - * @member {Date} [lastSuccessfulFailoverTime] The Last successful failover - * time. + * The list of protected disks. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastSuccessfulFailoverTime?: Date; + readonly protectedDisks?: InMageRcmProtectedDiskDetails[]; /** - * @member {Date} [lastSuccessfulTestFailoverTime] The Last successful test - * failover time. + * A value indicating whether last agent upgrade was successful or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastSuccessfulTestFailoverTime?: Date; + readonly isLastUpgradeSuccessful?: string; /** - * @member {CurrentScenarioDetails} [currentScenario] The current scenario. + * The mobility agent information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - currentScenario?: CurrentScenarioDetails; + readonly mobilityAgentDetails?: InMageRcmMobilityAgentDetails; /** - * @member {string} [failoverRecoveryPointId] The recovery point ARM Id to - * which the Vm was failed over. + * The last agent upgrade error information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverRecoveryPointId?: string; + readonly lastAgentUpgradeErrorDetails?: InMageRcmLastAgentUpgradeErrorDetails[]; /** - * @member {ReplicationProviderSpecificSettingsUnion} - * [providerSpecificDetails] The Replication provider custom settings. + * The agent upgrade blocking error information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: ReplicationProviderSpecificSettingsUnion; + readonly agentUpgradeBlockingErrorDetails?: InMageRcmAgentUpgradeBlockingErrorDetails[]; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The network details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryContainerId?: string; + readonly vmNics?: InMageRcmNicDetails[]; } /** - * @interface - * An interface representing ReplicationProtectedItem. - * Replication protected item. - * - * @extends Resource + * InMageRcm provider specific input for test failover. */ -export interface ReplicationProtectedItem extends Resource { +export interface InMageRcmTestFailoverInput { /** - * @member {ReplicationProtectedItemProperties} [properties] The custom data. + * Polymorphic Discriminator */ - properties?: ReplicationProtectedItemProperties; -} - -/** - * @interface - * An interface representing ResourceHealthSummary. - * Base class to define the health summary of the resources contained under an - * Arm resource. - * - */ -export interface ResourceHealthSummary { + instanceType: "InMageRcm"; /** - * @member {number} [resourceCount] The count of total resources umder the - * container. + * The test network Id. */ - resourceCount?: number; + networkId?: string; /** - * @member {HealthErrorSummary[]} [issues] The list of summary of health - * errors across the resources under the container. + * The recovery point id to be passed to test failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ - issues?: HealthErrorSummary[]; + recoveryPointId?: string; } /** - * @interface - * An interface representing ResumeJobParamsProperties. - * Resume job properties. - * + * InMageRcm provider specific input for unplanned failover. */ -export interface ResumeJobParamsProperties { +export interface InMageRcmUnplannedFailoverInput { /** - * @member {string} [comments] Resume job comments. + * Polymorphic Discriminator */ - comments?: string; -} - -/** - * @interface - * An interface representing ResumeJobParams. - * Resume job params. - * - */ -export interface ResumeJobParams { + instanceType: "InMageRcm"; /** - * @member {ResumeJobParamsProperties} [properties] Resume job properties. + * A value indicating whether VM is to be shutdown. */ - properties?: ResumeJobParamsProperties; + performShutdown?: string; + /** + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. + */ + recoveryPointId?: string; } /** - * @interface - * An interface representing ReverseReplicationInputProperties. - * Reverse replication input properties. - * + * InMageRcm provider specific input to update replication protected item. */ -export interface ReverseReplicationInputProperties { +export interface InMageRcmUpdateReplicationProtectedItemInput { /** - * @member {string} [failoverDirection] Failover direction. + * Polymorphic Discriminator */ - failoverDirection?: string; + instanceType: "InMageRcm"; /** - * @member {ReverseReplicationProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific reverse replication input. + * The target VM name. */ - providerSpecificDetails?: ReverseReplicationProviderSpecificInputUnion; -} - -/** - * @interface - * An interface representing ReverseReplicationInput. - * Reverse replication input. - * - */ -export interface ReverseReplicationInput { + targetVmName?: string; /** - * @member {ReverseReplicationInputProperties} [properties] Reverse - * replication properties + * The target VM size. */ - properties?: ReverseReplicationInputProperties; -} - -/** - * @interface - * An interface representing RunAsAccount. - * CS Accounts Details. - * - */ -export interface RunAsAccount { + targetVmSize?: string; /** - * @member {string} [accountId] The CS RunAs account Id. + * The target resource group ARM Id. */ - accountId?: string; + targetResourceGroupId?: string; /** - * @member {string} [accountName] The CS RunAs account name. + * The target availability set ARM Id. */ - accountName?: string; -} - -/** - * @interface - * An interface representing SanEnableProtectionInput. - * San enable protection provider specific input. - * - */ -export interface SanEnableProtectionInput { + targetAvailabilitySetId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The target availability zone. */ - instanceType: "San"; -} - -/** - * @interface - * An interface representing ScriptActionTaskDetails. - * This class represents the script action task details. - * - */ -export interface ScriptActionTaskDetails { + targetAvailabilityZone?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The target proximity placement group Id. */ - instanceType: "ScriptActionTaskDetails"; + targetProximityPlacementGroupId?: string; /** - * @member {string} [name] The name. + * The target boot diagnostics storage account ARM Id. */ - name?: string; + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {string} [path] The path. + * The target network ARM Id. */ - path?: string; + targetNetworkId?: string; /** - * @member {string} [output] The output. + * The test network ARM Id. */ - output?: string; + testNetworkId?: string; /** - * @member {boolean} [isPrimarySideScript] A value indicating whether it is a - * primary side script or not. + * The list of NIC details. */ - isPrimarySideScript?: boolean; -} - -/** - * @interface - * An interface representing StorageClassificationProperties. - * Storage object properties. - * - */ -export interface StorageClassificationProperties { + vmNics?: InMageRcmNicInput[]; /** - * @member {string} [friendlyName] Friendly name of the Storage - * classification. + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ - friendlyName?: string; + licenseType?: LicenseType; } /** - * @interface - * An interface representing StorageClassification. - * Storage object definition. - * - * @extends Resource + * Details of the OS Disk. */ -export interface StorageClassification extends Resource { +export interface OSDiskDetails { /** - * @member {StorageClassificationProperties} [properties] Proprties of the - * storage object. + * The id of the disk containing the OS. */ - properties?: StorageClassificationProperties; -} - -/** - * @interface - * An interface representing StorageClassificationMappingProperties. - * Storage mapping properties. - * - */ -export interface StorageClassificationMappingProperties { + osVhdId?: string; /** - * @member {string} [targetStorageClassificationId] Target storage object Id. + * The type of the OS on the VM. */ - targetStorageClassificationId?: string; -} - -/** - * @interface - * An interface representing StorageClassificationMapping. - * Storage mapping object. - * - * @extends Resource - */ -export interface StorageClassificationMapping extends Resource { + osType?: string; /** - * @member {StorageClassificationMappingProperties} [properties] Proprties of - * the storage mappping object. + * The OS disk VHD name. */ - properties?: StorageClassificationMappingProperties; + vhdName?: string; } /** - * @interface - * An interface representing StorageMappingInputProperties. - * Storage mapping input properties. - * + * InMage provider specific settings */ -export interface StorageMappingInputProperties { +export interface InMageReplicationDetails { /** - * @member {string} [targetStorageClassificationId] The ID of the storage - * object. + * Polymorphic Discriminator */ - targetStorageClassificationId?: string; -} - -/** - * @interface - * An interface representing StorageClassificationMappingInput. - * Storage mapping input. - * - */ -export interface StorageClassificationMappingInput { + instanceType: "InMage"; /** - * @member {StorageMappingInputProperties} [properties] Storage mapping input - * properties. + * The active location of the VM. If the VM is being protected from Azure, this field will take + * values from { Azure, OnPrem }. If the VM is being protected between two data-centers, this + * field will be OnPrem always. */ - properties?: StorageMappingInputProperties; -} - -/** - * @interface - * An interface representing SwitchProtectionInputProperties. - * Switch protection input properties. - * - */ -export interface SwitchProtectionInputProperties { + activeSiteType?: string; /** - * @member {string} [replicationProtectedItemName] The unique replication - * protected item name. + * The CPU count of the VM on the primary side. */ - replicationProtectedItemName?: string; + sourceVmCpuCount?: number; /** - * @member {SwitchProtectionProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific switch protection input. + * The RAM size of the VM on the primary side. */ - providerSpecificDetails?: SwitchProtectionProviderSpecificInputUnion; -} - -/** - * @interface - * An interface representing SwitchProtectionInput. - * Switch protection input. - * - */ -export interface SwitchProtectionInput { + sourceVmRamSizeInMB?: number; /** - * @member {SwitchProtectionInputProperties} [properties] Switch protection - * properties + * The OS details. */ - properties?: SwitchProtectionInputProperties; -} - -/** - * @interface - * An interface representing SwitchProtectionJobDetails. - * This class represents details for switch protection job. - * - */ -export interface SwitchProtectionJobDetails { + osDetails?: OSDiskDetails; /** - * @member {string} instanceType Polymorphic Discriminator + * The protection stage. */ - instanceType: "SwitchProtectionJobDetails"; + protectionStage?: string; /** - * @member {{ [propertyName: string]: string }} [affectedObjectDetails] The - * affected object properties like source server, source cloud, target - * server, target cloud etc. based on the workflow object details. + * The virtual machine Id. */ - affectedObjectDetails?: { [propertyName: string]: string }; + vmId?: string; /** - * @member {string} [newReplicationProtectedItemId] ARM Id of the new - * replication protected item. + * The protection state for the vm. */ - newReplicationProtectedItemId?: string; -} - -/** - * @interface - * An interface representing TargetComputeSizeProperties. - * Represents applicable recovery vm sizes properties. - * - */ -export interface TargetComputeSizeProperties { + vmProtectionState?: string; /** - * @member {string} [name] Target compute size name. + * The protection state description for the vm. */ - name?: string; + vmProtectionStateDescription?: string; /** - * @member {string} [friendlyName] Target compute size display name. + * The resync details of the machine */ - friendlyName?: string; + resyncDetails?: InitialReplicationDetails; /** - * @member {number} [cpuCoresCount] The maximum cpu cores count supported by - * target compute size. + * The retention window start time. */ - cpuCoresCount?: number; + retentionWindowStart?: Date; /** - * @member {number} [memoryInGB] The maximum memory in GB supported by target - * compute size. + * The retention window end time. */ - memoryInGB?: number; + retentionWindowEnd?: Date; /** - * @member {number} [maxDataDiskCount] The maximum data disks count supported - * by target compute size. + * The compressed data change rate in MB. */ - maxDataDiskCount?: number; + compressedDataRateInMB?: number; /** - * @member {number} [maxNicsCount] The maximum Nics count supported by target - * compute size. + * The uncompressed data change rate in MB. */ - maxNicsCount?: number; + uncompressedDataRateInMB?: number; /** - * @member {ComputeSizeErrorDetails[]} [errors] The reasons why the target - * compute size is not applicable for the protected item. + * The RPO in seconds. */ - errors?: ComputeSizeErrorDetails[]; + rpoInSeconds?: number; /** - * @member {string} [highIopsSupported] The value indicating whether the - * target compute size supports high Iops. + * The list of protected disks. */ - highIopsSupported?: string; -} - -/** - * @interface - * An interface representing TargetComputeSize. - * Represents applicable recovery vm sizes. - * - */ -export interface TargetComputeSize { + protectedDisks?: InMageProtectedDiskDetails[]; /** - * @member {string} [id] The Id. + * The source IP address. */ - id?: string; + ipAddress?: string; /** - * @member {string} [name] The name. + * The last heartbeat received from the source server. */ - name?: string; + lastHeartbeat?: Date; /** - * @member {string} [type] The Type of the object. + * The process server Id. */ - type?: string; + processServerId?: string; /** - * @member {TargetComputeSizeProperties} [properties] The custom data. + * The master target Id. */ - properties?: TargetComputeSizeProperties; -} - -/** - * @interface - * An interface representing TestFailoverCleanupInputProperties. - * Input definition for test failover cleanup input properties. - * - */ -export interface TestFailoverCleanupInputProperties { + masterTargetId?: string; /** - * @member {string} [comments] Test failover cleanup comments. + * The collection of Consistency points. */ - comments?: string; -} - -/** - * @interface - * An interface representing TestFailoverCleanupInput. - * Input definition for test failover cleanup. - * - */ -export interface TestFailoverCleanupInput { + consistencyPoints?: { [propertyName: string]: Date } | { [propertyName: string]: string }; /** - * @member {TestFailoverCleanupInputProperties} properties Test failover - * cleanup input properties. + * A value indicating whether any disk is resized for this VM. */ - properties: TestFailoverCleanupInputProperties; -} - -/** - * @interface - * An interface representing TestFailoverInputProperties. - * Input definition for planned failover input properties. - * - */ -export interface TestFailoverInputProperties { + diskResized?: string; /** - * @member {string} [failoverDirection] Failover direction. + * A value indicating whether the source server requires a restart after update. */ - failoverDirection?: string; + rebootAfterUpdateStatus?: string; /** - * @member {string} [networkType] Network type to be used for test failover. + * The multi vm group Id, if any. */ - networkType?: string; + multiVmGroupId?: string; /** - * @member {string} [networkId] The id of the network to be used for test - * failover + * The multi vm group name, if any. */ - networkId?: string; + multiVmGroupName?: string; /** - * @member {string} [skipTestFailoverCleanup] A value indicating whether the - * test failover cleanup is to be skipped. + * A value indicating whether the multi vm sync is enabled or disabled. */ - skipTestFailoverCleanup?: string; + multiVmSyncStatus?: string; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The agent details. */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; -} - -/** - * @interface - * An interface representing TestFailoverInput. - * Input definition for planned failover. - * - */ -export interface TestFailoverInput { + agentDetails?: InMageAgentDetails; /** - * @member {TestFailoverInputProperties} [properties] Planned failover input - * properties + * The vCenter infrastructure Id. */ - properties?: TestFailoverInputProperties; -} - -/** - * @interface - * An interface representing TestFailoverJobDetails. - * This class represents the details for a test failover job. - * - */ -export interface TestFailoverJobDetails { + vCenterInfrastructureId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The infrastructure VM Id. */ - instanceType: "TestFailoverJobDetails"; + infrastructureVmId?: string; /** - * @member {{ [propertyName: string]: string }} [affectedObjectDetails] The - * affected object properties like source server, source cloud, target - * server, target cloud etc. based on the workflow object details. + * The PE Network details. */ - affectedObjectDetails?: { [propertyName: string]: string }; + vmNics?: VMNicDetails[]; /** - * @member {string} [testFailoverStatus] The test failover status. + * A value indicating the discovery type of the machine. */ - testFailoverStatus?: string; + discoveryType?: string; /** - * @member {string} [comments] The test failover comments. + * A value indicating the underlying Azure storage account. If the VM is not running in Azure, + * this value shall be set to null. */ - comments?: string; + azureStorageAccountId?: string; /** - * @member {string} [networkName] The test network name. + * The data stores of the on-premise machine Value can be list of strings that contain data store + * names */ - networkName?: string; + datastores?: string[]; /** - * @member {string} [networkFriendlyName] The test network friendly name. + * The validation errors of the on-premise machine Value can be list of validation errors */ - networkFriendlyName?: string; + validationErrors?: HealthError[]; /** - * @member {string} [networkType] The test network type (see - * TestFailoverInput enum for possible values). + * The last RPO calculated time. */ - networkType?: string; + lastRpoCalculatedTime?: Date; /** - * @member {FailoverReplicationProtectedItemDetails[]} [protectedItemDetails] - * The test VM details. + * The last update time received from on-prem components. */ - protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; + lastUpdateReceivedTime?: Date; + /** + * The replica id of the protected item. + */ + replicaId?: string; + /** + * The OS Version of the protected item. + */ + osVersion?: string; } /** - * @interface - * An interface representing UnplannedFailoverInputProperties. - * Input definition for planned failover input properties. - * + * InMageAzureV2 specific provider input. */ -export interface UnplannedFailoverInputProperties { +export interface InMageReprotectInput { /** - * @member {string} [failoverDirection] Failover direction. + * Polymorphic Discriminator */ - failoverDirection?: string; + instanceType: "InMage"; /** - * @member {string} [sourceSiteOperations] Source site operations status + * The Master Target Id. */ - sourceSiteOperations?: string; + masterTargetId: string; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The Process Server Id. */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; -} - -/** - * @interface - * An interface representing UnplannedFailoverInput. - * Input definition for planned failover. - * - */ -export interface UnplannedFailoverInput { + processServerId: string; /** - * @member {UnplannedFailoverInputProperties} [properties] Planned failover - * input properties + * The retention drive to use on the MT. */ - properties?: UnplannedFailoverInputProperties; -} - -/** - * @interface - * An interface representing UpdateMobilityServiceRequestProperties. - * The properties of an update mobility service request. - * - */ -export interface UpdateMobilityServiceRequestProperties { + retentionDrive: string; /** - * @member {string} [runAsAccountId] The CS run as account Id. + * The CS account Id. */ runAsAccountId?: string; -} - -/** - * @interface - * An interface representing UpdateMobilityServiceRequest. - * Request to update the mobility service on a protected item. - * - */ -export interface UpdateMobilityServiceRequest { /** - * @member {UpdateMobilityServiceRequestProperties} [properties] The - * properties of the update mobility service request. + * The target data store name. */ - properties?: UpdateMobilityServiceRequestProperties; -} - -/** - * @interface - * An interface representing UpdateNetworkMappingInputProperties. - * Common input details for network mapping operation. - * - */ -export interface UpdateNetworkMappingInputProperties { + datastoreName?: string; /** - * @member {string} [recoveryFabricName] Recovery fabric name. + * The enable disk exclusion input. */ - recoveryFabricName?: string; + diskExclusionInput?: InMageDiskExclusionInput; /** - * @member {string} [recoveryNetworkId] Recovery network Id. + * The Policy Id. */ - recoveryNetworkId?: string; + profileId: string; /** - * @member {FabricSpecificUpdateNetworkMappingInputUnion} - * [fabricSpecificDetails] Fabrics specific input network Id. + * The disks to include list. */ - fabricSpecificDetails?: FabricSpecificUpdateNetworkMappingInputUnion; + disksToInclude?: string[]; } /** - * @interface - * An interface representing UpdateNetworkMappingInput. - * Update network mapping input. - * + * Provider specific input for InMage test failover. */ -export interface UpdateNetworkMappingInput { +export interface InMageTestFailoverInput { /** - * @member {UpdateNetworkMappingInputProperties} [properties] The input - * properties needed to update network mapping. + * Polymorphic Discriminator */ - properties?: UpdateNetworkMappingInputProperties; -} - -/** - * @interface - * An interface representing UpdatePolicyInputProperties. - * Policy update properties. - * - */ -export interface UpdatePolicyInputProperties { + instanceType: "InMage"; /** - * @member {PolicyProviderSpecificInputUnion} [replicationProviderSettings] - * The ReplicationProviderSettings. + * The recovery point type. Values from LatestTime, LatestTag or Custom. In the case of custom, + * the recovery point provided by RecoveryPointId will be used. In the other two cases, recovery + * point id will be ignored. Possible values include: 'LatestTime', 'LatestTag', 'Custom' */ - replicationProviderSettings?: PolicyProviderSpecificInputUnion; -} - -/** - * @interface - * An interface representing UpdatePolicyInput. - * Update policy input. - * - */ -export interface UpdatePolicyInput { + recoveryPointType?: RecoveryPointType; /** - * @member {UpdatePolicyInputProperties} [properties] The - * ReplicationProviderSettings. + * The recovery point id to be passed to test failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ - properties?: UpdatePolicyInputProperties; + recoveryPointId?: string; } /** - * @interface - * An interface representing UpdateProtectionContainerMappingInputProperties. - * Container pairing update input. - * + * Provider specific input for InMage unplanned failover. */ -export interface UpdateProtectionContainerMappingInputProperties { +export interface InMageUnplannedFailoverInput { /** - * @member {ReplicationProviderSpecificUpdateContainerMappingInputUnion} - * [providerSpecificInput] Provider specific input for updating protection - * container mapping. + * Polymorphic Discriminator */ - providerSpecificInput?: ReplicationProviderSpecificUpdateContainerMappingInputUnion; -} - -/** - * @interface - * An interface representing UpdateProtectionContainerMappingInput. - * Container pairing update input. - * - */ -export interface UpdateProtectionContainerMappingInput { + instanceType: "InMage"; /** - * @member {UpdateProtectionContainerMappingInputProperties} [properties] - * Update protection container mapping input properties. + * The recovery point type. Values from LatestTime, LatestTag or Custom. In the case of custom, + * the recovery point provided by RecoveryPointId will be used. In the other two cases, recovery + * point id will be ignored. Possible values include: 'LatestTime', 'LatestTag', 'Custom' */ - properties?: UpdateProtectionContainerMappingInputProperties; + recoveryPointType?: RecoveryPointType; + /** + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. + */ + recoveryPointId?: string; } /** - * @interface - * An interface representing UpdateRecoveryPlanInputProperties. - * Recovery plan updation properties. - * + * Job custom data details. */ -export interface UpdateRecoveryPlanInputProperties { +export interface JobProperties { /** - * @member {RecoveryPlanGroup[]} [groups] The recovery plan groups. + * The activity id. */ - groups?: RecoveryPlanGroup[]; -} - -/** - * @interface - * An interface representing UpdateRecoveryPlanInput. - * Update recovery plan input class. - * - */ -export interface UpdateRecoveryPlanInput { + activityId?: string; /** - * @member {UpdateRecoveryPlanInputProperties} [properties] Recovery plan - * update properties. + * The ScenarioName. */ - properties?: UpdateRecoveryPlanInputProperties; -} - -/** - * @interface - * An interface representing VMNicInputDetails. - * Hyper V VM network input details. - * - */ -export interface VMNicInputDetails { + scenarioName?: string; /** - * @member {string} [nicId] The nic Id. + * The DisplayName. */ - nicId?: string; + friendlyName?: string; /** - * @member {string} [recoveryVMSubnetName] Recovery VM subnet name. + * The status of the Job. It is one of these values - NotStarted, InProgress, Succeeded, Failed, + * Cancelled, Suspended or Other. */ - recoveryVMSubnetName?: string; + state?: string; /** - * @member {string} [replicaNicStaticIPAddress] Replica nic static IP - * address. + * The description of the state of the Job. For e.g. - For Succeeded state, description can be + * Completed, PartiallySucceeded, CompletedWithInformation or Skipped. */ - replicaNicStaticIPAddress?: string; + stateDescription?: string; /** - * @member {string} [selectionType] Selection type for failover. + * The tasks. */ - selectionType?: string; + tasks?: ASRTask[]; /** - * @member {boolean} [enableAcceleratedNetworkingOnRecovery] Whether the NIC - * has accerated networking enabled. + * The errors. */ - enableAcceleratedNetworkingOnRecovery?: boolean; + errors?: JobErrorDetails[]; + /** + * The start time. + */ + startTime?: Date; + /** + * The end time. + */ + endTime?: Date; + /** + * The Allowed action the job. + */ + allowedActions?: string[]; + /** + * The affected Object Id. + */ + targetObjectId?: string; + /** + * The name of the affected object. + */ + targetObjectName?: string; + /** + * The type of the affected object which is of + * {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} class. + */ + targetInstanceType?: string; + /** + * The custom job details like test failover job details. + */ + customDetails?: JobDetailsUnion; } /** - * @interface - * An interface representing UpdateReplicationProtectedItemInputProperties. - * Update protected item input properties. - * + * Job details. */ -export interface UpdateReplicationProtectedItemInputProperties { +export interface Job extends Resource { /** - * @member {string} [recoveryAzureVMName] Target azure VM name given by the - * user. + * The custom data. */ - recoveryAzureVMName?: string; + properties?: JobProperties; +} + +/** + * Query parameter to enumerate jobs. + */ +export interface JobQueryParameter { /** - * @member {string} [recoveryAzureVMSize] Target Azure Vm size. + * Date time to get jobs from. */ - recoveryAzureVMSize?: string; + startTime?: string; /** - * @member {string} [selectedRecoveryAzureNetworkId] Target Azure Network Id. + * Date time to get jobs up to. */ - selectedRecoveryAzureNetworkId?: string; + endTime?: string; /** - * @member {string} [selectedSourceNicId] The selected source nic Id which - * will be used as the primary nic during failover. + * The Id of the fabric to search jobs under. */ - selectedSourceNicId?: string; + fabricId?: string; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * The type of objects. */ - enableRdpOnTargetOption?: string; + affectedObjectTypes?: string; /** - * @member {VMNicInputDetails[]} [vmNics] The list of vm nic details. + * The states of the job to be filtered can be in. */ - vmNics?: VMNicInputDetails[]; + jobStatus?: string; +} + +/** + * Model class for event details of a job status event. + */ +export interface JobStatusEventDetails { /** - * @member {LicenseType} [licenseType] License type. Possible values include: - * 'NotSpecified', 'NoLicenseType', 'WindowsServer' + * Polymorphic Discriminator */ - licenseType?: LicenseType; + instanceType: "JobStatus"; /** - * @member {string} [recoveryAvailabilitySetId] The target availability set - * id. + * Job arm id for the event. */ - recoveryAvailabilitySetId?: string; + jobId?: string; /** - * @member {UpdateReplicationProtectedItemProviderInputUnion} - * [providerSpecificDetails] The provider specific input to update - * replication protected item. + * JobName for the Event. */ - providerSpecificDetails?: UpdateReplicationProtectedItemProviderInputUnion; + jobFriendlyName?: string; + /** + * JobStatus for the Event. + */ + jobStatus?: string; + /** + * AffectedObjectType for the event. + */ + affectedObjectType?: string; } /** - * @interface - * An interface representing UpdateReplicationProtectedItemInput. - * Update replication protected item input. - * + * This class represents a task which is actually a workflow so that one can navigate to its + * individual drill down. */ -export interface UpdateReplicationProtectedItemInput { +export interface JobTaskDetails { /** - * @member {UpdateReplicationProtectedItemInputProperties} [properties] - * Update replication protected item properties. + * Polymorphic Discriminator */ - properties?: UpdateReplicationProtectedItemInputProperties; + instanceType: "JobTaskDetails"; + /** + * The job entity. + */ + jobTask?: JobEntity; } /** - * @interface - * An interface representing UpdateVCenterRequestProperties. - * The properties of an update vCenter request. - * + * Logical Network Properties. */ -export interface UpdateVCenterRequestProperties { +export interface LogicalNetworkProperties { /** - * @member {string} [friendlyName] The friendly name of the vCenter. + * The Friendly Name. */ friendlyName?: string; /** - * @member {string} [ipAddress] The IP address of the vCenter to be - * discovered. + * A value indicating whether Network Virtualization is enabled for the logical network. */ - ipAddress?: string; + networkVirtualizationStatus?: string; /** - * @member {string} [processServerId] The process server Id from where the - * update can be orchestrated. + * A value indicating whether logical network is used as private test network by test failover. */ - processServerId?: string; + logicalNetworkUsage?: string; /** - * @member {string} [port] The port number for discovery. + * A value indicating whether logical network definitions are isolated. */ - port?: string; + logicalNetworkDefinitionsStatus?: string; +} + +/** + * Logical network data model. + */ +export interface LogicalNetwork extends Resource { /** - * @member {string} [runAsAccountId] The CS account Id which has priviliges - * to update the vCenter. + * The Logical Network Properties. */ - runAsAccountId?: string; + properties?: LogicalNetworkProperties; } /** - * @interface - * An interface representing UpdateVCenterRequest. - * Input required to update vCenter. - * + * This class represents the manual action task details. */ -export interface UpdateVCenterRequest { +export interface ManualActionTaskDetails { /** - * @member {UpdateVCenterRequestProperties} [properties] The update VCenter - * Request Properties. + * Polymorphic Discriminator */ - properties?: UpdateVCenterRequestProperties; + instanceType: "ManualActionTaskDetails"; + /** + * The name. + */ + name?: string; + /** + * The instructions. + */ + instructions?: string; + /** + * The observation. + */ + observation?: string; } /** - * @interface - * An interface representing VaultHealthProperties. - * class to define the health summary of the Vault. - * + * The retention details of the MT. */ -export interface VaultHealthProperties { +export interface RetentionVolume { /** - * @member {HealthError[]} [vaultErrors] The list of errors on the vault. + * The volume name. */ - vaultErrors?: HealthError[]; + volumeName?: string; /** - * @member {ResourceHealthSummary} [protectedItemsHealth] The list of the - * health detail of the protected items in the vault. + * The volume capacity. */ - protectedItemsHealth?: ResourceHealthSummary; + capacityInBytes?: number; /** - * @member {ResourceHealthSummary} [fabricsHealth] The list of the health - * detail of the fabrics in the vault. + * The free space available in this volume. */ - fabricsHealth?: ResourceHealthSummary; + freeSpaceInBytes?: number; /** - * @member {ResourceHealthSummary} [containersHealth] The list of the health - * detail of the containers in the vault. + * The threshold percentage. */ - containersHealth?: ResourceHealthSummary; + thresholdPercentage?: number; } /** - * @interface - * An interface representing VaultHealthDetails. - * Vault health details definition. - * - * @extends Resource + * Version related details. */ -export interface VaultHealthDetails extends Resource { +export interface VersionDetails { /** - * @member {VaultHealthProperties} [properties] The vault health related - * data. + * The agent version. */ - properties?: VaultHealthProperties; + version?: string; + /** + * Version expiry date. + */ + expiryDate?: Date; + /** + * A value indicating whether security update required. Possible values include: 'Supported', + * 'NotSupported', 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' + */ + status?: AgentVersionStatus; } /** - * @interface - * An interface representing VCenterProperties. - * vCenter properties. - * + * Details of a Master Target Server. */ -export interface VCenterProperties { +export interface MasterTargetServer { /** - * @member {string} [friendlyName] Friendly name of the vCenter. + * The server Id. */ - friendlyName?: string; + id?: string; /** - * @member {string} [internalId] VCenter internal ID. + * The IP address of the server. */ - internalId?: string; + ipAddress?: string; /** - * @member {Date} [lastHeartbeat] The time when the last heartbeat was - * reveived by vCenter. + * The server name. */ - lastHeartbeat?: Date; + name?: string; /** - * @member {string} [discoveryStatus] The VCenter discovery status. + * The OS type of the server. */ - discoveryStatus?: string; + osType?: string; /** - * @member {string} [processServerId] The process server Id. + * The version of the scout component on the server. */ - processServerId?: string; + agentVersion?: string; /** - * @member {string} [ipAddress] The IP address of the vCenter. + * The last heartbeat received from the server. */ - ipAddress?: string; + lastHeartbeat?: Date; /** - * @member {string} [infrastructureId] The infrastructure Id of vCenter. + * Version status */ - infrastructureId?: string; + versionStatus?: string; /** - * @member {string} [port] The port number for discovery. + * The retention volumes of Master target Server. */ - port?: string; + retentionVolumes?: RetentionVolume[]; /** - * @member {string} [runAsAccountId] The account Id which has privileges to - * discover the vCenter. + * The list of data stores in the fabric. */ - runAsAccountId?: string; + dataStores?: DataStore[]; /** - * @member {string} [fabricArmResourceName] The ARM resource name of the - * fabric containing this VCenter. + * Validation errors. */ - fabricArmResourceName?: string; + validationErrors?: HealthError[]; /** - * @member {HealthError[]} [healthErrors] The health errors for this VCenter. + * Health errors. */ healthErrors?: HealthError[]; -} - -/** - * @interface - * An interface representing VCenter. - * vCenter definition. - * - * @extends Resource - */ -export interface VCenter extends Resource { /** - * @member {VCenterProperties} [properties] VCenter related data. + * Disk count of the master target. */ - properties?: VCenterProperties; -} - -/** - * @interface - * An interface representing VirtualMachineTaskDetails. - * This class represents the virtual machine task details. - * - */ -export interface VirtualMachineTaskDetails { + diskCount?: number; /** - * @member {string} instanceType Polymorphic Discriminator + * OS Version of the master target. */ - instanceType: "VirtualMachineTaskDetails"; + osVersion?: string; /** - * @member {string} [skippedReason] The skipped reason. + * Agent expiry date. */ - skippedReason?: string; + agentExpiryDate?: Date; /** - * @member {string} [skippedReasonString] The skipped reason string. + * MARS agent version. */ - skippedReasonString?: string; + marsAgentVersion?: string; /** - * @member {JobEntity} [jobTask] The job entity. + * MARS agent expiry date. */ - jobTask?: JobEntity; + marsAgentExpiryDate?: Date; + /** + * Agent version details. + */ + agentVersionDetails?: VersionDetails; + /** + * Mars agent version details. + */ + marsAgentVersionDetails?: VersionDetails; } /** - * @interface - * An interface representing VmmDetails. - * VMM fabric specific details. - * + * Contains the possible cases for MigrateProviderSpecificInput. */ -export interface VmmDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "VMM"; -} +export type MigrateProviderSpecificInputUnion = MigrateProviderSpecificInput | VMwareCbtMigrateInput; /** - * @interface - * An interface representing VmmToAzureCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to Vmm to Azure - * Network mapping. - * + * Migrate provider specific input. */ -export interface VmmToAzureCreateNetworkMappingInput { +export interface MigrateProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmmToAzure"; + instanceType: "MigrateProviderSpecificInput"; } /** - * @interface - * An interface representing VmmToAzureNetworkMappingSettings. - * E2A Network Mapping fabric specific settings. - * + * Migrate input properties. */ -export interface VmmToAzureNetworkMappingSettings { +export interface MigrateInputProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The provider specific details. */ - instanceType: "VmmToAzure"; + providerSpecificDetails: MigrateProviderSpecificInputUnion; } /** - * @interface - * An interface representing VmmToAzureUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to azure. - * + * Input for migrate. */ -export interface VmmToAzureUpdateNetworkMappingInput { +export interface MigrateInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Migrate input properties. */ - instanceType: "VmmToAzure"; + properties: MigrateInputProperties; } /** - * @interface - * An interface representing VmmToVmmCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to vmm to vmm - * Network mapping. - * + * Contains the possible cases for MigrationProviderSpecificSettings. */ -export interface VmmToVmmCreateNetworkMappingInput { +export type MigrationProviderSpecificSettingsUnion = MigrationProviderSpecificSettings | VMwareCbtMigrationDetails; + +/** + * Migration provider specific settings. + */ +export interface MigrationProviderSpecificSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmmToVmm"; + instanceType: "MigrationProviderSpecificSettings"; } /** - * @interface - * An interface representing VmmToVmmNetworkMappingSettings. - * E2E Network Mapping fabric specific settings. - * + * Migration item properties. */ -export interface VmmToVmmNetworkMappingSettings { +export interface MigrationItemProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The on-premise virtual machine name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "VmmToVmm"; -} - -/** - * @interface - * An interface representing VmmToVmmUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to vmm. - * - */ -export interface VmmToVmmUpdateNetworkMappingInput { + readonly machineName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The ARM Id of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "VmmToVmm"; -} - -/** - * @interface - * An interface representing VmmVirtualMachineDetails. - * VMM fabric provider specific VM settings. - * - */ -export interface VmmVirtualMachineDetails { + readonly policyId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The name of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "VmmVirtualMachine"; + readonly policyFriendlyName?: string; /** - * @member {string} [sourceItemId] The source id of the object. + * The recovery services provider ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceItemId?: string; + readonly recoveryServicesProviderId?: string; /** - * @member {string} [generation] The id of the object in fabric. + * The migration status. Possible values include: 'None', 'EnableMigrationInProgress', + * 'EnableMigrationFailed', 'DisableMigrationInProgress', 'DisableMigrationFailed', + * 'InitialSeedingInProgress', 'InitialSeedingFailed', 'Replicating', 'MigrationInProgress', + * 'MigrationSucceeded', 'MigrationFailed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - generation?: string; + readonly migrationState?: MigrationState; /** - * @member {OSDetails} [osDetails] The Last replication time. + * The migration state description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osDetails?: OSDetails; + readonly migrationStateDescription?: string; /** - * @member {DiskDetails[]} [diskDetails] The Last successful failover time. + * The test migrate state. Possible values include: 'None', 'TestMigrationInProgress', + * 'TestMigrationSucceeded', 'TestMigrationFailed', 'TestMigrationCleanupInProgress' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - diskDetails?: DiskDetails[]; + readonly testMigrateState?: TestMigrationState; /** - * @member {PresenceStatus} [hasPhysicalDisk] A value indicating whether the - * VM has a physical disk attached. String value of - * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', - * 'Present', 'NotPresent' + * The test migrate state description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hasPhysicalDisk?: PresenceStatus; + readonly testMigrateStateDescription?: string; /** - * @member {PresenceStatus} [hasFibreChannelAdapter] A value indicating - * whether the VM has a fibre channel adapter attached. String value of - * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', - * 'Present', 'NotPresent' + * The consolidated health. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hasFibreChannelAdapter?: PresenceStatus; + readonly health?: string; /** - * @member {PresenceStatus} [hasSharedVhd] A value indicating whether the VM - * has a shared VHD attached. String value of - * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', - * 'Present', 'NotPresent' + * The list of health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hasSharedVhd?: PresenceStatus; -} - -/** - * @interface - * An interface representing VmNicUpdatesTaskDetails. - * This class represents the vm NicUpdates task details. - * - */ -export interface VmNicUpdatesTaskDetails { + readonly healthErrors?: HealthError[]; /** - * @member {string} instanceType Polymorphic Discriminator + * The allowed operations on the migration item, based on the current migration state of the + * item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "VmNicUpdatesTaskDetails"; + readonly allowedOperations?: MigrationItemOperation[]; /** - * @member {string} [vmId] Virtual machine Id. + * The current job details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmId?: string; + readonly currentJob?: CurrentJobDetails; /** - * @member {string} [nicId] Nic Id. + * The migration provider custom settings. */ - nicId?: string; + providerSpecificDetails?: MigrationProviderSpecificSettingsUnion; +} + +/** + * Migration item. + */ +export interface MigrationItem extends Resource { /** - * @member {string} [name] Name of the Nic. + * The migration item properties. */ - name?: string; + properties?: MigrationItemProperties; } /** - * @interface - * An interface representing VMwareCbtPolicyCreationInput. - * VMware Cbt Policy creation input. - * + * Query parameter to enumerate migration items. */ -export interface VMwareCbtPolicyCreationInput { +export interface MigrationItemsQueryParameter { /** - * @member {string} instanceType Polymorphic Discriminator + * The source fabric name filter. */ - instanceType: "VMwareCbt"; + sourceFabricName?: string; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The replication provider type. */ - recoveryPointHistory?: number; + instanceType?: string; +} + +/** + * Migration item recovery point properties. + */ +export interface MigrationRecoveryPointProperties { /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency (in minutes). + * The recovery point time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - crashConsistentFrequencyInMinutes?: number; + readonly recoveryPointTime?: Date; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency (in minutes). + * The recovery point type. Possible values include: 'NotSpecified', 'ApplicationConsistent', + * 'CrashConsistent' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - appConsistentFrequencyInMinutes?: number; + readonly recoveryPointType?: MigrationRecoveryPointType; } /** - * @interface - * An interface representing VmwareCbtPolicyDetails. - * VMware Cbt specific policy details. - * + * Recovery point for a migration item. */ -export interface VmwareCbtPolicyDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "VMwareCbt"; +export interface MigrationRecoveryPoint extends Resource { /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * Recovery point properties. */ - recoveryPointThresholdInMinutes?: number; + properties?: MigrationRecoveryPointProperties; +} + +/** + * The Mobility Service update details. + */ +export interface MobilityServiceUpdate { /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The version of the latest update. */ - recoveryPointHistory?: number; + version?: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The reboot status of the update - whether it is required or not. */ - appConsistentFrequencyInMinutes?: number; + rebootStatus?: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The OS type. */ - crashConsistentFrequencyInMinutes?: number; + osType?: string; } /** - * @interface - * An interface representing VMwareDetails. - * Store the fabric details specific to the VMware fabric. - * + * Subnets of the network. */ -export interface VMwareDetails { +export interface Subnet { /** - * @member {string} instanceType Polymorphic Discriminator + * The subnet name. */ - instanceType: "VMware"; + name?: string; /** - * @member {ProcessServer[]} [processServers] The list of Process Servers - * associated with the fabric. + * The subnet friendly name. */ - processServers?: ProcessServer[]; + friendlyName?: string; /** - * @member {MasterTargetServer[]} [masterTargetServers] The list of Master - * Target servers associated with the fabric. + * The list of addresses for the subnet. */ - masterTargetServers?: MasterTargetServer[]; + addressList?: string[]; +} + +/** + * Network Properties + */ +export interface NetworkProperties { /** - * @member {RunAsAccount[]} [runAsAccounts] The list of run as accounts - * created on the server. + * The Fabric Type. */ - runAsAccounts?: RunAsAccount[]; + fabricType?: string; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this CS. + * The List of subnets. */ - replicationPairCount?: string; + subnets?: Subnet[]; /** - * @member {string} [processServerCount] The number of process servers. + * The Friendly Name. */ - processServerCount?: string; + friendlyName?: string; /** - * @member {string} [agentCount] The number of source and target servers - * configured to talk to this CS. + * The Network Type. */ - agentCount?: string; + networkType?: string; +} + +/** + * Network model. + */ +export interface Network extends Resource { /** - * @member {string} [protectedServers] The number of protected servers. + * The Network Properties. */ - protectedServers?: string; + properties?: NetworkProperties; +} + +/** + * Network Mapping Properties. + */ +export interface NetworkMappingProperties { /** - * @member {string} [systemLoad] The percentage of the system load. + * The pairing state for network mapping. */ - systemLoad?: string; + state?: string; /** - * @member {string} [systemLoadStatus] The system load status. + * The primary network friendly name. */ - systemLoadStatus?: string; + primaryNetworkFriendlyName?: string; /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * The primary network id for network mapping. */ - cpuLoad?: string; + primaryNetworkId?: string; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * The primary fabric friendly name. */ - cpuLoadStatus?: string; + primaryFabricFriendlyName?: string; /** - * @member {number} [totalMemoryInBytes] The total memory. + * The recovery network friendly name. */ - totalMemoryInBytes?: number; + recoveryNetworkFriendlyName?: string; /** - * @member {number} [availableMemoryInBytes] The available memory. + * The recovery network id for network mapping. */ - availableMemoryInBytes?: number; + recoveryNetworkId?: string; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * The recovery fabric ARM id. */ - memoryUsageStatus?: string; + recoveryFabricArmId?: string; /** - * @member {number} [totalSpaceInBytes] The total space. + * The recovery fabric friendly name. */ - totalSpaceInBytes?: number; + recoveryFabricFriendlyName?: string; /** - * @member {number} [availableSpaceInBytes] The available space. + * The fabric specific settings. */ - availableSpaceInBytes?: number; + fabricSpecificSettings?: NetworkMappingFabricSpecificSettingsUnion; +} + +/** + * Network Mapping model. Ideally it should have been possible to inherit this class from prev + * version in InheritedModels as long as there is no difference in structure or method signature. + * Since there were no base Models for certain fields and methods viz NetworkMappingProperties and + * Load with required return type, the class has been introduced in its entirety with references to + * base models to facilitate extensions in subsequent versions. + */ +export interface NetworkMapping extends Resource { /** - * @member {string} [spaceUsageStatus] The space usage status. + * The Network Mapping Properties. */ - spaceUsageStatus?: string; + properties?: NetworkMappingProperties; +} + +/** + * New Protection profile input. + */ +export interface NewProtectionProfile { /** - * @member {string} [webLoad] The web load. + * Polymorphic Discriminator */ - webLoad?: string; + resourceType: "New"; /** - * @member {string} [webLoadStatus] The web load status. + * The protection profile input. */ - webLoadStatus?: string; + policyName: string; /** - * @member {string} [databaseServerLoad] The database server load. + * The duration in minutes until which the recovery points need to be stored. */ - databaseServerLoad?: string; + recoveryPointHistory?: number; /** - * @member {string} [databaseServerLoadStatus] The database server load - * status. + * The crash consistent snapshot frequency (in minutes). */ - databaseServerLoadStatus?: string; + crashConsistentFrequencyInMinutes?: number; /** - * @member {string} [csServiceStatus] The CS service status. + * The app consistent snapshot frequency (in minutes). */ - csServiceStatus?: string; + appConsistentFrequencyInMinutes?: number; /** - * @member {string} [ipAddress] The IP address. + * A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or + * 'Disabled'. Possible values include: 'Enable', 'Disable' */ - ipAddress?: string; + multiVmSyncStatus: SetMultiVmSyncStatus; +} + +/** + * Recovery virtual network input to create new virtual network from given source network. + */ +export interface NewRecoveryVirtualNetwork { /** - * @member {string} [agentVersion] The agent Version. + * Polymorphic Discriminator */ - agentVersion?: string; + resourceType: "New"; /** - * @member {string} [hostName] The host name. + * The name of the resource group to be used to create the recovery virtual network. If absent, + * target network would be created in the same resource group as target VM. */ - hostName?: string; + recoveryVirtualNetworkResourceGroupName?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from CS server. + * The recovery virtual network name. */ - lastHeartbeat?: Date; + recoveryVirtualNetworkName?: string; +} + +/** + * Operations discovery class. + */ +export interface OperationsDiscovery { /** - * @member {string} [versionStatus] Version status + * Name of the API. The name of the operation being performed on this particular object. It + * should match the action name that appears in RBAC / the event service. Examples of operations + * include: * Microsoft.Compute/virtualMachine/capture/action * + * Microsoft.Compute/virtualMachine/restart/action * Microsoft.Compute/virtualMachine/write * + * Microsoft.Compute/virtualMachine/read * Microsoft.Compute/virtualMachine/delete Each action + * should include, in order: (1) Resource Provider Namespace (2) Type hierarchy for which the + * action applies (e.g. server/databases for a SQL Azure database) (3) Read, Write, Action or + * Delete indicating which type applies. If it is a PUT/PATCH on a collection or named value, + * Write should be used. If it is a GET, Read should be used. If it is a DELETE, Delete should be + * used. If it is a POST, Action should be used. As a note: all resource providers would need to + * include the "{Resource Provider Namespace}/register/action" operation in their response. This + * API is used to register for their service, and should include details about the operation + * (e.g. a localized name for the resource provider + any special considerations like PII + * release) */ - versionStatus?: string; + name?: string; /** - * @member {Date} [sslCertExpiryDate] CS SSL cert expiry date. + * Object type */ - sslCertExpiryDate?: Date; + display?: Display; /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * Origin. The intended executor of the operation; governs the display of the operation in the + * RBAC UX and the audit logs UX. Default value is "user,system" */ - sslCertExpiryRemainingDays?: number; + origin?: string; /** - * @member {string} [psTemplateVersion] PS template version. + * Properties. Reserved for future use. */ - psTemplateVersion?: string; + properties?: any; +} + +/** + * Wrapper model for OSVersion to include version and service pack info. + */ +export interface OSVersionWrapper { /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The version. */ - agentExpiryDate?: Date; + version?: string; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * Service pack. */ - agentVersionDetails?: VersionDetails; + servicePack?: string; } /** - * @interface - * An interface representing VMwareV2FabricCreationInput. - * Fabric provider specific settings. - * + * Input definition for planned failover input properties. */ -export interface VMwareV2FabricCreationInput { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "VMwareV2"; +export interface PlannedFailoverInputProperties { /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * Failover direction. */ - keyVaultUrl?: string; + failoverDirection?: string; /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * Provider specific settings */ - keyVaultResourceArmId?: string; + providerSpecificDetails?: ProviderSpecificFailoverInputUnion; } /** - * @interface - * An interface representing VMwareV2FabricSpecificDetails. - * VMwareV2 fabric Specific Details. - * + * Input definition for planned failover. */ -export interface VMwareV2FabricSpecificDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "VMwareV2"; +export interface PlannedFailoverInput { /** - * @member {string} [srsServiceEndpoint] The endpoint for making requests to - * the SRS Service. + * Planned failover input properties */ - srsServiceEndpoint?: string; + properties?: PlannedFailoverInputProperties; +} + +/** + * Protection profile custom data details. + */ +export interface PolicyProperties { /** - * @member {string} [rcmServiceEndpoint] The endpoint for making requests to - * the RCM Service. + * The FriendlyName. */ - rcmServiceEndpoint?: string; + friendlyName?: string; /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * The ReplicationChannelSetting. */ - keyVaultUrl?: string; + providerSpecificDetails?: PolicyProviderSpecificDetailsUnion; +} + +/** + * Protection profile details. + */ +export interface Policy extends Resource { /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * The custom data. */ - keyVaultResourceArmId?: string; + properties?: PolicyProperties; } /** - * @interface - * An interface representing VMwareVirtualMachineDetails. - * VMware provider specific settings - * + * Details of the Process Server. */ -export interface VMwareVirtualMachineDetails { +export interface ProcessServer { /** - * @member {string} instanceType Polymorphic Discriminator + * The Process Server's friendly name. */ - instanceType: "VMwareVirtualMachine"; + friendlyName?: string; /** - * @member {string} [agentGeneratedId] The ID generated by the InMage agent - * after it gets installed on guest. This is the ID to be used during InMage - * CreateProtection. + * The Process Server Id. */ - agentGeneratedId?: string; + id?: string; /** - * @member {string} [agentInstalled] The value indicating if InMage scout - * agent is installed on guest. + * The IP address of the server. */ - agentInstalled?: string; + ipAddress?: string; /** - * @member {string} [osType] The OsType installed on VM. + * The OS type of the server. */ osType?: string; /** - * @member {string} [agentVersion] The agent version. + * The version of the scout component on the server. */ agentVersion?: string; /** - * @member {string} [ipAddress] The IP address. + * The last heartbeat received from the server. */ - ipAddress?: string; + lastHeartbeat?: Date; /** - * @member {string} [poweredOn] The value indicating whether VM is powered - * on. + * Version status */ - poweredOn?: string; + versionStatus?: string; /** - * @member {string} [vCenterInfrastructureId] The VCenter infrastructure Id. + * The list of the mobility service updates available on the Process Server. */ - vCenterInfrastructureId?: string; + mobilityServiceUpdates?: MobilityServiceUpdate[]; /** - * @member {string} [discoveryType] A value inidicating the discovery type of - * the machine. Value can be vCenter or physical. + * The agent generated Id. */ - discoveryType?: string; + hostId?: string; /** - * @member {InMageDiskDetails[]} [diskDetails] The disk details. + * The servers configured with this PS. */ - diskDetails?: InMageDiskDetails[]; + machineCount?: string; /** - * @member {HealthError[]} [validationErrors] The validation errors. + * The number of replication pairs configured in this PS. */ - validationErrors?: HealthError[]; -} - -/** - * @interface - * An interface representing ReplicationEventsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationEventsListOptionalParams extends msRest.RequestOptionsBase { + replicationPairCount?: string; /** - * @member {string} [filter] OData filter options. + * The percentage of the system load. */ - filter?: string; -} - -/** - * @interface - * An interface representing ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { + systemLoad?: string; /** - * @member {string} [filter] OData filter options. + * The system load status. */ - filter?: string; -} - -/** - * @interface - * An interface representing ReplicationProtectedItemsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationProtectedItemsListOptionalParams extends msRest.RequestOptionsBase { + systemLoadStatus?: string; /** - * @member {string} [skipToken] The pagination token. Possible values: - * "FabricId" or "FabricId_CloudId" or null + * The percentage of the CPU load. */ - skipToken?: string; + cpuLoad?: string; /** - * @member {string} [filter] OData filter options. + * The CPU load status. */ - filter?: string; -} - -/** - * @interface - * An interface representing ReplicationJobsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationJobsListOptionalParams extends msRest.RequestOptionsBase { + cpuLoadStatus?: string; /** - * @member {string} [filter] OData filter options. + * The total memory. */ - filter?: string; -} - -/** - * @interface - * An interface representing SiteRecoveryManagementClientOptions. - * @extends AzureServiceClientOptions - */ -export interface SiteRecoveryManagementClientOptions extends AzureServiceClientOptions { + totalMemoryInBytes?: number; /** - * @member {string} [baseUri] + * The available memory. */ - baseUri?: string; -} - - -/** - * @interface - * An interface representing the OperationsDiscoveryCollection. - * Collection of ClientDiscovery details. - * - * @extends Array - */ -export interface OperationsDiscoveryCollection extends Array { + availableMemoryInBytes?: number; /** - * @member {string} [nextLink] The value of next link. + * The memory usage status. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the AlertCollection. - * Collection of alerts. - * - * @extends Array - */ -export interface AlertCollection extends Array { + memoryUsageStatus?: string; /** - * @member {string} [nextLink] The value of next link. + * The total space. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the EventCollection. - * Collection of fabric details. - * - * @extends Array - */ -export interface EventCollection extends Array { + totalSpaceInBytes?: number; /** - * @member {string} [nextLink] The value of next link. + * The available space. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the FabricCollection. - * Collection of fabric details. - * - * @extends Array - */ -export interface FabricCollection extends Array { + availableSpaceInBytes?: number; /** - * @member {string} [nextLink] The value of next link. + * The space usage status. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the LogicalNetworkCollection. - * List of logical networks. - * - * @extends Array - */ -export interface LogicalNetworkCollection extends Array { + spaceUsageStatus?: string; /** - * @member {string} [nextLink] The value of next link. + * The PS service status. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the NetworkCollection. - * List of networks. - * - * @extends Array - */ -export interface NetworkCollection extends Array { + psServiceStatus?: string; /** - * @member {string} [nextLink] The value of next link. + * The PS SSL cert expiry date. */ - nextLink?: string; + sslCertExpiryDate?: Date; + /** + * CS SSL cert expiry date. + */ + sslCertExpiryRemainingDays?: number; + /** + * OS Version of the process server. Note: This will get populated if user has CS version greater + * than 9.12.0.0. + */ + osVersion?: string; + /** + * Health errors. + */ + healthErrors?: HealthError[]; + /** + * Agent expiry date. + */ + agentExpiryDate?: Date; + /** + * The agent version details. + */ + agentVersionDetails?: VersionDetails; + /** + * The health of Process Server. Possible values include: 'None', 'Normal', 'Warning', 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly health?: ProtectionHealth; + /** + * The process server stats refresh time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly psStatsRefreshTime?: Date; + /** + * The uploading pending data in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly throughputUploadPendingDataInBytes?: number; + /** + * The throughput in MBps. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly throughputInMBps?: number; + /** + * The throughput in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly throughputInBytes?: number; + /** + * The throughput status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly throughputStatus?: string; + /** + * The MARS communication status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly marsCommunicationStatus?: string; + /** + * The MARS registration status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly marsRegistrationStatus?: string; } /** - * @interface - * An interface representing the NetworkMappingCollection. - * List of network mappings. As with NetworkMapping, it should be possible to - * reuse a prev version of this class. It doesn't seem likely this class could - * be anything more than a slightly bespoke collection of NetworkMapping. Hence - * it makes sense to override Load with Base.NetworkMapping instead of existing - * CurrentVersion.NetworkMapping. - * - * @extends Array + * Replication protected item custom data details. */ -export interface NetworkMappingCollection extends Array { +export interface ProtectableItemProperties { /** - * @member {string} [nextLink] The value of next link. + * The name. */ - nextLink?: string; + friendlyName?: string; + /** + * The protection status. + */ + protectionStatus?: string; + /** + * The ARM resource of protected items. + */ + replicationProtectedItemId?: string; + /** + * The recovery provider ARM Id. + */ + recoveryServicesProviderId?: string; + /** + * The Current protection readiness errors. + */ + protectionReadinessErrors?: string[]; + /** + * The list of replication providers supported for the protectable item. + */ + supportedReplicationProviders?: string[]; + /** + * The Replication provider custom settings. + */ + customDetails?: ConfigurationSettingsUnion; } /** - * @interface - * An interface representing the ProtectionContainerCollection. - * Protection Container collection. - * - * @extends Array + * Replication protected item */ -export interface ProtectionContainerCollection extends Array { +export interface ProtectableItem extends Resource { /** - * @member {string} [nextLink] The value of next link. + * The custom data. */ - nextLink?: string; + properties?: ProtectableItemProperties; } /** - * @interface - * An interface representing the ProtectableItemCollection. - * Protectable item collection. - * - * @extends Array + * Query parameter to enumerate Protectable items. */ -export interface ProtectableItemCollection extends Array { +export interface ProtectableItemQueryParameter { /** - * @member {string} [nextLink] The value of next link. + * State of the Protectable item query filter. */ - nextLink?: string; + state?: string; } /** - * @interface - * An interface representing the ReplicationProtectedItemCollection. - * Replication protected item collection. - * - * @extends Array + * Query parameter to enumerate protected items. */ -export interface ReplicationProtectedItemCollection extends Array { +export interface ProtectedItemsQueryParameter { /** - * @member {string} [nextLink] The value of next link. + * The source fabric name filter. */ - nextLink?: string; + sourceFabricName?: string; + /** + * The recovery plan filter. + */ + recoveryPlanName?: string; + /** + * The vCenter name filter. + */ + vCenterName?: string; + /** + * The replication provider type. + */ + instanceType?: string; + /** + * Whether Multi VM group is auto created or specified by user. Possible values include: + * 'AutoCreated', 'UserSpecified' + */ + multiVmGroupCreateOption?: MultiVmGroupCreateOption; } /** - * @interface - * An interface representing the RecoveryPointCollection. - * Collection of recovery point details. - * - * @extends Array + * Base class for fabric specific details of container. */ -export interface RecoveryPointCollection extends Array { +export interface ProtectionContainerFabricSpecificDetails { /** - * @member {string} [nextLink] The value of next link. + * Gets the class type. Overridden in derived classes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; + readonly instanceType?: string; } /** - * @interface - * An interface representing the TargetComputeSizeCollection. - * Target compute size collection. - * - * @extends Array + * Protection profile custom data details. */ -export interface TargetComputeSizeCollection extends Array { +export interface ProtectionContainerProperties { /** - * @member {string} [nextLink] The value of next link. + * Fabric friendly name. */ - nextLink?: string; + fabricFriendlyName?: string; + /** + * The name. + */ + friendlyName?: string; + /** + * The fabric type. + */ + fabricType?: string; + /** + * Number of protected PEs + */ + protectedItemCount?: number; + /** + * The pairing status of this cloud. + */ + pairingStatus?: string; + /** + * The role of this cloud. + */ + role?: string; + /** + * Fabric specific details. + */ + fabricSpecificDetails?: ProtectionContainerFabricSpecificDetails; } /** - * @interface - * An interface representing the ProtectionContainerMappingCollection. - * Protection container mapping collection class. - * - * @extends Array + * Protection container details. */ -export interface ProtectionContainerMappingCollection extends Array { +export interface ProtectionContainer extends Resource { /** - * @member {string} [nextLink] Link to fetch rest of the data. + * The custom data. */ - nextLink?: string; + properties?: ProtectionContainerProperties; } /** - * @interface - * An interface representing the RecoveryServicesProviderCollection. - * Collection of providers. - * - * @extends Array + * Protection container mapping properties. */ -export interface RecoveryServicesProviderCollection extends Array { +export interface ProtectionContainerMappingProperties { /** - * @member {string} [nextLink] The value of next link. + * Paired protection container ARM ID. */ - nextLink?: string; + targetProtectionContainerId?: string; + /** + * Friendly name of paired container. + */ + targetProtectionContainerFriendlyName?: string; + /** + * Provider specific provider details. + */ + providerSpecificDetails?: ProtectionContainerMappingProviderSpecificDetailsUnion; + /** + * Health of pairing. + */ + health?: string; + /** + * Health error. + */ + healthErrorDetails?: HealthError[]; + /** + * Policy ARM Id. + */ + policyId?: string; + /** + * Association Status + */ + state?: string; + /** + * Friendly name of source protection container. + */ + sourceProtectionContainerFriendlyName?: string; + /** + * Friendly name of source fabric. + */ + sourceFabricFriendlyName?: string; + /** + * Friendly name of target fabric. + */ + targetFabricFriendlyName?: string; + /** + * Friendly name of replication policy. + */ + policyFriendlyName?: string; } /** - * @interface - * An interface representing the StorageClassificationCollection. - * Collection of storage details. - * - * @extends Array + * Protection container mapping object. */ -export interface StorageClassificationCollection extends Array { +export interface ProtectionContainerMapping extends Resource { /** - * @member {string} [nextLink] The value of next link. + * The custom data. */ - nextLink?: string; + properties?: ProtectionContainerMappingProperties; } /** - * @interface - * An interface representing the StorageClassificationMappingCollection. - * Collection of storage mapping details. - * - * @extends Array + * RCM based Azure migration specific policy details. */ -export interface StorageClassificationMappingCollection extends Array { +export interface RcmAzureMigrationPolicyDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "RcmAzureMigration"; + /** + * The recovery point threshold in minutes. + */ + recoveryPointThresholdInMinutes?: number; + /** + * The duration in minutes until which the recovery points need to be stored. + */ + recoveryPointHistory?: number; + /** + * The app consistent snapshot frequency in minutes. + */ + appConsistentFrequencyInMinutes?: number; + /** + * A value indicating whether multi-VM sync has to be enabled. Possible values include: + * 'Enabled', 'Disabled' + */ + multiVmSyncStatus?: MultiVmSyncStatus; + /** + * The crash consistent snapshot frequency in minutes. + */ + crashConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing the VCenterCollection. - * Collection of vCenter details. - * - * @extends Array + * Contains the possible cases for RecoveryPlanProviderSpecificDetails. */ -export interface VCenterCollection extends Array { - /** - * @member {string} [nextLink] The value of next link. - */ - nextLink?: string; -} +export type RecoveryPlanProviderSpecificDetailsUnion = RecoveryPlanProviderSpecificDetails | RecoveryPlanA2ADetails; /** - * @interface - * An interface representing the JobCollection. - * Collection of jobs. - * - * @extends Array + * Recovery plan provider specific details. */ -export interface JobCollection extends Array { +export interface RecoveryPlanProviderSpecificDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "RecoveryPlanProviderSpecificDetails"; } /** - * @interface - * An interface representing the PolicyCollection. - * Protection Profile Collection details. - * - * @extends Array + * Recovery plan custom details. */ -export interface PolicyCollection extends Array { +export interface RecoveryPlanProperties { /** - * @member {string} [nextLink] The value of next link. + * The friendly name. */ - nextLink?: string; + friendlyName?: string; + /** + * The primary fabric Id. + */ + primaryFabricId?: string; + /** + * The primary fabric friendly name. + */ + primaryFabricFriendlyName?: string; + /** + * The recovery fabric Id. + */ + recoveryFabricId?: string; + /** + * The recovery fabric friendly name. + */ + recoveryFabricFriendlyName?: string; + /** + * The failover deployment model. + */ + failoverDeploymentModel?: string; + /** + * The list of replication providers. + */ + replicationProviders?: string[]; + /** + * The list of allowed operations. + */ + allowedOperations?: string[]; + /** + * The start time of the last planned failover. + */ + lastPlannedFailoverTime?: Date; + /** + * The start time of the last unplanned failover. + */ + lastUnplannedFailoverTime?: Date; + /** + * The start time of the last test failover. + */ + lastTestFailoverTime?: Date; + /** + * The current scenario details. + */ + currentScenario?: CurrentScenarioDetails; + /** + * The recovery plan status. + */ + currentScenarioStatus?: string; + /** + * The recovery plan status description. + */ + currentScenarioStatusDescription?: string; + /** + * The recovery plan groups. + */ + groups?: RecoveryPlanGroup[]; + /** + * The provider id and provider specific details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly providerSpecificDetails?: RecoveryPlanProviderSpecificDetailsUnion[]; } /** - * @interface - * An interface representing the RecoveryPlanCollection. - * Recovery plan collection details. - * - * @extends Array + * Recovery plan details. */ -export interface RecoveryPlanCollection extends Array { +export interface RecoveryPlan extends Resource { /** - * @member {string} [nextLink] The value of next link. + * The custom details. */ - nextLink?: string; + properties?: RecoveryPlanProperties; } /** - * Defines values for AgentAutoUpdateStatus. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * Contains the possible cases for RecoveryPlanProviderSpecificFailoverInput. */ -export type AgentAutoUpdateStatus = 'Disabled' | 'Enabled'; +export type RecoveryPlanProviderSpecificFailoverInputUnion = RecoveryPlanProviderSpecificFailoverInput | RecoveryPlanA2AFailoverInput | RecoveryPlanHyperVReplicaAzureFailbackInput | RecoveryPlanHyperVReplicaAzureFailoverInput | RecoveryPlanInMageAzureV2FailoverInput | RecoveryPlanInMageFailoverInput | RecoveryPlanInMageRcmFailoverInput; /** - * Defines values for SetMultiVmSyncStatus. - * Possible values include: 'Enable', 'Disable' - * @readonly - * @enum {string} + * Recovery plan provider specific failover input base class. */ -export type SetMultiVmSyncStatus = 'Enable' | 'Disable'; +export interface RecoveryPlanProviderSpecificFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "RecoveryPlanProviderSpecificFailoverInput"; +} /** - * Defines values for RecoveryPointSyncType. - * Possible values include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' - * @readonly - * @enum {string} + * Recovery plan A2A failover input. */ -export type RecoveryPointSyncType = 'MultiVmSyncRecoveryPoint' | 'PerVmRecoveryPoint'; +export interface RecoveryPlanA2AFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * 'LatestCrashConsistent', 'LatestProcessed' + */ + recoveryPointType: A2ARpRecoveryPointType; + /** + * A value indicating whether to use recovery cloud service for TFO or not. + */ + cloudServiceCreationOption?: string; + /** + * A value indicating whether multi VM sync enabled VMs should use multi VM sync points for + * failover. Possible values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' + */ + multiVmSyncPointOption?: MultiVmSyncPointOption; +} /** - * Defines values for MultiVmGroupCreateOption. - * Possible values include: 'AutoCreated', 'UserSpecified' - * @readonly - * @enum {string} + * Recovery plan A2A specific details. */ -export type MultiVmGroupCreateOption = 'AutoCreated' | 'UserSpecified'; +export interface RecoveryPlanA2ADetails { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * The primary zone. + */ + primaryZone?: string; + /** + * The recovery zone. + */ + recoveryZone?: string; +} /** - * Defines values for FailoverDeploymentModel. - * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager' - * @readonly - * @enum {string} + * Recovery plan A2A input. */ -export type FailoverDeploymentModel = 'NotApplicable' | 'Classic' | 'ResourceManager'; +export interface RecoveryPlanA2AInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * The primary zone. + */ + primaryZone?: string; + /** + * The recovery zone. + */ + recoveryZone?: string; +} /** - * Defines values for RecoveryPlanGroupType. - * Possible values include: 'Shutdown', 'Boot', 'Failover' - * @readonly - * @enum {string} + * Recovery plan Automation runbook action details. */ -export type RecoveryPlanGroupType = 'Shutdown' | 'Boot' | 'Failover'; +export interface RecoveryPlanAutomationRunbookActionDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "AutomationRunbookActionDetails"; + /** + * The runbook ARM Id. + */ + runbookId?: string; + /** + * The runbook timeout. + */ + timeout?: string; + /** + * The fabric location. Possible values include: 'Primary', 'Recovery' + */ + fabricLocation: RecoveryPlanActionLocation; +} /** - * Defines values for ReplicationProtectedItemOperation. - * Possible values include: 'ReverseReplicate', 'Commit', 'PlannedFailover', 'UnplannedFailover', - * 'DisableProtection', 'TestFailover', 'TestFailoverCleanup', 'Failback', 'FinalizeFailback', - * 'ChangePit', 'RepairReplication', 'SwitchProtection', 'CompleteMigration' - * @readonly - * @enum {string} + * This class represents the recovery plan group task. */ -export type ReplicationProtectedItemOperation = 'ReverseReplicate' | 'Commit' | 'PlannedFailover' | 'UnplannedFailover' | 'DisableProtection' | 'TestFailover' | 'TestFailoverCleanup' | 'Failback' | 'FinalizeFailback' | 'ChangePit' | 'RepairReplication' | 'SwitchProtection' | 'CompleteMigration'; +export interface RecoveryPlanGroupTaskDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "RecoveryPlanGroupTaskDetails"; + /** + * The child tasks. + */ + childTasks?: ASRTask[]; + /** + * The name. + */ + name?: string; + /** + * The group identifier. + */ + groupId?: string; + /** + * The group type. + */ + rpGroupType?: string; +} /** - * Defines values for PossibleOperationsDirections. - * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' - * @readonly - * @enum {string} + * Recovery plan HVR Azure failback input. */ -export type PossibleOperationsDirections = 'PrimaryToRecovery' | 'RecoveryToPrimary'; +export interface RecoveryPlanHyperVReplicaAzureFailbackInput { + /** + * Polymorphic Discriminator + */ + instanceType: "HyperVReplicaAzureFailback"; + /** + * The data sync option. Possible values include: 'ForDownTime', 'ForSynchronization' + */ + dataSyncOption: DataSyncStatus; + /** + * The ALR option. Possible values include: 'CreateVmIfNotFound', 'NoAction' + */ + recoveryVmCreationOption: AlternateLocationRecoveryOption; +} /** - * Defines values for DisableProtectionReason. - * Possible values include: 'NotSpecified', 'MigrationComplete' - * @readonly - * @enum {string} + * Recovery plan HVR Azure failover input. */ -export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; +export interface RecoveryPlanHyperVReplicaAzureFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "HyperVReplicaAzure"; + /** + * The vault location. + */ + vaultLocation?: string; + /** + * The primary KEK certificate PFX. + */ + primaryKekCertificatePfx?: string; + /** + * The secondary KEK certificate PFX. + */ + secondaryKekCertificatePfx?: string; + /** + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * 'LatestProcessed' + */ + recoveryPointType?: HyperVReplicaAzureRpRecoveryPointType; +} /** - * Defines values for HealthErrorCategory. - * Possible values include: 'None', 'Replication', 'TestFailover', 'Configuration', - * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' - * @readonly - * @enum {string} + * Recovery plan InMageAzureV2 failover input. */ -export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdate'; +export interface RecoveryPlanInMageAzureV2FailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "InMageAzureV2"; + /** + * The vault location. + */ + vaultLocation: string; + /** + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * 'LatestCrashConsistent', 'LatestProcessed' + */ + recoveryPointType: InMageV2RpRecoveryPointType; + /** + * A value indicating whether multi VM sync enabled VMs should use multi VM sync points for + * failover. + */ + useMultiVmSyncPoint?: string; +} /** - * Defines values for Severity. - * Possible values include: 'NONE', 'Warning', 'Error', 'Info' - * @readonly - * @enum {string} + * Recovery plan InMage failover input. */ -export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; +export interface RecoveryPlanInMageFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "InMage"; + /** + * The recovery point type. Possible values include: 'LatestTime', 'LatestTag', 'Custom' + */ + recoveryPointType: RpInMageRecoveryPointType; +} /** - * Defines values for PresenceStatus. - * Possible values include: 'Unknown', 'Present', 'NotPresent' - * @readonly - * @enum {string} + * Recovery plan InMageRcm failover input. */ -export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; +export interface RecoveryPlanInMageRcmFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "InMageRcm"; + /** + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * 'LatestCrashConsistent', 'LatestProcessed' + */ + recoveryPointType?: RecoveryPlanPointType; + /** + * A value indicating whether multi VM sync enabled VMs should use multi VM sync points for + * failover. + */ + useMultiVmSyncPoint?: string; +} /** - * Defines values for IdentityProviderType. - * Possible values include: 'RecoveryServicesActiveDirectory' - * @readonly - * @enum {string} + * Recovery plan manual action details. */ -export type IdentityProviderType = 'RecoveryServicesActiveDirectory'; +export interface RecoveryPlanManualActionDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "ManualActionDetails"; + /** + * The manual action description. + */ + description?: string; +} /** - * Defines values for AgentVersionStatus. - * Possible values include: 'Supported', 'NotSupported', 'Deprecated', 'UpdateRequired', - * 'SecurityUpdateRequired' - * @readonly - * @enum {string} + * Recovery plan planned failover input properties. */ -export type AgentVersionStatus = 'Supported' | 'NotSupported' | 'Deprecated' | 'UpdateRequired' | 'SecurityUpdateRequired'; +export interface RecoveryPlanPlannedFailoverInputProperties { + /** + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' + */ + failoverDirection: PossibleOperationsDirections; + /** + * The provider specific properties. + */ + providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; +} /** - * Defines values for RecoveryPointType. - * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * @readonly - * @enum {string} + * Recovery plan planned failover input. */ -export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; +export interface RecoveryPlanPlannedFailoverInput { + /** + * The recovery plan planned failover input properties. + */ + properties: RecoveryPlanPlannedFailoverInputProperties; +} /** - * Defines values for MultiVmSyncStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Recovery plan script action details. */ -export type MultiVmSyncStatus = 'Enabled' | 'Disabled'; +export interface RecoveryPlanScriptActionDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "ScriptActionDetails"; + /** + * The script path. + */ + path: string; + /** + * The script timeout. + */ + timeout?: string; + /** + * The fabric location. Possible values include: 'Primary', 'Recovery' + */ + fabricLocation: RecoveryPlanActionLocation; +} /** - * Defines values for A2ARpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', - * 'LatestProcessed' - * @readonly - * @enum {string} + * This class represents the recovery plan shutdown group task details. */ -export type A2ARpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; +export interface RecoveryPlanShutdownGroupTaskDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "RecoveryPlanShutdownGroupTaskDetails"; + /** + * The child tasks. + */ + childTasks?: ASRTask[]; + /** + * The name. + */ + name?: string; + /** + * The group identifier. + */ + groupId?: string; + /** + * The group type. + */ + rpGroupType?: string; +} /** - * Defines values for MultiVmSyncPointOption. - * Possible values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' - * @readonly - * @enum {string} + * Recovery plan test failover cleanup input properties. */ -export type MultiVmSyncPointOption = 'UseMultiVmSyncRecoveryPoint' | 'UsePerVmRecoveryPoint'; +export interface RecoveryPlanTestFailoverCleanupInputProperties { + /** + * The test failover cleanup comments. + */ + comments?: string; +} /** - * Defines values for RecoveryPlanActionLocation. - * Possible values include: 'Primary', 'Recovery' - * @readonly - * @enum {string} + * Recovery plan test failover cleanup input. */ -export type RecoveryPlanActionLocation = 'Primary' | 'Recovery'; +export interface RecoveryPlanTestFailoverCleanupInput { + /** + * The recovery plan test failover cleanup input properties. + */ + properties: RecoveryPlanTestFailoverCleanupInputProperties; +} /** - * Defines values for DataSyncStatus. - * Possible values include: 'ForDownTime', 'ForSynchronization' - * @readonly - * @enum {string} + * Recovery plan test failover input properties. */ -export type DataSyncStatus = 'ForDownTime' | 'ForSynchronization'; +export interface RecoveryPlanTestFailoverInputProperties { + /** + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' + */ + failoverDirection: PossibleOperationsDirections; + /** + * The network type to be used for test failover. + */ + networkType: string; + /** + * The Id of the network to be used for test failover. + */ + networkId?: string; + /** + * A value indicating whether the test failover cleanup is to be skipped. + */ + skipTestFailoverCleanup?: string; + /** + * The provider specific properties. + */ + providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; +} /** - * Defines values for AlternateLocationRecoveryOption. - * Possible values include: 'CreateVmIfNotFound', 'NoAction' - * @readonly - * @enum {string} + * Recovery plan test failover input. */ -export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; +export interface RecoveryPlanTestFailoverInput { + /** + * The recovery plan test failover input properties. + */ + properties: RecoveryPlanTestFailoverInputProperties; +} /** - * Defines values for HyperVReplicaAzureRpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestProcessed' - * @readonly - * @enum {string} + * Recovery plan unplanned failover input properties. */ -export type HyperVReplicaAzureRpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestProcessed'; +export interface RecoveryPlanUnplannedFailoverInputProperties { + /** + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' + */ + failoverDirection: PossibleOperationsDirections; + /** + * A value indicating whether source site operations are required. Possible values include: + * 'Required', 'NotRequired' + */ + sourceSiteOperations: SourceSiteOperations; + /** + * The provider specific properties. + */ + providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; +} /** - * Defines values for InMageV2RpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', - * 'LatestProcessed' - * @readonly - * @enum {string} + * Recovery plan unplanned failover input. */ -export type InMageV2RpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; +export interface RecoveryPlanUnplannedFailoverInput { + /** + * The recovery plan unplanned failover input properties. + */ + properties: RecoveryPlanUnplannedFailoverInputProperties; +} /** - * Defines values for RpInMageRecoveryPointType. + * Recovery point properties. + */ +export interface RecoveryPointProperties { + /** + * The recovery point time. + */ + recoveryPointTime?: Date; + /** + * The recovery point type: ApplicationConsistent, CrashConsistent. + */ + recoveryPointType?: string; + /** + * The provider specific details for the recovery point. + */ + providerSpecificDetails?: ProviderSpecificRecoveryPointDetailsUnion; +} + +/** + * Base class representing a recovery point. + */ +export interface RecoveryPoint extends Resource { + /** + * Recovery point related data. + */ + properties?: RecoveryPointProperties; +} + +/** + * Recovery services provider properties. + */ +export interface RecoveryServicesProviderProperties { + /** + * Type of the site. + */ + fabricType?: string; + /** + * Friendly name of the DRA. + */ + friendlyName?: string; + /** + * The provider version. + */ + providerVersion?: string; + /** + * The fabric provider. + */ + serverVersion?: string; + /** + * DRA version status. + */ + providerVersionState?: string; + /** + * Expiry date of the version. + */ + providerVersionExpiryDate?: Date; + /** + * The fabric friendly name. + */ + fabricFriendlyName?: string; + /** + * Time when last heartbeat was sent by the DRA. + */ + lastHeartBeat?: Date; + /** + * A value indicating whether DRA is responsive. + */ + connectionStatus?: string; + /** + * Number of protected VMs currently managed by the DRA. + */ + protectedItemCount?: number; + /** + * The scenarios allowed on this provider. + */ + allowedScenarios?: string[]; + /** + * The recovery services provider health error details. + */ + healthErrorDetails?: HealthError[]; + /** + * The DRA Id. + */ + draIdentifier?: string; + /** + * The authentication identity details. + */ + authenticationIdentityDetails?: IdentityProviderDetails; + /** + * The resource access identity details. + */ + resourceAccessIdentityDetails?: IdentityProviderDetails; + /** + * The provider version details. + */ + providerVersionDetails?: VersionDetails; +} + +/** + * Provider details. + */ +export interface RecoveryServicesProvider extends Resource { + /** + * Provider properties. + */ + properties?: RecoveryServicesProviderProperties; +} + +/** + * Remove Disk input properties. + */ +export interface RemoveDisksInputProperties { + /** + * The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be + * AzureEnableProtectionInput object. For San provider, it will be SanEnableProtectionInput + * object. For HyperVReplicaAzure provider, it can be null. + */ + providerSpecificDetails?: RemoveDisksProviderSpecificInputUnion; +} + +/** + * Input for remove disk(s) operation. + */ +export interface RemoveDisksInput { + /** + * Remove disk input properties. + */ + properties?: RemoveDisksInputProperties; +} + +/** + * Provider specific input for unpairing operations. + */ +export interface ReplicationProviderContainerUnmappingInput { + /** + * The class type. + */ + instanceType?: string; +} + +/** + * Unpairing input properties. + */ +export interface RemoveProtectionContainerMappingInputProperties { + /** + * Provider specific input for unpairing. + */ + providerSpecificInput?: ReplicationProviderContainerUnmappingInput; +} + +/** + * Container unpairing input. + */ +export interface RemoveProtectionContainerMappingInput { + /** + * Configure protection input properties. + */ + properties?: RemoveProtectionContainerMappingInputProperties; +} + +/** + * Renew Certificate input properties. + */ +export interface RenewCertificateInputProperties { + /** + * Renew certificate type. + */ + renewCertificateType?: string; +} + +/** + * Certificate renewal input. + */ +export interface RenewCertificateInput { + /** + * Renew certificate input properties. + */ + properties?: RenewCertificateInputProperties; +} + +/** + * Error model that can be exposed to the user. + */ +export interface ReplicationEligibilityResultsErrorInfo { + /** + * The error code. + * **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.** + */ + readonly message?: string; + /** + * The possible causes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly possibleCauses?: string; + /** + * The recommended action. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly recommendedAction?: string; + /** + * The error status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; +} + +/** + * Properties model for replication eligibility results API. + */ +export interface ReplicationEligibilityResultsProperties { + /** + * The client request Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly clientRequestId?: string; + /** + * The error details. + */ + errors?: ReplicationEligibilityResultsErrorInfo[]; +} + +/** + * Replication eligibility results response model. + */ +export interface ReplicationEligibilityResults { + /** + * Gets the name of this object. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Gets the object type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Gets Unique ARM identifier for this object. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Gets properties model for replication eligibility results API. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly properties?: ReplicationEligibilityResultsProperties; +} + +/** + * Replication eligibility results collection response model. + */ +export interface ReplicationEligibilityResultsCollection { + /** + * The replication eligibility results details. + */ + value?: ReplicationEligibilityResults[]; +} + +/** + * Replication group details. This will be used in case of San and Wvr. + */ +export interface ReplicationGroupDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "ReplicationGroupDetails"; +} + +/** + * Replication protected item custom data details. + */ +export interface ReplicationProtectedItemProperties { + /** + * The name. + */ + friendlyName?: string; + /** + * The type of protected item type. + */ + protectedItemType?: string; + /** + * The protected item ARM Id. + */ + protectableItemId?: string; + /** + * The recovery provider ARM Id. + */ + recoveryServicesProviderId?: string; + /** + * The friendly name of the primary fabric. + */ + primaryFabricFriendlyName?: string; + /** + * The fabric provider of the primary fabric. + */ + primaryFabricProvider?: string; + /** + * The friendly name of recovery fabric. + */ + recoveryFabricFriendlyName?: string; + /** + * The Arm Id of recovery fabric. + */ + recoveryFabricId?: string; + /** + * The name of primary protection container friendly name. + */ + primaryProtectionContainerFriendlyName?: string; + /** + * The name of recovery container friendly name. + */ + recoveryProtectionContainerFriendlyName?: string; + /** + * The protection status. + */ + protectionState?: string; + /** + * The protection state description. + */ + protectionStateDescription?: string; + /** + * The Current active location of the PE. + */ + activeLocation?: string; + /** + * The Test failover state. + */ + testFailoverState?: string; + /** + * The Test failover state description. + */ + testFailoverStateDescription?: string; + /** + * The allowed operations on the Replication protected item. + */ + allowedOperations?: string[]; + /** + * The consolidated protection health for the VM taking any issues with SRS as well as all the + * replication units associated with the VM's replication group into account. This is a string + * representation of the ProtectionHealth enumeration. + */ + replicationHealth?: string; + /** + * The consolidated failover health for the VM. + */ + failoverHealth?: string; + /** + * List of health errors. + */ + healthErrors?: HealthError[]; + /** + * The ID of Policy governing this PE. + */ + policyId?: string; + /** + * The name of Policy governing this PE. + */ + policyFriendlyName?: string; + /** + * The Last successful failover time. + */ + lastSuccessfulFailoverTime?: Date; + /** + * The Last successful test failover time. + */ + lastSuccessfulTestFailoverTime?: Date; + /** + * The current scenario. + */ + currentScenario?: CurrentScenarioDetails; + /** + * The recovery point ARM Id to which the Vm was failed over. + */ + failoverRecoveryPointId?: string; + /** + * The Replication provider custom settings. + */ + providerSpecificDetails?: ReplicationProviderSpecificSettingsUnion; + /** + * The recovery container Id. + */ + recoveryContainerId?: string; +} + +/** + * Replication protected item. + */ +export interface ReplicationProtectedItem extends Resource { + /** + * The custom data. + */ + properties?: ReplicationProtectedItemProperties; +} + +/** + * Replication protection intent custom data details. + */ +export interface ReplicationProtectionIntentProperties { + /** + * The name. + */ + friendlyName?: string; + /** + * The job Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly jobId?: string; + /** + * The job state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly jobState?: string; + /** + * A value indicating whether the intent object is active. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isActive?: boolean; + /** + * The creation time in UTC. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationTimeUTC?: string; + /** + * The Replication provider custom settings. + */ + providerSpecificDetails?: ReplicationProtectionIntentProviderSpecificSettingsUnion; +} + +/** + * Replication protection intent. + */ +export interface ReplicationProtectionIntent extends Resource { + /** + * The custom data. + */ + properties?: ReplicationProtectionIntentProperties; +} + +/** + * Resolve health errors input properties. + */ +export interface ResolveHealthError { + /** + * Health error id. + */ + healthErrorId?: string; +} + +/** + * Resolve health input properties. + */ +export interface ResolveHealthInputProperties { + /** + * Health errors. + */ + healthErrors?: ResolveHealthError[]; +} + +/** + * Resolve health input. + */ +export interface ResolveHealthInput { + /** + * Disable resolve health input properties. + */ + properties?: ResolveHealthInputProperties; +} + +/** + * Base class to define the health summary of the resources contained under an Arm resource. + */ +export interface ResourceHealthSummary { + /** + * The count of total resources under the container. + */ + resourceCount?: number; + /** + * The list of summary of health errors across the resources under the container. + */ + issues?: HealthErrorSummary[]; +} + +/** + * Resume job properties. + */ +export interface ResumeJobParamsProperties { + /** + * Resume job comments. + */ + comments?: string; +} + +/** + * Resume job params. + */ +export interface ResumeJobParams { + /** + * Resume job properties. + */ + properties?: ResumeJobParamsProperties; +} + +/** + * Reverse replication input properties. + */ +export interface ReverseReplicationInputProperties { + /** + * Failover direction. + */ + failoverDirection?: string; + /** + * Provider specific reverse replication input. + */ + providerSpecificDetails?: ReverseReplicationProviderSpecificInputUnion; +} + +/** + * Reverse replication input. + */ +export interface ReverseReplicationInput { + /** + * Reverse replication properties + */ + properties?: ReverseReplicationInputProperties; +} + +/** + * Azure role assignment details. + */ +export interface RoleAssignment { + /** + * The ARM Id of the role assignment. + */ + id?: string; + /** + * The name of the role assignment. + */ + name?: string; + /** + * Role assignment scope. + */ + scope?: string; + /** + * Principal Id. + */ + principalId?: string; + /** + * Role definition id. + */ + roleDefinitionId?: string; +} + +/** + * CS Accounts Details. + */ +export interface RunAsAccount { + /** + * The CS RunAs account Id. + */ + accountId?: string; + /** + * The CS RunAs account name. + */ + accountName?: string; +} + +/** + * San enable protection provider specific input. + */ +export interface SanEnableProtectionInput { + /** + * Polymorphic Discriminator + */ + instanceType: "San"; +} + +/** + * This class represents the script action task details. + */ +export interface ScriptActionTaskDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "ScriptActionTaskDetails"; + /** + * The name. + */ + name?: string; + /** + * The path. + */ + path?: string; + /** + * The output. + */ + output?: string; + /** + * A value indicating whether it is a primary side script or not. + */ + isPrimarySideScript?: boolean; +} + +/** + * Storage object properties. + */ +export interface StorageClassificationProperties { + /** + * Friendly name of the Storage classification. + */ + friendlyName?: string; +} + +/** + * Storage object definition. + */ +export interface StorageClassification extends Resource { + /** + * Properties of the storage object. + */ + properties?: StorageClassificationProperties; +} + +/** + * Storage mapping properties. + */ +export interface StorageClassificationMappingProperties { + /** + * Target storage object Id. + */ + targetStorageClassificationId?: string; +} + +/** + * Storage mapping object. + */ +export interface StorageClassificationMapping extends Resource { + /** + * Properties of the storage mapping object. + */ + properties?: StorageClassificationMappingProperties; +} + +/** + * Storage mapping input properties. + */ +export interface StorageMappingInputProperties { + /** + * The ID of the storage object. + */ + targetStorageClassificationId?: string; +} + +/** + * Storage mapping input. + */ +export interface StorageClassificationMappingInput { + /** + * Storage mapping input properties. + */ + properties?: StorageMappingInputProperties; +} + +/** + * Supported Operating system details. + */ +export interface SupportedOSDetails { + /** + * The name. + */ + osName?: string; + /** + * The type. + */ + osType?: string; + /** + * List of version for OS. + */ + osVersions?: OSVersionWrapper[]; +} + +/** + * Property object for supported OS api. + */ +export interface SupportedOSProperty { + /** + * Gets the replication provider type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceType?: string; + /** + * List of supported OS. + */ + supportedOs?: SupportedOSDetails[]; +} + +/** + * Properties model for supported OS API. + */ +export interface SupportedOSProperties { + /** + * The supported OS List. + */ + supportedOsList?: SupportedOSProperty[]; +} + +/** + * Response object for supported operating systems API. + */ +export interface SupportedOperatingSystems extends Resource { + /** + * Properties model for supported OS API. + */ + properties?: SupportedOSProperties; +} + +/** + * Switch protection input properties. + */ +export interface SwitchProtectionInputProperties { + /** + * The unique replication protected item name. + */ + replicationProtectedItemName?: string; + /** + * Provider specific switch protection input. + */ + providerSpecificDetails?: SwitchProtectionProviderSpecificInputUnion; +} + +/** + * Switch protection input. + */ +export interface SwitchProtectionInput { + /** + * Switch protection properties + */ + properties?: SwitchProtectionInputProperties; +} + +/** + * This class represents details for switch protection job. + */ +export interface SwitchProtectionJobDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "SwitchProtectionJobDetails"; + /** + * The affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. + */ + affectedObjectDetails?: { [propertyName: string]: string }; + /** + * ARM Id of the new replication protected item. + */ + newReplicationProtectedItemId?: string; +} + +/** + * Represents applicable recovery vm sizes properties. + */ +export interface TargetComputeSizeProperties { + /** + * Target compute size name. + */ + name?: string; + /** + * Target compute size display name. + */ + friendlyName?: string; + /** + * The maximum cpu cores count supported by target compute size. + */ + cpuCoresCount?: number; + /** + * The Available vCPUs supported by target compute size. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vCPUsAvailable?: number; + /** + * The maximum memory in GB supported by target compute size. + */ + memoryInGB?: number; + /** + * The maximum data disks count supported by target compute size. + */ + maxDataDiskCount?: number; + /** + * The maximum Nics count supported by target compute size. + */ + maxNicsCount?: number; + /** + * The reasons why the target compute size is not applicable for the protected item. + */ + errors?: ComputeSizeErrorDetails[]; + /** + * The value indicating whether the target compute size supports high Iops. + */ + highIopsSupported?: string; + /** + * The supported HyperV Generations. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hyperVGenerations?: string[]; +} + +/** + * Represents applicable recovery vm sizes. + */ +export interface TargetComputeSize { + /** + * The Id. + */ + id?: string; + /** + * The name. + */ + name?: string; + /** + * The Type of the object. + */ + type?: string; + /** + * The custom data. + */ + properties?: TargetComputeSizeProperties; +} + +/** + * Input definition for test failover cleanup input properties. + */ +export interface TestFailoverCleanupInputProperties { + /** + * Test failover cleanup comments. + */ + comments?: string; +} + +/** + * Input definition for test failover cleanup. + */ +export interface TestFailoverCleanupInput { + /** + * Test failover cleanup input properties. + */ + properties: TestFailoverCleanupInputProperties; +} + +/** + * Input definition for test failover input properties. + */ +export interface TestFailoverInputProperties { + /** + * Test failover direction. + */ + failoverDirection?: string; + /** + * Network type to be used for test failover. + */ + networkType?: string; + /** + * The id of the network to be used for test failover + */ + networkId?: string; + /** + * A value indicating whether the test failover cleanup is to be skipped. + */ + skipTestFailoverCleanup?: string; + /** + * Provider specific settings + */ + providerSpecificDetails?: TestFailoverProviderSpecificInputUnion; +} + +/** + * Input definition for test failover. + */ +export interface TestFailoverInput { + /** + * test failover input properties + */ + properties?: TestFailoverInputProperties; +} + +/** + * This class represents the details for a test failover job. + */ +export interface TestFailoverJobDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "TestFailoverJobDetails"; + /** + * The affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. + */ + affectedObjectDetails?: { [propertyName: string]: string }; + /** + * The test failover status. + */ + testFailoverStatus?: string; + /** + * The test failover comments. + */ + comments?: string; + /** + * The test network name. + */ + networkName?: string; + /** + * The test network friendly name. + */ + networkFriendlyName?: string; + /** + * The test network type (see TestFailoverInput enum for possible values). + */ + networkType?: string; + /** + * The test VM details. + */ + protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; +} + +/** + * Test migrate cleanup input properties. + */ +export interface TestMigrateCleanupInputProperties { + /** + * Test migrate cleanup comments. + */ + comments?: string; +} + +/** + * Input for test migrate cleanup. + */ +export interface TestMigrateCleanupInput { + /** + * Test migrate cleanup input properties. + */ + properties: TestMigrateCleanupInputProperties; +} + +/** + * Contains the possible cases for TestMigrateProviderSpecificInput. + */ +export type TestMigrateProviderSpecificInputUnion = TestMigrateProviderSpecificInput | VMwareCbtTestMigrateInput; + +/** + * Test migrate provider specific input. + */ +export interface TestMigrateProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "TestMigrateProviderSpecificInput"; +} + +/** + * Test migrate input properties. + */ +export interface TestMigrateInputProperties { + /** + * The provider specific details. + */ + providerSpecificDetails: TestMigrateProviderSpecificInputUnion; +} + +/** + * Input for test migrate. + */ +export interface TestMigrateInput { + /** + * Test migrate input properties. + */ + properties: TestMigrateInputProperties; +} + +/** + * Input definition for unplanned failover input properties. + */ +export interface UnplannedFailoverInputProperties { + /** + * Failover direction. + */ + failoverDirection?: string; + /** + * Source site operations status + */ + sourceSiteOperations?: string; + /** + * Provider specific settings + */ + providerSpecificDetails?: UnplannedFailoverProviderSpecificInputUnion; +} + +/** + * Input definition for unplanned failover. + */ +export interface UnplannedFailoverInput { + /** + * Unplanned failover input properties. + */ + properties?: UnplannedFailoverInputProperties; +} + +/** + * Contains the possible cases for UpdateMigrationItemProviderSpecificInput. + */ +export type UpdateMigrationItemProviderSpecificInputUnion = UpdateMigrationItemProviderSpecificInput | VMwareCbtUpdateMigrationItemInput; + +/** + * Update migration item provider specific input. + */ +export interface UpdateMigrationItemProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "UpdateMigrationItemProviderSpecificInput"; +} + +/** + * Update migration item input properties. + */ +export interface UpdateMigrationItemInputProperties { + /** + * The provider specific input to update migration item. + */ + providerSpecificDetails: UpdateMigrationItemProviderSpecificInputUnion; +} + +/** + * Update migration item input. + */ +export interface UpdateMigrationItemInput { + /** + * Update migration item input properties. + */ + properties?: UpdateMigrationItemInputProperties; +} + +/** + * The properties of an update mobility service request. + */ +export interface UpdateMobilityServiceRequestProperties { + /** + * The CS run as account Id. + */ + runAsAccountId?: string; +} + +/** + * Request to update the mobility service on a protected item. + */ +export interface UpdateMobilityServiceRequest { + /** + * The properties of the update mobility service request. + */ + properties?: UpdateMobilityServiceRequestProperties; +} + +/** + * Common input details for network mapping operation. + */ +export interface UpdateNetworkMappingInputProperties { + /** + * Recovery fabric name. + */ + recoveryFabricName?: string; + /** + * Recovery network Id. + */ + recoveryNetworkId?: string; + /** + * Fabrics specific input network Id. + */ + fabricSpecificDetails?: FabricSpecificUpdateNetworkMappingInputUnion; +} + +/** + * Update network mapping input. + */ +export interface UpdateNetworkMappingInput { + /** + * The input properties needed to update network mapping. + */ + properties?: UpdateNetworkMappingInputProperties; +} + +/** + * Policy update properties. + */ +export interface UpdatePolicyInputProperties { + /** + * The ReplicationProviderSettings. + */ + replicationProviderSettings?: PolicyProviderSpecificInputUnion; +} + +/** + * Update policy input. + */ +export interface UpdatePolicyInput { + /** + * The ReplicationProviderSettings. + */ + properties?: UpdatePolicyInputProperties; +} + +/** + * Container pairing update input. + */ +export interface UpdateProtectionContainerMappingInputProperties { + /** + * Provider specific input for updating protection container mapping. + */ + providerSpecificInput?: ReplicationProviderSpecificUpdateContainerMappingInputUnion; +} + +/** + * Container pairing update input. + */ +export interface UpdateProtectionContainerMappingInput { + /** + * Update protection container mapping input properties. + */ + properties?: UpdateProtectionContainerMappingInputProperties; +} + +/** + * Recovery plan update properties. + */ +export interface UpdateRecoveryPlanInputProperties { + /** + * The recovery plan groups. + */ + groups?: RecoveryPlanGroup[]; +} + +/** + * Update recovery plan input class. + */ +export interface UpdateRecoveryPlanInput { + /** + * Recovery plan update properties. + */ + properties?: UpdateRecoveryPlanInputProperties; +} + +/** + * Hyper V VM network input details. + */ +export interface VMNicInputDetails { + /** + * The nic Id. + */ + nicId?: string; + /** + * Recovery VM subnet name. + */ + recoveryVMSubnetName?: string; + /** + * Replica nic static IP address. + */ + replicaNicStaticIPAddress?: string; + /** + * Selection type for failover. + */ + selectionType?: string; + /** + * The id of the public IP address resource associated with the NIC. + */ + recoveryPublicIpAddressId?: string; + /** + * The id of the NSG associated with the NIC. + */ + recoveryNetworkSecurityGroupId?: string; + /** + * The target backend address pools for the NIC. + */ + recoveryLBBackendAddressPoolIds?: string[]; + /** + * Whether the NIC has accelerated networking enabled. + */ + enableAcceleratedNetworkingOnRecovery?: boolean; + /** + * The subnet to be used by NIC during test failover. + */ + tfoVMSubnetName?: string; + /** + * The NSG to be used by NIC during test failover. + */ + tfoNetworkSecurityGroupId?: string; + /** + * Whether the test NIC has accelerated networking enabled. + */ + enableAcceleratedNetworkingOnTfo?: boolean; + /** + * The IP configurations to be used by NIC during test failover. + */ + tfoIPConfigs?: IPConfig[]; + /** + * The name of the NIC to be used when creating target NICs. + */ + recoveryNicName?: string; + /** + * The resource group of the NIC to be used when creating target NICs. + */ + recoveryNicResourceGroupName?: string; + /** + * A value indicating whether an existing NIC is allowed to be reused during failover subject to + * availability. Default value: false. + */ + reuseExistingNic?: boolean; + /** + * The name of the NIC to be used when creating target NICs in TFO. + */ + tfoNicName?: string; + /** + * The resource group of the NIC to be used when creating target NICs in TFO. + */ + tfoNicResourceGroupName?: string; + /** + * A value indicating whether an existing NIC is allowed to be reused during test failover + * subject to availability. Default value: false. + */ + tfoReuseExistingNic?: boolean; +} + +/** + * Update protected item input properties. + */ +export interface UpdateReplicationProtectedItemInputProperties { + /** + * Target azure VM name given by the user. + */ + recoveryAzureVMName?: string; + /** + * Target Azure Vm size. + */ + recoveryAzureVMSize?: string; + /** + * Target Azure Network Id. + */ + selectedRecoveryAzureNetworkId?: string; + /** + * The Azure Network Id for test failover. + */ + selectedTfoAzureNetworkId?: string; + /** + * The selected source nic Id which will be used as the primary nic during failover. + */ + selectedSourceNicId?: string; + /** + * The selected option to enable RDP\SSH on target vm after failover. String value of + * {SrsDataContract.EnableRDPOnTargetOption} enum. + */ + enableRdpOnTargetOption?: string; + /** + * The list of vm nic details. + */ + vmNics?: VMNicInputDetails[]; + /** + * License type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + */ + licenseType?: LicenseType; + /** + * The target availability set id. + */ + recoveryAvailabilitySetId?: string; + /** + * The provider specific input to update replication protected item. + */ + providerSpecificDetails?: UpdateReplicationProtectedItemProviderInputUnion; +} + +/** + * Update replication protected item input. + */ +export interface UpdateReplicationProtectedItemInput { + /** + * Update replication protected item properties. + */ + properties?: UpdateReplicationProtectedItemInputProperties; +} + +/** + * The properties of an update vCenter request. + */ +export interface UpdateVCenterRequestProperties { + /** + * The friendly name of the vCenter. + */ + friendlyName?: string; + /** + * The IP address of the vCenter to be discovered. + */ + ipAddress?: string; + /** + * The process server Id from where the update can be orchestrated. + */ + processServerId?: string; + /** + * The port number for discovery. + */ + port?: string; + /** + * The CS account Id which has privileges to update the vCenter. + */ + runAsAccountId?: string; +} + +/** + * Input required to update vCenter. + */ +export interface UpdateVCenterRequest { + /** + * The update VCenter Request Properties. + */ + properties?: UpdateVCenterRequestProperties; +} + +/** + * class to define the health summary of the Vault. + */ +export interface VaultHealthProperties { + /** + * The list of errors on the vault. + */ + vaultErrors?: HealthError[]; + /** + * The list of the health detail of the protected items in the vault. + */ + protectedItemsHealth?: ResourceHealthSummary; + /** + * The list of the health detail of the fabrics in the vault. + */ + fabricsHealth?: ResourceHealthSummary; + /** + * The list of the health detail of the containers in the vault. + */ + containersHealth?: ResourceHealthSummary; +} + +/** + * Vault health details definition. + */ +export interface VaultHealthDetails extends Resource { + /** + * The vault health related data. + */ + properties?: VaultHealthProperties; +} + +/** + * Vault setting properties. + */ +export interface VaultSettingProperties { + /** + * The migration solution ARM Id. + */ + migrationSolutionId?: string; +} + +/** + * Vault setting. + */ +export interface VaultSetting extends Resource { + /** + * The vault setting properties. + */ + properties?: VaultSettingProperties; +} + +/** + * Input to create vault setting. + */ +export interface VaultSettingCreationInputProperties { + /** + * The migration solution Id. + */ + migrationSolutionId: string; +} + +/** + * Input to create vault setting. + */ +export interface VaultSettingCreationInput { + /** + * Vault setting creation input properties. + */ + properties: VaultSettingCreationInputProperties; +} + +/** + * vCenter properties. + */ +export interface VCenterProperties { + /** + * Friendly name of the vCenter. + */ + friendlyName?: string; + /** + * VCenter internal ID. + */ + internalId?: string; + /** + * The time when the last heartbeat was received by vCenter. + */ + lastHeartbeat?: Date; + /** + * The VCenter discovery status. + */ + discoveryStatus?: string; + /** + * The process server Id. + */ + processServerId?: string; + /** + * The IP address of the vCenter. + */ + ipAddress?: string; + /** + * The infrastructure Id of vCenter. + */ + infrastructureId?: string; + /** + * The port number for discovery. + */ + port?: string; + /** + * The account Id which has privileges to discover the vCenter. + */ + runAsAccountId?: string; + /** + * The ARM resource name of the fabric containing this VCenter. + */ + fabricArmResourceName?: string; + /** + * The health errors for this VCenter. + */ + healthErrors?: HealthError[]; +} + +/** + * vCenter definition. + */ +export interface VCenter extends Resource { + /** + * VCenter related data. + */ + properties?: VCenterProperties; +} + +/** + * This class represents the virtual machine task details. + */ +export interface VirtualMachineTaskDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VirtualMachineTaskDetails"; + /** + * The skipped reason. + */ + skippedReason?: string; + /** + * The skipped reason string. + */ + skippedReasonString?: string; + /** + * The job entity. + */ + jobTask?: JobEntity; +} + +/** + * VMM fabric specific details. + */ +export interface VmmDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMM"; +} + +/** + * Create network mappings input properties/behavior specific to Vmm to Azure Network mapping. + */ +export interface VmmToAzureCreateNetworkMappingInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToAzure"; +} + +/** + * E2A Network Mapping fabric specific settings. + */ +export interface VmmToAzureNetworkMappingSettings { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToAzure"; +} + +/** + * Update network mappings input properties/behavior specific to vmm to azure. + */ +export interface VmmToAzureUpdateNetworkMappingInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToAzure"; +} + +/** + * Create network mappings input properties/behavior specific to vmm to vmm Network mapping. + */ +export interface VmmToVmmCreateNetworkMappingInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToVmm"; +} + +/** + * E2E Network Mapping fabric specific settings. + */ +export interface VmmToVmmNetworkMappingSettings { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToVmm"; +} + +/** + * Update network mappings input properties/behavior specific to vmm to vmm. + */ +export interface VmmToVmmUpdateNetworkMappingInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToVmm"; +} + +/** + * VMM fabric provider specific VM settings. + */ +export interface VmmVirtualMachineDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmVirtualMachine"; + /** + * The source id of the object. + */ + sourceItemId?: string; + /** + * The id of the object in fabric. + */ + generation?: string; + /** + * The Last replication time. + */ + osDetails?: OSDetails; + /** + * The Last successful failover time. + */ + diskDetails?: DiskDetails[]; + /** + * A value indicating whether the VM has a physical disk attached. String value of + * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', 'Present', + * 'NotPresent' + */ + hasPhysicalDisk?: PresenceStatus; + /** + * A value indicating whether the VM has a fibre channel adapter attached. String value of + * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', 'Present', + * 'NotPresent' + */ + hasFibreChannelAdapter?: PresenceStatus; + /** + * A value indicating whether the VM has a shared VHD attached. String value of + * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', 'Present', + * 'NotPresent' + */ + hasSharedVhd?: PresenceStatus; +} + +/** + * This class represents the vm NicUpdates task details. + */ +export interface VmNicUpdatesTaskDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VmNicUpdatesTaskDetails"; + /** + * Virtual machine Id. + */ + vmId?: string; + /** + * Nic Id. + */ + nicId?: string; + /** + * Name of the Nic. + */ + name?: string; +} + +/** + * VMwareCbt container creation input. + */ +export interface VMwareCbtContainerCreationInput { + /** + * Polymorphic Discriminator + */ + instanceType: "6c7da455-506f-43ff-a16a-8eb101aebb70"; +} + +/** + * VMwareCbt container mapping input. + */ +export interface VMwareCbtContainerMappingInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The target key vault ARM Id. + */ + keyVaultId: string; + /** + * The target key vault URL. + */ + keyVaultUri: string; + /** + * The storage account ARM Id. + */ + storageAccountId: string; + /** + * The secret name of the storage account. + */ + storageAccountSasSecretName: string; + /** + * The secret name of the service bus connection string. + */ + serviceBusConnectionStringSecretName: string; + /** + * The target location. + */ + targetLocation: string; +} + +/** + * VMwareCbt disk input. + */ +export interface VMwareCbtDiskInput { + /** + * The disk Id. + */ + diskId: string; + /** + * A value indicating whether the disk is the OS disk. + */ + isOSDisk: string; + /** + * The log storage account ARM Id. + */ + logStorageAccountId: string; + /** + * The key vault secret name of the log storage account. + */ + logStorageAccountSasSecretName: string; + /** + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; +} + +/** + * VMwareCbt specific enable migration input. + */ +export interface VMwareCbtEnableMigrationInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The ARM Id of the VM discovered in VMware. + */ + vmwareMachineId: string; + /** + * The disks to include list. + */ + disksToInclude: VMwareCbtDiskInput[]; + /** + * License type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + */ + licenseType?: LicenseType; + /** + * The data mover RunAs account Id. + */ + dataMoverRunAsAccountId: string; + /** + * The snapshot RunAs account Id. + */ + snapshotRunAsAccountId: string; + /** + * The target VM name. + */ + targetVmName?: string; + /** + * The target VM size. + */ + targetVmSize?: string; + /** + * The target resource group ARM Id. + */ + targetResourceGroupId: string; + /** + * The target network ARM Id. + */ + targetNetworkId: string; + /** + * The target subnet name. + */ + targetSubnetName?: string; + /** + * The target availability set ARM Id. + */ + targetAvailabilitySetId?: string; + /** + * The target boot diagnostics storage account ARM Id. + */ + targetBootDiagnosticsStorageAccountId?: string; +} + +/** + * VMwareCbt specific migrate input. + */ +export interface VMwareCbtMigrateInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * A value indicating whether VM is to be shutdown. + */ + performShutdown: string; +} + +/** + * VMwareCbt protected disk details. + */ +export interface VMwareCbtProtectedDiskDetails { + /** + * The disk id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly diskId?: string; + /** + * The disk name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly diskName?: string; + /** + * The disk path. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly diskPath?: string; + /** + * A value indicating whether the disk is the OS disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isOSDisk?: string; + /** + * The disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly capacityInBytes?: number; + /** + * The log storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly logStorageAccountId?: string; + /** + * The key vault secret name of the log storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly logStorageAccountSasSecretName?: string; + /** + * The ARM Id of the seed managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly seedManagedDiskId?: string; + /** + * The ARM Id of the target managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly targetManagedDiskId?: string; + /** + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskType; +} + +/** + * VMwareCbt NIC details. + */ +export interface VMwareCbtNicDetails { + /** + * The NIC Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nicId?: string; + /** + * A value indicating whether this is the primary NIC. + */ + isPrimaryNic?: string; + /** + * The source IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceIPAddress?: string; + /** + * The source IP address type. Possible values include: 'Dynamic', 'Static' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceIPAddressType?: EthernetAddressType; + /** + * Source network Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceNetworkId?: string; + /** + * The target IP address. + */ + targetIPAddress?: string; + /** + * The target IP address type. Possible values include: 'Dynamic', 'Static' + */ + targetIPAddressType?: EthernetAddressType; + /** + * Target subnet name. + */ + targetSubnetName?: string; + /** + * A value indicating whether this NIC is selected for migration. + */ + isSelectedForMigration?: string; +} + +/** + * VMwareCbt provider specific settings + */ +export interface VMwareCbtMigrationDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The ARM Id of the VM discovered in VMware. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vmwareMachineId?: string; + /** + * The type of the OS on the VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly osType?: string; + /** + * License Type of the VM to be used. + */ + licenseType?: string; + /** + * The data mover RunAs account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dataMoverRunAsAccountId?: string; + /** + * The snapshot RunAs account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly snapshotRunAsAccountId?: string; + /** + * Target VM name. + */ + targetVmName?: string; + /** + * The target VM size. + */ + targetVmSize?: string; + /** + * The target location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly targetLocation?: string; + /** + * The target resource group Id. + */ + targetResourceGroupId?: string; + /** + * The target availability set Id. + */ + targetAvailabilitySetId?: string; + /** + * The target boot diagnostics storage account ARM Id. + */ + targetBootDiagnosticsStorageAccountId?: string; + /** + * The list of protected disks. + */ + protectedDisks?: VMwareCbtProtectedDiskDetails[]; + /** + * The target network Id. + */ + targetNetworkId?: string; + /** + * The network details. + */ + vmNics?: VMwareCbtNicDetails[]; + /** + * The recovery point Id to which the VM was migrated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly migrationRecoveryPointId?: string; + /** + * The last recovery point received time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastRecoveryPointReceived?: Date; +} + +/** + * VMwareCbt NIC input. + */ +export interface VMwareCbtNicInput { + /** + * The NIC Id. + */ + nicId: string; + /** + * A value indicating whether this is the primary NIC. + */ + isPrimaryNic: string; + /** + * Target subnet name. + */ + targetSubnetName?: string; + /** + * The static IP address. + */ + targetStaticIPAddress?: string; + /** + * A value indicating whether this NIC is selected for migration. + */ + isSelectedForMigration?: string; +} + +/** + * VMware Cbt policy creation input. + */ +export interface VMwareCbtPolicyCreationInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The duration in minutes until which the recovery points need to be stored. + */ + recoveryPointHistoryInMinutes?: number; + /** + * The crash consistent snapshot frequency (in minutes). + */ + crashConsistentFrequencyInMinutes?: number; + /** + * The app consistent snapshot frequency (in minutes). + */ + appConsistentFrequencyInMinutes?: number; +} + +/** + * VMware Cbt specific policy details. + */ +export interface VmwareCbtPolicyDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The duration in minutes until which the recovery points need to be stored. + */ + recoveryPointHistoryInMinutes?: number; + /** + * The app consistent snapshot frequency in minutes. + */ + appConsistentFrequencyInMinutes?: number; + /** + * The crash consistent snapshot frequency in minutes. + */ + crashConsistentFrequencyInMinutes?: number; +} + +/** + * VMwareCbt provider specific container mapping details. + */ +export interface VMwareCbtProtectionContainerMappingDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The target key vault ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly keyVaultId?: string; + /** + * The target key vault URI. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly keyVaultUri?: string; + /** + * The storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly storageAccountId?: string; + /** + * The secret name of the storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly storageAccountSasSecretName?: string; + /** + * The secret name of the service bus connection string. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serviceBusConnectionStringSecretName?: string; + /** + * The target location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly targetLocation?: string; +} + +/** + * VMwareCbt specific test migrate input. + */ +export interface VMwareCbtTestMigrateInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The recovery point Id. + */ + recoveryPointId: string; + /** + * The test network Id. + */ + networkId: string; +} + +/** + * VMwareCbt specific update migration item input. + */ +export interface VMwareCbtUpdateMigrationItemInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The target VM name. + */ + targetVmName?: string; + /** + * The target VM size. + */ + targetVmSize?: string; + /** + * The target resource group ARM Id. + */ + targetResourceGroupId?: string; + /** + * The target availability set ARM Id. + */ + targetAvailabilitySetId?: string; + /** + * The target boot diagnostics storage account ARM Id. + */ + targetBootDiagnosticsStorageAccountId?: string; + /** + * The target network ARM Id. + */ + targetNetworkId?: string; + /** + * The list of NIC details. + */ + vmNics?: VMwareCbtNicInput[]; + /** + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + */ + licenseType?: LicenseType; +} + +/** + * Store the fabric details specific to the VMware fabric. + */ +export interface VMwareDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMware"; + /** + * The list of Process Servers associated with the fabric. + */ + processServers?: ProcessServer[]; + /** + * The list of Master Target servers associated with the fabric. + */ + masterTargetServers?: MasterTargetServer[]; + /** + * The list of run as accounts created on the server. + */ + runAsAccounts?: RunAsAccount[]; + /** + * The number of replication pairs configured in this CS. + */ + replicationPairCount?: string; + /** + * The number of process servers. + */ + processServerCount?: string; + /** + * The number of source and target servers configured to talk to this CS. + */ + agentCount?: string; + /** + * The number of protected servers. + */ + protectedServers?: string; + /** + * The percentage of the system load. + */ + systemLoad?: string; + /** + * The system load status. + */ + systemLoadStatus?: string; + /** + * The percentage of the CPU load. + */ + cpuLoad?: string; + /** + * The CPU load status. + */ + cpuLoadStatus?: string; + /** + * The total memory. + */ + totalMemoryInBytes?: number; + /** + * The available memory. + */ + availableMemoryInBytes?: number; + /** + * The memory usage status. + */ + memoryUsageStatus?: string; + /** + * The total space. + */ + totalSpaceInBytes?: number; + /** + * The available space. + */ + availableSpaceInBytes?: number; + /** + * The space usage status. + */ + spaceUsageStatus?: string; + /** + * The web load. + */ + webLoad?: string; + /** + * The web load status. + */ + webLoadStatus?: string; + /** + * The database server load. + */ + databaseServerLoad?: string; + /** + * The database server load status. + */ + databaseServerLoadStatus?: string; + /** + * The CS service status. + */ + csServiceStatus?: string; + /** + * The IP address. + */ + ipAddress?: string; + /** + * The agent Version. + */ + agentVersion?: string; + /** + * The host name. + */ + hostName?: string; + /** + * The last heartbeat received from CS server. + */ + lastHeartbeat?: Date; + /** + * Version status + */ + versionStatus?: string; + /** + * CS SSL cert expiry date. + */ + sslCertExpiryDate?: Date; + /** + * CS SSL cert expiry date. + */ + sslCertExpiryRemainingDays?: number; + /** + * PS template version. + */ + psTemplateVersion?: string; + /** + * Agent expiry date. + */ + agentExpiryDate?: Date; + /** + * The agent version details. + */ + agentVersionDetails?: VersionDetails; +} + +/** + * VMwareV2 fabric provider specific settings. + */ +export interface VMwareV2FabricCreationInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareV2"; + /** + * The ARM Id of the VMware site. + */ + vmwareSiteId: string; + /** + * The ARM Id of the migration solution. + */ + migrationSolutionId: string; +} + +/** + * VMwareV2 fabric specific details. + */ +export interface VMwareV2FabricSpecificDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareV2"; + /** + * The ARM Id of the VMware site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vmwareSiteId?: string; + /** + * The Migration solution ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly migrationSolutionId?: string; + /** + * The service endpoint. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serviceEndpoint?: string; + /** + * The service resource Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serviceResourceId?: string; +} + +/** + * VMware provider specific settings + */ +export interface VMwareVirtualMachineDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareVirtualMachine"; + /** + * The ID generated by the InMage agent after it gets installed on guest. This is the ID to be + * used during InMage CreateProtection. + */ + agentGeneratedId?: string; + /** + * The value indicating if InMage scout agent is installed on guest. + */ + agentInstalled?: string; + /** + * The OsType installed on VM. + */ + osType?: string; + /** + * The agent version. + */ + agentVersion?: string; + /** + * The IP address. + */ + ipAddress?: string; + /** + * The value indicating whether VM is powered on. + */ + poweredOn?: string; + /** + * The VCenter infrastructure Id. + */ + vCenterInfrastructureId?: string; + /** + * A value indicating the discovery type of the machine. Value can be vCenter or physical. + */ + discoveryType?: string; + /** + * The disk details. + */ + diskDetails?: InMageDiskDetails[]; + /** + * The validation errors. + */ + validationErrors?: HealthError[]; +} + +/** + * Optional Parameters. + */ +export interface ReplicationEventsListOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationEventsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + /** + * The delete option. + */ + deleteOption?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsListOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. + */ + skipToken?: string; + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + /** + * The delete option. + */ + deleteOption?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. + */ + skipToken?: string; + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationProtectableItemsListByReplicationProtectionContainersNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationProtectedItemsListOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. Possible values: "FabricId" or "FabricId_CloudId" or null + */ + skipToken?: string; + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationProtectedItemsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. Possible values: "FabricId" or "FabricId_CloudId" or null + */ + skipToken?: string; + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationJobsListOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationJobsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; +} + +/** + * An interface representing SiteRecoveryManagementClientOptions. + */ +export interface SiteRecoveryManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * @interface + * Collection of ClientDiscovery details. + * @extends Array + */ +export interface OperationsDiscoveryCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of alerts. + * @extends Array + */ +export interface AlertCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of fabric details. + * @extends Array + */ +export interface EventCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of fabric details. + * @extends Array + */ +export interface FabricCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * List of logical networks. + * @extends Array + */ +export interface LogicalNetworkCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * List of networks. + * @extends Array + */ +export interface NetworkCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * List of network mappings. As with NetworkMapping, it should be possible to reuse a prev version + * of this class. It doesn't seem likely this class could be anything more than a slightly bespoke + * collection of NetworkMapping. Hence it makes sense to override Load with Base.NetworkMapping + * instead of existing CurrentVersion.NetworkMapping. + * @extends Array + */ +export interface NetworkMappingCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Protection Container collection. + * @extends Array + */ +export interface ProtectionContainerCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Migration item collection. + * @extends Array + */ +export interface MigrationItemCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of migration recovery points. + * @extends Array + */ +export interface MigrationRecoveryPointCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Protectable item collection. + * @extends Array + */ +export interface ProtectableItemCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Replication protected item collection. + * @extends Array + */ +export interface ReplicationProtectedItemCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of recovery point details. + * @extends Array + */ +export interface RecoveryPointCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Target compute size collection. + * @extends Array + */ +export interface TargetComputeSizeCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Protection container mapping collection class. + * @extends Array + */ +export interface ProtectionContainerMappingCollection extends Array { + /** + * Link to fetch rest of the data. + */ + nextLink?: string; +} + +/** + * @interface + * Replication protection intent objects collection. + * @extends Array + */ +export interface ReplicationProtectionIntentCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of providers. + * @extends Array + */ +export interface RecoveryServicesProviderCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of storage details. + * @extends Array + */ +export interface StorageClassificationCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of storage mapping details. + * @extends Array + */ +export interface StorageClassificationMappingCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of vCenter details. + * @extends Array + */ +export interface VCenterCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of jobs. + * @extends Array + */ +export interface JobCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Protection Profile Collection details. + * @extends Array + */ +export interface PolicyCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Recovery plan collection details. + * @extends Array + */ +export interface RecoveryPlanCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Vault setting collection. + * @extends Array + */ +export interface VaultSettingCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * Defines values for AgentAutoUpdateStatus. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type AgentAutoUpdateStatus = 'Disabled' | 'Enabled'; + +/** + * Defines values for A2ARecoveryAvailabilityType. + * Possible values include: 'Single', 'AvailabilitySet', 'AvailabilityZone' + * @readonly + * @enum {string} + */ +export type A2ARecoveryAvailabilityType = 'Single' | 'AvailabilitySet' | 'AvailabilityZone'; + +/** + * Defines values for AutoProtectionOfDataDisk. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type AutoProtectionOfDataDisk = 'Disabled' | 'Enabled'; + +/** + * Defines values for SetMultiVmSyncStatus. + * Possible values include: 'Enable', 'Disable' + * @readonly + * @enum {string} + */ +export type SetMultiVmSyncStatus = 'Enable' | 'Disable'; + +/** + * Defines values for RecoveryPointSyncType. + * Possible values include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' + * @readonly + * @enum {string} + */ +export type RecoveryPointSyncType = 'MultiVmSyncRecoveryPoint' | 'PerVmRecoveryPoint'; + +/** + * Defines values for MultiVmGroupCreateOption. + * Possible values include: 'AutoCreated', 'UserSpecified' + * @readonly + * @enum {string} + */ +export type MultiVmGroupCreateOption = 'AutoCreated' | 'UserSpecified'; + +/** + * Defines values for VmEncryptionType. + * Possible values include: 'NotEncrypted', 'OnePassEncrypted', 'TwoPassEncrypted' + * @readonly + * @enum {string} + */ +export type VmEncryptionType = 'NotEncrypted' | 'OnePassEncrypted' | 'TwoPassEncrypted'; + +/** + * Defines values for AutoProtectionOfDataDiskStatus. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type AutoProtectionOfDataDiskStatus = 'Disabled' | 'Enabled'; + +/** + * Defines values for FailoverDeploymentModel. + * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager' + * @readonly + * @enum {string} + */ +export type FailoverDeploymentModel = 'NotApplicable' | 'Classic' | 'ResourceManager'; + +/** + * Defines values for RecoveryPlanGroupType. + * Possible values include: 'Shutdown', 'Boot', 'Failover' + * @readonly + * @enum {string} + */ +export type RecoveryPlanGroupType = 'Shutdown' | 'Boot' | 'Failover'; + +/** + * Defines values for ReplicationProtectedItemOperation. + * Possible values include: 'ReverseReplicate', 'Commit', 'PlannedFailover', 'UnplannedFailover', + * 'DisableProtection', 'TestFailover', 'TestFailoverCleanup', 'Failback', 'FinalizeFailback', + * 'ChangePit', 'RepairReplication', 'SwitchProtection', 'CompleteMigration' + * @readonly + * @enum {string} + */ +export type ReplicationProtectedItemOperation = 'ReverseReplicate' | 'Commit' | 'PlannedFailover' | 'UnplannedFailover' | 'DisableProtection' | 'TestFailover' | 'TestFailoverCleanup' | 'Failback' | 'FinalizeFailback' | 'ChangePit' | 'RepairReplication' | 'SwitchProtection' | 'CompleteMigration'; + +/** + * Defines values for PossibleOperationsDirections. + * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' + * @readonly + * @enum {string} + */ +export type PossibleOperationsDirections = 'PrimaryToRecovery' | 'RecoveryToPrimary'; + +/** + * Defines values for DisableProtectionReason. + * Possible values include: 'NotSpecified', 'MigrationComplete' + * @readonly + * @enum {string} + */ +export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; + +/** + * Defines values for ProtectionHealth. + * Possible values include: 'None', 'Normal', 'Warning', 'Critical' + * @readonly + * @enum {string} + */ +export type ProtectionHealth = 'None' | 'Normal' | 'Warning' | 'Critical'; + +/** + * Defines values for HealthErrorCustomerResolvability. + * Possible values include: 'Allowed', 'NotAllowed' + * @readonly + * @enum {string} + */ +export type HealthErrorCustomerResolvability = 'Allowed' | 'NotAllowed'; + +/** + * Defines values for HealthErrorCategory. + * Possible values include: 'None', 'Replication', 'TestFailover', 'Configuration', + * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' + * @readonly + * @enum {string} + */ +export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdate'; + +/** + * Defines values for Severity. + * Possible values include: 'NONE', 'Warning', 'Error', 'Info' + * @readonly + * @enum {string} + */ +export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; + +/** + * Defines values for PresenceStatus. + * Possible values include: 'Unknown', 'Present', 'NotPresent' + * @readonly + * @enum {string} + */ +export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; + +/** + * Defines values for AgentVersionStatus. + * Possible values include: 'Supported', 'NotSupported', 'Deprecated', 'UpdateRequired', + * 'SecurityUpdateRequired' + * @readonly + * @enum {string} + */ +export type AgentVersionStatus = 'Supported' | 'NotSupported' | 'Deprecated' | 'UpdateRequired' | 'SecurityUpdateRequired'; + +/** + * Defines values for DiskAccountType. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * @readonly + * @enum {string} + */ +export type DiskAccountType = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS'; + +/** + * Defines values for RecoveryPointType. + * Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * @readonly + * @enum {string} + */ +export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; + +/** + * Defines values for LicenseType. + * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + * @readonly + * @enum {string} + */ +export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; + +/** + * Defines values for AgentUpgradeBlockedReason. + * Possible values include: 'AlreadyOnLatestVersion', 'RebootRequired', 'AgentNoHeartbeat', + * 'RcmProxyNoHeartbeat', 'ProcessServerNoHeartbeat', 'IncompatibleApplianceVersion', + * 'NotProtected', 'UnsupportedProtectionScenario', 'DistroIsNotReported', + * 'DistroNotSupportedForUpgrade', 'MissingUpgradePath', 'InvalidAgentVersion', + * 'InvalidDriverVersion', 'Unknown' + * @readonly + * @enum {string} + */ +export type AgentUpgradeBlockedReason = 'AlreadyOnLatestVersion' | 'RebootRequired' | 'AgentNoHeartbeat' | 'RcmProxyNoHeartbeat' | 'ProcessServerNoHeartbeat' | 'IncompatibleApplianceVersion' | 'NotProtected' | 'UnsupportedProtectionScenario' | 'DistroIsNotReported' | 'DistroNotSupportedForUpgrade' | 'MissingUpgradePath' | 'InvalidAgentVersion' | 'InvalidDriverVersion' | 'Unknown'; + +/** + * Defines values for EthernetAddressType. + * Possible values include: 'Dynamic', 'Static' + * @readonly + * @enum {string} + */ +export type EthernetAddressType = 'Dynamic' | 'Static'; + +/** + * Defines values for ResyncState. + * Possible values include: 'None', 'PreparedForResynchronization', 'StartedResynchronization' + * @readonly + * @enum {string} + */ +export type ResyncState = 'None' | 'PreparedForResynchronization' | 'StartedResynchronization'; + +/** + * Defines values for MobilityAgentUpgradeState. + * Possible values include: 'None', 'Started', 'Completed', 'Commit' + * @readonly + * @enum {string} + */ +export type MobilityAgentUpgradeState = 'None' | 'Started' | 'Completed' | 'Commit'; + +/** + * Defines values for MigrationState. + * Possible values include: 'None', 'EnableMigrationInProgress', 'EnableMigrationFailed', + * 'DisableMigrationInProgress', 'DisableMigrationFailed', 'InitialSeedingInProgress', + * 'InitialSeedingFailed', 'Replicating', 'MigrationInProgress', 'MigrationSucceeded', + * 'MigrationFailed' + * @readonly + * @enum {string} + */ +export type MigrationState = 'None' | 'EnableMigrationInProgress' | 'EnableMigrationFailed' | 'DisableMigrationInProgress' | 'DisableMigrationFailed' | 'InitialSeedingInProgress' | 'InitialSeedingFailed' | 'Replicating' | 'MigrationInProgress' | 'MigrationSucceeded' | 'MigrationFailed'; + +/** + * Defines values for TestMigrationState. + * Possible values include: 'None', 'TestMigrationInProgress', 'TestMigrationSucceeded', + * 'TestMigrationFailed', 'TestMigrationCleanupInProgress' + * @readonly + * @enum {string} + */ +export type TestMigrationState = 'None' | 'TestMigrationInProgress' | 'TestMigrationSucceeded' | 'TestMigrationFailed' | 'TestMigrationCleanupInProgress'; + +/** + * Defines values for MigrationItemOperation. + * Possible values include: 'DisableMigration', 'TestMigrate', 'TestMigrateCleanup', 'Migrate' + * @readonly + * @enum {string} + */ +export type MigrationItemOperation = 'DisableMigration' | 'TestMigrate' | 'TestMigrateCleanup' | 'Migrate'; + +/** + * Defines values for MigrationRecoveryPointType. + * Possible values include: 'NotSpecified', 'ApplicationConsistent', 'CrashConsistent' + * @readonly + * @enum {string} + */ +export type MigrationRecoveryPointType = 'NotSpecified' | 'ApplicationConsistent' | 'CrashConsistent'; + +/** + * Defines values for MultiVmSyncStatus. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type MultiVmSyncStatus = 'Enabled' | 'Disabled'; + +/** + * Defines values for A2ARpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type A2ARpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; + +/** + * Defines values for MultiVmSyncPointOption. + * Possible values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' + * @readonly + * @enum {string} + */ +export type MultiVmSyncPointOption = 'UseMultiVmSyncRecoveryPoint' | 'UsePerVmRecoveryPoint'; + +/** + * Defines values for RecoveryPlanActionLocation. + * Possible values include: 'Primary', 'Recovery' + * @readonly + * @enum {string} + */ +export type RecoveryPlanActionLocation = 'Primary' | 'Recovery'; + +/** + * Defines values for DataSyncStatus. + * Possible values include: 'ForDownTime', 'ForSynchronization' + * @readonly + * @enum {string} + */ +export type DataSyncStatus = 'ForDownTime' | 'ForSynchronization'; + +/** + * Defines values for AlternateLocationRecoveryOption. + * Possible values include: 'CreateVmIfNotFound', 'NoAction' + * @readonly + * @enum {string} + */ +export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; + +/** + * Defines values for HyperVReplicaAzureRpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type HyperVReplicaAzureRpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestProcessed'; + +/** + * Defines values for InMageV2RpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type InMageV2RpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; + +/** + * Defines values for RpInMageRecoveryPointType. * Possible values include: 'LatestTime', 'LatestTag', 'Custom' * @readonly * @enum {string} */ -export type RpInMageRecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; +export type RpInMageRecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; + +/** + * Defines values for RecoveryPlanPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type RecoveryPlanPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; + +/** + * Defines values for SourceSiteOperations. + * Possible values include: 'Required', 'NotRequired' + * @readonly + * @enum {string} + */ +export type SourceSiteOperations = 'Required' | 'NotRequired'; + +/** + * Defines values for DiskType. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * @readonly + * @enum {string} + */ +export type DiskType = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS'; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = OperationsDiscoveryCollection & { + /** + * 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: OperationsDiscoveryCollection; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type OperationsListNextResponse = OperationsDiscoveryCollection & { + /** + * 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: OperationsDiscoveryCollection; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ReplicationAlertSettingsListResponse = AlertCollection & { + /** + * 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: AlertCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationAlertSettingsGetResponse = Alert & { + /** + * 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: Alert; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type ReplicationAlertSettingsCreateResponse = Alert & { + /** + * 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: Alert; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ReplicationAlertSettingsListNextResponse = AlertCollection & { + /** + * 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: AlertCollection; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ReplicationEligibilityResultsListResponse = ReplicationEligibilityResultsCollection & { + /** + * 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: ReplicationEligibilityResultsCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationEligibilityResultsGetResponse = ReplicationEligibilityResults & { + /** + * 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: ReplicationEligibilityResults; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ReplicationEventsListResponse = EventCollection & { + /** + * 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: EventCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationEventsGetResponse = Event & { + /** + * 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: Event; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ReplicationEventsListNextResponse = EventCollection & { + /** + * 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: EventCollection; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ReplicationFabricsListResponse = FabricCollection & { + /** + * 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: FabricCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationFabricsGetResponse = Fabric & { + /** + * 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: Fabric; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type ReplicationFabricsCreateResponse = Fabric & { + /** + * 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: Fabric; + }; +}; + +/** + * Contains response data for the checkConsistency operation. + */ +export type ReplicationFabricsCheckConsistencyResponse = Fabric & { + /** + * 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: Fabric; + }; +}; + +/** + * Contains response data for the reassociateGateway operation. + */ +export type ReplicationFabricsReassociateGatewayResponse = Fabric & { + /** + * 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: Fabric; + }; +}; + +/** + * Contains response data for the renewCertificate operation. + */ +export type ReplicationFabricsRenewCertificateResponse = Fabric & { + /** + * 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: Fabric; + }; +}; /** - * Defines values for SourceSiteOperations. - * Possible values include: 'Required', 'NotRequired' - * @readonly - * @enum {string} + * Contains response data for the beginCreate operation. */ -export type SourceSiteOperations = 'Required' | 'NotRequired'; +export type ReplicationFabricsBeginCreateResponse = Fabric & { + /** + * 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: Fabric; + }; +}; /** - * Defines values for LicenseType. - * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' - * @readonly - * @enum {string} + * Contains response data for the beginCheckConsistency operation. */ -export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; +export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { + /** + * 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: Fabric; + }; +}; + +/** + * Contains response data for the beginReassociateGateway operation. + */ +export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { + /** + * 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: Fabric; + }; +}; + +/** + * Contains response data for the beginRenewCertificate operation. + */ +export type ReplicationFabricsBeginRenewCertificateResponse = Fabric & { + /** + * 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: Fabric; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ReplicationFabricsListNextResponse = FabricCollection & { + /** + * 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: FabricCollection; + }; +}; + +/** + * Contains response data for the listByReplicationFabrics operation. + */ +export type ReplicationLogicalNetworksListByReplicationFabricsResponse = LogicalNetworkCollection & { + /** + * 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: LogicalNetworkCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationLogicalNetworksGetResponse = LogicalNetwork & { + /** + * 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: LogicalNetwork; + }; +}; + +/** + * Contains response data for the listByReplicationFabricsNext operation. + */ +export type ReplicationLogicalNetworksListByReplicationFabricsNextResponse = LogicalNetworkCollection & { + /** + * 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: LogicalNetworkCollection; + }; +}; + +/** + * Contains response data for the listByReplicationFabrics operation. + */ +export type ReplicationNetworksListByReplicationFabricsResponse = NetworkCollection & { + /** + * 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: NetworkCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationNetworksGetResponse = Network & { + /** + * 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: Network; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ReplicationNetworksListResponse = NetworkCollection & { + /** + * 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: NetworkCollection; + }; +}; /** - * Contains response data for the list operation. + * Contains response data for the listByReplicationFabricsNext operation. */ -export type OperationsListResponse = OperationsDiscoveryCollection & { +export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCollection & { /** * The underlying HTTP response. */ @@ -9707,17 +12760,18 @@ export type OperationsListResponse = OperationsDiscoveryCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: OperationsDiscoveryCollection; + parsedBody: NetworkCollection; }; }; /** * Contains response data for the listNext operation. */ -export type OperationsListNextResponse = OperationsDiscoveryCollection & { +export type ReplicationNetworksListNextResponse = NetworkCollection & { /** * The underlying HTTP response. */ @@ -9726,17 +12780,18 @@ export type OperationsListNextResponse = OperationsDiscoveryCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: OperationsDiscoveryCollection; + parsedBody: NetworkCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByReplicationNetworks operation. */ -export type ReplicationAlertSettingsListResponse = AlertCollection & { +export type ReplicationNetworkMappingsListByReplicationNetworksResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9745,17 +12800,18 @@ export type ReplicationAlertSettingsListResponse = AlertCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: AlertCollection; + parsedBody: NetworkMappingCollection; }; }; /** * Contains response data for the get operation. */ -export type ReplicationAlertSettingsGetResponse = Alert & { +export type ReplicationNetworkMappingsGetResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9764,17 +12820,18 @@ export type ReplicationAlertSettingsGetResponse = Alert & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Alert; + parsedBody: NetworkMapping; }; }; /** * Contains response data for the create operation. */ -export type ReplicationAlertSettingsCreateResponse = Alert & { +export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9783,17 +12840,18 @@ export type ReplicationAlertSettingsCreateResponse = Alert & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Alert; + parsedBody: NetworkMapping; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the update operation. */ -export type ReplicationAlertSettingsListNextResponse = AlertCollection & { +export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9802,17 +12860,18 @@ export type ReplicationAlertSettingsListNextResponse = AlertCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: AlertCollection; + parsedBody: NetworkMapping; }; }; /** * Contains response data for the list operation. */ -export type ReplicationEventsListResponse = EventCollection & { +export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9821,17 +12880,18 @@ export type ReplicationEventsListResponse = EventCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: EventCollection; + parsedBody: NetworkMappingCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationEventsGetResponse = Event & { +export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9840,17 +12900,58 @@ export type ReplicationEventsGetResponse = Event & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Event; + parsedBody: NetworkMapping; + }; +}; + +/** + * Contains response data for the beginUpdate operation. + */ +export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { + /** + * 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: NetworkMapping; + }; +}; + +/** + * Contains response data for the listByReplicationNetworksNext operation. + */ +export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = NetworkMappingCollection & { + /** + * 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: NetworkMappingCollection; }; }; /** * Contains response data for the listNext operation. */ -export type ReplicationEventsListNextResponse = EventCollection & { +export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9859,17 +12960,18 @@ export type ReplicationEventsListNextResponse = EventCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: EventCollection; + parsedBody: NetworkMappingCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByReplicationFabrics operation. */ -export type ReplicationFabricsListResponse = FabricCollection & { +export type ReplicationProtectionContainersListByReplicationFabricsResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -9878,17 +12980,18 @@ export type ReplicationFabricsListResponse = FabricCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: FabricCollection; + parsedBody: ProtectionContainerCollection; }; }; /** * Contains response data for the get operation. */ -export type ReplicationFabricsGetResponse = Fabric & { +export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9897,17 +13000,18 @@ export type ReplicationFabricsGetResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainer; }; }; /** * Contains response data for the create operation. */ -export type ReplicationFabricsCreateResponse = Fabric & { +export type ReplicationProtectionContainersCreateResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9916,17 +13020,18 @@ export type ReplicationFabricsCreateResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the checkConsistency operation. + * Contains response data for the discoverProtectableItem operation. */ -export type ReplicationFabricsCheckConsistencyResponse = Fabric & { +export type ReplicationProtectionContainersDiscoverProtectableItemResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9935,17 +13040,18 @@ export type ReplicationFabricsCheckConsistencyResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the reassociateGateway operation. + * Contains response data for the switchProtection operation. */ -export type ReplicationFabricsReassociateGatewayResponse = Fabric & { +export type ReplicationProtectionContainersSwitchProtectionResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9954,17 +13060,18 @@ export type ReplicationFabricsReassociateGatewayResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the renewCertificate operation. + * Contains response data for the list operation. */ -export type ReplicationFabricsRenewCertificateResponse = Fabric & { +export type ReplicationProtectionContainersListResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -9973,17 +13080,18 @@ export type ReplicationFabricsRenewCertificateResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainerCollection; }; }; /** * Contains response data for the beginCreate operation. */ -export type ReplicationFabricsBeginCreateResponse = Fabric & { +export type ReplicationProtectionContainersBeginCreateResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9992,17 +13100,18 @@ export type ReplicationFabricsBeginCreateResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the beginCheckConsistency operation. + * Contains response data for the beginDiscoverProtectableItem operation. */ -export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { +export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10011,17 +13120,18 @@ export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the beginReassociateGateway operation. + * Contains response data for the beginSwitchProtection operation. */ -export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { +export type ReplicationProtectionContainersBeginSwitchProtectionResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10030,17 +13140,18 @@ export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the beginRenewCertificate operation. + * Contains response data for the listByReplicationFabricsNext operation. */ -export type ReplicationFabricsBeginRenewCertificateResponse = Fabric & { +export type ReplicationProtectionContainersListByReplicationFabricsNextResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10049,17 +13160,18 @@ export type ReplicationFabricsBeginRenewCertificateResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainerCollection; }; }; /** * Contains response data for the listNext operation. */ -export type ReplicationFabricsListNextResponse = FabricCollection & { +export type ReplicationProtectionContainersListNextResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10068,17 +13180,18 @@ export type ReplicationFabricsListNextResponse = FabricCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: FabricCollection; + parsedBody: ProtectionContainerCollection; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationLogicalNetworksListByReplicationFabricsResponse = LogicalNetworkCollection & { +export type ReplicationMigrationItemsListByReplicationProtectionContainersResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10087,17 +13200,18 @@ export type ReplicationLogicalNetworksListByReplicationFabricsResponse = Logical * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: LogicalNetworkCollection; + parsedBody: MigrationItemCollection; }; }; /** * Contains response data for the get operation. */ -export type ReplicationLogicalNetworksGetResponse = LogicalNetwork & { +export type ReplicationMigrationItemsGetResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10106,17 +13220,18 @@ export type ReplicationLogicalNetworksGetResponse = LogicalNetwork & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: LogicalNetwork; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the listByReplicationFabricsNext operation. + * Contains response data for the create operation. */ -export type ReplicationLogicalNetworksListByReplicationFabricsNextResponse = LogicalNetworkCollection & { +export type ReplicationMigrationItemsCreateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10125,17 +13240,18 @@ export type ReplicationLogicalNetworksListByReplicationFabricsNextResponse = Log * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: LogicalNetworkCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the update operation. */ -export type ReplicationNetworksListByReplicationFabricsResponse = NetworkCollection & { +export type ReplicationMigrationItemsUpdateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10144,17 +13260,18 @@ export type ReplicationNetworksListByReplicationFabricsResponse = NetworkCollect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the get operation. + * Contains response data for the migrate operation. */ -export type ReplicationNetworksGetResponse = Network & { +export type ReplicationMigrationItemsMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10163,17 +13280,18 @@ export type ReplicationNetworksGetResponse = Network & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Network; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the list operation. + * Contains response data for the testMigrate operation. */ -export type ReplicationNetworksListResponse = NetworkCollection & { +export type ReplicationMigrationItemsTestMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10182,17 +13300,18 @@ export type ReplicationNetworksListResponse = NetworkCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the listByReplicationFabricsNext operation. + * Contains response data for the testMigrateCleanup operation. */ -export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCollection & { +export type ReplicationMigrationItemsTestMigrateCleanupResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10201,17 +13320,18 @@ export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCol * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type ReplicationNetworksListNextResponse = NetworkCollection & { +export type ReplicationMigrationItemsListResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10220,17 +13340,18 @@ export type ReplicationNetworksListNextResponse = NetworkCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkCollection; + parsedBody: MigrationItemCollection; }; }; /** - * Contains response data for the listByReplicationNetworks operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationNetworkMappingsListByReplicationNetworksResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsBeginCreateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10239,17 +13360,18 @@ export type ReplicationNetworkMappingsListByReplicationNetworksResponse = Networ * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type ReplicationNetworkMappingsGetResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginUpdateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10258,17 +13380,18 @@ export type ReplicationNetworkMappingsGetResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the create operation. + * Contains response data for the beginMigrate operation. */ -export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10277,17 +13400,18 @@ export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginTestMigrate operation. */ -export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginTestMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10296,17 +13420,18 @@ export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginTestMigrateCleanup operation. */ -export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsBeginTestMigrateCleanupResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10315,17 +13440,18 @@ export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { +export type ReplicationMigrationItemsListByReplicationProtectionContainersNextResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10334,17 +13460,18 @@ export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItemCollection; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listNext operation. */ -export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { +export type ReplicationMigrationItemsListNextResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10353,17 +13480,18 @@ export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItemCollection; }; }; /** - * Contains response data for the listByReplicationNetworksNext operation. + * Contains response data for the listByReplicationMigrationItems operation. */ -export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = NetworkMappingCollection & { +export type MigrationRecoveryPointsListByReplicationMigrationItemsResponse = MigrationRecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -10372,17 +13500,38 @@ export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = Ne * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: MigrationRecoveryPointCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. + */ +export type MigrationRecoveryPointsGetResponse = MigrationRecoveryPoint & { + /** + * 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: MigrationRecoveryPoint; + }; +}; + +/** + * Contains response data for the listByReplicationMigrationItemsNext operation. */ -export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollection & { +export type MigrationRecoveryPointsListByReplicationMigrationItemsNextResponse = MigrationRecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -10391,17 +13540,18 @@ export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollectio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: MigrationRecoveryPointCollection; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationProtectionContainersListByReplicationFabricsResponse = ProtectionContainerCollection & { +export type ReplicationProtectableItemsListByReplicationProtectionContainersResponse = ProtectableItemCollection & { /** * The underlying HTTP response. */ @@ -10410,17 +13560,18 @@ export type ReplicationProtectionContainersListByReplicationFabricsResponse = Pr * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerCollection; + parsedBody: ProtectableItemCollection; }; }; /** * Contains response data for the get operation. */ -export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { +export type ReplicationProtectableItemsGetResponse = ProtectableItem & { /** * The underlying HTTP response. */ @@ -10429,17 +13580,18 @@ export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: ProtectableItem; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationProtectionContainersCreateResponse = ProtectionContainer & { +export type ReplicationProtectableItemsListByReplicationProtectionContainersNextResponse = ProtectableItemCollection & { /** * The underlying HTTP response. */ @@ -10448,17 +13600,18 @@ export type ReplicationProtectionContainersCreateResponse = ProtectionContainer * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: ProtectableItemCollection; }; }; /** - * Contains response data for the discoverProtectableItem operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationProtectionContainersDiscoverProtectableItemResponse = ProtectionContainer & { +export type ReplicationProtectedItemsListByReplicationProtectionContainersResponse = ReplicationProtectedItemCollection & { /** * The underlying HTTP response. */ @@ -10467,17 +13620,18 @@ export type ReplicationProtectionContainersDiscoverProtectableItemResponse = Pro * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: ReplicationProtectedItemCollection; }; }; /** - * Contains response data for the switchProtection operation. + * Contains response data for the get operation. */ -export type ReplicationProtectionContainersSwitchProtectionResponse = ProtectionContainer & { +export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10486,17 +13640,18 @@ export type ReplicationProtectionContainersSwitchProtectionResponse = Protection * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the list operation. + * Contains response data for the create operation. */ -export type ReplicationProtectionContainersListResponse = ProtectionContainerCollection & { +export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10505,17 +13660,18 @@ export type ReplicationProtectionContainersListResponse = ProtectionContainerCol * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerCollection; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the update operation. */ -export type ReplicationProtectionContainersBeginCreateResponse = ProtectionContainer & { +export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10524,17 +13680,18 @@ export type ReplicationProtectionContainersBeginCreateResponse = ProtectionConta * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the beginDiscoverProtectableItem operation. + * Contains response data for the addDisks operation. */ -export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse = ProtectionContainer & { +export type ReplicationProtectedItemsAddDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10543,17 +13700,18 @@ export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the beginSwitchProtection operation. + * Contains response data for the applyRecoveryPoint operation. */ -export type ReplicationProtectionContainersBeginSwitchProtectionResponse = ProtectionContainer & { +export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10562,17 +13720,18 @@ export type ReplicationProtectionContainersBeginSwitchProtectionResponse = Prote * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the listByReplicationFabricsNext operation. + * Contains response data for the failoverCommit operation. */ -export type ReplicationProtectionContainersListByReplicationFabricsNextResponse = ProtectionContainerCollection & { +export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10581,17 +13740,18 @@ export type ReplicationProtectionContainersListByReplicationFabricsNextResponse * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerCollection; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the plannedFailover operation. */ -export type ReplicationProtectionContainersListNextResponse = ProtectionContainerCollection & { +export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10600,17 +13760,18 @@ export type ReplicationProtectionContainersListNextResponse = ProtectionContaine * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerCollection; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the listByReplicationProtectionContainers operation. + * Contains response data for the removeDisks operation. */ -export type ReplicationProtectableItemsListByReplicationProtectionContainersResponse = ProtectableItemCollection & { +export type ReplicationProtectedItemsRemoveDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10619,17 +13780,18 @@ export type ReplicationProtectableItemsListByReplicationProtectionContainersResp * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectableItemCollection; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the get operation. + * Contains response data for the repairReplication operation. */ -export type ReplicationProtectableItemsGetResponse = ProtectableItem & { +export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10638,17 +13800,18 @@ export type ReplicationProtectableItemsGetResponse = ProtectableItem & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectableItem; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the listByReplicationProtectionContainersNext operation. + * Contains response data for the reprotect operation. */ -export type ReplicationProtectableItemsListByReplicationProtectionContainersNextResponse = ProtectableItemCollection & { +export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10657,17 +13820,18 @@ export type ReplicationProtectableItemsListByReplicationProtectionContainersNext * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectableItemCollection; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the listByReplicationProtectionContainers operation. + * Contains response data for the resolveHealthErrors operation. */ -export type ReplicationProtectedItemsListByReplicationProtectionContainersResponse = ReplicationProtectedItemCollection & { +export type ReplicationProtectedItemsResolveHealthErrorsResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10676,17 +13840,18 @@ export type ReplicationProtectedItemsListByReplicationProtectionContainersRespon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationProtectedItemCollection; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the get operation. + * Contains response data for the testFailover operation. */ -export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10695,6 +13860,7 @@ export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10703,9 +13869,9 @@ export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { }; /** - * Contains response data for the create operation. + * Contains response data for the testFailoverCleanup operation. */ -export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10714,6 +13880,7 @@ export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10722,9 +13889,9 @@ export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & }; /** - * Contains response data for the update operation. + * Contains response data for the unplannedFailover operation. */ -export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10733,6 +13900,7 @@ export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10741,9 +13909,9 @@ export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & }; /** - * Contains response data for the applyRecoveryPoint operation. + * Contains response data for the updateMobilityService operation. */ -export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsUpdateMobilityServiceResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10752,6 +13920,7 @@ export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationPro * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10760,9 +13929,9 @@ export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationPro }; /** - * Contains response data for the failoverCommit operation. + * Contains response data for the list operation. */ -export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsListResponse = ReplicationProtectedItemCollection & { /** * The underlying HTTP response. */ @@ -10771,17 +13940,18 @@ export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationProtectedItem; + parsedBody: ReplicationProtectedItemCollection; }; }; /** - * Contains response data for the plannedFailover operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10790,6 +13960,7 @@ export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtec * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10798,9 +13969,9 @@ export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtec }; /** - * Contains response data for the repairReplication operation. + * Contains response data for the beginUpdate operation. */ -export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10809,6 +13980,7 @@ export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10817,9 +13989,9 @@ export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProt }; /** - * Contains response data for the reprotect operation. + * Contains response data for the beginAddDisks operation. */ -export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginAddDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10828,6 +14000,7 @@ export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedIte * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10836,9 +14009,9 @@ export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedIte }; /** - * Contains response data for the testFailover operation. + * Contains response data for the beginApplyRecoveryPoint operation. */ -export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10847,6 +14020,7 @@ export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtected * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10855,9 +14029,9 @@ export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtected }; /** - * Contains response data for the testFailoverCleanup operation. + * Contains response data for the beginFailoverCommit operation. */ -export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10866,6 +14040,7 @@ export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationPr * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10874,9 +14049,9 @@ export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationPr }; /** - * Contains response data for the unplannedFailover operation. + * Contains response data for the beginPlannedFailover operation. */ -export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10885,6 +14060,7 @@ export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10893,9 +14069,9 @@ export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProt }; /** - * Contains response data for the updateMobilityService operation. + * Contains response data for the beginRemoveDisks operation. */ -export type ReplicationProtectedItemsUpdateMobilityServiceResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginRemoveDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10904,6 +14080,7 @@ export type ReplicationProtectedItemsUpdateMobilityServiceResponse = Replication * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10912,9 +14089,9 @@ export type ReplicationProtectedItemsUpdateMobilityServiceResponse = Replication }; /** - * Contains response data for the list operation. + * Contains response data for the beginRepairReplication operation. */ -export type ReplicationProtectedItemsListResponse = ReplicationProtectedItemCollection & { +export type ReplicationProtectedItemsBeginRepairReplicationResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10923,17 +14100,18 @@ export type ReplicationProtectedItemsListResponse = ReplicationProtectedItemColl * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationProtectedItemCollection; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the beginReprotect operation. */ -export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10942,6 +14120,7 @@ export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedI * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10950,9 +14129,9 @@ export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedI }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginResolveHealthErrors operation. */ -export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginResolveHealthErrorsResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10961,6 +14140,7 @@ export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedI * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10969,9 +14149,9 @@ export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedI }; /** - * Contains response data for the beginApplyRecoveryPoint operation. + * Contains response data for the beginTestFailover operation. */ -export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginTestFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10980,6 +14160,7 @@ export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = Replicati * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10988,9 +14169,9 @@ export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = Replicati }; /** - * Contains response data for the beginFailoverCommit operation. + * Contains response data for the beginTestFailoverCleanup operation. */ -export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginTestFailoverCleanupResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10999,6 +14180,7 @@ export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationPr * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11007,9 +14189,9 @@ export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationPr }; /** - * Contains response data for the beginPlannedFailover operation. + * Contains response data for the beginUnplannedFailover operation. */ -export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginUnplannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11018,6 +14200,7 @@ export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11026,9 +14209,9 @@ export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationP }; /** - * Contains response data for the beginRepairReplication operation. + * Contains response data for the beginUpdateMobilityService operation. */ -export type ReplicationProtectedItemsBeginRepairReplicationResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginUpdateMobilityServiceResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11037,6 +14220,7 @@ export type ReplicationProtectedItemsBeginRepairReplicationResponse = Replicatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11045,9 +14229,9 @@ export type ReplicationProtectedItemsBeginRepairReplicationResponse = Replicatio }; /** - * Contains response data for the beginReprotect operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsListByReplicationProtectionContainersNextResponse = ReplicationProtectedItemCollection & { /** * The underlying HTTP response. */ @@ -11056,17 +14240,18 @@ export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationProtectedItem; + parsedBody: ReplicationProtectedItemCollection; }; }; /** - * Contains response data for the beginTestFailover operation. + * Contains response data for the listNext operation. */ -export type ReplicationProtectedItemsBeginTestFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsListNextResponse = ReplicationProtectedItemCollection & { /** * The underlying HTTP response. */ @@ -11075,17 +14260,18 @@ export type ReplicationProtectedItemsBeginTestFailoverResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationProtectedItem; + parsedBody: ReplicationProtectedItemCollection; }; }; /** - * Contains response data for the beginTestFailoverCleanup operation. + * Contains response data for the listByReplicationProtectedItems operation. */ -export type ReplicationProtectedItemsBeginTestFailoverCleanupResponse = ReplicationProtectedItem & { +export type RecoveryPointsListByReplicationProtectedItemsResponse = RecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -11094,17 +14280,18 @@ export type ReplicationProtectedItemsBeginTestFailoverCleanupResponse = Replicat * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationProtectedItem; + parsedBody: RecoveryPointCollection; }; }; /** - * Contains response data for the beginUnplannedFailover operation. + * Contains response data for the get operation. */ -export type ReplicationProtectedItemsBeginUnplannedFailoverResponse = ReplicationProtectedItem & { +export type RecoveryPointsGetResponse = RecoveryPoint & { /** * The underlying HTTP response. */ @@ -11113,17 +14300,18 @@ export type ReplicationProtectedItemsBeginUnplannedFailoverResponse = Replicatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationProtectedItem; + parsedBody: RecoveryPoint; }; }; /** - * Contains response data for the beginUpdateMobilityService operation. + * Contains response data for the listByReplicationProtectedItemsNext operation. */ -export type ReplicationProtectedItemsBeginUpdateMobilityServiceResponse = ReplicationProtectedItem & { +export type RecoveryPointsListByReplicationProtectedItemsNextResponse = RecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -11132,17 +14320,18 @@ export type ReplicationProtectedItemsBeginUpdateMobilityServiceResponse = Replic * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationProtectedItem; + parsedBody: RecoveryPointCollection; }; }; /** - * Contains response data for the listByReplicationProtectionContainersNext operation. + * Contains response data for the listByReplicationProtectedItems operation. */ -export type ReplicationProtectedItemsListByReplicationProtectionContainersNextResponse = ReplicationProtectedItemCollection & { +export type TargetComputeSizesListByReplicationProtectedItemsResponse = TargetComputeSizeCollection & { /** * The underlying HTTP response. */ @@ -11151,17 +14340,18 @@ export type ReplicationProtectedItemsListByReplicationProtectionContainersNextRe * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationProtectedItemCollection; + parsedBody: TargetComputeSizeCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByReplicationProtectedItemsNext operation. */ -export type ReplicationProtectedItemsListNextResponse = ReplicationProtectedItemCollection & { +export type TargetComputeSizesListByReplicationProtectedItemsNextResponse = TargetComputeSizeCollection & { /** * The underlying HTTP response. */ @@ -11170,17 +14360,18 @@ export type ReplicationProtectedItemsListNextResponse = ReplicationProtectedItem * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationProtectedItemCollection; + parsedBody: TargetComputeSizeCollection; }; }; /** - * Contains response data for the listByReplicationProtectedItems operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type RecoveryPointsListByReplicationProtectedItemsResponse = RecoveryPointCollection & { +export type ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse = ProtectionContainerMappingCollection & { /** * The underlying HTTP response. */ @@ -11189,17 +14380,18 @@ export type RecoveryPointsListByReplicationProtectedItemsResponse = RecoveryPoin * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: RecoveryPointCollection; + parsedBody: ProtectionContainerMappingCollection; }; }; /** * Contains response data for the get operation. */ -export type RecoveryPointsGetResponse = RecoveryPoint & { +export type ReplicationProtectionContainerMappingsGetResponse = ProtectionContainerMapping & { /** * The underlying HTTP response. */ @@ -11208,17 +14400,18 @@ export type RecoveryPointsGetResponse = RecoveryPoint & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: RecoveryPoint; + parsedBody: ProtectionContainerMapping; }; }; /** - * Contains response data for the listByReplicationProtectedItemsNext operation. + * Contains response data for the create operation. */ -export type RecoveryPointsListByReplicationProtectedItemsNextResponse = RecoveryPointCollection & { +export type ReplicationProtectionContainerMappingsCreateResponse = ProtectionContainerMapping & { /** * The underlying HTTP response. */ @@ -11227,17 +14420,18 @@ export type RecoveryPointsListByReplicationProtectedItemsNextResponse = Recovery * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: RecoveryPointCollection; + parsedBody: ProtectionContainerMapping; }; }; /** - * Contains response data for the listByReplicationProtectedItems operation. + * Contains response data for the update operation. */ -export type TargetComputeSizesListByReplicationProtectedItemsResponse = TargetComputeSizeCollection & { +export type ReplicationProtectionContainerMappingsUpdateResponse = ProtectionContainerMapping & { /** * The underlying HTTP response. */ @@ -11246,17 +14440,18 @@ export type TargetComputeSizesListByReplicationProtectedItemsResponse = TargetCo * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: TargetComputeSizeCollection; + parsedBody: ProtectionContainerMapping; }; }; /** - * Contains response data for the listByReplicationProtectedItemsNext operation. + * Contains response data for the list operation. */ -export type TargetComputeSizesListByReplicationProtectedItemsNextResponse = TargetComputeSizeCollection & { +export type ReplicationProtectionContainerMappingsListResponse = ProtectionContainerMappingCollection & { /** * The underlying HTTP response. */ @@ -11265,17 +14460,18 @@ export type TargetComputeSizesListByReplicationProtectedItemsNextResponse = Targ * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: TargetComputeSizeCollection; + parsedBody: ProtectionContainerMappingCollection; }; }; /** - * Contains response data for the listByReplicationProtectionContainers operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse = ProtectionContainerMappingCollection & { +export type ReplicationProtectionContainerMappingsBeginCreateResponse = ProtectionContainerMapping & { /** * The underlying HTTP response. */ @@ -11284,17 +14480,18 @@ export type ReplicationProtectionContainerMappingsListByReplicationProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerMappingCollection; + parsedBody: ProtectionContainerMapping; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type ReplicationProtectionContainerMappingsGetResponse = ProtectionContainerMapping & { +export type ReplicationProtectionContainerMappingsBeginUpdateResponse = ProtectionContainerMapping & { /** * The underlying HTTP response. */ @@ -11303,6 +14500,7 @@ export type ReplicationProtectionContainerMappingsGetResponse = ProtectionContai * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11311,9 +14509,9 @@ export type ReplicationProtectionContainerMappingsGetResponse = ProtectionContai }; /** - * Contains response data for the create operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationProtectionContainerMappingsCreateResponse = ProtectionContainerMapping & { +export type ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextResponse = ProtectionContainerMappingCollection & { /** * The underlying HTTP response. */ @@ -11322,17 +14520,18 @@ export type ReplicationProtectionContainerMappingsCreateResponse = ProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerMapping; + parsedBody: ProtectionContainerMappingCollection; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listNext operation. */ -export type ReplicationProtectionContainerMappingsUpdateResponse = ProtectionContainerMapping & { +export type ReplicationProtectionContainerMappingsListNextResponse = ProtectionContainerMappingCollection & { /** * The underlying HTTP response. */ @@ -11341,17 +14540,18 @@ export type ReplicationProtectionContainerMappingsUpdateResponse = ProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerMapping; + parsedBody: ProtectionContainerMappingCollection; }; }; /** * Contains response data for the list operation. */ -export type ReplicationProtectionContainerMappingsListResponse = ProtectionContainerMappingCollection & { +export type ReplicationProtectionIntentsListResponse = ReplicationProtectionIntentCollection & { /** * The underlying HTTP response. */ @@ -11360,17 +14560,18 @@ export type ReplicationProtectionContainerMappingsListResponse = ProtectionConta * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerMappingCollection; + parsedBody: ReplicationProtectionIntentCollection; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the get operation. */ -export type ReplicationProtectionContainerMappingsBeginCreateResponse = ProtectionContainerMapping & { +export type ReplicationProtectionIntentsGetResponse = ReplicationProtectionIntent & { /** * The underlying HTTP response. */ @@ -11379,17 +14580,18 @@ export type ReplicationProtectionContainerMappingsBeginCreateResponse = Protecti * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerMapping; + parsedBody: ReplicationProtectionIntent; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the create operation. */ -export type ReplicationProtectionContainerMappingsBeginUpdateResponse = ProtectionContainerMapping & { +export type ReplicationProtectionIntentsCreateResponse = ReplicationProtectionIntent & { /** * The underlying HTTP response. */ @@ -11398,17 +14600,18 @@ export type ReplicationProtectionContainerMappingsBeginUpdateResponse = Protecti * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerMapping; + parsedBody: ReplicationProtectionIntent; }; }; /** - * Contains response data for the listByReplicationProtectionContainersNext operation. + * Contains response data for the listNext operation. */ -export type ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextResponse = ProtectionContainerMappingCollection & { +export type ReplicationProtectionIntentsListNextResponse = ReplicationProtectionIntentCollection & { /** * The underlying HTTP response. */ @@ -11417,17 +14620,18 @@ export type ReplicationProtectionContainerMappingsListByReplicationProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerMappingCollection; + parsedBody: ReplicationProtectionIntentCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByReplicationFabrics operation. */ -export type ReplicationProtectionContainerMappingsListNextResponse = ProtectionContainerMappingCollection & { +export type ReplicationRecoveryServicesProvidersListByReplicationFabricsResponse = RecoveryServicesProviderCollection & { /** * The underlying HTTP response. */ @@ -11436,17 +14640,18 @@ export type ReplicationProtectionContainerMappingsListNextResponse = ProtectionC * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerMappingCollection; + parsedBody: RecoveryServicesProviderCollection; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the get operation. */ -export type ReplicationRecoveryServicesProvidersListByReplicationFabricsResponse = RecoveryServicesProviderCollection & { +export type ReplicationRecoveryServicesProvidersGetResponse = RecoveryServicesProvider & { /** * The underlying HTTP response. */ @@ -11455,17 +14660,18 @@ export type ReplicationRecoveryServicesProvidersListByReplicationFabricsResponse * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: RecoveryServicesProviderCollection; + parsedBody: RecoveryServicesProvider; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type ReplicationRecoveryServicesProvidersGetResponse = RecoveryServicesProvider & { +export type ReplicationRecoveryServicesProvidersCreateResponse = RecoveryServicesProvider & { /** * The underlying HTTP response. */ @@ -11474,6 +14680,7 @@ export type ReplicationRecoveryServicesProvidersGetResponse = RecoveryServicesPr * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11493,6 +14700,7 @@ export type ReplicationRecoveryServicesProvidersRefreshProviderResponse = Recove * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11512,6 +14720,7 @@ export type ReplicationRecoveryServicesProvidersListResponse = RecoveryServicesP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11519,6 +14728,26 @@ export type ReplicationRecoveryServicesProvidersListResponse = RecoveryServicesP }; }; +/** + * Contains response data for the beginCreate operation. + */ +export type ReplicationRecoveryServicesProvidersBeginCreateResponse = RecoveryServicesProvider & { + /** + * 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: RecoveryServicesProvider; + }; +}; + /** * Contains response data for the beginRefreshProvider operation. */ @@ -11531,6 +14760,7 @@ export type ReplicationRecoveryServicesProvidersBeginRefreshProviderResponse = R * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11550,6 +14780,7 @@ export type ReplicationRecoveryServicesProvidersListByReplicationFabricsNextResp * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11569,6 +14800,7 @@ export type ReplicationRecoveryServicesProvidersListNextResponse = RecoveryServi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11588,6 +14820,7 @@ export type ReplicationStorageClassificationsListByReplicationFabricsResponse = * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11607,6 +14840,7 @@ export type ReplicationStorageClassificationsGetResponse = StorageClassification * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11626,6 +14860,7 @@ export type ReplicationStorageClassificationsListResponse = StorageClassificatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11645,6 +14880,7 @@ export type ReplicationStorageClassificationsListByReplicationFabricsNextRespons * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11664,6 +14900,7 @@ export type ReplicationStorageClassificationsListNextResponse = StorageClassific * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11683,6 +14920,7 @@ export type ReplicationStorageClassificationMappingsListByReplicationStorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11702,6 +14940,7 @@ export type ReplicationStorageClassificationMappingsGetResponse = StorageClassif * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11721,6 +14960,7 @@ export type ReplicationStorageClassificationMappingsCreateResponse = StorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11740,6 +14980,7 @@ export type ReplicationStorageClassificationMappingsListResponse = StorageClassi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11759,6 +15000,7 @@ export type ReplicationStorageClassificationMappingsBeginCreateResponse = Storag * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11778,6 +15020,7 @@ export type ReplicationStorageClassificationMappingsListByReplicationStorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11797,6 +15040,7 @@ export type ReplicationStorageClassificationMappingsListNextResponse = StorageCl * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11816,6 +15060,7 @@ export type ReplicationvCentersListByReplicationFabricsResponse = VCenterCollect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11835,6 +15080,7 @@ export type ReplicationvCentersGetResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11854,6 +15100,7 @@ export type ReplicationvCentersCreateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11873,6 +15120,7 @@ export type ReplicationvCentersUpdateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11892,6 +15140,7 @@ export type ReplicationvCentersListResponse = VCenterCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11911,6 +15160,7 @@ export type ReplicationvCentersBeginCreateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11930,6 +15180,7 @@ export type ReplicationvCentersBeginUpdateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11949,6 +15200,7 @@ export type ReplicationvCentersListByReplicationFabricsNextResponse = VCenterCol * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11968,6 +15220,7 @@ export type ReplicationvCentersListNextResponse = VCenterCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11987,6 +15240,7 @@ export type ReplicationJobsListResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12006,6 +15260,7 @@ export type ReplicationJobsGetResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12025,6 +15280,7 @@ export type ReplicationJobsCancelResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12044,6 +15300,7 @@ export type ReplicationJobsRestartResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12063,6 +15320,7 @@ export type ReplicationJobsResumeResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12082,6 +15340,7 @@ export type ReplicationJobsExportMethodResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12101,6 +15360,7 @@ export type ReplicationJobsBeginCancelResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12120,6 +15380,7 @@ export type ReplicationJobsBeginRestartResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12139,6 +15400,7 @@ export type ReplicationJobsBeginResumeResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12158,6 +15420,7 @@ export type ReplicationJobsBeginExportMethodResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12177,6 +15440,7 @@ export type ReplicationJobsListNextResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12196,6 +15460,7 @@ export type ReplicationPoliciesListResponse = PolicyCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12215,6 +15480,7 @@ export type ReplicationPoliciesGetResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12234,6 +15500,7 @@ export type ReplicationPoliciesCreateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12253,6 +15520,7 @@ export type ReplicationPoliciesUpdateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12272,6 +15540,7 @@ export type ReplicationPoliciesBeginCreateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12291,6 +15560,7 @@ export type ReplicationPoliciesBeginUpdateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12310,6 +15580,7 @@ export type ReplicationPoliciesListNextResponse = PolicyCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12329,6 +15600,7 @@ export type ReplicationRecoveryPlansListResponse = RecoveryPlanCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12348,6 +15620,7 @@ export type ReplicationRecoveryPlansGetResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12367,6 +15640,7 @@ export type ReplicationRecoveryPlansCreateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12386,6 +15660,7 @@ export type ReplicationRecoveryPlansUpdateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12405,6 +15680,7 @@ export type ReplicationRecoveryPlansFailoverCommitResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12424,6 +15700,7 @@ export type ReplicationRecoveryPlansPlannedFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12443,6 +15720,7 @@ export type ReplicationRecoveryPlansReprotectResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12462,6 +15740,7 @@ export type ReplicationRecoveryPlansTestFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12481,6 +15760,7 @@ export type ReplicationRecoveryPlansTestFailoverCleanupResponse = RecoveryPlan & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12500,6 +15780,7 @@ export type ReplicationRecoveryPlansUnplannedFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12519,6 +15800,7 @@ export type ReplicationRecoveryPlansBeginCreateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12538,6 +15820,7 @@ export type ReplicationRecoveryPlansBeginUpdateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12557,6 +15840,7 @@ export type ReplicationRecoveryPlansBeginFailoverCommitResponse = RecoveryPlan & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12576,6 +15860,7 @@ export type ReplicationRecoveryPlansBeginPlannedFailoverResponse = RecoveryPlan * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12595,6 +15880,7 @@ export type ReplicationRecoveryPlansBeginReprotectResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12614,6 +15900,7 @@ export type ReplicationRecoveryPlansBeginTestFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12633,6 +15920,7 @@ export type ReplicationRecoveryPlansBeginTestFailoverCleanupResponse = RecoveryP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12652,6 +15940,7 @@ export type ReplicationRecoveryPlansBeginUnplannedFailoverResponse = RecoveryPla * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12671,6 +15960,7 @@ export type ReplicationRecoveryPlansListNextResponse = RecoveryPlanCollection & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12678,6 +15968,26 @@ export type ReplicationRecoveryPlansListNextResponse = RecoveryPlanCollection & }; }; +/** + * Contains response data for the get operation. + */ +export type SupportedOperatingSystemsGetResponse = SupportedOperatingSystems & { + /** + * 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: SupportedOperatingSystems; + }; +}; + /** * Contains response data for the get operation. */ @@ -12690,6 +16000,7 @@ export type ReplicationVaultHealthGetResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12709,6 +16020,7 @@ export type ReplicationVaultHealthRefreshResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12728,9 +16040,90 @@ export type ReplicationVaultHealthBeginRefreshResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ parsedBody: VaultHealthDetails; }; }; + +/** + * Contains response data for the list operation. + */ +export type ReplicationVaultSettingListResponse = VaultSettingCollection & { + /** + * 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: VaultSettingCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationVaultSettingGetResponse = VaultSetting & { + /** + * 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: VaultSetting; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type ReplicationVaultSettingCreateResponse = VaultSetting & { + /** + * 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: VaultSetting; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ReplicationVaultSettingListNextResponse = VaultSettingCollection & { + /** + * 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: VaultSettingCollection; + }; +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/mappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/mappers.ts index 334f3b50b4ba..b74327d803dd 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/mappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/mappers.ts @@ -1,11 +1,9 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -14,123 +12,6 @@ import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; -export const ApplyRecoveryPointProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "ApplyRecoveryPointProviderSpecificInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "ApplyRecoveryPointProviderSpecificInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", - type: { - name: "String" - } - } - } - } -}; - -export const A2AApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "A2AApplyRecoveryPointInput", - modelProperties: { - ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties - } - } -}; - -export const ReplicationProviderSpecificContainerCreationInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderSpecificContainerCreationInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReplicationProviderSpecificContainerCreationInput", - className: "ReplicationProviderSpecificContainerCreationInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", - type: { - name: "String" - } - } - } - } -}; - -export const A2AContainerCreationInput: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificContainerCreationInput", - className: "A2AContainerCreationInput", - modelProperties: { - ...ReplicationProviderSpecificContainerCreationInput.type.modelProperties - } - } -}; - -export const ReplicationProviderSpecificContainerMappingInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderSpecificContainerMappingInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReplicationProviderSpecificContainerMappingInput", - className: "ReplicationProviderSpecificContainerMappingInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", - type: { - name: "String" - } - } - } - } -}; - -export const A2AContainerMappingInput: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificContainerMappingInput", - className: "A2AContainerMappingInput", - modelProperties: { - ...ReplicationProviderSpecificContainerMappingInput.type.modelProperties, - agentAutoUpdateStatus: { - serializedName: "agentAutoUpdateStatus", - type: { - name: "String" - } - }, - automationAccountArmId: { - serializedName: "automationAccountArmId", - type: { - name: "String" - } - } - } - } -}; - export const A2AVmDiskInputDetails: msRest.CompositeMapper = { serializedName: "A2AVmDiskInputDetails", type: { @@ -159,46 +40,6 @@ export const A2AVmDiskInputDetails: msRest.CompositeMapper = { } }; -export const A2AVmManagedDiskInputDetails: msRest.CompositeMapper = { - serializedName: "A2AVmManagedDiskInputDetails", - type: { - name: "Composite", - className: "A2AVmManagedDiskInputDetails", - modelProperties: { - diskId: { - serializedName: "diskId", - type: { - name: "String" - } - }, - primaryStagingAzureStorageAccountId: { - serializedName: "primaryStagingAzureStorageAccountId", - type: { - name: "String" - } - }, - recoveryResourceGroupId: { - serializedName: "recoveryResourceGroupId", - type: { - name: "String" - } - }, - recoveryReplicaDiskAccountType: { - serializedName: "recoveryReplicaDiskAccountType", - type: { - name: "String" - } - }, - recoveryTargetDiskAccountType: { - serializedName: "recoveryTargetDiskAccountType", - type: { - name: "String" - } - } - } - } -}; - export const DiskEncryptionKeyInfo: msRest.CompositeMapper = { serializedName: "DiskEncryptionKeyInfo", type: { @@ -267,45 +108,20 @@ export const DiskEncryptionInfo: msRest.CompositeMapper = { } }; -export const EnableProtectionProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "EnableProtectionProviderSpecificInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "EnableProtectionProviderSpecificInput", - className: "EnableProtectionProviderSpecificInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", - type: { - name: "String" - } - } - } - } -}; - -export const A2AEnableProtectionInput: msRest.CompositeMapper = { - serializedName: "A2A", +export const A2AVmManagedDiskInputDetails: msRest.CompositeMapper = { + serializedName: "A2AVmManagedDiskInputDetails", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "A2AEnableProtectionInput", + className: "A2AVmManagedDiskInputDetails", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - fabricObjectId: { - serializedName: "fabricObjectId", + diskId: { + serializedName: "diskId", type: { name: "String" } }, - recoveryContainerId: { - serializedName: "recoveryContainerId", + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", type: { name: "String" } @@ -316,50 +132,20 @@ export const A2AEnableProtectionInput: msRest.CompositeMapper = { name: "String" } }, - recoveryCloudServiceId: { - serializedName: "recoveryCloudServiceId", - type: { - name: "String" - } - }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + recoveryReplicaDiskAccountType: { + serializedName: "recoveryReplicaDiskAccountType", type: { name: "String" } }, - vmDisks: { - serializedName: "vmDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AVmDiskInputDetails" - } - } - } - }, - vmManagedDisks: { - serializedName: "vmManagedDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AVmManagedDiskInputDetails" - } - } - } - }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", type: { name: "String" } }, - recoveryBootDiagStorageAccountId: { - serializedName: "recoveryBootDiagStorageAccountId", + recoveryDiskEncryptionSetId: { + serializedName: "recoveryDiskEncryptionSetId", type: { name: "String" } @@ -375,16 +161,16 @@ export const A2AEnableProtectionInput: msRest.CompositeMapper = { } }; -export const EventProviderSpecificDetails: msRest.CompositeMapper = { - serializedName: "EventProviderSpecificDetails", +export const AddDisksProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "AddDisksProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "EventProviderSpecificDetails", - className: "EventProviderSpecificDetails", + uberParent: "AddDisksProviderSpecificInput", + className: "AddDisksProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -397,65 +183,53 @@ export const EventProviderSpecificDetails: msRest.CompositeMapper = { } }; -export const A2AEventDetails: msRest.CompositeMapper = { +export const A2AAddDisksInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "A2AEventDetails", + polymorphicDiscriminator: AddDisksProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "AddDisksProviderSpecificInput", + className: "A2AAddDisksInput", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - protectedItemName: { - serializedName: "protectedItemName", - type: { - name: "String" - } - }, - fabricObjectId: { - serializedName: "fabricObjectId", + ...AddDisksProviderSpecificInput.type.modelProperties, + vmDisks: { + serializedName: "vmDisks", type: { - name: "String" - } - }, - fabricName: { - serializedName: "fabricName", - type: { - name: "String" - } - }, - fabricLocation: { - serializedName: "fabricLocation", - type: { - name: "String" - } - }, - remoteFabricName: { - serializedName: "remoteFabricName", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmDiskInputDetails" + } + } } }, - remoteFabricLocation: { - serializedName: "remoteFabricLocation", + vmManagedDisks: { + serializedName: "vmManagedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmManagedDiskInputDetails" + } + } } } } } }; -export const ProviderSpecificFailoverInput: msRest.CompositeMapper = { - serializedName: "ProviderSpecificFailoverInput", +export const ApplyRecoveryPointProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "ApplyRecoveryPointProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ProviderSpecificFailoverInput", - className: "ProviderSpecificFailoverInput", + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "ApplyRecoveryPointProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -468,23 +242,33 @@ export const ProviderSpecificFailoverInput: msRest.CompositeMapper = { } }; -export const A2AFailoverProviderInput: msRest.CompositeMapper = { +export const A2AApplyRecoveryPointInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "A2AFailoverProviderInput", + polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "A2AApplyRecoveryPointInput", modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - recoveryPointId: { - serializedName: "recoveryPointId", - type: { - name: "String" - } - }, - cloudServiceCreationOption: { - serializedName: "cloudServiceCreationOption", + ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties + } + } +}; + +export const ReplicationProviderSpecificContainerCreationInput: msRest.CompositeMapper = { + serializedName: "ReplicationProviderSpecificContainerCreationInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ReplicationProviderSpecificContainerCreationInput", + className: "ReplicationProviderSpecificContainerCreationInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -493,16 +277,29 @@ export const A2AFailoverProviderInput: msRest.CompositeMapper = { } }; -export const PolicyProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "PolicyProviderSpecificInput", +export const A2AContainerCreationInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerCreationInput", + className: "A2AContainerCreationInput", + modelProperties: { + ...ReplicationProviderSpecificContainerCreationInput.type.modelProperties + } + } +}; + +export const ReplicationProviderSpecificContainerMappingInput: msRest.CompositeMapper = { + serializedName: "ReplicationProviderSpecificContainerMappingInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "PolicyProviderSpecificInput", - className: "PolicyProviderSpecificInput", + uberParent: "ReplicationProviderSpecificContainerMappingInput", + className: "ReplicationProviderSpecificContainerMappingInput", modelProperties: { instanceType: { required: true, @@ -515,36 +312,67 @@ export const PolicyProviderSpecificInput: msRest.CompositeMapper = { } }; -export const A2APolicyCreationInput: msRest.CompositeMapper = { +export const A2AContainerMappingInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "A2APolicyCreationInput", + polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerMappingInput", + className: "A2AContainerMappingInput", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + ...ReplicationProviderSpecificContainerMappingInput.type.modelProperties, + agentAutoUpdateStatus: { + serializedName: "agentAutoUpdateStatus", type: { - name: "Number" + name: "String" } }, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", + automationAccountArmId: { + serializedName: "automationAccountArmId", type: { - name: "Number" + name: "String" } - }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + } + } + } +}; + +export const ProtectionProfileCustomDetails: msRest.CompositeMapper = { + serializedName: "ProtectionProfileCustomDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "resourceType", + clientName: "resourceType" + }, + uberParent: "ProtectionProfileCustomDetails", + className: "ProtectionProfileCustomDetails", + modelProperties: { + resourceType: { + required: true, + serializedName: "resourceType", type: { - name: "Number" + name: "String" } - }, - multiVmSyncStatus: { + } + } + } +}; + +export const StorageAccountCustomDetails: msRest.CompositeMapper = { + serializedName: "StorageAccountCustomDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "resourceType", + clientName: "resourceType" + }, + uberParent: "StorageAccountCustomDetails", + className: "StorageAccountCustomDetails", + modelProperties: { + resourceType: { required: true, - serializedName: "multiVmSyncStatus", + serializedName: "resourceType", type: { name: "String" } @@ -553,20 +381,20 @@ export const A2APolicyCreationInput: msRest.CompositeMapper = { } }; -export const PolicyProviderSpecificDetails: msRest.CompositeMapper = { - serializedName: "PolicyProviderSpecificDetails", +export const RecoveryAvailabilitySetCustomDetails: msRest.CompositeMapper = { + serializedName: "RecoveryAvailabilitySetCustomDetails", type: { name: "Composite", polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" + serializedName: "resourceType", + clientName: "resourceType" }, - uberParent: "PolicyProviderSpecificDetails", - className: "PolicyProviderSpecificDetails", + uberParent: "RecoveryAvailabilitySetCustomDetails", + className: "RecoveryAvailabilitySetCustomDetails", modelProperties: { - instanceType: { + resourceType: { required: true, - serializedName: "instanceType", + serializedName: "resourceType", type: { name: "String" } @@ -575,165 +403,173 @@ export const PolicyProviderSpecificDetails: msRest.CompositeMapper = { } }; -export const A2APolicyDetails: msRest.CompositeMapper = { - serializedName: "A2A", +export const RecoveryVirtualNetworkCustomDetails: msRest.CompositeMapper = { + serializedName: "RecoveryVirtualNetworkCustomDetails", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "A2APolicyDetails", + polymorphicDiscriminator: { + serializedName: "resourceType", + clientName: "resourceType" + }, + uberParent: "RecoveryVirtualNetworkCustomDetails", + className: "RecoveryVirtualNetworkCustomDetails", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", + resourceType: { + required: true, + serializedName: "resourceType", type: { - name: "Number" + name: "String" } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + } + } + } +}; + +export const RecoveryProximityPlacementGroupCustomDetails: msRest.CompositeMapper = { + serializedName: "RecoveryProximityPlacementGroupCustomDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "resourceType", + clientName: "resourceType" + }, + uberParent: "RecoveryProximityPlacementGroupCustomDetails", + className: "RecoveryProximityPlacementGroupCustomDetails", + modelProperties: { + resourceType: { + required: true, + serializedName: "resourceType", type: { - name: "Number" + name: "String" } - }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + } + } + } +}; + +export const A2AProtectionIntentDiskInputDetails: msRest.CompositeMapper = { + serializedName: "A2AProtectionIntentDiskInputDetails", + type: { + name: "Composite", + className: "A2AProtectionIntentDiskInputDetails", + modelProperties: { + diskUri: { + required: true, + serializedName: "diskUri", type: { - name: "Number" + name: "String" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + recoveryAzureStorageAccountCustomInput: { + serializedName: "recoveryAzureStorageAccountCustomInput", type: { - name: "String" + name: "Composite", + className: "StorageAccountCustomDetails" } }, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", + primaryStagingStorageAccountCustomInput: { + serializedName: "primaryStagingStorageAccountCustomInput", type: { - name: "Number" + name: "Composite", + className: "StorageAccountCustomDetails" } } } } }; -export const A2AProtectedDiskDetails: msRest.CompositeMapper = { - serializedName: "A2AProtectedDiskDetails", +export const RecoveryResourceGroupCustomDetails: msRest.CompositeMapper = { + serializedName: "RecoveryResourceGroupCustomDetails", type: { name: "Composite", - className: "A2AProtectedDiskDetails", + polymorphicDiscriminator: { + serializedName: "resourceType", + clientName: "resourceType" + }, + uberParent: "RecoveryResourceGroupCustomDetails", + className: "RecoveryResourceGroupCustomDetails", modelProperties: { - diskUri: { - serializedName: "diskUri", + resourceType: { + required: true, + serializedName: "resourceType", type: { name: "String" } - }, - recoveryAzureStorageAccountId: { - serializedName: "recoveryAzureStorageAccountId", + } + } + } +}; + +export const A2AProtectionIntentManagedDiskInputDetails: msRest.CompositeMapper = { + serializedName: "A2AProtectionIntentManagedDiskInputDetails", + type: { + name: "Composite", + className: "A2AProtectionIntentManagedDiskInputDetails", + modelProperties: { + diskId: { + required: true, + serializedName: "diskId", type: { name: "String" } }, - primaryDiskAzureStorageAccountId: { - serializedName: "primaryDiskAzureStorageAccountId", + primaryStagingStorageAccountCustomInput: { + serializedName: "primaryStagingStorageAccountCustomInput", type: { - name: "String" + name: "Composite", + className: "StorageAccountCustomDetails" } }, - recoveryDiskUri: { - serializedName: "recoveryDiskUri", + recoveryResourceGroupCustomInput: { + serializedName: "recoveryResourceGroupCustomInput", type: { - name: "String" + name: "Composite", + className: "RecoveryResourceGroupCustomDetails" } }, - diskName: { - serializedName: "diskName", + recoveryReplicaDiskAccountType: { + serializedName: "recoveryReplicaDiskAccountType", type: { name: "String" } }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", type: { - name: "Number" + name: "String" } }, - primaryStagingAzureStorageAccountId: { - serializedName: "primaryStagingAzureStorageAccountId", + recoveryDiskEncryptionSetId: { + serializedName: "recoveryDiskEncryptionSetId", type: { name: "String" } }, - diskType: { - serializedName: "diskType", - type: { - name: "String" - } - }, - resyncRequired: { - serializedName: "resyncRequired", - type: { - name: "Boolean" - } - }, - monitoringPercentageCompletion: { - serializedName: "monitoringPercentageCompletion", - type: { - name: "Number" - } - }, - monitoringJobType: { - serializedName: "monitoringJobType", - type: { - name: "String" - } - }, - dataPendingInStagingStorageAccountInMB: { - serializedName: "dataPendingInStagingStorageAccountInMB", - type: { - name: "Number" - } - }, - dataPendingAtSourceAgentInMB: { - serializedName: "dataPendingAtSourceAgentInMB", - type: { - name: "Number" - } - }, - isDiskEncrypted: { - serializedName: "isDiskEncrypted", - type: { - name: "Boolean" - } - }, - secretIdentifier: { - serializedName: "secretIdentifier", - type: { - name: "String" - } - }, - dekKeyVaultArmId: { - serializedName: "dekKeyVaultArmId", - type: { - name: "String" - } - }, - isDiskKeyEncrypted: { - serializedName: "isDiskKeyEncrypted", - type: { - name: "Boolean" - } - }, - keyIdentifier: { - serializedName: "keyIdentifier", + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", type: { - name: "String" + name: "Composite", + className: "DiskEncryptionInfo" } - }, - kekKeyVaultArmId: { - serializedName: "kekKeyVaultArmId", + } + } + } +}; + +export const CreateProtectionIntentProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "CreateProtectionIntentProviderSpecificDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "CreateProtectionIntentProviderSpecificDetails", + className: "CreateProtectionIntentProviderSpecificDetails", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -742,134 +578,150 @@ export const A2AProtectedDiskDetails: msRest.CompositeMapper = { } }; -export const A2AProtectedManagedDiskDetails: msRest.CompositeMapper = { - serializedName: "A2AProtectedManagedDiskDetails", +export const A2ACreateProtectionIntentInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "A2AProtectedManagedDiskDetails", + polymorphicDiscriminator: CreateProtectionIntentProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "CreateProtectionIntentProviderSpecificDetails", + className: "A2ACreateProtectionIntentInput", modelProperties: { - diskId: { - serializedName: "diskId", + ...CreateProtectionIntentProviderSpecificDetails.type.modelProperties, + fabricObjectId: { + required: true, + serializedName: "fabricObjectId", type: { name: "String" } }, - recoveryResourceGroupId: { - serializedName: "recoveryResourceGroupId", + primaryLocation: { + required: true, + serializedName: "primaryLocation", type: { name: "String" } }, - recoveryTargetDiskId: { - serializedName: "recoveryTargetDiskId", + recoveryLocation: { + required: true, + serializedName: "recoveryLocation", type: { name: "String" } }, - recoveryReplicaDiskId: { - serializedName: "recoveryReplicaDiskId", + recoverySubscriptionId: { + required: true, + serializedName: "recoverySubscriptionId", type: { name: "String" } }, - recoveryReplicaDiskAccountType: { - serializedName: "recoveryReplicaDiskAccountType", + recoveryAvailabilityType: { + required: true, + serializedName: "recoveryAvailabilityType", type: { name: "String" } }, - recoveryTargetDiskAccountType: { - serializedName: "recoveryTargetDiskAccountType", + protectionProfileCustomInput: { + serializedName: "protectionProfileCustomInput", type: { - name: "String" + name: "Composite", + className: "ProtectionProfileCustomDetails" } }, - diskName: { - serializedName: "diskName", + recoveryResourceGroupId: { + required: true, + serializedName: "recoveryResourceGroupId", type: { name: "String" } }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", - type: { - name: "Number" - } - }, - primaryStagingAzureStorageAccountId: { - serializedName: "primaryStagingAzureStorageAccountId", + primaryStagingStorageAccountCustomInput: { + serializedName: "primaryStagingStorageAccountCustomInput", type: { - name: "String" + name: "Composite", + className: "StorageAccountCustomDetails" } }, - diskType: { - serializedName: "diskType", + recoveryAvailabilitySetCustomInput: { + serializedName: "recoveryAvailabilitySetCustomInput", type: { - name: "String" + name: "Composite", + className: "RecoveryAvailabilitySetCustomDetails" } }, - resyncRequired: { - serializedName: "resyncRequired", + recoveryVirtualNetworkCustomInput: { + serializedName: "recoveryVirtualNetworkCustomInput", type: { - name: "Boolean" + name: "Composite", + className: "RecoveryVirtualNetworkCustomDetails" } }, - monitoringPercentageCompletion: { - serializedName: "monitoringPercentageCompletion", + recoveryProximityPlacementGroupCustomInput: { + serializedName: "recoveryProximityPlacementGroupCustomInput", type: { - name: "Number" + name: "Composite", + className: "RecoveryProximityPlacementGroupCustomDetails" } }, - monitoringJobType: { - serializedName: "monitoringJobType", + autoProtectionOfDataDisk: { + serializedName: "autoProtectionOfDataDisk", type: { name: "String" } }, - dataPendingInStagingStorageAccountInMB: { - serializedName: "dataPendingInStagingStorageAccountInMB", - type: { - name: "Number" - } - }, - dataPendingAtSourceAgentInMB: { - serializedName: "dataPendingAtSourceAgentInMB", + vmDisks: { + serializedName: "vmDisks", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AProtectionIntentDiskInputDetails" + } + } } }, - isDiskEncrypted: { - serializedName: "isDiskEncrypted", + vmManagedDisks: { + serializedName: "vmManagedDisks", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AProtectionIntentManagedDiskInputDetails" + } + } } }, - secretIdentifier: { - serializedName: "secretIdentifier", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { name: "String" } }, - dekKeyVaultArmId: { - serializedName: "dekKeyVaultArmId", + multiVmGroupId: { + serializedName: "multiVmGroupId", type: { name: "String" } }, - isDiskKeyEncrypted: { - serializedName: "isDiskKeyEncrypted", + recoveryBootDiagStorageAccount: { + serializedName: "recoveryBootDiagStorageAccount", type: { - name: "Boolean" + name: "Composite", + className: "StorageAccountCustomDetails" } }, - keyIdentifier: { - serializedName: "keyIdentifier", + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", type: { - name: "String" + name: "Composite", + className: "DiskEncryptionInfo" } }, - kekKeyVaultArmId: { - serializedName: "kekKeyVaultArmId", + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", type: { name: "String" } @@ -878,16 +730,16 @@ export const A2AProtectedManagedDiskDetails: msRest.CompositeMapper = { } }; -export const ProtectionContainerMappingProviderSpecificDetails: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMappingProviderSpecificDetails", +export const EnableProtectionProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "EnableProtectionProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ProtectionContainerMappingProviderSpecificDetails", - className: "ProtectionContainerMappingProviderSpecificDetails", + uberParent: "EnableProtectionProviderSpecificInput", + className: "EnableProtectionProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -900,204 +752,179 @@ export const ProtectionContainerMappingProviderSpecificDetails: msRest.Composite } }; -export const A2AProtectionContainerMappingDetails: msRest.CompositeMapper = { +export const A2AEnableProtectionInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "ProtectionContainerMappingProviderSpecificDetails", - className: "A2AProtectionContainerMappingDetails", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "A2AEnableProtectionInput", modelProperties: { - ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, - agentAutoUpdateStatus: { - serializedName: "agentAutoUpdateStatus", + ...EnableProtectionProviderSpecificInput.type.modelProperties, + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } }, - automationAccountArmId: { - serializedName: "automationAccountArmId", + recoveryContainerId: { + serializedName: "recoveryContainerId", type: { name: "String" } }, - scheduleName: { - serializedName: "scheduleName", + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", type: { name: "String" } }, - jobScheduleName: { - serializedName: "jobScheduleName", + recoveryCloudServiceId: { + serializedName: "recoveryCloudServiceId", type: { name: "String" } - } - } - } -}; - -export const ProviderSpecificRecoveryPointDetails: msRest.CompositeMapper = { - serializedName: "ProviderSpecificRecoveryPointDetails", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ProviderSpecificRecoveryPointDetails", - className: "ProviderSpecificRecoveryPointDetails", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", - type: { - name: "String" - } - } - } - } -}; - -export const A2ARecoveryPointDetails: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificRecoveryPointDetails", - className: "A2ARecoveryPointDetails", - modelProperties: { - ...ProviderSpecificRecoveryPointDetails.type.modelProperties, - recoveryPointSyncType: { - serializedName: "recoveryPointSyncType", - type: { - name: "String" - } - } - } - } -}; - -export const VMNicDetails: msRest.CompositeMapper = { - serializedName: "VMNicDetails", - type: { - name: "Composite", - className: "VMNicDetails", - modelProperties: { - nicId: { - serializedName: "nicId", - type: { - name: "String" - } - }, - replicaNicId: { - serializedName: "replicaNicId", + }, + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { name: "String" } }, - sourceNicArmId: { - serializedName: "sourceNicArmId", + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", type: { name: "String" } }, - vMSubnetName: { - serializedName: "vMSubnetName", + vmDisks: { + serializedName: "vmDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmDiskInputDetails" + } + } } }, - vMNetworkName: { - serializedName: "vMNetworkName", + vmManagedDisks: { + serializedName: "vmManagedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmManagedDiskInputDetails" + } + } } }, - recoveryVMNetworkId: { - serializedName: "recoveryVMNetworkId", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { name: "String" } }, - recoveryVMSubnetName: { - serializedName: "recoveryVMSubnetName", + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", type: { name: "String" } }, - ipAddressType: { - serializedName: "ipAddressType", + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", type: { - name: "String" + name: "Composite", + className: "DiskEncryptionInfo" } }, - primaryNicStaticIPAddress: { - serializedName: "primaryNicStaticIPAddress", + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", type: { name: "String" } }, - replicaNicStaticIPAddress: { - serializedName: "replicaNicStaticIPAddress", + recoveryAzureNetworkId: { + serializedName: "recoveryAzureNetworkId", type: { name: "String" } }, - selectionType: { - serializedName: "selectionType", + recoverySubnetName: { + serializedName: "recoverySubnetName", type: { name: "String" } - }, - recoveryNicIpAddressType: { - serializedName: "recoveryNicIpAddressType", + } + } + } +}; + +export const EventProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "EventProviderSpecificDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "EventProviderSpecificDetails", + className: "EventProviderSpecificDetails", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - enableAcceleratedNetworkingOnRecovery: { - serializedName: "enableAcceleratedNetworkingOnRecovery", - type: { - name: "Boolean" - } } } } }; -export const RoleAssignment: msRest.CompositeMapper = { - serializedName: "RoleAssignment", +export const A2AEventDetails: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "RoleAssignment", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "A2AEventDetails", modelProperties: { - id: { - serializedName: "id", + ...EventProviderSpecificDetails.type.modelProperties, + protectedItemName: { + serializedName: "protectedItemName", type: { name: "String" } }, - name: { - serializedName: "name", + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } }, - scope: { - serializedName: "scope", + fabricName: { + serializedName: "fabricName", type: { name: "String" } }, - principalId: { - serializedName: "principalId", + fabricLocation: { + serializedName: "fabricLocation", type: { name: "String" } }, - roleDefinitionId: { - serializedName: "roleDefinitionId", + remoteFabricName: { + serializedName: "remoteFabricName", + type: { + name: "String" + } + }, + remoteFabricLocation: { + serializedName: "remoteFabricLocation", type: { name: "String" } @@ -1106,32 +933,20 @@ export const RoleAssignment: msRest.CompositeMapper = { } }; -export const InputEndpoint: msRest.CompositeMapper = { - serializedName: "InputEndpoint", +export const ProviderSpecificFailoverInput: msRest.CompositeMapper = { + serializedName: "ProviderSpecificFailoverInput", type: { name: "Composite", - className: "InputEndpoint", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ProviderSpecificFailoverInput", + className: "ProviderSpecificFailoverInput", modelProperties: { - endpointName: { - serializedName: "endpointName", - type: { - name: "String" - } - }, - privatePort: { - serializedName: "privatePort", - type: { - name: "Number" - } - }, - publicPort: { - serializedName: "publicPort", - type: { - name: "Number" - } - }, - protocol: { - serializedName: "protocol", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -1140,61 +955,41 @@ export const InputEndpoint: msRest.CompositeMapper = { } }; -export const AzureToAzureVmSyncedConfigDetails: msRest.CompositeMapper = { - serializedName: "AzureToAzureVmSyncedConfigDetails", +export const A2AFailoverProviderInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "AzureToAzureVmSyncedConfigDetails", + polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificFailoverInput", + className: "A2AFailoverProviderInput", modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - roleAssignments: { - serializedName: "roleAssignments", + ...ProviderSpecificFailoverInput.type.modelProperties, + recoveryPointId: { + serializedName: "recoveryPointId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RoleAssignment" - } - } + name: "String" } }, - inputEndpoints: { - serializedName: "inputEndpoints", + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InputEndpoint" - } - } + name: "String" } } } } }; -export const ReplicationProviderSpecificSettings: msRest.CompositeMapper = { - serializedName: "ReplicationProviderSpecificSettings", +export const PolicyProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "PolicyProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ReplicationProviderSpecificSettings", - className: "ReplicationProviderSpecificSettings", + uberParent: "PolicyProviderSpecificInput", + className: "PolicyProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -1207,146 +1002,167 @@ export const ReplicationProviderSpecificSettings: msRest.CompositeMapper = { } }; -export const A2AReplicationDetails: msRest.CompositeMapper = { +export const A2APolicyCreationInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "A2AReplicationDetails", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "A2APolicyCreationInput", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - fabricObjectId: { - serializedName: "fabricObjectId", + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointHistory: { + serializedName: "recoveryPointHistory", type: { - name: "String" + name: "Number" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - multiVmGroupCreateOption: { - serializedName: "multiVmGroupCreateOption", + multiVmSyncStatus: { + required: true, + serializedName: "multiVmSyncStatus", type: { name: "String" } - }, - managementId: { - serializedName: "managementId", + } + } + } +}; + +export const PolicyProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "PolicyProviderSpecificDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "PolicyProviderSpecificDetails", + className: "PolicyProviderSpecificDetails", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - protectedDisks: { - serializedName: "protectedDisks", + } + } + } +}; + +export const A2APolicyDetails: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "A2APolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AProtectedDiskDetails" - } - } + name: "Number" } }, - protectedManagedDisks: { - serializedName: "protectedManagedDisks", + recoveryPointHistory: { + serializedName: "recoveryPointHistory", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AProtectedManagedDiskDetails" - } - } + name: "Number" } }, - recoveryBootDiagStorageAccountId: { - serializedName: "recoveryBootDiagStorageAccountId", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - primaryFabricLocation: { - serializedName: "primaryFabricLocation", + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", type: { name: "String" } }, - recoveryFabricLocation: { - serializedName: "recoveryFabricLocation", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } - }, - osType: { - serializedName: "osType", + } + } + } +}; + +export const A2AProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AProtectedDiskDetails", + type: { + name: "Composite", + className: "A2AProtectedDiskDetails", + modelProperties: { + diskUri: { + serializedName: "diskUri", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + recoveryAzureStorageAccountId: { + serializedName: "recoveryAzureStorageAccountId", type: { name: "String" } }, - recoveryAzureVMName: { - serializedName: "recoveryAzureVMName", + primaryDiskAzureStorageAccountId: { + serializedName: "primaryDiskAzureStorageAccountId", type: { name: "String" } }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + recoveryDiskUri: { + serializedName: "recoveryDiskUri", type: { name: "String" } }, - recoveryCloudService: { - serializedName: "recoveryCloudService", + diskName: { + serializedName: "diskName", type: { name: "String" } }, - recoveryAvailabilitySet: { - serializedName: "recoveryAvailabilitySet", + diskCapacityInBytes: { + serializedName: "diskCapacityInBytes", type: { - name: "String" + name: "Number" } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", type: { name: "String" } }, - vmNics: { - serializedName: "vmNics", + diskType: { + serializedName: "diskType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "String" } }, - vmSyncedConfigDetails: { - serializedName: "vmSyncedConfigDetails", + resyncRequired: { + serializedName: "resyncRequired", type: { - name: "Composite", - className: "AzureToAzureVmSyncedConfigDetails" + name: "Boolean" } }, monitoringPercentageCompletion: { @@ -1361,259 +1177,256 @@ export const A2AReplicationDetails: msRest.CompositeMapper = { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + dataPendingInStagingStorageAccountInMB: { + serializedName: "dataPendingInStagingStorageAccountInMB", type: { - name: "DateTime" + name: "Number" } }, - agentVersion: { - serializedName: "agentVersion", + dataPendingAtSourceAgentInMB: { + serializedName: "dataPendingAtSourceAgentInMB", type: { - name: "String" + name: "Number" } }, - isReplicationAgentUpdateRequired: { - serializedName: "isReplicationAgentUpdateRequired", + diskState: { + serializedName: "diskState", type: { - name: "Boolean" + name: "String" } }, - recoveryFabricObjectId: { - serializedName: "recoveryFabricObjectId", + allowedDiskLevelOperation: { + serializedName: "allowedDiskLevelOperation", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - vmProtectionState: { - serializedName: "vmProtectionState", + isDiskEncrypted: { + serializedName: "isDiskEncrypted", type: { - name: "String" + name: "Boolean" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + secretIdentifier: { + serializedName: "secretIdentifier", type: { name: "String" } }, - lifecycleId: { - serializedName: "lifecycleId", + dekKeyVaultArmId: { + serializedName: "dekKeyVaultArmId", type: { name: "String" } }, - testFailoverRecoveryFabricObjectId: { - serializedName: "testFailoverRecoveryFabricObjectId", + isDiskKeyEncrypted: { + serializedName: "isDiskKeyEncrypted", type: { - name: "String" + name: "Boolean" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + keyIdentifier: { + serializedName: "keyIdentifier", type: { - name: "Number" + name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + kekKeyVaultArmId: { + serializedName: "kekKeyVaultArmId", type: { - name: "DateTime" + name: "String" } } } } }; -export const ReverseReplicationProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "ReverseReplicationProviderSpecificInput", +export const A2AProtectedManagedDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AProtectedManagedDiskDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "ReverseReplicationProviderSpecificInput", + className: "A2AProtectedManagedDiskDetails", modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + diskId: { + serializedName: "diskId", type: { name: "String" } - } - } - } -}; - -export const A2AReprotectInput: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "A2AReprotectInput", - modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - recoveryContainerId: { - serializedName: "recoveryContainerId", + }, + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", type: { name: "String" } }, - vmDisks: { - serializedName: "vmDisks", + recoveryTargetDiskId: { + serializedName: "recoveryTargetDiskId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AVmDiskInputDetails" - } - } + name: "String" } }, - recoveryResourceGroupId: { - serializedName: "recoveryResourceGroupId", + recoveryReplicaDiskId: { + serializedName: "recoveryReplicaDiskId", type: { name: "String" } }, - recoveryCloudServiceId: { - serializedName: "recoveryCloudServiceId", + recoveryReplicaDiskAccountType: { + serializedName: "recoveryReplicaDiskAccountType", type: { name: "String" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", type: { name: "String" } }, - policyId: { - serializedName: "policyId", + recoveryDiskEncryptionSetId: { + serializedName: "recoveryDiskEncryptionSetId", type: { name: "String" } - } - } - } -}; - -export const SwitchProtectionProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "SwitchProtectionProviderSpecificInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "SwitchProtectionProviderSpecificInput", - className: "SwitchProtectionProviderSpecificInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + }, + diskName: { + serializedName: "diskName", type: { name: "String" } - } - } - } -}; - -export const A2ASwitchProtectionInput: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: SwitchProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "SwitchProtectionProviderSpecificInput", - className: "A2ASwitchProtectionInput", - modelProperties: { - ...SwitchProtectionProviderSpecificInput.type.modelProperties, - recoveryContainerId: { - serializedName: "recoveryContainerId", + }, + diskCapacityInBytes: { + serializedName: "diskCapacityInBytes", + type: { + name: "Number" + } + }, + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", type: { name: "String" } }, - vmDisks: { - serializedName: "vmDisks", + diskType: { + serializedName: "diskType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AVmDiskInputDetails" - } - } + name: "String" } }, - vmManagedDisks: { - serializedName: "vmManagedDisks", + resyncRequired: { + serializedName: "resyncRequired", + type: { + name: "Boolean" + } + }, + monitoringPercentageCompletion: { + serializedName: "monitoringPercentageCompletion", + type: { + name: "Number" + } + }, + monitoringJobType: { + serializedName: "monitoringJobType", + type: { + name: "String" + } + }, + dataPendingInStagingStorageAccountInMB: { + serializedName: "dataPendingInStagingStorageAccountInMB", + type: { + name: "Number" + } + }, + dataPendingAtSourceAgentInMB: { + serializedName: "dataPendingAtSourceAgentInMB", + type: { + name: "Number" + } + }, + diskState: { + serializedName: "diskState", + type: { + name: "String" + } + }, + allowedDiskLevelOperation: { + serializedName: "allowedDiskLevelOperation", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "A2AVmManagedDiskInputDetails" + name: "String" } } } }, - recoveryResourceGroupId: { - serializedName: "recoveryResourceGroupId", + isDiskEncrypted: { + serializedName: "isDiskEncrypted", + type: { + name: "Boolean" + } + }, + secretIdentifier: { + serializedName: "secretIdentifier", type: { name: "String" } }, - recoveryCloudServiceId: { - serializedName: "recoveryCloudServiceId", + dekKeyVaultArmId: { + serializedName: "dekKeyVaultArmId", type: { name: "String" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + isDiskKeyEncrypted: { + serializedName: "isDiskKeyEncrypted", + type: { + name: "Boolean" + } + }, + keyIdentifier: { + serializedName: "keyIdentifier", type: { name: "String" } }, - policyId: { - serializedName: "policyId", + kekKeyVaultArmId: { + serializedName: "kekKeyVaultArmId", type: { name: "String" } }, - recoveryBootDiagStorageAccountId: { - serializedName: "recoveryBootDiagStorageAccountId", + failoverDiskName: { + serializedName: "failoverDiskName", type: { name: "String" } }, - diskEncryptionInfo: { - serializedName: "diskEncryptionInfo", + tfoDiskName: { + serializedName: "tfoDiskName", type: { - name: "Composite", - className: "DiskEncryptionInfo" + name: "String" } } } } }; -export const ReplicationProviderSpecificUpdateContainerMappingInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderSpecificUpdateContainerMappingInput", +export const ProtectionContainerMappingProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "ProtectionContainerMappingProviderSpecificDetails", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", - className: "ReplicationProviderSpecificUpdateContainerMappingInput", + uberParent: "ProtectionContainerMappingProviderSpecificDetails", + className: "ProtectionContainerMappingProviderSpecificDetails", modelProperties: { instanceType: { required: true, @@ -1626,15 +1439,15 @@ export const ReplicationProviderSpecificUpdateContainerMappingInput: msRest.Comp } }; -export const A2AUpdateContainerMappingInput: msRest.CompositeMapper = { +export const A2AProtectionContainerMappingDetails: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificUpdateContainerMappingInput.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", - className: "A2AUpdateContainerMappingInput", + polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionContainerMappingProviderSpecificDetails", + className: "A2AProtectionContainerMappingDetails", modelProperties: { - ...ReplicationProviderSpecificUpdateContainerMappingInput.type.modelProperties, + ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, agentAutoUpdateStatus: { serializedName: "agentAutoUpdateStatus", type: { @@ -1646,49 +1459,85 @@ export const A2AUpdateContainerMappingInput: msRest.CompositeMapper = { type: { name: "String" } + }, + scheduleName: { + serializedName: "scheduleName", + type: { + name: "String" + } + }, + jobScheduleName: { + serializedName: "jobScheduleName", + type: { + name: "String" + } } } } }; -export const A2AVmManagedDiskUpdateDetails: msRest.CompositeMapper = { - serializedName: "A2AVmManagedDiskUpdateDetails", +export const ProviderSpecificRecoveryPointDetails: msRest.CompositeMapper = { + serializedName: "ProviderSpecificRecoveryPointDetails", type: { name: "Composite", - className: "A2AVmManagedDiskUpdateDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "ProviderSpecificRecoveryPointDetails", modelProperties: { - diskId: { - serializedName: "diskId", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - recoveryTargetDiskAccountType: { - serializedName: "recoveryTargetDiskAccountType", + } + } + } +}; + +export const A2ARecoveryPointDetails: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "A2ARecoveryPointDetails", + modelProperties: { + ...ProviderSpecificRecoveryPointDetails.type.modelProperties, + recoveryPointSyncType: { + serializedName: "recoveryPointSyncType", type: { name: "String" } }, - recoveryReplicaDiskAccountType: { - serializedName: "recoveryReplicaDiskAccountType", + disks: { + serializedName: "disks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const UpdateReplicationProtectedItemProviderInput: msRest.CompositeMapper = { - serializedName: "UpdateReplicationProtectedItemProviderInput", +export const RemoveDisksProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "RemoveDisksProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "UpdateReplicationProtectedItemProviderInput", - className: "UpdateReplicationProtectedItemProviderInput", + uberParent: "RemoveDisksProviderSpecificInput", + className: "RemoveDisksProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -1701,127 +1550,182 @@ export const UpdateReplicationProtectedItemProviderInput: msRest.CompositeMapper } }; -export const A2AUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { +export const A2ARemoveDisksInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, - uberParent: "UpdateReplicationProtectedItemProviderInput", - className: "A2AUpdateReplicationProtectedItemInput", + polymorphicDiscriminator: RemoveDisksProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "RemoveDisksProviderSpecificInput", + className: "A2ARemoveDisksInput", modelProperties: { - ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, - recoveryCloudServiceId: { - serializedName: "recoveryCloudServiceId", - type: { - name: "String" - } - }, - recoveryResourceGroupId: { - serializedName: "recoveryResourceGroupId", - type: { - name: "String" - } - }, - managedDiskUpdateDetails: { - serializedName: "managedDiskUpdateDetails", + ...RemoveDisksProviderSpecificInput.type.modelProperties, + vmDisksUris: { + serializedName: "vmDisksUris", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "A2AVmManagedDiskUpdateDetails" + name: "String" } } } }, - recoveryBootDiagStorageAccountId: { - serializedName: "recoveryBootDiagStorageAccountId", - type: { - name: "String" - } - }, - diskEncryptionInfo: { - serializedName: "diskEncryptionInfo", + vmManagedDisksIds: { + serializedName: "vmManagedDisksIds", type: { - name: "Composite", - className: "DiskEncryptionInfo" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const AddVCenterRequestProperties: msRest.CompositeMapper = { - serializedName: "AddVCenterRequestProperties", +export const A2AUnprotectedDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AUnprotectedDiskDetails", type: { name: "Composite", - className: "AddVCenterRequestProperties", + className: "A2AUnprotectedDiskDetails", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + diskLunId: { + serializedName: "diskLunId", type: { - name: "String" + name: "Number" } - }, - ipAddress: { - serializedName: "ipAddress", - type: { - name: "String" - } - }, - processServerId: { - serializedName: "processServerId", + } + } + } +}; + +export const IPConfig: msRest.CompositeMapper = { + serializedName: "IPConfig", + type: { + name: "Composite", + className: "IPConfig", + modelProperties: { + staticIPAddress: { + serializedName: "staticIPAddress", type: { name: "String" } }, - port: { - serializedName: "port", + publicIpAddressId: { + serializedName: "publicIpAddressId", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + lBBackendAddressPoolIds: { + serializedName: "lBBackendAddressPoolIds", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const AddVCenterRequest: msRest.CompositeMapper = { - serializedName: "AddVCenterRequest", +export const VMNicDetails: msRest.CompositeMapper = { + serializedName: "VMNicDetails", type: { name: "Composite", - className: "AddVCenterRequest", + className: "VMNicDetails", modelProperties: { - properties: { - serializedName: "properties", + nicId: { + serializedName: "nicId", type: { - name: "Composite", - className: "AddVCenterRequestProperties" + name: "String" } - } - } - } -}; - -export const AlertProperties: msRest.CompositeMapper = { - serializedName: "AlertProperties", - type: { - name: "Composite", - className: "AlertProperties", - modelProperties: { - sendToOwners: { - serializedName: "sendToOwners", + }, + replicaNicId: { + serializedName: "replicaNicId", type: { name: "String" } }, - customEmailAddresses: { - serializedName: "customEmailAddresses", + sourceNicArmId: { + serializedName: "sourceNicArmId", + type: { + name: "String" + } + }, + vMSubnetName: { + serializedName: "vMSubnetName", + type: { + name: "String" + } + }, + vMNetworkName: { + serializedName: "vMNetworkName", + type: { + name: "String" + } + }, + recoveryVMNetworkId: { + serializedName: "recoveryVMNetworkId", + type: { + name: "String" + } + }, + recoveryVMSubnetName: { + serializedName: "recoveryVMSubnetName", + type: { + name: "String" + } + }, + ipAddressType: { + serializedName: "ipAddressType", + type: { + name: "String" + } + }, + primaryNicStaticIPAddress: { + serializedName: "primaryNicStaticIPAddress", + type: { + name: "String" + } + }, + replicaNicStaticIPAddress: { + serializedName: "replicaNicStaticIPAddress", + type: { + name: "String" + } + }, + selectionType: { + serializedName: "selectionType", + type: { + name: "String" + } + }, + recoveryNicIpAddressType: { + serializedName: "recoveryNicIpAddressType", + type: { + name: "String" + } + }, + recoveryPublicIpAddressId: { + serializedName: "recoveryPublicIpAddressId", + type: { + name: "String" + } + }, + recoveryNetworkSecurityGroupId: { + serializedName: "recoveryNetworkSecurityGroupId", + type: { + name: "String" + } + }, + recoveryLBBackendAddressPoolIds: { + serializedName: "recoveryLBBackendAddressPoolIds", type: { name: "Sequence", element: { @@ -1831,133 +1735,168 @@ export const AlertProperties: msRest.CompositeMapper = { } } }, - locale: { - serializedName: "locale", + enableAcceleratedNetworkingOnRecovery: { + serializedName: "enableAcceleratedNetworkingOnRecovery", + type: { + name: "Boolean" + } + }, + tfoVMNetworkId: { + serializedName: "tfoVMNetworkId", type: { name: "String" } - } - } - } -}; - -export const Resource: msRest.CompositeMapper = { - serializedName: "Resource", - type: { - name: "Composite", - className: "Resource", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", + }, + tfoVMSubnetName: { + serializedName: "tfoVMSubnetName", type: { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + tfoNetworkSecurityGroupId: { + serializedName: "tfoNetworkSecurityGroupId", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + enableAcceleratedNetworkingOnTfo: { + serializedName: "enableAcceleratedNetworkingOnTfo", + type: { + name: "Boolean" + } + }, + tfoIPConfigs: { + serializedName: "tfoIPConfigs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPConfig" + } + } + } + }, + recoveryNicName: { + serializedName: "recoveryNicName", type: { name: "String" } }, - location: { - serializedName: "location", + recoveryNicResourceGroupName: { + serializedName: "recoveryNicResourceGroupName", + type: { + name: "String" + } + }, + reuseExistingNic: { + serializedName: "reuseExistingNic", + defaultValue: false, + type: { + name: "Boolean" + } + }, + tfoRecoveryNicName: { + serializedName: "tfoRecoveryNicName", + type: { + name: "String" + } + }, + tfoRecoveryNicResourceGroupName: { + serializedName: "tfoRecoveryNicResourceGroupName", type: { name: "String" } + }, + tfoReuseExistingNic: { + serializedName: "tfoReuseExistingNic", + defaultValue: false, + type: { + name: "Boolean" + } } } } }; -export const Alert: msRest.CompositeMapper = { - serializedName: "Alert", +export const InputEndpoint: msRest.CompositeMapper = { + serializedName: "InputEndpoint", type: { name: "Composite", - className: "Alert", + className: "InputEndpoint", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + endpointName: { + serializedName: "endpointName", type: { - name: "Composite", - className: "AlertProperties" + name: "String" + } + }, + privatePort: { + serializedName: "privatePort", + type: { + name: "Number" + } + }, + publicPort: { + serializedName: "publicPort", + type: { + name: "Number" + } + }, + protocol: { + serializedName: "protocol", + type: { + name: "String" } } } } }; -export const ApplyRecoveryPointInputProperties: msRest.CompositeMapper = { - serializedName: "ApplyRecoveryPointInputProperties", +export const AzureToAzureVmSyncedConfigDetails: msRest.CompositeMapper = { + serializedName: "AzureToAzureVmSyncedConfigDetails", type: { name: "Composite", - className: "ApplyRecoveryPointInputProperties", + className: "AzureToAzureVmSyncedConfigDetails", modelProperties: { - recoveryPointId: { - serializedName: "recoveryPointId", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + inputEndpoints: { + serializedName: "inputEndpoints", type: { - name: "Composite", - className: "ApplyRecoveryPointProviderSpecificInput" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InputEndpoint" + } + } } } } } }; -export const ApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "ApplyRecoveryPointInput", - type: { - name: "Composite", - className: "ApplyRecoveryPointInput", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "ApplyRecoveryPointInputProperties" - } - } - } - } -}; - -export const JobDetails: msRest.CompositeMapper = { - serializedName: "JobDetails", +export const ReplicationProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "ReplicationProviderSpecificSettings", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "JobDetails", - className: "JobDetails", + uberParent: "ReplicationProviderSpecificSettings", + className: "ReplicationProviderSpecificSettings", modelProperties: { - affectedObjectDetails: { - serializedName: "affectedObjectDetails", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, instanceType: { required: true, serializedName: "instanceType", @@ -1969,414 +1908,315 @@ export const JobDetails: msRest.CompositeMapper = { } }; -export const AsrJobDetails: msRest.CompositeMapper = { - serializedName: "AsrJobDetails", - type: { - name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "AsrJobDetails", - modelProperties: { - ...JobDetails.type.modelProperties - } - } -}; - -export const TaskTypeDetails: msRest.CompositeMapper = { - serializedName: "TaskTypeDetails", +export const A2AReplicationDetails: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "TaskTypeDetails", - className: "TaskTypeDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "A2AReplicationDetails", modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + ...ReplicationProviderSpecificSettings.type.modelProperties, + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } - } - } - } -}; - -export const GroupTaskDetails: msRest.CompositeMapper = { - serializedName: "GroupTaskDetails", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "GroupTaskDetails", - className: "GroupTaskDetails", - modelProperties: { - childTasks: { - serializedName: "childTasks", + }, + initialPrimaryFabricLocation: { + readOnly: true, + serializedName: "initialPrimaryFabricLocation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ASRTask" - } - } + name: "String" } }, - instanceType: { - required: true, - serializedName: "instanceType", + initialRecoveryFabricLocation: { + readOnly: true, + serializedName: "initialRecoveryFabricLocation", type: { name: "String" } - } - } - } -}; - -export const ServiceError: msRest.CompositeMapper = { - serializedName: "ServiceError", - type: { - name: "Composite", - className: "ServiceError", - modelProperties: { - code: { - serializedName: "code", + }, + initialPrimaryZone: { + readOnly: true, + serializedName: "initialPrimaryZone", type: { name: "String" } }, - message: { - serializedName: "message", + initialRecoveryZone: { + readOnly: true, + serializedName: "initialRecoveryZone", type: { name: "String" } }, - possibleCauses: { - serializedName: "possibleCauses", + multiVmGroupId: { + serializedName: "multiVmGroupId", type: { name: "String" } }, - recommendedAction: { - serializedName: "recommendedAction", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { name: "String" } }, - activityId: { - serializedName: "activityId", + multiVmGroupCreateOption: { + serializedName: "multiVmGroupCreateOption", type: { name: "String" } - } - } - } -}; - -export const ProviderError: msRest.CompositeMapper = { - serializedName: "ProviderError", - type: { - name: "Composite", - className: "ProviderError", - modelProperties: { - errorCode: { - serializedName: "errorCode", + }, + managementId: { + serializedName: "managementId", type: { - name: "Number" + name: "String" } }, - errorMessage: { - serializedName: "errorMessage", + protectedDisks: { + serializedName: "protectedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AProtectedDiskDetails" + } + } } }, - errorId: { - serializedName: "errorId", + unprotectedDisks: { + serializedName: "unprotectedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AUnprotectedDiskDetails" + } + } } }, - possibleCauses: { - serializedName: "possibleCauses", + protectedManagedDisks: { + serializedName: "protectedManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AProtectedManagedDiskDetails" + } + } + } + }, + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", type: { name: "String" } }, - recommendedAction: { - serializedName: "recommendedAction", + primaryFabricLocation: { + serializedName: "primaryFabricLocation", type: { name: "String" } - } - } - } -}; - -export const JobErrorDetails: msRest.CompositeMapper = { - serializedName: "JobErrorDetails", - type: { - name: "Composite", - className: "JobErrorDetails", - modelProperties: { - serviceErrorDetails: { - serializedName: "serviceErrorDetails", + }, + recoveryFabricLocation: { + serializedName: "recoveryFabricLocation", type: { - name: "Composite", - className: "ServiceError" + name: "String" } }, - providerErrorDetails: { - serializedName: "providerErrorDetails", + osType: { + serializedName: "osType", type: { - name: "Composite", - className: "ProviderError" + name: "String" } }, - errorLevel: { - serializedName: "errorLevel", + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", type: { name: "String" } }, - creationTime: { - serializedName: "creationTime", + recoveryAzureVMName: { + serializedName: "recoveryAzureVMName", type: { - name: "DateTime" + name: "String" } }, - taskId: { - serializedName: "taskId", + recoveryAzureResourceGroupId: { + serializedName: "recoveryAzureResourceGroupId", type: { name: "String" } - } - } - } -}; - -export const ASRTask: msRest.CompositeMapper = { - serializedName: "ASRTask", - type: { - name: "Composite", - className: "ASRTask", - modelProperties: { - taskId: { - serializedName: "taskId", + }, + recoveryCloudService: { + serializedName: "recoveryCloudService", type: { name: "String" } }, - name: { - serializedName: "name", + recoveryAvailabilitySet: { + serializedName: "recoveryAvailabilitySet", type: { name: "String" } }, - startTime: { - serializedName: "startTime", + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", type: { - name: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", + selectedTfoAzureNetworkId: { + serializedName: "selectedTfoAzureNetworkId", type: { - name: "DateTime" + name: "String" } }, - allowedActions: { - serializedName: "allowedActions", + vmNics: { + serializedName: "vmNics", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "VMNicDetails" } } } }, - friendlyName: { - serializedName: "friendlyName", + vmSyncedConfigDetails: { + serializedName: "vmSyncedConfigDetails", type: { - name: "String" + name: "Composite", + className: "AzureToAzureVmSyncedConfigDetails" } }, - state: { - serializedName: "state", + monitoringPercentageCompletion: { + serializedName: "monitoringPercentageCompletion", type: { - name: "String" + name: "Number" } }, - stateDescription: { - serializedName: "stateDescription", + monitoringJobType: { + serializedName: "monitoringJobType", type: { name: "String" } }, - taskType: { - serializedName: "taskType", + lastHeartbeat: { + serializedName: "lastHeartbeat", type: { - name: "String" + name: "DateTime" } }, - customDetails: { - serializedName: "customDetails", + agentVersion: { + serializedName: "agentVersion", type: { - name: "Composite", - className: "TaskTypeDetails" + name: "String" } }, - groupTaskCustomDetails: { - serializedName: "groupTaskCustomDetails", + isReplicationAgentUpdateRequired: { + serializedName: "isReplicationAgentUpdateRequired", type: { - name: "Composite", - className: "GroupTaskDetails" + name: "Boolean" } }, - errors: { - serializedName: "errors", + recoveryFabricObjectId: { + serializedName: "recoveryFabricObjectId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobErrorDetails" - } - } + name: "String" } - } - } - } -}; - -export const AutomationRunbookTaskDetails: msRest.CompositeMapper = { - serializedName: "AutomationRunbookTaskDetails", - type: { - name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "AutomationRunbookTaskDetails", - modelProperties: { - ...TaskTypeDetails.type.modelProperties, - name: { - serializedName: "name", + }, + vmProtectionState: { + serializedName: "vmProtectionState", type: { name: "String" } }, - cloudServiceName: { - serializedName: "cloudServiceName", + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", type: { name: "String" } }, - subscriptionId: { - serializedName: "subscriptionId", + lifecycleId: { + serializedName: "lifecycleId", type: { name: "String" } }, - accountName: { - serializedName: "accountName", + testFailoverRecoveryFabricObjectId: { + serializedName: "testFailoverRecoveryFabricObjectId", type: { name: "String" } }, - runbookId: { - serializedName: "runbookId", + rpoInSeconds: { + serializedName: "rpoInSeconds", type: { - name: "String" + name: "Number" } }, - runbookName: { - serializedName: "runbookName", + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", + type: { + name: "DateTime" + } + }, + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", type: { name: "String" } }, - jobId: { - serializedName: "jobId", + vmEncryptionType: { + readOnly: true, + serializedName: "vmEncryptionType", type: { name: "String" } }, - jobOutput: { - serializedName: "jobOutput", + tfoAzureVMName: { + serializedName: "tfoAzureVMName", type: { name: "String" } }, - isPrimarySideScript: { - serializedName: "isPrimarySideScript", + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", type: { - name: "Boolean" + name: "String" } } } } }; -export const FabricSpecificCreationInput: msRest.CompositeMapper = { - serializedName: "FabricSpecificCreationInput", +export const A2AVmDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AVmDiskDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificCreationInput", - className: "FabricSpecificCreationInput", + className: "A2AVmDiskDetails", modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + diskUri: { + serializedName: "diskUri", type: { name: "String" } - } - } - } -}; - -export const AzureFabricCreationInput: msRest.CompositeMapper = { - serializedName: "Azure", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreationInput", - className: "AzureFabricCreationInput", - modelProperties: { - ...FabricSpecificCreationInput.type.modelProperties, - location: { - serializedName: "location", + }, + recoveryAzureStorageAccountId: { + serializedName: "recoveryAzureStorageAccountId", type: { name: "String" } - } - } - } -}; - -export const FabricSpecificDetails: msRest.CompositeMapper = { - serializedName: "FabricSpecificDetails", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificDetails", - className: "FabricSpecificDetails", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + }, + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", type: { name: "String" } @@ -2385,87 +2225,69 @@ export const FabricSpecificDetails: msRest.CompositeMapper = { } }; -export const AzureFabricSpecificDetails: msRest.CompositeMapper = { - serializedName: "Azure", +export const A2AVmManagedDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AVmManagedDiskDetails", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, - uberParent: "FabricSpecificDetails", - className: "AzureFabricSpecificDetails", + className: "A2AVmManagedDiskDetails", modelProperties: { - ...FabricSpecificDetails.type.modelProperties, - location: { - serializedName: "location", + diskId: { + serializedName: "diskId", type: { name: "String" } }, - containerIds: { - serializedName: "containerIds", + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const FabricSpecificCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "FabricSpecificCreateNetworkMappingInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "FabricSpecificCreateNetworkMappingInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + }, + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", type: { name: "String" } - } - } - } -}; - -export const AzureToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "AzureToAzure", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "AzureToAzureCreateNetworkMappingInput", - modelProperties: { - ...FabricSpecificCreateNetworkMappingInput.type.modelProperties, - primaryNetworkId: { - serializedName: "primaryNetworkId", + }, + recoveryReplicaDiskAccountType: { + serializedName: "recoveryReplicaDiskAccountType", + type: { + name: "String" + } + }, + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", + type: { + name: "String" + } + }, + recoveryDiskEncryptionSetId: { + serializedName: "recoveryDiskEncryptionSetId", type: { name: "String" } + }, + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", + type: { + name: "Composite", + className: "DiskEncryptionInfo" + } } } } }; -export const NetworkMappingFabricSpecificSettings: msRest.CompositeMapper = { - serializedName: "NetworkMappingFabricSpecificSettings", +export const ReplicationProtectionIntentProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "ReplicationProtectionIntentProviderSpecificSettings", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "NetworkMappingFabricSpecificSettings", + uberParent: "ReplicationProtectionIntentProviderSpecificSettings", + className: "ReplicationProtectionIntentProviderSpecificSettings", modelProperties: { instanceType: { required: true, @@ -2478,138 +2300,156 @@ export const NetworkMappingFabricSpecificSettings: msRest.CompositeMapper = { } }; -export const AzureToAzureNetworkMappingSettings: msRest.CompositeMapper = { - serializedName: "AzureToAzure", +export const A2AReplicationIntentDetails: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "AzureToAzureNetworkMappingSettings", + polymorphicDiscriminator: ReplicationProtectionIntentProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProtectionIntentProviderSpecificSettings", + className: "A2AReplicationIntentDetails", modelProperties: { - ...NetworkMappingFabricSpecificSettings.type.modelProperties, - primaryFabricLocation: { - serializedName: "primaryFabricLocation", + ...ReplicationProtectionIntentProviderSpecificSettings.type.modelProperties, + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } }, - recoveryFabricLocation: { - serializedName: "recoveryFabricLocation", - type: { + policyId: { + serializedName: "policyId", + type: { name: "String" } - } - } - } -}; - -export const FabricSpecificUpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "FabricSpecificUpdateNetworkMappingInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificUpdateNetworkMappingInput", - className: "FabricSpecificUpdateNetworkMappingInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + }, + primaryLocation: { + serializedName: "primaryLocation", type: { name: "String" } - } - } - } -}; - -export const AzureToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "AzureToAzure", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificUpdateNetworkMappingInput", - className: "AzureToAzureUpdateNetworkMappingInput", - modelProperties: { - ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties, - primaryNetworkId: { - serializedName: "primaryNetworkId", + }, + recoveryLocation: { + serializedName: "recoveryLocation", type: { name: "String" } - } - } - } -}; - -export const AzureVmDiskDetails: msRest.CompositeMapper = { - serializedName: "AzureVmDiskDetails", - type: { - name: "Composite", - className: "AzureVmDiskDetails", - modelProperties: { - vhdType: { - serializedName: "vhdType", + }, + recoverySubscriptionId: { + serializedName: "recoverySubscriptionId", type: { name: "String" } }, - vhdId: { - serializedName: "vhdId", + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } }, - vhdName: { - serializedName: "vhdName", + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", type: { name: "String" } }, - maxSizeMB: { - serializedName: "maxSizeMB", + primaryContainerFriendlyName: { + serializedName: "primaryContainerFriendlyName", type: { name: "String" } }, - targetDiskLocation: { - serializedName: "targetDiskLocation", + recoveryContainerFriendlyName: { + serializedName: "recoveryContainerFriendlyName", type: { name: "String" } }, - targetDiskName: { - serializedName: "targetDiskName", + recoveryAvailabilityType: { + serializedName: "recoveryAvailabilityType", type: { name: "String" } }, - lunId: { - serializedName: "lunId", + vmDisks: { + serializedName: "vmDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmDiskDetails" + } + } + } + }, + vmManagedDisks: { + serializedName: "vmManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmManagedDiskDetails" + } + } + } + }, + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", type: { name: "String" } - } - } - } -}; - -export const ComputeSizeErrorDetails: msRest.CompositeMapper = { - serializedName: "ComputeSizeErrorDetails", - type: { - name: "Composite", - className: "ComputeSizeErrorDetails", - modelProperties: { - message: { - serializedName: "message", + }, + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { name: "String" } }, - severity: { - serializedName: "severity", + recoveryVirtualNetworkId: { + serializedName: "recoveryVirtualNetworkId", + type: { + name: "String" + } + }, + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", + type: { + name: "String" + } + }, + autoProtectionOfDataDiskStatus: { + serializedName: "autoProtectionOfDataDiskStatus", + type: { + name: "String" + } + }, + multiVmGroupName: { + serializedName: "multiVmGroupName", + type: { + name: "String" + } + }, + multiVmGroupId: { + serializedName: "multiVmGroupId", + type: { + name: "String" + } + }, + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", + type: { + name: "String" + } + }, + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", + type: { + name: "Composite", + className: "DiskEncryptionInfo" + } + }, + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", type: { name: "String" } @@ -2618,16 +2458,16 @@ export const ComputeSizeErrorDetails: msRest.CompositeMapper = { } }; -export const ConfigurationSettings: msRest.CompositeMapper = { - serializedName: "ConfigurationSettings", +export const ReverseReplicationProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "ReverseReplicationProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ConfigurationSettings", - className: "ConfigurationSettings", + uberParent: "ReverseReplicationProviderSpecificInput", + className: "ReverseReplicationProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -2640,31 +2480,53 @@ export const ConfigurationSettings: msRest.CompositeMapper = { } }; -export const ConfigureAlertRequestProperties: msRest.CompositeMapper = { - serializedName: "ConfigureAlertRequestProperties", +export const A2AReprotectInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "ConfigureAlertRequestProperties", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "A2AReprotectInput", modelProperties: { - sendToOwners: { - serializedName: "sendToOwners", + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + recoveryContainerId: { + serializedName: "recoveryContainerId", type: { name: "String" } }, - customEmailAddresses: { - serializedName: "customEmailAddresses", + vmDisks: { + serializedName: "vmDisks", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "A2AVmDiskInputDetails" } } } }, - locale: { - serializedName: "locale", + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", + type: { + name: "String" + } + }, + recoveryCloudServiceId: { + serializedName: "recoveryCloudServiceId", + type: { + name: "String" + } + }, + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", + type: { + name: "String" + } + }, + policyId: { + serializedName: "policyId", type: { name: "String" } @@ -2673,271 +2535,294 @@ export const ConfigureAlertRequestProperties: msRest.CompositeMapper = { } }; -export const ConfigureAlertRequest: msRest.CompositeMapper = { - serializedName: "ConfigureAlertRequest", +export const SwitchProtectionProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "SwitchProtectionProviderSpecificInput", type: { name: "Composite", - className: "ConfigureAlertRequest", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "SwitchProtectionProviderSpecificInput", + className: "SwitchProtectionProviderSpecificInput", modelProperties: { - properties: { - serializedName: "properties", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "ConfigureAlertRequestProperties" + name: "String" } } } } }; -export const InconsistentVmDetails: msRest.CompositeMapper = { - serializedName: "InconsistentVmDetails", +export const A2ASwitchProtectionInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "InconsistentVmDetails", + polymorphicDiscriminator: SwitchProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "SwitchProtectionProviderSpecificInput", + className: "A2ASwitchProtectionInput", modelProperties: { - vmName: { - serializedName: "vmName", - type: { - name: "String" - } - }, - cloudName: { - serializedName: "cloudName", + ...SwitchProtectionProviderSpecificInput.type.modelProperties, + recoveryContainerId: { + serializedName: "recoveryContainerId", type: { name: "String" } }, - details: { - serializedName: "details", + vmDisks: { + serializedName: "vmDisks", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "A2AVmDiskInputDetails" } } } }, - errorIds: { - serializedName: "errorIds", + vmManagedDisks: { + serializedName: "vmManagedDisks", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "A2AVmManagedDiskInputDetails" } } } - } - } - } -}; - -export const ConsistencyCheckTaskDetails: msRest.CompositeMapper = { - serializedName: "ConsistencyCheckTaskDetails", - type: { - name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "ConsistencyCheckTaskDetails", - modelProperties: { - ...TaskTypeDetails.type.modelProperties, - vmDetails: { - serializedName: "vmDetails", + }, + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InconsistentVmDetails" - } - } + name: "String" } - } - } - } -}; - -export const CreateNetworkMappingInputProperties: msRest.CompositeMapper = { - serializedName: "CreateNetworkMappingInputProperties", - type: { - name: "Composite", - className: "CreateNetworkMappingInputProperties", - modelProperties: { - recoveryFabricName: { - serializedName: "recoveryFabricName", + }, + recoveryCloudServiceId: { + serializedName: "recoveryCloudServiceId", type: { name: "String" } }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { name: "String" } }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", + type: { + name: "String" + } + }, + policyId: { + serializedName: "policyId", + type: { + name: "String" + } + }, + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", + type: { + name: "String" + } + }, + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", type: { name: "Composite", - className: "FabricSpecificCreateNetworkMappingInput" + className: "DiskEncryptionInfo" } } } } }; -export const CreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "CreateNetworkMappingInput", +export const TestFailoverProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "TestFailoverProviderSpecificInput", type: { name: "Composite", - className: "CreateNetworkMappingInput", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "TestFailoverProviderSpecificInput", + className: "TestFailoverProviderSpecificInput", modelProperties: { - properties: { - serializedName: "properties", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "CreateNetworkMappingInputProperties" + name: "String" } } } } }; -export const CreatePolicyInputProperties: msRest.CompositeMapper = { - serializedName: "CreatePolicyInputProperties", +export const A2ATestFailoverInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "CreatePolicyInputProperties", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "A2ATestFailoverInput", modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + ...TestFailoverProviderSpecificInput.type.modelProperties, + recoveryPointId: { + serializedName: "recoveryPointId", type: { - name: "Composite", - className: "PolicyProviderSpecificInput" + name: "String" + } + }, + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", + type: { + name: "String" } } } } }; -export const CreatePolicyInput: msRest.CompositeMapper = { - serializedName: "CreatePolicyInput", +export const UnplannedFailoverProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverProviderSpecificInput", type: { name: "Composite", - className: "CreatePolicyInput", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "UnplannedFailoverProviderSpecificInput", modelProperties: { - properties: { - serializedName: "properties", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "CreatePolicyInputProperties" + name: "String" } } } } }; -export const CreateProtectionContainerInputProperties: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerInputProperties", +export const A2AUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "CreateProtectionContainerInputProperties", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "A2AUnplannedFailoverInput", modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + recoveryPointId: { + serializedName: "recoveryPointId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ReplicationProviderSpecificContainerCreationInput" - } - } + name: "String" + } + }, + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", + type: { + name: "String" } } } } }; -export const CreateProtectionContainerInput: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerInput", +export const ReplicationProviderSpecificUpdateContainerMappingInput: msRest.CompositeMapper = { + serializedName: "ReplicationProviderSpecificUpdateContainerMappingInput", type: { name: "Composite", - className: "CreateProtectionContainerInput", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", + className: "ReplicationProviderSpecificUpdateContainerMappingInput", modelProperties: { - properties: { - serializedName: "properties", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "CreateProtectionContainerInputProperties" + name: "String" } } } } }; -export const CreateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerMappingInputProperties", +export const A2AUpdateContainerMappingInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "CreateProtectionContainerMappingInputProperties", + polymorphicDiscriminator: ReplicationProviderSpecificUpdateContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", + className: "A2AUpdateContainerMappingInput", modelProperties: { - targetProtectionContainerId: { - serializedName: "targetProtectionContainerId", + ...ReplicationProviderSpecificUpdateContainerMappingInput.type.modelProperties, + agentAutoUpdateStatus: { + serializedName: "agentAutoUpdateStatus", type: { name: "String" } }, - policyId: { - serializedName: "policyId", + automationAccountArmId: { + serializedName: "automationAccountArmId", type: { name: "String" } - }, - providerSpecificInput: { - serializedName: "providerSpecificInput", - type: { - name: "Composite", - className: "ReplicationProviderSpecificContainerMappingInput" - } } } } }; -export const CreateProtectionContainerMappingInput: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerMappingInput", +export const A2AVmManagedDiskUpdateDetails: msRest.CompositeMapper = { + serializedName: "A2AVmManagedDiskUpdateDetails", type: { name: "Composite", - className: "CreateProtectionContainerMappingInput", + className: "A2AVmManagedDiskUpdateDetails", modelProperties: { - properties: { - serializedName: "properties", + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", + type: { + name: "String" + } + }, + recoveryReplicaDiskAccountType: { + serializedName: "recoveryReplicaDiskAccountType", + type: { + name: "String" + } + }, + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", type: { name: "Composite", - className: "CreateProtectionContainerMappingInputProperties" + className: "DiskEncryptionInfo" } - } - } - } -}; - -export const RecoveryPlanProtectedItem: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProtectedItem", - type: { - name: "Composite", - className: "RecoveryPlanProtectedItem", - modelProperties: { - id: { - serializedName: "id", + }, + failoverDiskName: { + serializedName: "failoverDiskName", type: { name: "String" } }, - virtualMachineId: { - serializedName: "virtualMachineId", + tfoDiskName: { + serializedName: "tfoDiskName", type: { name: "String" } @@ -2946,16 +2831,16 @@ export const RecoveryPlanProtectedItem: msRest.CompositeMapper = { } }; -export const RecoveryPlanActionDetails: msRest.CompositeMapper = { - serializedName: "RecoveryPlanActionDetails", +export const UpdateReplicationProtectedItemProviderInput: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemProviderInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanActionDetails", + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "UpdateReplicationProtectedItemProviderInput", modelProperties: { instanceType: { required: true, @@ -2968,229 +2853,139 @@ export const RecoveryPlanActionDetails: msRest.CompositeMapper = { } }; -export const RecoveryPlanAction: msRest.CompositeMapper = { - serializedName: "RecoveryPlanAction", +export const A2AUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "RecoveryPlanAction", + polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "A2AUpdateReplicationProtectedItemInput", modelProperties: { - actionName: { - required: true, - serializedName: "actionName", + ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, + recoveryCloudServiceId: { + serializedName: "recoveryCloudServiceId", type: { name: "String" } }, - failoverTypes: { - required: true, - serializedName: "failoverTypes", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - failoverDirections: { - required: true, - serializedName: "failoverDirections", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - customDetails: { - required: true, - serializedName: "customDetails", - type: { - name: "Composite", - className: "RecoveryPlanActionDetails" - } - } - } - } -}; - -export const RecoveryPlanGroup: msRest.CompositeMapper = { - serializedName: "RecoveryPlanGroup", - type: { - name: "Composite", - className: "RecoveryPlanGroup", - modelProperties: { - groupType: { - required: true, - serializedName: "groupType", - type: { - name: "String" - } - }, - replicationProtectedItems: { - serializedName: "replicationProtectedItems", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanProtectedItem" - } - } - } - }, - startGroupActions: { - serializedName: "startGroupActions", + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", + type: { + name: "String" + } + }, + managedDiskUpdateDetails: { + serializedName: "managedDiskUpdateDetails", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanAction" + className: "A2AVmManagedDiskUpdateDetails" } } } }, - endGroupActions: { - serializedName: "endGroupActions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanAction" - } - } - } - } - } - } -}; - -export const CreateRecoveryPlanInputProperties: msRest.CompositeMapper = { - serializedName: "CreateRecoveryPlanInputProperties", - type: { - name: "Composite", - className: "CreateRecoveryPlanInputProperties", - modelProperties: { - primaryFabricId: { - required: true, - serializedName: "primaryFabricId", + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", type: { name: "String" } }, - recoveryFabricId: { - required: true, - serializedName: "recoveryFabricId", + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", type: { - name: "String" + name: "Composite", + className: "DiskEncryptionInfo" } }, - failoverDeploymentModel: { - serializedName: "failoverDeploymentModel", + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", type: { name: "String" } }, - groups: { - required: true, - serializedName: "groups", + tfoAzureVMName: { + serializedName: "tfoAzureVMName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanGroup" - } - } + name: "String" } } } } }; -export const CreateRecoveryPlanInput: msRest.CompositeMapper = { - serializedName: "CreateRecoveryPlanInput", +export const AddDisksInputProperties: msRest.CompositeMapper = { + serializedName: "AddDisksInputProperties", type: { name: "Composite", - className: "CreateRecoveryPlanInput", + className: "AddDisksInputProperties", modelProperties: { - properties: { - required: true, - serializedName: "properties", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "CreateRecoveryPlanInputProperties" + className: "AddDisksProviderSpecificInput" } } } } }; -export const CurrentScenarioDetails: msRest.CompositeMapper = { - serializedName: "CurrentScenarioDetails", +export const AddDisksInput: msRest.CompositeMapper = { + serializedName: "AddDisksInput", type: { name: "Composite", - className: "CurrentScenarioDetails", + className: "AddDisksInput", modelProperties: { - scenarioName: { - serializedName: "scenarioName", - type: { - name: "String" - } - }, - jobId: { - serializedName: "jobId", - type: { - name: "String" - } - }, - startTime: { - serializedName: "startTime", + properties: { + serializedName: "properties", type: { - name: "DateTime" + name: "Composite", + className: "AddDisksInputProperties" } } } } }; -export const DataStore: msRest.CompositeMapper = { - serializedName: "DataStore", +export const IdentityProviderInput: msRest.CompositeMapper = { + serializedName: "IdentityProviderInput", type: { name: "Composite", - className: "DataStore", + className: "IdentityProviderInput", modelProperties: { - symbolicName: { - serializedName: "symbolicName", + tenantId: { + required: true, + serializedName: "tenantId", type: { name: "String" } }, - uuid: { - serializedName: "uuid", + applicationId: { + required: true, + serializedName: "applicationId", type: { name: "String" } }, - capacity: { - serializedName: "capacity", + objectId: { + required: true, + serializedName: "objectId", type: { name: "String" } }, - freeSpace: { - serializedName: "freeSpace", + audience: { + required: true, + serializedName: "audience", type: { name: "String" } }, - type: { - serializedName: "type", + aadAuthority: { + required: true, + serializedName: "aadAuthority", type: { name: "String" } @@ -3199,73 +2994,75 @@ export const DataStore: msRest.CompositeMapper = { } }; -export const DisableProtectionProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "DisableProtectionProviderSpecificInput", +export const AddRecoveryServicesProviderInputProperties: msRest.CompositeMapper = { + serializedName: "AddRecoveryServicesProviderInputProperties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "DisableProtectionProviderSpecificInput", - className: "DisableProtectionProviderSpecificInput", + className: "AddRecoveryServicesProviderInputProperties", modelProperties: { - instanceType: { + machineName: { required: true, - serializedName: "instanceType", + serializedName: "machineName", type: { name: "String" } - } - } - } -}; - -export const DisableProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "DisableProtectionInputProperties", - type: { - name: "Composite", - className: "DisableProtectionInputProperties", - modelProperties: { - disableProtectionReason: { - serializedName: "disableProtectionReason", + }, + machineId: { + serializedName: "machineId", type: { name: "String" } }, - replicationProviderInput: { - serializedName: "replicationProviderInput", + authenticationIdentityInput: { + required: true, + serializedName: "authenticationIdentityInput", type: { name: "Composite", - className: "DisableProtectionProviderSpecificInput" + className: "IdentityProviderInput" + } + }, + resourceAccessIdentityInput: { + required: true, + serializedName: "resourceAccessIdentityInput", + type: { + name: "Composite", + className: "IdentityProviderInput" + } + }, + dataPlaneAuthenticationIdentityInput: { + serializedName: "dataPlaneAuthenticationIdentityInput", + type: { + name: "Composite", + className: "IdentityProviderInput" } } } } }; -export const DisableProtectionInput: msRest.CompositeMapper = { - serializedName: "DisableProtectionInput", +export const AddRecoveryServicesProviderInput: msRest.CompositeMapper = { + serializedName: "AddRecoveryServicesProviderInput", type: { name: "Composite", - className: "DisableProtectionInput", + className: "AddRecoveryServicesProviderInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "DisableProtectionInputProperties" + className: "AddRecoveryServicesProviderInputProperties" } } } } }; -export const DiscoverProtectableItemRequestProperties: msRest.CompositeMapper = { - serializedName: "DiscoverProtectableItemRequestProperties", +export const AddVCenterRequestProperties: msRest.CompositeMapper = { + serializedName: "AddVCenterRequestProperties", type: { name: "Composite", - className: "DiscoverProtectableItemRequestProperties", + className: "AddVCenterRequestProperties", modelProperties: { friendlyName: { serializedName: "friendlyName", @@ -3279,8 +3076,20 @@ export const DiscoverProtectableItemRequestProperties: msRest.CompositeMapper = name: "String" } }, - osType: { - serializedName: "osType", + processServerId: { + serializedName: "processServerId", + type: { + name: "String" + } + }, + port: { + serializedName: "port", + type: { + name: "String" + } + }, + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } @@ -3289,71 +3098,144 @@ export const DiscoverProtectableItemRequestProperties: msRest.CompositeMapper = } }; -export const DiscoverProtectableItemRequest: msRest.CompositeMapper = { - serializedName: "DiscoverProtectableItemRequest", +export const AddVCenterRequest: msRest.CompositeMapper = { + serializedName: "AddVCenterRequest", type: { name: "Composite", - className: "DiscoverProtectableItemRequest", + className: "AddVCenterRequest", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "DiscoverProtectableItemRequestProperties" + className: "AddVCenterRequestProperties" } } } } }; -export const DiskDetails: msRest.CompositeMapper = { - serializedName: "DiskDetails", +export const AgentDiskDetails: msRest.CompositeMapper = { + serializedName: "AgentDiskDetails", type: { name: "Composite", - className: "DiskDetails", + className: "AgentDiskDetails", modelProperties: { - maxSizeMB: { - serializedName: "maxSizeMB", + diskId: { + readOnly: true, + serializedName: "diskId", type: { - name: "Number" + name: "String" } }, - vhdType: { - serializedName: "vhdType", + diskName: { + readOnly: true, + serializedName: "diskName", type: { name: "String" } }, - vhdId: { - serializedName: "vhdId", + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", type: { name: "String" } }, - vhdName: { - serializedName: "vhdName", + capacityInBytes: { + readOnly: true, + serializedName: "capacityInBytes", + type: { + name: "Number" + } + }, + lunId: { + readOnly: true, + serializedName: "lunId", + type: { + name: "Number" + } + } + } + } +}; + +export const AgentDetails: msRest.CompositeMapper = { + serializedName: "AgentDetails", + type: { + name: "Composite", + className: "AgentDetails", + modelProperties: { + agentId: { + readOnly: true, + serializedName: "agentId", + type: { + name: "String" + } + }, + machineId: { + readOnly: true, + serializedName: "machineId", + type: { + name: "String" + } + }, + biosId: { + readOnly: true, + serializedName: "biosId", + type: { + name: "String" + } + }, + fqdn: { + readOnly: true, + serializedName: "fqdn", type: { name: "String" } + }, + disks: { + readOnly: true, + serializedName: "disks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AgentDiskDetails" + } + } + } } } } }; -export const DiskVolumeDetails: msRest.CompositeMapper = { - serializedName: "DiskVolumeDetails", +export const AlertProperties: msRest.CompositeMapper = { + serializedName: "AlertProperties", type: { name: "Composite", - className: "DiskVolumeDetails", + className: "AlertProperties", modelProperties: { - label: { - serializedName: "label", + sendToOwners: { + serializedName: "sendToOwners", type: { name: "String" } }, - name: { - serializedName: "name", + customEmailAddresses: { + serializedName: "customEmailAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + locale: { + serializedName: "locale", type: { name: "String" } @@ -3362,32 +3244,35 @@ export const DiskVolumeDetails: msRest.CompositeMapper = { } }; -export const Display: msRest.CompositeMapper = { - serializedName: "Display", +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", type: { name: "Composite", - className: "Display", + className: "Resource", modelProperties: { - provider: { - serializedName: "provider", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - resource: { - serializedName: "resource", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - operation: { - serializedName: "operation", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - description: { - serializedName: "description", + location: { + serializedName: "location", type: { name: "String" } @@ -3396,20 +3281,32 @@ export const Display: msRest.CompositeMapper = { } }; -export const EnableProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "EnableProtectionInputProperties", +export const Alert: msRest.CompositeMapper = { + serializedName: "Alert", type: { name: "Composite", - className: "EnableProtectionInputProperties", + className: "Alert", modelProperties: { - policyId: { - serializedName: "policyId", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "AlertProperties" } - }, - protectableItemId: { - serializedName: "protectableItemId", + } + } + } +}; + +export const ApplyRecoveryPointInputProperties: msRest.CompositeMapper = { + serializedName: "ApplyRecoveryPointInputProperties", + type: { + name: "Composite", + className: "ApplyRecoveryPointInputProperties", + modelProperties: { + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } @@ -3418,68 +3315,86 @@ export const EnableProtectionInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "EnableProtectionProviderSpecificInput" + className: "ApplyRecoveryPointProviderSpecificInput" } } } } }; -export const EnableProtectionInput: msRest.CompositeMapper = { - serializedName: "EnableProtectionInput", +export const ApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "ApplyRecoveryPointInput", type: { name: "Composite", - className: "EnableProtectionInput", + className: "ApplyRecoveryPointInput", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "EnableProtectionInputProperties" + className: "ApplyRecoveryPointInputProperties" } } } } }; -export const EncryptionDetails: msRest.CompositeMapper = { - serializedName: "EncryptionDetails", +export const JobDetails: msRest.CompositeMapper = { + serializedName: "JobDetails", type: { name: "Composite", - className: "EncryptionDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "JobDetails", + className: "JobDetails", modelProperties: { - kekState: { - serializedName: "kekState", + affectedObjectDetails: { + serializedName: "affectedObjectDetails", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - kekCertThumbprint: { - serializedName: "kekCertThumbprint", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - kekCertExpiryDate: { - serializedName: "kekCertExpiryDate", - type: { - name: "DateTime" - } } } } }; -export const EventSpecificDetails: msRest.CompositeMapper = { - serializedName: "EventSpecificDetails", +export const AsrJobDetails: msRest.CompositeMapper = { + serializedName: "AsrJobDetails", + type: { + name: "Composite", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "AsrJobDetails", + modelProperties: { + ...JobDetails.type.modelProperties + } + } +}; + +export const TaskTypeDetails: msRest.CompositeMapper = { + serializedName: "TaskTypeDetails", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "EventSpecificDetails", - className: "EventSpecificDetails", + uberParent: "TaskTypeDetails", + className: "TaskTypeDetails", modelProperties: { instanceType: { required: true, @@ -3492,80 +3407,112 @@ export const EventSpecificDetails: msRest.CompositeMapper = { } }; -export const InnerHealthError: msRest.CompositeMapper = { - serializedName: "InnerHealthError", +export const GroupTaskDetails: msRest.CompositeMapper = { + serializedName: "GroupTaskDetails", type: { name: "Composite", - className: "InnerHealthError", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "GroupTaskDetails", + className: "GroupTaskDetails", modelProperties: { - errorSource: { - serializedName: "errorSource", + childTasks: { + serializedName: "childTasks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ASRTask" + } + } } }, - errorType: { - serializedName: "errorType", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - errorLevel: { - serializedName: "errorLevel", + } + } + } +}; + +export const ServiceError: msRest.CompositeMapper = { + serializedName: "ServiceError", + type: { + name: "Composite", + className: "ServiceError", + modelProperties: { + code: { + serializedName: "code", type: { name: "String" } }, - errorCategory: { - serializedName: "errorCategory", + message: { + serializedName: "message", type: { name: "String" } }, - errorCode: { - serializedName: "errorCode", + possibleCauses: { + serializedName: "possibleCauses", type: { name: "String" } }, - summaryMessage: { - serializedName: "summaryMessage", + recommendedAction: { + serializedName: "recommendedAction", type: { name: "String" } }, - errorMessage: { - serializedName: "errorMessage", + activityId: { + serializedName: "activityId", type: { name: "String" } - }, - possibleCauses: { - serializedName: "possibleCauses", + } + } + } +}; + +export const ProviderError: msRest.CompositeMapper = { + serializedName: "ProviderError", + type: { + name: "Composite", + className: "ProviderError", + modelProperties: { + errorCode: { + serializedName: "errorCode", type: { - name: "String" + name: "Number" } }, - recommendedAction: { - serializedName: "recommendedAction", + errorMessage: { + serializedName: "errorMessage", type: { name: "String" } }, - creationTimeUtc: { - serializedName: "creationTimeUtc", + errorId: { + serializedName: "errorId", type: { - name: "DateTime" + name: "String" } }, - recoveryProviderErrorMessage: { - serializedName: "recoveryProviderErrorMessage", + possibleCauses: { + serializedName: "possibleCauses", type: { name: "String" } }, - entityId: { - serializedName: "entityId", + recommendedAction: { + serializedName: "recommendedAction", type: { name: "String" } @@ -3574,34 +3521,24 @@ export const InnerHealthError: msRest.CompositeMapper = { } }; -export const HealthError: msRest.CompositeMapper = { - serializedName: "HealthError", +export const JobErrorDetails: msRest.CompositeMapper = { + serializedName: "JobErrorDetails", type: { name: "Composite", - className: "HealthError", + className: "JobErrorDetails", modelProperties: { - innerHealthErrors: { - serializedName: "innerHealthErrors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InnerHealthError" - } - } - } - }, - errorSource: { - serializedName: "errorSource", + serviceErrorDetails: { + serializedName: "serviceErrorDetails", type: { - name: "String" + name: "Composite", + className: "ServiceError" } }, - errorType: { - serializedName: "errorType", + providerErrorDetails: { + serializedName: "providerErrorDetails", type: { - name: "String" + name: "Composite", + className: "ProviderError" } }, errorLevel: { @@ -3610,56 +3547,14 @@ export const HealthError: msRest.CompositeMapper = { name: "String" } }, - errorCategory: { - serializedName: "errorCategory", - type: { - name: "String" - } - }, - errorCode: { - serializedName: "errorCode", - type: { - name: "String" - } - }, - summaryMessage: { - serializedName: "summaryMessage", - type: { - name: "String" - } - }, - errorMessage: { - serializedName: "errorMessage", - type: { - name: "String" - } - }, - possibleCauses: { - serializedName: "possibleCauses", - type: { - name: "String" - } - }, - recommendedAction: { - serializedName: "recommendedAction", - type: { - name: "String" - } - }, - creationTimeUtc: { - serializedName: "creationTimeUtc", + creationTime: { + serializedName: "creationTime", type: { name: "DateTime" } }, - recoveryProviderErrorMessage: { - serializedName: "recoveryProviderErrorMessage", - type: { - name: "String" - } - }, - entityId: { - serializedName: "entityId", + taskId: { + serializedName: "taskId", type: { name: "String" } @@ -3668,76 +3563,93 @@ export const HealthError: msRest.CompositeMapper = { } }; -export const EventProperties: msRest.CompositeMapper = { - serializedName: "EventProperties", +export const ASRTask: msRest.CompositeMapper = { + serializedName: "ASRTask", type: { name: "Composite", - className: "EventProperties", + className: "ASRTask", modelProperties: { - eventCode: { - serializedName: "eventCode", + taskId: { + serializedName: "taskId", type: { name: "String" } }, - description: { - serializedName: "description", + name: { + serializedName: "name", type: { name: "String" } }, - eventType: { - serializedName: "eventType", + startTime: { + serializedName: "startTime", type: { - name: "String" + name: "DateTime" } }, - affectedObjectFriendlyName: { - serializedName: "affectedObjectFriendlyName", + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + allowedActions: { + serializedName: "allowedActions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - severity: { - serializedName: "severity", + state: { + serializedName: "state", type: { name: "String" } }, - timeOfOccurrence: { - serializedName: "timeOfOccurrence", + stateDescription: { + serializedName: "stateDescription", type: { - name: "DateTime" + name: "String" } }, - fabricId: { - serializedName: "fabricId", + taskType: { + serializedName: "taskType", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + customDetails: { + serializedName: "customDetails", type: { name: "Composite", - className: "EventProviderSpecificDetails" + className: "TaskTypeDetails" } }, - eventSpecificDetails: { - serializedName: "eventSpecificDetails", + groupTaskCustomDetails: { + serializedName: "groupTaskCustomDetails", type: { name: "Composite", - className: "EventSpecificDetails" + className: "GroupTaskDetails" } }, - healthErrors: { - serializedName: "healthErrors", + errors: { + serializedName: "errors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HealthError" + className: "JobErrorDetails" } } } @@ -3746,93 +3658,87 @@ export const EventProperties: msRest.CompositeMapper = { } }; -export const Event: msRest.CompositeMapper = { - serializedName: "Event", +export const AutomationRunbookTaskDetails: msRest.CompositeMapper = { + serializedName: "AutomationRunbookTaskDetails", type: { name: "Composite", - className: "Event", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "AutomationRunbookTaskDetails", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...TaskTypeDetails.type.modelProperties, + name: { + serializedName: "name", type: { - name: "Composite", - className: "EventProperties" + name: "String" } - } - } - } -}; - -export const EventQueryParameter: msRest.CompositeMapper = { - serializedName: "EventQueryParameter", - type: { - name: "Composite", - className: "EventQueryParameter", - modelProperties: { - eventCode: { - serializedName: "eventCode", + }, + cloudServiceName: { + serializedName: "cloudServiceName", type: { name: "String" } }, - severity: { - serializedName: "severity", + subscriptionId: { + serializedName: "subscriptionId", type: { name: "String" } }, - eventType: { - serializedName: "eventType", + accountName: { + serializedName: "accountName", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + runbookId: { + serializedName: "runbookId", type: { name: "String" } }, - affectedObjectFriendlyName: { - serializedName: "affectedObjectFriendlyName", + runbookName: { + serializedName: "runbookName", type: { name: "String" } }, - startTime: { - serializedName: "startTime", + jobId: { + serializedName: "jobId", type: { - name: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", + jobOutput: { + serializedName: "jobOutput", type: { - name: "DateTime" + name: "String" + } + }, + isPrimarySideScript: { + serializedName: "isPrimarySideScript", + type: { + name: "Boolean" } } } } }; -export const ExportJobDetails: msRest.CompositeMapper = { - serializedName: "ExportJobDetails", +export const FabricSpecificCreationInput: msRest.CompositeMapper = { + serializedName: "FabricSpecificCreationInput", type: { name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "ExportJobDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "FabricSpecificCreationInput", + className: "FabricSpecificCreationInput", modelProperties: { - ...JobDetails.type.modelProperties, - blobUri: { - serializedName: "blobUri", - type: { - name: "String" - } - }, - sasToken: { - serializedName: "sasToken", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -3841,163 +3747,157 @@ export const ExportJobDetails: msRest.CompositeMapper = { } }; -export const FabricProperties: msRest.CompositeMapper = { - serializedName: "FabricProperties", +export const AzureFabricCreationInput: msRest.CompositeMapper = { + serializedName: "Azure", type: { name: "Composite", - className: "FabricProperties", + polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreationInput", + className: "AzureFabricCreationInput", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + ...FabricSpecificCreationInput.type.modelProperties, + location: { + serializedName: "location", type: { name: "String" } - }, - encryptionDetails: { - serializedName: "encryptionDetails", - type: { - name: "Composite", - className: "EncryptionDetails" - } - }, - rolloverEncryptionDetails: { - serializedName: "rolloverEncryptionDetails", - type: { - name: "Composite", - className: "EncryptionDetails" - } - }, - internalIdentifier: { - serializedName: "internalIdentifier", + } + } + } +}; + +export const FabricSpecificDetails: msRest.CompositeMapper = { + serializedName: "FabricSpecificDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "FabricSpecificDetails", + className: "FabricSpecificDetails", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - bcdrState: { - serializedName: "bcdrState", + } + } + } +}; + +export const AzureFabricSpecificDetails: msRest.CompositeMapper = { + serializedName: "Azure", + type: { + name: "Composite", + polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, + uberParent: "FabricSpecificDetails", + className: "AzureFabricSpecificDetails", + modelProperties: { + ...FabricSpecificDetails.type.modelProperties, + location: { + serializedName: "location", type: { name: "String" } }, - customDetails: { - serializedName: "customDetails", - type: { - name: "Composite", - className: "FabricSpecificDetails" - } - }, - healthErrorDetails: { - serializedName: "healthErrorDetails", + containerIds: { + serializedName: "containerIds", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "HealthError" + name: "String" } } } - }, - health: { - serializedName: "health", - type: { - name: "String" - } } } } }; -export const Fabric: msRest.CompositeMapper = { - serializedName: "Fabric", +export const FabricSpecificCreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "FabricSpecificCreateNetworkMappingInput", type: { name: "Composite", - className: "Fabric", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "FabricSpecificCreateNetworkMappingInput", + className: "FabricSpecificCreateNetworkMappingInput", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "FabricProperties" + name: "String" } } } } }; -export const FabricCreationInputProperties: msRest.CompositeMapper = { - serializedName: "FabricCreationInputProperties", +export const AzureToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "AzureToAzure", type: { name: "Composite", - className: "FabricCreationInputProperties", + polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreateNetworkMappingInput", + className: "AzureToAzureCreateNetworkMappingInput", modelProperties: { - customDetails: { - serializedName: "customDetails", + ...FabricSpecificCreateNetworkMappingInput.type.modelProperties, + primaryNetworkId: { + serializedName: "primaryNetworkId", type: { - name: "Composite", - className: "FabricSpecificCreationInput" + name: "String" } } } } }; -export const FabricCreationInput: msRest.CompositeMapper = { - serializedName: "FabricCreationInput", +export const NetworkMappingFabricSpecificSettings: msRest.CompositeMapper = { + serializedName: "NetworkMappingFabricSpecificSettings", type: { name: "Composite", - className: "FabricCreationInput", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "NetworkMappingFabricSpecificSettings", modelProperties: { - properties: { - serializedName: "properties", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "FabricCreationInputProperties" + name: "String" } } } } }; -export const JobEntity: msRest.CompositeMapper = { - serializedName: "JobEntity", +export const AzureToAzureNetworkMappingSettings: msRest.CompositeMapper = { + serializedName: "AzureToAzure", type: { name: "Composite", - className: "JobEntity", + polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "AzureToAzureNetworkMappingSettings", modelProperties: { - jobId: { - serializedName: "jobId", - type: { - name: "String" - } - }, - jobFriendlyName: { - serializedName: "jobFriendlyName", - type: { - name: "String" - } - }, - targetObjectId: { - serializedName: "targetObjectId", - type: { - name: "String" - } - }, - targetObjectName: { - serializedName: "targetObjectName", - type: { - name: "String" - } - }, - targetInstanceType: { - serializedName: "targetInstanceType", + ...NetworkMappingFabricSpecificSettings.type.modelProperties, + primaryFabricLocation: { + serializedName: "primaryFabricLocation", type: { name: "String" } }, - jobScenarioName: { - serializedName: "jobScenarioName", + recoveryFabricLocation: { + serializedName: "recoveryFabricLocation", type: { name: "String" } @@ -4006,153 +3906,169 @@ export const JobEntity: msRest.CompositeMapper = { } }; -export const FabricReplicationGroupTaskDetails: msRest.CompositeMapper = { - serializedName: "FabricReplicationGroupTaskDetails", +export const FabricSpecificUpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "FabricSpecificUpdateNetworkMappingInput", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "FabricReplicationGroupTaskDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "FabricSpecificUpdateNetworkMappingInput", + className: "FabricSpecificUpdateNetworkMappingInput", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - skippedReason: { - serializedName: "skippedReason", - type: { - name: "String" - } - }, - skippedReasonString: { - serializedName: "skippedReasonString", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - jobTask: { - serializedName: "jobTask", - type: { - name: "Composite", - className: "JobEntity" - } } } } }; -export const FailoverReplicationProtectedItemDetails: msRest.CompositeMapper = { - serializedName: "FailoverReplicationProtectedItemDetails", +export const AzureToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "AzureToAzure", type: { name: "Composite", - className: "FailoverReplicationProtectedItemDetails", + polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificUpdateNetworkMappingInput", + className: "AzureToAzureUpdateNetworkMappingInput", modelProperties: { - name: { - serializedName: "name", + ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties, + primaryNetworkId: { + serializedName: "primaryNetworkId", type: { name: "String" } - }, - friendlyName: { - serializedName: "friendlyName", + } + } + } +}; + +export const AzureVmDiskDetails: msRest.CompositeMapper = { + serializedName: "AzureVmDiskDetails", + type: { + name: "Composite", + className: "AzureVmDiskDetails", + modelProperties: { + vhdType: { + serializedName: "vhdType", type: { name: "String" } }, - testVmName: { - serializedName: "testVmName", + vhdId: { + serializedName: "vhdId", type: { name: "String" } }, - testVmFriendlyName: { - serializedName: "testVmFriendlyName", + diskId: { + serializedName: "diskId", type: { name: "String" } }, - networkConnectionStatus: { - serializedName: "networkConnectionStatus", + vhdName: { + serializedName: "vhdName", type: { name: "String" } }, - networkFriendlyName: { - serializedName: "networkFriendlyName", + maxSizeMB: { + serializedName: "maxSizeMB", type: { name: "String" } }, - subnet: { - serializedName: "subnet", + targetDiskLocation: { + serializedName: "targetDiskLocation", type: { name: "String" } }, - recoveryPointId: { - serializedName: "recoveryPointId", + targetDiskName: { + serializedName: "targetDiskName", type: { name: "String" } }, - recoveryPointTime: { - serializedName: "recoveryPointTime", + lunId: { + serializedName: "lunId", type: { - name: "DateTime" + name: "String" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" } } } } }; -export const FailoverJobDetails: msRest.CompositeMapper = { - serializedName: "FailoverJobDetails", +export const ComputeSizeErrorDetails: msRest.CompositeMapper = { + serializedName: "ComputeSizeErrorDetails", type: { name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "FailoverJobDetails", + className: "ComputeSizeErrorDetails", modelProperties: { - ...JobDetails.type.modelProperties, - protectedItemDetails: { - serializedName: "protectedItemDetails", + message: { + serializedName: "message", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FailoverReplicationProtectedItemDetails" - } - } + name: "String" + } + }, + severity: { + serializedName: "severity", + type: { + name: "String" } } } } }; -export const FailoverProcessServerRequestProperties: msRest.CompositeMapper = { - serializedName: "FailoverProcessServerRequestProperties", +export const ConfigurationSettings: msRest.CompositeMapper = { + serializedName: "ConfigurationSettings", type: { name: "Composite", - className: "FailoverProcessServerRequestProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ConfigurationSettings", + className: "ConfigurationSettings", modelProperties: { - containerName: { - serializedName: "containerName", - type: { - name: "String" - } - }, - sourceProcessServerId: { - serializedName: "sourceProcessServerId", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - targetProcessServerId: { - serializedName: "targetProcessServerId", + } + } + } +}; + +export const ConfigureAlertRequestProperties: msRest.CompositeMapper = { + serializedName: "ConfigureAlertRequestProperties", + type: { + name: "Composite", + className: "ConfigureAlertRequestProperties", + modelProperties: { + sendToOwners: { + serializedName: "sendToOwners", type: { name: "String" } }, - vmsToMigrate: { - serializedName: "vmsToMigrate", + customEmailAddresses: { + serializedName: "customEmailAddresses", type: { name: "Sequence", element: { @@ -4162,8 +4078,8 @@ export const FailoverProcessServerRequestProperties: msRest.CompositeMapper = { } } }, - updateType: { - serializedName: "updateType", + locale: { + serializedName: "locale", type: { name: "String" } @@ -4172,67 +4088,54 @@ export const FailoverProcessServerRequestProperties: msRest.CompositeMapper = { } }; -export const FailoverProcessServerRequest: msRest.CompositeMapper = { - serializedName: "FailoverProcessServerRequest", +export const ConfigureAlertRequest: msRest.CompositeMapper = { + serializedName: "ConfigureAlertRequest", type: { name: "Composite", - className: "FailoverProcessServerRequest", + className: "ConfigureAlertRequest", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "FailoverProcessServerRequestProperties" + className: "ConfigureAlertRequestProperties" } } } } }; -export const HealthErrorSummary: msRest.CompositeMapper = { - serializedName: "HealthErrorSummary", +export const InconsistentVmDetails: msRest.CompositeMapper = { + serializedName: "InconsistentVmDetails", type: { name: "Composite", - className: "HealthErrorSummary", + className: "InconsistentVmDetails", modelProperties: { - summaryCode: { - serializedName: "summaryCode", - type: { - name: "String" - } - }, - category: { - serializedName: "category", - type: { - name: "String" - } - }, - severity: { - serializedName: "severity", - type: { - name: "String" - } - }, - summaryMessage: { - serializedName: "summaryMessage", + vmName: { + serializedName: "vmName", type: { name: "String" } }, - affectedResourceType: { - serializedName: "affectedResourceType", + cloudName: { + serializedName: "cloudName", type: { name: "String" } }, - affectedResourceSubtype: { - serializedName: "affectedResourceSubtype", + details: { + serializedName: "details", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - affectedResourceCorrelationIds: { - serializedName: "affectedResourceCorrelationIds", + errorIds: { + serializedName: "errorIds", type: { name: "Sequence", element: { @@ -4246,236 +4149,6137 @@ export const HealthErrorSummary: msRest.CompositeMapper = { } }; -export const HyperVReplica2012EventDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const ConsistencyCheckTaskDetails: msRest.CompositeMapper = { + serializedName: "ConsistencyCheckTaskDetails", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "HyperVReplica2012EventDetails", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "ConsistencyCheckTaskDetails", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - containerName: { - serializedName: "containerName", - type: { - name: "String" - } - }, - fabricName: { - serializedName: "fabricName", - type: { - name: "String" - } - }, - remoteContainerName: { - serializedName: "remoteContainerName", - type: { - name: "String" - } - }, - remoteFabricName: { - serializedName: "remoteFabricName", + ...TaskTypeDetails.type.modelProperties, + vmDetails: { + serializedName: "vmDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InconsistentVmDetails" + } + } } } } } }; -export const HyperVReplica2012R2EventDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const CreateNetworkMappingInputProperties: msRest.CompositeMapper = { + serializedName: "CreateNetworkMappingInputProperties", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "HyperVReplica2012R2EventDetails", + className: "CreateNetworkMappingInputProperties", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - containerName: { - serializedName: "containerName", - type: { - name: "String" - } - }, - fabricName: { - serializedName: "fabricName", + recoveryFabricName: { + serializedName: "recoveryFabricName", type: { name: "String" } }, - remoteContainerName: { - serializedName: "remoteContainerName", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", type: { name: "String" } }, - remoteFabricName: { - serializedName: "remoteFabricName", + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", type: { - name: "String" + name: "Composite", + className: "FabricSpecificCreateNetworkMappingInput" } } } } }; -export const HyperVReplicaAzureApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const CreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "CreateNetworkMappingInput", type: { name: "Composite", - polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "HyperVReplicaAzureApplyRecoveryPointInput", + className: "CreateNetworkMappingInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CreateNetworkMappingInputProperties" + } + } + } + } +}; + +export const CreatePolicyInputProperties: msRest.CompositeMapper = { + serializedName: "CreatePolicyInputProperties", + type: { + name: "Composite", + className: "CreatePolicyInputProperties", + modelProperties: { + providerSpecificInput: { + serializedName: "providerSpecificInput", + type: { + name: "Composite", + className: "PolicyProviderSpecificInput" + } + } + } + } +}; + +export const CreatePolicyInput: msRest.CompositeMapper = { + serializedName: "CreatePolicyInput", + type: { + name: "Composite", + className: "CreatePolicyInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CreatePolicyInputProperties" + } + } + } + } +}; + +export const CreateProtectionContainerInputProperties: msRest.CompositeMapper = { + serializedName: "CreateProtectionContainerInputProperties", + type: { + name: "Composite", + className: "CreateProtectionContainerInputProperties", + modelProperties: { + providerSpecificInput: { + serializedName: "providerSpecificInput", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationProviderSpecificContainerCreationInput" + } + } + } + } + } + } +}; + +export const CreateProtectionContainerInput: msRest.CompositeMapper = { + serializedName: "CreateProtectionContainerInput", + type: { + name: "Composite", + className: "CreateProtectionContainerInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CreateProtectionContainerInputProperties" + } + } + } + } +}; + +export const CreateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { + serializedName: "CreateProtectionContainerMappingInputProperties", + type: { + name: "Composite", + className: "CreateProtectionContainerMappingInputProperties", + modelProperties: { + targetProtectionContainerId: { + serializedName: "targetProtectionContainerId", + type: { + name: "String" + } + }, + policyId: { + serializedName: "policyId", + type: { + name: "String" + } + }, + providerSpecificInput: { + serializedName: "providerSpecificInput", + type: { + name: "Composite", + className: "ReplicationProviderSpecificContainerMappingInput" + } + } + } + } +}; + +export const CreateProtectionContainerMappingInput: msRest.CompositeMapper = { + serializedName: "CreateProtectionContainerMappingInput", + type: { + name: "Composite", + className: "CreateProtectionContainerMappingInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CreateProtectionContainerMappingInputProperties" + } + } + } + } +}; + +export const CreateProtectionIntentProperties: msRest.CompositeMapper = { + serializedName: "CreateProtectionIntentProperties", + type: { + name: "Composite", + className: "CreateProtectionIntentProperties", + modelProperties: { + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "CreateProtectionIntentProviderSpecificDetails" + } + } + } + } +}; + +export const CreateProtectionIntentInput: msRest.CompositeMapper = { + serializedName: "CreateProtectionIntentInput", + type: { + name: "Composite", + className: "CreateProtectionIntentInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CreateProtectionIntentProperties" + } + } + } + } +}; + +export const RecoveryPlanProtectedItem: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProtectedItem", + type: { + name: "Composite", + className: "RecoveryPlanProtectedItem", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + virtualMachineId: { + serializedName: "virtualMachineId", + type: { + name: "String" + } + } + } + } +}; + +export const RecoveryPlanActionDetails: msRest.CompositeMapper = { + serializedName: "RecoveryPlanActionDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanActionDetails", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const RecoveryPlanAction: msRest.CompositeMapper = { + serializedName: "RecoveryPlanAction", + type: { + name: "Composite", + className: "RecoveryPlanAction", + modelProperties: { + actionName: { + required: true, + serializedName: "actionName", + type: { + name: "String" + } + }, + failoverTypes: { + required: true, + serializedName: "failoverTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + failoverDirections: { + required: true, + serializedName: "failoverDirections", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + customDetails: { + required: true, + serializedName: "customDetails", + type: { + name: "Composite", + className: "RecoveryPlanActionDetails" + } + } + } + } +}; + +export const RecoveryPlanGroup: msRest.CompositeMapper = { + serializedName: "RecoveryPlanGroup", + type: { + name: "Composite", + className: "RecoveryPlanGroup", + modelProperties: { + groupType: { + required: true, + serializedName: "groupType", + type: { + name: "String" + } + }, + replicationProtectedItems: { + serializedName: "replicationProtectedItems", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProtectedItem" + } + } + } + }, + startGroupActions: { + serializedName: "startGroupActions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanAction" + } + } + } + }, + endGroupActions: { + serializedName: "endGroupActions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanAction" + } + } + } + } + } + } +}; + +export const RecoveryPlanProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RecoveryPlanProviderSpecificInput", + className: "RecoveryPlanProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const CreateRecoveryPlanInputProperties: msRest.CompositeMapper = { + serializedName: "CreateRecoveryPlanInputProperties", + type: { + name: "Composite", + className: "CreateRecoveryPlanInputProperties", + modelProperties: { + primaryFabricId: { + required: true, + serializedName: "primaryFabricId", + type: { + name: "String" + } + }, + recoveryFabricId: { + required: true, + serializedName: "recoveryFabricId", + type: { + name: "String" + } + }, + failoverDeploymentModel: { + serializedName: "failoverDeploymentModel", + type: { + name: "String" + } + }, + groups: { + required: true, + serializedName: "groups", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanGroup" + } + } + } + }, + providerSpecificInput: { + serializedName: "providerSpecificInput", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificInput" + } + } + } + } + } + } +}; + +export const CreateRecoveryPlanInput: msRest.CompositeMapper = { + serializedName: "CreateRecoveryPlanInput", + type: { + name: "Composite", + className: "CreateRecoveryPlanInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "CreateRecoveryPlanInputProperties" + } + } + } + } +}; + +export const CurrentJobDetails: msRest.CompositeMapper = { + serializedName: "CurrentJobDetails", + type: { + name: "Composite", + className: "CurrentJobDetails", + modelProperties: { + jobName: { + serializedName: "jobName", + type: { + name: "String" + } + }, + jobId: { + serializedName: "jobId", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const CurrentScenarioDetails: msRest.CompositeMapper = { + serializedName: "CurrentScenarioDetails", + type: { + name: "Composite", + className: "CurrentScenarioDetails", + modelProperties: { + scenarioName: { + serializedName: "scenarioName", + type: { + name: "String" + } + }, + jobId: { + serializedName: "jobId", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const DataStore: msRest.CompositeMapper = { + serializedName: "DataStore", + type: { + name: "Composite", + className: "DataStore", + modelProperties: { + symbolicName: { + serializedName: "symbolicName", + type: { + name: "String" + } + }, + uuid: { + serializedName: "uuid", + type: { + name: "String" + } + }, + capacity: { + serializedName: "capacity", + type: { + name: "String" + } + }, + freeSpace: { + serializedName: "freeSpace", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const DisableProtectionProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "DisableProtectionProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "DisableProtectionProviderSpecificInput", + className: "DisableProtectionProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const DisableProtectionInputProperties: msRest.CompositeMapper = { + serializedName: "DisableProtectionInputProperties", + type: { + name: "Composite", + className: "DisableProtectionInputProperties", + modelProperties: { + disableProtectionReason: { + serializedName: "disableProtectionReason", + type: { + name: "String" + } + }, + replicationProviderInput: { + serializedName: "replicationProviderInput", + type: { + name: "Composite", + className: "DisableProtectionProviderSpecificInput" + } + } + } + } +}; + +export const DisableProtectionInput: msRest.CompositeMapper = { + serializedName: "DisableProtectionInput", + type: { + name: "Composite", + className: "DisableProtectionInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DisableProtectionInputProperties" + } + } + } + } +}; + +export const DiscoverProtectableItemRequestProperties: msRest.CompositeMapper = { + serializedName: "DiscoverProtectableItemRequestProperties", + type: { + name: "Composite", + className: "DiscoverProtectableItemRequestProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + ipAddress: { + serializedName: "ipAddress", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + } + } + } +}; + +export const DiscoverProtectableItemRequest: msRest.CompositeMapper = { + serializedName: "DiscoverProtectableItemRequest", + type: { + name: "Composite", + className: "DiscoverProtectableItemRequest", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DiscoverProtectableItemRequestProperties" + } + } + } + } +}; + +export const DiskDetails: msRest.CompositeMapper = { + serializedName: "DiskDetails", + type: { + name: "Composite", + className: "DiskDetails", + modelProperties: { + maxSizeMB: { + serializedName: "maxSizeMB", + type: { + name: "Number" + } + }, + vhdType: { + serializedName: "vhdType", + type: { + name: "String" + } + }, + vhdId: { + serializedName: "vhdId", + type: { + name: "String" + } + }, + vhdName: { + serializedName: "vhdName", + type: { + name: "String" + } + } + } + } +}; + +export const DiskVolumeDetails: msRest.CompositeMapper = { + serializedName: "DiskVolumeDetails", + type: { + name: "Composite", + className: "DiskVolumeDetails", + modelProperties: { + label: { + serializedName: "label", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + +export const Display: msRest.CompositeMapper = { + serializedName: "Display", + type: { + name: "Composite", + className: "Display", + modelProperties: { + provider: { + serializedName: "provider", + type: { + name: "String" + } + }, + resource: { + serializedName: "resource", + type: { + name: "String" + } + }, + operation: { + serializedName: "operation", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + } + } + } +}; + +export const InnerHealthError: msRest.CompositeMapper = { + serializedName: "InnerHealthError", + type: { + name: "Composite", + className: "InnerHealthError", + modelProperties: { + errorSource: { + serializedName: "errorSource", + type: { + name: "String" + } + }, + errorType: { + serializedName: "errorType", + type: { + name: "String" + } + }, + errorLevel: { + serializedName: "errorLevel", + type: { + name: "String" + } + }, + errorCategory: { + serializedName: "errorCategory", + type: { + name: "String" + } + }, + errorCode: { + serializedName: "errorCode", + type: { + name: "String" + } + }, + summaryMessage: { + serializedName: "summaryMessage", + type: { + name: "String" + } + }, + errorMessage: { + serializedName: "errorMessage", + type: { + name: "String" + } + }, + possibleCauses: { + serializedName: "possibleCauses", + type: { + name: "String" + } + }, + recommendedAction: { + serializedName: "recommendedAction", + type: { + name: "String" + } + }, + creationTimeUtc: { + serializedName: "creationTimeUtc", + type: { + name: "DateTime" + } + }, + recoveryProviderErrorMessage: { + serializedName: "recoveryProviderErrorMessage", + type: { + name: "String" + } + }, + entityId: { + serializedName: "entityId", + type: { + name: "String" + } + } + } + } +}; + +export const HealthError: msRest.CompositeMapper = { + serializedName: "HealthError", + type: { + name: "Composite", + className: "HealthError", + modelProperties: { + innerHealthErrors: { + serializedName: "innerHealthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InnerHealthError" + } + } + } + }, + errorSource: { + serializedName: "errorSource", + type: { + name: "String" + } + }, + errorType: { + serializedName: "errorType", + type: { + name: "String" + } + }, + errorLevel: { + serializedName: "errorLevel", + type: { + name: "String" + } + }, + errorCategory: { + serializedName: "errorCategory", + type: { + name: "String" + } + }, + errorCode: { + serializedName: "errorCode", + type: { + name: "String" + } + }, + summaryMessage: { + serializedName: "summaryMessage", + type: { + name: "String" + } + }, + errorMessage: { + serializedName: "errorMessage", + type: { + name: "String" + } + }, + possibleCauses: { + serializedName: "possibleCauses", + type: { + name: "String" + } + }, + recommendedAction: { + serializedName: "recommendedAction", + type: { + name: "String" + } + }, + creationTimeUtc: { + serializedName: "creationTimeUtc", + type: { + name: "DateTime" + } + }, + recoveryProviderErrorMessage: { + serializedName: "recoveryProviderErrorMessage", + type: { + name: "String" + } + }, + entityId: { + serializedName: "entityId", + type: { + name: "String" + } + }, + errorId: { + serializedName: "errorId", + type: { + name: "String" + } + }, + customerResolvability: { + serializedName: "customerResolvability", + type: { + name: "String" + } + } + } + } +}; + +export const DraDetails: msRest.CompositeMapper = { + serializedName: "DraDetails", + type: { + name: "Composite", + className: "DraDetails", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", + type: { + name: "DateTime" + } + }, + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" + } + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + } + } + } +}; + +export const EnableMigrationProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "EnableMigrationProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "EnableMigrationProviderSpecificInput", + className: "EnableMigrationProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const EnableMigrationInputProperties: msRest.CompositeMapper = { + serializedName: "EnableMigrationInputProperties", + type: { + name: "Composite", + className: "EnableMigrationInputProperties", + modelProperties: { + policyId: { + required: true, + serializedName: "policyId", + type: { + name: "String" + } + }, + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "EnableMigrationProviderSpecificInput" + } + } + } + } +}; + +export const EnableMigrationInput: msRest.CompositeMapper = { + serializedName: "EnableMigrationInput", + type: { + name: "Composite", + className: "EnableMigrationInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "EnableMigrationInputProperties" + } + } + } + } +}; + +export const EnableProtectionInputProperties: msRest.CompositeMapper = { + serializedName: "EnableProtectionInputProperties", + type: { + name: "Composite", + className: "EnableProtectionInputProperties", + modelProperties: { + policyId: { + serializedName: "policyId", + type: { + name: "String" + } + }, + protectableItemId: { + serializedName: "protectableItemId", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "EnableProtectionProviderSpecificInput" + } + } + } + } +}; + +export const EnableProtectionInput: msRest.CompositeMapper = { + serializedName: "EnableProtectionInput", + type: { + name: "Composite", + className: "EnableProtectionInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EnableProtectionInputProperties" + } + } + } + } +}; + +export const EncryptionDetails: msRest.CompositeMapper = { + serializedName: "EncryptionDetails", + type: { + name: "Composite", + className: "EncryptionDetails", + modelProperties: { + kekState: { + serializedName: "kekState", + type: { + name: "String" + } + }, + kekCertThumbprint: { + serializedName: "kekCertThumbprint", + type: { + name: "String" + } + }, + kekCertExpiryDate: { + serializedName: "kekCertExpiryDate", + type: { + name: "DateTime" + } + } + } + } +}; + +export const EventSpecificDetails: msRest.CompositeMapper = { + serializedName: "EventSpecificDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "EventSpecificDetails", + className: "EventSpecificDetails", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const EventProperties: msRest.CompositeMapper = { + serializedName: "EventProperties", + type: { + name: "Composite", + className: "EventProperties", + modelProperties: { + eventCode: { + serializedName: "eventCode", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + eventType: { + serializedName: "eventType", + type: { + name: "String" + } + }, + affectedObjectFriendlyName: { + serializedName: "affectedObjectFriendlyName", + type: { + name: "String" + } + }, + severity: { + serializedName: "severity", + type: { + name: "String" + } + }, + timeOfOccurrence: { + serializedName: "timeOfOccurrence", + type: { + name: "DateTime" + } + }, + fabricId: { + serializedName: "fabricId", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "EventProviderSpecificDetails" + } + }, + eventSpecificDetails: { + serializedName: "eventSpecificDetails", + type: { + name: "Composite", + className: "EventSpecificDetails" + } + }, + healthErrors: { + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + } + } + } +}; + +export const Event: msRest.CompositeMapper = { + serializedName: "Event", + type: { + name: "Composite", + className: "Event", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EventProperties" + } + } + } + } +}; + +export const EventQueryParameter: msRest.CompositeMapper = { + serializedName: "EventQueryParameter", + type: { + name: "Composite", + className: "EventQueryParameter", + modelProperties: { + eventCode: { + serializedName: "eventCode", + type: { + name: "String" + } + }, + severity: { + serializedName: "severity", + type: { + name: "String" + } + }, + eventType: { + serializedName: "eventType", + type: { + name: "String" + } + }, + fabricName: { + serializedName: "fabricName", + type: { + name: "String" + } + }, + affectedObjectFriendlyName: { + serializedName: "affectedObjectFriendlyName", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const ExistingProtectionProfile: msRest.CompositeMapper = { + serializedName: "Existing", + type: { + name: "Composite", + polymorphicDiscriminator: ProtectionProfileCustomDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionProfileCustomDetails", + className: "ExistingProtectionProfile", + modelProperties: { + ...ProtectionProfileCustomDetails.type.modelProperties, + protectionProfileId: { + required: true, + serializedName: "protectionProfileId", + type: { + name: "String" + } + } + } + } +}; + +export const ExistingRecoveryAvailabilitySet: msRest.CompositeMapper = { + serializedName: "Existing", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryAvailabilitySetCustomDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryAvailabilitySetCustomDetails", + className: "ExistingRecoveryAvailabilitySet", + modelProperties: { + ...RecoveryAvailabilitySetCustomDetails.type.modelProperties, + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", + type: { + name: "String" + } + } + } + } +}; + +export const ExistingRecoveryProximityPlacementGroup: msRest.CompositeMapper = { + serializedName: "Existing", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryProximityPlacementGroupCustomDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryProximityPlacementGroupCustomDetails", + className: "ExistingRecoveryProximityPlacementGroup", + modelProperties: { + ...RecoveryProximityPlacementGroupCustomDetails.type.modelProperties, + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", + type: { + name: "String" + } + } + } + } +}; + +export const ExistingRecoveryRecoveryResourceGroup: msRest.CompositeMapper = { + serializedName: "Existing", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryResourceGroupCustomDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryResourceGroupCustomDetails", + className: "ExistingRecoveryRecoveryResourceGroup", + modelProperties: { + ...RecoveryResourceGroupCustomDetails.type.modelProperties, + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", + type: { + name: "String" + } + } + } + } +}; + +export const ExistingRecoveryVirtualNetwork: msRest.CompositeMapper = { + serializedName: "Existing", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryVirtualNetworkCustomDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryVirtualNetworkCustomDetails", + className: "ExistingRecoveryVirtualNetwork", + modelProperties: { + ...RecoveryVirtualNetworkCustomDetails.type.modelProperties, + recoveryVirtualNetworkId: { + required: true, + serializedName: "recoveryVirtualNetworkId", + type: { + name: "String" + } + }, + recoverySubnetName: { + serializedName: "recoverySubnetName", + type: { + name: "String" + } + } + } + } +}; + +export const ExistingStorageAccount: msRest.CompositeMapper = { + serializedName: "Existing", + type: { + name: "Composite", + polymorphicDiscriminator: StorageAccountCustomDetails.type.polymorphicDiscriminator, + uberParent: "StorageAccountCustomDetails", + className: "ExistingStorageAccount", + modelProperties: { + ...StorageAccountCustomDetails.type.modelProperties, + azureStorageAccountId: { + required: true, + serializedName: "azureStorageAccountId", + type: { + name: "String" + } + } + } + } +}; + +export const ExportJobDetails: msRest.CompositeMapper = { + serializedName: "ExportJobDetails", + type: { + name: "Composite", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "ExportJobDetails", + modelProperties: { + ...JobDetails.type.modelProperties, + blobUri: { + serializedName: "blobUri", + type: { + name: "String" + } + }, + sasToken: { + serializedName: "sasToken", + type: { + name: "String" + } + } + } + } +}; + +export const FabricProperties: msRest.CompositeMapper = { + serializedName: "FabricProperties", + type: { + name: "Composite", + className: "FabricProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + encryptionDetails: { + serializedName: "encryptionDetails", + type: { + name: "Composite", + className: "EncryptionDetails" + } + }, + rolloverEncryptionDetails: { + serializedName: "rolloverEncryptionDetails", + type: { + name: "Composite", + className: "EncryptionDetails" + } + }, + internalIdentifier: { + serializedName: "internalIdentifier", + type: { + name: "String" + } + }, + bcdrState: { + serializedName: "bcdrState", + type: { + name: "String" + } + }, + customDetails: { + serializedName: "customDetails", + type: { + name: "Composite", + className: "FabricSpecificDetails" + } + }, + healthErrorDetails: { + serializedName: "healthErrorDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + health: { + serializedName: "health", + type: { + name: "String" + } + } + } + } +}; + +export const Fabric: msRest.CompositeMapper = { + serializedName: "Fabric", + type: { + name: "Composite", + className: "Fabric", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FabricProperties" + } + } + } + } +}; + +export const FabricCreationInputProperties: msRest.CompositeMapper = { + serializedName: "FabricCreationInputProperties", + type: { + name: "Composite", + className: "FabricCreationInputProperties", + modelProperties: { + customDetails: { + serializedName: "customDetails", + type: { + name: "Composite", + className: "FabricSpecificCreationInput" + } + } + } + } +}; + +export const FabricCreationInput: msRest.CompositeMapper = { + serializedName: "FabricCreationInput", + type: { + name: "Composite", + className: "FabricCreationInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FabricCreationInputProperties" + } + } + } + } +}; + +export const JobEntity: msRest.CompositeMapper = { + serializedName: "JobEntity", + type: { + name: "Composite", + className: "JobEntity", + modelProperties: { + jobId: { + serializedName: "jobId", + type: { + name: "String" + } + }, + jobFriendlyName: { + serializedName: "jobFriendlyName", + type: { + name: "String" + } + }, + targetObjectId: { + serializedName: "targetObjectId", + type: { + name: "String" + } + }, + targetObjectName: { + serializedName: "targetObjectName", + type: { + name: "String" + } + }, + targetInstanceType: { + serializedName: "targetInstanceType", + type: { + name: "String" + } + }, + jobScenarioName: { + serializedName: "jobScenarioName", + type: { + name: "String" + } + } + } + } +}; + +export const FabricReplicationGroupTaskDetails: msRest.CompositeMapper = { + serializedName: "FabricReplicationGroupTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "FabricReplicationGroupTaskDetails", + modelProperties: { + ...TaskTypeDetails.type.modelProperties, + skippedReason: { + serializedName: "skippedReason", + type: { + name: "String" + } + }, + skippedReasonString: { + serializedName: "skippedReasonString", + type: { + name: "String" + } + }, + jobTask: { + serializedName: "jobTask", + type: { + name: "Composite", + className: "JobEntity" + } + } + } + } +}; + +export const FailoverReplicationProtectedItemDetails: msRest.CompositeMapper = { + serializedName: "FailoverReplicationProtectedItemDetails", + type: { + name: "Composite", + className: "FailoverReplicationProtectedItemDetails", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + testVmName: { + serializedName: "testVmName", + type: { + name: "String" + } + }, + testVmFriendlyName: { + serializedName: "testVmFriendlyName", + type: { + name: "String" + } + }, + networkConnectionStatus: { + serializedName: "networkConnectionStatus", + type: { + name: "String" + } + }, + networkFriendlyName: { + serializedName: "networkFriendlyName", + type: { + name: "String" + } + }, + subnet: { + serializedName: "subnet", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + }, + recoveryPointTime: { + serializedName: "recoveryPointTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const FailoverJobDetails: msRest.CompositeMapper = { + serializedName: "FailoverJobDetails", + type: { + name: "Composite", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "FailoverJobDetails", + modelProperties: { + ...JobDetails.type.modelProperties, + protectedItemDetails: { + serializedName: "protectedItemDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FailoverReplicationProtectedItemDetails" + } + } + } + } + } + } +}; + +export const FailoverProcessServerRequestProperties: msRest.CompositeMapper = { + serializedName: "FailoverProcessServerRequestProperties", + type: { + name: "Composite", + className: "FailoverProcessServerRequestProperties", + modelProperties: { + containerName: { + serializedName: "containerName", + type: { + name: "String" + } + }, + sourceProcessServerId: { + serializedName: "sourceProcessServerId", + type: { + name: "String" + } + }, + targetProcessServerId: { + serializedName: "targetProcessServerId", + type: { + name: "String" + } + }, + vmsToMigrate: { + serializedName: "vmsToMigrate", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + updateType: { + serializedName: "updateType", + type: { + name: "String" + } + } + } + } +}; + +export const FailoverProcessServerRequest: msRest.CompositeMapper = { + serializedName: "FailoverProcessServerRequest", + type: { + name: "Composite", + className: "FailoverProcessServerRequest", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FailoverProcessServerRequestProperties" + } + } + } + } +}; + +export const HealthErrorSummary: msRest.CompositeMapper = { + serializedName: "HealthErrorSummary", + type: { + name: "Composite", + className: "HealthErrorSummary", + modelProperties: { + summaryCode: { + serializedName: "summaryCode", + type: { + name: "String" + } + }, + category: { + serializedName: "category", + type: { + name: "String" + } + }, + severity: { + serializedName: "severity", + type: { + name: "String" + } + }, + summaryMessage: { + serializedName: "summaryMessage", + type: { + name: "String" + } + }, + affectedResourceType: { + serializedName: "affectedResourceType", + type: { + name: "String" + } + }, + affectedResourceSubtype: { + serializedName: "affectedResourceSubtype", + type: { + name: "String" + } + }, + affectedResourceCorrelationIds: { + serializedName: "affectedResourceCorrelationIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const HyperVReplica2012EventDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012", + type: { + name: "Composite", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "HyperVReplica2012EventDetails", + modelProperties: { + ...EventProviderSpecificDetails.type.modelProperties, + containerName: { + serializedName: "containerName", + type: { + name: "String" + } + }, + fabricName: { + serializedName: "fabricName", + type: { + name: "String" + } + }, + remoteContainerName: { + serializedName: "remoteContainerName", + type: { + name: "String" + } + }, + remoteFabricName: { + serializedName: "remoteFabricName", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplica2012R2EventDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012R2", + type: { + name: "Composite", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "HyperVReplica2012R2EventDetails", + modelProperties: { + ...EventProviderSpecificDetails.type.modelProperties, + containerName: { + serializedName: "containerName", + type: { + name: "String" + } + }, + fabricName: { + serializedName: "fabricName", + type: { + name: "String" + } + }, + remoteContainerName: { + serializedName: "remoteContainerName", + type: { + name: "String" + } + }, + remoteFabricName: { + serializedName: "remoteFabricName", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "HyperVReplicaAzureApplyRecoveryPointInput", + modelProperties: { + ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", + type: { + name: "String" + } + }, + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", + type: { + name: "String" + } + }, + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureEnableProtectionInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "HyperVReplicaAzureEnableProtectionInput", + modelProperties: { + ...EnableProtectionProviderSpecificInput.type.modelProperties, + hvHostVmId: { + serializedName: "hvHostVmId", + type: { + name: "String" + } + }, + vmName: { + serializedName: "vmName", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + vhdId: { + serializedName: "vhdId", + type: { + name: "String" + } + }, + targetStorageAccountId: { + serializedName: "targetStorageAccountId", + type: { + name: "String" + } + }, + targetAzureNetworkId: { + serializedName: "targetAzureNetworkId", + type: { + name: "String" + } + }, + targetAzureSubnetId: { + serializedName: "targetAzureSubnetId", + type: { + name: "String" + } + }, + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", + type: { + name: "String" + } + }, + targetAzureVmName: { + serializedName: "targetAzureVmName", + type: { + name: "String" + } + }, + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + disksToInclude: { + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + targetAzureV1ResourceGroupId: { + serializedName: "targetAzureV1ResourceGroupId", + type: { + name: "String" + } + }, + targetAzureV2ResourceGroupId: { + serializedName: "targetAzureV2ResourceGroupId", + type: { + name: "String" + } + }, + useManagedDisks: { + serializedName: "useManagedDisks", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureEventDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "HyperVReplicaAzureEventDetails", + modelProperties: { + ...EventProviderSpecificDetails.type.modelProperties, + containerName: { + serializedName: "containerName", + type: { + name: "String" + } + }, + fabricName: { + serializedName: "fabricName", + type: { + name: "String" + } + }, + remoteContainerName: { + serializedName: "remoteContainerName", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureFailbackProviderInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzureFailback", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificFailoverInput", + className: "HyperVReplicaAzureFailbackProviderInput", + modelProperties: { + ...ProviderSpecificFailoverInput.type.modelProperties, + dataSyncOption: { + serializedName: "dataSyncOption", + type: { + name: "String" + } + }, + recoveryVmCreationOption: { + serializedName: "recoveryVmCreationOption", + type: { + name: "String" + } + }, + providerIdForAlternateRecovery: { + serializedName: "providerIdForAlternateRecovery", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureFailoverProviderInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificFailoverInput", + className: "HyperVReplicaAzureFailoverProviderInput", + modelProperties: { + ...ProviderSpecificFailoverInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", + type: { + name: "String" + } + }, + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", + type: { + name: "String" + } + }, + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzurePolicyDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "HyperVReplicaAzurePolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointHistoryDurationInHours: { + serializedName: "recoveryPointHistoryDurationInHours", + type: { + name: "Number" + } + }, + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", + type: { + name: "Number" + } + }, + replicationInterval: { + serializedName: "replicationInterval", + type: { + name: "Number" + } + }, + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", + type: { + name: "String" + } + }, + encryption: { + serializedName: "encryption", + type: { + name: "String" + } + }, + activeStorageAccountId: { + serializedName: "activeStorageAccountId", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzurePolicyInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "HyperVReplicaAzurePolicyInput", + modelProperties: { + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointHistoryDuration: { + serializedName: "recoveryPointHistoryDuration", + type: { + name: "Number" + } + }, + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", + type: { + name: "Number" + } + }, + replicationInterval: { + serializedName: "replicationInterval", + type: { + name: "Number" + } + }, + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", + type: { + name: "String" + } + }, + storageAccounts: { + serializedName: "storageAccounts", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const InitialReplicationDetails: msRest.CompositeMapper = { + serializedName: "InitialReplicationDetails", + type: { + name: "Composite", + className: "InitialReplicationDetails", + modelProperties: { + initialReplicationType: { + serializedName: "initialReplicationType", + type: { + name: "String" + } + }, + initialReplicationProgressPercentage: { + serializedName: "initialReplicationProgressPercentage", + type: { + name: "String" + } + } + } + } +}; + +export const OSDetails: msRest.CompositeMapper = { + serializedName: "OSDetails", + type: { + name: "Composite", + className: "OSDetails", + modelProperties: { + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + productType: { + serializedName: "productType", + type: { + name: "String" + } + }, + osEdition: { + serializedName: "osEdition", + type: { + name: "String" + } + }, + oSVersion: { + serializedName: "oSVersion", + type: { + name: "String" + } + }, + oSMajorVersion: { + serializedName: "oSMajorVersion", + type: { + name: "String" + } + }, + oSMinorVersion: { + serializedName: "oSMinorVersion", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureReplicationDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "HyperVReplicaAzureReplicationDetails", + modelProperties: { + ...ReplicationProviderSpecificSettings.type.modelProperties, + azureVmDiskDetails: { + serializedName: "azureVmDiskDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureVmDiskDetails" + } + } + } + }, + recoveryAzureVmName: { + serializedName: "recoveryAzureVmName", + type: { + name: "String" + } + }, + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", + type: { + name: "String" + } + }, + recoveryAzureStorageAccount: { + serializedName: "recoveryAzureStorageAccount", + type: { + name: "String" + } + }, + recoveryAzureLogStorageAccountId: { + serializedName: "recoveryAzureLogStorageAccountId", + type: { + name: "String" + } + }, + lastReplicatedTime: { + serializedName: "lastReplicatedTime", + type: { + name: "DateTime" + } + }, + rpoInSeconds: { + serializedName: "rpoInSeconds", + type: { + name: "Number" + } + }, + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", + type: { + name: "DateTime" + } + }, + vmId: { + serializedName: "vmId", + type: { + name: "String" + } + }, + vmProtectionState: { + serializedName: "vmProtectionState", + type: { + name: "String" + } + }, + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", + type: { + name: "String" + } + }, + initialReplicationDetails: { + serializedName: "initialReplicationDetails", + type: { + name: "Composite", + className: "InitialReplicationDetails" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicDetails" + } + } + } + }, + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", + type: { + name: "String" + } + }, + selectedSourceNicId: { + serializedName: "selectedSourceNicId", + type: { + name: "String" + } + }, + encryption: { + serializedName: "encryption", + type: { + name: "String" + } + }, + oSDetails: { + serializedName: "oSDetails", + type: { + name: "Composite", + className: "OSDetails" + } + }, + sourceVmRamSizeInMB: { + serializedName: "sourceVmRamSizeInMB", + type: { + name: "Number" + } + }, + sourceVmCpuCount: { + serializedName: "sourceVmCpuCount", + type: { + name: "Number" + } + }, + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", + type: { + name: "String" + } + }, + recoveryAzureResourceGroupId: { + serializedName: "recoveryAzureResourceGroupId", + type: { + name: "String" + } + }, + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + useManagedDisks: { + serializedName: "useManagedDisks", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureReprotectInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "HyperVReplicaAzureReprotectInput", + modelProperties: { + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + hvHostVmId: { + serializedName: "hvHostVmId", + type: { + name: "String" + } + }, + vmName: { + serializedName: "vmName", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + vHDId: { + serializedName: "vHDId", + type: { + name: "String" + } + }, + storageAccountId: { + serializedName: "storageAccountId", + type: { + name: "String" + } + }, + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureTestFailoverInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "HyperVReplicaAzureTestFailoverInput", + modelProperties: { + ...TestFailoverProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", + type: { + name: "String" + } + }, + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", + type: { + name: "String" + } + }, + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "HyperVReplicaAzureUnplannedFailoverInput", + modelProperties: { + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", + type: { + name: "String" + } + }, + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", + type: { + name: "String" + } + }, + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "HyperVReplicaAzureUpdateReplicationProtectedItemInput", + modelProperties: { + ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, + recoveryAzureV1ResourceGroupId: { + serializedName: "recoveryAzureV1ResourceGroupId", + type: { + name: "String" + } + }, + recoveryAzureV2ResourceGroupId: { + serializedName: "recoveryAzureV2ResourceGroupId", + type: { + name: "String" + } + }, + useManagedDisks: { + serializedName: "useManagedDisks", + type: { + name: "String" + } + }, + diskIdToDiskEncryptionMap: { + serializedName: "diskIdToDiskEncryptionMap", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaBaseEventDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaBaseEventDetails", + type: { + name: "Composite", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "HyperVReplicaBaseEventDetails", + modelProperties: { + ...EventProviderSpecificDetails.type.modelProperties, + containerName: { + serializedName: "containerName", + type: { + name: "String" + } + }, + fabricName: { + serializedName: "fabricName", + type: { + name: "String" + } + }, + remoteContainerName: { + serializedName: "remoteContainerName", + type: { + name: "String" + } + }, + remoteFabricName: { + serializedName: "remoteFabricName", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaBasePolicyDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaBasePolicyDetails", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "HyperVReplicaBasePolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPoints: { + serializedName: "recoveryPoints", + type: { + name: "Number" + } + }, + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", + type: { + name: "Number" + } + }, + compression: { + serializedName: "compression", + type: { + name: "String" + } + }, + initialReplicationMethod: { + serializedName: "initialReplicationMethod", + type: { + name: "String" + } + }, + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", + type: { + name: "String" + } + }, + offlineReplicationImportPath: { + serializedName: "offlineReplicationImportPath", + type: { + name: "String" + } + }, + offlineReplicationExportPath: { + serializedName: "offlineReplicationExportPath", + type: { + name: "String" + } + }, + replicationPort: { + serializedName: "replicationPort", + type: { + name: "Number" + } + }, + allowedAuthenticationType: { + serializedName: "allowedAuthenticationType", + type: { + name: "Number" + } + }, + replicaDeletionOption: { + serializedName: "replicaDeletionOption", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaBaseReplicationDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaBaseReplicationDetails", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "HyperVReplicaBaseReplicationDetails", + modelProperties: { + ...ReplicationProviderSpecificSettings.type.modelProperties, + lastReplicatedTime: { + serializedName: "lastReplicatedTime", + type: { + name: "DateTime" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicDetails" + } + } + } + }, + vmId: { + serializedName: "vmId", + type: { + name: "String" + } + }, + vmProtectionState: { + serializedName: "vmProtectionState", + type: { + name: "String" + } + }, + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", + type: { + name: "String" + } + }, + initialReplicationDetails: { + serializedName: "initialReplicationDetails", + type: { + name: "Composite", + className: "InitialReplicationDetails" + } + }, + vMDiskDetails: { + serializedName: "vMDiskDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskDetails" + } + } + } + } + } + } +}; + +export const HyperVReplicaBluePolicyDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012R2", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "HyperVReplicaBluePolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + replicationFrequencyInSeconds: { + serializedName: "replicationFrequencyInSeconds", + type: { + name: "Number" + } + }, + recoveryPoints: { + serializedName: "recoveryPoints", + type: { + name: "Number" + } + }, + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", + type: { + name: "Number" + } + }, + compression: { + serializedName: "compression", + type: { + name: "String" + } + }, + initialReplicationMethod: { + serializedName: "initialReplicationMethod", + type: { + name: "String" + } + }, + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", + type: { + name: "String" + } + }, + offlineReplicationImportPath: { + serializedName: "offlineReplicationImportPath", + type: { + name: "String" + } + }, + offlineReplicationExportPath: { + serializedName: "offlineReplicationExportPath", + type: { + name: "String" + } + }, + replicationPort: { + serializedName: "replicationPort", + type: { + name: "Number" + } + }, + allowedAuthenticationType: { + serializedName: "allowedAuthenticationType", + type: { + name: "Number" + } + }, + replicaDeletionOption: { + serializedName: "replicaDeletionOption", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaBluePolicyInput: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012R2", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "HyperVReplicaBluePolicyInput", + modelProperties: { + ...PolicyProviderSpecificInput.type.modelProperties, + replicationFrequencyInSeconds: { + serializedName: "replicationFrequencyInSeconds", + type: { + name: "Number" + } + }, + recoveryPoints: { + serializedName: "recoveryPoints", + type: { + name: "Number" + } + }, + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", + type: { + name: "Number" + } + }, + compression: { + serializedName: "compression", + type: { + name: "String" + } + }, + initialReplicationMethod: { + serializedName: "initialReplicationMethod", + type: { + name: "String" + } + }, + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", + type: { + name: "String" + } + }, + offlineReplicationImportPath: { + serializedName: "offlineReplicationImportPath", + type: { + name: "String" + } + }, + offlineReplicationExportPath: { + serializedName: "offlineReplicationExportPath", + type: { + name: "String" + } + }, + replicationPort: { + serializedName: "replicationPort", + type: { + name: "Number" + } + }, + allowedAuthenticationType: { + serializedName: "allowedAuthenticationType", + type: { + name: "Number" + } + }, + replicaDeletion: { + serializedName: "replicaDeletion", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaBlueReplicationDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012R2", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "HyperVReplicaBlueReplicationDetails", + modelProperties: { + ...ReplicationProviderSpecificSettings.type.modelProperties, + lastReplicatedTime: { + serializedName: "lastReplicatedTime", + type: { + name: "DateTime" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicDetails" + } + } + } + }, + vmId: { + serializedName: "vmId", + type: { + name: "String" + } + }, + vmProtectionState: { + serializedName: "vmProtectionState", + type: { + name: "String" + } + }, + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", + type: { + name: "String" + } + }, + initialReplicationDetails: { + serializedName: "initialReplicationDetails", + type: { + name: "Composite", + className: "InitialReplicationDetails" + } + }, + vMDiskDetails: { + serializedName: "vMDiskDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskDetails" + } + } + } + } + } + } +}; + +export const HyperVReplicaPolicyDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "HyperVReplicaPolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPoints: { + serializedName: "recoveryPoints", + type: { + name: "Number" + } + }, + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", + type: { + name: "Number" + } + }, + compression: { + serializedName: "compression", + type: { + name: "String" + } + }, + initialReplicationMethod: { + serializedName: "initialReplicationMethod", + type: { + name: "String" + } + }, + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", + type: { + name: "String" + } + }, + offlineReplicationImportPath: { + serializedName: "offlineReplicationImportPath", + type: { + name: "String" + } + }, + offlineReplicationExportPath: { + serializedName: "offlineReplicationExportPath", + type: { + name: "String" + } + }, + replicationPort: { + serializedName: "replicationPort", + type: { + name: "Number" + } + }, + allowedAuthenticationType: { + serializedName: "allowedAuthenticationType", + type: { + name: "Number" + } + }, + replicaDeletionOption: { + serializedName: "replicaDeletionOption", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaPolicyInput: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "HyperVReplicaPolicyInput", + modelProperties: { + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPoints: { + serializedName: "recoveryPoints", + type: { + name: "Number" + } + }, + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", + type: { + name: "Number" + } + }, + compression: { + serializedName: "compression", + type: { + name: "String" + } + }, + initialReplicationMethod: { + serializedName: "initialReplicationMethod", + type: { + name: "String" + } + }, + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", + type: { + name: "String" + } + }, + offlineReplicationImportPath: { + serializedName: "offlineReplicationImportPath", + type: { + name: "String" + } + }, + offlineReplicationExportPath: { + serializedName: "offlineReplicationExportPath", + type: { + name: "String" + } + }, + replicationPort: { + serializedName: "replicationPort", + type: { + name: "Number" + } + }, + allowedAuthenticationType: { + serializedName: "allowedAuthenticationType", + type: { + name: "Number" + } + }, + replicaDeletion: { + serializedName: "replicaDeletion", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaReplicationDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "HyperVReplicaReplicationDetails", + modelProperties: { + ...ReplicationProviderSpecificSettings.type.modelProperties, + lastReplicatedTime: { + serializedName: "lastReplicatedTime", + type: { + name: "DateTime" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicDetails" + } + } + } + }, + vmId: { + serializedName: "vmId", + type: { + name: "String" + } + }, + vmProtectionState: { + serializedName: "vmProtectionState", + type: { + name: "String" + } + }, + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", + type: { + name: "String" + } + }, + initialReplicationDetails: { + serializedName: "initialReplicationDetails", + type: { + name: "Composite", + className: "InitialReplicationDetails" + } + }, + vMDiskDetails: { + serializedName: "vMDiskDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskDetails" + } + } + } + } + } + } +}; + +export const HyperVSiteDetails: msRest.CompositeMapper = { + serializedName: "HyperVSite", + type: { + name: "Composite", + polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, + uberParent: "FabricSpecificDetails", + className: "HyperVSiteDetails", + modelProperties: { + ...FabricSpecificDetails.type.modelProperties + } + } +}; + +export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { + serializedName: "HyperVVirtualMachine", + type: { + name: "Composite", + polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, + uberParent: "ConfigurationSettings", + className: "HyperVVirtualMachineDetails", + modelProperties: { + ...ConfigurationSettings.type.modelProperties, + sourceItemId: { + serializedName: "sourceItemId", + type: { + name: "String" + } + }, + generation: { + serializedName: "generation", + type: { + name: "String" + } + }, + osDetails: { + serializedName: "osDetails", + type: { + name: "Composite", + className: "OSDetails" + } + }, + diskDetails: { + serializedName: "diskDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskDetails" + } + } + } + }, + hasPhysicalDisk: { + serializedName: "hasPhysicalDisk", + type: { + name: "String" + } + }, + hasFibreChannelAdapter: { + serializedName: "hasFibreChannelAdapter", + type: { + name: "String" + } + }, + hasSharedVhd: { + serializedName: "hasSharedVhd", + type: { + name: "String" + } + } + } + } +}; + +export const IdentityProviderDetails: msRest.CompositeMapper = { + serializedName: "IdentityProviderDetails", + type: { + name: "Composite", + className: "IdentityProviderDetails", + modelProperties: { + tenantId: { + serializedName: "tenantId", + type: { + name: "String" + } + }, + applicationId: { + serializedName: "applicationId", + type: { + name: "String" + } + }, + objectId: { + serializedName: "objectId", + type: { + name: "String" + } + }, + audience: { + serializedName: "audience", + type: { + name: "String" + } + }, + aadAuthority: { + serializedName: "aadAuthority", + type: { + name: "String" + } + } + } + } +}; + +export const InlineWorkflowTaskDetails: msRest.CompositeMapper = { + serializedName: "InlineWorkflowTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, + uberParent: "GroupTaskDetails", + className: "InlineWorkflowTaskDetails", + modelProperties: { + ...GroupTaskDetails.type.modelProperties, + workflowIds: { + serializedName: "workflowIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const InMageAgentDetails: msRest.CompositeMapper = { + serializedName: "InMageAgentDetails", + type: { + name: "Composite", + className: "InMageAgentDetails", + modelProperties: { + agentVersion: { + serializedName: "agentVersion", + type: { + name: "String" + } + }, + agentUpdateStatus: { + serializedName: "agentUpdateStatus", + type: { + name: "String" + } + }, + postUpdateRebootStatus: { + serializedName: "postUpdateRebootStatus", + type: { + name: "String" + } + }, + agentExpiryDate: { + serializedName: "agentExpiryDate", + type: { + name: "DateTime" + } + } + } + } +}; + +export const InMageAgentVersionDetails: msRest.CompositeMapper = { + serializedName: "InMageAgentVersionDetails", + type: { + name: "Composite", + className: "InMageAgentVersionDetails", + modelProperties: { + postUpdateRebootStatus: { + serializedName: "postUpdateRebootStatus", + type: { + name: "String" + } + }, + version: { + serializedName: "version", + type: { + name: "String" + } + }, + expiryDate: { + serializedName: "expiryDate", + type: { + name: "DateTime" + } + }, + status: { + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2ApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "InMageAzureV2ApplyRecoveryPointInput", + modelProperties: { + ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2DiskInputDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2DiskInputDetails", + type: { + name: "Composite", + className: "InMageAzureV2DiskInputDetails", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "InMageAzureV2EnableProtectionInput", + modelProperties: { + ...EnableProtectionProviderSpecificInput.type.modelProperties, + masterTargetId: { + serializedName: "masterTargetId", + type: { + name: "String" + } + }, + processServerId: { + serializedName: "processServerId", + type: { + name: "String" + } + }, + storageAccountId: { + serializedName: "storageAccountId", + type: { + name: "String" + } + }, + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + }, + multiVmGroupId: { + serializedName: "multiVmGroupId", + type: { + name: "String" + } + }, + multiVmGroupName: { + serializedName: "multiVmGroupName", + type: { + name: "String" + } + }, + disksToInclude: { + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageAzureV2DiskInputDetails" + } + } + } + }, + targetAzureNetworkId: { + serializedName: "targetAzureNetworkId", + type: { + name: "String" + } + }, + targetAzureSubnetId: { + serializedName: "targetAzureSubnetId", + type: { + name: "String" + } + }, + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", + type: { + name: "String" + } + }, + targetAzureVmName: { + serializedName: "targetAzureVmName", + type: { + name: "String" + } + }, + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + targetAzureV1ResourceGroupId: { + serializedName: "targetAzureV1ResourceGroupId", + type: { + name: "String" + } + }, + targetAzureV2ResourceGroupId: { + serializedName: "targetAzureV2ResourceGroupId", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2EventDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "InMageAzureV2EventDetails", + modelProperties: { + ...EventProviderSpecificDetails.type.modelProperties, + eventType: { + serializedName: "eventType", + type: { + name: "String" + } + }, + category: { + serializedName: "category", + type: { + name: "String" + } + }, + component: { + serializedName: "component", + type: { + name: "String" + } + }, + correctiveAction: { + serializedName: "correctiveAction", + type: { + name: "String" + } + }, + details: { + serializedName: "details", + type: { + name: "String" + } + }, + summary: { + serializedName: "summary", + type: { + name: "String" + } + }, + siteName: { + serializedName: "siteName", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2FailoverProviderInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificFailoverInput", + className: "InMageAzureV2FailoverProviderInput", + modelProperties: { + ...ProviderSpecificFailoverInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2ManagedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2ManagedDiskDetails", + type: { + name: "Composite", + className: "InMageAzureV2ManagedDiskDetails", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + seedManagedDiskId: { + serializedName: "seedManagedDiskId", + type: { + name: "String" + } + }, + replicaDiskType: { + serializedName: "replicaDiskType", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2PolicyDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "InMageAzureV2PolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", + type: { + name: "Number" + } + }, + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2PolicyInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "InMageAzureV2PolicyInput", + modelProperties: { + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", + type: { + name: "Number" + } + }, + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" + } + }, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + multiVmSyncStatus: { + required: true, + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2ProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2ProtectedDiskDetails", + type: { + name: "Composite", + className: "InMageAzureV2ProtectedDiskDetails", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + diskName: { + serializedName: "diskName", + type: { + name: "String" + } + }, + protectionStage: { + serializedName: "protectionStage", + type: { + name: "String" + } + }, + healthErrorCode: { + serializedName: "healthErrorCode", + type: { + name: "String" + } + }, + rpoInSeconds: { + serializedName: "rpoInSeconds", + type: { + name: "Number" + } + }, + resyncRequired: { + serializedName: "resyncRequired", + type: { + name: "String" + } + }, + resyncProgressPercentage: { + serializedName: "resyncProgressPercentage", + type: { + name: "Number" + } + }, + resyncDurationInSeconds: { + serializedName: "resyncDurationInSeconds", + type: { + name: "Number" + } + }, + diskCapacityInBytes: { + serializedName: "diskCapacityInBytes", + type: { + name: "Number" + } + }, + fileSystemCapacityInBytes: { + serializedName: "fileSystemCapacityInBytes", + type: { + name: "Number" + } + }, + sourceDataInMegaBytes: { + serializedName: "sourceDataInMegaBytes", + type: { + name: "Number" + } + }, + psDataInMegaBytes: { + serializedName: "psDataInMegaBytes", + type: { + name: "Number" + } + }, + targetDataInMegaBytes: { + serializedName: "targetDataInMegaBytes", + type: { + name: "Number" + } + }, + diskResized: { + serializedName: "diskResized", + type: { + name: "String" + } + }, + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const InMageAzureV2RecoveryPointDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "InMageAzureV2RecoveryPointDetails", + modelProperties: { + ...ProviderSpecificRecoveryPointDetails.type.modelProperties, + isMultiVmSyncPoint: { + serializedName: "isMultiVmSyncPoint", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageAzureV2ReplicationDetails", + modelProperties: { + ...ReplicationProviderSpecificSettings.type.modelProperties, + infrastructureVmId: { + serializedName: "infrastructureVmId", + type: { + name: "String" + } + }, + vCenterInfrastructureId: { + serializedName: "vCenterInfrastructureId", + type: { + name: "String" + } + }, + protectionStage: { + serializedName: "protectionStage", + type: { + name: "String" + } + }, + vmId: { + serializedName: "vmId", + type: { + name: "String" + } + }, + vmProtectionState: { + serializedName: "vmProtectionState", + type: { + name: "String" + } + }, + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", + type: { + name: "String" + } + }, + resyncProgressPercentage: { + serializedName: "resyncProgressPercentage", + type: { + name: "Number" + } + }, + rpoInSeconds: { + serializedName: "rpoInSeconds", + type: { + name: "Number" + } + }, + compressedDataRateInMB: { + serializedName: "compressedDataRateInMB", + type: { + name: "Number" + } + }, + uncompressedDataRateInMB: { + serializedName: "uncompressedDataRateInMB", + type: { + name: "Number" + } + }, + ipAddress: { + serializedName: "ipAddress", + type: { + name: "String" + } + }, + agentVersion: { + serializedName: "agentVersion", + type: { + name: "String" + } + }, + agentExpiryDate: { + serializedName: "agentExpiryDate", + type: { + name: "DateTime" + } + }, + isAgentUpdateRequired: { + serializedName: "isAgentUpdateRequired", + type: { + name: "String" + } + }, + isRebootAfterUpdateRequired: { + serializedName: "isRebootAfterUpdateRequired", + type: { + name: "String" + } + }, + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + processServerId: { + serializedName: "processServerId", + type: { + name: "String" + } + }, + processServerName: { + readOnly: true, + serializedName: "processServerName", + type: { + name: "String" + } + }, + multiVmGroupId: { + serializedName: "multiVmGroupId", + type: { + name: "String" + } + }, + multiVmGroupName: { + serializedName: "multiVmGroupName", + type: { + name: "String" + } + }, + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } + }, + protectedDisks: { + serializedName: "protectedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageAzureV2ProtectedDiskDetails" + } + } + } + }, + diskResized: { + serializedName: "diskResized", + type: { + name: "String" + } + }, + masterTargetId: { + serializedName: "masterTargetId", + type: { + name: "String" + } + }, + sourceVmCpuCount: { + serializedName: "sourceVmCpuCount", + type: { + name: "Number" + } + }, + sourceVmRamSizeInMB: { + serializedName: "sourceVmRamSizeInMB", + type: { + name: "Number" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + vhdName: { + serializedName: "vhdName", + type: { + name: "String" + } + }, + osDiskId: { + serializedName: "osDiskId", + type: { + name: "String" + } + }, + azureVMDiskDetails: { + serializedName: "azureVMDiskDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureVmDiskDetails" + } + } + } + }, + recoveryAzureVMName: { + serializedName: "recoveryAzureVMName", + type: { + name: "String" + } + }, + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", + type: { + name: "String" + } + }, + recoveryAzureStorageAccount: { + serializedName: "recoveryAzureStorageAccount", + type: { + name: "String" + } + }, + recoveryAzureLogStorageAccountId: { + serializedName: "recoveryAzureLogStorageAccountId", + type: { + name: "String" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicDetails" + } + } + } + }, + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", + type: { + name: "String" + } + }, + selectedTfoAzureNetworkId: { + serializedName: "selectedTfoAzureNetworkId", + type: { + name: "String" + } + }, + selectedSourceNicId: { + serializedName: "selectedSourceNicId", + type: { + name: "String" + } + }, + discoveryType: { + serializedName: "discoveryType", + type: { + name: "String" + } + }, + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", + type: { + name: "String" + } + }, + datastores: { + serializedName: "datastores", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + targetVmId: { + serializedName: "targetVmId", + type: { + name: "String" + } + }, + recoveryAzureResourceGroupId: { + serializedName: "recoveryAzureResourceGroupId", + type: { + name: "String" + } + }, + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + useManagedDisks: { + serializedName: "useManagedDisks", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + }, + validationErrors: { + serializedName: "validationErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", + type: { + name: "DateTime" + } + }, + lastUpdateReceivedTime: { + serializedName: "lastUpdateReceivedTime", + type: { + name: "DateTime" + } + }, + replicaId: { + serializedName: "replicaId", + type: { + name: "String" + } + }, + osVersion: { + serializedName: "osVersion", + type: { + name: "String" + } + }, + protectedManagedDisks: { + serializedName: "protectedManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageAzureV2ManagedDiskDetails" + } + } + } + } + } + } +}; + +export const InMageAzureV2ReprotectInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "InMageAzureV2ReprotectInput", + modelProperties: { + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + masterTargetId: { + serializedName: "masterTargetId", + type: { + name: "String" + } + }, + processServerId: { + serializedName: "processServerId", + type: { + name: "String" + } + }, + storageAccountId: { + serializedName: "storageAccountId", + type: { + name: "String" + } + }, + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + }, + policyId: { + serializedName: "policyId", + type: { + name: "String" + } + }, + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + disksToInclude: { + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const InMageAzureV2TestFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "InMageAzureV2TestFailoverInput", + modelProperties: { + ...TestFailoverProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2UnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "InMageAzureV2UnplannedFailoverInput", + modelProperties: { + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "InMageAzureV2UpdateReplicationProtectedItemInput", + modelProperties: { + ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, + recoveryAzureV1ResourceGroupId: { + serializedName: "recoveryAzureV1ResourceGroupId", + type: { + name: "String" + } + }, + recoveryAzureV2ResourceGroupId: { + serializedName: "recoveryAzureV2ResourceGroupId", + type: { + name: "String" + } + }, + useManagedDisks: { + serializedName: "useManagedDisks", + type: { + name: "String" + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + } + } + } +}; + +export const InMageBasePolicyDetails: msRest.CompositeMapper = { + serializedName: "InMageBasePolicyDetails", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "InMageBasePolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", + type: { + name: "Number" + } + }, + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } + } + } + } +}; + +export const InMageDisableProtectionProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: DisableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "DisableProtectionProviderSpecificInput", + className: "InMageDisableProtectionProviderSpecificInput", + modelProperties: { + ...DisableProtectionProviderSpecificInput.type.modelProperties, + replicaVmDeletionStatus: { + serializedName: "replicaVmDeletionStatus", + type: { + name: "String" + } + } + } + } +}; + +export const InMageDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageDiskDetails", + type: { + name: "Composite", + className: "InMageDiskDetails", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + diskName: { + serializedName: "diskName", + type: { + name: "String" + } + }, + diskSizeInMB: { + serializedName: "diskSizeInMB", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + }, + diskConfiguration: { + serializedName: "diskConfiguration", + type: { + name: "String" + } + }, + volumeList: { + serializedName: "volumeList", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskVolumeDetails" + } + } + } + } + } + } +}; + +export const InMageVolumeExclusionOptions: msRest.CompositeMapper = { + serializedName: "InMageVolumeExclusionOptions", + type: { + name: "Composite", + className: "InMageVolumeExclusionOptions", + modelProperties: { + volumeLabel: { + serializedName: "volumeLabel", + type: { + name: "String" + } + }, + onlyExcludeIfSingleVolume: { + serializedName: "onlyExcludeIfSingleVolume", + type: { + name: "String" + } + } + } + } +}; + +export const InMageDiskSignatureExclusionOptions: msRest.CompositeMapper = { + serializedName: "InMageDiskSignatureExclusionOptions", + type: { + name: "Composite", + className: "InMageDiskSignatureExclusionOptions", + modelProperties: { + diskSignature: { + serializedName: "diskSignature", + type: { + name: "String" + } + } + } + } +}; + +export const InMageDiskExclusionInput: msRest.CompositeMapper = { + serializedName: "InMageDiskExclusionInput", + type: { + name: "Composite", + className: "InMageDiskExclusionInput", + modelProperties: { + volumeOptions: { + serializedName: "volumeOptions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageVolumeExclusionOptions" + } + } + } + }, + diskSignatureOptions: { + serializedName: "diskSignatureOptions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageDiskSignatureExclusionOptions" + } + } + } + } + } + } +}; + +export const InMageEnableProtectionInput: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "InMageEnableProtectionInput", + modelProperties: { + ...EnableProtectionProviderSpecificInput.type.modelProperties, + vmFriendlyName: { + serializedName: "vmFriendlyName", + type: { + name: "String" + } + }, + masterTargetId: { + required: true, + serializedName: "masterTargetId", + type: { + name: "String" + } + }, + processServerId: { + required: true, + serializedName: "processServerId", + type: { + name: "String" + } + }, + retentionDrive: { + required: true, + serializedName: "retentionDrive", + type: { + name: "String" + } + }, + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + }, + multiVmGroupId: { + required: true, + serializedName: "multiVmGroupId", + type: { + name: "String" + } + }, + multiVmGroupName: { + required: true, + serializedName: "multiVmGroupName", + type: { + name: "String" + } + }, + datastoreName: { + serializedName: "datastoreName", + type: { + name: "String" + } + }, + diskExclusionInput: { + serializedName: "diskExclusionInput", + type: { + name: "Composite", + className: "InMageDiskExclusionInput" + } + }, + disksToInclude: { + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const InMageFailoverProviderInput: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificFailoverInput", + className: "InMageFailoverProviderInput", + modelProperties: { + ...ProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const InMagePolicyDetails: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "InMagePolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", + type: { + name: "Number" + } + }, + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } + } + } + } +}; + +export const InMagePolicyInput: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "InMagePolicyInput", + modelProperties: { + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", + type: { + name: "Number" + } + }, + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + multiVmSyncStatus: { + required: true, + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } + } + } + } +}; + +export const InMageProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageProtectedDiskDetails", + type: { + name: "Composite", + className: "InMageProtectedDiskDetails", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + diskName: { + serializedName: "diskName", + type: { + name: "String" + } + }, + protectionStage: { + serializedName: "protectionStage", + type: { + name: "String" + } + }, + healthErrorCode: { + serializedName: "healthErrorCode", + type: { + name: "String" + } + }, + rpoInSeconds: { + serializedName: "rpoInSeconds", + type: { + name: "Number" + } + }, + resyncRequired: { + serializedName: "resyncRequired", + type: { + name: "String" + } + }, + resyncProgressPercentage: { + serializedName: "resyncProgressPercentage", + type: { + name: "Number" + } + }, + resyncDurationInSeconds: { + serializedName: "resyncDurationInSeconds", + type: { + name: "Number" + } + }, + diskCapacityInBytes: { + serializedName: "diskCapacityInBytes", + type: { + name: "Number" + } + }, + fileSystemCapacityInBytes: { + serializedName: "fileSystemCapacityInBytes", + type: { + name: "Number" + } + }, + sourceDataInMB: { + serializedName: "sourceDataInMB", + type: { + name: "Number" + } + }, + psDataInMB: { + serializedName: "psDataInMB", + type: { + name: "Number" + } + }, + targetDataInMB: { + serializedName: "targetDataInMB", + type: { + name: "Number" + } + }, + diskResized: { + serializedName: "diskResized", + type: { + name: "String" + } + }, + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const InMageRcmAgentUpgradeBlockingErrorDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmAgentUpgradeBlockingErrorDetails", + type: { + name: "Composite", + className: "InMageRcmAgentUpgradeBlockingErrorDetails", + modelProperties: { + errorCode: { + readOnly: true, + serializedName: "errorCode", + type: { + name: "String" + } + }, + errorMessage: { + readOnly: true, + serializedName: "errorMessage", + type: { + name: "String" + } + }, + possibleCauses: { + readOnly: true, + serializedName: "possibleCauses", + type: { + name: "String" + } + }, + recommendedAction: { + readOnly: true, + serializedName: "recommendedAction", + type: { + name: "String" + } + }, + errorMessageParameters: { + readOnly: true, + serializedName: "errorMessageParameters", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + errorTags: { + readOnly: true, + serializedName: "errorTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const InMageRcmApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "InMageRcmApplyRecoveryPointInput", modelProperties: { ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmDiskInput: msRest.CompositeMapper = { + serializedName: "InMageRcmDiskInput", + type: { + name: "Composite", + className: "InMageRcmDiskInput", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmDisksDefaultInput: msRest.CompositeMapper = { + serializedName: "InMageRcmDisksDefaultInput", + type: { + name: "Composite", + className: "InMageRcmDisksDefaultInput", + modelProperties: { + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmEnableProtectionInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "InMageRcmEnableProtectionInput", + modelProperties: { + ...EnableProtectionProviderSpecificInput.type.modelProperties, + fabricDiscoveryMachineId: { + serializedName: "fabricDiscoveryMachineId", + type: { + name: "String" + } + }, + disksToInclude: { + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmDiskInput" + } + } + } + }, + disksDefault: { + serializedName: "disksDefault", + type: { + name: "Composite", + className: "InMageRcmDisksDefaultInput" + } + }, + targetResourceGroupId: { + serializedName: "targetResourceGroupId", + type: { + name: "String" + } + }, + targetNetworkId: { + serializedName: "targetNetworkId", + type: { + name: "String" + } + }, + testNetworkId: { + serializedName: "testNetworkId", + type: { + name: "String" + } + }, + targetSubnetName: { + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + testSubnetName: { + serializedName: "testSubnetName", + type: { + name: "String" + } + }, + targetVmName: { + serializedName: "targetVmName", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + }, + processServerId: { + serializedName: "processServerId", + type: { + name: "String" + } + }, + multiVmGroupName: { + serializedName: "multiVmGroupName", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmEventDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "InMageRcmEventDetails", + modelProperties: { + ...EventProviderSpecificDetails.type.modelProperties, + protectedItemName: { + readOnly: true, + serializedName: "protectedItemName", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmFabricCreationInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreationInput", + className: "InMageRcmFabricCreationInput", + modelProperties: { + ...FabricSpecificCreationInput.type.modelProperties, + vmwareSiteId: { + serializedName: "vmwareSiteId", + type: { + name: "String" + } + }, + physicalSiteId: { + serializedName: "physicalSiteId", + type: { + name: "String" + } + }, + sourceAgentIdentity: { + serializedName: "sourceAgentIdentity", + type: { + name: "Composite", + className: "IdentityProviderInput" + } + }, + authCertificate: { + serializedName: "authCertificate", + type: { + name: "String" + } + } + } + } +}; + +export const ProcessServerDetails: msRest.CompositeMapper = { + serializedName: "ProcessServerDetails", + type: { + name: "Composite", + className: "ProcessServerDetails", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", + type: { + name: "DateTime" + } + }, + totalMemoryInBytes: { + readOnly: true, + serializedName: "totalMemoryInBytes", + type: { + name: "Number" + } + }, + availableMemoryInBytes: { + readOnly: true, + serializedName: "availableMemoryInBytes", + type: { + name: "Number" + } + }, + usedMemoryInBytes: { + readOnly: true, + serializedName: "usedMemoryInBytes", + type: { + name: "Number" + } + }, + memoryUsagePercentage: { + readOnly: true, + serializedName: "memoryUsagePercentage", + type: { + name: "Number" + } + }, + totalSpaceInBytes: { + readOnly: true, + serializedName: "totalSpaceInBytes", + type: { + name: "Number" + } + }, + availableSpaceInBytes: { + readOnly: true, + serializedName: "availableSpaceInBytes", + type: { + name: "Number" + } + }, + usedSpaceInBytes: { + readOnly: true, + serializedName: "usedSpaceInBytes", + type: { + name: "Number" + } + }, + freeSpacePercentage: { + readOnly: true, + serializedName: "freeSpacePercentage", + type: { + name: "Number" + } + }, + throughputUploadPendingDataInBytes: { + readOnly: true, + serializedName: "throughputUploadPendingDataInBytes", + type: { + name: "Number" + } + }, + throughputInBytes: { + readOnly: true, + serializedName: "throughputInBytes", + type: { + name: "Number" + } + }, + processorUsagePercentage: { + readOnly: true, + serializedName: "processorUsagePercentage", + type: { + name: "Number" + } + }, + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" + } + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + historicHealth: { + readOnly: true, + serializedName: "historicHealth", + type: { + name: "String" + } + } + } + } +}; + +export const RcmProxyDetails: msRest.CompositeMapper = { + serializedName: "RcmProxyDetails", + type: { + name: "Composite", + className: "RcmProxyDetails", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", + type: { + name: "DateTime" + } + }, + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" + } + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + } + } + } +}; + +export const PushInstallerDetails: msRest.CompositeMapper = { + serializedName: "PushInstallerDetails", + type: { + name: "Composite", + className: "PushInstallerDetails", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", + type: { + name: "DateTime" + } + }, + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" + } + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + } + } + } +}; + +export const ReplicationAgentDetails: msRest.CompositeMapper = { + serializedName: "ReplicationAgentDetails", + type: { + name: "Composite", + className: "ReplicationAgentDetails", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", + type: { + name: "DateTime" + } + }, + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" + } + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + } + } + } +}; + +export const ReprotectAgentDetails: msRest.CompositeMapper = { + serializedName: "ReprotectAgentDetails", + type: { + name: "Composite", + className: "ReprotectAgentDetails", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", + type: { + name: "DateTime" + } + }, + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" + } + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + } + } + } +}; + +export const InMageRcmFabricSpecificDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, + uberParent: "FabricSpecificDetails", + className: "InMageRcmFabricSpecificDetails", + modelProperties: { + ...FabricSpecificDetails.type.modelProperties, + vmwareSiteId: { + readOnly: true, + serializedName: "vmwareSiteId", + type: { + name: "String" + } + }, + physicalSiteId: { + readOnly: true, + serializedName: "physicalSiteId", + type: { + name: "String" + } + }, + serviceEndpoint: { + readOnly: true, + serializedName: "serviceEndpoint", + type: { + name: "String" + } + }, + serviceResourceId: { + readOnly: true, + serializedName: "serviceResourceId", + type: { + name: "String" + } + }, + serviceContainerId: { + readOnly: true, + serializedName: "serviceContainerId", + type: { + name: "String" + } + }, + dataPlaneUri: { + readOnly: true, + serializedName: "dataPlaneUri", + type: { + name: "String" + } + }, + controlPlaneUri: { + readOnly: true, + serializedName: "controlPlaneUri", + type: { + name: "String" + } + }, + processServers: { + readOnly: true, + serializedName: "processServers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ProcessServerDetails" + } + } + } + }, + rcmProxies: { + readOnly: true, + serializedName: "rcmProxies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RcmProxyDetails" + } + } + } + }, + pushInstallers: { + readOnly: true, + serializedName: "pushInstallers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PushInstallerDetails" + } + } + } + }, + replicationAgents: { + readOnly: true, + serializedName: "replicationAgents", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationAgentDetails" + } + } + } + }, + reprotectAgents: { + readOnly: true, + serializedName: "reprotectAgents", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReprotectAgentDetails" + } + } + } + }, + dras: { + readOnly: true, + serializedName: "dras", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DraDetails" + } + } + } + }, + agentDetails: { + readOnly: true, + serializedName: "agentDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AgentDetails" + } + } + } + } + } + } +}; + +export const InMageRcmLastAgentUpgradeErrorDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmLastAgentUpgradeErrorDetails", + type: { + name: "Composite", + className: "InMageRcmLastAgentUpgradeErrorDetails", + modelProperties: { + errorCode: { + readOnly: true, + serializedName: "errorCode", + type: { + name: "String" + } + }, + errorMessage: { + readOnly: true, + serializedName: "errorMessage", + type: { + name: "String" + } + }, + possibleCauses: { + readOnly: true, + serializedName: "possibleCauses", type: { name: "String" } }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", + recommendedAction: { + readOnly: true, + serializedName: "recommendedAction", type: { name: "String" } }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + errorMessageParameters: { + readOnly: true, + serializedName: "errorMessageParameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + errorTags: { + readOnly: true, + serializedName: "errorTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const HyperVReplicaAzureEnableProtectionInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const InMageRcmMobilityAgentDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmMobilityAgentDetails", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "HyperVReplicaAzureEnableProtectionInput", + className: "InMageRcmMobilityAgentDetails", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - hvHostVmId: { - serializedName: "hvHostVmId", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - vmName: { - serializedName: "vmName", + latestVersion: { + readOnly: true, + serializedName: "latestVersion", type: { name: "String" } }, - osType: { - serializedName: "osType", + driverVersion: { + readOnly: true, + serializedName: "driverVersion", type: { name: "String" } }, - vhdId: { - serializedName: "vhdId", + latestUpgradableVersionWithoutReboot: { + readOnly: true, + serializedName: "latestUpgradableVersionWithoutReboot", type: { name: "String" } }, - targetStorageAccountId: { - serializedName: "targetStorageAccountId", + agentVersionExpiryDate: { + readOnly: true, + serializedName: "agentVersionExpiryDate", + type: { + name: "DateTime" + } + }, + driverVersionExpiryDate: { + readOnly: true, + serializedName: "driverVersionExpiryDate", + type: { + name: "DateTime" + } + }, + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", + type: { + name: "DateTime" + } + }, + reasonsBlockingUpgrade: { + readOnly: true, + serializedName: "reasonsBlockingUpgrade", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + isUpgradeable: { + readOnly: true, + serializedName: "isUpgradeable", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmNicDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmNicDetails", + type: { + name: "Composite", + className: "InMageRcmNicDetails", + modelProperties: { + nicId: { + readOnly: true, + serializedName: "nicId", type: { name: "String" } }, - targetAzureNetworkId: { - serializedName: "targetAzureNetworkId", + isPrimaryNic: { + readOnly: true, + serializedName: "isPrimaryNic", type: { name: "String" } }, - targetAzureSubnetId: { - serializedName: "targetAzureSubnetId", + isSelectedForFailover: { + readOnly: true, + serializedName: "isSelectedForFailover", type: { name: "String" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + sourceIPAddress: { + readOnly: true, + serializedName: "sourceIPAddress", type: { name: "String" } }, - targetAzureVmName: { - serializedName: "targetAzureVmName", + sourceIPAddressType: { + readOnly: true, + serializedName: "sourceIPAddressType", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + sourceNetworkId: { + readOnly: true, + serializedName: "sourceNetworkId", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + sourceSubnetName: { + readOnly: true, + serializedName: "sourceSubnetName", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - targetAzureV1ResourceGroupId: { - serializedName: "targetAzureV1ResourceGroupId", + targetIPAddress: { + readOnly: true, + serializedName: "targetIPAddress", type: { name: "String" } }, - targetAzureV2ResourceGroupId: { - serializedName: "targetAzureV2ResourceGroupId", + targetIPAddressType: { + readOnly: true, + serializedName: "targetIPAddressType", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + targetSubnetName: { + readOnly: true, + serializedName: "targetSubnetName", type: { name: "String" } - } - } - } -}; - -export const HyperVReplicaAzureEventDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", - type: { - name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "HyperVReplicaAzureEventDetails", - modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - containerName: { - serializedName: "containerName", + }, + testSubnetName: { + readOnly: true, + serializedName: "testSubnetName", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + testIPAddress: { + readOnly: true, + serializedName: "testIPAddress", type: { name: "String" } }, - remoteContainerName: { - serializedName: "remoteContainerName", + testIPAddressType: { + readOnly: true, + serializedName: "testIPAddressType", type: { name: "String" } @@ -4484,66 +10288,50 @@ export const HyperVReplicaAzureEventDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzureFailbackProviderInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzureFailback", +export const InMageRcmNicInput: msRest.CompositeMapper = { + serializedName: "InMageRcmNicInput", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "HyperVReplicaAzureFailbackProviderInput", + className: "InMageRcmNicInput", modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - dataSyncOption: { - serializedName: "dataSyncOption", + nicId: { + serializedName: "nicId", type: { name: "String" } }, - recoveryVmCreationOption: { - serializedName: "recoveryVmCreationOption", + isPrimaryNic: { + serializedName: "isPrimaryNic", type: { name: "String" } }, - providerIdForAlternateRecovery: { - serializedName: "providerIdForAlternateRecovery", + isSelectedForFailover: { + serializedName: "isSelectedForFailover", type: { name: "String" } - } - } - } -}; - -export const HyperVReplicaAzureFailoverProviderInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", - type: { - name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "HyperVReplicaAzureFailoverProviderInput", - modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + }, + targetSubnetName: { + serializedName: "targetSubnetName", type: { name: "String" } }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", + targetStaticIPAddress: { + serializedName: "targetStaticIPAddress", type: { name: "String" } }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + testSubnetName: { + serializedName: "testSubnetName", type: { name: "String" } }, - recoveryPointId: { - serializedName: "recoveryPointId", + testStaticIPAddress: { + serializedName: "testStaticIPAddress", type: { name: "String" } @@ -4552,47 +10340,35 @@ export const HyperVReplicaAzureFailoverProviderInput: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzurePolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const InMageRcmPolicyCreationInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaAzurePolicyDetails", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "InMageRcmPolicyCreationInput", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointHistoryDurationInHours: { - serializedName: "recoveryPointHistoryDurationInHours", + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { name: "Number" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { name: "Number" } }, - replicationInterval: { - serializedName: "replicationInterval", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { name: "Number" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", - type: { - name: "String" - } - }, - encryption: { - serializedName: "encryption", - type: { - name: "String" - } - }, - activeStorageAccountId: { - serializedName: "activeStorageAccountId", + enableMultiVmSync: { + serializedName: "enableMultiVmSync", type: { name: "String" } @@ -4601,114 +10377,112 @@ export const HyperVReplicaAzurePolicyDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzurePolicyInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const InMageRcmPolicyDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "HyperVReplicaAzurePolicyInput", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "InMageRcmPolicyDetails", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointHistoryDuration: { - serializedName: "recoveryPointHistoryDuration", + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointHistoryInMinutes: { + readOnly: true, + serializedName: "recoveryPointHistoryInMinutes", type: { name: "Number" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + appConsistentFrequencyInMinutes: { + readOnly: true, + serializedName: "appConsistentFrequencyInMinutes", type: { name: "Number" } }, - replicationInterval: { - serializedName: "replicationInterval", + crashConsistentFrequencyInMinutes: { + readOnly: true, + serializedName: "crashConsistentFrequencyInMinutes", type: { name: "Number" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", - type: { - name: "String" - } - }, - storageAccounts: { - serializedName: "storageAccounts", + enableMultiVmSync: { + readOnly: true, + serializedName: "enableMultiVmSync", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const InitialReplicationDetails: msRest.CompositeMapper = { - serializedName: "InitialReplicationDetails", +export const InMageRcmProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmProtectedDiskDetails", type: { name: "Composite", - className: "InitialReplicationDetails", + className: "InMageRcmProtectedDiskDetails", modelProperties: { - initialReplicationType: { - serializedName: "initialReplicationType", + diskId: { + readOnly: true, + serializedName: "diskId", type: { name: "String" } }, - initialReplicationProgressPercentage: { - serializedName: "initialReplicationProgressPercentage", + diskName: { + readOnly: true, + serializedName: "diskName", type: { name: "String" } - } - } - } -}; - -export const OSDetails: msRest.CompositeMapper = { - serializedName: "OSDetails", - type: { - name: "Composite", - className: "OSDetails", - modelProperties: { - osType: { - serializedName: "osType", + }, + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", type: { name: "String" } }, - productType: { - serializedName: "productType", + capacityInBytes: { + readOnly: true, + serializedName: "capacityInBytes", + type: { + name: "Number" + } + }, + logStorageAccountId: { + readOnly: true, + serializedName: "logStorageAccountId", type: { name: "String" } }, - osEdition: { - serializedName: "osEdition", + diskEncryptionSetId: { + readOnly: true, + serializedName: "diskEncryptionSetId", type: { name: "String" } }, - oSVersion: { - serializedName: "oSVersion", + seedManagedDiskId: { + readOnly: true, + serializedName: "seedManagedDiskId", type: { name: "String" } }, - oSMajorVersion: { - serializedName: "oSMajorVersion", + targetManagedDiskId: { + readOnly: true, + serializedName: "targetManagedDiskId", type: { name: "String" } }, - oSMinorVersion: { - serializedName: "oSMinorVersion", + diskType: { + readOnly: true, + serializedName: "diskType", type: { name: "String" } @@ -4717,427 +10491,364 @@ export const OSDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzureReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const InMageRcmRecoveryPointDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "InMageRcmRecoveryPointDetails", + modelProperties: { + ...ProviderSpecificRecoveryPointDetails.type.modelProperties, + isMultiVmSyncPoint: { + readOnly: true, + serializedName: "isMultiVmSyncPoint", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaAzureReplicationDetails", + className: "InMageRcmReplicationDetails", modelProperties: { ...ReplicationProviderSpecificSettings.type.modelProperties, - azureVmDiskDetails: { - serializedName: "azureVmDiskDetails", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureVmDiskDetails" - } - } - } - }, - recoveryAzureVmName: { - serializedName: "recoveryAzureVmName", + internalIdentifier: { + readOnly: true, + serializedName: "internalIdentifier", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + fabricDiscoveryMachineId: { + readOnly: true, + serializedName: "fabricDiscoveryMachineId", type: { name: "String" } }, - recoveryAzureStorageAccount: { - serializedName: "recoveryAzureStorageAccount", + multiVmGroupName: { + readOnly: true, + serializedName: "multiVmGroupName", type: { name: "String" } }, - recoveryAzureLogStorageAccountId: { - serializedName: "recoveryAzureLogStorageAccountId", + discoveryType: { + readOnly: true, + serializedName: "discoveryType", type: { name: "String" } }, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", + processServerId: { + readOnly: true, + serializedName: "processServerId", type: { - name: "DateTime" + name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + processorCoreCount: { + readOnly: true, + serializedName: "processorCoreCount", type: { name: "Number" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", - type: { - name: "DateTime" - } - }, - vmId: { - serializedName: "vmId", + allocatedMemoryInMB: { + readOnly: true, + serializedName: "allocatedMemoryInMB", type: { - name: "String" + name: "Number" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + processServerName: { + readOnly: true, + serializedName: "processServerName", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + runAsAccountId: { + readOnly: true, + serializedName: "runAsAccountId", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", - type: { - name: "Composite", - className: "InitialReplicationDetails" - } - }, - vmNics: { - serializedName: "vmNics", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } - } - }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + osType: { + readOnly: true, + serializedName: "osType", type: { name: "String" } }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", + firmwareType: { + readOnly: true, + serializedName: "firmwareType", type: { name: "String" } }, - encryption: { - serializedName: "encryption", + targetGeneration: { + readOnly: true, + serializedName: "targetGeneration", type: { name: "String" } }, - oSDetails: { - serializedName: "oSDetails", - type: { - name: "Composite", - className: "OSDetails" - } - }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", - type: { - name: "Number" - } - }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", - type: { - name: "Number" - } - }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + licenseType: { + readOnly: true, + serializedName: "licenseType", type: { name: "String" } }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + targetVmName: { + readOnly: true, + serializedName: "targetVmName", type: { name: "String" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + targetVmSize: { + readOnly: true, + serializedName: "targetVmSize", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + targetResourceGroupId: { + readOnly: true, + serializedName: "targetResourceGroupId", type: { name: "String" } }, - licenseType: { - serializedName: "licenseType", - type: { - name: "String" - } - } - } - } -}; - -export const HyperVReplicaAzureReprotectInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", - type: { - name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "HyperVReplicaAzureReprotectInput", - modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - hvHostVmId: { - serializedName: "hvHostVmId", + targetAvailabilitySetId: { + readOnly: true, + serializedName: "targetAvailabilitySetId", type: { name: "String" } }, - vmName: { - serializedName: "vmName", + targetAvailabilityZone: { + readOnly: true, + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - osType: { - serializedName: "osType", + targetProximityPlacementGroupId: { + readOnly: true, + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } }, - vHDId: { - serializedName: "vHDId", + targetBootDiagnosticsStorageAccountId: { + readOnly: true, + serializedName: "targetBootDiagnosticsStorageAccountId", type: { name: "String" } }, - storageAccountId: { - serializedName: "storageAccountId", + targetNetworkId: { + readOnly: true, + serializedName: "targetNetworkId", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", - type: { - name: "String" - } - } - } - } -}; - -export const HyperVReplicaAzureUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", - type: { - name: "Composite", - polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, - uberParent: "UpdateReplicationProtectedItemProviderInput", - className: "HyperVReplicaAzureUpdateReplicationProtectedItemInput", - modelProperties: { - ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, - recoveryAzureV1ResourceGroupId: { - serializedName: "recoveryAzureV1ResourceGroupId", + testNetworkId: { + readOnly: true, + serializedName: "testNetworkId", type: { name: "String" } }, - recoveryAzureV2ResourceGroupId: { - serializedName: "recoveryAzureV2ResourceGroupId", + failoverRecoveryPointId: { + readOnly: true, + serializedName: "failoverRecoveryPointId", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + lastRecoveryPointReceived: { + readOnly: true, + serializedName: "lastRecoveryPointReceived", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -export const HyperVReplicaBaseEventDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaBaseEventDetails", - type: { - name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "HyperVReplicaBaseEventDetails", - modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - containerName: { - serializedName: "containerName", + }, + lastRpoInSeconds: { + readOnly: true, + serializedName: "lastRpoInSeconds", type: { - name: "String" + name: "Number" } }, - fabricName: { - serializedName: "fabricName", + lastRpoCalculatedTime: { + readOnly: true, + serializedName: "lastRpoCalculatedTime", type: { - name: "String" + name: "DateTime" } }, - remoteContainerName: { - serializedName: "remoteContainerName", + lastRecoveryPointId: { + readOnly: true, + serializedName: "lastRecoveryPointId", type: { name: "String" } }, - remoteFabricName: { - serializedName: "remoteFabricName", + initialReplicationProgressPercentage: { + readOnly: true, + serializedName: "initialReplicationProgressPercentage", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const HyperVReplicaBasePolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaBasePolicyDetails", - type: { - name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaBasePolicyDetails", - modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPoints: { - serializedName: "recoveryPoints", + }, + initialReplicationProcessedBytes: { + readOnly: true, + serializedName: "initialReplicationProcessedBytes", type: { name: "Number" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + initialReplicationTransferredBytes: { + readOnly: true, + serializedName: "initialReplicationTransferredBytes", type: { name: "Number" } }, - compression: { - serializedName: "compression", + resyncProgressPercentage: { + readOnly: true, + serializedName: "resyncProgressPercentage", type: { - name: "String" + name: "Number" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + resyncProcessedBytes: { + readOnly: true, + serializedName: "resyncProcessedBytes", type: { - name: "String" + name: "Number" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + resyncTransferredBytes: { + readOnly: true, + serializedName: "resyncTransferredBytes", type: { - name: "String" + name: "Number" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + resyncRequired: { + readOnly: true, + serializedName: "resyncRequired", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + resyncState: { + readOnly: true, + serializedName: "resyncState", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + agentUpgradeState: { + readOnly: true, + serializedName: "agentUpgradeState", type: { - name: "Number" + name: "String" } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + lastAgentUpgradeType: { + readOnly: true, + serializedName: "lastAgentUpgradeType", type: { - name: "Number" + name: "String" } }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + lastAgentUpgradeFailedJobId: { + readOnly: true, + serializedName: "lastAgentUpgradeFailedJobId", type: { name: "String" } - } - } - } -}; - -export const HyperVReplicaBaseReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaBaseReplicationDetails", - type: { - name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaBaseReplicationDetails", - modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", - type: { - name: "DateTime" - } }, - vmNics: { - serializedName: "vmNics", + protectedDisks: { + readOnly: true, + serializedName: "protectedDisks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VMNicDetails" + className: "InMageRcmProtectedDiskDetails" } } } }, - vmId: { - serializedName: "vmId", + isLastUpgradeSuccessful: { + readOnly: true, + serializedName: "isLastUpgradeSuccessful", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + mobilityAgentDetails: { + readOnly: true, + serializedName: "mobilityAgentDetails", type: { - name: "String" + name: "Composite", + className: "InMageRcmMobilityAgentDetails" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + lastAgentUpgradeErrorDetails: { + readOnly: true, + serializedName: "lastAgentUpgradeErrorDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmLastAgentUpgradeErrorDetails" + } + } } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + agentUpgradeBlockingErrorDetails: { + readOnly: true, + serializedName: "agentUpgradeBlockingErrorDetails", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmAgentUpgradeBlockingErrorDetails" + } + } } }, - vMDiskDetails: { - serializedName: "vMDiskDetails", + vmNics: { + readOnly: true, + serializedName: "vmNics", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskDetails" + className: "InMageRcmNicDetails" } } } @@ -5146,77 +10857,48 @@ export const HyperVReplicaBaseReplicationDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaBluePolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const InMageRcmTestFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaBluePolicyDetails", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "InMageRcmTestFailoverInput", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - replicationFrequencyInSeconds: { - serializedName: "replicationFrequencyInSeconds", - type: { - name: "Number" - } - }, - recoveryPoints: { - serializedName: "recoveryPoints", - type: { - name: "Number" - } - }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", - type: { - name: "Number" - } - }, - compression: { - serializedName: "compression", - type: { - name: "String" - } - }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", - type: { - name: "String" - } - }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + ...TestFailoverProviderSpecificInput.type.modelProperties, + networkId: { + serializedName: "networkId", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } - }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + } + } + } +}; + +export const InMageRcmUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "InMageRcmUnplannedFailoverInput", + modelProperties: { + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + performShutdown: { + serializedName: "performShutdown", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", - type: { - name: "Number" - } - }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", - type: { - name: "Number" - } - }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } @@ -5225,99 +10907,68 @@ export const HyperVReplicaBluePolicyDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaBluePolicyInput: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const InMageRcmUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "HyperVReplicaBluePolicyInput", - modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - replicationFrequencyInSeconds: { - serializedName: "replicationFrequencyInSeconds", - type: { - name: "Number" - } - }, - recoveryPoints: { - serializedName: "recoveryPoints", - type: { - name: "Number" - } - }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "InMageRcmUpdateReplicationProtectedItemInput", + modelProperties: { + ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, + targetVmName: { + serializedName: "targetVmName", type: { - name: "Number" + name: "String" } }, - compression: { - serializedName: "compression", + targetVmSize: { + serializedName: "targetVmSize", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + targetResourceGroupId: { + serializedName: "targetResourceGroupId", type: { name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", type: { - name: "Number" + name: "String" } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + targetNetworkId: { + serializedName: "targetNetworkId", type: { - name: "Number" + name: "String" } }, - replicaDeletion: { - serializedName: "replicaDeletion", + testNetworkId: { + serializedName: "testNetworkId", type: { name: "String" } - } - } - } -}; - -export const HyperVReplicaBlueReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", - type: { - name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaBlueReplicationDetails", - modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", - type: { - name: "DateTime" - } }, vmNics: { serializedName: "vmNics", @@ -5326,333 +10977,307 @@ export const HyperVReplicaBlueReplicationDetails: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "VMNicDetails" + className: "InMageRcmNicInput" } } } }, - vmId: { - serializedName: "vmId", + licenseType: { + serializedName: "licenseType", type: { name: "String" } - }, - vmProtectionState: { - serializedName: "vmProtectionState", + } + } + } +}; + +export const OSDiskDetails: msRest.CompositeMapper = { + serializedName: "OSDiskDetails", + type: { + name: "Composite", + className: "OSDiskDetails", + modelProperties: { + osVhdId: { + serializedName: "osVhdId", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + osType: { + serializedName: "osType", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", - type: { - name: "Composite", - className: "InitialReplicationDetails" - } - }, - vMDiskDetails: { - serializedName: "vMDiskDetails", + vhdName: { + serializedName: "vhdName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskDetails" - } - } + name: "String" } } } } }; -export const HyperVReplicaPolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const InMageReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaPolicyDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageReplicationDetails", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPoints: { - serializedName: "recoveryPoints", + ...ReplicationProviderSpecificSettings.type.modelProperties, + activeSiteType: { + serializedName: "activeSiteType", + type: { + name: "String" + } + }, + sourceVmCpuCount: { + serializedName: "sourceVmCpuCount", type: { name: "Number" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + sourceVmRamSizeInMB: { + serializedName: "sourceVmRamSizeInMB", type: { name: "Number" } }, - compression: { - serializedName: "compression", + osDetails: { + serializedName: "osDetails", type: { - name: "String" + name: "Composite", + className: "OSDiskDetails" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + protectionStage: { + serializedName: "protectionStage", type: { name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + vmId: { + serializedName: "vmId", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + vmProtectionState: { + serializedName: "vmProtectionState", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + resyncDetails: { + serializedName: "resyncDetails", type: { - name: "Number" + name: "Composite", + className: "InitialReplicationDetails" } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + retentionWindowStart: { + serializedName: "retentionWindowStart", type: { - name: "Number" + name: "DateTime" } }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + retentionWindowEnd: { + serializedName: "retentionWindowEnd", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -export const HyperVReplicaPolicyInput: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", - type: { - name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "HyperVReplicaPolicyInput", - modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPoints: { - serializedName: "recoveryPoints", + }, + compressedDataRateInMB: { + serializedName: "compressedDataRateInMB", type: { name: "Number" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + uncompressedDataRateInMB: { + serializedName: "uncompressedDataRateInMB", type: { name: "Number" } }, - compression: { - serializedName: "compression", + rpoInSeconds: { + serializedName: "rpoInSeconds", type: { - name: "String" + name: "Number" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + protectedDisks: { + serializedName: "protectedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageProtectedDiskDetails" + } + } } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + masterTargetId: { + serializedName: "masterTargetId", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + consistencyPoints: { + serializedName: "consistencyPoints", type: { - name: "Number" + name: "Dictionary", + value: { + type: { + name: "DateTime" + } + } } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + diskResized: { + serializedName: "diskResized", type: { - name: "Number" + name: "String" } }, - replicaDeletion: { - serializedName: "replicaDeletion", + rebootAfterUpdateStatus: { + serializedName: "rebootAfterUpdateStatus", type: { name: "String" } - } - } - } -}; - -export const HyperVReplicaReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", - type: { - name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaReplicationDetails", - modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", + }, + multiVmGroupId: { + serializedName: "multiVmGroupId", type: { - name: "DateTime" + name: "String" } }, - vmNics: { - serializedName: "vmNics", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "String" } }, - vmId: { - serializedName: "vmId", + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + agentDetails: { + serializedName: "agentDetails", type: { - name: "String" + name: "Composite", + className: "InMageAgentDetails" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + vCenterInfrastructureId: { + serializedName: "vCenterInfrastructureId", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + infrastructureVmId: { + serializedName: "infrastructureVmId", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "String" } }, - vMDiskDetails: { - serializedName: "vMDiskDetails", + vmNics: { + serializedName: "vmNics", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskDetails" + className: "VMNicDetails" } } } - } - } - } -}; - -export const HyperVSiteDetails: msRest.CompositeMapper = { - serializedName: "HyperVSite", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, - uberParent: "FabricSpecificDetails", - className: "HyperVSiteDetails", - modelProperties: { - ...FabricSpecificDetails.type.modelProperties - } - } -}; - -export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { - serializedName: "HyperVVirtualMachine", - type: { - name: "Composite", - polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, - uberParent: "ConfigurationSettings", - className: "HyperVVirtualMachineDetails", - modelProperties: { - ...ConfigurationSettings.type.modelProperties, - sourceItemId: { - serializedName: "sourceItemId", + }, + discoveryType: { + serializedName: "discoveryType", type: { name: "String" } }, - generation: { - serializedName: "generation", + azureStorageAccountId: { + serializedName: "azureStorageAccountId", type: { name: "String" } }, - osDetails: { - serializedName: "osDetails", + datastores: { + serializedName: "datastores", type: { - name: "Composite", - className: "OSDetails" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - diskDetails: { - serializedName: "diskDetails", + validationErrors: { + serializedName: "validationErrors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskDetails" + className: "HealthError" } } } }, - hasPhysicalDisk: { - serializedName: "hasPhysicalDisk", + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", type: { - name: "String" + name: "DateTime" } }, - hasFibreChannelAdapter: { - serializedName: "hasFibreChannelAdapter", + lastUpdateReceivedTime: { + serializedName: "lastUpdateReceivedTime", + type: { + name: "DateTime" + } + }, + replicaId: { + serializedName: "replicaId", type: { name: "String" } }, - hasSharedVhd: { - serializedName: "hasSharedVhd", + osVersion: { + serializedName: "osVersion", type: { name: "String" } @@ -5661,69 +11286,64 @@ export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { } }; -export const IdentityInformation: msRest.CompositeMapper = { - serializedName: "IdentityInformation", +export const InMageReprotectInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - className: "IdentityInformation", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "InMageReprotectInput", modelProperties: { - identityProviderType: { - serializedName: "identityProviderType", + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + masterTargetId: { + required: true, + serializedName: "masterTargetId", type: { name: "String" } }, - tenantId: { - serializedName: "tenantId", + processServerId: { + required: true, + serializedName: "processServerId", type: { name: "String" } }, - applicationId: { - serializedName: "applicationId", + retentionDrive: { + required: true, + serializedName: "retentionDrive", type: { name: "String" } }, - objectId: { - serializedName: "objectId", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } }, - audience: { - serializedName: "audience", + datastoreName: { + serializedName: "datastoreName", type: { name: "String" } }, - aadAuthority: { - serializedName: "aadAuthority", + diskExclusionInput: { + serializedName: "diskExclusionInput", type: { - name: "String" + name: "Composite", + className: "InMageDiskExclusionInput" } }, - certificateThumbprint: { - serializedName: "certificateThumbprint", + profileId: { + required: true, + serializedName: "profileId", type: { name: "String" } - } - } - } -}; - -export const InlineWorkflowTaskDetails: msRest.CompositeMapper = { - serializedName: "InlineWorkflowTaskDetails", - type: { - name: "Composite", - polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, - uberParent: "GroupTaskDetails", - className: "InlineWorkflowTaskDetails", - modelProperties: { - ...GroupTaskDetails.type.modelProperties, - workflowIds: { - serializedName: "workflowIds", + }, + disksToInclude: { + serializedName: "disksToInclude", type: { name: "Sequence", element: { @@ -5737,85 +11357,48 @@ export const InlineWorkflowTaskDetails: msRest.CompositeMapper = { } }; -export const InMageAgentDetails: msRest.CompositeMapper = { - serializedName: "InMageAgentDetails", +export const InMageTestFailoverInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - className: "InMageAgentDetails", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "InMageTestFailoverInput", modelProperties: { - agentVersion: { - serializedName: "agentVersion", - type: { - name: "String" - } - }, - agentUpdateStatus: { - serializedName: "agentUpdateStatus", + ...TestFailoverProviderSpecificInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", type: { name: "String" } }, - postUpdateRebootStatus: { - serializedName: "postUpdateRebootStatus", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } - }, - agentExpiryDate: { - serializedName: "agentExpiryDate", - type: { - name: "DateTime" - } } } } }; -export const InMageAgentVersionDetails: msRest.CompositeMapper = { - serializedName: "InMageAgentVersionDetails", +export const InMageUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - className: "InMageAgentVersionDetails", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "InMageUnplannedFailoverInput", modelProperties: { - postUpdateRebootStatus: { - serializedName: "postUpdateRebootStatus", - type: { - name: "String" - } - }, - version: { - serializedName: "version", + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", type: { name: "String" } }, - expiryDate: { - serializedName: "expiryDate", - type: { - name: "DateTime" - } - }, - status: { - serializedName: "status", - type: { - name: "String" - } - } - } - } -}; - -export const InMageAzureV2ApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", - type: { - name: "Composite", - polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "InMageAzureV2ApplyRecoveryPointInput", - modelProperties: { - ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } @@ -5823,163 +11406,169 @@ export const InMageAzureV2ApplyRecoveryPointInput: msRest.CompositeMapper = { } } }; - -export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", - type: { - name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "InMageAzureV2EnableProtectionInput", - modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - masterTargetId: { - serializedName: "masterTargetId", - type: { - name: "String" - } - }, - processServerId: { - serializedName: "processServerId", + +export const JobProperties: msRest.CompositeMapper = { + serializedName: "JobProperties", + type: { + name: "Composite", + className: "JobProperties", + modelProperties: { + activityId: { + serializedName: "activityId", type: { name: "String" } }, - storageAccountId: { - required: true, - serializedName: "storageAccountId", + scenarioName: { + serializedName: "scenarioName", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + state: { + serializedName: "state", type: { name: "String" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + stateDescription: { + serializedName: "stateDescription", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + tasks: { + serializedName: "tasks", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ASRTask" } } } }, - targetAzureNetworkId: { - serializedName: "targetAzureNetworkId", + errors: { + serializedName: "errors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobErrorDetails" + } + } } }, - targetAzureSubnetId: { - serializedName: "targetAzureSubnetId", + startTime: { + serializedName: "startTime", type: { - name: "String" + name: "DateTime" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + endTime: { + serializedName: "endTime", type: { - name: "String" + name: "DateTime" } }, - targetAzureVmName: { - serializedName: "targetAzureVmName", + allowedActions: { + serializedName: "allowedActions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + targetObjectId: { + serializedName: "targetObjectId", type: { name: "String" } }, - targetAzureV1ResourceGroupId: { - serializedName: "targetAzureV1ResourceGroupId", + targetObjectName: { + serializedName: "targetObjectName", type: { name: "String" } }, - targetAzureV2ResourceGroupId: { - serializedName: "targetAzureV2ResourceGroupId", + targetInstanceType: { + serializedName: "targetInstanceType", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + customDetails: { + serializedName: "customDetails", type: { - name: "String" + name: "Composite", + className: "JobDetails" } } } } }; -export const InMageAzureV2EventDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const Job: msRest.CompositeMapper = { + serializedName: "Job", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "InMageAzureV2EventDetails", + className: "Job", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - eventType: { - serializedName: "eventType", - type: { - name: "String" - } - }, - category: { - serializedName: "category", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "JobProperties" } - }, - component: { - serializedName: "component", + } + } + } +}; + +export const JobQueryParameter: msRest.CompositeMapper = { + serializedName: "JobQueryParameter", + type: { + name: "Composite", + className: "JobQueryParameter", + modelProperties: { + startTime: { + serializedName: "startTime", type: { name: "String" } }, - correctiveAction: { - serializedName: "correctiveAction", + endTime: { + serializedName: "endTime", type: { name: "String" } }, - details: { - serializedName: "details", + fabricId: { + serializedName: "fabricId", type: { name: "String" } }, - summary: { - serializedName: "summary", + affectedObjectTypes: { + serializedName: "affectedObjectTypes", type: { name: "String" } }, - siteName: { - serializedName: "siteName", + jobStatus: { + serializedName: "jobStatus", type: { name: "String" } @@ -5988,66 +11577,35 @@ export const InMageAzureV2EventDetails: msRest.CompositeMapper = { } }; -export const InMageAzureV2FailoverProviderInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const JobStatusEventDetails: msRest.CompositeMapper = { + serializedName: "JobStatus", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "InMageAzureV2FailoverProviderInput", + polymorphicDiscriminator: EventSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventSpecificDetails", + className: "JobStatusEventDetails", modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + ...EventSpecificDetails.type.modelProperties, + jobId: { + serializedName: "jobId", type: { name: "String" } }, - recoveryPointId: { - serializedName: "recoveryPointId", + jobFriendlyName: { + serializedName: "jobFriendlyName", type: { name: "String" } - } - } - } -}; - -export const InMageAzureV2PolicyDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", - type: { - name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "InMageAzureV2PolicyDetails", - modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", - type: { - name: "Number" - } - }, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", - type: { - name: "Number" - } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + jobStatus: { + serializedName: "jobStatus", type: { - name: "Number" + name: "String" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + affectedObjectType: { + serializedName: "affectedObjectType", type: { name: "String" } @@ -6056,161 +11614,163 @@ export const InMageAzureV2PolicyDetails: msRest.CompositeMapper = { } }; -export const InMageAzureV2PolicyInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const JobTaskDetails: msRest.CompositeMapper = { + serializedName: "JobTaskDetails", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "InMageAzureV2PolicyInput", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "JobTaskDetails", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", - type: { - name: "Number" - } - }, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", - type: { - name: "Number" - } - }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", - type: { - name: "Number" - } - }, - multiVmSyncStatus: { - required: true, - serializedName: "multiVmSyncStatus", + ...TaskTypeDetails.type.modelProperties, + jobTask: { + serializedName: "jobTask", type: { - name: "String" + name: "Composite", + className: "JobEntity" } } } } }; -export const InMageAzureV2ProtectedDiskDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2ProtectedDiskDetails", +export const LogicalNetworkProperties: msRest.CompositeMapper = { + serializedName: "LogicalNetworkProperties", type: { name: "Composite", - className: "InMageAzureV2ProtectedDiskDetails", + className: "LogicalNetworkProperties", modelProperties: { - diskId: { - serializedName: "diskId", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - diskName: { - serializedName: "diskName", + networkVirtualizationStatus: { + serializedName: "networkVirtualizationStatus", type: { name: "String" } }, - protectionStage: { - serializedName: "protectionStage", + logicalNetworkUsage: { + serializedName: "logicalNetworkUsage", type: { name: "String" } }, - healthErrorCode: { - serializedName: "healthErrorCode", + logicalNetworkDefinitionsStatus: { + serializedName: "logicalNetworkDefinitionsStatus", type: { name: "String" } - }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + } + } + } +}; + +export const LogicalNetwork: msRest.CompositeMapper = { + serializedName: "LogicalNetwork", + type: { + name: "Composite", + className: "LogicalNetwork", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "LogicalNetworkProperties" } - }, - resyncRequired: { - serializedName: "resyncRequired", + } + } + } +}; + +export const ManualActionTaskDetails: msRest.CompositeMapper = { + serializedName: "ManualActionTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "ManualActionTaskDetails", + modelProperties: { + ...TaskTypeDetails.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - resyncProgressPercentage: { - serializedName: "resyncProgressPercentage", - type: { - name: "Number" - } - }, - resyncDurationInSeconds: { - serializedName: "resyncDurationInSeconds", + instructions: { + serializedName: "instructions", type: { - name: "Number" + name: "String" } }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", + observation: { + serializedName: "observation", type: { - name: "Number" + name: "String" } - }, - fileSystemCapacityInBytes: { - serializedName: "fileSystemCapacityInBytes", + } + } + } +}; + +export const RetentionVolume: msRest.CompositeMapper = { + serializedName: "RetentionVolume", + type: { + name: "Composite", + className: "RetentionVolume", + modelProperties: { + volumeName: { + serializedName: "volumeName", type: { - name: "Number" + name: "String" } }, - sourceDataInMegaBytes: { - serializedName: "sourceDataInMegaBytes", + capacityInBytes: { + serializedName: "capacityInBytes", type: { name: "Number" } }, - psDataInMegaBytes: { - serializedName: "psDataInMegaBytes", + freeSpaceInBytes: { + serializedName: "freeSpaceInBytes", type: { name: "Number" } }, - targetDataInMegaBytes: { - serializedName: "targetDataInMegaBytes", + thresholdPercentage: { + serializedName: "thresholdPercentage", type: { name: "Number" } - }, - diskResized: { - serializedName: "diskResized", - type: { - name: "String" - } - }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", - type: { - name: "DateTime" - } } } } }; -export const InMageAzureV2RecoveryPointDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const VersionDetails: msRest.CompositeMapper = { + serializedName: "VersionDetails", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificRecoveryPointDetails", - className: "InMageAzureV2RecoveryPointDetails", + className: "VersionDetails", modelProperties: { - ...ProviderSpecificRecoveryPointDetails.type.modelProperties, - isMultiVmSyncPoint: { - serializedName: "isMultiVmSyncPoint", + version: { + serializedName: "version", + type: { + name: "String" + } + }, + expiryDate: { + serializedName: "expiryDate", + type: { + name: "DateTime" + } + }, + status: { + serializedName: "status", type: { name: "String" } @@ -6219,334 +11779,518 @@ export const InMageAzureV2RecoveryPointDetails: msRest.CompositeMapper = { } }; -export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const MasterTargetServer: msRest.CompositeMapper = { + serializedName: "MasterTargetServer", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "InMageAzureV2ReplicationDetails", + className: "MasterTargetServer", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - infrastructureVmId: { - serializedName: "infrastructureVmId", - type: { - name: "String" - } - }, - vCenterInfrastructureId: { - serializedName: "vCenterInfrastructureId", + id: { + serializedName: "id", type: { name: "String" } }, - protectionStage: { - serializedName: "protectionStage", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - vmId: { - serializedName: "vmId", + name: { + serializedName: "name", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + osType: { + serializedName: "osType", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + agentVersion: { + serializedName: "agentVersion", type: { name: "String" } }, - resyncProgressPercentage: { - serializedName: "resyncProgressPercentage", - type: { - name: "Number" - } - }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + lastHeartbeat: { + serializedName: "lastHeartbeat", type: { - name: "Number" + name: "DateTime" } }, - compressedDataRateInMB: { - serializedName: "compressedDataRateInMB", + versionStatus: { + serializedName: "versionStatus", type: { - name: "Number" + name: "String" } }, - uncompressedDataRateInMB: { - serializedName: "uncompressedDataRateInMB", + retentionVolumes: { + serializedName: "retentionVolumes", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RetentionVolume" + } + } } }, - ipAddress: { - serializedName: "ipAddress", + dataStores: { + serializedName: "dataStores", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataStore" + } + } } }, - agentVersion: { - serializedName: "agentVersion", + validationErrors: { + serializedName: "validationErrors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - agentExpiryDate: { - serializedName: "agentExpiryDate", + healthErrors: { + serializedName: "healthErrors", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - isAgentUpdateRequired: { - serializedName: "isAgentUpdateRequired", + diskCount: { + serializedName: "diskCount", type: { - name: "String" + name: "Number" } }, - isRebootAfterUpdateRequired: { - serializedName: "isRebootAfterUpdateRequired", + osVersion: { + serializedName: "osVersion", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + agentExpiryDate: { + serializedName: "agentExpiryDate", type: { name: "DateTime" } }, - processServerId: { - serializedName: "processServerId", + marsAgentVersion: { + serializedName: "marsAgentVersion", type: { name: "String" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + marsAgentExpiryDate: { + serializedName: "marsAgentExpiryDate", type: { - name: "String" + name: "DateTime" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + agentVersionDetails: { + serializedName: "agentVersionDetails", type: { - name: "String" + name: "Composite", + className: "VersionDetails" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + marsAgentVersionDetails: { + serializedName: "marsAgentVersionDetails", + type: { + name: "Composite", + className: "VersionDetails" + } + } + } + } +}; + +export const MigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "MigrateProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrateProviderSpecificInput", + className: "MigrateProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - protectedDisks: { - serializedName: "protectedDisks", + } + } + } +}; + +export const MigrateInputProperties: msRest.CompositeMapper = { + serializedName: "MigrateInputProperties", + type: { + name: "Composite", + className: "MigrateInputProperties", + modelProperties: { + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InMageAzureV2ProtectedDiskDetails" - } - } + name: "Composite", + className: "MigrateProviderSpecificInput" } - }, - diskResized: { - serializedName: "diskResized", + } + } + } +}; + +export const MigrateInput: msRest.CompositeMapper = { + serializedName: "MigrateInput", + type: { + name: "Composite", + className: "MigrateInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "MigrateInputProperties" } - }, - masterTargetId: { - serializedName: "masterTargetId", + } + } + } +}; + +export const MigrationProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "MigrationProviderSpecificSettings", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrationProviderSpecificSettings", + className: "MigrationProviderSpecificSettings", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", + } + } + } +}; + +export const MigrationItemProperties: msRest.CompositeMapper = { + serializedName: "MigrationItemProperties", + type: { + name: "Composite", + className: "MigrationItemProperties", + modelProperties: { + machineName: { + readOnly: true, + serializedName: "machineName", type: { - name: "Number" + name: "String" } }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", + policyId: { + readOnly: true, + serializedName: "policyId", type: { - name: "Number" + name: "String" } }, - osType: { - serializedName: "osType", + policyFriendlyName: { + readOnly: true, + serializedName: "policyFriendlyName", type: { name: "String" } }, - vhdName: { - serializedName: "vhdName", + recoveryServicesProviderId: { + readOnly: true, + serializedName: "recoveryServicesProviderId", type: { name: "String" } }, - osDiskId: { - serializedName: "osDiskId", + migrationState: { + readOnly: true, + serializedName: "migrationState", type: { name: "String" } }, - azureVMDiskDetails: { - serializedName: "azureVMDiskDetails", + migrationStateDescription: { + readOnly: true, + serializedName: "migrationStateDescription", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureVmDiskDetails" - } - } + name: "String" } }, - recoveryAzureVMName: { - serializedName: "recoveryAzureVMName", + testMigrateState: { + readOnly: true, + serializedName: "testMigrateState", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + testMigrateStateDescription: { + readOnly: true, + serializedName: "testMigrateStateDescription", type: { name: "String" } }, - recoveryAzureStorageAccount: { - serializedName: "recoveryAzureStorageAccount", + health: { + readOnly: true, + serializedName: "health", type: { name: "String" } }, - recoveryAzureLogStorageAccountId: { - serializedName: "recoveryAzureLogStorageAccountId", + healthErrors: { + readOnly: true, + serializedName: "healthErrors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - vmNics: { - serializedName: "vmNics", + allowedOperations: { + readOnly: true, + serializedName: "allowedOperations", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VMNicDetails" + name: "String" } } } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + currentJob: { + readOnly: true, + serializedName: "currentJob", type: { - name: "String" + name: "Composite", + className: "CurrentJobDetails" } }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "MigrationProviderSpecificSettings" + } + } + } + } +}; + +export const MigrationItem: msRest.CompositeMapper = { + serializedName: "MigrationItem", + type: { + name: "Composite", + className: "MigrationItem", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "MigrationItemProperties" + } + } + } + } +}; + +export const MigrationItemsQueryParameter: msRest.CompositeMapper = { + serializedName: "MigrationItemsQueryParameter", + type: { + name: "Composite", + className: "MigrationItemsQueryParameter", + modelProperties: { + sourceFabricName: { + serializedName: "sourceFabricName", type: { name: "String" } }, - discoveryType: { - serializedName: "discoveryType", + instanceType: { + serializedName: "instanceType", type: { name: "String" } + } + } + } +}; + +export const MigrationRecoveryPointProperties: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPointProperties", + type: { + name: "Composite", + className: "MigrationRecoveryPointProperties", + modelProperties: { + recoveryPointTime: { + readOnly: true, + serializedName: "recoveryPointTime", + type: { + name: "DateTime" + } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + recoveryPointType: { + readOnly: true, + serializedName: "recoveryPointType", type: { name: "String" } - }, - datastores: { - serializedName: "datastores", + } + } + } +}; + +export const MigrationRecoveryPoint: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPoint", + type: { + name: "Composite", + className: "MigrationRecoveryPoint", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "MigrationRecoveryPointProperties" } - }, - targetVmId: { - serializedName: "targetVmId", + } + } + } +}; + +export const MobilityServiceUpdate: msRest.CompositeMapper = { + serializedName: "MobilityServiceUpdate", + type: { + name: "Composite", + className: "MobilityServiceUpdate", + modelProperties: { + version: { + serializedName: "version", type: { name: "String" } }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + rebootStatus: { + serializedName: "rebootStatus", type: { name: "String" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + osType: { + serializedName: "osType", type: { name: "String" } - }, - useManagedDisks: { - serializedName: "useManagedDisks", + } + } + } +}; + +export const Subnet: msRest.CompositeMapper = { + serializedName: "Subnet", + type: { + name: "Composite", + className: "Subnet", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - licenseType: { - serializedName: "licenseType", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - validationErrors: { - serializedName: "validationErrors", + addressList: { + serializedName: "addressList", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "HealthError" + name: "String" } } } - }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + } + } + } +}; + +export const NetworkProperties: msRest.CompositeMapper = { + serializedName: "NetworkProperties", + type: { + name: "Composite", + className: "NetworkProperties", + modelProperties: { + fabricType: { + serializedName: "fabricType", type: { - name: "DateTime" + name: "String" } }, - lastUpdateReceivedTime: { - serializedName: "lastUpdateReceivedTime", + subnets: { + serializedName: "subnets", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Subnet" + } + } } }, - replicaId: { - serializedName: "replicaId", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - osVersion: { - serializedName: "osVersion", + networkType: { + serializedName: "networkType", type: { name: "String" } @@ -6555,110 +12299,121 @@ export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { } }; -export const InMageAzureV2ReprotectInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const Network: msRest.CompositeMapper = { + serializedName: "Network", type: { name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "InMageAzureV2ReprotectInput", + className: "Network", modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - masterTargetId: { - serializedName: "masterTargetId", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "NetworkProperties" + } + } + } + } +}; + +export const NetworkMappingProperties: msRest.CompositeMapper = { + serializedName: "NetworkMappingProperties", + type: { + name: "Composite", + className: "NetworkMappingProperties", + modelProperties: { + state: { + serializedName: "state", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + primaryNetworkFriendlyName: { + serializedName: "primaryNetworkFriendlyName", type: { name: "String" } }, - storageAccountId: { - serializedName: "storageAccountId", + primaryNetworkId: { + serializedName: "primaryNetworkId", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } }, - policyId: { - serializedName: "policyId", + recoveryNetworkFriendlyName: { + serializedName: "recoveryNetworkFriendlyName", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + recoveryFabricArmId: { + serializedName: "recoveryFabricArmId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" + } + }, + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", + type: { + name: "String" + } + }, + fabricSpecificSettings: { + serializedName: "fabricSpecificSettings", + type: { + name: "Composite", + className: "NetworkMappingFabricSpecificSettings" } } } } }; -export const InMageAzureV2UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const NetworkMapping: msRest.CompositeMapper = { + serializedName: "NetworkMapping", type: { name: "Composite", - polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, - uberParent: "UpdateReplicationProtectedItemProviderInput", - className: "InMageAzureV2UpdateReplicationProtectedItemInput", + className: "NetworkMapping", modelProperties: { - ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, - recoveryAzureV1ResourceGroupId: { - serializedName: "recoveryAzureV1ResourceGroupId", - type: { - name: "String" - } - }, - recoveryAzureV2ResourceGroupId: { - serializedName: "recoveryAzureV2ResourceGroupId", - type: { - name: "String" - } - }, - useManagedDisks: { - serializedName: "useManagedDisks", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "NetworkMappingProperties" } } } } }; -export const InMageBasePolicyDetails: msRest.CompositeMapper = { - serializedName: "InMageBasePolicyDetails", +export const NewProtectionProfile: msRest.CompositeMapper = { + serializedName: "New", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "InMageBasePolicyDetails", + polymorphicDiscriminator: ProtectionProfileCustomDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionProfileCustomDetails", + className: "NewProtectionProfile", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", + ...ProtectionProfileCustomDetails.type.modelProperties, + policyName: { + required: true, + serializedName: "policyName", type: { - name: "Number" + name: "String" } }, recoveryPointHistory: { @@ -6667,6 +12422,12 @@ export const InMageBasePolicyDetails: msRest.CompositeMapper = { name: "Number" } }, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, appConsistentFrequencyInMinutes: { serializedName: "appConsistentFrequencyInMinutes", type: { @@ -6674,6 +12435,7 @@ export const InMageBasePolicyDetails: msRest.CompositeMapper = { } }, multiVmSyncStatus: { + required: true, serializedName: "multiVmSyncStatus", type: { name: "String" @@ -6683,17 +12445,23 @@ export const InMageBasePolicyDetails: msRest.CompositeMapper = { } }; -export const InMageDisableProtectionProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const NewRecoveryVirtualNetwork: msRest.CompositeMapper = { + serializedName: "New", type: { name: "Composite", - polymorphicDiscriminator: DisableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "DisableProtectionProviderSpecificInput", - className: "InMageDisableProtectionProviderSpecificInput", + polymorphicDiscriminator: RecoveryVirtualNetworkCustomDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryVirtualNetworkCustomDetails", + className: "NewRecoveryVirtualNetwork", modelProperties: { - ...DisableProtectionProviderSpecificInput.type.modelProperties, - replicaVmDeletionStatus: { - serializedName: "replicaVmDeletionStatus", + ...RecoveryVirtualNetworkCustomDetails.type.modelProperties, + recoveryVirtualNetworkResourceGroupName: { + serializedName: "recoveryVirtualNetworkResourceGroupName", + type: { + name: "String" + } + }, + recoveryVirtualNetworkName: { + serializedName: "recoveryVirtualNetworkName", type: { name: "String" } @@ -6702,700 +12470,691 @@ export const InMageDisableProtectionProviderSpecificInput: msRest.CompositeMappe } }; -export const InMageDiskDetails: msRest.CompositeMapper = { - serializedName: "InMageDiskDetails", +export const OperationsDiscovery: msRest.CompositeMapper = { + serializedName: "OperationsDiscovery", type: { name: "Composite", - className: "InMageDiskDetails", + className: "OperationsDiscovery", modelProperties: { - diskId: { - serializedName: "diskId", + name: { + serializedName: "name", type: { name: "String" } }, - diskName: { - serializedName: "diskName", + display: { + serializedName: "display", type: { - name: "String" + name: "Composite", + className: "Display" } }, - diskSizeInMB: { - serializedName: "diskSizeInMB", + origin: { + serializedName: "origin", type: { name: "String" } }, - diskType: { - serializedName: "diskType", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Object" } - }, - diskConfiguration: { - serializedName: "diskConfiguration", + } + } + } +}; + +export const OSVersionWrapper: msRest.CompositeMapper = { + serializedName: "OSVersionWrapper", + type: { + name: "Composite", + className: "OSVersionWrapper", + modelProperties: { + version: { + serializedName: "version", type: { name: "String" } }, - volumeList: { - serializedName: "volumeList", + servicePack: { + serializedName: "servicePack", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskVolumeDetails" - } - } + name: "String" } } } } }; -export const InMageVolumeExclusionOptions: msRest.CompositeMapper = { - serializedName: "InMageVolumeExclusionOptions", +export const PlannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "PlannedFailoverInputProperties", type: { name: "Composite", - className: "InMageVolumeExclusionOptions", + className: "PlannedFailoverInputProperties", modelProperties: { - volumeLabel: { - serializedName: "volumeLabel", + failoverDirection: { + serializedName: "failoverDirection", type: { name: "String" } }, - onlyExcludeIfSingleVolume: { - serializedName: "onlyExcludeIfSingleVolume", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "ProviderSpecificFailoverInput" } } } } }; -export const InMageDiskSignatureExclusionOptions: msRest.CompositeMapper = { - serializedName: "InMageDiskSignatureExclusionOptions", +export const PlannedFailoverInput: msRest.CompositeMapper = { + serializedName: "PlannedFailoverInput", type: { name: "Composite", - className: "InMageDiskSignatureExclusionOptions", + className: "PlannedFailoverInput", modelProperties: { - diskSignature: { - serializedName: "diskSignature", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "PlannedFailoverInputProperties" } } } } }; -export const InMageDiskExclusionInput: msRest.CompositeMapper = { - serializedName: "InMageDiskExclusionInput", +export const PolicyProperties: msRest.CompositeMapper = { + serializedName: "PolicyProperties", type: { name: "Composite", - className: "InMageDiskExclusionInput", + className: "PolicyProperties", modelProperties: { - volumeOptions: { - serializedName: "volumeOptions", + friendlyName: { + serializedName: "friendlyName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InMageVolumeExclusionOptions" - } - } + name: "String" } }, - diskSignatureOptions: { - serializedName: "diskSignatureOptions", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InMageDiskSignatureExclusionOptions" - } - } + name: "Composite", + className: "PolicyProviderSpecificDetails" } } } } }; -export const InMageEnableProtectionInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const Policy: msRest.CompositeMapper = { + serializedName: "Policy", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "InMageEnableProtectionInput", + className: "Policy", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - vmFriendlyName: { - serializedName: "vmFriendlyName", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "PolicyProperties" } - }, - masterTargetId: { - required: true, - serializedName: "masterTargetId", + } + } + } +}; + +export const ProcessServer: msRest.CompositeMapper = { + serializedName: "ProcessServer", + type: { + name: "Composite", + className: "ProcessServer", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - processServerId: { - required: true, - serializedName: "processServerId", + id: { + serializedName: "id", type: { name: "String" } }, - retentionDrive: { - required: true, - serializedName: "retentionDrive", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + osType: { + serializedName: "osType", type: { name: "String" } }, - multiVmGroupId: { - required: true, - serializedName: "multiVmGroupId", + agentVersion: { + serializedName: "agentVersion", type: { name: "String" } }, - multiVmGroupName: { - required: true, - serializedName: "multiVmGroupName", + lastHeartbeat: { + serializedName: "lastHeartbeat", type: { - name: "String" + name: "DateTime" } }, - datastoreName: { - serializedName: "datastoreName", + versionStatus: { + serializedName: "versionStatus", type: { name: "String" } }, - diskExclusionInput: { - serializedName: "diskExclusionInput", - type: { - name: "Composite", - className: "InMageDiskExclusionInput" - } - }, - disksToInclude: { - serializedName: "disksToInclude", + mobilityServiceUpdates: { + serializedName: "mobilityServiceUpdates", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "MobilityServiceUpdate" } } } - } - } - } -}; - -export const InMageFailoverProviderInput: msRest.CompositeMapper = { - serializedName: "InMage", - type: { - name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "InMageFailoverProviderInput", - modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { - serializedName: "recoveryPointType", - type: { - name: "String" - } }, - recoveryPointId: { - serializedName: "recoveryPointId", + hostId: { + serializedName: "hostId", type: { name: "String" } - } - } - } -}; - -export const InMagePolicyDetails: msRest.CompositeMapper = { - serializedName: "InMage", - type: { - name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "InMagePolicyDetails", - modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", - type: { - name: "Number" - } - }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", - type: { - name: "Number" - } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + machineCount: { + serializedName: "machineCount", type: { name: "String" } - } - } - } -}; - -export const InMagePolicyInput: msRest.CompositeMapper = { - serializedName: "InMage", - type: { - name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "InMagePolicyInput", - modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", - type: { - name: "Number" - } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", - type: { - name: "Number" - } - }, - multiVmSyncStatus: { - required: true, - serializedName: "multiVmSyncStatus", + replicationPairCount: { + serializedName: "replicationPairCount", type: { name: "String" } - } - } - } -}; - -export const InMageProtectedDiskDetails: msRest.CompositeMapper = { - serializedName: "InMageProtectedDiskDetails", - type: { - name: "Composite", - className: "InMageProtectedDiskDetails", - modelProperties: { - diskId: { - serializedName: "diskId", + }, + systemLoad: { + serializedName: "systemLoad", type: { name: "String" } }, - diskName: { - serializedName: "diskName", + systemLoadStatus: { + serializedName: "systemLoadStatus", type: { name: "String" } }, - protectionStage: { - serializedName: "protectionStage", + cpuLoad: { + serializedName: "cpuLoad", type: { name: "String" } }, - healthErrorCode: { - serializedName: "healthErrorCode", + cpuLoadStatus: { + serializedName: "cpuLoadStatus", type: { name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + totalMemoryInBytes: { + serializedName: "totalMemoryInBytes", type: { name: "Number" } }, - resyncRequired: { - serializedName: "resyncRequired", + availableMemoryInBytes: { + serializedName: "availableMemoryInBytes", type: { - name: "String" + name: "Number" } }, - resyncProgressPercentage: { - serializedName: "resyncProgressPercentage", + memoryUsageStatus: { + serializedName: "memoryUsageStatus", type: { - name: "Number" + name: "String" } }, - resyncDurationInSeconds: { - serializedName: "resyncDurationInSeconds", + totalSpaceInBytes: { + serializedName: "totalSpaceInBytes", type: { name: "Number" } }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", + availableSpaceInBytes: { + serializedName: "availableSpaceInBytes", type: { name: "Number" } }, - fileSystemCapacityInBytes: { - serializedName: "fileSystemCapacityInBytes", + spaceUsageStatus: { + serializedName: "spaceUsageStatus", type: { - name: "Number" + name: "String" } }, - sourceDataInMB: { - serializedName: "sourceDataInMB", + psServiceStatus: { + serializedName: "psServiceStatus", type: { - name: "Number" + name: "String" } }, - psDataInMB: { - serializedName: "psDataInMB", + sslCertExpiryDate: { + serializedName: "sslCertExpiryDate", type: { - name: "Number" + name: "DateTime" } }, - targetDataInMB: { - serializedName: "targetDataInMB", + sslCertExpiryRemainingDays: { + serializedName: "sslCertExpiryRemainingDays", type: { name: "Number" } }, - diskResized: { - serializedName: "diskResized", + osVersion: { + serializedName: "osVersion", type: { name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + healthErrors: { + serializedName: "healthErrors", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } - } - } - } -}; - -export const OSDiskDetails: msRest.CompositeMapper = { - serializedName: "OSDiskDetails", - type: { - name: "Composite", - className: "OSDiskDetails", - modelProperties: { - osVhdId: { - serializedName: "osVhdId", + }, + agentExpiryDate: { + serializedName: "agentExpiryDate", type: { - name: "String" + name: "DateTime" } }, - osType: { - serializedName: "osType", + agentVersionDetails: { + serializedName: "agentVersionDetails", type: { - name: "String" + name: "Composite", + className: "VersionDetails" } }, - vhdName: { - serializedName: "vhdName", + health: { + readOnly: true, + serializedName: "health", type: { name: "String" } - } - } - } -}; - -export const InMageReplicationDetails: msRest.CompositeMapper = { - serializedName: "InMage", - type: { - name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "InMageReplicationDetails", - modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - activeSiteType: { - serializedName: "activeSiteType", + }, + psStatsRefreshTime: { + readOnly: true, + serializedName: "psStatsRefreshTime", type: { - name: "String" + name: "DateTime" } }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", + throughputUploadPendingDataInBytes: { + readOnly: true, + serializedName: "throughputUploadPendingDataInBytes", type: { name: "Number" } }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", + throughputInMBps: { + readOnly: true, + serializedName: "throughputInMBps", type: { name: "Number" } }, - osDetails: { - serializedName: "osDetails", + throughputInBytes: { + readOnly: true, + serializedName: "throughputInBytes", type: { - name: "Composite", - className: "OSDiskDetails" + name: "Number" } }, - protectionStage: { - serializedName: "protectionStage", + throughputStatus: { + readOnly: true, + serializedName: "throughputStatus", type: { name: "String" } }, - vmId: { - serializedName: "vmId", + marsCommunicationStatus: { + readOnly: true, + serializedName: "marsCommunicationStatus", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + marsRegistrationStatus: { + readOnly: true, + serializedName: "marsRegistrationStatus", type: { name: "String" } - }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + } + } + } +}; + +export const ProtectableItemProperties: msRest.CompositeMapper = { + serializedName: "ProtectableItemProperties", + type: { + name: "Composite", + className: "ProtectableItemProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - resyncDetails: { - serializedName: "resyncDetails", + protectionStatus: { + serializedName: "protectionStatus", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "String" } }, - retentionWindowStart: { - serializedName: "retentionWindowStart", + replicationProtectedItemId: { + serializedName: "replicationProtectedItemId", type: { - name: "DateTime" + name: "String" } }, - retentionWindowEnd: { - serializedName: "retentionWindowEnd", + recoveryServicesProviderId: { + serializedName: "recoveryServicesProviderId", type: { - name: "DateTime" + name: "String" } }, - compressedDataRateInMB: { - serializedName: "compressedDataRateInMB", + protectionReadinessErrors: { + serializedName: "protectionReadinessErrors", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - uncompressedDataRateInMB: { - serializedName: "uncompressedDataRateInMB", + supportedReplicationProviders: { + serializedName: "supportedReplicationProviders", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + customDetails: { + serializedName: "customDetails", + type: { + name: "Composite", + className: "ConfigurationSettings" + } + } + } + } +}; + +export const ProtectableItem: msRest.CompositeMapper = { + serializedName: "ProtectableItem", + type: { + name: "Composite", + className: "ProtectableItem", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ProtectableItemProperties" + } + } + } + } +}; + +export const ProtectableItemQueryParameter: msRest.CompositeMapper = { + serializedName: "ProtectableItemQueryParameter", + type: { + name: "Composite", + className: "ProtectableItemQueryParameter", + modelProperties: { + state: { + serializedName: "state", + type: { + name: "String" + } + } + } + } +}; + +export const ProtectedItemsQueryParameter: msRest.CompositeMapper = { + serializedName: "ProtectedItemsQueryParameter", + type: { + name: "Composite", + className: "ProtectedItemsQueryParameter", + modelProperties: { + sourceFabricName: { + serializedName: "sourceFabricName", type: { - name: "Number" + name: "String" } }, - protectedDisks: { - serializedName: "protectedDisks", + recoveryPlanName: { + serializedName: "recoveryPlanName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InMageProtectedDiskDetails" - } - } + name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + vCenterName: { + serializedName: "vCenterName", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + instanceType: { + serializedName: "instanceType", type: { - name: "DateTime" + name: "String" } }, - processServerId: { - serializedName: "processServerId", + multiVmGroupCreateOption: { + serializedName: "multiVmGroupCreateOption", type: { name: "String" } - }, - masterTargetId: { - serializedName: "masterTargetId", + } + } + } +}; + +export const ProtectionContainerFabricSpecificDetails: msRest.CompositeMapper = { + serializedName: "ProtectionContainerFabricSpecificDetails", + type: { + name: "Composite", + className: "ProtectionContainerFabricSpecificDetails", + modelProperties: { + instanceType: { + readOnly: true, + serializedName: "instanceType", type: { name: "String" } - }, - consistencyPoints: { - serializedName: "consistencyPoints", + } + } + } +}; + +export const ProtectionContainerProperties: msRest.CompositeMapper = { + serializedName: "ProtectionContainerProperties", + type: { + name: "Composite", + className: "ProtectionContainerProperties", + modelProperties: { + fabricFriendlyName: { + serializedName: "fabricFriendlyName", type: { - name: "Dictionary", - value: { - type: { - name: "DateTime" - } - } + name: "String" } }, - diskResized: { - serializedName: "diskResized", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - rebootAfterUpdateStatus: { - serializedName: "rebootAfterUpdateStatus", + fabricType: { + serializedName: "fabricType", type: { name: "String" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + protectedItemCount: { + serializedName: "protectedItemCount", type: { - name: "String" + name: "Number" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + pairingStatus: { + serializedName: "pairingStatus", type: { name: "String" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + role: { + serializedName: "role", type: { name: "String" } }, - agentDetails: { - serializedName: "agentDetails", + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", type: { name: "Composite", - className: "InMageAgentDetails" + className: "ProtectionContainerFabricSpecificDetails" } - }, - vCenterInfrastructureId: { - serializedName: "vCenterInfrastructureId", + } + } + } +}; + +export const ProtectionContainer: msRest.CompositeMapper = { + serializedName: "ProtectionContainer", + type: { + name: "Composite", + className: "ProtectionContainer", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ProtectionContainerProperties" } - }, - infrastructureVmId: { - serializedName: "infrastructureVmId", + } + } + } +}; + +export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { + serializedName: "ProtectionContainerMappingProperties", + type: { + name: "Composite", + className: "ProtectionContainerMappingProperties", + modelProperties: { + targetProtectionContainerId: { + serializedName: "targetProtectionContainerId", type: { name: "String" } }, - vmNics: { - serializedName: "vmNics", + targetProtectionContainerFriendlyName: { + serializedName: "targetProtectionContainerFriendlyName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "String" } }, - discoveryType: { - serializedName: "discoveryType", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "ProtectionContainerMappingProviderSpecificDetails" } }, - azureStorageAccountId: { - serializedName: "azureStorageAccountId", + health: { + serializedName: "health", type: { name: "String" } }, - datastores: { - serializedName: "datastores", + healthErrorDetails: { + serializedName: "healthErrorDetails", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "HealthError" } } } }, - validationErrors: { - serializedName: "validationErrors", + policyId: { + serializedName: "policyId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + state: { + serializedName: "state", type: { - name: "DateTime" + name: "String" } }, - lastUpdateReceivedTime: { - serializedName: "lastUpdateReceivedTime", + sourceProtectionContainerFriendlyName: { + serializedName: "sourceProtectionContainerFriendlyName", type: { - name: "DateTime" + name: "String" } }, - replicaId: { - serializedName: "replicaId", + sourceFabricFriendlyName: { + serializedName: "sourceFabricFriendlyName", type: { name: "String" } }, - osVersion: { - serializedName: "osVersion", + targetFabricFriendlyName: { + serializedName: "targetFabricFriendlyName", + type: { + name: "String" + } + }, + policyFriendlyName: { + serializedName: "policyFriendlyName", type: { name: "String" } @@ -7404,151 +13163,144 @@ export const InMageReplicationDetails: msRest.CompositeMapper = { } }; -export const InMageReprotectInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const ProtectionContainerMapping: msRest.CompositeMapper = { + serializedName: "ProtectionContainerMapping", type: { name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "InMageReprotectInput", + className: "ProtectionContainerMapping", modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - masterTargetId: { - required: true, - serializedName: "masterTargetId", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ProtectionContainerMappingProperties" } - }, - processServerId: { - required: true, - serializedName: "processServerId", + } + } + } +}; + +export const RcmAzureMigrationPolicyDetails: msRest.CompositeMapper = { + serializedName: "RcmAzureMigration", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "RcmAzureMigrationPolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", type: { - name: "String" + name: "Number" } }, - retentionDrive: { - required: true, - serializedName: "retentionDrive", + recoveryPointHistory: { + serializedName: "recoveryPointHistory", type: { - name: "String" + name: "Number" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - datastoreName: { - serializedName: "datastoreName", + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", type: { name: "String" } }, - diskExclusionInput: { - serializedName: "diskExclusionInput", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "Composite", - className: "InMageDiskExclusionInput" + name: "Number" } - }, - profileId: { + } + } + } +}; + +export const RecoveryPlanProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProviderSpecificDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RecoveryPlanProviderSpecificDetails", + className: "RecoveryPlanProviderSpecificDetails", + modelProperties: { + instanceType: { required: true, - serializedName: "profileId", + serializedName: "instanceType", type: { name: "String" } - }, - disksToInclude: { - serializedName: "disksToInclude", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } } } } }; -export const JobProperties: msRest.CompositeMapper = { - serializedName: "JobProperties", +export const RecoveryPlanProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProperties", type: { name: "Composite", - className: "JobProperties", + className: "RecoveryPlanProperties", modelProperties: { - activityId: { - serializedName: "activityId", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - scenarioName: { - serializedName: "scenarioName", + primaryFabricId: { + serializedName: "primaryFabricId", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } }, - state: { - serializedName: "state", + recoveryFabricId: { + serializedName: "recoveryFabricId", type: { name: "String" } }, - stateDescription: { - serializedName: "stateDescription", + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", type: { name: "String" } }, - tasks: { - serializedName: "tasks", + failoverDeploymentModel: { + serializedName: "failoverDeploymentModel", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ASRTask" - } - } + name: "String" } }, - errors: { - serializedName: "errors", + replicationProviders: { + serializedName: "replicationProviders", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "JobErrorDetails" + name: "String" } } } }, - startTime: { - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - allowedActions: { - serializedName: "allowedActions", + allowedOperations: { + serializedName: "allowedOperations", type: { name: "Sequence", element: { @@ -7558,176 +13310,136 @@ export const JobProperties: msRest.CompositeMapper = { } } }, - targetObjectId: { - serializedName: "targetObjectId", + lastPlannedFailoverTime: { + serializedName: "lastPlannedFailoverTime", type: { - name: "String" + name: "DateTime" } }, - targetObjectName: { - serializedName: "targetObjectName", + lastUnplannedFailoverTime: { + serializedName: "lastUnplannedFailoverTime", type: { - name: "String" + name: "DateTime" } }, - targetInstanceType: { - serializedName: "targetInstanceType", + lastTestFailoverTime: { + serializedName: "lastTestFailoverTime", type: { - name: "String" + name: "DateTime" } }, - customDetails: { - serializedName: "customDetails", - type: { - name: "Composite", - className: "JobDetails" - } - } - } - } -}; - -export const Job: msRest.CompositeMapper = { - serializedName: "Job", - type: { - name: "Composite", - className: "Job", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + currentScenario: { + serializedName: "currentScenario", type: { name: "Composite", - className: "JobProperties" - } - } - } - } -}; - -export const JobQueryParameter: msRest.CompositeMapper = { - serializedName: "JobQueryParameter", - type: { - name: "Composite", - className: "JobQueryParameter", - modelProperties: { - startTime: { - serializedName: "startTime", - type: { - name: "String" + className: "CurrentScenarioDetails" } }, - endTime: { - serializedName: "endTime", + currentScenarioStatus: { + serializedName: "currentScenarioStatus", type: { name: "String" } }, - fabricId: { - serializedName: "fabricId", + currentScenarioStatusDescription: { + serializedName: "currentScenarioStatusDescription", type: { name: "String" } }, - affectedObjectTypes: { - serializedName: "affectedObjectTypes", + groups: { + serializedName: "groups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanGroup" + } + } } }, - jobStatus: { - serializedName: "jobStatus", + providerSpecificDetails: { + readOnly: true, + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificDetails" + } + } } } } } }; -export const JobStatusEventDetails: msRest.CompositeMapper = { - serializedName: "JobStatus", +export const RecoveryPlan: msRest.CompositeMapper = { + serializedName: "RecoveryPlan", type: { name: "Composite", - polymorphicDiscriminator: EventSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventSpecificDetails", - className: "JobStatusEventDetails", + className: "RecoveryPlan", modelProperties: { - ...EventSpecificDetails.type.modelProperties, - jobId: { - serializedName: "jobId", - type: { - name: "String" - } - }, - jobFriendlyName: { - serializedName: "jobFriendlyName", - type: { - name: "String" - } - }, - jobStatus: { - serializedName: "jobStatus", - type: { - name: "String" - } - }, - affectedObjectType: { - serializedName: "affectedObjectType", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "RecoveryPlanProperties" } } } } }; -export const JobTaskDetails: msRest.CompositeMapper = { - serializedName: "JobTaskDetails", +export const RecoveryPlanProviderSpecificFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProviderSpecificFailoverInput", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "JobTaskDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanProviderSpecificFailoverInput", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - jobTask: { - serializedName: "jobTask", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "JobEntity" + name: "String" } } } } }; -export const LogicalNetworkProperties: msRest.CompositeMapper = { - serializedName: "LogicalNetworkProperties", +export const RecoveryPlanA2AFailoverInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "LogicalNetworkProperties", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanA2AFailoverInput", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - networkVirtualizationStatus: { - serializedName: "networkVirtualizationStatus", + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + required: true, + serializedName: "recoveryPointType", type: { name: "String" } }, - logicalNetworkUsage: { - serializedName: "logicalNetworkUsage", + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", type: { name: "String" } }, - logicalNetworkDefinitionsStatus: { - serializedName: "logicalNetworkDefinitionsStatus", + multiVmSyncPointOption: { + serializedName: "multiVmSyncPointOption", type: { name: "String" } @@ -7736,47 +13448,48 @@ export const LogicalNetworkProperties: msRest.CompositeMapper = { } }; -export const LogicalNetwork: msRest.CompositeMapper = { - serializedName: "LogicalNetwork", +export const RecoveryPlanA2ADetails: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "LogicalNetwork", + polymorphicDiscriminator: RecoveryPlanProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificDetails", + className: "RecoveryPlanA2ADetails", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...RecoveryPlanProviderSpecificDetails.type.modelProperties, + primaryZone: { + serializedName: "primaryZone", type: { - name: "Composite", - className: "LogicalNetworkProperties" + name: "String" + } + }, + recoveryZone: { + serializedName: "recoveryZone", + type: { + name: "String" } } } } }; -export const ManualActionTaskDetails: msRest.CompositeMapper = { - serializedName: "ManualActionTaskDetails", +export const RecoveryPlanA2AInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "ManualActionTaskDetails", + polymorphicDiscriminator: RecoveryPlanProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificInput", + className: "RecoveryPlanA2AInput", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - instructions: { - serializedName: "instructions", + ...RecoveryPlanProviderSpecificInput.type.modelProperties, + primaryZone: { + serializedName: "primaryZone", type: { name: "String" } }, - observation: { - serializedName: "observation", + recoveryZone: { + serializedName: "recoveryZone", type: { name: "String" } @@ -7785,60 +13498,61 @@ export const ManualActionTaskDetails: msRest.CompositeMapper = { } }; -export const RetentionVolume: msRest.CompositeMapper = { - serializedName: "RetentionVolume", +export const RecoveryPlanAutomationRunbookActionDetails: msRest.CompositeMapper = { + serializedName: "AutomationRunbookActionDetails", type: { name: "Composite", - className: "RetentionVolume", + polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanAutomationRunbookActionDetails", modelProperties: { - volumeName: { - serializedName: "volumeName", + ...RecoveryPlanActionDetails.type.modelProperties, + runbookId: { + serializedName: "runbookId", type: { name: "String" } }, - capacityInBytes: { - serializedName: "capacityInBytes", - type: { - name: "Number" - } - }, - freeSpaceInBytes: { - serializedName: "freeSpaceInBytes", + timeout: { + serializedName: "timeout", type: { - name: "Number" + name: "String" } }, - thresholdPercentage: { - serializedName: "thresholdPercentage", + fabricLocation: { + required: true, + serializedName: "fabricLocation", type: { - name: "Number" + name: "String" } } } } }; -export const VersionDetails: msRest.CompositeMapper = { - serializedName: "VersionDetails", +export const RecoveryPlanGroupTaskDetails: msRest.CompositeMapper = { + serializedName: "RecoveryPlanGroupTaskDetails", type: { name: "Composite", - className: "VersionDetails", + polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, + uberParent: "GroupTaskDetails", + className: "RecoveryPlanGroupTaskDetails", modelProperties: { - version: { - serializedName: "version", + ...GroupTaskDetails.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - expiryDate: { - serializedName: "expiryDate", + groupId: { + serializedName: "groupId", type: { - name: "DateTime" + name: "String" } }, - status: { - serializedName: "status", + rpGroupType: { + serializedName: "rpGroupType", type: { name: "String" } @@ -7847,170 +13561,140 @@ export const VersionDetails: msRest.CompositeMapper = { } }; -export const MasterTargetServer: msRest.CompositeMapper = { - serializedName: "MasterTargetServer", +export const RecoveryPlanHyperVReplicaAzureFailbackInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzureFailback", type: { name: "Composite", - className: "MasterTargetServer", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanHyperVReplicaAzureFailbackInput", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - ipAddress: { - serializedName: "ipAddress", + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + dataSyncOption: { + required: true, + serializedName: "dataSyncOption", type: { name: "String" } }, - name: { - serializedName: "name", + recoveryVmCreationOption: { + required: true, + serializedName: "recoveryVmCreationOption", type: { name: "String" } - }, - osType: { - serializedName: "osType", + } + } + } +}; + +export const RecoveryPlanHyperVReplicaAzureFailoverInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanHyperVReplicaAzureFailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", - type: { - name: "DateTime" - } - }, - versionStatus: { - serializedName: "versionStatus", + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", type: { name: "String" } }, - retentionVolumes: { - serializedName: "retentionVolumes", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RetentionVolume" - } - } - } - }, - dataStores: { - serializedName: "dataStores", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataStore" - } - } - } - }, - validationErrors: { - serializedName: "validationErrors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } - } - }, - healthErrors: { - serializedName: "healthErrors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } - } - }, - diskCount: { - serializedName: "diskCount", - type: { - name: "Number" - } - }, - osVersion: { - serializedName: "osVersion", + recoveryPointType: { + serializedName: "recoveryPointType", type: { name: "String" } - }, - agentExpiryDate: { - serializedName: "agentExpiryDate", - type: { - name: "DateTime" - } - }, - marsAgentVersion: { - serializedName: "marsAgentVersion", + } + } + } +}; + +export const RecoveryPlanInMageAzureV2FailoverInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanInMageAzureV2FailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + vaultLocation: { + required: true, + serializedName: "vaultLocation", type: { name: "String" } }, - marsAgentExpiryDate: { - serializedName: "marsAgentExpiryDate", - type: { - name: "DateTime" - } - }, - agentVersionDetails: { - serializedName: "agentVersionDetails", + recoveryPointType: { + required: true, + serializedName: "recoveryPointType", type: { - name: "Composite", - className: "VersionDetails" + name: "String" } }, - marsAgentVersionDetails: { - serializedName: "marsAgentVersionDetails", + useMultiVmSyncPoint: { + serializedName: "useMultiVmSyncPoint", type: { - name: "Composite", - className: "VersionDetails" + name: "String" } } } } }; -export const MobilityServiceUpdate: msRest.CompositeMapper = { - serializedName: "MobilityServiceUpdate", +export const RecoveryPlanInMageFailoverInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - className: "MobilityServiceUpdate", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanInMageFailoverInput", modelProperties: { - version: { - serializedName: "version", + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + required: true, + serializedName: "recoveryPointType", type: { name: "String" } - }, - rebootStatus: { - serializedName: "rebootStatus", + } + } + } +}; + +export const RecoveryPlanInMageRcmFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanInMageRcmFailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", type: { name: "String" } }, - osType: { - serializedName: "osType", + useMultiVmSyncPoint: { + serializedName: "useMultiVmSyncPoint", type: { name: "String" } @@ -8019,263 +13703,304 @@ export const MobilityServiceUpdate: msRest.CompositeMapper = { } }; -export const Subnet: msRest.CompositeMapper = { - serializedName: "Subnet", +export const RecoveryPlanManualActionDetails: msRest.CompositeMapper = { + serializedName: "ManualActionDetails", type: { name: "Composite", - className: "Subnet", + polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanManualActionDetails", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - friendlyName: { - serializedName: "friendlyName", + ...RecoveryPlanActionDetails.type.modelProperties, + description: { + serializedName: "description", type: { name: "String" } - }, - addressList: { - serializedName: "addressList", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } } } } }; -export const NetworkProperties: msRest.CompositeMapper = { - serializedName: "NetworkProperties", +export const RecoveryPlanPlannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanPlannedFailoverInputProperties", type: { name: "Composite", - className: "NetworkProperties", + className: "RecoveryPlanPlannedFailoverInputProperties", modelProperties: { - fabricType: { - serializedName: "fabricType", + failoverDirection: { + required: true, + serializedName: "failoverDirection", type: { name: "String" } }, - subnets: { - serializedName: "subnets", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Subnet" + className: "RecoveryPlanProviderSpecificFailoverInput" } } } - }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - networkType: { - serializedName: "networkType", - type: { - name: "String" - } } } } }; -export const Network: msRest.CompositeMapper = { - serializedName: "Network", +export const RecoveryPlanPlannedFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanPlannedFailoverInput", type: { name: "Composite", - className: "Network", + className: "RecoveryPlanPlannedFailoverInput", modelProperties: { - ...Resource.type.modelProperties, properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "NetworkProperties" + className: "RecoveryPlanPlannedFailoverInputProperties" } } } } }; -export const NetworkMappingProperties: msRest.CompositeMapper = { - serializedName: "NetworkMappingProperties", +export const RecoveryPlanScriptActionDetails: msRest.CompositeMapper = { + serializedName: "ScriptActionDetails", type: { name: "Composite", - className: "NetworkMappingProperties", + polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanScriptActionDetails", modelProperties: { - state: { - serializedName: "state", - type: { - name: "String" - } - }, - primaryNetworkFriendlyName: { - serializedName: "primaryNetworkFriendlyName", + ...RecoveryPlanActionDetails.type.modelProperties, + path: { + required: true, + serializedName: "path", type: { name: "String" } }, - primaryNetworkId: { - serializedName: "primaryNetworkId", + timeout: { + serializedName: "timeout", type: { name: "String" } }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", + fabricLocation: { + required: true, + serializedName: "fabricLocation", type: { name: "String" } - }, - recoveryNetworkFriendlyName: { - serializedName: "recoveryNetworkFriendlyName", + } + } + } +}; + +export const RecoveryPlanShutdownGroupTaskDetails: msRest.CompositeMapper = { + serializedName: "RecoveryPlanShutdownGroupTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, + uberParent: "GroupTaskDetails", + className: "RecoveryPlanShutdownGroupTaskDetails", + modelProperties: { + ...GroupTaskDetails.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", + groupId: { + serializedName: "groupId", type: { name: "String" } }, - recoveryFabricArmId: { - serializedName: "recoveryFabricArmId", + rpGroupType: { + serializedName: "rpGroupType", type: { name: "String" } - }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + } + } + } +}; + +export const RecoveryPlanTestFailoverCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverCleanupInputProperties", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverCleanupInputProperties", + modelProperties: { + comments: { + serializedName: "comments", type: { name: "String" } - }, - fabricSpecificSettings: { - serializedName: "fabricSpecificSettings", - type: { - name: "Composite", - className: "NetworkMappingFabricSpecificSettings" - } } } } }; -export const NetworkMapping: msRest.CompositeMapper = { - serializedName: "NetworkMapping", +export const RecoveryPlanTestFailoverCleanupInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverCleanupInput", type: { name: "Composite", - className: "NetworkMapping", + className: "RecoveryPlanTestFailoverCleanupInput", modelProperties: { - ...Resource.type.modelProperties, properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "NetworkMappingProperties" + className: "RecoveryPlanTestFailoverCleanupInputProperties" } } } } }; -export const OperationsDiscovery: msRest.CompositeMapper = { - serializedName: "OperationsDiscovery", +export const RecoveryPlanTestFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverInputProperties", type: { name: "Composite", - className: "OperationsDiscovery", + className: "RecoveryPlanTestFailoverInputProperties", modelProperties: { - name: { - serializedName: "name", + failoverDirection: { + required: true, + serializedName: "failoverDirection", type: { name: "String" } }, - display: { - serializedName: "display", + networkType: { + required: true, + serializedName: "networkType", type: { - name: "Composite", - className: "Display" + name: "String" } }, - origin: { - serializedName: "origin", + networkId: { + serializedName: "networkId", + type: { + name: "String" + } + }, + skipTestFailoverCleanup: { + serializedName: "skipTestFailoverCleanup", type: { name: "String" } }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificFailoverInput" + } + } + } + } + } + } +}; + +export const RecoveryPlanTestFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverInput", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverInput", + modelProperties: { properties: { + required: true, serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "RecoveryPlanTestFailoverInputProperties" } } } } }; -export const PlannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInputProperties", +export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanUnplannedFailoverInputProperties", type: { name: "Composite", - className: "PlannedFailoverInputProperties", + className: "RecoveryPlanUnplannedFailoverInputProperties", modelProperties: { failoverDirection: { + required: true, serializedName: "failoverDirection", type: { name: "String" } }, + sourceSiteOperations: { + required: true, + serializedName: "sourceSiteOperations", + type: { + name: "String" + } + }, providerSpecificDetails: { serializedName: "providerSpecificDetails", type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificFailoverInput" + } + } } } } } }; -export const PlannedFailoverInput: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInput", +export const RecoveryPlanUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanUnplannedFailoverInput", type: { name: "Composite", - className: "PlannedFailoverInput", + className: "RecoveryPlanUnplannedFailoverInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "PlannedFailoverInputProperties" + className: "RecoveryPlanUnplannedFailoverInputProperties" } } } } }; -export const PolicyProperties: msRest.CompositeMapper = { - serializedName: "PolicyProperties", +export const RecoveryPointProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPointProperties", type: { name: "Composite", - className: "PolicyProperties", + className: "RecoveryPointProperties", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + recoveryPointTime: { + serializedName: "recoveryPointTime", + type: { + name: "DateTime" + } + }, + recoveryPointType: { + serializedName: "recoveryPointType", type: { name: "String" } @@ -8284,480 +14009,555 @@ export const PolicyProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "PolicyProviderSpecificDetails" + className: "ProviderSpecificRecoveryPointDetails" } } } } }; -export const Policy: msRest.CompositeMapper = { - serializedName: "Policy", +export const RecoveryPoint: msRest.CompositeMapper = { + serializedName: "RecoveryPoint", type: { name: "Composite", - className: "Policy", + className: "RecoveryPoint", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "PolicyProperties" + className: "RecoveryPointProperties" } } } } }; -export const ProcessServer: msRest.CompositeMapper = { - serializedName: "ProcessServer", +export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { + serializedName: "RecoveryServicesProviderProperties", type: { name: "Composite", - className: "ProcessServer", + className: "RecoveryServicesProviderProperties", modelProperties: { + fabricType: { + serializedName: "fabricType", + type: { + name: "String" + } + }, friendlyName: { serializedName: "friendlyName", type: { name: "String" } }, - id: { - serializedName: "id", + providerVersion: { + serializedName: "providerVersion", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + serverVersion: { + serializedName: "serverVersion", type: { name: "String" } }, - osType: { - serializedName: "osType", + providerVersionState: { + serializedName: "providerVersionState", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + providerVersionExpiryDate: { + serializedName: "providerVersionExpiryDate", + type: { + name: "DateTime" + } + }, + fabricFriendlyName: { + serializedName: "fabricFriendlyName", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + lastHeartBeat: { + serializedName: "lastHeartBeat", type: { name: "DateTime" } }, - versionStatus: { - serializedName: "versionStatus", + connectionStatus: { + serializedName: "connectionStatus", type: { name: "String" } }, - mobilityServiceUpdates: { - serializedName: "mobilityServiceUpdates", + protectedItemCount: { + serializedName: "protectedItemCount", + type: { + name: "Number" + } + }, + allowedScenarios: { + serializedName: "allowedScenarios", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "MobilityServiceUpdate" + name: "String" } } } }, - hostId: { - serializedName: "hostId", + healthErrorDetails: { + serializedName: "healthErrorDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - machineCount: { - serializedName: "machineCount", + draIdentifier: { + serializedName: "draIdentifier", type: { name: "String" } }, - replicationPairCount: { - serializedName: "replicationPairCount", + authenticationIdentityDetails: { + serializedName: "authenticationIdentityDetails", type: { - name: "String" + name: "Composite", + className: "IdentityProviderDetails" } }, - systemLoad: { - serializedName: "systemLoad", + resourceAccessIdentityDetails: { + serializedName: "resourceAccessIdentityDetails", type: { - name: "String" + name: "Composite", + className: "IdentityProviderDetails" } }, - systemLoadStatus: { - serializedName: "systemLoadStatus", + providerVersionDetails: { + serializedName: "providerVersionDetails", type: { - name: "String" + name: "Composite", + className: "VersionDetails" } - }, - cpuLoad: { - serializedName: "cpuLoad", + } + } + } +}; + +export const RecoveryServicesProvider: msRest.CompositeMapper = { + serializedName: "RecoveryServicesProvider", + type: { + name: "Composite", + className: "RecoveryServicesProvider", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "RecoveryServicesProviderProperties" } - }, - cpuLoadStatus: { - serializedName: "cpuLoadStatus", + } + } + } +}; + +export const RemoveDisksInputProperties: msRest.CompositeMapper = { + serializedName: "RemoveDisksInputProperties", + type: { + name: "Composite", + className: "RemoveDisksInputProperties", + modelProperties: { + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "RemoveDisksProviderSpecificInput" + } + } + } + } +}; + +export const RemoveDisksInput: msRest.CompositeMapper = { + serializedName: "RemoveDisksInput", + type: { + name: "Composite", + className: "RemoveDisksInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RemoveDisksInputProperties" + } + } + } + } +}; + +export const ReplicationProviderContainerUnmappingInput: msRest.CompositeMapper = { + serializedName: "ReplicationProviderContainerUnmappingInput", + type: { + name: "Composite", + className: "ReplicationProviderContainerUnmappingInput", + modelProperties: { + instanceType: { + serializedName: "instanceType", type: { name: "String" } - }, - totalMemoryInBytes: { - serializedName: "totalMemoryInBytes", + } + } + } +}; + +export const RemoveProtectionContainerMappingInputProperties: msRest.CompositeMapper = { + serializedName: "RemoveProtectionContainerMappingInputProperties", + type: { + name: "Composite", + className: "RemoveProtectionContainerMappingInputProperties", + modelProperties: { + providerSpecificInput: { + serializedName: "providerSpecificInput", type: { - name: "Number" + name: "Composite", + className: "ReplicationProviderContainerUnmappingInput" } - }, - availableMemoryInBytes: { - serializedName: "availableMemoryInBytes", + } + } + } +}; + +export const RemoveProtectionContainerMappingInput: msRest.CompositeMapper = { + serializedName: "RemoveProtectionContainerMappingInput", + type: { + name: "Composite", + className: "RemoveProtectionContainerMappingInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "RemoveProtectionContainerMappingInputProperties" } - }, - memoryUsageStatus: { - serializedName: "memoryUsageStatus", + } + } + } +}; + +export const RenewCertificateInputProperties: msRest.CompositeMapper = { + serializedName: "RenewCertificateInputProperties", + type: { + name: "Composite", + className: "RenewCertificateInputProperties", + modelProperties: { + renewCertificateType: { + serializedName: "renewCertificateType", type: { name: "String" } - }, - totalSpaceInBytes: { - serializedName: "totalSpaceInBytes", + } + } + } +}; + +export const RenewCertificateInput: msRest.CompositeMapper = { + serializedName: "RenewCertificateInput", + type: { + name: "Composite", + className: "RenewCertificateInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "RenewCertificateInputProperties" } - }, - availableSpaceInBytes: { - serializedName: "availableSpaceInBytes", + } + } + } +}; + +export const ReplicationEligibilityResultsErrorInfo: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsErrorInfo", + type: { + name: "Composite", + className: "ReplicationEligibilityResultsErrorInfo", + modelProperties: { + code: { + readOnly: true, + serializedName: "code", type: { - name: "Number" + name: "String" } }, - spaceUsageStatus: { - serializedName: "spaceUsageStatus", + message: { + readOnly: true, + serializedName: "message", type: { name: "String" } }, - psServiceStatus: { - serializedName: "psServiceStatus", + possibleCauses: { + readOnly: true, + serializedName: "possibleCauses", type: { name: "String" } }, - sslCertExpiryDate: { - serializedName: "sslCertExpiryDate", + recommendedAction: { + readOnly: true, + serializedName: "recommendedAction", type: { - name: "DateTime" + name: "String" } }, - sslCertExpiryRemainingDays: { - serializedName: "sslCertExpiryRemainingDays", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Number" + name: "String" } - }, - osVersion: { - serializedName: "osVersion", + } + } + } +}; + +export const ReplicationEligibilityResultsProperties: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsProperties", + type: { + name: "Composite", + className: "ReplicationEligibilityResultsProperties", + modelProperties: { + clientRequestId: { + readOnly: true, + serializedName: "clientRequestId", type: { name: "String" } }, - healthErrors: { - serializedName: "healthErrors", + errors: { + serializedName: "errors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HealthError" + className: "ReplicationEligibilityResultsErrorInfo" } } } - }, - agentExpiryDate: { - serializedName: "agentExpiryDate", - type: { - name: "DateTime" - } - }, - agentVersionDetails: { - serializedName: "agentVersionDetails", - type: { - name: "Composite", - className: "VersionDetails" - } } } } }; -export const ProtectableItemProperties: msRest.CompositeMapper = { - serializedName: "ProtectableItemProperties", +export const ReplicationEligibilityResults: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResults", type: { name: "Composite", - className: "ProtectableItemProperties", + className: "ReplicationEligibilityResults", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - protectionStatus: { - serializedName: "protectionStatus", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - replicationProtectedItemId: { - serializedName: "replicationProtectedItemId", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - recoveryServicesProviderId: { - serializedName: "recoveryServicesProviderId", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - protectionReadinessErrors: { - serializedName: "protectionReadinessErrors", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - supportedReplicationProviders: { - serializedName: "supportedReplicationProviders", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - customDetails: { - serializedName: "customDetails", + properties: { + readOnly: true, + serializedName: "properties", type: { name: "Composite", - className: "ConfigurationSettings" + className: "ReplicationEligibilityResultsProperties" } } } } }; -export const ProtectableItem: msRest.CompositeMapper = { - serializedName: "ProtectableItem", +export const ReplicationEligibilityResultsCollection: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsCollection", type: { name: "Composite", - className: "ProtectableItem", + className: "ReplicationEligibilityResultsCollection", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + value: { + serializedName: "value", type: { - name: "Composite", - className: "ProtectableItemProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationEligibilityResults" + } + } } } } } }; -export const ProtectableItemQueryParameter: msRest.CompositeMapper = { - serializedName: "ProtectableItemQueryParameter", +export const ReplicationGroupDetails: msRest.CompositeMapper = { + serializedName: "ReplicationGroupDetails", type: { name: "Composite", - className: "ProtectableItemQueryParameter", + polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, + uberParent: "ConfigurationSettings", + className: "ReplicationGroupDetails", modelProperties: { - state: { - serializedName: "state", - type: { - name: "String" - } - } + ...ConfigurationSettings.type.modelProperties } } }; -export const ProtectedItemsQueryParameter: msRest.CompositeMapper = { - serializedName: "ProtectedItemsQueryParameter", +export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { + serializedName: "ReplicationProtectedItemProperties", type: { name: "Composite", - className: "ProtectedItemsQueryParameter", + className: "ReplicationProtectedItemProperties", modelProperties: { - sourceFabricName: { - serializedName: "sourceFabricName", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - recoveryPlanName: { - serializedName: "recoveryPlanName", + protectedItemType: { + serializedName: "protectedItemType", type: { name: "String" } }, - vCenterName: { - serializedName: "vCenterName", + protectableItemId: { + serializedName: "protectableItemId", type: { name: "String" } }, - instanceType: { - serializedName: "instanceType", + recoveryServicesProviderId: { + serializedName: "recoveryServicesProviderId", type: { name: "String" } }, - multiVmGroupCreateOption: { - serializedName: "multiVmGroupCreateOption", + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } - } - } - } -}; - -export const ProtectionContainerFabricSpecificDetails: msRest.CompositeMapper = { - serializedName: "ProtectionContainerFabricSpecificDetails", - type: { - name: "Composite", - className: "ProtectionContainerFabricSpecificDetails", - modelProperties: { - instanceType: { - readOnly: true, - serializedName: "instanceType", + }, + primaryFabricProvider: { + serializedName: "primaryFabricProvider", type: { name: "String" } - } - } - } -}; - -export const ProtectionContainerProperties: msRest.CompositeMapper = { - serializedName: "ProtectionContainerProperties", - type: { - name: "Composite", - className: "ProtectionContainerProperties", - modelProperties: { - fabricFriendlyName: { - serializedName: "fabricFriendlyName", + }, + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + recoveryFabricId: { + serializedName: "recoveryFabricId", type: { name: "String" } }, - fabricType: { - serializedName: "fabricType", + primaryProtectionContainerFriendlyName: { + serializedName: "primaryProtectionContainerFriendlyName", type: { name: "String" } }, - protectedItemCount: { - serializedName: "protectedItemCount", + recoveryProtectionContainerFriendlyName: { + serializedName: "recoveryProtectionContainerFriendlyName", type: { - name: "Number" + name: "String" } }, - pairingStatus: { - serializedName: "pairingStatus", + protectionState: { + serializedName: "protectionState", type: { name: "String" } }, - role: { - serializedName: "role", + protectionStateDescription: { + serializedName: "protectionStateDescription", type: { name: "String" } }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", + activeLocation: { + serializedName: "activeLocation", type: { - name: "Composite", - className: "ProtectionContainerFabricSpecificDetails" + name: "String" } - } - } - } -}; - -export const ProtectionContainer: msRest.CompositeMapper = { - serializedName: "ProtectionContainer", - type: { - name: "Composite", - className: "ProtectionContainer", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + testFailoverState: { + serializedName: "testFailoverState", type: { - name: "Composite", - className: "ProtectionContainerProperties" + name: "String" } - } - } - } -}; - -export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMappingProperties", - type: { - name: "Composite", - className: "ProtectionContainerMappingProperties", - modelProperties: { - targetProtectionContainerId: { - serializedName: "targetProtectionContainerId", + }, + testFailoverStateDescription: { + serializedName: "testFailoverStateDescription", type: { name: "String" } }, - targetProtectionContainerFriendlyName: { - serializedName: "targetProtectionContainerFriendlyName", + allowedOperations: { + serializedName: "allowedOperations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + replicationHealth: { + serializedName: "replicationHealth", type: { - name: "Composite", - className: "ProtectionContainerMappingProviderSpecificDetails" + name: "String" } }, - health: { - serializedName: "health", + failoverHealth: { + serializedName: "failoverHealth", type: { name: "String" } }, - healthErrorDetails: { - serializedName: "healthErrorDetails", + healthErrors: { + serializedName: "healthErrors", type: { name: "Sequence", element: { @@ -8774,32 +14574,46 @@ export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { name: "String" } }, - state: { - serializedName: "state", + policyFriendlyName: { + serializedName: "policyFriendlyName", type: { name: "String" } }, - sourceProtectionContainerFriendlyName: { - serializedName: "sourceProtectionContainerFriendlyName", + lastSuccessfulFailoverTime: { + serializedName: "lastSuccessfulFailoverTime", type: { - name: "String" + name: "DateTime" } }, - sourceFabricFriendlyName: { - serializedName: "sourceFabricFriendlyName", + lastSuccessfulTestFailoverTime: { + serializedName: "lastSuccessfulTestFailoverTime", type: { - name: "String" + name: "DateTime" } }, - targetFabricFriendlyName: { - serializedName: "targetFabricFriendlyName", + currentScenario: { + serializedName: "currentScenario", + type: { + name: "Composite", + className: "CurrentScenarioDetails" + } + }, + failoverRecoveryPointId: { + serializedName: "failoverRecoveryPointId", type: { name: "String" } }, - policyFriendlyName: { - serializedName: "policyFriendlyName", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "ReplicationProviderSpecificSettings" + } + }, + recoveryContainerId: { + serializedName: "recoveryContainerId", type: { name: "String" } @@ -8808,72 +14622,29 @@ export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { } }; -export const ProtectionContainerMapping: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMapping", +export const ReplicationProtectedItem: msRest.CompositeMapper = { + serializedName: "ReplicationProtectedItem", type: { name: "Composite", - className: "ProtectionContainerMapping", + className: "ReplicationProtectedItem", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ProtectionContainerMappingProperties" - } - } - } - } -}; - -export const RcmAzureMigrationPolicyDetails: msRest.CompositeMapper = { - serializedName: "RcmAzureMigration", - type: { - name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "RcmAzureMigrationPolicyDetails", - modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", - type: { - name: "Number" - } - }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", - type: { - name: "Number" - } - }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", - type: { - name: "String" - } - }, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", - type: { - name: "Number" + className: "ReplicationProtectedItemProperties" } } } } }; -export const RecoveryPlanProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProperties", +export const ReplicationProtectionIntentProperties: msRest.CompositeMapper = { + serializedName: "ReplicationProtectionIntentProperties", type: { name: "Composite", - className: "RecoveryPlanProperties", + className: "ReplicationProtectionIntentProperties", modelProperties: { friendlyName: { serializedName: "friendlyName", @@ -8881,103 +14652,93 @@ export const RecoveryPlanProperties: msRest.CompositeMapper = { name: "String" } }, - primaryFabricId: { - serializedName: "primaryFabricId", - type: { - name: "String" - } - }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", + jobId: { + readOnly: true, + serializedName: "jobId", type: { name: "String" } }, - recoveryFabricId: { - serializedName: "recoveryFabricId", + jobState: { + readOnly: true, + serializedName: "jobState", type: { name: "String" } }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + isActive: { + readOnly: true, + serializedName: "isActive", type: { - name: "String" + name: "Boolean" } }, - failoverDeploymentModel: { - serializedName: "failoverDeploymentModel", + creationTimeUTC: { + readOnly: true, + serializedName: "creationTimeUTC", type: { name: "String" } }, - replicationProviders: { - serializedName: "replicationProviders", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - allowedOperations: { - serializedName: "allowedOperations", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - lastPlannedFailoverTime: { - serializedName: "lastPlannedFailoverTime", - type: { - name: "DateTime" - } - }, - lastUnplannedFailoverTime: { - serializedName: "lastUnplannedFailoverTime", - type: { - name: "DateTime" - } - }, - lastTestFailoverTime: { - serializedName: "lastTestFailoverTime", - type: { - name: "DateTime" - } - }, - currentScenario: { - serializedName: "currentScenario", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "CurrentScenarioDetails" + className: "ReplicationProtectionIntentProviderSpecificSettings" } - }, - currentScenarioStatus: { - serializedName: "currentScenarioStatus", + } + } + } +}; + +export const ReplicationProtectionIntent: msRest.CompositeMapper = { + serializedName: "ReplicationProtectionIntent", + type: { + name: "Composite", + className: "ReplicationProtectionIntent", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ReplicationProtectionIntentProperties" } - }, - currentScenarioStatusDescription: { - serializedName: "currentScenarioStatusDescription", + } + } + } +}; + +export const ResolveHealthError: msRest.CompositeMapper = { + serializedName: "ResolveHealthError", + type: { + name: "Composite", + className: "ResolveHealthError", + modelProperties: { + healthErrorId: { + serializedName: "healthErrorId", type: { name: "String" } - }, - groups: { - serializedName: "groups", + } + } + } +}; + +export const ResolveHealthInputProperties: msRest.CompositeMapper = { + serializedName: "ResolveHealthInputProperties", + type: { + name: "Composite", + className: "ResolveHealthInputProperties", + modelProperties: { + healthErrors: { + serializedName: "healthErrors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanGroup" + className: "ResolveHealthError" } } } @@ -8986,70 +14747,59 @@ export const RecoveryPlanProperties: msRest.CompositeMapper = { } }; -export const RecoveryPlan: msRest.CompositeMapper = { - serializedName: "RecoveryPlan", +export const ResolveHealthInput: msRest.CompositeMapper = { + serializedName: "ResolveHealthInput", type: { name: "Composite", - className: "RecoveryPlan", + className: "ResolveHealthInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanProperties" + className: "ResolveHealthInputProperties" } } } } }; -export const RecoveryPlanProviderSpecificFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProviderSpecificFailoverInput", +export const ResourceHealthSummary: msRest.CompositeMapper = { + serializedName: "ResourceHealthSummary", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanProviderSpecificFailoverInput", + className: "ResourceHealthSummary", modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + resourceCount: { + serializedName: "resourceCount", type: { - name: "String" + name: "Number" + } + }, + issues: { + serializedName: "issues", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthErrorSummary" + } + } } } } } }; -export const RecoveryPlanA2AFailoverInput: msRest.CompositeMapper = { - serializedName: "A2A", +export const ResumeJobParamsProperties: msRest.CompositeMapper = { + serializedName: "ResumeJobParamsProperties", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanA2AFailoverInput", + className: "ResumeJobParamsProperties", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { - required: true, - serializedName: "recoveryPointType", - type: { - name: "String" - } - }, - cloudServiceCreationOption: { - serializedName: "cloudServiceCreationOption", - type: { - name: "String" - } - }, - multiVmSyncPointOption: { - serializedName: "multiVmSyncPointOption", + comments: { + serializedName: "comments", type: { name: "String" } @@ -9058,126 +14808,95 @@ export const RecoveryPlanA2AFailoverInput: msRest.CompositeMapper = { } }; -export const RecoveryPlanAutomationRunbookActionDetails: msRest.CompositeMapper = { - serializedName: "AutomationRunbookActionDetails", +export const ResumeJobParams: msRest.CompositeMapper = { + serializedName: "ResumeJobParams", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanAutomationRunbookActionDetails", + className: "ResumeJobParams", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - runbookId: { - serializedName: "runbookId", - type: { - name: "String" - } - }, - timeout: { - serializedName: "timeout", - type: { - name: "String" - } - }, - fabricLocation: { - required: true, - serializedName: "fabricLocation", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ResumeJobParamsProperties" } } } } }; -export const RecoveryPlanGroupTaskDetails: msRest.CompositeMapper = { - serializedName: "RecoveryPlanGroupTaskDetails", +export const ReverseReplicationInputProperties: msRest.CompositeMapper = { + serializedName: "ReverseReplicationInputProperties", type: { name: "Composite", - polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, - uberParent: "GroupTaskDetails", - className: "RecoveryPlanGroupTaskDetails", + className: "ReverseReplicationInputProperties", modelProperties: { - ...GroupTaskDetails.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - groupId: { - serializedName: "groupId", + failoverDirection: { + serializedName: "failoverDirection", type: { name: "String" } }, - rpGroupType: { - serializedName: "rpGroupType", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "ReverseReplicationProviderSpecificInput" } } } } }; -export const RecoveryPlanHyperVReplicaAzureFailbackInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzureFailback", +export const ReverseReplicationInput: msRest.CompositeMapper = { + serializedName: "ReverseReplicationInput", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanHyperVReplicaAzureFailbackInput", + className: "ReverseReplicationInput", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - dataSyncOption: { - required: true, - serializedName: "dataSyncOption", - type: { - name: "String" - } - }, - recoveryVmCreationOption: { - required: true, - serializedName: "recoveryVmCreationOption", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ReverseReplicationInputProperties" } } } } }; -export const RecoveryPlanHyperVReplicaAzureFailoverInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const RoleAssignment: msRest.CompositeMapper = { + serializedName: "RoleAssignment", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanHyperVReplicaAzureFailoverInput", + className: "RoleAssignment", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - required: true, - serializedName: "vaultLocation", + id: { + serializedName: "id", type: { name: "String" } }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", + name: { + serializedName: "name", type: { name: "String" } }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + scope: { + serializedName: "scope", type: { name: "String" } }, - recoveryPointType: { - serializedName: "recoveryPointType", + principalId: { + serializedName: "principalId", + type: { + name: "String" + } + }, + roleDefinitionId: { + serializedName: "roleDefinitionId", type: { name: "String" } @@ -9186,31 +14905,20 @@ export const RecoveryPlanHyperVReplicaAzureFailoverInput: msRest.CompositeMapper } }; -export const RecoveryPlanInMageAzureV2FailoverInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const RunAsAccount: msRest.CompositeMapper = { + serializedName: "RunAsAccount", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanInMageAzureV2FailoverInput", + className: "RunAsAccount", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - required: true, - serializedName: "vaultLocation", - type: { - name: "String" - } - }, - recoveryPointType: { - required: true, - serializedName: "recoveryPointType", + accountId: { + serializedName: "accountId", type: { name: "String" } }, - useMultiVmSyncPoint: { - serializedName: "useMultiVmSyncPoint", + accountName: { + serializedName: "accountName", type: { name: "String" } @@ -9219,117 +14927,98 @@ export const RecoveryPlanInMageAzureV2FailoverInput: msRest.CompositeMapper = { } }; -export const RecoveryPlanInMageFailoverInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const SanEnableProtectionInput: msRest.CompositeMapper = { + serializedName: "San", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanInMageFailoverInput", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "SanEnableProtectionInput", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { - required: true, - serializedName: "recoveryPointType", - type: { - name: "String" - } - } + ...EnableProtectionProviderSpecificInput.type.modelProperties } } }; -export const RecoveryPlanManualActionDetails: msRest.CompositeMapper = { - serializedName: "ManualActionDetails", +export const ScriptActionTaskDetails: msRest.CompositeMapper = { + serializedName: "ScriptActionTaskDetails", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanManualActionDetails", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "ScriptActionTaskDetails", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - description: { - serializedName: "description", + ...TaskTypeDetails.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + path: { + serializedName: "path", + type: { + name: "String" + } + }, + output: { + serializedName: "output", type: { name: "String" } + }, + isPrimarySideScript: { + serializedName: "isPrimarySideScript", + type: { + name: "Boolean" + } } } } }; -export const RecoveryPlanPlannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanPlannedFailoverInputProperties", +export const StorageClassificationProperties: msRest.CompositeMapper = { + serializedName: "StorageClassificationProperties", type: { name: "Composite", - className: "RecoveryPlanPlannedFailoverInputProperties", + className: "StorageClassificationProperties", modelProperties: { - failoverDirection: { - required: true, - serializedName: "failoverDirection", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanProviderSpecificFailoverInput" - } - } - } } } } }; -export const RecoveryPlanPlannedFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanPlannedFailoverInput", +export const StorageClassification: msRest.CompositeMapper = { + serializedName: "StorageClassification", type: { name: "Composite", - className: "RecoveryPlanPlannedFailoverInput", + className: "StorageClassification", modelProperties: { + ...Resource.type.modelProperties, properties: { - required: true, serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanPlannedFailoverInputProperties" + className: "StorageClassificationProperties" } } } } }; -export const RecoveryPlanScriptActionDetails: msRest.CompositeMapper = { - serializedName: "ScriptActionDetails", +export const StorageClassificationMappingProperties: msRest.CompositeMapper = { + serializedName: "StorageClassificationMappingProperties", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanScriptActionDetails", + className: "StorageClassificationMappingProperties", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - path: { - required: true, - serializedName: "path", - type: { - name: "String" - } - }, - timeout: { - serializedName: "timeout", - type: { - name: "String" - } - }, - fabricLocation: { - required: true, - serializedName: "fabricLocation", + targetStorageClassificationId: { + serializedName: "targetStorageClassificationId", type: { name: "String" } @@ -9338,45 +15027,32 @@ export const RecoveryPlanScriptActionDetails: msRest.CompositeMapper = { } }; -export const RecoveryPlanShutdownGroupTaskDetails: msRest.CompositeMapper = { - serializedName: "RecoveryPlanShutdownGroupTaskDetails", +export const StorageClassificationMapping: msRest.CompositeMapper = { + serializedName: "StorageClassificationMapping", type: { name: "Composite", - polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, - uberParent: "GroupTaskDetails", - className: "RecoveryPlanShutdownGroupTaskDetails", + className: "StorageClassificationMapping", modelProperties: { - ...GroupTaskDetails.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - groupId: { - serializedName: "groupId", - type: { - name: "String" - } - }, - rpGroupType: { - serializedName: "rpGroupType", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "StorageClassificationMappingProperties" } } } } }; -export const RecoveryPlanTestFailoverCleanupInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverCleanupInputProperties", +export const StorageMappingInputProperties: msRest.CompositeMapper = { + serializedName: "StorageMappingInputProperties", type: { name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInputProperties", + className: "StorageMappingInputProperties", modelProperties: { - comments: { - serializedName: "comments", + targetStorageClassificationId: { + serializedName: "targetStorageClassificationId", type: { name: "String" } @@ -9385,64 +15061,49 @@ export const RecoveryPlanTestFailoverCleanupInputProperties: msRest.CompositeMap } }; -export const RecoveryPlanTestFailoverCleanupInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverCleanupInput", +export const StorageClassificationMappingInput: msRest.CompositeMapper = { + serializedName: "StorageClassificationMappingInput", type: { name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInput", + className: "StorageClassificationMappingInput", modelProperties: { properties: { - required: true, serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInputProperties" + className: "StorageMappingInputProperties" } } } } }; -export const RecoveryPlanTestFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverInputProperties", +export const SupportedOSDetails: msRest.CompositeMapper = { + serializedName: "SupportedOSDetails", type: { name: "Composite", - className: "RecoveryPlanTestFailoverInputProperties", + className: "SupportedOSDetails", modelProperties: { - failoverDirection: { - required: true, - serializedName: "failoverDirection", - type: { - name: "String" - } - }, - networkType: { - required: true, - serializedName: "networkType", - type: { - name: "String" - } - }, - networkId: { - serializedName: "networkId", + osName: { + serializedName: "osName", type: { name: "String" } }, - skipTestFailoverCleanup: { - serializedName: "skipTestFailoverCleanup", + osType: { + serializedName: "osType", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + osVersions: { + serializedName: "osVersions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanProviderSpecificFailoverInput" + className: "OSVersionWrapper" } } } @@ -9451,52 +15112,49 @@ export const RecoveryPlanTestFailoverInputProperties: msRest.CompositeMapper = { } }; -export const RecoveryPlanTestFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverInput", +export const SupportedOSProperty: msRest.CompositeMapper = { + serializedName: "SupportedOSProperty", type: { name: "Composite", - className: "RecoveryPlanTestFailoverInput", + className: "SupportedOSProperty", modelProperties: { - properties: { - required: true, - serializedName: "properties", + instanceType: { + readOnly: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "RecoveryPlanTestFailoverInputProperties" + name: "String" + } + }, + supportedOs: { + serializedName: "supportedOs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SupportedOSDetails" + } + } } } } } }; -export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanUnplannedFailoverInputProperties", +export const SupportedOSProperties: msRest.CompositeMapper = { + serializedName: "SupportedOSProperties", type: { name: "Composite", - className: "RecoveryPlanUnplannedFailoverInputProperties", + className: "SupportedOSProperties", modelProperties: { - failoverDirection: { - required: true, - serializedName: "failoverDirection", - type: { - name: "String" - } - }, - sourceSiteOperations: { - required: true, - serializedName: "sourceSiteOperations", - type: { - name: "String" - } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + supportedOsList: { + serializedName: "supportedOsList", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanProviderSpecificFailoverInput" + className: "SupportedOSProperty" } } } @@ -9505,38 +15163,32 @@ export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMappe } }; -export const RecoveryPlanUnplannedFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanUnplannedFailoverInput", +export const SupportedOperatingSystems: msRest.CompositeMapper = { + serializedName: "SupportedOperatingSystems", type: { name: "Composite", - className: "RecoveryPlanUnplannedFailoverInput", + className: "SupportedOperatingSystems", modelProperties: { + ...Resource.type.modelProperties, properties: { - required: true, serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanUnplannedFailoverInputProperties" + className: "SupportedOSProperties" } } } } }; -export const RecoveryPointProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPointProperties", +export const SwitchProtectionInputProperties: msRest.CompositeMapper = { + serializedName: "SwitchProtectionInputProperties", type: { name: "Composite", - className: "RecoveryPointProperties", + className: "SwitchProtectionInputProperties", modelProperties: { - recoveryPointTime: { - serializedName: "recoveryPointTime", - type: { - name: "DateTime" - } - }, - recoveryPointType: { - serializedName: "recoveryPointType", + replicationProtectedItemName: { + serializedName: "replicationProtectedItemName", type: { name: "String" } @@ -9545,220 +15197,175 @@ export const RecoveryPointProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "ProviderSpecificRecoveryPointDetails" + className: "SwitchProtectionProviderSpecificInput" } } } } }; -export const RecoveryPoint: msRest.CompositeMapper = { - serializedName: "RecoveryPoint", +export const SwitchProtectionInput: msRest.CompositeMapper = { + serializedName: "SwitchProtectionInput", type: { name: "Composite", - className: "RecoveryPoint", + className: "SwitchProtectionInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "RecoveryPointProperties" + className: "SwitchProtectionInputProperties" } } } } }; -export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { - serializedName: "RecoveryServicesProviderProperties", +export const SwitchProtectionJobDetails: msRest.CompositeMapper = { + serializedName: "SwitchProtectionJobDetails", type: { name: "Composite", - className: "RecoveryServicesProviderProperties", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "SwitchProtectionJobDetails", modelProperties: { - fabricType: { - serializedName: "fabricType", - type: { - name: "String" - } - }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - providerVersion: { - serializedName: "providerVersion", + ...JobDetails.type.modelProperties, + newReplicationProtectedItemId: { + serializedName: "newReplicationProtectedItemId", type: { name: "String" } - }, - serverVersion: { - serializedName: "serverVersion", + } + } + } +}; + +export const TargetComputeSizeProperties: msRest.CompositeMapper = { + serializedName: "TargetComputeSizeProperties", + type: { + name: "Composite", + className: "TargetComputeSizeProperties", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - providerVersionState: { - serializedName: "providerVersionState", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - providerVersionExpiryDate: { - serializedName: "providerVersionExpiryDate", - type: { - name: "DateTime" - } - }, - fabricFriendlyName: { - serializedName: "fabricFriendlyName", + cpuCoresCount: { + serializedName: "cpuCoresCount", type: { - name: "String" + name: "Number" } }, - lastHeartBeat: { - serializedName: "lastHeartBeat", + vCPUsAvailable: { + readOnly: true, + serializedName: "vCPUsAvailable", type: { - name: "DateTime" + name: "Number" } }, - connectionStatus: { - serializedName: "connectionStatus", + memoryInGB: { + serializedName: "memoryInGB", type: { - name: "String" + name: "Number" } }, - protectedItemCount: { - serializedName: "protectedItemCount", + maxDataDiskCount: { + serializedName: "maxDataDiskCount", type: { name: "Number" } }, - allowedScenarios: { - serializedName: "allowedScenarios", + maxNicsCount: { + serializedName: "maxNicsCount", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - healthErrorDetails: { - serializedName: "healthErrorDetails", + errors: { + serializedName: "errors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HealthError" + className: "ComputeSizeErrorDetails" } } } }, - draIdentifier: { - serializedName: "draIdentifier", + highIopsSupported: { + serializedName: "highIopsSupported", type: { name: "String" } }, - identityDetails: { - serializedName: "identityDetails", - type: { - name: "Composite", - className: "IdentityInformation" - } - }, - providerVersionDetails: { - serializedName: "providerVersionDetails", + hyperVGenerations: { + readOnly: true, + serializedName: "hyperVGenerations", type: { - name: "Composite", - className: "VersionDetails" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const RecoveryServicesProvider: msRest.CompositeMapper = { - serializedName: "RecoveryServicesProvider", +export const TargetComputeSize: msRest.CompositeMapper = { + serializedName: "TargetComputeSize", type: { name: "Composite", - className: "RecoveryServicesProvider", + className: "TargetComputeSize", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + id: { + serializedName: "id", type: { - name: "Composite", - className: "RecoveryServicesProviderProperties" + name: "String" } - } - } - } -}; - -export const ReplicationProviderContainerUnmappingInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderContainerUnmappingInput", - type: { - name: "Composite", - className: "ReplicationProviderContainerUnmappingInput", - modelProperties: { - instanceType: { - serializedName: "instanceType", + }, + name: { + serializedName: "name", type: { name: "String" } - } - } - } -}; - -export const RemoveProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "RemoveProtectionContainerMappingInputProperties", - type: { - name: "Composite", - className: "RemoveProtectionContainerMappingInputProperties", - modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + }, + type: { + serializedName: "type", type: { - name: "Composite", - className: "ReplicationProviderContainerUnmappingInput" + name: "String" } - } - } - } -}; - -export const RemoveProtectionContainerMappingInput: msRest.CompositeMapper = { - serializedName: "RemoveProtectionContainerMappingInput", - type: { - name: "Composite", - className: "RemoveProtectionContainerMappingInput", - modelProperties: { + }, properties: { serializedName: "properties", type: { name: "Composite", - className: "RemoveProtectionContainerMappingInputProperties" + className: "TargetComputeSizeProperties" } } } } }; -export const RenewCertificateInputProperties: msRest.CompositeMapper = { - serializedName: "RenewCertificateInputProperties", +export const TestFailoverCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "TestFailoverCleanupInputProperties", type: { name: "Composite", - className: "RenewCertificateInputProperties", + className: "TestFailoverCleanupInputProperties", modelProperties: { - renewCertificateType: { - serializedName: "renewCertificateType", + comments: { + serializedName: "comments", type: { name: "String" } @@ -9767,200 +15374,243 @@ export const RenewCertificateInputProperties: msRest.CompositeMapper = { } }; -export const RenewCertificateInput: msRest.CompositeMapper = { - serializedName: "RenewCertificateInput", +export const TestFailoverCleanupInput: msRest.CompositeMapper = { + serializedName: "TestFailoverCleanupInput", type: { name: "Composite", - className: "RenewCertificateInput", + className: "TestFailoverCleanupInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "RenewCertificateInputProperties" + className: "TestFailoverCleanupInputProperties" } } } } }; -export const ReplicationGroupDetails: msRest.CompositeMapper = { - serializedName: "ReplicationGroupDetails", - type: { - name: "Composite", - polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, - uberParent: "ConfigurationSettings", - className: "ReplicationGroupDetails", - modelProperties: { - ...ConfigurationSettings.type.modelProperties - } - } -}; - -export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { - serializedName: "ReplicationProtectedItemProperties", +export const TestFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "TestFailoverInputProperties", type: { name: "Composite", - className: "ReplicationProtectedItemProperties", + className: "TestFailoverInputProperties", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - protectedItemType: { - serializedName: "protectedItemType", - type: { - name: "String" - } - }, - protectableItemId: { - serializedName: "protectableItemId", - type: { - name: "String" - } - }, - recoveryServicesProviderId: { - serializedName: "recoveryServicesProviderId", - type: { - name: "String" - } - }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", + failoverDirection: { + serializedName: "failoverDirection", type: { name: "String" } }, - primaryFabricProvider: { - serializedName: "primaryFabricProvider", + networkType: { + serializedName: "networkType", type: { name: "String" } }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + networkId: { + serializedName: "networkId", type: { name: "String" } }, - recoveryFabricId: { - serializedName: "recoveryFabricId", + skipTestFailoverCleanup: { + serializedName: "skipTestFailoverCleanup", type: { name: "String" } }, - primaryProtectionContainerFriendlyName: { - serializedName: "primaryProtectionContainerFriendlyName", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "TestFailoverProviderSpecificInput" } - }, - recoveryProtectionContainerFriendlyName: { - serializedName: "recoveryProtectionContainerFriendlyName", + } + } + } +}; + +export const TestFailoverInput: msRest.CompositeMapper = { + serializedName: "TestFailoverInput", + type: { + name: "Composite", + className: "TestFailoverInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "TestFailoverInputProperties" } - }, - protectionState: { - serializedName: "protectionState", + } + } + } +}; + +export const TestFailoverJobDetails: msRest.CompositeMapper = { + serializedName: "TestFailoverJobDetails", + type: { + name: "Composite", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "TestFailoverJobDetails", + modelProperties: { + ...JobDetails.type.modelProperties, + testFailoverStatus: { + serializedName: "testFailoverStatus", type: { name: "String" } }, - protectionStateDescription: { - serializedName: "protectionStateDescription", + comments: { + serializedName: "comments", type: { name: "String" } }, - activeLocation: { - serializedName: "activeLocation", + networkName: { + serializedName: "networkName", type: { name: "String" } }, - testFailoverState: { - serializedName: "testFailoverState", + networkFriendlyName: { + serializedName: "networkFriendlyName", type: { name: "String" } }, - testFailoverStateDescription: { - serializedName: "testFailoverStateDescription", + networkType: { + serializedName: "networkType", type: { name: "String" } }, - allowedOperations: { - serializedName: "allowedOperations", + protectedItemDetails: { + serializedName: "protectedItemDetails", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "FailoverReplicationProtectedItemDetails" } } } - }, - replicationHealth: { - serializedName: "replicationHealth", - type: { - name: "String" - } - }, - failoverHealth: { - serializedName: "failoverHealth", + } + } + } +}; + +export const TestMigrateCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInputProperties", + type: { + name: "Composite", + className: "TestMigrateCleanupInputProperties", + modelProperties: { + comments: { + serializedName: "comments", type: { name: "String" } - }, - healthErrors: { - serializedName: "healthErrors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } - } - }, - policyId: { - serializedName: "policyId", + } + } + } +}; + +export const TestMigrateCleanupInput: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInput", + type: { + name: "Composite", + className: "TestMigrateCleanupInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "TestMigrateCleanupInputProperties" } - }, - policyFriendlyName: { - serializedName: "policyFriendlyName", + } + } + } +}; + +export const TestMigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "TestMigrateProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "TestMigrateProviderSpecificInput", + className: "TestMigrateProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - lastSuccessfulFailoverTime: { - serializedName: "lastSuccessfulFailoverTime", + } + } + } +}; + +export const TestMigrateInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateInputProperties", + type: { + name: "Composite", + className: "TestMigrateInputProperties", + modelProperties: { + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { - name: "DateTime" + name: "Composite", + className: "TestMigrateProviderSpecificInput" } - }, - lastSuccessfulTestFailoverTime: { - serializedName: "lastSuccessfulTestFailoverTime", + } + } + } +}; + +export const TestMigrateInput: msRest.CompositeMapper = { + serializedName: "TestMigrateInput", + type: { + name: "Composite", + className: "TestMigrateInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "DateTime" + name: "Composite", + className: "TestMigrateInputProperties" } - }, - currentScenario: { - serializedName: "currentScenario", + } + } + } +}; + +export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInputProperties", + type: { + name: "Composite", + className: "UnplannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + serializedName: "failoverDirection", type: { - name: "Composite", - className: "CurrentScenarioDetails" + name: "String" } }, - failoverRecoveryPointId: { - serializedName: "failoverRecoveryPointId", + sourceSiteOperations: { + serializedName: "sourceSiteOperations", type: { name: "String" } @@ -9969,319 +15619,466 @@ export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "ReplicationProviderSpecificSettings" - } - }, - recoveryContainerId: { - serializedName: "recoveryContainerId", - type: { - name: "String" + className: "UnplannedFailoverProviderSpecificInput" } } } } }; -export const ReplicationProtectedItem: msRest.CompositeMapper = { - serializedName: "ReplicationProtectedItem", +export const UnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInput", type: { name: "Composite", - className: "ReplicationProtectedItem", + className: "UnplannedFailoverInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ReplicationProtectedItemProperties" + className: "UnplannedFailoverInputProperties" } } } } }; -export const ResourceHealthSummary: msRest.CompositeMapper = { - serializedName: "ResourceHealthSummary", +export const UpdateMigrationItemProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemProviderSpecificInput", type: { name: "Composite", - className: "ResourceHealthSummary", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "UpdateMigrationItemProviderSpecificInput", + className: "UpdateMigrationItemProviderSpecificInput", modelProperties: { - resourceCount: { - serializedName: "resourceCount", - type: { - name: "Number" - } - }, - issues: { - serializedName: "issues", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthErrorSummary" - } - } + name: "String" } } } } }; -export const ResumeJobParamsProperties: msRest.CompositeMapper = { - serializedName: "ResumeJobParamsProperties", +export const UpdateMigrationItemInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemInputProperties", type: { name: "Composite", - className: "ResumeJobParamsProperties", + className: "UpdateMigrationItemInputProperties", modelProperties: { - comments: { - serializedName: "comments", + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "UpdateMigrationItemProviderSpecificInput" } } } } }; -export const ResumeJobParams: msRest.CompositeMapper = { - serializedName: "ResumeJobParams", +export const UpdateMigrationItemInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemInput", type: { name: "Composite", - className: "ResumeJobParams", + className: "UpdateMigrationItemInput", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "ResumeJobParamsProperties" + className: "UpdateMigrationItemInputProperties" } } } } }; -export const ReverseReplicationInputProperties: msRest.CompositeMapper = { - serializedName: "ReverseReplicationInputProperties", +export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequestProperties", type: { name: "Composite", - className: "ReverseReplicationInputProperties", + className: "UpdateMobilityServiceRequestProperties", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", - type: { - name: "Composite", - className: "ReverseReplicationProviderSpecificInput" - } } } } }; -export const ReverseReplicationInput: msRest.CompositeMapper = { - serializedName: "ReverseReplicationInput", +export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequest", type: { name: "Composite", - className: "ReverseReplicationInput", + className: "UpdateMobilityServiceRequest", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "ReverseReplicationInputProperties" + className: "UpdateMobilityServiceRequestProperties" } } } } }; -export const RunAsAccount: msRest.CompositeMapper = { - serializedName: "RunAsAccount", +export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateNetworkMappingInputProperties", type: { name: "Composite", - className: "RunAsAccount", + className: "UpdateNetworkMappingInputProperties", modelProperties: { - accountId: { - serializedName: "accountId", + recoveryFabricName: { + serializedName: "recoveryFabricName", type: { name: "String" } }, - accountName: { - serializedName: "accountName", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", + type: { + name: "String" + } + }, + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", + type: { + name: "Composite", + className: "FabricSpecificUpdateNetworkMappingInput" + } + } + } + } +}; + +export const UpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "UpdateNetworkMappingInput", + type: { + name: "Composite", + className: "UpdateNetworkMappingInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "UpdateNetworkMappingInputProperties" } } } } }; -export const SanEnableProtectionInput: msRest.CompositeMapper = { - serializedName: "San", +export const UpdatePolicyInputProperties: msRest.CompositeMapper = { + serializedName: "UpdatePolicyInputProperties", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "SanEnableProtectionInput", + className: "UpdatePolicyInputProperties", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties + replicationProviderSettings: { + serializedName: "replicationProviderSettings", + type: { + name: "Composite", + className: "PolicyProviderSpecificInput" + } + } } } }; -export const ScriptActionTaskDetails: msRest.CompositeMapper = { - serializedName: "ScriptActionTaskDetails", +export const UpdatePolicyInput: msRest.CompositeMapper = { + serializedName: "UpdatePolicyInput", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "ScriptActionTaskDetails", + className: "UpdatePolicyInput", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - path: { - serializedName: "path", - type: { - name: "String" - } - }, - output: { - serializedName: "output", - type: { - name: "String" - } - }, - isPrimarySideScript: { - serializedName: "isPrimarySideScript", + properties: { + serializedName: "properties", type: { - name: "Boolean" + name: "Composite", + className: "UpdatePolicyInputProperties" } } } } }; -export const StorageClassificationProperties: msRest.CompositeMapper = { - serializedName: "StorageClassificationProperties", +export const UpdateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateProtectionContainerMappingInputProperties", type: { name: "Composite", - className: "StorageClassificationProperties", + className: "UpdateProtectionContainerMappingInputProperties", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + providerSpecificInput: { + serializedName: "providerSpecificInput", type: { - name: "String" + name: "Composite", + className: "ReplicationProviderSpecificUpdateContainerMappingInput" } } } } }; -export const StorageClassification: msRest.CompositeMapper = { - serializedName: "StorageClassification", +export const UpdateProtectionContainerMappingInput: msRest.CompositeMapper = { + serializedName: "UpdateProtectionContainerMappingInput", type: { name: "Composite", - className: "StorageClassification", + className: "UpdateProtectionContainerMappingInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "StorageClassificationProperties" + className: "UpdateProtectionContainerMappingInputProperties" } } } } }; -export const StorageClassificationMappingProperties: msRest.CompositeMapper = { - serializedName: "StorageClassificationMappingProperties", +export const UpdateRecoveryPlanInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateRecoveryPlanInputProperties", type: { name: "Composite", - className: "StorageClassificationMappingProperties", + className: "UpdateRecoveryPlanInputProperties", modelProperties: { - targetStorageClassificationId: { - serializedName: "targetStorageClassificationId", + groups: { + serializedName: "groups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanGroup" + } + } } } } } }; -export const StorageClassificationMapping: msRest.CompositeMapper = { - serializedName: "StorageClassificationMapping", +export const UpdateRecoveryPlanInput: msRest.CompositeMapper = { + serializedName: "UpdateRecoveryPlanInput", type: { name: "Composite", - className: "StorageClassificationMapping", + className: "UpdateRecoveryPlanInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "StorageClassificationMappingProperties" + className: "UpdateRecoveryPlanInputProperties" } } } } }; -export const StorageMappingInputProperties: msRest.CompositeMapper = { - serializedName: "StorageMappingInputProperties", +export const VMNicInputDetails: msRest.CompositeMapper = { + serializedName: "VMNicInputDetails", type: { name: "Composite", - className: "StorageMappingInputProperties", + className: "VMNicInputDetails", modelProperties: { - targetStorageClassificationId: { - serializedName: "targetStorageClassificationId", + nicId: { + serializedName: "nicId", + type: { + name: "String" + } + }, + recoveryVMSubnetName: { + serializedName: "recoveryVMSubnetName", + type: { + name: "String" + } + }, + replicaNicStaticIPAddress: { + serializedName: "replicaNicStaticIPAddress", + type: { + name: "String" + } + }, + selectionType: { + serializedName: "selectionType", + type: { + name: "String" + } + }, + recoveryPublicIpAddressId: { + serializedName: "recoveryPublicIpAddressId", + type: { + name: "String" + } + }, + recoveryNetworkSecurityGroupId: { + serializedName: "recoveryNetworkSecurityGroupId", + type: { + name: "String" + } + }, + recoveryLBBackendAddressPoolIds: { + serializedName: "recoveryLBBackendAddressPoolIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + enableAcceleratedNetworkingOnRecovery: { + serializedName: "enableAcceleratedNetworkingOnRecovery", + type: { + name: "Boolean" + } + }, + tfoVMSubnetName: { + serializedName: "tfoVMSubnetName", + type: { + name: "String" + } + }, + tfoNetworkSecurityGroupId: { + serializedName: "tfoNetworkSecurityGroupId", + type: { + name: "String" + } + }, + enableAcceleratedNetworkingOnTfo: { + serializedName: "enableAcceleratedNetworkingOnTfo", + type: { + name: "Boolean" + } + }, + tfoIPConfigs: { + serializedName: "tfoIPConfigs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPConfig" + } + } + } + }, + recoveryNicName: { + serializedName: "recoveryNicName", + type: { + name: "String" + } + }, + recoveryNicResourceGroupName: { + serializedName: "recoveryNicResourceGroupName", + type: { + name: "String" + } + }, + reuseExistingNic: { + serializedName: "reuseExistingNic", + defaultValue: false, + type: { + name: "Boolean" + } + }, + tfoNicName: { + serializedName: "tfoNicName", + type: { + name: "String" + } + }, + tfoNicResourceGroupName: { + serializedName: "tfoNicResourceGroupName", type: { name: "String" } + }, + tfoReuseExistingNic: { + serializedName: "tfoReuseExistingNic", + defaultValue: false, + type: { + name: "Boolean" + } } } } }; -export const StorageClassificationMappingInput: msRest.CompositeMapper = { - serializedName: "StorageClassificationMappingInput", +export const UpdateReplicationProtectedItemInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemInputProperties", type: { name: "Composite", - className: "StorageClassificationMappingInput", + className: "UpdateReplicationProtectedItemInputProperties", modelProperties: { - properties: { - serializedName: "properties", + recoveryAzureVMName: { + serializedName: "recoveryAzureVMName", + type: { + name: "String" + } + }, + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", + type: { + name: "String" + } + }, + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", + type: { + name: "String" + } + }, + selectedTfoAzureNetworkId: { + serializedName: "selectedTfoAzureNetworkId", + type: { + name: "String" + } + }, + selectedSourceNicId: { + serializedName: "selectedSourceNicId", + type: { + name: "String" + } + }, + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", + type: { + name: "String" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicInputDetails" + } + } + } + }, + licenseType: { + serializedName: "licenseType", type: { - name: "Composite", - className: "StorageMappingInputProperties" + name: "String" } - } - } - } -}; - -export const SwitchProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "SwitchProtectionInputProperties", - type: { - name: "Composite", - className: "SwitchProtectionInputProperties", - modelProperties: { - replicationProtectedItemName: { - serializedName: "replicationProtectedItemName", + }, + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { name: "String" } @@ -10290,156 +16087,156 @@ export const SwitchProtectionInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "SwitchProtectionProviderSpecificInput" + className: "UpdateReplicationProtectedItemProviderInput" } } } } }; -export const SwitchProtectionInput: msRest.CompositeMapper = { - serializedName: "SwitchProtectionInput", +export const UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemInput", type: { name: "Composite", - className: "SwitchProtectionInput", + className: "UpdateReplicationProtectedItemInput", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "SwitchProtectionInputProperties" - } - } - } - } -}; - -export const SwitchProtectionJobDetails: msRest.CompositeMapper = { - serializedName: "SwitchProtectionJobDetails", - type: { - name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "SwitchProtectionJobDetails", - modelProperties: { - ...JobDetails.type.modelProperties, - newReplicationProtectedItemId: { - serializedName: "newReplicationProtectedItemId", - type: { - name: "String" + className: "UpdateReplicationProtectedItemInputProperties" } } } } }; -export const TargetComputeSizeProperties: msRest.CompositeMapper = { - serializedName: "TargetComputeSizeProperties", +export const UpdateVCenterRequestProperties: msRest.CompositeMapper = { + serializedName: "UpdateVCenterRequestProperties", type: { name: "Composite", - className: "TargetComputeSizeProperties", + className: "UpdateVCenterRequestProperties", modelProperties: { - name: { - serializedName: "name", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - cpuCoresCount: { - serializedName: "cpuCoresCount", + processServerId: { + serializedName: "processServerId", type: { - name: "Number" + name: "String" } }, - memoryInGB: { - serializedName: "memoryInGB", + port: { + serializedName: "port", type: { - name: "Number" + name: "String" } }, - maxDataDiskCount: { - serializedName: "maxDataDiskCount", + runAsAccountId: { + serializedName: "runAsAccountId", type: { - name: "Number" + name: "String" } - }, - maxNicsCount: { - serializedName: "maxNicsCount", + } + } + } +}; + +export const UpdateVCenterRequest: msRest.CompositeMapper = { + serializedName: "UpdateVCenterRequest", + type: { + name: "Composite", + className: "UpdateVCenterRequest", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "UpdateVCenterRequestProperties" } - }, - errors: { - serializedName: "errors", + } + } + } +}; + +export const VaultHealthProperties: msRest.CompositeMapper = { + serializedName: "VaultHealthProperties", + type: { + name: "Composite", + className: "VaultHealthProperties", + modelProperties: { + vaultErrors: { + serializedName: "vaultErrors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComputeSizeErrorDetails" + className: "HealthError" } } } }, - highIopsSupported: { - serializedName: "highIopsSupported", + protectedItemsHealth: { + serializedName: "protectedItemsHealth", type: { - name: "String" + name: "Composite", + className: "ResourceHealthSummary" + } + }, + fabricsHealth: { + serializedName: "fabricsHealth", + type: { + name: "Composite", + className: "ResourceHealthSummary" + } + }, + containersHealth: { + serializedName: "containersHealth", + type: { + name: "Composite", + className: "ResourceHealthSummary" } } } } }; -export const TargetComputeSize: msRest.CompositeMapper = { - serializedName: "TargetComputeSize", +export const VaultHealthDetails: msRest.CompositeMapper = { + serializedName: "VaultHealthDetails", type: { name: "Composite", - className: "TargetComputeSize", + className: "VaultHealthDetails", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - type: { - serializedName: "type", - type: { - name: "String" - } - }, + ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "TargetComputeSizeProperties" + className: "VaultHealthProperties" } } } } }; -export const TestFailoverCleanupInputProperties: msRest.CompositeMapper = { - serializedName: "TestFailoverCleanupInputProperties", +export const VaultSettingProperties: msRest.CompositeMapper = { + serializedName: "VaultSettingProperties", type: { name: "Composite", - className: "TestFailoverCleanupInputProperties", + className: "VaultSettingProperties", modelProperties: { - comments: { - serializedName: "comments", + migrationSolutionId: { + serializedName: "migrationSolutionId", type: { name: "String" } @@ -10448,129 +16245,133 @@ export const TestFailoverCleanupInputProperties: msRest.CompositeMapper = { } }; -export const TestFailoverCleanupInput: msRest.CompositeMapper = { - serializedName: "TestFailoverCleanupInput", +export const VaultSetting: msRest.CompositeMapper = { + serializedName: "VaultSetting", type: { name: "Composite", - className: "TestFailoverCleanupInput", + className: "VaultSetting", modelProperties: { + ...Resource.type.modelProperties, properties: { - required: true, serializedName: "properties", type: { name: "Composite", - className: "TestFailoverCleanupInputProperties" + className: "VaultSettingProperties" } } } } }; -export const TestFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "TestFailoverInputProperties", +export const VaultSettingCreationInputProperties: msRest.CompositeMapper = { + serializedName: "VaultSettingCreationInputProperties", type: { name: "Composite", - className: "TestFailoverInputProperties", + className: "VaultSettingCreationInputProperties", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", - type: { - name: "String" - } - }, - networkType: { - serializedName: "networkType", - type: { - name: "String" - } - }, - networkId: { - serializedName: "networkId", - type: { - name: "String" - } - }, - skipTestFailoverCleanup: { - serializedName: "skipTestFailoverCleanup", + migrationSolutionId: { + required: true, + serializedName: "migrationSolutionId", type: { name: "String" } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", - type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" - } } } } }; -export const TestFailoverInput: msRest.CompositeMapper = { - serializedName: "TestFailoverInput", +export const VaultSettingCreationInput: msRest.CompositeMapper = { + serializedName: "VaultSettingCreationInput", type: { name: "Composite", - className: "TestFailoverInput", + className: "VaultSettingCreationInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "TestFailoverInputProperties" + className: "VaultSettingCreationInputProperties" } } } } }; -export const TestFailoverJobDetails: msRest.CompositeMapper = { - serializedName: "TestFailoverJobDetails", +export const VCenterProperties: msRest.CompositeMapper = { + serializedName: "VCenterProperties", type: { name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "TestFailoverJobDetails", + className: "VCenterProperties", modelProperties: { - ...JobDetails.type.modelProperties, - testFailoverStatus: { - serializedName: "testFailoverStatus", + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + internalId: { + serializedName: "internalId", + type: { + name: "String" + } + }, + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + discoveryStatus: { + serializedName: "discoveryStatus", + type: { + name: "String" + } + }, + processServerId: { + serializedName: "processServerId", + type: { + name: "String" + } + }, + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - comments: { - serializedName: "comments", + infrastructureId: { + serializedName: "infrastructureId", type: { name: "String" } }, - networkName: { - serializedName: "networkName", + port: { + serializedName: "port", type: { name: "String" } }, - networkFriendlyName: { - serializedName: "networkFriendlyName", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } }, - networkType: { - serializedName: "networkType", + fabricArmResourceName: { + serializedName: "fabricArmResourceName", type: { name: "String" } }, - protectedItemDetails: { - serializedName: "protectedItemDetails", + healthErrors: { + serializedName: "healthErrors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FailoverReplicationProtectedItemDetails" + className: "HealthError" } } } @@ -10579,322 +16380,377 @@ export const TestFailoverJobDetails: msRest.CompositeMapper = { } }; -export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "UnplannedFailoverInputProperties", +export const VCenter: msRest.CompositeMapper = { + serializedName: "VCenter", type: { name: "Composite", - className: "UnplannedFailoverInputProperties", + className: "VCenter", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", - type: { - name: "String" - } - }, - sourceSiteOperations: { - serializedName: "sourceSiteOperations", - type: { - name: "String" - } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ProviderSpecificFailoverInput" + className: "VCenterProperties" } } } } }; -export const UnplannedFailoverInput: msRest.CompositeMapper = { - serializedName: "UnplannedFailoverInput", +export const VirtualMachineTaskDetails: msRest.CompositeMapper = { + serializedName: "VirtualMachineTaskDetails", type: { name: "Composite", - className: "UnplannedFailoverInput", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "VirtualMachineTaskDetails", modelProperties: { - properties: { - serializedName: "properties", + ...TaskTypeDetails.type.modelProperties, + skippedReason: { + serializedName: "skippedReason", + type: { + name: "String" + } + }, + skippedReasonString: { + serializedName: "skippedReasonString", + type: { + name: "String" + } + }, + jobTask: { + serializedName: "jobTask", type: { name: "Composite", - className: "UnplannedFailoverInputProperties" + className: "JobEntity" } } } } }; -export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { - serializedName: "UpdateMobilityServiceRequestProperties", +export const VmmDetails: msRest.CompositeMapper = { + serializedName: "VMM", type: { name: "Composite", - className: "UpdateMobilityServiceRequestProperties", + polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, + uberParent: "FabricSpecificDetails", + className: "VmmDetails", modelProperties: { - runAsAccountId: { - serializedName: "runAsAccountId", - type: { - name: "String" - } - } + ...FabricSpecificDetails.type.modelProperties } } }; -export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { - serializedName: "UpdateMobilityServiceRequest", +export const VmmToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToAzure", type: { name: "Composite", - className: "UpdateMobilityServiceRequest", + polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreateNetworkMappingInput", + className: "VmmToAzureCreateNetworkMappingInput", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "UpdateMobilityServiceRequestProperties" - } - } + ...FabricSpecificCreateNetworkMappingInput.type.modelProperties } } }; -export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateNetworkMappingInputProperties", +export const VmmToAzureNetworkMappingSettings: msRest.CompositeMapper = { + serializedName: "VmmToAzure", type: { name: "Composite", - className: "UpdateNetworkMappingInputProperties", + polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "VmmToAzureNetworkMappingSettings", modelProperties: { - recoveryFabricName: { - serializedName: "recoveryFabricName", - type: { - name: "String" - } - }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", - type: { - name: "String" - } - }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", - type: { - name: "Composite", - className: "FabricSpecificUpdateNetworkMappingInput" - } - } + ...NetworkMappingFabricSpecificSettings.type.modelProperties } } }; -export const UpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "UpdateNetworkMappingInput", +export const VmmToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToAzure", type: { name: "Composite", - className: "UpdateNetworkMappingInput", + polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificUpdateNetworkMappingInput", + className: "VmmToAzureUpdateNetworkMappingInput", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "UpdateNetworkMappingInputProperties" - } - } + ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties } } }; -export const UpdatePolicyInputProperties: msRest.CompositeMapper = { - serializedName: "UpdatePolicyInputProperties", +export const VmmToVmmCreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToVmm", type: { name: "Composite", - className: "UpdatePolicyInputProperties", + polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreateNetworkMappingInput", + className: "VmmToVmmCreateNetworkMappingInput", modelProperties: { - replicationProviderSettings: { - serializedName: "replicationProviderSettings", - type: { - name: "Composite", - className: "PolicyProviderSpecificInput" - } - } + ...FabricSpecificCreateNetworkMappingInput.type.modelProperties } } }; -export const UpdatePolicyInput: msRest.CompositeMapper = { - serializedName: "UpdatePolicyInput", +export const VmmToVmmNetworkMappingSettings: msRest.CompositeMapper = { + serializedName: "VmmToVmm", type: { name: "Composite", - className: "UpdatePolicyInput", + polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "VmmToVmmNetworkMappingSettings", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "UpdatePolicyInputProperties" - } - } + ...NetworkMappingFabricSpecificSettings.type.modelProperties } } }; -export const UpdateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateProtectionContainerMappingInputProperties", +export const VmmToVmmUpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToVmm", type: { name: "Composite", - className: "UpdateProtectionContainerMappingInputProperties", + polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificUpdateNetworkMappingInput", + className: "VmmToVmmUpdateNetworkMappingInput", modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", - type: { - name: "Composite", - className: "ReplicationProviderSpecificUpdateContainerMappingInput" - } - } + ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties } } }; -export const UpdateProtectionContainerMappingInput: msRest.CompositeMapper = { - serializedName: "UpdateProtectionContainerMappingInput", +export const VmmVirtualMachineDetails: msRest.CompositeMapper = { + serializedName: "VmmVirtualMachine", type: { name: "Composite", - className: "UpdateProtectionContainerMappingInput", + polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, + uberParent: "ConfigurationSettings", + className: "VmmVirtualMachineDetails", modelProperties: { - properties: { - serializedName: "properties", + ...ConfigurationSettings.type.modelProperties, + sourceItemId: { + serializedName: "sourceItemId", + type: { + name: "String" + } + }, + generation: { + serializedName: "generation", + type: { + name: "String" + } + }, + osDetails: { + serializedName: "osDetails", type: { name: "Composite", - className: "UpdateProtectionContainerMappingInputProperties" + className: "OSDetails" + } + }, + diskDetails: { + serializedName: "diskDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskDetails" + } + } + } + }, + hasPhysicalDisk: { + serializedName: "hasPhysicalDisk", + type: { + name: "String" + } + }, + hasFibreChannelAdapter: { + serializedName: "hasFibreChannelAdapter", + type: { + name: "String" + } + }, + hasSharedVhd: { + serializedName: "hasSharedVhd", + type: { + name: "String" } } } } }; -export const UpdateRecoveryPlanInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateRecoveryPlanInputProperties", +export const VmNicUpdatesTaskDetails: msRest.CompositeMapper = { + serializedName: "VmNicUpdatesTaskDetails", type: { name: "Composite", - className: "UpdateRecoveryPlanInputProperties", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "VmNicUpdatesTaskDetails", modelProperties: { - groups: { - serializedName: "groups", + ...TaskTypeDetails.type.modelProperties, + vmId: { + serializedName: "vmId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanGroup" - } - } + name: "String" + } + }, + nicId: { + serializedName: "nicId", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" } } } } }; -export const UpdateRecoveryPlanInput: msRest.CompositeMapper = { - serializedName: "UpdateRecoveryPlanInput", +export const VMwareCbtContainerCreationInput: msRest.CompositeMapper = { + serializedName: "6c7da455-506f-43ff-a16a-8eb101aebb70", type: { name: "Composite", - className: "UpdateRecoveryPlanInput", + polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerCreationInput", + className: "VMwareCbtContainerCreationInput", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "UpdateRecoveryPlanInputProperties" - } - } + ...ReplicationProviderSpecificContainerCreationInput.type.modelProperties } } }; -export const VMNicInputDetails: msRest.CompositeMapper = { - serializedName: "VMNicInputDetails", +export const VMwareCbtContainerMappingInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "VMNicInputDetails", + polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerMappingInput", + className: "VMwareCbtContainerMappingInput", modelProperties: { - nicId: { - serializedName: "nicId", + ...ReplicationProviderSpecificContainerMappingInput.type.modelProperties, + keyVaultId: { + required: true, + serializedName: "keyVaultId", type: { name: "String" } }, - recoveryVMSubnetName: { - serializedName: "recoveryVMSubnetName", + keyVaultUri: { + required: true, + serializedName: "keyVaultUri", type: { name: "String" } }, - replicaNicStaticIPAddress: { - serializedName: "replicaNicStaticIPAddress", + storageAccountId: { + required: true, + serializedName: "storageAccountId", type: { name: "String" } }, - selectionType: { - serializedName: "selectionType", + storageAccountSasSecretName: { + required: true, + serializedName: "storageAccountSasSecretName", type: { name: "String" } }, - enableAcceleratedNetworkingOnRecovery: { - serializedName: "enableAcceleratedNetworkingOnRecovery", + serviceBusConnectionStringSecretName: { + required: true, + serializedName: "serviceBusConnectionStringSecretName", type: { - name: "Boolean" + name: "String" + } + }, + targetLocation: { + required: true, + serializedName: "targetLocation", + type: { + name: "String" } } } } }; -export const UpdateReplicationProtectedItemInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateReplicationProtectedItemInputProperties", +export const VMwareCbtDiskInput: msRest.CompositeMapper = { + serializedName: "VMwareCbtDiskInput", type: { name: "Composite", - className: "UpdateReplicationProtectedItemInputProperties", + className: "VMwareCbtDiskInput", modelProperties: { - recoveryAzureVMName: { - serializedName: "recoveryAzureVMName", + diskId: { + required: true, + serializedName: "diskId", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + isOSDisk: { + required: true, + serializedName: "isOSDisk", type: { name: "String" } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + logStorageAccountId: { + required: true, + serializedName: "logStorageAccountId", type: { name: "String" } }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", + logStorageAccountSasSecretName: { + required: true, + serializedName: "logStorageAccountSasSecretName", type: { name: "String" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtEnableMigrationInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: EnableMigrationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableMigrationProviderSpecificInput", + className: "VMwareCbtEnableMigrationInput", + modelProperties: { + ...EnableMigrationProviderSpecificInput.type.modelProperties, + vmwareMachineId: { + required: true, + serializedName: "vmwareMachineId", type: { name: "String" } }, - vmNics: { - serializedName: "vmNics", + disksToInclude: { + required: true, + serializedName: "disksToInclude", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VMNicInputDetails" + className: "VMwareCbtDiskInput" } } } @@ -10905,72 +16761,60 @@ export const UpdateReplicationProtectedItemInputProperties: msRest.CompositeMapp name: "String" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + dataMoverRunAsAccountId: { + required: true, + serializedName: "dataMoverRunAsAccountId", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + snapshotRunAsAccountId: { + required: true, + serializedName: "snapshotRunAsAccountId", type: { - name: "Composite", - className: "UpdateReplicationProtectedItemProviderInput" + name: "String" } - } - } - } -}; - -export const UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { - serializedName: "UpdateReplicationProtectedItemInput", - type: { - name: "Composite", - className: "UpdateReplicationProtectedItemInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + targetVmName: { + serializedName: "targetVmName", type: { - name: "Composite", - className: "UpdateReplicationProtectedItemInputProperties" + name: "String" } - } - } - } -}; - -export const UpdateVCenterRequestProperties: msRest.CompositeMapper = { - serializedName: "UpdateVCenterRequestProperties", - type: { - name: "Composite", - className: "UpdateVCenterRequestProperties", - modelProperties: { - friendlyName: { - serializedName: "friendlyName", + }, + targetVmSize: { + serializedName: "targetVmSize", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + targetResourceGroupId: { + required: true, + serializedName: "targetResourceGroupId", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + targetNetworkId: { + required: true, + serializedName: "targetNetworkId", type: { name: "String" } }, - port: { - serializedName: "port", + targetSubnetName: { + serializedName: "targetSubnetName", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", type: { name: "String" } @@ -10979,392 +16823,335 @@ export const UpdateVCenterRequestProperties: msRest.CompositeMapper = { } }; -export const UpdateVCenterRequest: msRest.CompositeMapper = { - serializedName: "UpdateVCenterRequest", +export const VMwareCbtMigrateInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "UpdateVCenterRequest", + polymorphicDiscriminator: MigrateProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "MigrateProviderSpecificInput", + className: "VMwareCbtMigrateInput", modelProperties: { - properties: { - serializedName: "properties", + ...MigrateProviderSpecificInput.type.modelProperties, + performShutdown: { + required: true, + serializedName: "performShutdown", type: { - name: "Composite", - className: "UpdateVCenterRequestProperties" + name: "String" } } } } }; -export const VaultHealthProperties: msRest.CompositeMapper = { - serializedName: "VaultHealthProperties", +export const VMwareCbtProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbtProtectedDiskDetails", type: { name: "Composite", - className: "VaultHealthProperties", + className: "VMwareCbtProtectedDiskDetails", modelProperties: { - vaultErrors: { - serializedName: "vaultErrors", + diskId: { + readOnly: true, + serializedName: "diskId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } }, - protectedItemsHealth: { - serializedName: "protectedItemsHealth", + diskName: { + readOnly: true, + serializedName: "diskName", type: { - name: "Composite", - className: "ResourceHealthSummary" + name: "String" } }, - fabricsHealth: { - serializedName: "fabricsHealth", + diskPath: { + readOnly: true, + serializedName: "diskPath", type: { - name: "Composite", - className: "ResourceHealthSummary" + name: "String" } }, - containersHealth: { - serializedName: "containersHealth", + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", type: { - name: "Composite", - className: "ResourceHealthSummary" + name: "String" } - } - } - } -}; - -export const VaultHealthDetails: msRest.CompositeMapper = { - serializedName: "VaultHealthDetails", - type: { - name: "Composite", - className: "VaultHealthDetails", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + capacityInBytes: { + readOnly: true, + serializedName: "capacityInBytes", + type: { + name: "Number" + } + }, + logStorageAccountId: { + readOnly: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + logStorageAccountSasSecretName: { + readOnly: true, + serializedName: "logStorageAccountSasSecretName", + type: { + name: "String" + } + }, + seedManagedDiskId: { + readOnly: true, + serializedName: "seedManagedDiskId", + type: { + name: "String" + } + }, + targetManagedDiskId: { + readOnly: true, + serializedName: "targetManagedDiskId", type: { - name: "Composite", - className: "VaultHealthProperties" + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" } } } } }; -export const VCenterProperties: msRest.CompositeMapper = { - serializedName: "VCenterProperties", +export const VMwareCbtNicDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbtNicDetails", type: { name: "Composite", - className: "VCenterProperties", + className: "VMwareCbtNicDetails", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + nicId: { + readOnly: true, + serializedName: "nicId", type: { name: "String" } }, - internalId: { - serializedName: "internalId", + isPrimaryNic: { + serializedName: "isPrimaryNic", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", - type: { - name: "DateTime" - } - }, - discoveryStatus: { - serializedName: "discoveryStatus", + sourceIPAddress: { + readOnly: true, + serializedName: "sourceIPAddress", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + sourceIPAddressType: { + readOnly: true, + serializedName: "sourceIPAddressType", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + sourceNetworkId: { + readOnly: true, + serializedName: "sourceNetworkId", type: { name: "String" } }, - infrastructureId: { - serializedName: "infrastructureId", + targetIPAddress: { + serializedName: "targetIPAddress", type: { name: "String" } }, - port: { - serializedName: "port", + targetIPAddressType: { + serializedName: "targetIPAddressType", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + targetSubnetName: { + serializedName: "targetSubnetName", type: { name: "String" } }, - fabricArmResourceName: { - serializedName: "fabricArmResourceName", + isSelectedForMigration: { + serializedName: "isSelectedForMigration", type: { name: "String" } - }, - healthErrors: { - serializedName: "healthErrors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } - } } } } }; -export const VCenter: msRest.CompositeMapper = { - serializedName: "VCenter", +export const VMwareCbtMigrationDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "VCenter", + polymorphicDiscriminator: MigrationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "MigrationProviderSpecificSettings", + className: "VMwareCbtMigrationDetails", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...MigrationProviderSpecificSettings.type.modelProperties, + vmwareMachineId: { + readOnly: true, + serializedName: "vmwareMachineId", type: { - name: "Composite", - className: "VCenterProperties" + name: "String" } - } - } - } -}; - -export const VirtualMachineTaskDetails: msRest.CompositeMapper = { - serializedName: "VirtualMachineTaskDetails", - type: { - name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "VirtualMachineTaskDetails", - modelProperties: { - ...TaskTypeDetails.type.modelProperties, - skippedReason: { - serializedName: "skippedReason", + }, + osType: { + readOnly: true, + serializedName: "osType", type: { name: "String" } }, - skippedReasonString: { - serializedName: "skippedReasonString", + licenseType: { + serializedName: "licenseType", type: { name: "String" } }, - jobTask: { - serializedName: "jobTask", + dataMoverRunAsAccountId: { + readOnly: true, + serializedName: "dataMoverRunAsAccountId", type: { - name: "Composite", - className: "JobEntity" + name: "String" } - } - } - } -}; - -export const VmmDetails: msRest.CompositeMapper = { - serializedName: "VMM", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, - uberParent: "FabricSpecificDetails", - className: "VmmDetails", - modelProperties: { - ...FabricSpecificDetails.type.modelProperties - } - } -}; - -export const VmmToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "VmmToAzure", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "VmmToAzureCreateNetworkMappingInput", - modelProperties: { - ...FabricSpecificCreateNetworkMappingInput.type.modelProperties - } - } -}; - -export const VmmToAzureNetworkMappingSettings: msRest.CompositeMapper = { - serializedName: "VmmToAzure", - type: { - name: "Composite", - polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "VmmToAzureNetworkMappingSettings", - modelProperties: { - ...NetworkMappingFabricSpecificSettings.type.modelProperties - } - } -}; - -export const VmmToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "VmmToAzure", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificUpdateNetworkMappingInput", - className: "VmmToAzureUpdateNetworkMappingInput", - modelProperties: { - ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties - } - } -}; - -export const VmmToVmmCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "VmmToVmm", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "VmmToVmmCreateNetworkMappingInput", - modelProperties: { - ...FabricSpecificCreateNetworkMappingInput.type.modelProperties - } - } -}; - -export const VmmToVmmNetworkMappingSettings: msRest.CompositeMapper = { - serializedName: "VmmToVmm", - type: { - name: "Composite", - polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "VmmToVmmNetworkMappingSettings", - modelProperties: { - ...NetworkMappingFabricSpecificSettings.type.modelProperties - } - } -}; - -export const VmmToVmmUpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "VmmToVmm", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificUpdateNetworkMappingInput", - className: "VmmToVmmUpdateNetworkMappingInput", - modelProperties: { - ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties - } - } -}; - -export const VmmVirtualMachineDetails: msRest.CompositeMapper = { - serializedName: "VmmVirtualMachine", - type: { - name: "Composite", - polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, - uberParent: "ConfigurationSettings", - className: "VmmVirtualMachineDetails", - modelProperties: { - ...ConfigurationSettings.type.modelProperties, - sourceItemId: { - serializedName: "sourceItemId", + }, + snapshotRunAsAccountId: { + readOnly: true, + serializedName: "snapshotRunAsAccountId", type: { name: "String" } }, - generation: { - serializedName: "generation", + targetVmName: { + serializedName: "targetVmName", type: { name: "String" } }, - osDetails: { - serializedName: "osDetails", + targetVmSize: { + serializedName: "targetVmSize", type: { - name: "Composite", - className: "OSDetails" + name: "String" } }, - diskDetails: { - serializedName: "diskDetails", + targetLocation: { + readOnly: true, + serializedName: "targetLocation", + type: { + name: "String" + } + }, + targetResourceGroupId: { + serializedName: "targetResourceGroupId", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + protectedDisks: { + serializedName: "protectedDisks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskDetails" + className: "VMwareCbtProtectedDiskDetails" } } } }, - hasPhysicalDisk: { - serializedName: "hasPhysicalDisk", + targetNetworkId: { + serializedName: "targetNetworkId", type: { name: "String" } }, - hasFibreChannelAdapter: { - serializedName: "hasFibreChannelAdapter", + vmNics: { + serializedName: "vmNics", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtNicDetails" + } + } } }, - hasSharedVhd: { - serializedName: "hasSharedVhd", + migrationRecoveryPointId: { + readOnly: true, + serializedName: "migrationRecoveryPointId", type: { name: "String" } + }, + lastRecoveryPointReceived: { + readOnly: true, + serializedName: "lastRecoveryPointReceived", + type: { + name: "DateTime" + } } } } }; -export const VmNicUpdatesTaskDetails: msRest.CompositeMapper = { - serializedName: "VmNicUpdatesTaskDetails", +export const VMwareCbtNicInput: msRest.CompositeMapper = { + serializedName: "VMwareCbtNicInput", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "VmNicUpdatesTaskDetails", + className: "VMwareCbtNicInput", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - vmId: { - serializedName: "vmId", + nicId: { + required: true, + serializedName: "nicId", type: { name: "String" } }, - nicId: { - serializedName: "nicId", + isPrimaryNic: { + required: true, + serializedName: "isPrimaryNic", type: { name: "String" } }, - name: { - serializedName: "name", + targetSubnetName: { + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + targetStaticIPAddress: { + serializedName: "targetStaticIPAddress", + type: { + name: "String" + } + }, + isSelectedForMigration: { + serializedName: "isSelectedForMigration", type: { name: "String" } @@ -11382,8 +17169,8 @@ export const VMwareCbtPolicyCreationInput: msRest.CompositeMapper = { className: "VMwareCbtPolicyCreationInput", modelProperties: { ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { name: "Number" } @@ -11413,14 +17200,8 @@ export const VmwareCbtPolicyDetails: msRest.CompositeMapper = { className: "VmwareCbtPolicyDetails", modelProperties: { ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { name: "Number" } @@ -11441,6 +17222,155 @@ export const VmwareCbtPolicyDetails: msRest.CompositeMapper = { } }; +export const VMwareCbtProtectionContainerMappingDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionContainerMappingProviderSpecificDetails", + className: "VMwareCbtProtectionContainerMappingDetails", + modelProperties: { + ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, + keyVaultId: { + readOnly: true, + serializedName: "keyVaultId", + type: { + name: "String" + } + }, + keyVaultUri: { + readOnly: true, + serializedName: "keyVaultUri", + type: { + name: "String" + } + }, + storageAccountId: { + readOnly: true, + serializedName: "storageAccountId", + type: { + name: "String" + } + }, + storageAccountSasSecretName: { + readOnly: true, + serializedName: "storageAccountSasSecretName", + type: { + name: "String" + } + }, + serviceBusConnectionStringSecretName: { + readOnly: true, + serializedName: "serviceBusConnectionStringSecretName", + type: { + name: "String" + } + }, + targetLocation: { + readOnly: true, + serializedName: "targetLocation", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtTestMigrateInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: TestMigrateProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestMigrateProviderSpecificInput", + className: "VMwareCbtTestMigrateInput", + modelProperties: { + ...TestMigrateProviderSpecificInput.type.modelProperties, + recoveryPointId: { + required: true, + serializedName: "recoveryPointId", + type: { + name: "String" + } + }, + networkId: { + required: true, + serializedName: "networkId", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtUpdateMigrationItemInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: UpdateMigrationItemProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UpdateMigrationItemProviderSpecificInput", + className: "VMwareCbtUpdateMigrationItemInput", + modelProperties: { + ...UpdateMigrationItemProviderSpecificInput.type.modelProperties, + targetVmName: { + serializedName: "targetVmName", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + targetResourceGroupId: { + serializedName: "targetResourceGroupId", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + targetNetworkId: { + serializedName: "targetNetworkId", + type: { + name: "String" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtNicInput" + } + } + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + } + } + } +}; + export const VMwareDetails: msRest.CompositeMapper = { serializedName: "VMware", type: { @@ -11674,14 +17604,16 @@ export const VMwareV2FabricCreationInput: msRest.CompositeMapper = { className: "VMwareV2FabricCreationInput", modelProperties: { ...FabricSpecificCreationInput.type.modelProperties, - keyVaultUrl: { - serializedName: "keyVaultUrl", + vmwareSiteId: { + required: true, + serializedName: "vmwareSiteId", type: { name: "String" } }, - keyVaultResourceArmId: { - serializedName: "keyVaultResourceArmId", + migrationSolutionId: { + required: true, + serializedName: "migrationSolutionId", type: { name: "String" } @@ -11699,26 +17631,30 @@ export const VMwareV2FabricSpecificDetails: msRest.CompositeMapper = { className: "VMwareV2FabricSpecificDetails", modelProperties: { ...FabricSpecificDetails.type.modelProperties, - srsServiceEndpoint: { - serializedName: "srsServiceEndpoint", + vmwareSiteId: { + readOnly: true, + serializedName: "vmwareSiteId", type: { name: "String" } }, - rcmServiceEndpoint: { - serializedName: "rcmServiceEndpoint", + migrationSolutionId: { + readOnly: true, + serializedName: "migrationSolutionId", type: { name: "String" } }, - keyVaultUrl: { - serializedName: "keyVaultUrl", + serviceEndpoint: { + readOnly: true, + serializedName: "serviceEndpoint", type: { name: "String" } }, - keyVaultResourceArmId: { - serializedName: "keyVaultResourceArmId", + serviceResourceId: { + readOnly: true, + serializedName: "serviceResourceId", type: { name: "String" } @@ -12036,6 +17972,62 @@ export const ProtectionContainerCollection: msRest.CompositeMapper = { } }; +export const MigrationItemCollection: msRest.CompositeMapper = { + serializedName: "MigrationItemCollection", + type: { + name: "Composite", + className: "MigrationItemCollection", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MigrationItem" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const MigrationRecoveryPointCollection: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPointCollection", + type: { + name: "Composite", + className: "MigrationRecoveryPointCollection", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MigrationRecoveryPoint" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ProtectableItemCollection: msRest.CompositeMapper = { serializedName: "ProtectableItemCollection", type: { @@ -12176,6 +18168,34 @@ export const ProtectionContainerMappingCollection: msRest.CompositeMapper = { } }; +export const ReplicationProtectionIntentCollection: msRest.CompositeMapper = { + serializedName: "ReplicationProtectionIntentCollection", + type: { + name: "Composite", + className: "ReplicationProtectionIntentCollection", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationProtectionIntent" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const RecoveryServicesProviderCollection: msRest.CompositeMapper = { serializedName: "RecoveryServicesProviderCollection", type: { @@ -12372,10 +18392,46 @@ export const RecoveryPlanCollection: msRest.CompositeMapper = { } }; +export const VaultSettingCollection: msRest.CompositeMapper = { + serializedName: "VaultSettingCollection", + type: { + name: "Composite", + className: "VaultSettingCollection", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VaultSetting" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const discriminators = { + 'AddDisksProviderSpecificInput.A2A' : A2AAddDisksInput, 'ApplyRecoveryPointProviderSpecificInput.A2A' : A2AApplyRecoveryPointInput, 'ReplicationProviderSpecificContainerCreationInput.A2A' : A2AContainerCreationInput, 'ReplicationProviderSpecificContainerMappingInput.A2A' : A2AContainerMappingInput, + 'ProtectionProfileCustomDetails' : ProtectionProfileCustomDetails, + 'StorageAccountCustomDetails' : StorageAccountCustomDetails, + 'RecoveryAvailabilitySetCustomDetails' : RecoveryAvailabilitySetCustomDetails, + 'RecoveryVirtualNetworkCustomDetails' : RecoveryVirtualNetworkCustomDetails, + 'RecoveryProximityPlacementGroupCustomDetails' : RecoveryProximityPlacementGroupCustomDetails, + 'RecoveryResourceGroupCustomDetails' : RecoveryResourceGroupCustomDetails, + 'CreateProtectionIntentProviderSpecificDetails.A2A' : A2ACreateProtectionIntentInput, 'EnableProtectionProviderSpecificInput.A2A' : A2AEnableProtectionInput, 'EventProviderSpecificDetails.A2A' : A2AEventDetails, 'ProviderSpecificFailoverInput.A2A' : A2AFailoverProviderInput, @@ -12383,11 +18439,16 @@ export const discriminators = { 'PolicyProviderSpecificDetails.A2A' : A2APolicyDetails, 'ProtectionContainerMappingProviderSpecificDetails.A2A' : A2AProtectionContainerMappingDetails, 'ProviderSpecificRecoveryPointDetails.A2A' : A2ARecoveryPointDetails, + 'RemoveDisksProviderSpecificInput.A2A' : A2ARemoveDisksInput, 'ReplicationProviderSpecificSettings.A2A' : A2AReplicationDetails, + 'ReplicationProtectionIntentProviderSpecificSettings.A2A' : A2AReplicationIntentDetails, 'ReverseReplicationProviderSpecificInput.A2A' : A2AReprotectInput, 'SwitchProtectionProviderSpecificInput.A2A' : A2ASwitchProtectionInput, + 'TestFailoverProviderSpecificInput.A2A' : A2ATestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.A2A' : A2AUnplannedFailoverInput, 'ReplicationProviderSpecificUpdateContainerMappingInput.A2A' : A2AUpdateContainerMappingInput, 'UpdateReplicationProtectedItemProviderInput.A2A' : A2AUpdateReplicationProtectedItemInput, + 'AddDisksProviderSpecificInput' : AddDisksProviderSpecificInput, 'ApplyRecoveryPointProviderSpecificInput' : ApplyRecoveryPointProviderSpecificInput, 'JobDetails.AsrJobDetails' : AsrJobDetails, 'TaskTypeDetails' : TaskTypeDetails, @@ -12404,11 +18465,20 @@ export const discriminators = { 'PolicyProviderSpecificInput' : PolicyProviderSpecificInput, 'ReplicationProviderSpecificContainerCreationInput' : ReplicationProviderSpecificContainerCreationInput, 'ReplicationProviderSpecificContainerMappingInput' : ReplicationProviderSpecificContainerMappingInput, + 'CreateProtectionIntentProviderSpecificDetails' : CreateProtectionIntentProviderSpecificDetails, 'RecoveryPlanActionDetails' : RecoveryPlanActionDetails, + 'RecoveryPlanProviderSpecificInput' : RecoveryPlanProviderSpecificInput, 'DisableProtectionProviderSpecificInput' : DisableProtectionProviderSpecificInput, + 'EnableMigrationProviderSpecificInput' : EnableMigrationProviderSpecificInput, 'EnableProtectionProviderSpecificInput' : EnableProtectionProviderSpecificInput, 'EventProviderSpecificDetails' : EventProviderSpecificDetails, 'EventSpecificDetails' : EventSpecificDetails, + 'ProtectionProfileCustomDetails.Existing' : ExistingProtectionProfile, + 'RecoveryAvailabilitySetCustomDetails.Existing' : ExistingRecoveryAvailabilitySet, + 'RecoveryProximityPlacementGroupCustomDetails.Existing' : ExistingRecoveryProximityPlacementGroup, + 'RecoveryResourceGroupCustomDetails.Existing' : ExistingRecoveryRecoveryResourceGroup, + 'RecoveryVirtualNetworkCustomDetails.Existing' : ExistingRecoveryVirtualNetwork, + 'StorageAccountCustomDetails.Existing' : ExistingStorageAccount, 'JobDetails.ExportJobDetails' : ExportJobDetails, 'FabricSpecificDetails' : FabricSpecificDetails, 'FabricSpecificCreationInput' : FabricSpecificCreationInput, @@ -12426,6 +18496,8 @@ export const discriminators = { 'PolicyProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzurePolicyInput, 'ReplicationProviderSpecificSettings.HyperVReplicaAzure' : HyperVReplicaAzureReplicationDetails, 'ReverseReplicationProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureReprotectInput, + 'TestFailoverProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureTestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureUnplannedFailoverInput, 'UpdateReplicationProtectedItemProviderInput.HyperVReplicaAzure' : HyperVReplicaAzureUpdateReplicationProtectedItemInput, 'EventProviderSpecificDetails.HyperVReplicaBaseEventDetails' : HyperVReplicaBaseEventDetails, 'PolicyProviderSpecificDetails.HyperVReplicaBasePolicyDetails' : HyperVReplicaBasePolicyDetails, @@ -12448,6 +18520,8 @@ export const discriminators = { 'ProviderSpecificRecoveryPointDetails.InMageAzureV2' : InMageAzureV2RecoveryPointDetails, 'ReplicationProviderSpecificSettings.InMageAzureV2' : InMageAzureV2ReplicationDetails, 'ReverseReplicationProviderSpecificInput.InMageAzureV2' : InMageAzureV2ReprotectInput, + 'TestFailoverProviderSpecificInput.InMageAzureV2' : InMageAzureV2TestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.InMageAzureV2' : InMageAzureV2UnplannedFailoverInput, 'UpdateReplicationProtectedItemProviderInput.InMageAzureV2' : InMageAzureV2UpdateReplicationProtectedItemInput, 'PolicyProviderSpecificDetails.InMageBasePolicyDetails' : InMageBasePolicyDetails, 'DisableProtectionProviderSpecificInput.InMage' : InMageDisableProtectionProviderSpecificInput, @@ -12455,38 +18529,66 @@ export const discriminators = { 'ProviderSpecificFailoverInput.InMage' : InMageFailoverProviderInput, 'PolicyProviderSpecificDetails.InMage' : InMagePolicyDetails, 'PolicyProviderSpecificInput.InMage' : InMagePolicyInput, + 'ApplyRecoveryPointProviderSpecificInput.InMageRcm' : InMageRcmApplyRecoveryPointInput, + 'EnableProtectionProviderSpecificInput.InMageRcm' : InMageRcmEnableProtectionInput, + 'EventProviderSpecificDetails.InMageRcm' : InMageRcmEventDetails, + 'FabricSpecificCreationInput.InMageRcm' : InMageRcmFabricCreationInput, + 'FabricSpecificDetails.InMageRcm' : InMageRcmFabricSpecificDetails, + 'PolicyProviderSpecificInput.InMageRcm' : InMageRcmPolicyCreationInput, + 'PolicyProviderSpecificDetails.InMageRcm' : InMageRcmPolicyDetails, + 'ProviderSpecificRecoveryPointDetails.InMageRcm' : InMageRcmRecoveryPointDetails, + 'ReplicationProviderSpecificSettings.InMageRcm' : InMageRcmReplicationDetails, + 'TestFailoverProviderSpecificInput.InMageRcm' : InMageRcmTestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.InMageRcm' : InMageRcmUnplannedFailoverInput, + 'UpdateReplicationProtectedItemProviderInput.InMageRcm' : InMageRcmUpdateReplicationProtectedItemInput, 'ReplicationProviderSpecificSettings.InMage' : InMageReplicationDetails, 'ReverseReplicationProviderSpecificInput.InMage' : InMageReprotectInput, + 'TestFailoverProviderSpecificInput.InMage' : InMageTestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.InMage' : InMageUnplannedFailoverInput, 'JobDetails' : JobDetails, 'EventSpecificDetails.JobStatus' : JobStatusEventDetails, 'TaskTypeDetails.JobTaskDetails' : JobTaskDetails, 'TaskTypeDetails.ManualActionTaskDetails' : ManualActionTaskDetails, + 'MigrateProviderSpecificInput' : MigrateProviderSpecificInput, + 'MigrationProviderSpecificSettings' : MigrationProviderSpecificSettings, 'NetworkMappingFabricSpecificSettings' : NetworkMappingFabricSpecificSettings, + 'ProtectionProfileCustomDetails.New' : NewProtectionProfile, + 'RecoveryVirtualNetworkCustomDetails.New' : NewRecoveryVirtualNetwork, 'ProviderSpecificFailoverInput' : ProviderSpecificFailoverInput, 'PolicyProviderSpecificDetails' : PolicyProviderSpecificDetails, 'ProtectionContainerMappingProviderSpecificDetails' : ProtectionContainerMappingProviderSpecificDetails, 'ProviderSpecificRecoveryPointDetails' : ProviderSpecificRecoveryPointDetails, 'PolicyProviderSpecificDetails.RcmAzureMigration' : RcmAzureMigrationPolicyDetails, + 'RecoveryPlanProviderSpecificDetails' : RecoveryPlanProviderSpecificDetails, 'RecoveryPlanProviderSpecificFailoverInput.A2A' : RecoveryPlanA2AFailoverInput, + 'RecoveryPlanProviderSpecificDetails.A2A' : RecoveryPlanA2ADetails, + 'RecoveryPlanProviderSpecificInput.A2A' : RecoveryPlanA2AInput, 'RecoveryPlanActionDetails.AutomationRunbookActionDetails' : RecoveryPlanAutomationRunbookActionDetails, 'GroupTaskDetails.RecoveryPlanGroupTaskDetails' : RecoveryPlanGroupTaskDetails, 'RecoveryPlanProviderSpecificFailoverInput.HyperVReplicaAzureFailback' : RecoveryPlanHyperVReplicaAzureFailbackInput, 'RecoveryPlanProviderSpecificFailoverInput.HyperVReplicaAzure' : RecoveryPlanHyperVReplicaAzureFailoverInput, 'RecoveryPlanProviderSpecificFailoverInput.InMageAzureV2' : RecoveryPlanInMageAzureV2FailoverInput, 'RecoveryPlanProviderSpecificFailoverInput.InMage' : RecoveryPlanInMageFailoverInput, + 'RecoveryPlanProviderSpecificFailoverInput.InMageRcm' : RecoveryPlanInMageRcmFailoverInput, 'RecoveryPlanActionDetails.ManualActionDetails' : RecoveryPlanManualActionDetails, 'RecoveryPlanProviderSpecificFailoverInput' : RecoveryPlanProviderSpecificFailoverInput, 'RecoveryPlanActionDetails.ScriptActionDetails' : RecoveryPlanScriptActionDetails, 'GroupTaskDetails.RecoveryPlanShutdownGroupTaskDetails' : RecoveryPlanShutdownGroupTaskDetails, + 'RemoveDisksProviderSpecificInput' : RemoveDisksProviderSpecificInput, 'ConfigurationSettings.ReplicationGroupDetails' : ReplicationGroupDetails, 'ReplicationProviderSpecificSettings' : ReplicationProviderSpecificSettings, + 'ReplicationProtectionIntentProviderSpecificSettings' : ReplicationProtectionIntentProviderSpecificSettings, 'ReplicationProviderSpecificUpdateContainerMappingInput' : ReplicationProviderSpecificUpdateContainerMappingInput, 'ReverseReplicationProviderSpecificInput' : ReverseReplicationProviderSpecificInput, 'EnableProtectionProviderSpecificInput.San' : SanEnableProtectionInput, 'TaskTypeDetails.ScriptActionTaskDetails' : ScriptActionTaskDetails, 'SwitchProtectionProviderSpecificInput' : SwitchProtectionProviderSpecificInput, 'JobDetails.SwitchProtectionJobDetails' : SwitchProtectionJobDetails, + 'TestFailoverProviderSpecificInput' : TestFailoverProviderSpecificInput, 'JobDetails.TestFailoverJobDetails' : TestFailoverJobDetails, + 'TestMigrateProviderSpecificInput' : TestMigrateProviderSpecificInput, + 'UnplannedFailoverProviderSpecificInput' : UnplannedFailoverProviderSpecificInput, + 'UpdateMigrationItemProviderSpecificInput' : UpdateMigrationItemProviderSpecificInput, 'UpdateReplicationProtectedItemProviderInput' : UpdateReplicationProtectedItemProviderInput, 'TaskTypeDetails.VirtualMachineTaskDetails' : VirtualMachineTaskDetails, 'FabricSpecificDetails.VMM' : VmmDetails, @@ -12498,10 +18600,19 @@ export const discriminators = { 'FabricSpecificUpdateNetworkMappingInput.VmmToVmm' : VmmToVmmUpdateNetworkMappingInput, 'ConfigurationSettings.VmmVirtualMachine' : VmmVirtualMachineDetails, 'TaskTypeDetails.VmNicUpdatesTaskDetails' : VmNicUpdatesTaskDetails, + 'ReplicationProviderSpecificContainerCreationInput.6c7da455-506f-43ff-a16a-8eb101aebb70' : VMwareCbtContainerCreationInput, + 'ReplicationProviderSpecificContainerMappingInput.VMwareCbt' : VMwareCbtContainerMappingInput, + 'EnableMigrationProviderSpecificInput.VMwareCbt' : VMwareCbtEnableMigrationInput, + 'MigrateProviderSpecificInput.VMwareCbt' : VMwareCbtMigrateInput, + 'MigrationProviderSpecificSettings.VMwareCbt' : VMwareCbtMigrationDetails, 'PolicyProviderSpecificInput.VMwareCbt' : VMwareCbtPolicyCreationInput, 'PolicyProviderSpecificDetails.VMwareCbt' : VmwareCbtPolicyDetails, + 'ProtectionContainerMappingProviderSpecificDetails.VMwareCbt' : VMwareCbtProtectionContainerMappingDetails, + 'TestMigrateProviderSpecificInput.VMwareCbt' : VMwareCbtTestMigrateInput, + 'UpdateMigrationItemProviderSpecificInput.VMwareCbt' : VMwareCbtUpdateMigrationItemInput, 'FabricSpecificDetails.VMware' : VMwareDetails, 'FabricSpecificCreationInput.VMwareV2' : VMwareV2FabricCreationInput, 'FabricSpecificDetails.VMwareV2' : VMwareV2FabricSpecificDetails, 'ConfigurationSettings.VMwareVirtualMachine' : VMwareVirtualMachineDetails + }; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/migrationRecoveryPointsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/migrationRecoveryPointsMappers.ts new file mode 100644 index 000000000000..7c53d7a9c2bb --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/migrationRecoveryPointsMappers.ts @@ -0,0 +1,214 @@ +/* + * 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, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, + InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointCollection, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkMapping, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationAgentDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, + ScriptActionTaskDetails, + ServiceError, + StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverJobDetails, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingProperties, + VCenter, + VCenterProperties, + VersionDetails, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + VMNicDetails, + VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, + VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareDetails, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails +} from "../models/mappers"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/operationsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/operationsMappers.ts index c542566c0253..c87b0d47feba 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/operationsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/operationsMappers.ts @@ -1,18 +1,15 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - OperationsDiscoveryCollection, - OperationsDiscovery, + CloudError, Display, - CloudError + OperationsDiscovery, + OperationsDiscoveryCollection } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/parameters.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/parameters.ts index a7bf383ee3f7..5b0a52740fb4 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/parameters.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -40,6 +39,18 @@ export const apiVersion: msRest.OperationQueryParameter = { } } }; +export const deleteOption: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "deleteOption" + ], + mapper: { + serializedName: "deleteOption", + type: { + name: "String" + } + } +}; export const eventName: msRest.OperationURLParameter = { parameterPath: "eventName", mapper: { @@ -72,6 +83,16 @@ export const filter: msRest.OperationQueryParameter = { } } }; +export const intentObjectName: msRest.OperationURLParameter = { + parameterPath: "intentObjectName", + mapper: { + required: true, + serializedName: "intentObjectName", + type: { + name: "String" + } + } +}; export const jobName: msRest.OperationURLParameter = { parameterPath: "jobName", mapper: { @@ -102,6 +123,26 @@ export const mappingName: msRest.OperationURLParameter = { } } }; +export const migrationItemName: msRest.OperationURLParameter = { + parameterPath: "migrationItemName", + mapper: { + required: true, + serializedName: "migrationItemName", + type: { + name: "String" + } + } +}; +export const migrationRecoveryPointName: msRest.OperationURLParameter = { + parameterPath: "migrationRecoveryPointName", + mapper: { + required: true, + serializedName: "migrationRecoveryPointName", + type: { + name: "String" + } + } +}; export const networkMappingName: msRest.OperationURLParameter = { parameterPath: "networkMappingName", mapper: { @@ -275,6 +316,16 @@ export const subscriptionId: msRest.OperationURLParameter = { } } }; +export const vaultSettingName: msRest.OperationURLParameter = { + parameterPath: "vaultSettingName", + mapper: { + required: true, + serializedName: "vaultSettingName", + type: { + name: "String" + } + } +}; export const vCenterName: msRest.OperationURLParameter = { parameterPath: "vCenterName", mapper: { @@ -285,3 +336,13 @@ export const vCenterName: msRest.OperationURLParameter = { } } }; +export const virtualMachineName: msRest.OperationURLParameter = { + parameterPath: "virtualMachineName", + mapper: { + required: true, + serializedName: "virtualMachineName", + type: { + name: "String" + } + } +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts index e30a369bf270..ddc38d204dd2 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts @@ -1,169 +1,214 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - RecoveryPointCollection, - RecoveryPoint, - Resource, - BaseResource, - RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointCollection, + RecoveryPointProperties, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts index 9dce3b118fae..9eb8b56c23f2 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts @@ -1,171 +1,216 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - AlertCollection, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, - Resource, - BaseResource, + AlertCollection, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, CloudError, + ConfigurationSettings, ConfigureAlertRequest, ConfigureAlertRequestProperties, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEligibilityResultsOperationsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEligibilityResultsOperationsMappers.ts new file mode 100644 index 000000000000..e6509e1371ed --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEligibilityResultsOperationsMappers.ts @@ -0,0 +1,16 @@ +/* + * 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, + ReplicationEligibilityResults, + ReplicationEligibilityResultsCollection, + ReplicationEligibilityResultsErrorInfo, + ReplicationEligibilityResultsProperties +} from "../models/mappers"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts index 968fb31ae230..f2fa1cc233b7 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts @@ -1,169 +1,214 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - EventCollection, - Event, - Resource, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, + Event, + EventCollection, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, - CloudError, - A2AEventDetails, - Alert, - AlertProperties, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts index eda4dd1cd69e..57ac0ab38e29 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts @@ -1,178 +1,225 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - FabricCollection, - Fabric, - Resource, - BaseResource, - FabricProperties, - EncryptionDetails, - FabricSpecificDetails, - HealthError, - InnerHealthError, - CloudError, - FabricCreationInput, - FabricCreationInputProperties, - FabricSpecificCreationInput, - FailoverProcessServerRequest, - FailoverProcessServerRequestProperties, - RenewCertificateInput, - RenewCertificateInputProperties, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, AzureFabricCreationInput, AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, + Fabric, + FabricCollection, + FabricCreationInput, + FabricCreationInputProperties, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificCreationInput, + FabricSpecificDetails, + FailoverJobDetails, + FailoverProcessServerRequest, + FailoverProcessServerRequestProperties, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + IdentityProviderInput, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricCreationInput, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RenewCertificateInput, + RenewCertificateInputProperties, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricCreationInput, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts index 4c9ce01a06ba..3e49bd2d7ac3 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts @@ -1,172 +1,217 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - JobCollection, - Job, - Resource, - BaseResource, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, - JobDetails, - CloudError, - ResumeJobParams, - ResumeJobParamsProperties, - JobQueryParameter, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, AsrJobDetails, + ASRTask, AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, ConsistencyCheckTaskDetails, - InconsistentVmDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, - FabricSpecificDetails, FabricReplicationGroupTaskDetails, - JobEntity, + FabricSpecificDetails, FailoverJobDetails, FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobCollection, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobQueryParameter, JobStatusEventDetails, JobTaskDetails, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + ResumeJobParams, + ResumeJobParamsProperties, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts index 6a85fc7ad5b1..713958d417aa 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts @@ -1,169 +1,214 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - LogicalNetworkCollection, - LogicalNetwork, - Resource, - BaseResource, - LogicalNetworkProperties, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkCollection, + LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationMigrationItemsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationMigrationItemsMappers.ts new file mode 100644 index 000000000000..67be2b9786ae --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationMigrationItemsMappers.ts @@ -0,0 +1,234 @@ +/* + * 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, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EnableMigrationInput, + EnableMigrationInputProperties, + EnableMigrationProviderSpecificInput, + EncryptionDetails, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, + InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MasterTargetServer, + MigrateInput, + MigrateInputProperties, + MigrateProviderSpecificInput, + MigrationItem, + MigrationItemCollection, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkMapping, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationAgentDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, + ScriptActionTaskDetails, + ServiceError, + StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverJobDetails, + TestMigrateCleanupInput, + TestMigrateCleanupInputProperties, + TestMigrateInput, + TestMigrateInputProperties, + TestMigrateProviderSpecificInput, + UpdateMigrationItemInput, + UpdateMigrationItemInputProperties, + UpdateMigrationItemProviderSpecificInput, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingProperties, + VCenter, + VCenterProperties, + VersionDetails, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + VMNicDetails, + VmNicUpdatesTaskDetails, + VMwareCbtDiskInput, + VMwareCbtEnableMigrationInput, + VMwareCbtMigrateInput, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, + VMwareCbtNicInput, + VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareCbtTestMigrateInput, + VMwareCbtUpdateMigrationItemInput, + VMwareDetails, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails +} from "../models/mappers"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts index 11655d1ad2bc..2c09e9769870 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts @@ -1,117 +1,209 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - NetworkMappingCollection, - NetworkMapping, - Resource, - BaseResource, - NetworkMappingProperties, - NetworkMappingFabricSpecificSettings, - CloudError, - CreateNetworkMappingInput, - CreateNetworkMappingInputProperties, - FabricSpecificCreateNetworkMappingInput, - UpdateNetworkMappingInput, - UpdateNetworkMappingInputProperties, - FabricSpecificUpdateNetworkMappingInput, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, AzureToAzureCreateNetworkMappingInput, AzureToAzureNetworkMappingSettings, AzureToAzureUpdateNetworkMappingInput, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CreateNetworkMappingInput, + CreateNetworkMappingInputProperties, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, + FabricSpecificCreateNetworkMappingInput, FabricSpecificDetails, + FabricSpecificUpdateNetworkMappingInput, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, + NetworkMapping, + NetworkMappingCollection, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, NetworkProperties, - Subnet, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + UpdateNetworkMappingInput, + UpdateNetworkMappingInputProperties, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureCreateNetworkMappingInput, @@ -121,61 +213,14 @@ export { VmmToVmmNetworkMappingSettings, VmmToVmmUpdateNetworkMappingInput, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts index 07da42c72cfb..78d6c2d543fa 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts @@ -1,169 +1,214 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - NetworkCollection, - Network, - Resource, - BaseResource, - NetworkProperties, - Subnet, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkCollection, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts index a524c39491c2..e9f12c41e1c6 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts @@ -1,181 +1,227 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - PolicyCollection, - Policy, - Resource, - BaseResource, - PolicyProperties, - PolicyProviderSpecificDetails, - CloudError, - CreatePolicyInput, - CreatePolicyInputProperties, - PolicyProviderSpecificInput, - UpdatePolicyInput, - UpdatePolicyInputProperties, + A2AEventDetails, A2APolicyCreationInput, A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CreatePolicyInput, + CreatePolicyInputProperties, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzurePolicyInput, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBluePolicyInput, + HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaPolicyInput, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, InMageAzureV2PolicyDetails, InMageAzureV2PolicyInput, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, InMageBasePolicyDetails, + InMageDiskDetails, InMagePolicyDetails, InMagePolicyInput, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyCreationInput, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyCollection, + PolicyProperties, + PolicyProviderSpecificDetails, + PolicyProviderSpecificInput, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + UpdatePolicyInput, + UpdatePolicyInputProperties, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VMwareCbtPolicyCreationInput, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts index b12ec224ec54..0be28b2aaa5b 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts @@ -1,169 +1,214 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - ProtectableItemCollection, - ProtectableItem, - Resource, - BaseResource, - ProtectableItemProperties, - ConfigurationSettings, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, HyperVVirtualMachineDetails, - OSDetails, - DiskDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemCollection, + ProtectableItemProperties, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts index 9fb7bd5bfa83..f109c010670e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts @@ -1,80 +1,86 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - ReplicationProtectedItemCollection, - ReplicationProtectedItem, - Resource, - BaseResource, - ReplicationProtectedItemProperties, - HealthError, - InnerHealthError, - CurrentScenarioDetails, - ReplicationProviderSpecificSettings, - CloudError, - EnableProtectionInput, - EnableProtectionInputProperties, - EnableProtectionProviderSpecificInput, - UpdateReplicationProtectedItemInput, - UpdateReplicationProtectedItemInputProperties, - VMNicInputDetails, - UpdateReplicationProtectedItemProviderInput, - ApplyRecoveryPointInput, - ApplyRecoveryPointInputProperties, - ApplyRecoveryPointProviderSpecificInput, - PlannedFailoverInput, - PlannedFailoverInputProperties, - ProviderSpecificFailoverInput, - DisableProtectionInput, - DisableProtectionInputProperties, - DisableProtectionProviderSpecificInput, - ReverseReplicationInput, - ReverseReplicationInputProperties, - ReverseReplicationProviderSpecificInput, - TestFailoverInput, - TestFailoverInputProperties, - TestFailoverCleanupInput, - TestFailoverCleanupInputProperties, - UnplannedFailoverInput, - UnplannedFailoverInputProperties, - UpdateMobilityServiceRequest, - UpdateMobilityServiceRequestProperties, + A2AAddDisksInput, A2AApplyRecoveryPointInput, A2AEnableProtectionInput, - A2AVmDiskInputDetails, - A2AVmManagedDiskInputDetails, - DiskEncryptionInfo, - DiskEncryptionKeyInfo, - KeyEncryptionKeyInfo, + A2AEventDetails, A2AFailoverProviderInput, - A2AReplicationDetails, + A2APolicyDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2ARemoveDisksInput, + A2AReplicationDetails, + A2AReplicationIntentDetails, A2AReprotectInput, + A2ATestFailoverInput, + A2AUnplannedFailoverInput, + A2AUnprotectedDiskDetails, A2AUpdateReplicationProtectedItemInput, + A2AVmDiskDetails, + A2AVmDiskInputDetails, + A2AVmManagedDiskDetails, + A2AVmManagedDiskInputDetails, A2AVmManagedDiskUpdateDetails, + AddDisksInput, + AddDisksInputProperties, + AddDisksProviderSpecificInput, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + ApplyRecoveryPointInput, + ApplyRecoveryPointInputProperties, + ApplyRecoveryPointProviderSpecificInput, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DisableProtectionInput, + DisableProtectionInputProperties, + DisableProtectionProviderSpecificInput, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EnableProtectionInput, + EnableProtectionInputProperties, + EnableProtectionProviderSpecificInput, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureApplyRecoveryPointInput, @@ -82,145 +88,211 @@ export { HyperVReplicaAzureEventDetails, HyperVReplicaAzureFailbackProviderInput, HyperVReplicaAzureFailoverProviderInput, + HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - OSDetails, HyperVReplicaAzureReprotectInput, + HyperVReplicaAzureTestFailoverInput, + HyperVReplicaAzureUnplannedFailoverInput, HyperVReplicaAzureUpdateReplicationProtectedItemInput, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, - DiskDetails, + HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2ApplyRecoveryPointInput, + InMageAzureV2DiskInputDetails, InMageAzureV2EnableProtectionInput, InMageAzureV2EventDetails, InMageAzureV2FailoverProviderInput, - InMageAzureV2ReplicationDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, InMageAzureV2ReprotectInput, + InMageAzureV2TestFailoverInput, + InMageAzureV2UnplannedFailoverInput, InMageAzureV2UpdateReplicationProtectedItemInput, + InMageBasePolicyDetails, InMageDisableProtectionProviderSpecificInput, - InMageEnableProtectionInput, + InMageDiskDetails, InMageDiskExclusionInput, - InMageVolumeExclusionOptions, InMageDiskSignatureExclusionOptions, + InMageEnableProtectionInput, InMageFailoverProviderInput, - InMageReplicationDetails, - OSDiskDetails, + InMagePolicyDetails, InMageProtectedDiskDetails, - InMageAgentDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmApplyRecoveryPointInput, + InMageRcmDiskInput, + InMageRcmDisksDefaultInput, + InMageRcmEnableProtectionInput, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmNicInput, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmTestFailoverInput, + InMageRcmUnplannedFailoverInput, + InMageRcmUpdateReplicationProtectedItemInput, + InMageReplicationDetails, InMageReprotectInput, + InMageTestFailoverInput, + InMageUnplannedFailoverInput, + InMageVolumeExclusionOptions, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + PlannedFailoverInput, + PlannedFailoverInputProperties, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificFailoverInput, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RemoveDisksInput, + RemoveDisksInputProperties, + RemoveDisksProviderSpecificInput, + ReplicationAgentDetails, ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemCollection, + ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + ResolveHealthError, + ResolveHealthInput, + ResolveHealthInputProperties, + Resource, + ResourceHealthSummary, + RetentionVolume, + ReverseReplicationInput, + ReverseReplicationInputProperties, + ReverseReplicationProviderSpecificInput, + RunAsAccount, SanEnableProtectionInput, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverCleanupInput, + TestFailoverCleanupInputProperties, + TestFailoverInput, + TestFailoverInputProperties, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + TestFailoverProviderSpecificInput, + UnplannedFailoverInput, + UnplannedFailoverInputProperties, + UnplannedFailoverProviderSpecificInput, + UpdateMobilityServiceRequest, + UpdateMobilityServiceRequestProperties, + UpdateReplicationProtectedItemInput, + UpdateReplicationProtectedItemInputProperties, + UpdateReplicationProtectedItemProviderInput, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, + VMNicDetails, + VMNicInputDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaPolicyDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageBasePolicyDetails, - InMagePolicyDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts index 0d6ad5eff961..430e048d6893 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts @@ -1,180 +1,226 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - ProtectionContainerMappingCollection, - ProtectionContainerMapping, - Resource, - BaseResource, - ProtectionContainerMappingProperties, - ProtectionContainerMappingProviderSpecificDetails, - HealthError, - InnerHealthError, - CloudError, - CreateProtectionContainerMappingInput, - CreateProtectionContainerMappingInputProperties, - ReplicationProviderSpecificContainerMappingInput, - UpdateProtectionContainerMappingInput, - UpdateProtectionContainerMappingInputProperties, - ReplicationProviderSpecificUpdateContainerMappingInput, - RemoveProtectionContainerMappingInput, - RemoveProtectionContainerMappingInputProperties, - ReplicationProviderContainerUnmappingInput, A2AContainerMappingInput, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, A2AUpdateContainerMappingInput, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CreateProtectionContainerMappingInput, + CreateProtectionContainerMappingInputProperties, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingCollection, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RemoveProtectionContainerMappingInput, + RemoveProtectionContainerMappingInputProperties, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderContainerUnmappingInput, + ReplicationProviderSpecificContainerMappingInput, ReplicationProviderSpecificSettings, + ReplicationProviderSpecificUpdateContainerMappingInput, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + UpdateProtectionContainerMappingInput, + UpdateProtectionContainerMappingInputProperties, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtContainerMappingInput, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts index dd8441a0c5f2..8bd72196d2de 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts @@ -1,184 +1,227 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - ProtectionContainerCollection, - ProtectionContainer, - Resource, + A2AContainerCreationInput, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2ASwitchProtectionInput, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmDiskInputDetails, + A2AVmManagedDiskDetails, + A2AVmManagedDiskInputDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, BaseResource, - ProtectionContainerProperties, - ProtectionContainerFabricSpecificDetails, CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, CreateProtectionContainerInput, CreateProtectionContainerInputProperties, - ReplicationProviderSpecificContainerCreationInput, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, DiscoverProtectableItemRequest, DiscoverProtectableItemRequestProperties, - SwitchProtectionInput, - SwitchProtectionInputProperties, - SwitchProtectionProviderSpecificInput, - A2AContainerCreationInput, - A2ASwitchProtectionInput, - A2AVmDiskInputDetails, - A2AVmManagedDiskInputDetails, + DiskDetails, DiskEncryptionInfo, DiskEncryptionKeyInfo, - KeyEncryptionKeyInfo, - Alert, - AlertProperties, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, + ProtectionContainer, + ProtectionContainerCollection, + ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderSpecificContainerCreationInput, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionInput, + SwitchProtectionInputProperties, SwitchProtectionJobDetails, + SwitchProtectionProviderSpecificInput, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtContainerCreationInput, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionIntentsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionIntentsMappers.ts new file mode 100644 index 000000000000..a7c1b2318b0a --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionIntentsMappers.ts @@ -0,0 +1,234 @@ +/* + * 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, + A2ACreateProtectionIntentInput, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CreateProtectionIntentInput, + CreateProtectionIntentProperties, + CreateProtectionIntentProviderSpecificDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, + InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkMapping, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentCollection, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, + ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, + StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverJobDetails, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingProperties, + VCenter, + VCenterProperties, + VersionDetails, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + VMNicDetails, + VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, + VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareDetails, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails +} from "../models/mappers"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts index 083318f00636..458717e0d8c8 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts @@ -1,187 +1,235 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - RecoveryPlanCollection, - RecoveryPlan, - Resource, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, BaseResource, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, - RecoveryPlanAction, - RecoveryPlanActionDetails, CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, CreateRecoveryPlanInput, CreateRecoveryPlanInputProperties, - UpdateRecoveryPlanInput, - UpdateRecoveryPlanInputProperties, - RecoveryPlanPlannedFailoverInput, - RecoveryPlanPlannedFailoverInputProperties, - RecoveryPlanProviderSpecificFailoverInput, - RecoveryPlanTestFailoverInput, - RecoveryPlanTestFailoverInputProperties, - RecoveryPlanTestFailoverCleanupInput, - RecoveryPlanTestFailoverCleanupInputProperties, - RecoveryPlanUnplannedFailoverInput, - RecoveryPlanUnplannedFailoverInputProperties, - Alert, - AlertProperties, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, RecoveryPlanA2AFailoverInput, + RecoveryPlanA2AInput, + RecoveryPlanAction, + RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanCollection, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanHyperVReplicaAzureFailbackInput, RecoveryPlanHyperVReplicaAzureFailoverInput, RecoveryPlanInMageAzureV2FailoverInput, RecoveryPlanInMageFailoverInput, + RecoveryPlanInMageRcmFailoverInput, RecoveryPlanManualActionDetails, + RecoveryPlanPlannedFailoverInput, + RecoveryPlanPlannedFailoverInputProperties, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanProviderSpecificFailoverInput, + RecoveryPlanProviderSpecificInput, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, + RecoveryPlanTestFailoverCleanupInput, + RecoveryPlanTestFailoverCleanupInputProperties, + RecoveryPlanTestFailoverInput, + RecoveryPlanTestFailoverInputProperties, + RecoveryPlanUnplannedFailoverInput, + RecoveryPlanUnplannedFailoverInputProperties, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + UpdateRecoveryPlanInput, + UpdateRecoveryPlanInputProperties, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts index 261676593e7f..263d9ff17482 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts @@ -1,169 +1,217 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - RecoveryServicesProviderCollection, - RecoveryServicesProvider, - Resource, - BaseResource, - RecoveryServicesProviderProperties, - HealthError, - InnerHealthError, - IdentityInformation, - VersionDetails, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AddRecoveryServicesProviderInput, + AddRecoveryServicesProviderInputProperties, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + IdentityProviderInput, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryServicesProvider, + RecoveryServicesProviderCollection, + RecoveryServicesProviderProperties, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts index d5b74ec1fea5..1018fe8e46d6 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts @@ -1,171 +1,216 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - StorageClassificationMappingCollection, - StorageClassificationMapping, - Resource, - BaseResource, - StorageClassificationMappingProperties, - CloudError, - StorageClassificationMappingInput, - StorageMappingInputProperties, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingCollection, + StorageClassificationMappingInput, + StorageClassificationMappingProperties, StorageClassificationProperties, + StorageMappingInputProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts index a9cacac31c2f..fdbf601418af 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts @@ -1,169 +1,214 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - StorageClassificationCollection, - StorageClassification, - Resource, - BaseResource, - StorageClassificationProperties, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageClassification, + StorageClassificationCollection, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts index 7885552c73a6..1eada501acbb 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts @@ -1,168 +1,213 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - VaultHealthDetails, - Resource, - BaseResource, - VaultHealthProperties, - HealthError, - InnerHealthError, - ResourceHealthSummary, - HealthErrorSummary, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultSettingMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultSettingMappers.ts new file mode 100644 index 000000000000..1c1cb59bc288 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultSettingMappers.ts @@ -0,0 +1,216 @@ +/* + * 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, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, + InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkMapping, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationAgentDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, + ScriptActionTaskDetails, + ServiceError, + StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverJobDetails, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingCollection, + VaultSettingCreationInput, + VaultSettingCreationInputProperties, + VaultSettingProperties, + VCenter, + VCenterProperties, + VersionDetails, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + VMNicDetails, + VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, + VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareDetails, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails +} from "../models/mappers"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts index c3861efe7369..d54627414e10 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts @@ -1,173 +1,218 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - VCenterCollection, - VCenter, - Resource, - BaseResource, - VCenterProperties, - HealthError, - InnerHealthError, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, AddVCenterRequest, AddVCenterRequestProperties, - UpdateVCenterRequest, - UpdateVCenterRequestProperties, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + UpdateVCenterRequest, + UpdateVCenterRequestProperties, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, + VCenter, + VCenterCollection, + VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/supportedOperatingSystemsOperationsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/supportedOperatingSystemsOperationsMappers.ts new file mode 100644 index 000000000000..1eada501acbb --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/supportedOperatingSystemsOperationsMappers.ts @@ -0,0 +1,213 @@ +/* + * 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, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AVmDiskDetails, + A2AVmManagedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, + InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkMapping, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationAgentDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, + ScriptActionTaskDetails, + ServiceError, + StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverJobDetails, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingProperties, + VCenter, + VCenterProperties, + VersionDetails, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + VMNicDetails, + VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, + VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareDetails, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails +} from "../models/mappers"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/targetComputeSizesMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/targetComputeSizesMappers.ts index 0b4374cffa7b..dd938b4a92ab 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/targetComputeSizesMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/targetComputeSizesMappers.ts @@ -1,19 +1,16 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - TargetComputeSizeCollection, - TargetComputeSize, - TargetComputeSizeProperties, + CloudError, ComputeSizeErrorDetails, - CloudError + TargetComputeSize, + TargetComputeSizeCollection, + TargetComputeSizeProperties } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/index.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/index.ts index 15dfbb40976d..3040edf48aaf 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/index.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -10,17 +9,21 @@ export * from "./operations"; export * from "./replicationAlertSettings"; +export * from "./replicationEligibilityResultsOperations"; export * from "./replicationEvents"; export * from "./replicationFabrics"; export * from "./replicationLogicalNetworks"; export * from "./replicationNetworks"; export * from "./replicationNetworkMappings"; export * from "./replicationProtectionContainers"; +export * from "./replicationMigrationItems"; +export * from "./migrationRecoveryPoints"; export * from "./replicationProtectableItems"; export * from "./replicationProtectedItems"; export * from "./recoveryPoints"; export * from "./targetComputeSizes"; export * from "./replicationProtectionContainerMappings"; +export * from "./replicationProtectionIntents"; export * from "./replicationRecoveryServicesProviders"; export * from "./replicationStorageClassifications"; export * from "./replicationStorageClassificationMappings"; @@ -28,4 +31,6 @@ export * from "./replicationvCenters"; export * from "./replicationJobs"; export * from "./replicationPolicies"; export * from "./replicationRecoveryPlans"; +export * from "./supportedOperatingSystemsOperations"; export * from "./replicationVaultHealth"; +export * from "./replicationVaultSetting"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/migrationRecoveryPoints.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/migrationRecoveryPoints.ts new file mode 100644 index 000000000000..50150a8a46be --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/migrationRecoveryPoints.ts @@ -0,0 +1,214 @@ +/* + * 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/migrationRecoveryPointsMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a MigrationRecoveryPoints. */ +export class MigrationRecoveryPoints { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a MigrationRecoveryPoints. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * @summary Gets the recovery points for a migration item. + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + listByReplicationMigrationItems(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param callback The callback + */ + listByReplicationMigrationItems(fabricName: string, protectionContainerName: string, migrationItemName: string, callback: msRest.ServiceCallback): void; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param options The optional parameters + * @param callback The callback + */ + listByReplicationMigrationItems(fabricName: string, protectionContainerName: string, migrationItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByReplicationMigrationItems(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + fabricName, + protectionContainerName, + migrationItemName, + options + }, + listByReplicationMigrationItemsOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets a recovery point for a migration item. + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrationRecoveryPointName The migration recovery point name. + * @param [options] The optional parameters + * @returns Promise + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, migrationRecoveryPointName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrationRecoveryPointName The migration recovery point name. + * @param callback The callback + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, migrationRecoveryPointName: string, callback: msRest.ServiceCallback): void; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrationRecoveryPointName The migration recovery point name. + * @param options The optional parameters + * @param callback The callback + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, migrationRecoveryPointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(fabricName: string, protectionContainerName: string, migrationItemName: string, migrationRecoveryPointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + fabricName, + protectionContainerName, + migrationItemName, + migrationRecoveryPointName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the recovery points for a migration item. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByReplicationMigrationItemsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByReplicationMigrationItemsNext(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 + */ + listByReplicationMigrationItemsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByReplicationMigrationItemsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByReplicationMigrationItemsNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByReplicationMigrationItemsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationRecoveryPointCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints/{migrationRecoveryPointName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName, + Parameters.migrationRecoveryPointName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationRecoveryPoint + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByReplicationMigrationItemsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationRecoveryPointCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/operations.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/operations.ts index 93e4f8979113..6883a23735df 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/operations.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -114,6 +113,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/recoveryPoints.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/recoveryPoints.ts index eebe79ec88d8..091099e419ff 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/recoveryPoints.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/recoveryPoints.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -200,6 +199,9 @@ const listByReplicationProtectedItemsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationAlertSettings.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationAlertSettings.ts index 695b196b8e90..dbb4d406197a 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationAlertSettings.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationAlertSettings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -236,6 +235,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationEligibilityResultsOperations.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationEligibilityResultsOperations.ts new file mode 100644 index 000000000000..06e7ac3137b7 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationEligibilityResultsOperations.ts @@ -0,0 +1,137 @@ +/* + * 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/replicationEligibilityResultsOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a ReplicationEligibilityResultsOperations. */ +export class ReplicationEligibilityResultsOperations { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a ReplicationEligibilityResultsOperations. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * Validates whether a given VM can be protected or not in which case returns list of errors. + * @summary Gets the validation errors in case the VM is unsuitable for protection. + * @param virtualMachineName Virtual Machine name. + * @param [options] The optional parameters + * @returns Promise + */ + list(virtualMachineName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param virtualMachineName Virtual Machine name. + * @param callback The callback + */ + list(virtualMachineName: string, callback: msRest.ServiceCallback): void; + /** + * @param virtualMachineName Virtual Machine name. + * @param options The optional parameters + * @param callback The callback + */ + list(virtualMachineName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(virtualMachineName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + virtualMachineName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Validates whether a given VM can be protected or not in which case returns list of errors. + * @summary Gets the validation errors in case the VM is unsuitable for protection. + * @param virtualMachineName Virtual Machine name. + * @param [options] The optional parameters + * @returns Promise + */ + get(virtualMachineName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param virtualMachineName Virtual Machine name. + * @param callback The callback + */ + get(virtualMachineName: string, callback: msRest.ServiceCallback): void; + /** + * @param virtualMachineName Virtual Machine name. + * @param options The optional parameters + * @param callback The callback + */ + get(virtualMachineName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(virtualMachineName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + virtualMachineName, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.virtualMachineName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ReplicationEligibilityResultsCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.virtualMachineName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ReplicationEligibilityResults + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationEvents.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationEvents.ts index 6cfc2a14ded8..aea717d35f5e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationEvents.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationEvents.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -87,7 +86,7 @@ export class ReplicationEvents { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ReplicationEventsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -98,8 +97,8 @@ export class ReplicationEvents { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ReplicationEventsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ReplicationEventsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -171,6 +170,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationFabrics.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationFabrics.ts index 63c772b877e9..aaa32b59f0b9 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationFabrics.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationFabrics.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -587,6 +586,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationJobs.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationJobs.ts index fb2ac84965b2..56e3ead51b70 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationJobs.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationJobs.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -84,7 +83,7 @@ export class ReplicationJobs { /** * The operation to cancel an Azure Site Recovery job. * @summary Cancels the specified job. - * @param jobName Job indentifier. + * @param jobName Job identifier. * @param [options] The optional parameters * @returns Promise */ @@ -133,7 +132,7 @@ export class ReplicationJobs { /** * The operation to cancel an Azure Site Recovery job. * @summary Cancels the specified job. - * @param jobName Job indentifier. + * @param jobName Job identifier. * @param [options] The optional parameters * @returns Promise */ @@ -207,7 +206,7 @@ export class ReplicationJobs { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ReplicationJobsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -218,8 +217,8 @@ export class ReplicationJobs { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ReplicationJobsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ReplicationJobsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -412,6 +411,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationLogicalNetworks.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationLogicalNetworks.ts index fa371cb47086..986c7d213760 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationLogicalNetworks.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationLogicalNetworks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -180,6 +179,9 @@ const listByReplicationFabricsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationMigrationItems.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationMigrationItems.ts new file mode 100644 index 000000000000..79dbd298b4c3 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationMigrationItems.ts @@ -0,0 +1,746 @@ +/* + * 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 msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/replicationMigrationItemsMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a ReplicationMigrationItems. */ +export class ReplicationMigrationItems { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a ReplicationMigrationItems. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * Gets the list of ASR migration items in the protection container. + * @summary Gets the list of migration items in the protection container. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param [options] The optional parameters + * @returns Promise + */ + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param callback The callback + */ + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, callback: msRest.ServiceCallback): void; + /** + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param options The optional parameters + * @param callback The callback + */ + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + fabricName, + protectionContainerName, + options + }, + listByReplicationProtectionContainersOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the details of a migration item. + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param callback The callback + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, callback: msRest.ServiceCallback): void; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param options The optional parameters + * @param callback The callback + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + fabricName, + protectionContainerName, + migrationItemName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * The operation to create an ASR migration item (enable migration). + * @summary Enables migration. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Enable migration input. + * @param [options] The optional parameters + * @returns Promise + */ + create(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.EnableMigrationInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(fabricName,protectionContainerName,migrationItemName,input,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to delete an ASR migration item. + * @summary Delete the migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: Models.ReplicationMigrationItemsDeleteMethodOptionalParams): Promise { + return this.beginDeleteMethod(fabricName,protectionContainerName,migrationItemName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The operation to update the recovery settings of an ASR migration item. + * @summary Updates migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Update migration item input. + * @param [options] The optional parameters + * @returns Promise + */ + update(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.UpdateMigrationItemInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(fabricName,protectionContainerName,migrationItemName,input,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to initiate migration of the item. + * @summary Migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrateInput Migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + migrate(fabricName: string, protectionContainerName: string, migrationItemName: string, migrateInput: Models.MigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrate(fabricName,protectionContainerName,migrationItemName,migrateInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to initiate test migration of the item. + * @summary Test migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateInput Test migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + testMigrate(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateInput: Models.TestMigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginTestMigrate(fabricName,protectionContainerName,migrationItemName,testMigrateInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to initiate test migrate cleanup. + * @summary Test migrate cleanup. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateCleanupInput Test migrate cleanup input. + * @param [options] The optional parameters + * @returns Promise + */ + testMigrateCleanup(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateCleanupInput: Models.TestMigrateCleanupInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginTestMigrateCleanup(fabricName,protectionContainerName,migrationItemName,testMigrateCleanupInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Gets the list of migration items in the vault. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: Models.ReplicationMigrationItemsListOptionalParams): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: Models.ReplicationMigrationItemsListOptionalParams, callback: msRest.ServiceCallback): void; + list(options?: Models.ReplicationMigrationItemsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * The operation to create an ASR migration item (enable migration). + * @summary Enables migration. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Enable migration input. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreate(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.EnableMigrationInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + input, + options + }, + beginCreateOperationSpec, + options); + } + + /** + * The operation to delete an ASR migration item. + * @summary Delete the migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: Models.ReplicationMigrationItemsBeginDeleteMethodOptionalParams): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * The operation to update the recovery settings of an ASR migration item. + * @summary Updates migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Update migration item input. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.UpdateMigrationItemInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + input, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * The operation to initiate migration of the item. + * @summary Migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrateInput Migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + beginMigrate(fabricName: string, protectionContainerName: string, migrationItemName: string, migrateInput: Models.MigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + migrateInput, + options + }, + beginMigrateOperationSpec, + options); + } + + /** + * The operation to initiate test migration of the item. + * @summary Test migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateInput Test migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + beginTestMigrate(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateInput: Models.TestMigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + testMigrateInput, + options + }, + beginTestMigrateOperationSpec, + options); + } + + /** + * The operation to initiate test migrate cleanup. + * @summary Test migrate cleanup. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateCleanupInput Test migrate cleanup input. + * @param [options] The optional parameters + * @returns Promise + */ + beginTestMigrateCleanup(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateCleanupInput: Models.TestMigrateCleanupInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + testMigrateCleanupInput, + options + }, + beginTestMigrateCleanupOperationSpec, + options); + } + + /** + * Gets the list of ASR migration items in the protection container. + * @summary Gets the list of migration items in the protection container. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByReplicationProtectionContainersNext(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 + */ + listByReplicationProtectionContainersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByReplicationProtectionContainersNextOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the list of migration items in the vault. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: Models.ReplicationMigrationItemsListNextOptionalParams): 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.ReplicationMigrationItemsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ReplicationMigrationItemsListNextOptionalParams | 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 listByReplicationProtectionContainersOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "input", + mapper: { + ...Mappers.EnableMigrationInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.deleteOption + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "input", + mapper: { + ...Mappers.UpdateMigrationItemInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginMigrateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrate", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "migrateInput", + mapper: { + ...Mappers.MigrateInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginTestMigrateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrate", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "testMigrateInput", + mapper: { + ...Mappers.TestMigrateInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginTestMigrateCleanupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrateCleanup", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "testMigrateCleanupInput", + mapper: { + ...Mappers.TestMigrateCleanupInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByReplicationProtectionContainersNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationNetworkMappings.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationNetworkMappings.ts index 68456734a9af..cd1fecb1a7f4 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationNetworkMappings.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationNetworkMappings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -480,6 +479,9 @@ const listByReplicationNetworksNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -501,6 +503,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationNetworks.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationNetworks.ts index fd550486e5f3..ce09c63c63d4 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationNetworks.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationNetworks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -259,6 +258,9 @@ const listByReplicationFabricsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -280,6 +282,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationPolicies.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationPolicies.ts index ad5a7e8193bf..6b3c545ceb77 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationPolicies.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -357,6 +356,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectableItems.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectableItems.ts index 4c2d2bc2768c..79c195e79f9e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectableItems.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectableItems.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -105,7 +104,7 @@ export class ReplicationProtectableItems { * @returns * Promise */ - listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByReplicationProtectionContainersNext(nextPageLink: string, options?: Models.ReplicationProtectableItemsListByReplicationProtectionContainersNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -116,8 +115,8 @@ export class ReplicationProtectableItems { * @param options The optional parameters * @param callback The callback */ - listByReplicationProtectionContainersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByReplicationProtectionContainersNext(nextPageLink: string, options: Models.ReplicationProtectableItemsListByReplicationProtectionContainersNextOptionalParams, callback: msRest.ServiceCallback): void; + listByReplicationProtectionContainersNext(nextPageLink: string, options?: Models.ReplicationProtectableItemsListByReplicationProtectionContainersNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -193,6 +192,10 @@ const listByReplicationProtectionContainersNextOperationSpec: msRest.OperationSp urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectedItems.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectedItems.ts index 8d142df82139..d056b2ff87cb 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectedItems.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectedItems.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -143,6 +142,21 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Operation to add disks(s) to the replication protected item. + * @summary Add disk(s) for protection. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param addDisksInput Add disks input. + * @param [options] The optional parameters + * @returns Promise + */ + addDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, addDisksInput: Models.AddDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginAddDisks(fabricName,protectionContainerName,replicatedProtectedItemName,addDisksInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * The operation to change the recovery point of a failed over replication protected item. * @summary Change or apply recovery point. @@ -203,6 +217,21 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()); } + /** + * Operation to remove disk(s) from the replication protected item. + * @summary Removes disk(s). + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param removeDisksInput Remove disks input. + * @param [options] The optional parameters + * @returns Promise + */ + removeDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, removeDisksInput: Models.RemoveDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginRemoveDisks(fabricName,protectionContainerName,replicatedProtectedItemName,removeDisksInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * The operation to start resynchronize/repair replication for a replication protected item * requiring resynchronization. @@ -233,6 +262,21 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Operation to resolve health issues of the replication protected item. + * @summary Resolve health errors. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param resolveHealthInput Health issue input object. + * @param [options] The optional parameters + * @returns Promise + */ + resolveHealthErrors(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, resolveHealthInput: Models.ResolveHealthInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginResolveHealthErrors(fabricName,protectionContainerName,replicatedProtectedItemName,resolveHealthInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Operation to perform a test failover of the replication protected item. * @summary Execute test failover @@ -390,6 +434,29 @@ export class ReplicationProtectedItems { options); } + /** + * Operation to add disks(s) to the replication protected item. + * @summary Add disk(s) for protection. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param addDisksInput Add disks input. + * @param [options] The optional parameters + * @returns Promise + */ + beginAddDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, addDisksInput: Models.AddDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + addDisksInput, + options + }, + beginAddDisksOperationSpec, + options); + } + /** * The operation to change the recovery point of a failed over replication protected item. * @summary Change or apply recovery point. @@ -481,6 +548,29 @@ export class ReplicationProtectedItems { options); } + /** + * Operation to remove disk(s) from the replication protected item. + * @summary Removes disk(s). + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param removeDisksInput Remove disks input. + * @param [options] The optional parameters + * @returns Promise + */ + beginRemoveDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, removeDisksInput: Models.RemoveDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + removeDisksInput, + options + }, + beginRemoveDisksOperationSpec, + options); + } + /** * The operation to start resynchronize/repair replication for a replication protected item * requiring resynchronization. @@ -526,6 +616,29 @@ export class ReplicationProtectedItems { options); } + /** + * Operation to resolve health issues of the replication protected item. + * @summary Resolve health errors. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param resolveHealthInput Health issue input object. + * @param [options] The optional parameters + * @returns Promise + */ + beginResolveHealthErrors(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, resolveHealthInput: Models.ResolveHealthInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + resolveHealthInput, + options + }, + beginResolveHealthErrorsOperationSpec, + options); + } + /** * Operation to perform a test failover of the replication protected item. * @summary Execute test failover @@ -658,7 +771,7 @@ export class ReplicationProtectedItems { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ReplicationProtectedItemsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -669,8 +782,8 @@ export class ReplicationProtectedItems { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ReplicationProtectedItemsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ReplicationProtectedItemsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -864,6 +977,42 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginAddDisksOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/addDisks", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "addDisksInput", + mapper: { + ...Mappers.AddDisksInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginApplyRecoveryPointOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint", @@ -999,6 +1148,42 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; +const beginRemoveDisksOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/removeDisks", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "removeDisksInput", + mapper: { + ...Mappers.RemoveDisksInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginRepairReplicationOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication", @@ -1064,6 +1249,42 @@ const beginReprotectOperationSpec: msRest.OperationSpec = { serializer }; +const beginResolveHealthErrorsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/ResolveHealthErrors", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "resolveHealthInput", + mapper: { + ...Mappers.ResolveHealthInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginTestFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover", @@ -1215,6 +1436,9 @@ const listByReplicationProtectionContainersNextOperationSpec: msRest.OperationSp urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1236,6 +1460,11 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionContainerMappings.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionContainerMappings.ts index 1e218a24293f..2e48e9aa4cb4 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionContainerMappings.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionContainerMappings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -554,6 +553,9 @@ const listByReplicationProtectionContainersNextOperationSpec: msRest.OperationSp urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -575,6 +577,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionContainers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionContainers.ts index 16e8b340f1e0..a243a5f4c258 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionContainers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionContainers.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -532,6 +531,9 @@ const listByReplicationFabricsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -553,6 +555,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionIntents.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionIntents.ts new file mode 100644 index 000000000000..694333a6a663 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionIntents.ts @@ -0,0 +1,253 @@ +/* + * 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/replicationProtectionIntentsMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a ReplicationProtectionIntents. */ +export class ReplicationProtectionIntents { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a ReplicationProtectionIntents. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * Gets the list of ASR replication protection intent objects in the vault. + * @summary Gets the list of replication protection intent objects. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets the details of an ASR replication protection intent. + * @summary Gets the details of a Replication protection intent item. + * @param intentObjectName Replication protection intent name. + * @param [options] The optional parameters + * @returns Promise + */ + get(intentObjectName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param intentObjectName Replication protection intent name. + * @param callback The callback + */ + get(intentObjectName: string, callback: msRest.ServiceCallback): void; + /** + * @param intentObjectName Replication protection intent name. + * @param options The optional parameters + * @param callback The callback + */ + get(intentObjectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(intentObjectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + intentObjectName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * The operation to create an ASR replication protection intent item. + * @summary Create protection intent Resource. + * @param intentObjectName A name for the replication protection item. + * @param input Create Protection Intent Input. + * @param [options] The optional parameters + * @returns Promise + */ + create(intentObjectName: string, input: Models.CreateProtectionIntentInput, options?: msRest.RequestOptionsBase): Promise; + /** + * @param intentObjectName A name for the replication protection item. + * @param input Create Protection Intent Input. + * @param callback The callback + */ + create(intentObjectName: string, input: Models.CreateProtectionIntentInput, callback: msRest.ServiceCallback): void; + /** + * @param intentObjectName A name for the replication protection item. + * @param input Create Protection Intent Input. + * @param options The optional parameters + * @param callback The callback + */ + create(intentObjectName: string, input: Models.CreateProtectionIntentInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(intentObjectName: string, input: Models.CreateProtectionIntentInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + intentObjectName, + input, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Gets the list of ASR replication protection intent objects in the vault. + * @summary Gets the list of replication protection intent objects. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): 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: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | 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: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectionIntentCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.intentObjectName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectionIntent + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.intentObjectName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "input", + mapper: { + ...Mappers.CreateProtectionIntentInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectionIntent + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectionIntentCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryPlans.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryPlans.ts index 9caa6fa4d2cb..37e54b0859a7 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryPlans.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryPlans.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -733,6 +732,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryServicesProviders.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryServicesProviders.ts index 804dbd4a710c..82d7b16e3234 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryServicesProviders.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryServicesProviders.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -89,6 +88,20 @@ export class ReplicationRecoveryServicesProviders { callback) as Promise; } + /** + * The operation to add a recovery services provider. + * @summary Adds a recovery services provider. + * @param fabricName Fabric name. + * @param providerName Recovery services provider name. + * @param addProviderInput Add provider input. + * @param [options] The optional parameters + * @returns Promise + */ + create(fabricName: string, providerName: string, addProviderInput: Models.AddRecoveryServicesProviderInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(fabricName,providerName,addProviderInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * The operation to purge(force delete) a recovery services provider from the vault. * @summary Purges recovery service provider from fabric @@ -157,6 +170,27 @@ export class ReplicationRecoveryServicesProviders { callback) as Promise; } + /** + * The operation to add a recovery services provider. + * @summary Adds a recovery services provider. + * @param fabricName Fabric name. + * @param providerName Recovery services provider name. + * @param addProviderInput Add provider input. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreate(fabricName: string, providerName: string, addProviderInput: Models.AddRecoveryServicesProviderInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + providerName, + addProviderInput, + options + }, + beginCreateOperationSpec, + options); + } + /** * The operation to purge(force delete) a recovery services provider from the vault. * @summary Purges recovery service provider from fabric @@ -358,6 +392,41 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const beginCreateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.providerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "addProviderInput", + mapper: { + ...Mappers.AddRecoveryServicesProviderInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RecoveryServicesProvider + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginPurgeOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}", @@ -445,6 +514,9 @@ const listByReplicationFabricsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -466,6 +538,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassificationMappings.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassificationMappings.ts index e2e925e8f5e4..c666e65c7869 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassificationMappings.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassificationMappings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -31,7 +30,7 @@ export class ReplicationStorageClassificationMappings { * Lists the storage classification mappings for the fabric. * @summary Gets the list of storage classification mappings objects under a storage. * @param fabricName Fabric name. - * @param storageClassificationName Storage classfication name. + * @param storageClassificationName Storage classification name. * @param [options] The optional parameters * @returns * Promise @@ -39,13 +38,13 @@ export class ReplicationStorageClassificationMappings { listByReplicationStorageClassifications(fabricName: string, storageClassificationName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param fabricName Fabric name. - * @param storageClassificationName Storage classfication name. + * @param storageClassificationName Storage classification name. * @param callback The callback */ listByReplicationStorageClassifications(fabricName: string, storageClassificationName: string, callback: msRest.ServiceCallback): void; /** * @param fabricName Fabric name. - * @param storageClassificationName Storage classfication name. + * @param storageClassificationName Storage classification name. * @param options The optional parameters * @param callback The callback */ @@ -408,6 +407,9 @@ const listByReplicationStorageClassificationsNextOperationSpec: msRest.Operation urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -429,6 +431,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassifications.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassifications.ts index 7e6adb1712fb..615f980fabfa 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassifications.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassifications.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -259,6 +258,9 @@ const listByReplicationFabricsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -280,6 +282,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationVaultHealth.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationVaultHealth.ts index a797b0132ad2..949ab011963e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationVaultHealth.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationVaultHealth.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationVaultSetting.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationVaultSetting.ts new file mode 100644 index 000000000000..f8e5472ae1a3 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationVaultSetting.ts @@ -0,0 +1,254 @@ +/* + * 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/replicationVaultSettingMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a ReplicationVaultSetting. */ +export class ReplicationVaultSetting { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a ReplicationVaultSetting. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * Gets the list of vault setting. This includes the Migration Hub connection settings. + * @summary Gets the list of vault setting. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets the vault setting. This includes the Migration Hub connection settings. + * @summary Gets the vault setting. + * @param vaultSettingName Vault setting name. + * @param [options] The optional parameters + * @returns Promise + */ + get(vaultSettingName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param vaultSettingName Vault setting name. + * @param callback The callback + */ + get(vaultSettingName: string, callback: msRest.ServiceCallback): void; + /** + * @param vaultSettingName Vault setting name. + * @param options The optional parameters + * @param callback The callback + */ + get(vaultSettingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(vaultSettingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultSettingName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * The operation to configure vault setting. + * @summary Updates vault setting. A vault setting object is a singleton per vault and it is always + * present by default. + * @param vaultSettingName Vault setting name. + * @param input Vault setting creation input. + * @param [options] The optional parameters + * @returns Promise + */ + create(vaultSettingName: string, input: Models.VaultSettingCreationInput, options?: msRest.RequestOptionsBase): Promise; + /** + * @param vaultSettingName Vault setting name. + * @param input Vault setting creation input. + * @param callback The callback + */ + create(vaultSettingName: string, input: Models.VaultSettingCreationInput, callback: msRest.ServiceCallback): void; + /** + * @param vaultSettingName Vault setting name. + * @param input Vault setting creation input. + * @param options The optional parameters + * @param callback The callback + */ + create(vaultSettingName: string, input: Models.VaultSettingCreationInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(vaultSettingName: string, input: Models.VaultSettingCreationInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultSettingName, + input, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Gets the list of vault setting. This includes the Migration Hub connection settings. + * @summary Gets the list of vault setting. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): 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: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | 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: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VaultSettingCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.vaultSettingName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VaultSetting + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.vaultSettingName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "input", + mapper: { + ...Mappers.VaultSettingCreationInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VaultSetting + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VaultSettingCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationvCenters.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationvCenters.ts index ea2de6343fbc..5b3245c1df4f 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationvCenters.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationvCenters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -120,7 +119,7 @@ export class ReplicationvCenters { * The operation to update a registered vCenter. * @summary Update vCenter operation. * @param fabricName Fabric name. - * @param vCenterName vCeneter name + * @param vCenterName vCenter name * @param updateVCenterRequest The input to the update vCenter operation. * @param [options] The optional parameters * @returns Promise @@ -199,7 +198,7 @@ export class ReplicationvCenters { * The operation to update a registered vCenter. * @summary Update vCenter operation. * @param fabricName Fabric name. - * @param vCenterName vCeneter name + * @param vCenterName vCenter name * @param updateVCenterRequest The input to the update vCenter operation. * @param [options] The optional parameters * @returns Promise @@ -458,6 +457,9 @@ const listByReplicationFabricsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -479,6 +481,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/supportedOperatingSystemsOperations.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/supportedOperatingSystemsOperations.ts new file mode 100644 index 000000000000..a4f3dd301100 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/supportedOperatingSystemsOperations.ts @@ -0,0 +1,78 @@ +/* + * 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/supportedOperatingSystemsOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a SupportedOperatingSystemsOperations. */ +export class SupportedOperatingSystemsOperations { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a SupportedOperatingSystemsOperations. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * @summary Gets the data of supported OSes by SRS. + * @param [options] The optional parameters + * @returns Promise + */ + get(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + get(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationSupportedOperatingSystems", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SupportedOperatingSystems + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/targetComputeSizes.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/targetComputeSizes.ts index 891dad9dc3bf..9937882f5d66 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/targetComputeSizes.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/targetComputeSizes.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -130,6 +129,9 @@ const listByReplicationProtectedItemsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts index 8bfa137ac28f..8b1ac45f54b8 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -19,17 +18,21 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { // Operation groups operations: operations.Operations; replicationAlertSettings: operations.ReplicationAlertSettings; + replicationEligibilityResults: operations.ReplicationEligibilityResultsOperations; replicationEvents: operations.ReplicationEvents; replicationFabrics: operations.ReplicationFabrics; replicationLogicalNetworks: operations.ReplicationLogicalNetworks; replicationNetworks: operations.ReplicationNetworks; replicationNetworkMappings: operations.ReplicationNetworkMappings; replicationProtectionContainers: operations.ReplicationProtectionContainers; + replicationMigrationItems: operations.ReplicationMigrationItems; + migrationRecoveryPoints: operations.MigrationRecoveryPoints; replicationProtectableItems: operations.ReplicationProtectableItems; replicationProtectedItems: operations.ReplicationProtectedItems; recoveryPoints: operations.RecoveryPoints; targetComputeSizes: operations.TargetComputeSizes; replicationProtectionContainerMappings: operations.ReplicationProtectionContainerMappings; + replicationProtectionIntents: operations.ReplicationProtectionIntents; replicationRecoveryServicesProviders: operations.ReplicationRecoveryServicesProviders; replicationStorageClassifications: operations.ReplicationStorageClassifications; replicationStorageClassificationMappings: operations.ReplicationStorageClassificationMappings; @@ -37,7 +40,9 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { replicationJobs: operations.ReplicationJobs; replicationPolicies: operations.ReplicationPolicies; replicationRecoveryPlans: operations.ReplicationRecoveryPlans; + supportedOperatingSystems: operations.SupportedOperatingSystemsOperations; replicationVaultHealth: operations.ReplicationVaultHealth; + replicationVaultSetting: operations.ReplicationVaultSetting; /** * Initializes a new instance of the SiteRecoveryManagementClient class. @@ -52,17 +57,21 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { super(credentials, subscriptionId, resourceGroupName, resourceName, options); this.operations = new operations.Operations(this); this.replicationAlertSettings = new operations.ReplicationAlertSettings(this); + this.replicationEligibilityResults = new operations.ReplicationEligibilityResultsOperations(this); this.replicationEvents = new operations.ReplicationEvents(this); this.replicationFabrics = new operations.ReplicationFabrics(this); this.replicationLogicalNetworks = new operations.ReplicationLogicalNetworks(this); this.replicationNetworks = new operations.ReplicationNetworks(this); this.replicationNetworkMappings = new operations.ReplicationNetworkMappings(this); this.replicationProtectionContainers = new operations.ReplicationProtectionContainers(this); + this.replicationMigrationItems = new operations.ReplicationMigrationItems(this); + this.migrationRecoveryPoints = new operations.MigrationRecoveryPoints(this); this.replicationProtectableItems = new operations.ReplicationProtectableItems(this); this.replicationProtectedItems = new operations.ReplicationProtectedItems(this); this.recoveryPoints = new operations.RecoveryPoints(this); this.targetComputeSizes = new operations.TargetComputeSizes(this); this.replicationProtectionContainerMappings = new operations.ReplicationProtectionContainerMappings(this); + this.replicationProtectionIntents = new operations.ReplicationProtectionIntents(this); this.replicationRecoveryServicesProviders = new operations.ReplicationRecoveryServicesProviders(this); this.replicationStorageClassifications = new operations.ReplicationStorageClassifications(this); this.replicationStorageClassificationMappings = new operations.ReplicationStorageClassificationMappings(this); @@ -70,7 +79,9 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { this.replicationJobs = new operations.ReplicationJobs(this); this.replicationPolicies = new operations.ReplicationPolicies(this); this.replicationRecoveryPlans = new operations.ReplicationRecoveryPlans(this); + this.supportedOperatingSystems = new operations.SupportedOperatingSystemsOperations(this); this.replicationVaultHealth = new operations.ReplicationVaultHealth(this); + this.replicationVaultSetting = new operations.ReplicationVaultSetting(this); } } diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts index 23d375cb660f..0e4d4c46e7b8 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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 @@ -13,7 +12,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-recoveryservices-siterecovery"; -const packageVersion = "0.1.0"; +const packageVersion = "3.2.0"; export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -55,7 +54,7 @@ export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServic super(credentials, options); - this.apiVersion = '2018-01-10'; + this.apiVersion = '2018-07-10'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/tsconfig.json b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/tsconfig.json +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true