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..2713d36ab7a0 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md @@ -1,89 +1,97 @@ ## Azure SiteRecoveryManagementClient SDK for JavaScript -This package contains an isomorphic SDK for SiteRecoveryManagementClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for SiteRecoveryManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-recoveryservices-siterecovery` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-recoveryservices-siterecovery @azure/identity ``` -npm install @azure/arm-recoveryservices-siterecovery -``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth - -``` -npm install @azure/ms-rest-nodeauth -``` +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### 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"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { SiteRecoveryManagementClient } = require("@azure/arm-recoveryservices-siterecovery"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new SiteRecoveryManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SiteRecoveryManagementClient(creds, subscriptionId); +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-recoveryservices-siterecovery sample - - + @@ -95,5 +103,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 1376d42c7006..4171c9f4059a 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json @@ -4,9 +4,10 @@ "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.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,18 +21,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.6.0", + "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/main/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 +45,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..e07b0e678b85 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 }; +/** + * A2A 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; +} + +/** + * A2A 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 | A2ACrossClusterMigrationApplyRecoveryPointInput | 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 | A2ACrossClusterMigrationContainerCreationInput | 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,379 +193,559 @@ 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 unmanaged 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; /** - * @member {KeyEncryptionKeyInfo} [keyEncryptionKeyInfo] The recovery - * KeyVault reference for key. + * The replica disk type. Its an optional value and will be same as source disk type if not user + * provided. */ - keyEncryptionKeyInfo?: KeyEncryptionKeyInfo; + 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 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; /** - * @member {string} [multiVmGroupName] The multi vm group name. + * The primary staging storage account input. */ - multiVmGroupName?: string; + primaryStagingStorageAccountCustomInput?: StorageAccountCustomDetailsUnion; /** - * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic - * storage account. + * The recovery availability set input. */ - recoveryBootDiagStorageAccountId?: string; + recoveryAvailabilitySetCustomInput?: RecoveryAvailabilitySetCustomDetailsUnion; /** - * @member {DiskEncryptionInfo} [diskEncryptionInfo] The recovery disk - * encryption information. + * The recovery virtual network input. */ - diskEncryptionInfo?: DiskEncryptionInfo; -} - -/** - * Contains the possible cases for EventProviderSpecificDetails. - */ -export type EventProviderSpecificDetailsUnion = EventProviderSpecificDetails | A2AEventDetails | HyperVReplica2012EventDetails | HyperVReplica2012R2EventDetails | HyperVReplicaAzureEventDetails | HyperVReplicaBaseEventDetails | InMageAzureV2EventDetails; - -/** - * @interface - * An interface representing EventProviderSpecificDetails. - * Model class for provider specific details for an event. - * - */ -export interface EventProviderSpecificDetails { + recoveryVirtualNetworkCustomInput?: RecoveryVirtualNetworkCustomDetailsUnion; /** - * @member {string} instanceType Polymorphic Discriminator + * The recovery proximity placement group custom input. */ - instanceType: "EventProviderSpecificDetails"; -} - -/** - * @interface - * An interface representing A2AEventDetails. - * Model class for event details of a A2A event. - * - */ -export interface A2AEventDetails { + recoveryProximityPlacementGroupCustomInput?: RecoveryProximityPlacementGroupCustomDetailsUnion; /** - * @member {string} instanceType Polymorphic Discriminator + * A value indicating whether the auto protection is enabled. Possible values include: + * 'Disabled', 'Enabled' */ - instanceType: "A2A"; + autoProtectionOfDataDisk?: AutoProtectionOfDataDisk; /** - * @member {string} [protectedItemName] The protected item arm name. + * The list of vm disk inputs. */ - protectedItemName?: string; + vmDisks?: A2AProtectionIntentDiskInputDetails[]; /** - * @member {string} [fabricObjectId] The azure vm arm id. + * The list of vm managed disk inputs. */ - fabricObjectId?: string; + vmManagedDisks?: A2AProtectionIntentManagedDiskInputDetails[]; /** - * @member {string} [fabricName] Fabric arm name. + * The multi vm group name. */ - fabricName?: string; + multiVmGroupName?: string; /** - * @member {string} [fabricLocation] The fabric location. + * The multi vm group id. */ - fabricLocation?: string; + multiVmGroupId?: string; /** - * @member {string} [remoteFabricName] Remote fabric arm name. + * The boot diagnostic storage account. */ - remoteFabricName?: string; + recoveryBootDiagStorageAccount?: StorageAccountCustomDetailsUnion; /** - * @member {string} [remoteFabricLocation] Remote fabric location. + * The recovery disk encryption information (for two pass flows). */ - remoteFabricLocation?: string; + diskEncryptionInfo?: DiskEncryptionInfo; + /** + * The recovery availability zone. + */ + recoveryAvailabilityZone?: string; } /** - * Contains the possible cases for ProviderSpecificFailoverInput. - */ -export type ProviderSpecificFailoverInputUnion = ProviderSpecificFailoverInput | A2AFailoverProviderInput | HyperVReplicaAzureFailbackProviderInput | HyperVReplicaAzureFailoverProviderInput | InMageAzureV2FailoverProviderInput | InMageFailoverProviderInput; - -/** - * @interface - * An interface representing ProviderSpecificFailoverInput. - * Provider specific failover input. - * + * ApplyRecoveryPoint input specific to A2ACrossClusterMigration provider. */ -export interface ProviderSpecificFailoverInput { +export interface A2ACrossClusterMigrationApplyRecoveryPointInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "ProviderSpecificFailoverInput"; + instanceType: "A2ACrossClusterMigration"; } /** - * @interface - * An interface representing A2AFailoverProviderInput. - * A2A provider specific input for failover. - * + * A2ACrossClusterMigration cloud creation input. */ -export interface A2AFailoverProviderInput { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "A2A"; +export interface A2ACrossClusterMigrationContainerCreationInput { /** - * @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. + * Polymorphic Discriminator */ - recoveryPointId?: string; - /** - * @member {string} [cloudServiceCreationOption] A value indicating whether - * to use recovery cloud service for TFO or not. - */ - cloudServiceCreationOption?: string; + instanceType: "A2ACrossClusterMigration"; +} + +/** + * Contains the possible cases for EnableProtectionProviderSpecificInput. + */ +export type EnableProtectionProviderSpecificInputUnion = EnableProtectionProviderSpecificInput | A2ACrossClusterMigrationEnableProtectionInput | A2AEnableProtectionInput | HyperVReplicaAzureEnableProtectionInput | InMageAzureV2EnableProtectionInput | InMageEnableProtectionInput | InMageRcmEnableProtectionInput; + +/** + * Enable protection provider specific input. + */ +export interface EnableProtectionProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "EnableProtectionProviderSpecificInput"; +} + +/** + * A2A Cross-Cluster Migration enable protection input. + */ +export interface A2ACrossClusterMigrationEnableProtectionInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2ACrossClusterMigration"; + /** + * The fabric specific object Id of the virtual machine. + */ + fabricObjectId?: string; + /** + * The recovery container Id. + */ + recoveryContainerId?: string; } /** * Contains the possible cases for PolicyProviderSpecificInput. */ -export type PolicyProviderSpecificInputUnion = PolicyProviderSpecificInput | A2APolicyCreationInput | HyperVReplicaAzurePolicyInput | HyperVReplicaBluePolicyInput | HyperVReplicaPolicyInput | InMageAzureV2PolicyInput | InMagePolicyInput | VMwareCbtPolicyCreationInput; +export type PolicyProviderSpecificInputUnion = PolicyProviderSpecificInput | A2ACrossClusterMigrationPolicyCreationInput | A2APolicyCreationInput | HyperVReplicaAzurePolicyInput | HyperVReplicaPolicyInputUnion | InMageAzureV2PolicyInput | InMagePolicyInput | InMageRcmFailbackPolicyCreationInput | InMageRcmPolicyCreationInput | VMwareCbtPolicyCreationInput; /** - * @interface - * An interface representing PolicyProviderSpecificInput. - * Base class for provider specific input - * + * Base class for provider specific input. */ export interface PolicyProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "PolicyProviderSpecificInput"; } /** - * @interface - * An interface representing A2APolicyCreationInput. + * A2A Cross-Cluster Migration Policy creation input. + */ +export interface A2ACrossClusterMigrationPolicyCreationInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2ACrossClusterMigration"; +} + +/** + * Contains the possible cases for ReplicationProviderSpecificSettings. + */ +export type ReplicationProviderSpecificSettingsUnion = ReplicationProviderSpecificSettings | A2ACrossClusterMigrationReplicationDetails | A2AReplicationDetails | HyperVReplicaAzureReplicationDetails | HyperVReplicaBaseReplicationDetails | HyperVReplicaBlueReplicationDetails | HyperVReplicaReplicationDetails | InMageAzureV2ReplicationDetails | InMageRcmFailbackReplicationDetails | InMageRcmReplicationDetails | InMageReplicationDetails; + +/** + * Replication provider specific settings. + */ +export interface ReplicationProviderSpecificSettings { + /** + * Polymorphic Discriminator + */ + instanceType: "ReplicationProviderSpecificSettings"; +} + +/** + * A2A provider specific settings. + */ +export interface A2ACrossClusterMigrationReplicationDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "A2ACrossClusterMigration"; + /** + * The fabric specific object Id of the virtual machine. + */ + fabricObjectId?: string; + /** + * Primary fabric location. + */ + primaryFabricLocation?: string; + /** + * The type of operating system. + */ + osType?: string; + /** + * The protection state for the vm. + */ + vmProtectionState?: string; + /** + * The protection state description for the vm. + */ + vmProtectionStateDescription?: string; + /** + * 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; +} + +/** + * A2A enable protection input. + */ +export interface A2AEnableProtectionInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * The fabric specific object Id of the virtual machine. + */ + fabricObjectId: string; + /** + * The recovery container Id. + */ + recoveryContainerId?: string; + /** + * 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 multi vm group id. + */ + multiVmGroupId?: string; + /** + * The boot diagnostic storage account. + */ + recoveryBootDiagStorageAccountId?: string; + /** + * The recovery disk encryption information (for two pass flows). + */ + diskEncryptionInfo?: DiskEncryptionInfo; + /** + * The recovery availability zone. + */ + recoveryAvailabilityZone?: string; + /** + * The recovery Azure virtual network ARM id. + */ + recoveryAzureNetworkId?: string; + /** + * The recovery subnet name. + */ + recoverySubnetName?: string; + /** + * The virtual machine scale set Id. + */ + recoveryVirtualMachineScaleSetId?: string; +} + +/** + * Contains the possible cases for EventProviderSpecificDetails. + */ +export type EventProviderSpecificDetailsUnion = EventProviderSpecificDetails | A2AEventDetails | HyperVReplica2012EventDetails | HyperVReplica2012R2EventDetails | HyperVReplicaAzureEventDetails | HyperVReplicaBaseEventDetails | InMageAzureV2EventDetails | InMageRcmEventDetails | InMageRcmFailbackEventDetails | VMwareCbtEventDetails; + +/** + * 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; + /** + * Remote fabric arm name. + */ + remoteFabricName?: string; + /** + * Remote fabric location. + */ + remoteFabricLocation?: string; +} + +/** * 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 +754,308 @@ 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 | InMageRcmFailbackPolicyDetails | InMageRcmPolicyDetails | 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; + /** + * The failover name for the managed disk. + */ + failoverDiskName?: string; + /** + * The test failover name for the managed disk. + */ + tfoDiskName?: 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 + * Recovery original target disk Arm Id. + */ + recoveryOrignalTargetDiskId?: string; + /** + * 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 primary disk encryption set Id. + */ + primaryDiskEncryptionSetId?: 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 | InMageRcmProtectionContainerMappingDetails | 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,412 +1063,574 @@ 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; + /** + * A value indicating whether the disk auto protection is enabled. Possible values include: + * 'Disabled', 'Enabled' + */ + diskAutoProtectionStatus?: AutoProtectionOfDataDisk; +} + +/** + * An interface representing IPConfigDetails. + */ +export interface IPConfigDetails { + name?: string; + isPrimary?: boolean; + subnetName?: string; + staticIPAddress?: string; + ipAddressType?: string; + isSeletedForFailover?: boolean; + recoverySubnetName?: string; + recoveryStaticIPAddress?: string; + recoveryIPAddressType?: string; + recoveryPublicIPAddressId?: string; + recoveryLBBackendAddressPoolIds?: string[]; + tfoSubnetName?: string; + tfoStaticIPAddress?: string; + tfoPublicIPAddressId?: string; + tfoLBBackendAddressPoolIds?: 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. - */ - 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. + * The IP configurations of the NIC. */ - recoveryVMSubnetName?: string; + ipConfigs?: IPConfigDetails[]; /** - * @member {string} [ipAddressType] Ip address type. + * Selection type for failover. */ - ipAddressType?: string; + selectionType?: string; /** - * @member {string} [primaryNicStaticIPAddress] Primary nic static IP - * address. + * The id of the NSG associated with the NIC. */ - primaryNicStaticIPAddress?: string; + recoveryNetworkSecurityGroupId?: string; /** - * @member {string} [replicaNicStaticIPAddress] Replica nic static IP - * address. + * A value indicating whether the NIC has accelerated networking enabled. */ - replicaNicStaticIPAddress?: string; + enableAcceleratedNetworkingOnRecovery?: boolean; /** - * @member {string} [selectionType] Selection type for failover. + * The network to be used by NIC during test failover. */ - selectionType?: string; + tfoVMNetworkId?: string; /** - * @member {string} [recoveryNicIpAddressType] IP allocation type for - * recovery VM. + * The NSG to be used by NIC during test failover. */ - recoveryNicIpAddressType?: string; + tfoNetworkSecurityGroupId?: string; /** - * @member {boolean} [enableAcceleratedNetworkingOnRecovery] A value - * indicating whether the NIC has accerated networking enabled. + * Whether the TFO NIC has accelerated networking enabled. */ - enableAcceleratedNetworkingOnRecovery?: boolean; -} - -/** - * @interface - * An interface representing RoleAssignment. - * Azure role assignment details. - * - */ -export interface RoleAssignment { + enableAcceleratedNetworkingOnTfo?: boolean; /** - * @member {string} [id] The ARM Id of the role assignment. + * The name of the NIC to be used when creating target NICs. */ - id?: string; + recoveryNicName?: string; /** - * @member {string} [name] The name of the role assignment. + * The resource group of the NIC to be used when creating target NICs. */ - name?: string; + recoveryNicResourceGroupName?: string; /** - * @member {string} [scope] Role assignment scope. + * A value indicating whether an existing NIC is allowed to be reused during failover subject to + * availability. Default value: false. */ - scope?: string; + reuseExistingNic?: boolean; /** - * @member {string} [principalId] Principal Id. + * The name of the NIC to be used when creating target NICs in TFO. */ - principalId?: string; + tfoRecoveryNicName?: string; /** - * @member {string} [roleDefinitionId] Role definition id. + * The resource group of the NIC to be used when creating target NICs in TFO. */ - roleDefinitionId?: string; + 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. - */ endpointName?: string; - /** - * @member {number} [privatePort] The input endpoint private port. - */ privatePort?: number; - /** - * @member {number} [publicPort] The input endpoint public port. - */ publicPort?: number; - /** - * @member {string} [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[]; } /** - * Contains the possible cases for ReplicationProviderSpecificSettings. - */ -export type ReplicationProviderSpecificSettingsUnion = ReplicationProviderSpecificSettings | A2AReplicationDetails | HyperVReplicaAzureReplicationDetails | HyperVReplicaBaseReplicationDetails | HyperVReplicaBlueReplicationDetails | HyperVReplicaReplicationDetails | InMageAzureV2ReplicationDetails | InMageReplicationDetails; - -/** - * @interface - * An interface representing ReplicationProviderSpecificSettings. - * Replication provider specific settings. - * - */ -export interface ReplicationProviderSpecificSettings { - /** - * @member {string} instanceType 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 availability zone. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialPrimaryZone?: string; + /** + * 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 availability zone. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialRecoveryZone?: 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 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. + * Agent expiry date. + */ + agentExpiryDate?: Date; + /** + * A value indicating whether replication agent update is required. */ isReplicationAgentUpdateRequired?: boolean; /** - * @member {string} [recoveryFabricObjectId] The recovery fabric object Id. + * Agent certificate expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly agentCertificateExpiryDate?: Date; + /** + * A value indicating whether agent certificate update is required. + */ + isReplicationAgentCertificateUpdateRequired?: boolean; + /** + * 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 primary availability zone. + */ + primaryAvailabilityZone?: string; + /** + * 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 azure generation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly recoveryAzureGeneration?: string; + /** + * The recovery proximity placement group Id. + */ + recoveryProximityPlacementGroupId?: string; + /** + * A value indicating whether the auto protection is enabled. Possible values include: + * 'Disabled', 'Enabled' + */ + autoProtectionOfDataDisk?: AutoProtectionOfDataDisk; + /** + * The recovery virtual machine scale set id. + */ + recoveryVirtualMachineScaleSetId?: string; +} + +/** + * Contains the possible cases for ReplicationProtectionIntentProviderSpecificSettings. + */ +export type ReplicationProtectionIntentProviderSpecificSettingsUnion = ReplicationProtectionIntentProviderSpecificSettings | A2AReplicationIntentDetails; + +/** + * Replication provider specific settings. + */ +export interface ReplicationProtectionIntentProviderSpecificSettings { + /** + * Polymorphic Discriminator + */ + instanceType: "ReplicationProtectionIntentProviderSpecificSettings"; +} + +/** + * A2A provider specific settings. + */ +export interface A2AReplicationIntentDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * The fabric specific object Id of the virtual machine. + */ + fabricObjectId?: string; + /** + * The primary location for the virtual machine. + */ + primaryLocation?: string; + /** + * The recovery location for the virtual machine. + */ + recoveryLocation?: string; + /** + * The recovery subscription Id of the virtual machine. + */ + recoverySubscriptionId?: string; + /** + * The list of vm disk details. + */ + vmDisks?: A2AProtectionIntentDiskInputDetails[]; + /** + * The list of vm managed disk details. + */ + vmManagedDisks?: A2AProtectionIntentManagedDiskInputDetails[]; + /** + * The recovery resource group id. + */ + recoveryResourceGroupId?: string; + /** + * The protection profile custom details. + */ + protectionProfile?: ProtectionProfileCustomDetailsUnion; + /** + * The primary staging storage account details. + */ + primaryStagingStorageAccount?: StorageAccountCustomDetailsUnion; + /** + * The recovery availability set details. + */ + recoveryAvailabilitySet?: RecoveryAvailabilitySetCustomDetailsUnion; + /** + * The recovery virtual network details. + */ + recoveryVirtualNetwork?: RecoveryVirtualNetworkCustomDetailsUnion; + /** + * The recovery proximity placement group custom details. + */ + recoveryProximityPlacementGroup?: RecoveryProximityPlacementGroupCustomDetailsUnion; + /** + * A value indicating whether the auto protection is enabled. Possible values include: + * 'Disabled', 'Enabled' + */ + autoProtectionOfDataDisk?: AutoProtectionOfDataDisk; + /** + * The multi vm group name. + */ + multiVmGroupName?: string; + /** + * The multi vm group id. + */ + multiVmGroupId?: string; + /** + * The boot diagnostic storage account. + */ + recoveryBootDiagStorageAccount?: StorageAccountCustomDetailsUnion; + /** + * The recovery disk encryption information (for two pass flows). + */ + diskEncryptionInfo?: DiskEncryptionInfo; + /** + * The recovery availability zone. + */ + recoveryAvailabilityZone?: string; + /** + * The recovery availability type of the virtual machine. + */ + recoveryAvailabilityType: string; } /** * Contains the possible cases for ReverseReplicationProviderSpecificInput. */ -export type ReverseReplicationProviderSpecificInputUnion = ReverseReplicationProviderSpecificInput | A2AReprotectInput | HyperVReplicaAzureReprotectInput | InMageAzureV2ReprotectInput | InMageReprotectInput; +export type ReverseReplicationProviderSpecificInputUnion = ReverseReplicationProviderSpecificInput | A2AReprotectInput | HyperVReplicaAzureReprotectInput | InMageAzureV2ReprotectInput | InMageRcmFailbackReprotectInput | InMageRcmReprotectInput | InMageReprotectInput; /** - * @interface - * An interface representing ReverseReplicationProviderSpecificInput. * Provider specific reverse replication input. - * */ export interface ReverseReplicationProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ReverseReplicationProviderSpecificInput"; } /** - * @interface - * An interface representing A2AReprotectInput. * Azure specific reprotect input. - * */ export interface A2AReprotectInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The recovery container Id. */ recoveryContainerId?: string; /** - * @member {A2AVmDiskInputDetails[]} [vmDisks] The list of vm disk details. + * The list of vm disk details. */ vmDisks?: A2AVmDiskInputDetails[]; /** - * @member {string} [recoveryResourceGroupId] The recovery resource group Id. - * Valid for V2 scenarios. + * The recovery resource group Id. Valid for V2 scenarios. */ recoveryResourceGroupId?: string; /** - * @member {string} [recoveryCloudServiceId] The recovery cloud service Id. - * Valid for V1 scenarios. + * The recovery cloud service Id. Valid for V1 scenarios. */ recoveryCloudServiceId?: string; /** - * @member {string} [recoveryAvailabilitySetId] The recovery availability - * set. + * The recovery availability set. */ recoveryAvailabilitySetId?: string; /** - * @member {string} [policyId] The Policy Id. + * The Policy Id. */ policyId?: string; } @@ -1188,339 +1641,541 @@ export interface A2AReprotectInput { export type SwitchProtectionProviderSpecificInputUnion = SwitchProtectionProviderSpecificInput | A2ASwitchProtectionInput; /** - * @interface - * An interface representing SwitchProtectionProviderSpecificInput. * Provider specific switch protection input. - * */ export interface SwitchProtectionProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "SwitchProtectionProviderSpecificInput"; } /** - * @interface - * An interface representing A2ASwitchProtectionInput. * A2A specific switch protection input. - * */ export interface A2ASwitchProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The recovery container Id. */ recoveryContainerId?: string; /** - * @member {A2AVmDiskInputDetails[]} [vmDisks] The list of vm disk details. + * The list of vm disk details. */ vmDisks?: A2AVmDiskInputDetails[]; /** - * @member {A2AVmManagedDiskInputDetails[]} [vmManagedDisks] The list of vm - * managed disk details. + * The list of vm managed disk details. */ vmManagedDisks?: A2AVmManagedDiskInputDetails[]; /** - * @member {string} [recoveryResourceGroupId] The recovery resource group Id. - * Valid for V2 scenarios. + * The recovery resource group Id. Valid for V2 scenarios. */ recoveryResourceGroupId?: string; /** - * @member {string} [recoveryCloudServiceId] The recovery cloud service Id. - * Valid for V1 scenarios. + * The recovery cloud service Id. Valid for V1 scenarios. */ recoveryCloudServiceId?: string; /** - * @member {string} [recoveryAvailabilitySetId] The recovery availability - * set. + * The recovery availability set. */ recoveryAvailabilitySetId?: string; /** - * @member {string} [policyId] The Policy Id. + * The Policy Id. */ policyId?: string; /** - * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic - * storage account. + * The boot diagnostic storage account. */ recoveryBootDiagStorageAccountId?: string; /** - * @member {DiskEncryptionInfo} [diskEncryptionInfo] The recovery disk - * encryption information. + * The recovery availability zone. + */ + recoveryAvailabilityZone?: string; + /** + * The recovery proximity placement group Id. + */ + recoveryProximityPlacementGroupId?: string; + /** + * The virtual machine scale set id. + */ + recoveryVirtualMachineScaleSetId?: string; + /** + * The recovery disk encryption information. */ diskEncryptionInfo?: DiskEncryptionInfo; } +/** + * Contains the possible cases for TestFailoverProviderSpecificInput. + */ +export type TestFailoverProviderSpecificInputUnion = TestFailoverProviderSpecificInput | A2ATestFailoverInput | HyperVReplicaAzureTestFailoverInput | InMageAzureV2TestFailoverInput | InMageRcmTestFailoverInput | InMageTestFailoverInput; + +/** + * Provider specific test failover input. + */ +export interface TestFailoverProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "TestFailoverProviderSpecificInput"; +} + +/** + * A2A provider specific input for test failover. + */ +export interface A2ATestFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * 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; + /** + * A value indicating whether to use recovery cloud service for TFO or not. + */ + cloudServiceCreationOption?: string; +} + +/** + * Contains the possible cases for UnplannedFailoverProviderSpecificInput. + */ +export type UnplannedFailoverProviderSpecificInputUnion = UnplannedFailoverProviderSpecificInput | A2AUnplannedFailoverInput | HyperVReplicaAzureUnplannedFailoverInput | InMageAzureV2UnplannedFailoverInput | InMageRcmUnplannedFailoverInput | InMageUnplannedFailoverInput; + +/** + * Provider specific unplanned failover input. + */ +export interface UnplannedFailoverProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "UnplannedFailoverProviderSpecificInput"; +} + +/** + * A2A provider specific input for unplanned failover. + */ +export interface A2AUnplannedFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * 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; + /** + * A value indicating whether to use recovery cloud service for failover or not. + */ + cloudServiceCreationOption?: string; +} + /** * Contains the possible cases for ReplicationProviderSpecificUpdateContainerMappingInput. */ -export type ReplicationProviderSpecificUpdateContainerMappingInputUnion = ReplicationProviderSpecificUpdateContainerMappingInput | A2AUpdateContainerMappingInput; +export type ReplicationProviderSpecificUpdateContainerMappingInputUnion = ReplicationProviderSpecificUpdateContainerMappingInput | A2AUpdateContainerMappingInput | InMageRcmUpdateContainerMappingInput; /** - * @interface - * An interface representing ReplicationProviderSpecificUpdateContainerMappingInput. * Provider specific input for update pairing operations. - * */ export interface ReplicationProviderSpecificUpdateContainerMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ReplicationProviderSpecificUpdateContainerMappingInput"; } /** - * @interface - * An interface representing A2AUpdateContainerMappingInput. * A2A update protection container mapping. - * */ export interface A2AUpdateContainerMappingInput { /** - * @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 A2AVmManagedDiskUpdateDetails. - * Azure VM managed disk update input details. - * + * A2A Vm managed disk update details. */ export interface A2AVmManagedDiskUpdateDetails { /** - * @member {string} [diskId] The disk Id. + * The disk Id. */ diskId?: string; /** - * @member {string} [recoveryTargetDiskAccountType] The target disk type - * before failover. + * The target disk type before failover. */ recoveryTargetDiskAccountType?: string; /** - * @member {string} [recoveryReplicaDiskAccountType] The replica disk type - * before failover. + * The replica disk type before failover. */ recoveryReplicaDiskAccountType?: string; + /** + * The recovery os disk encryption information. + */ + 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 UpdateReplicationProtectedItemProviderInput. */ -export type UpdateReplicationProtectedItemProviderInputUnion = UpdateReplicationProtectedItemProviderInput | A2AUpdateReplicationProtectedItemInput | HyperVReplicaAzureUpdateReplicationProtectedItemInput | InMageAzureV2UpdateReplicationProtectedItemInput; +export type UpdateReplicationProtectedItemProviderInputUnion = UpdateReplicationProtectedItemProviderInput | A2AUpdateReplicationProtectedItemInput | HyperVReplicaAzureUpdateReplicationProtectedItemInput | InMageAzureV2UpdateReplicationProtectedItemInput | InMageRcmUpdateReplicationProtectedItemInput; /** - * @interface - * An interface representing UpdateReplicationProtectedItemProviderInput. * Update replication protected item provider specific input. - * */ export interface UpdateReplicationProtectedItemProviderInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "UpdateReplicationProtectedItemProviderInput"; } /** - * @interface - * An interface representing A2AUpdateReplicationProtectedItemInput. * InMage Azure V2 input to update replication protected item. - * */ export interface A2AUpdateReplicationProtectedItemInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [recoveryCloudServiceId] The target cloud service ARM Id - * (for V1). + * The target cloud service ARM Id (for V1). */ recoveryCloudServiceId?: string; /** - * @member {string} [recoveryResourceGroupId] The target resource group ARM - * Id (for V2). + * The target resource group ARM Id (for V2). */ recoveryResourceGroupId?: string; /** - * @member {A2AVmManagedDiskUpdateDetails[]} [managedDiskUpdateDetails] * Managed disk update details. */ managedDiskUpdateDetails?: A2AVmManagedDiskUpdateDetails[]; /** - * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic - * storage account. + * The boot diagnostic storage account. */ recoveryBootDiagStorageAccountId?: string; /** - * @member {DiskEncryptionInfo} [diskEncryptionInfo] The recovery os disk - * encryption information. + * The recovery os disk encryption information. */ diskEncryptionInfo?: DiskEncryptionInfo; -} - -/** - * @interface - * An interface representing AddVCenterRequestProperties. - * The properties of an add vCenter request. - * - */ -export interface AddVCenterRequestProperties { /** - * @member {string} [friendlyName] The friendly name of the vCenter. + * The user given name for Test Failover VM. */ - friendlyName?: string; + tfoAzureVMName?: 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 recovery virtual machine scale set Id. */ - processServerId?: string; + recoveryVirtualMachineScaleSetId?: string; +} + +/** + * Zone details data. + */ +export interface A2AZoneDetails { /** - * @member {string} [port] The port number for discovery. + * Source zone info. */ - port?: string; + source?: string; /** - * @member {string} [runAsAccountId] The account Id which has privileges to - * discover the vCenter. + * The target zone info. */ - runAsAccountId?: string; + target?: string; } /** - * @interface - * An interface representing AddVCenterRequest. - * Input required to add vCenter. - * + * Add Disks input properties. */ -export interface AddVCenterRequest { +export interface AddDisksInputProperties { /** - * @member {AddVCenterRequestProperties} [properties] The properties of an - * add vCenter request. + * 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. */ - properties?: AddVCenterRequestProperties; + providerSpecificDetails: AddDisksProviderSpecificInputUnion; } /** - * @interface - * An interface representing AlertProperties. - * The proprties of an alert. - * + * Input for add disk(s) operation. */ -export interface AlertProperties { - /** - * @member {string} [sendToOwners] A value indicating whether to send email - * to subscription administrator. - */ - sendToOwners?: string; +export interface AddDisksInput { /** - * @member {string[]} [customEmailAddresses] The custom email address for - * sending emails. + * Add disks input properties. */ - customEmailAddresses?: string[]; - /** - * @member {string} [locale] The locale for the email notification. - */ - locale?: string; + properties?: AddDisksInputProperties; } /** - * @interface - * An interface representing Resource. - * Azure resource. - * - * @extends BaseResource + * Identity provider input. */ -export interface Resource extends BaseResource { +export interface IdentityProviderInput { /** - * @member {string} [id] Resource Id - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The tenant Id for the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ - readonly id?: string; + tenantId: string; /** - * @member {string} [name] Resource Name - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The application/client Id for the service principal with which the on-premise management/data + * plane components would communicate with our Azure services. */ - readonly name?: string; + applicationId: string; /** - * @member {string} [type] Resource Type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The object Id of the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ - readonly type?: string; + objectId: string; /** - * @member {string} [location] Resource Location + * The intended Audience of the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ - location?: string; + audience: string; + /** + * The base authority for Azure Active Directory authentication. + */ + aadAuthority: string; } /** - * @interface - * An interface representing Alert. - * Implements the Alert class. - * - * @extends Resource + * The properties of an add provider request. */ -export interface Alert extends Resource { +export interface AddRecoveryServicesProviderInputProperties { /** - * @member {AlertProperties} [properties] Alert related data. + * The name of the machine where the provider is getting added. */ - properties?: AlertProperties; -} + machineName: string; + /** + * The Id of the machine where the provider is getting added. + */ + machineId?: string; + /** + * The Bios Id of the machine. + */ + biosId?: string; + /** + * The identity provider input for DRA authentication. + */ + authenticationIdentityInput: IdentityProviderInput; + /** + * The identity provider input for resource access. + */ + resourceAccessIdentityInput: IdentityProviderInput; + /** + * The identity provider input for data plane authentication. + */ + dataPlaneAuthenticationIdentityInput?: IdentityProviderInput; +} + +/** + * Input required to add a provider. + */ +export interface AddRecoveryServicesProviderInput { + /** + * The properties of an add provider request. + */ + properties: AddRecoveryServicesProviderInputProperties; +} + +/** + * The properties of an add vCenter request. + */ +export interface AddVCenterRequestProperties { + /** + * 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 discovery is orchestrated. + */ + processServerId?: string; + /** + * The port number for discovery. + */ + port?: string; + /** + * The account Id which has privileges to discover the vCenter. + */ + runAsAccountId?: string; +} + +/** + * Input required to add vCenter. + */ +export interface AddVCenterRequest { + /** + * The properties of an add vCenter request. + */ + properties?: AddVCenterRequestProperties; +} + +/** + * Agent disk details. + */ +export interface AgentDiskDetails { + /** + * 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; + /** + * 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 lun of disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lunId?: number; +} + +/** + * Agent details. + */ +export interface AgentDetails { + /** + * The Id of the agent running on the server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly agentId?: string; + /** + * 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.** + */ + readonly machineId?: string; + /** + * The machine BIOS Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly biosId?: string; + /** + * The machine FQDN. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly fqdn?: string; + /** + * The disks. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly disks?: AgentDiskDetails[]; +} + +/** + * The properties of an alert. + */ +export interface AlertProperties { + /** + * A value indicating whether to send email to subscription administrator. + */ + sendToOwners?: string; + /** + * The custom email address for sending emails. + */ + customEmailAddresses?: string[]; + /** + * The locale for the email notification. + */ + locale?: string; +} + +/** + * Azure resource. + */ +export interface Resource extends BaseResource { + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource Name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource Type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Resource Location + */ + location?: string; +} + +/** + * Implements the Alert class. + */ +export interface Alert extends Resource { + /** + * Alert related data. + */ + properties?: AlertProperties; +} /** - * @interface - * An interface representing ApplyRecoveryPointInputProperties. * Input properties to apply recovery point. - * */ export interface ApplyRecoveryPointInputProperties { /** - * @member {string} [recoveryPointId] The recovery point Id. + * The recovery point Id. */ recoveryPointId?: string; /** - * @member {ApplyRecoveryPointProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific input for applying recovery - * point. + * Provider specific input for applying recovery point. */ - providerSpecificDetails?: ApplyRecoveryPointProviderSpecificInputUnion; + providerSpecificDetails: ApplyRecoveryPointProviderSpecificInputUnion; } /** - * @interface - * An interface representing ApplyRecoveryPointInput. * Input to apply recovery point. - * */ export interface ApplyRecoveryPointInput { /** - * @member {ApplyRecoveryPointInputProperties} [properties] The input - * properties to apply recovery point. + * The input properties to apply recovery point. */ - properties?: ApplyRecoveryPointInputProperties; + properties: ApplyRecoveryPointInputProperties; } /** @@ -1529,39 +2184,31 @@ export interface ApplyRecoveryPointInput { export type JobDetailsUnion = JobDetails | AsrJobDetails | ExportJobDetails | FailoverJobDetails | SwitchProtectionJobDetails | TestFailoverJobDetails; /** - * @interface - * An interface representing JobDetails. * Job details based on specific job type. - * */ export interface JobDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "JobDetails"; /** - * @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 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 AsrJobDetails. * This class represents job details based on specific job type. - * */ export interface AsrJobDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "AsrJobDetails"; /** - * @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 affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. */ affectedObjectDetails?: { [propertyName: string]: string }; } @@ -1569,17 +2216,14 @@ export interface AsrJobDetails { /** * Contains the possible cases for TaskTypeDetails. */ -export type TaskTypeDetailsUnion = TaskTypeDetails | AutomationRunbookTaskDetails | ConsistencyCheckTaskDetails | FabricReplicationGroupTaskDetails | JobTaskDetails | ManualActionTaskDetails | ScriptActionTaskDetails | VirtualMachineTaskDetails | VmNicUpdatesTaskDetails; +export type TaskTypeDetailsUnion = TaskTypeDetails | AutomationRunbookTaskDetails | ConsistencyCheckTaskDetails | JobTaskDetailsUnion | ManualActionTaskDetails | ScriptActionTaskDetails | VmNicUpdatesTaskDetails; /** - * @interface - * An interface representing TaskTypeDetails. * Task details based on specific task type. - * */ export interface TaskTypeDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "TaskTypeDetails"; } @@ -1587,227 +2231,200 @@ export interface TaskTypeDetails { /** * Contains the possible cases for GroupTaskDetails. */ -export type GroupTaskDetailsUnion = GroupTaskDetails | InlineWorkflowTaskDetails | RecoveryPlanGroupTaskDetails | RecoveryPlanShutdownGroupTaskDetails; +export type GroupTaskDetailsUnion = GroupTaskDetails | InlineWorkflowTaskDetails | RecoveryPlanGroupTaskDetailsUnion; /** - * @interface - * An interface representing GroupTaskDetails. - * This class represents the group task details when parent child relationship - * exists in the drill down. - * + * 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: "GroupTaskDetails"; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The child tasks. */ childTasks?: ASRTask[]; } /** - * @interface - * An interface representing ServiceError. - * ASR error model - * + * ASR error model. */ export interface ServiceError { /** - * @member {string} [code] Error code. + * Error code. */ code?: string; /** - * @member {string} [message] Error message. + * Error message. */ message?: string; /** - * @member {string} [possibleCauses] Possible causes of error. + * Possible causes of error. */ possibleCauses?: string; /** - * @member {string} [recommendedAction] Recommended action to resolve error. + * Recommended action to resolve error. */ recommendedAction?: string; /** - * @member {string} [activityId] Activity Id. + * Activity Id. */ activityId?: string; } /** - * @interface - * An interface representing ProviderError. * This class contains the error details per object. - * */ export interface ProviderError { /** - * @member {number} [errorCode] The Error code. + * The Error code. */ errorCode?: number; /** - * @member {string} [errorMessage] The Error message. + * The Error message. */ errorMessage?: string; /** - * @member {string} [errorId] The Provider error Id. + * The Provider error Id. */ errorId?: string; /** - * @member {string} [possibleCauses] The possible causes for the error. + * The possible causes for the error. */ possibleCauses?: string; /** - * @member {string} [recommendedAction] The recommended action to resolve the - * error. + * The recommended action to resolve the error. */ recommendedAction?: string; } /** - * @interface - * An interface representing JobErrorDetails. * This class contains the error details per object. - * */ export interface JobErrorDetails { /** - * @member {ServiceError} [serviceErrorDetails] The Service error details. + * The Service error details. */ serviceErrorDetails?: ServiceError; /** - * @member {ProviderError} [providerErrorDetails] The Provider error details. + * The Provider error details. */ providerErrorDetails?: ProviderError; /** - * @member {string} [errorLevel] Error level of error. + * Error level of error. */ errorLevel?: string; /** - * @member {Date} [creationTime] The creation time of job error. + * The creation time of job error. */ creationTime?: Date; /** - * @member {string} [taskId] The Id of the task. + * The Id of the task. */ taskId?: string; } /** - * @interface - * An interface representing ASRTask. * Task of the Job. - * */ export interface ASRTask { /** - * @member {string} [taskId] The Id. + * The Id. */ taskId?: string; /** - * @member {string} [name] The unique Task name. + * The unique Task name. */ name?: string; /** - * @member {Date} [startTime] The start time. + * The start time. */ startTime?: Date; /** - * @member {Date} [endTime] The end time. + * The end time. */ endTime?: Date; /** - * @member {string[]} [allowedActions] The state/actions applicable on this - * task. + * The state/actions applicable on this task. */ allowedActions?: string[]; /** - * @member {string} [friendlyName] The name. + * The name. */ friendlyName?: string; /** - * @member {string} [state] The State. It is one of these values - - * NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other. + * The State. It is one of these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, + * Suspended or Other. */ state?: string; /** - * @member {string} [stateDescription] The description of the task state. For - * example - For Succeeded state, description can be Completed, - * PartiallySucceeded, CompletedWithInformation or Skipped. + * The description of the task state. For example - For Succeeded state, description can be + * Completed, PartiallySucceeded, CompletedWithInformation or Skipped. */ stateDescription?: string; /** - * @member {string} [taskType] The type of task. Details in CustomDetails - * property depend on this type. + * The type of task. Details in CustomDetails property depend on this type. */ taskType?: string; /** - * @member {TaskTypeDetailsUnion} [customDetails] The custom task details - * based on the task type. + * The custom task details based on the task type. */ customDetails?: TaskTypeDetailsUnion; /** - * @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 custom task details based on the task type, if the task type is GroupTaskDetails or one of + * the types derived from it. */ groupTaskCustomDetails?: GroupTaskDetailsUnion; /** - * @member {JobErrorDetails[]} [errors] The task error details. + * The task error details. */ errors?: JobErrorDetails[]; } /** - * @interface - * An interface representing AutomationRunbookTaskDetails. * This class represents the task details for an automation runbook. - * */ export interface AutomationRunbookTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "AutomationRunbookTaskDetails"; /** - * @member {string} [name] The recovery plan task name. + * The recovery plan task name. */ name?: string; /** - * @member {string} [cloudServiceName] The cloud service of the automation - * runbook account. + * The cloud service of the automation runbook account. */ cloudServiceName?: string; /** - * @member {string} [subscriptionId] The subscription Id of the automation - * runbook account. + * The subscription Id of the automation runbook account. */ subscriptionId?: string; /** - * @member {string} [accountName] The automation account name of the runbook. + * The automation account name of the runbook. */ accountName?: string; /** - * @member {string} [runbookId] The runbook Id. + * The runbook Id. */ runbookId?: string; /** - * @member {string} [runbookName] The runbook name. + * The runbook name. */ runbookName?: string; /** - * @member {string} [jobId] The job Id of the runbook execution. + * The job Id of the runbook execution. */ jobId?: string; /** - * @member {string} [jobOutput] The execution output of the runbook. + * The execution output of the runbook. */ jobOutput?: string; /** - * @member {boolean} [isPrimarySideScript] A value indicating whether it is a - * primary side script or not. + * A value indicating whether it is a primary side script or not. */ isPrimarySideScript?: boolean; } @@ -1815,34 +2432,28 @@ export interface AutomationRunbookTaskDetails { /** * Contains the possible cases for FabricSpecificCreationInput. */ -export type FabricSpecificCreationInputUnion = FabricSpecificCreationInput | AzureFabricCreationInput | VMwareV2FabricCreationInput; +export type FabricSpecificCreationInputUnion = FabricSpecificCreationInput | AzureFabricCreationInput | InMageRcmFabricCreationInput | VMwareV2FabricCreationInput; /** - * @interface - * An interface representing FabricSpecificCreationInput. * Fabric provider specific settings. - * */ export interface FabricSpecificCreationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "FabricSpecificCreationInput"; } /** - * @interface - * An interface representing AzureFabricCreationInput. * Fabric provider specific settings. - * */ export interface AzureFabricCreationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "Azure"; /** - * @member {string} [location] The Location. + * The Location. */ location?: string; } @@ -1850,40 +2461,38 @@ export interface AzureFabricCreationInput { /** * Contains the possible cases for FabricSpecificDetails. */ -export type FabricSpecificDetailsUnion = FabricSpecificDetails | AzureFabricSpecificDetails | HyperVSiteDetails | VmmDetails | VMwareDetails | VMwareV2FabricSpecificDetails; +export type FabricSpecificDetailsUnion = FabricSpecificDetails | AzureFabricSpecificDetails | HyperVSiteDetails | InMageRcmFabricSpecificDetails | VmmDetails | VMwareDetails | VMwareV2FabricSpecificDetails; /** - * @interface - * An interface representing FabricSpecificDetails. * Fabric specific details. - * */ export interface FabricSpecificDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "FabricSpecificDetails"; } /** - * @interface - * An interface representing AzureFabricSpecificDetails. * Azure Fabric Specific Details. - * */ export interface AzureFabricSpecificDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "Azure"; /** - * @member {string} [location] The Location for the Azure fabric. + * The Location for the Azure fabric. */ location?: string; /** - * @member {string[]} [containerIds] The container Ids for the Azure fabric. + * The container Ids for the Azure fabric. */ containerIds?: string[]; + /** + * The zones. + */ + zones?: A2AZoneDetails[]; } /** @@ -1892,34 +2501,27 @@ export interface AzureFabricSpecificDetails { export type FabricSpecificCreateNetworkMappingInputUnion = FabricSpecificCreateNetworkMappingInput | AzureToAzureCreateNetworkMappingInput | VmmToAzureCreateNetworkMappingInput | VmmToVmmCreateNetworkMappingInput; /** - * @interface - * An interface representing FabricSpecificCreateNetworkMappingInput. * Input details specific to fabrics during Network Mapping. - * */ export interface FabricSpecificCreateNetworkMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "FabricSpecificCreateNetworkMappingInput"; } /** - * @interface - * An interface representing AzureToAzureCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to Azure to - * Azure Network mapping. - * + * Create network mappings input properties/behavior specific to Azure to Azure Network mapping. */ export interface AzureToAzureCreateNetworkMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "AzureToAzure"; /** - * @member {string} [primaryNetworkId] The primary azure vnet Id. + * The primary azure vnet Id. */ - primaryNetworkId?: string; + primaryNetworkId: string; } /** @@ -1928,35 +2530,29 @@ export interface AzureToAzureCreateNetworkMappingInput { export type NetworkMappingFabricSpecificSettingsUnion = NetworkMappingFabricSpecificSettings | AzureToAzureNetworkMappingSettings | VmmToAzureNetworkMappingSettings | VmmToVmmNetworkMappingSettings; /** - * @interface - * An interface representing NetworkMappingFabricSpecificSettings. * Network Mapping fabric specific settings. - * */ export interface NetworkMappingFabricSpecificSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "NetworkMappingFabricSpecificSettings"; } /** - * @interface - * An interface representing AzureToAzureNetworkMappingSettings. * A2A Network Mapping fabric specific settings. - * */ export interface AzureToAzureNetworkMappingSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "AzureToAzure"; /** - * @member {string} [primaryFabricLocation] The primary fabric location. + * The primary fabric location. */ primaryFabricLocation?: string; /** - * @member {string} [recoveryFabricLocation] The recovery fabric location. + * The recovery fabric location. */ recoveryFabricLocation?: string; } @@ -1967,86 +2563,81 @@ export interface AzureToAzureNetworkMappingSettings { export type FabricSpecificUpdateNetworkMappingInputUnion = FabricSpecificUpdateNetworkMappingInput | AzureToAzureUpdateNetworkMappingInput | VmmToAzureUpdateNetworkMappingInput | VmmToVmmUpdateNetworkMappingInput; /** - * @interface - * An interface representing FabricSpecificUpdateNetworkMappingInput. * Input details specific to fabrics during Network Mapping. - * */ export interface FabricSpecificUpdateNetworkMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "FabricSpecificUpdateNetworkMappingInput"; } /** - * @interface - * An interface representing AzureToAzureUpdateNetworkMappingInput. * Updates network mappings input. - * */ export interface AzureToAzureUpdateNetworkMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "AzureToAzure"; /** - * @member {string} [primaryNetworkId] The primary azure vnet Id. + * The primary azure vnet Id. */ primaryNetworkId?: string; } /** - * @interface - * An interface representing AzureVmDiskDetails. * Disk details for E2A provider. - * */ export interface AzureVmDiskDetails { /** - * @member {string} [vhdType] VHD type. + * VHD type. */ vhdType?: string; /** - * @member {string} [vhdId] The VHD id. + * The VHD id. */ vhdId?: string; /** - * @member {string} [vhdName] VHD name. + * The disk resource id. + */ + diskId?: string; + /** + * VHD name. */ vhdName?: string; /** - * @member {string} [maxSizeMB] Max side in MB. + * Max side in MB. */ maxSizeMB?: string; /** - * @member {string} [targetDiskLocation] Blob uri of the Azure disk. + * Blob uri of the Azure disk. */ targetDiskLocation?: string; /** - * @member {string} [targetDiskName] The target Azure disk name. + * The target Azure disk name. */ targetDiskName?: string; /** - * @member {string} [lunId] Ordinal\LunId of the disk for the Azure VM. + * Ordinal\LunId of the disk for the Azure VM. */ lunId?: string; + /** + * The DiskEncryptionSet ARM ID. + */ + diskEncryptionSetId?: string; } /** - * @interface - * An interface representing ComputeSizeErrorDetails. - * Represents the error used to indicate why the target compute size is not - * applicable. - * + * Represents the error used to indicate why the target compute size is not applicable. */ export interface ComputeSizeErrorDetails { /** - * @member {string} [message] The error message. + * The error message. */ message?: string; /** - * @member {string} [severity] The severity of the error. + * The severity of the error. */ severity?: string; } @@ -2054,246 +2645,209 @@ export interface ComputeSizeErrorDetails { /** * Contains the possible cases for ConfigurationSettings. */ -export type ConfigurationSettingsUnion = ConfigurationSettings | HyperVVirtualMachineDetails | ReplicationGroupDetails | VmmVirtualMachineDetails | VMwareVirtualMachineDetails; +export type ConfigurationSettingsUnion = ConfigurationSettings | HyperVVirtualMachineDetailsUnion | ReplicationGroupDetails | VMwareVirtualMachineDetails; /** - * @interface - * An interface representing ConfigurationSettings. * Replication provider specific settings. - * */ export interface ConfigurationSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ConfigurationSettings"; } /** - * @interface - * An interface representing ConfigureAlertRequestProperties. * Properties of a configure alert request. - * */ export interface ConfigureAlertRequestProperties { /** - * @member {string} [sendToOwners] A value indicating whether to send email - * to subscription administrator. + * A value indicating whether to send email to subscription administrator. */ sendToOwners?: string; /** - * @member {string[]} [customEmailAddresses] The custom email address for - * sending emails. + * The custom email address for sending emails. */ customEmailAddresses?: string[]; /** - * @member {string} [locale] The locale for the email notification. + * The locale for the email notification. */ locale?: string; } /** - * @interface - * An interface representing ConfigureAlertRequest. * Request to configure alerts for the system. - * */ export interface ConfigureAlertRequest { /** - * @member {ConfigureAlertRequestProperties} [properties] The properties of a - * configure alert request. + * The properties of a configure alert request. */ properties?: ConfigureAlertRequestProperties; } /** - * @interface - * An interface representing InconsistentVmDetails. - * This class stores the monitoring details for consistency check of - * inconsistent Protected Entity. - * + * This class stores the monitoring details for consistency check of inconsistent Protected Entity. */ export interface InconsistentVmDetails { /** - * @member {string} [vmName] The Vm name. + * The Vm name. */ vmName?: string; /** - * @member {string} [cloudName] The Cloud name. + * The Cloud name. */ cloudName?: string; /** - * @member {string[]} [details] The list of details regarding state of the - * Protected Entity in SRS and On prem. + * The list of details regarding state of the Protected Entity in SRS and On prem. */ details?: string[]; /** - * @member {string[]} [errorIds] The list of error ids. + * The list of error ids. */ errorIds?: string[]; } /** - * @interface - * An interface representing ConsistencyCheckTaskDetails. - * This class contains monitoring details of all the inconsistent Protected - * Entites in Vmm. - * + * This class contains monitoring details of all the inconsistent Protected Entities in Vmm. */ export interface ConsistencyCheckTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ConsistencyCheckTaskDetails"; /** - * @member {InconsistentVmDetails[]} [vmDetails] The list of inconsistent Vm - * details. + * The list of inconsistent Vm details. */ vmDetails?: InconsistentVmDetails[]; } /** - * @interface - * An interface representing CreateNetworkMappingInputProperties. * Common input details for network mapping operation. - * */ export interface CreateNetworkMappingInputProperties { /** - * @member {string} [recoveryFabricName] Recovery fabric Name. + * Recovery fabric Name. */ recoveryFabricName?: string; /** - * @member {string} [recoveryNetworkId] Recovery network Id. + * Recovery network Id. */ - recoveryNetworkId?: string; + recoveryNetworkId: string; /** - * @member {FabricSpecificCreateNetworkMappingInputUnion} - * [fabricSpecificDetails] Fabric specific input properties. + * Fabric specific input properties. */ fabricSpecificDetails?: FabricSpecificCreateNetworkMappingInputUnion; } /** - * @interface - * An interface representing CreateNetworkMappingInput. * Create network mappings input. - * */ export interface CreateNetworkMappingInput { /** - * @member {CreateNetworkMappingInputProperties} [properties] Input - * properties for creating network mapping. + * Input properties for creating network mapping. */ - properties?: CreateNetworkMappingInputProperties; + properties: CreateNetworkMappingInputProperties; } /** - * @interface - * An interface representing CreatePolicyInputProperties. * Policy creation properties. - * */ export interface CreatePolicyInputProperties { /** - * @member {PolicyProviderSpecificInputUnion} [providerSpecificInput] The - * ReplicationProviderSettings. + * The ReplicationProviderSettings. */ providerSpecificInput?: PolicyProviderSpecificInputUnion; } /** - * @interface - * An interface representing CreatePolicyInput. * Protection Policy input. - * */ export interface CreatePolicyInput { /** - * @member {CreatePolicyInputProperties} [properties] Policy creation - * properties. + * Policy creation properties. */ properties?: CreatePolicyInputProperties; } /** - * @interface - * An interface representing CreateProtectionContainerInputProperties. * Create protection container input properties. - * */ export interface CreateProtectionContainerInputProperties { /** - * @member {ReplicationProviderSpecificContainerCreationInputUnion[]} - * [providerSpecificInput] Provider specific inputs for container creation. + * Provider specific inputs for container creation. */ providerSpecificInput?: ReplicationProviderSpecificContainerCreationInputUnion[]; } /** - * @interface - * An interface representing CreateProtectionContainerInput. * Create protection container input. - * */ export interface CreateProtectionContainerInput { /** - * @member {CreateProtectionContainerInputProperties} [properties] Create - * protection container input properties. + * Create protection container input properties. */ properties?: CreateProtectionContainerInputProperties; } /** - * @interface - * An interface representing CreateProtectionContainerMappingInputProperties. * Configure pairing input properties. - * */ export interface CreateProtectionContainerMappingInputProperties { /** - * @member {string} [targetProtectionContainerId] The target unique - * protection container name. + * The target unique protection container name. */ targetProtectionContainerId?: string; /** - * @member {string} [policyId] Applicable policy. + * Applicable policy. */ policyId?: string; /** - * @member {ReplicationProviderSpecificContainerMappingInputUnion} - * [providerSpecificInput] Provider specific input for pairing. + * Provider specific input for pairing. */ providerSpecificInput?: ReplicationProviderSpecificContainerMappingInputUnion; } /** - * @interface - * An interface representing CreateProtectionContainerMappingInput. * Configure pairing input. - * */ export interface CreateProtectionContainerMappingInput { /** - * @member {CreateProtectionContainerMappingInputProperties} [properties] * Configure protection input properties. */ properties?: CreateProtectionContainerMappingInputProperties; } /** - * @interface - * An interface representing RecoveryPlanProtectedItem. + * Create protection intent input properties. + */ +export interface CreateProtectionIntentProperties { + /** + * The ReplicationProviderInput. For A2A provider, it will be A2ACreateProtectionIntentInput + * object. + */ + providerSpecificDetails?: CreateProtectionIntentProviderSpecificDetailsUnion; +} + +/** + * Create protection intent input. + */ +export interface CreateProtectionIntentInput { + /** + * Create protection intent input properties. + */ + properties?: CreateProtectionIntentProperties; +} + +/** * Recovery plan protected item. - * */ export interface RecoveryPlanProtectedItem { /** - * @member {string} [id] The ARM Id of the recovery plan protected item. + * The ARM Id of the recovery plan protected item. */ id?: string; /** - * @member {string} [virtualMachineId] The virtual machine Id. + * The virtual machine Id. */ virtualMachineId?: string; } @@ -2304,160 +2858,172 @@ export interface RecoveryPlanProtectedItem { export type RecoveryPlanActionDetailsUnion = RecoveryPlanActionDetails | RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails; /** - * @interface - * An interface representing RecoveryPlanActionDetails. * Recovery plan action custom details. - * */ export interface RecoveryPlanActionDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "RecoveryPlanActionDetails"; } /** - * @interface - * An interface representing RecoveryPlanAction. * Recovery plan action details. - * */ export interface RecoveryPlanAction { /** - * @member {string} actionName The action name. + * The action name. */ actionName: string; /** - * @member {ReplicationProtectedItemOperation[]} failoverTypes The list of - * failover types. + * The list of failover types. */ failoverTypes: ReplicationProtectedItemOperation[]; /** - * @member {PossibleOperationsDirections[]} failoverDirections The list of - * failover directions. + * The list of failover directions. */ failoverDirections: PossibleOperationsDirections[]; /** - * @member {RecoveryPlanActionDetailsUnion} customDetails The custom details. + * The custom details. */ customDetails: RecoveryPlanActionDetailsUnion; } /** - * @interface - * An interface representing RecoveryPlanGroup. * Recovery plan group details. - * */ export interface RecoveryPlanGroup { /** - * @member {RecoveryPlanGroupType} groupType The group type. Possible values - * include: 'Shutdown', 'Boot', 'Failover' + * The group type. Possible values include: 'Shutdown', 'Boot', 'Failover' */ groupType: RecoveryPlanGroupType; /** - * @member {RecoveryPlanProtectedItem[]} [replicationProtectedItems] The list - * of protected items. + * The list of protected items. */ replicationProtectedItems?: RecoveryPlanProtectedItem[]; /** - * @member {RecoveryPlanAction[]} [startGroupActions] The start group - * actions. + * The start group actions. */ startGroupActions?: RecoveryPlanAction[]; /** - * @member {RecoveryPlanAction[]} [endGroupActions] The end group actions. + * The end group actions. */ endGroupActions?: RecoveryPlanAction[]; } /** - * @interface - * An interface representing CreateRecoveryPlanInputProperties. + * Contains the possible cases for RecoveryPlanProviderSpecificInput. + */ +export type RecoveryPlanProviderSpecificInputUnion = RecoveryPlanProviderSpecificInput | RecoveryPlanA2AInput; + +/** + * Recovery plan provider specific input base class. + */ +export interface RecoveryPlanProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "RecoveryPlanProviderSpecificInput"; +} + +/** * Recovery plan creation properties. - * */ export interface CreateRecoveryPlanInputProperties { /** - * @member {string} primaryFabricId The primary fabric Id. + * The primary fabric Id. */ primaryFabricId: string; /** - * @member {string} recoveryFabricId The recovery fabric Id. + * The recovery fabric Id. */ recoveryFabricId: string; /** - * @member {FailoverDeploymentModel} [failoverDeploymentModel] The failover - * deployment model. Possible values include: 'NotApplicable', 'Classic', + * The failover deployment model. Possible values include: 'NotApplicable', 'Classic', * 'ResourceManager' */ failoverDeploymentModel?: FailoverDeploymentModel; /** - * @member {RecoveryPlanGroup[]} groups The recovery plan groups. + * The recovery plan groups. */ groups: RecoveryPlanGroup[]; + /** + * The provider specific input. + */ + providerSpecificInput?: RecoveryPlanProviderSpecificInputUnion[]; } /** - * @interface - * An interface representing CreateRecoveryPlanInput. * Create recovery plan input class. - * */ export interface CreateRecoveryPlanInput { /** - * @member {CreateRecoveryPlanInputProperties} properties Recovery plan - * creation properties. + * Recovery plan creation properties. */ properties: CreateRecoveryPlanInputProperties; } /** - * @interface - * An interface representing CurrentScenarioDetails. + * Current job details of the migration item. + */ +export interface CurrentJobDetails { + /** + * The job name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly jobName?: string; + /** + * The ARM Id of the job being executed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly jobId?: string; + /** + * The start time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startTime?: Date; +} + +/** * Current scenario details of the protected entity. - * */ export interface CurrentScenarioDetails { /** - * @member {string} [scenarioName] Scenario name. + * Scenario name. */ scenarioName?: string; /** - * @member {string} [jobId] ARM Id of the job being executed. + * ARM Id of the job being executed. */ jobId?: string; /** - * @member {Date} [startTime] Start time of the workflow. + * Start time of the workflow. */ startTime?: Date; } /** - * @interface - * An interface representing DataStore. * The datastore details of the MT. - * */ export interface DataStore { /** - * @member {string} [symbolicName] The symbolic name of data store. + * The symbolic name of data store. */ symbolicName?: string; /** - * @member {string} [uuid] The uuid of data store. + * The uuid of data store. */ uuid?: string; /** - * @member {string} [capacity] The capacity of data store in GBs. + * The capacity of data store in GBs. */ capacity?: string; /** - * @member {string} [freeSpace] The free space of data store in GBs. + * The free space of data store in GBs. */ freeSpace?: string; /** - * @member {string} [type] The type of data store. + * The type of data store. */ type?: string; } @@ -2468,7191 +3034,10596 @@ export interface DataStore { export type DisableProtectionProviderSpecificInputUnion = DisableProtectionProviderSpecificInput | InMageDisableProtectionProviderSpecificInput; /** - * @interface - * An interface representing DisableProtectionProviderSpecificInput. * Disable protection provider specific input. - * */ export interface DisableProtectionProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "DisableProtectionProviderSpecificInput"; } /** - * @interface - * An interface representing DisableProtectionInputProperties. * Disable protection input properties. - * */ export interface DisableProtectionInputProperties { /** - * @member {DisableProtectionReason} [disableProtectionReason] Disable - * protection reason. It can have values NotSpecified/MigrationComplete. - * Possible values include: 'NotSpecified', 'MigrationComplete' + * Disable protection reason. It can have values NotSpecified/MigrationComplete. Possible values + * include: 'NotSpecified', 'MigrationComplete' */ disableProtectionReason?: DisableProtectionReason; /** - * @member {DisableProtectionProviderSpecificInputUnion} - * [replicationProviderInput] Replication provider specific input. + * Replication provider specific input. */ replicationProviderInput?: DisableProtectionProviderSpecificInputUnion; } /** - * @interface - * An interface representing DisableProtectionInput. * Disable protection input. - * */ export interface DisableProtectionInput { /** - * @member {DisableProtectionInputProperties} [properties] Disable protection - * input properties. + * Disable protection input properties. */ - properties?: DisableProtectionInputProperties; + properties: DisableProtectionInputProperties; } /** - * @interface - * An interface representing DiscoverProtectableItemRequestProperties. * Discover protectable item properties. - * */ export interface DiscoverProtectableItemRequestProperties { /** - * @member {string} [friendlyName] The friendly name of the physical machine. + * The friendly name of the physical machine. */ friendlyName?: string; /** - * @member {string} [ipAddress] The IP address of the physical machine to be - * discovered. + * The IP address of the physical machine to be discovered. */ ipAddress?: string; /** - * @member {string} [osType] The OS type on the physical machine. + * The OS type on the physical machine. */ osType?: string; } /** - * @interface - * An interface representing DiscoverProtectableItemRequest. * Request to add a physical machine as a protectable item in a container. - * */ export interface DiscoverProtectableItemRequest { /** - * @member {DiscoverProtectableItemRequestProperties} [properties] The - * properties of a discover protectable item request. + * The properties of a discover protectable item request. */ properties?: DiscoverProtectableItemRequestProperties; } /** - * @interface - * An interface representing DiskDetails. * Onprem disk details data. - * */ export interface DiskDetails { /** - * @member {number} [maxSizeMB] The hard disk max size in MB. + * The hard disk max size in MB. */ maxSizeMB?: number; /** - * @member {string} [vhdType] The type of the volume. + * The type of the volume. */ vhdType?: string; /** - * @member {string} [vhdId] The VHD Id. + * The VHD Id. */ vhdId?: string; /** - * @member {string} [vhdName] The VHD name. + * The VHD name. */ vhdName?: string; } /** - * @interface - * An interface representing DiskVolumeDetails. * Volume details. - * */ export interface DiskVolumeDetails { /** - * @member {string} [label] The volume label. + * The volume label. */ label?: string; /** - * @member {string} [name] The volume name. + * The volume name. */ name?: string; } /** - * @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. - * + * 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 Display { /** - * @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." + * 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.". */ provider?: 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" + * 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". */ resource?: 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' + * 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'. */ operation?: string; /** - * @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' + * 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'. */ description?: string; } /** - * @interface - * An interface representing EnableProtectionInputProperties. - * Enable protection input properties. - * + * 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 EnableProtectionInputProperties { +export interface InnerHealthError { /** - * @member {string} [policyId] The Policy Id. + * Source of error. */ - policyId?: string; + errorSource?: string; /** - * @member {string} [protectableItemId] The protectable item Id. + * Type of error. */ - protectableItemId?: string; + errorType?: string; /** - * @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. + * Level of error. */ - providerSpecificDetails?: EnableProtectionProviderSpecificInputUnion; -} - -/** - * @interface - * An interface representing EnableProtectionInput. - * Enable protection input. - * - */ -export interface EnableProtectionInput { + errorLevel?: string; /** - * @member {EnableProtectionInputProperties} [properties] Enable protection - * input properties. + * Category of error. */ - properties?: EnableProtectionInputProperties; -} - -/** - * @interface - * An interface representing EncryptionDetails. - * Encryption details for the fabric. - * - */ -export interface EncryptionDetails { + errorCategory?: string; /** - * @member {string} [kekState] The key encryption key state for the Vmm. + * Error code. */ - kekState?: string; + errorCode?: string; /** - * @member {string} [kekCertThumbprint] The key encryption key certificate - * thumbprint. + * Summary message of the entity. */ - kekCertThumbprint?: string; + summaryMessage?: string; /** - * @member {Date} [kekCertExpiryDate] The key encryption key certificate - * expiry date. + * Error message. */ - kekCertExpiryDate?: Date; -} - -/** - * Contains the possible cases for EventSpecificDetails. - */ -export type EventSpecificDetailsUnion = EventSpecificDetails | JobStatusEventDetails; - -/** - * @interface - * An interface representing EventSpecificDetails. - * Model class for event specific details for an event. - * - */ -export interface EventSpecificDetails { + errorMessage?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * Possible causes of error. */ - instanceType: "EventSpecificDetails"; + possibleCauses?: string; + /** + * Recommended action to resolve error. + */ + recommendedAction?: string; + /** + * Error creation time (UTC). + */ + creationTimeUtc?: Date; + /** + * DRA error message. + */ + recoveryProviderErrorMessage?: string; + /** + * ID of the entity. + */ + 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 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. - * + * Health Error. */ -export interface InnerHealthError { +export interface HealthError { + /** + * 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. + * Source of error. */ errorSource?: string; /** - * @member {string} [errorType] Type of error. + * Type of error. */ errorType?: string; /** - * @member {string} [errorLevel] Level of error. + * Level of error. */ errorLevel?: string; /** - * @member {string} [errorCategory] Category of error. + * Category of error. */ errorCategory?: string; /** - * @member {string} [errorCode] Error code. + * Error code. */ errorCode?: string; /** - * @member {string} [summaryMessage] Summary message of the entity. + * Summary message of the entity. */ summaryMessage?: string; /** - * @member {string} [errorMessage] Error message. + * Error message. */ errorMessage?: string; /** - * @member {string} [possibleCauses] Possible causes of error. + * Possible causes of error. */ possibleCauses?: string; /** - * @member {string} [recommendedAction] Recommended action to resolve error. + * Recommended action to resolve error. */ recommendedAction?: string; /** - * @member {Date} [creationTimeUtc] Error creation time (UTC) + * Error creation time (UTC). */ creationTimeUtc?: Date; /** - * @member {string} [recoveryProviderErrorMessage] DRA error message. + * DRA error message. */ recoveryProviderErrorMessage?: string; /** - * @member {string} [entityId] ID of the entity. + * ID of the entity. */ 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 HealthError. - * Health Error - * + * DRA details. */ -export interface HealthError { +export interface DraDetails { /** - * @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. + * The DRA Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - innerHealthErrors?: InnerHealthError[]; + readonly id?: string; /** - * @member {string} [errorSource] Source of error. + * The DRA name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errorSource?: string; + readonly name?: string; /** - * @member {string} [errorType] Type of error. + * The DRA Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errorType?: string; + readonly biosId?: string; /** - * @member {string} [errorLevel] Level of error. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errorLevel?: string; + readonly version?: string; /** - * @member {string} [errorCategory] Category of error. + * The last heartbeat received from the DRA. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errorCategory?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [errorCode] Error code. + * The health. Possible values include: 'None', 'Normal', 'Warning', 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errorCode?: string; + readonly health?: ProtectionHealth; /** - * @member {string} [summaryMessage] Summary message of the entity. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - summaryMessage?: string; + readonly healthErrors?: HealthError[]; +} + +/** + * Contains the possible cases for EnableMigrationProviderSpecificInput. + */ +export type EnableMigrationProviderSpecificInputUnion = EnableMigrationProviderSpecificInput | VMwareCbtEnableMigrationInput; + +/** + * Enable migration provider specific input. + */ +export interface EnableMigrationProviderSpecificInput { /** - * @member {string} [errorMessage] Error message. + * Polymorphic Discriminator */ - errorMessage?: string; + instanceType: "EnableMigrationProviderSpecificInput"; +} + +/** + * Enable migration input properties. + */ +export interface EnableMigrationInputProperties { /** - * @member {string} [possibleCauses] Possible causes of error. + * The policy Id. */ - possibleCauses?: string; + policyId: string; /** - * @member {string} [recommendedAction] Recommended action to resolve error. + * The provider specific details. */ - recommendedAction?: string; + providerSpecificDetails: EnableMigrationProviderSpecificInputUnion; +} + +/** + * Enable migration input. + */ +export interface EnableMigrationInput { /** - * @member {Date} [creationTimeUtc] Error creation time (UTC) + * Enable migration input properties. */ - creationTimeUtc?: Date; + properties: EnableMigrationInputProperties; +} + +/** + * Enable protection input properties. + */ +export interface EnableProtectionInputProperties { /** - * @member {string} [recoveryProviderErrorMessage] DRA error message. + * The Policy Id. */ - recoveryProviderErrorMessage?: string; + policyId?: string; /** - * @member {string} [entityId] ID of the entity. + * The protectable item Id. */ - entityId?: string; + protectableItemId?: string; + /** + * 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?: EnableProtectionProviderSpecificInputUnion; +} + +/** + * Enable protection input. + */ +export interface EnableProtectionInput { + /** + * Enable protection input properties. + */ + properties?: EnableProtectionInputProperties; +} + +/** + * Encryption details for the fabric. + */ +export interface EncryptionDetails { + /** + * The key encryption key state for the Vmm. + */ + kekState?: string; + /** + * The key encryption key certificate thumbprint. + */ + kekCertThumbprint?: string; + /** + * The key encryption key certificate expiry date. + */ + 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 { + /** + * Polymorphic Discriminator + */ + instanceType: "EventSpecificDetails"; } /** - * @interface - * An interface representing EventProperties. * The properties of a monitoring event. - * */ export interface EventProperties { /** - * @member {string} [eventCode] The Id of the monitoring event. + * The Id of the monitoring event. */ eventCode?: string; /** - * @member {string} [description] The event name. + * The event name. */ description?: string; /** - * @member {string} [eventType] The type of the event. for example: VM - * Health, Server Health, Job Failure etc. + * 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). + * 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. + * The affected object correlationId for the event. + */ + affectedObjectCorrelationId?: string; + /** + * The severity of the event. */ severity?: string; /** - * @member {Date} [timeOfOccurrence] The time of occurence of the event. + * The time of occurrence of the event. */ timeOfOccurrence?: Date; /** - * @member {string} [fabricId] The ARM ID of the fabric. + * The ARM ID of the fabric. */ fabricId?: string; /** - * @member {EventProviderSpecificDetailsUnion} [providerSpecificDetails] The - * provider specific settings. + * The provider specific settings. */ providerSpecificDetails?: EventProviderSpecificDetailsUnion; /** - * @member {EventSpecificDetailsUnion} [eventSpecificDetails] The event - * specific settings. + * The event specific settings. */ eventSpecificDetails?: EventSpecificDetailsUnion; /** - * @member {HealthError[]} [healthErrors] The list of errors / warnings - * capturing details associated with the issue(s). + * The list of errors / warnings capturing details associated with the issue(s). */ healthErrors?: HealthError[]; } /** - * @interface - * An interface representing Event. * Implements the Event class. - * - * @extends Resource */ export interface Event extends Resource { /** - * @member {EventProperties} [properties] Event related data. + * Event related data. */ properties?: EventProperties; } /** - * @interface - * An interface representing EventQueryParameter. * Implements the event query parameter. - * */ export interface EventQueryParameter { /** - * @member {string} [eventCode] The source id of the events to be queried. + * The source id of the events to be queried. */ eventCode?: string; /** - * @member {string} [severity] The severity of the events to be queried. + * The severity of the events to be queried. */ severity?: string; /** - * @member {string} [eventType] The type of the events to be queried. + * The type of the events to be queried. */ eventType?: string; /** - * @member {string} [fabricName] The affected object server id of the events - * to be queried. + * The affected object server id of the events to be queried. */ fabricName?: string; /** - * @member {string} [affectedObjectFriendlyName] The affected object name of - * the events to be queried. + * The affected object name of the events to be queried. */ affectedObjectFriendlyName?: string; /** - * @member {Date} [startTime] The start time of the time range within which - * the events are to be queried. + * The affected object correlationId for the events to be queried. + */ + affectedObjectCorrelationId?: string; + /** + * The start time of the time range within which the events are to be queried. */ startTime?: Date; /** - * @member {Date} [endTime] The end time of the time range within which the - * events are to be queried. + * The end time of the time range within which the events are to be queried. */ endTime?: Date; } /** - * @interface - * An interface representing ExportJobDetails. + * Existing storage account input. + */ +export interface ExistingProtectionProfile { + /** + * Polymorphic Discriminator + */ + resourceType: "Existing"; + /** + * The protection profile Arm Id. Throw error, if resource does not exists. + */ + protectionProfileId: string; +} + +/** + * Existing recovery availability set input. + */ +export interface ExistingRecoveryAvailabilitySet { + /** + * Polymorphic Discriminator + */ + resourceType: "Existing"; + /** + * The recovery availability set Id. Will throw error, if resource does not exist. + */ + recoveryAvailabilitySetId?: string; +} + +/** + * Existing recovery proximity placement group input. + */ +export interface ExistingRecoveryProximityPlacementGroup { + /** + * Polymorphic Discriminator + */ + resourceType: "Existing"; + /** + * The recovery proximity placement group Id. Will throw error, if resource does not exist. + */ + recoveryProximityPlacementGroupId?: string; +} + +/** + * Existing recovery resource group input. + */ +export interface ExistingRecoveryRecoveryResourceGroup { + /** + * Polymorphic Discriminator + */ + resourceType: "Existing"; + /** + * The recovery resource group Id. Valid for V2 scenarios. + */ + recoveryResourceGroupId?: string; +} + +/** + * Existing recovery virtual network input. + */ +export interface ExistingRecoveryVirtualNetwork { + /** + * Polymorphic Discriminator + */ + resourceType: "Existing"; + /** + * The recovery virtual network Id. Will throw error, if resource does not exist. + */ + recoveryVirtualNetworkId: string; + /** + * The recovery subnet name. + */ + recoverySubnetName?: string; +} + +/** + * Existing storage account input. + */ +export interface ExistingStorageAccount { + /** + * Polymorphic Discriminator + */ + resourceType: "Existing"; + /** + * The storage account Arm Id. Throw error, if resource does not exists. + */ + azureStorageAccountId: string; +} + +/** * This class represents details for export jobs workflow. - * */ export interface ExportJobDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ExportJobDetails"; /** - * @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 affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. */ affectedObjectDetails?: { [propertyName: string]: string }; /** - * @member {string} [blobUri] BlobUri of the exported jobs. + * BlobUri of the exported jobs. */ blobUri?: string; /** - * @member {string} [sasToken] The sas token to access blob. + * The sas token to access blob. */ sasToken?: string; } /** - * @interface - * An interface representing FabricProperties. * Fabric properties. - * */ export interface FabricProperties { /** - * @member {string} [friendlyName] Friendly name of the fabric. + * Friendly name of the fabric. */ friendlyName?: string; /** - * @member {EncryptionDetails} [encryptionDetails] Encryption details for the - * fabric. + * Encryption details for the fabric. */ encryptionDetails?: EncryptionDetails; /** - * @member {EncryptionDetails} [rolloverEncryptionDetails] Rollover - * encryption details for the fabric. + * Rollover encryption details for the fabric. */ rolloverEncryptionDetails?: EncryptionDetails; /** - * @member {string} [internalIdentifier] Dra Registration Id. + * Dra Registration Id. */ internalIdentifier?: string; /** - * @member {string} [bcdrState] BCDR state of the fabric. + * BCDR state of the fabric. */ bcdrState?: string; /** - * @member {FabricSpecificDetailsUnion} [customDetails] Fabric specific - * settings. + * Fabric specific settings. */ customDetails?: FabricSpecificDetailsUnion; /** - * @member {HealthError[]} [healthErrorDetails] Fabric health error details. + * Fabric health error details. */ healthErrorDetails?: HealthError[]; /** - * @member {string} [health] Health of fabric. + * Health of fabric. */ health?: string; } /** - * @interface - * An interface representing Fabric. * Fabric definition. - * - * @extends Resource */ export interface Fabric extends Resource { /** - * @member {FabricProperties} [properties] Fabric related data. + * Fabric related data. */ properties?: FabricProperties; } /** - * @interface - * An interface representing FabricCreationInputProperties. - * Properties of site details provided during the time of site creation - * + * Properties of site details provided during the time of site creation. */ export interface FabricCreationInputProperties { /** - * @member {FabricSpecificCreationInputUnion} [customDetails] Fabric provider - * specific creation input. + * Fabric provider specific creation input. */ customDetails?: FabricSpecificCreationInputUnion; } /** - * @interface - * An interface representing FabricCreationInput. - * Site details provided during the time of site creation - * + * Site details provided during the time of site creation. */ export interface FabricCreationInput { /** - * @member {FabricCreationInputProperties} [properties] Fabric creation - * input. + * Fabric creation input. */ properties?: FabricCreationInputProperties; } /** - * @interface - * An interface representing JobEntity. - * This class contains the minimal job details required to navigate to the - * desired drill down. - * + * Query parameter to get fabric. */ -export interface JobEntity { +export interface FabricQueryParameter { /** - * @member {string} [jobId] The job id. + * A value indicating whether the zone to zone mappings are to be returned. */ - jobId?: string; + zoneToZoneMappings?: string; /** - * @member {string} [jobFriendlyName] The job display name. + * A value indicating whether the agent details are to be fetched. */ - jobFriendlyName?: string; + fetchAgentDetails?: string; /** - * @member {string} [targetObjectId] The object id. + * The BIOS Id to be used for fetching agent details. */ - targetObjectId?: string; + biosId?: string; /** - * @member {string} [targetObjectName] The object name. + * The FQDN to be used for fetching agent details. */ - targetObjectName?: string; + fqdn?: string; /** - * @member {string} [targetInstanceType] The workflow affected object type. + * The type of the discovered machine to be used for fetching agent details. */ - targetInstanceType?: string; + discoveryType?: string; /** - * @member {string} [jobScenarioName] The job name. Enum type ScenarioName. + * The OS type to be used for fetching agent details. */ - jobScenarioName?: string; + osType?: string; } /** - * @interface - * An interface representing FabricReplicationGroupTaskDetails. - * This class represents the fabric replication group task details. - * + * Contains the possible cases for JobTaskDetails. */ -export interface FabricReplicationGroupTaskDetails { +export type JobTaskDetailsUnion = JobTaskDetails | FabricReplicationGroupTaskDetails | VirtualMachineTaskDetails; + +/** + * This class represents a task which is actually a workflow so that one can navigate to its + * individual drill down. + */ +export interface JobTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "FabricReplicationGroupTaskDetails"; + instanceType: "JobTaskDetails"; /** - * @member {string} [skippedReason] The skipped reason. + * The job entity. */ - skippedReason?: string; + jobTask?: JobEntity; +} + +/** + * This class represents the fabric replication group task details. + */ +export interface FabricReplicationGroupTaskDetails { /** - * @member {string} [skippedReasonString] The skipped reason string. + * Polymorphic Discriminator */ - skippedReasonString?: string; + instanceType: "FabricReplicationGroupTaskDetails"; /** - * @member {JobEntity} [jobTask] The job entity. + * The job entity. */ jobTask?: JobEntity; + /** + * The skipped reason. + */ + skippedReason?: string; + /** + * The skipped reason string. + */ + skippedReasonString?: string; } /** - * @interface - * An interface representing FailoverReplicationProtectedItemDetails. * Failover details for a replication protected item. - * */ export interface FailoverReplicationProtectedItemDetails { /** - * @member {string} [name] The name. + * The name. */ name?: string; /** - * @member {string} [friendlyName] The friendly name. + * The friendly name. */ friendlyName?: string; /** - * @member {string} [testVmName] The test Vm name. + * The test Vm name. */ testVmName?: string; /** - * @member {string} [testVmFriendlyName] The test Vm friendly name. + * The test Vm friendly name. */ testVmFriendlyName?: string; /** - * @member {string} [networkConnectionStatus] The network connection status. + * The network connection status. */ networkConnectionStatus?: string; /** - * @member {string} [networkFriendlyName] The network friendly name. + * The network friendly name. */ networkFriendlyName?: string; /** - * @member {string} [subnet] The network subnet. + * The network subnet. */ subnet?: string; /** - * @member {string} [recoveryPointId] The recovery point Id. + * The recovery point Id. */ recoveryPointId?: string; /** - * @member {Date} [recoveryPointTime] The recovery point time. + * The recovery point time. */ recoveryPointTime?: Date; } /** - * @interface - * An interface representing FailoverJobDetails. * This class represents the details for a failover job. - * */ export interface FailoverJobDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "FailoverJobDetails"; /** - * @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 affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. */ affectedObjectDetails?: { [propertyName: string]: string }; /** - * @member {FailoverReplicationProtectedItemDetails[]} [protectedItemDetails] * The test VM details. */ protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; } /** - * @interface - * An interface representing FailoverProcessServerRequestProperties. * The properties of the Failover Process Server request. - * */ export interface FailoverProcessServerRequestProperties { /** - * @member {string} [containerName] The container identifier. + * The container identifier. */ containerName?: string; /** - * @member {string} [sourceProcessServerId] The source process server. + * The source process server. */ sourceProcessServerId?: string; /** - * @member {string} [targetProcessServerId] The new process server. + * The new process server. */ targetProcessServerId?: string; /** - * @member {string[]} [vmsToMigrate] The VMS to migrate. + * The VMS to migrate. */ vmsToMigrate?: string[]; /** - * @member {string} [updateType] A value for failover type. It can be - * systemlevel/serverlevel + * A value for failover type. It can be systemlevel/serverlevel. */ updateType?: string; } /** - * @interface - * An interface representing FailoverProcessServerRequest. * Request to failover a process server. - * */ export interface FailoverProcessServerRequest { /** - * @member {FailoverProcessServerRequestProperties} [properties] The - * properties of the PS Failover request. + * The properties of the PS Failover request. */ properties?: FailoverProcessServerRequestProperties; } /** - * @interface - * An interface representing HealthErrorSummary. * class to define the summary of the health error details. - * */ export interface HealthErrorSummary { /** - * @member {string} [summaryCode] The code of the health error. + * The code of the health error. */ summaryCode?: string; /** - * @member {HealthErrorCategory} [category] The category of the health error. - * Possible values include: 'None', 'Replication', 'TestFailover', - * 'Configuration', 'FabricInfrastructure', 'VersionExpiry', - * 'AgentAutoUpdate' + * The category of the health error. Possible values include: 'None', 'Replication', + * 'TestFailover', 'Configuration', 'FabricInfrastructure', 'VersionExpiry', + * 'AgentAutoUpdateInfra', 'AgentAutoUpdateArtifactDeleted', 'AgentAutoUpdateRunAsAccount', + * 'AgentAutoUpdateRunAsAccountExpiry', 'AgentAutoUpdateRunAsAccountExpired' */ category?: HealthErrorCategory; /** - * @member {Severity} [severity] Severity of error. Possible values include: - * 'NONE', 'Warning', 'Error', 'Info' + * Severity of error. Possible values include: 'NONE', 'Warning', 'Error', 'Info' */ severity?: Severity; /** - * @member {string} [summaryMessage] The summary message of the health error. + * The summary message of the health error. */ summaryMessage?: string; /** - * @member {string} [affectedResourceType] The type of affected ARM resource. + * The type of affected ARM resource. */ affectedResourceType?: string; /** - * @member {string} [affectedResourceSubtype] The sub type of any - * subcomponent within the ARM resource that this might be applicable. Value + * The sub type of any subcomponent within the ARM resource that this might be applicable. Value * remains null if not applicable. */ affectedResourceSubtype?: 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. + * 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 HyperVReplica2012EventDetails. + * Hyper-V host details. + */ +export interface HyperVHostDetails { + /** + * The Hyper-V host Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The Hyper-V host name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The Mars agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly marsAgentVersion?: string; +} + +/** * Model class for event details of a HyperVReplica E2E event. - * */ export interface HyperVReplica2012EventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ 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 HyperVReplica2012R2EventDetails. * Model class for event details of a HyperVReplica blue E2E event. - * */ export interface HyperVReplica2012R2EventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplica2012R2"; /** - * @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 HyperVReplicaAzureApplyRecoveryPointInput. * ApplyRecoveryPoint input specific to HyperVReplicaAzure provider. - * */ export interface HyperVReplicaAzureApplyRecoveryPointInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzure"; /** - * @member {string} [vaultLocation] The vault location where the recovery Vm - * resides. - */ - vaultLocation?: string; - /** - * @member {string} [primaryKekCertificatePfx] The primary kek certificate - * pfx. + * The primary kek certificate pfx. */ primaryKekCertificatePfx?: string; /** - * @member {string} [secondaryKekCertificatePfx] The secondary kek - * certificate pfx. + * The secondary kek certificate pfx. */ secondaryKekCertificatePfx?: string; } /** - * @interface - * An interface representing HyperVReplicaAzureEnableProtectionInput. - * Azure specific enable protection input. - * + * Disk input details. + */ +export interface HyperVReplicaAzureDiskInputDetails { + /** + * The DiskId. + */ + diskId?: string; + /** + * The LogStorageAccountId. + */ + logStorageAccountId?: string; + /** + * The DiskType. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; + /** + * The DiskEncryptionSet ARM ID. + */ + diskEncryptionSetId?: string; +} + +/** + * HyperVReplicaAzure specific enable protection input. */ export interface HyperVReplicaAzureEnableProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzure"; /** - * @member {string} [hvHostVmId] The Hyper-V host Vm Id. + * The Hyper-V host VM Id. */ hvHostVmId?: string; /** - * @member {string} [vmName] The Vm Name. + * The VM Name. */ vmName?: string; /** - * @member {string} [osType] The OS type associated with vm. + * The OS type associated with VM. */ osType?: string; /** - * @member {string} [vhdId] The OS disk VHD id associated with vm. + * The OS disk VHD id associated with VM. */ vhdId?: string; /** - * @member {string} [targetStorageAccountId] The storage account name. + * The storage account Id. */ targetStorageAccountId?: string; /** - * @member {string} [targetAzureNetworkId] The selected target Azure network - * Id. + * The selected target Azure network Id. */ targetAzureNetworkId?: string; /** - * @member {string} [targetAzureSubnetId] The selected target Azure subnet - * Id. + * The selected target Azure subnet Id. */ targetAzureSubnetId?: string; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * The selected option to enable RDP\SSH on target vm after failover. String value of + * SrsDataContract.EnableRDPOnTargetOption enum. */ enableRdpOnTargetOption?: string; /** - * @member {string} [targetAzureVmName] The target azure Vm Name. + * The target azure VM Name. */ targetAzureVmName?: string; /** - * @member {string} [logStorageAccountId] The storage account to be used for - * logging during replication. + * The storage account to be used for logging during replication. */ logStorageAccountId?: string; /** - * @member {string[]} [disksToInclude] The list of VHD IDs of disks to be - * protected. + * The list of VHD Ids of disks to be protected. */ disksToInclude?: string[]; /** - * @member {string} [targetAzureV1ResourceGroupId] The Id of the target - * resource group (for classic deployment) in which the failover VM is to be + * The Id of the target resource group (for classic deployment) in which the failover VM is to be * created. */ targetAzureV1ResourceGroupId?: string; /** - * @member {string} [targetAzureV2ResourceGroupId] The Id of the target - * resource group (for resource manager deployment) in which the failover VM + * The Id of the target resource group (for resource manager deployment) in which the failover VM * is to be created. */ targetAzureV2ResourceGroupId?: string; /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * A value indicating whether managed disks should be used during failover. */ useManagedDisks?: string; + /** + * The target availability set ARM Id for resource manager deployment. + */ + targetAvailabilitySetId?: string; + /** + * The target availability zone. + */ + targetAvailabilityZone?: string; + /** + * License type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + */ + licenseType?: LicenseType; + /** + * The SQL Server license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'PAYG', + * 'AHUB' + */ + sqlServerLicenseType?: SqlServerLicenseType; + /** + * The target VM size. + */ + targetVmSize?: string; + /** + * The proximity placement group ARM Id. + */ + targetProximityPlacementGroupId?: string; + /** + * A value indicating whether managed disks should be used during replication. + */ + useManagedDisksForReplication?: string; + /** + * The DiskType. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; + /** + * The disks to include list for managed disks. + */ + disksToIncludeForManagedDisks?: HyperVReplicaAzureDiskInputDetails[]; + /** + * The DiskEncryptionSet ARM Id. + */ + diskEncryptionSetId?: string; + /** + * The target VM tags. + */ + targetVmTags?: { [propertyName: string]: string }; + /** + * The tags for the seed managed disks. + */ + seedManagedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target managed disks. + */ + targetManagedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target NICs. + */ + targetNicTags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing HyperVReplicaAzureEventDetails. * Model class for event details of a HyperVReplica E2A event. - * */ export interface HyperVReplicaAzureEventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzure"; /** - * @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; } /** - * @interface - * An interface representing HyperVReplicaAzureFailbackProviderInput. - * HvrA provider specific input for failback. - * + * Contains the possible cases for PlannedFailoverProviderSpecificFailoverInput. + */ +export type PlannedFailoverProviderSpecificFailoverInputUnion = PlannedFailoverProviderSpecificFailoverInput | HyperVReplicaAzureFailbackProviderInput | HyperVReplicaAzurePlannedFailoverProviderInput | InMageRcmFailbackPlannedFailoverProviderInput; + +/** + * Provider specific failover input. + */ +export interface PlannedFailoverProviderSpecificFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "PlannedFailoverProviderSpecificFailoverInput"; +} + +/** + * HyperVReplicaAzureFailback specific planned failover input. */ export interface HyperVReplicaAzureFailbackProviderInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzureFailback"; /** - * @member {string} [dataSyncOption] Data sync option. + * Data sync option. */ dataSyncOption?: string; /** - * @member {string} [recoveryVmCreationOption] ALR options to create - * alternate recovery. + * ALR options to create alternate recovery. */ recoveryVmCreationOption?: string; /** - * @member {string} [providerIdForAlternateRecovery] Provider ID for - * alternate location + * Provider Id for alternate location. */ providerIdForAlternateRecovery?: string; } /** - * @interface - * An interface representing HyperVReplicaAzureFailoverProviderInput. - * HvrA provider specific input for failover. - * + * Hyper-V Managed disk details. */ -export interface HyperVReplicaAzureFailoverProviderInput { +export interface HyperVReplicaAzureManagedDiskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk Id. */ - instanceType: "HyperVReplicaAzure"; + diskId?: string; + /** + * Seed managed disk Id. + */ + seedManagedDiskId?: string; + /** + * The replica disk type. + */ + replicaDiskType?: string; + /** + * The disk encryption set ARM Id. + */ + diskEncryptionSetId?: string; +} + +/** + * HyperVReplicaAzure specific planned failover input. + */ +export interface HyperVReplicaAzurePlannedFailoverProviderInput { /** - * @member {string} [vaultLocation] Location of the vault. + * Polymorphic Discriminator */ - vaultLocation?: string; + instanceType: "HyperVReplicaAzure"; /** - * @member {string} [primaryKekCertificatePfx] Primary kek certificate pfx. + * Primary kek certificate pfx. */ primaryKekCertificatePfx?: string; /** - * @member {string} [secondaryKekCertificatePfx] Secondary kek certificate - * pfx. + * Secondary kek certificate pfx. */ secondaryKekCertificatePfx?: 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 HyperVReplicaAzurePolicyDetails. * Hyper-V Replica Azure specific protection profile details. - * */ export interface HyperVReplicaAzurePolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzure"; /** - * @member {number} [recoveryPointHistoryDurationInHours] The duration (in - * hours) to which point the recovery history needs to be maintained. + * The duration (in hours) to which point the recovery history needs to be maintained. */ recoveryPointHistoryDurationInHours?: number; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] The - * interval (in hours) at which Hyper-V Replica should create an application - * consistent snapshot within the VM. + * The interval (in hours) at which Hyper-V Replica should create an application consistent + * snapshot within the VM. */ applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {number} [replicationInterval] The replication interval. + * The replication interval. */ replicationInterval?: number; /** - * @member {string} [onlineReplicationStartTime] The scheduled start time for - * the initial replication. If this parameter is Null, the initial + * The scheduled start time for the initial replication. If this parameter is Null, the initial * replication starts immediately. */ onlineReplicationStartTime?: string; /** - * @member {string} [encryption] A value indicating whether encryption is - * enabled for virtual machines in this cloud. + * A value indicating whether encryption is enabled for virtual machines in this cloud. */ encryption?: string; /** - * @member {string} [activeStorageAccountId] The active storage account Id. + * The active storage account Id. */ activeStorageAccountId?: string; } /** - * @interface - * An interface representing HyperVReplicaAzurePolicyInput. * Hyper-V Replica Azure specific input for creating a protection profile. - * */ export interface HyperVReplicaAzurePolicyInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzure"; /** - * @member {number} [recoveryPointHistoryDuration] The duration (in hours) to - * which point the recovery history needs to be maintained. + * The duration (in hours) to which point the recovery history needs to be maintained. */ recoveryPointHistoryDuration?: number; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] The - * interval (in hours) at which Hyper-V Replica should create an application - * consistent snapshot within the VM. + * The interval (in hours) at which Hyper-V Replica should create an application consistent + * snapshot within the VM. */ applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {number} [replicationInterval] The replication interval. + * The replication interval. */ replicationInterval?: number; /** - * @member {string} [onlineReplicationStartTime] The scheduled start time for - * the initial replication. If this parameter is Null, the initial + * 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. + * The list of storage accounts to which the VMs in the primary cloud can replicate to. */ storageAccounts?: string[]; } /** - * @interface - * An interface representing InitialReplicationDetails. * Initial replication details. - * */ export interface InitialReplicationDetails { /** - * @member {string} [initialReplicationType] Initial replication type. + * Initial replication type. */ initialReplicationType?: string; /** - * @member {string} [initialReplicationProgressPercentage] The initial - * replication progress percentage. + * The initial replication progress percentage. */ initialReplicationProgressPercentage?: string; } /** - * @interface - * An interface representing OSDetails. * Disk Details. - * */ export interface OSDetails { /** - * @member {string} [osType] VM Disk details. + * VM Disk details. */ osType?: string; /** - * @member {string} [productType] Product type. + * Product type. */ productType?: string; /** - * @member {string} [osEdition] The OSEdition. + * The OSEdition. */ osEdition?: string; /** - * @member {string} [oSVersion] The OS Version. + * The OS Version. */ oSVersion?: string; /** - * @member {string} [oSMajorVersion] The OS Major Version. + * The OS Major Version. */ oSMajorVersion?: string; /** - * @member {string} [oSMinorVersion] The OS Minor Version. + * The OS Minor Version. */ oSMinorVersion?: string; } /** - * @interface - * An interface representing HyperVReplicaAzureReplicationDetails. * Hyper V Replica Azure provider specific settings. - * */ export interface HyperVReplicaAzureReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzure"; /** - * @member {AzureVmDiskDetails[]} [azureVmDiskDetails] Azure VM Disk details. + * Azure VM Disk details. */ azureVmDiskDetails?: AzureVmDiskDetails[]; /** - * @member {string} [recoveryAzureVmName] Recovery Azure given name. + * Recovery Azure given name. */ recoveryAzureVmName?: string; /** - * @member {string} [recoveryAzureVMSize] The Recovery Azure VM size. + * The Recovery Azure VM size. */ recoveryAzureVMSize?: string; /** - * @member {string} [recoveryAzureStorageAccount] The recovery Azure storage - * account. + * The recovery Azure storage account. */ recoveryAzureStorageAccount?: string; /** - * @member {string} [recoveryAzureLogStorageAccountId] The ARM id of the log - * storage account used for replication. This will be set to null if no log + * 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. */ recoveryAzureLogStorageAccountId?: string; /** - * @member {Date} [lastReplicatedTime] The Last replication time. + * The Last replication time. */ lastReplicatedTime?: Date; /** - * @member {number} [rpoInSeconds] Last RPO value. + * Last RPO value. */ rpoInSeconds?: number; /** - * @member {Date} [lastRpoCalculatedTime] The last RPO calculated time. + * The last RPO calculated time. */ lastRpoCalculatedTime?: Date; /** - * @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} [initialReplicationDetails] Initial - * replication details. + * Initial replication details. */ initialReplicationDetails?: InitialReplicationDetails; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The PE Network details. */ vmNics?: VMNicDetails[]; /** - * @member {string} [selectedRecoveryAzureNetworkId] The selected recovery - * azure network Id. + * The selected recovery azure network Id. */ selectedRecoveryAzureNetworkId?: string; /** - * @member {string} [selectedSourceNicId] The selected source nic Id which - * will be used as the primary nic during failover. + * The selected source nic Id which will be used as the primary nic during failover. */ selectedSourceNicId?: string; /** - * @member {string} [encryption] The encryption info. + * The encryption info. */ encryption?: string; /** - * @member {OSDetails} [oSDetails] The operating system info. + * The operating system info. */ oSDetails?: OSDetails; /** - * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the - * primary side. + * The RAM size of the VM on the primary side. */ sourceVmRamSizeInMB?: number; /** - * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary - * side. + * The CPU count of the VM on the primary side. */ sourceVmCpuCount?: number; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * The selected option to enable RDP\SSH on target vm after failover. String value of + * SrsDataContract.EnableRDPOnTargetOption enum. */ enableRdpOnTargetOption?: string; /** - * @member {string} [recoveryAzureResourceGroupId] The target resource group - * Id. + * The target resource group Id. */ recoveryAzureResourceGroupId?: string; /** - * @member {string} [recoveryAvailabilitySetId] The recovery availability set - * Id. + * The recovery availability set Id. */ recoveryAvailabilitySetId?: string; /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * 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; /** - * @member {string} [licenseType] License Type of the VM to be used. + * License Type of the VM to be used. */ licenseType?: string; + /** + * The SQL Server license type. + */ + sqlServerLicenseType?: 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; + /** + * The target VM tags. + */ + targetVmTags?: { [propertyName: string]: string }; + /** + * The tags for the seed managed disks. + */ + seedManagedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target managed disks. + */ + targetManagedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target NICs. + */ + targetNicTags?: { [propertyName: string]: string }; + /** + * The list of protected managed disks. + */ + protectedManagedDisks?: HyperVReplicaAzureManagedDiskDetails[]; } /** - * @interface - * An interface representing HyperVReplicaAzureReprotectInput. * Azure specific reprotect input. - * */ export interface HyperVReplicaAzureReprotectInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzure"; /** - * @member {string} [hvHostVmId] The Hyper-V host Vm Id. + * The Hyper-V host Vm Id. */ hvHostVmId?: string; /** - * @member {string} [vmName] The Vm Name. + * The Vm Name. */ vmName?: string; /** - * @member {string} [osType] The OS type associated with vm. + * The OS type associated with vm. */ osType?: string; /** - * @member {string} [vHDId] The OS disk VHD id associated with vm. + * The OS disk VHD id associated with vm. */ vHDId?: string; /** - * @member {string} [storageAccountId] The storage account name. + * The storage account name. */ storageAccountId?: string; /** - * @member {string} [logStorageAccountId] The storage account to be used for - * logging during replication. + * The storage account to be used for logging during replication. */ logStorageAccountId?: string; } /** - * @interface - * An interface representing HyperVReplicaAzureUpdateReplicationProtectedItemInput. + * HvrA provider specific input for test failover. + */ +export interface HyperVReplicaAzureTestFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "HyperVReplicaAzure"; + /** + * Primary kek certificate pfx. + */ + 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 HyperVReplicaAzureUnplannedFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "HyperVReplicaAzure"; + /** + * Primary kek certificate pfx. + */ + primaryKekCertificatePfx?: string; + /** + * Secondary kek certificate pfx. + */ + 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; +} + +/** * HyperV replica Azure input to update replication protected item. - * */ export interface HyperVReplicaAzureUpdateReplicationProtectedItemInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzure"; /** - * @member {string} [recoveryAzureV1ResourceGroupId] The recovery Azure - * resource group Id for classic deployment. + * The recovery Azure resource group Id for classic deployment. */ recoveryAzureV1ResourceGroupId?: string; /** - * @member {string} [recoveryAzureV2ResourceGroupId] The recovery Azure - * resource group Id for resource manager deployment. + * 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. + * A value indicating whether managed disks should be used during failover. */ useManagedDisks?: string; + /** + * The dictionary of disk resource Id to disk encryption set ARM Id. + */ + diskIdToDiskEncryptionMap?: { [propertyName: string]: string }; + /** + * The target proximity placement group Id. + */ + targetProximityPlacementGroupId?: string; + /** + * The target availability zone. + */ + targetAvailabilityZone?: string; + /** + * The target VM tags. + */ + targetVmTags?: { [propertyName: string]: string }; + /** + * The tags for the target managed disks. + */ + targetManagedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target NICs. + */ + targetNicTags?: { [propertyName: string]: string }; + /** + * The SQL Server license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'PAYG', + * 'AHUB' + */ + sqlServerLicenseType?: SqlServerLicenseType; } /** - * @interface - * An interface representing HyperVReplicaBaseEventDetails. * Abstract model class for event details of a HyperVReplica E2E event. - * */ export interface HyperVReplicaBaseEventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaBaseEventDetails"; /** - * @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. - * */ export interface HyperVReplicaBasePolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaBasePolicyDetails"; /** - * @member {number} [recoveryPoints] A value indicating the number of - * recovery points. + * A value indicating the number of recovery points. */ recoveryPoints?: number; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value - * indicating the application consistent frequency. + * A value indicating the application consistent frequency. */ applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [compression] A value indicating whether compression has - * to be enabled. + * A value indicating whether compression has to be enabled. */ compression?: string; /** - * @member {string} [initialReplicationMethod] A value indicating whether IR - * is online. + * A value indicating whether IR is online. */ initialReplicationMethod?: string; /** - * @member {string} [onlineReplicationStartTime] A value indicating the - * online IR start time. + * A value indicating the online IR start time. */ onlineReplicationStartTime?: string; /** - * @member {string} [offlineReplicationImportPath] A value indicating the - * offline IR import path. + * A value indicating the offline IR import path. */ offlineReplicationImportPath?: string; /** - * @member {string} [offlineReplicationExportPath] A value indicating the - * offline IR export path. + * A value indicating the offline IR export path. */ offlineReplicationExportPath?: string; /** - * @member {number} [replicationPort] A value indicating the recovery HTTPS - * port. + * A value indicating the recovery HTTPS port. */ replicationPort?: number; /** - * @member {number} [allowedAuthenticationType] A value indicating the - * authentication type. + * A value indicating the authentication type. */ allowedAuthenticationType?: number; /** - * @member {string} [replicaDeletionOption] A value indicating whether the VM - * has to be auto deleted. Supported Values: String.Empty, None, - * OnRecoveryCloud + * A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, + * None, OnRecoveryCloud. */ replicaDeletionOption?: string; } /** - * @interface - * An interface representing HyperVReplicaBaseReplicationDetails. * Hyper V replica provider specific settings base class. - * */ export interface HyperVReplicaBaseReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaBaseReplicationDetails"; /** - * @member {Date} [lastReplicatedTime] The Last replication time. + * The Last replication time. */ lastReplicatedTime?: Date; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The PE Network details. */ vmNics?: VMNicDetails[]; /** - * @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} [initialReplicationDetails] Initial - * replication details. + * Initial replication details. */ initialReplicationDetails?: InitialReplicationDetails; /** - * @member {DiskDetails[]} [vMDiskDetails] VM disk details. + * VM disk details. */ vMDiskDetails?: DiskDetails[]; } /** - * @interface - * An interface representing HyperVReplicaBluePolicyDetails. * Hyper-V Replica Blue specific protection profile details. - * */ export interface HyperVReplicaBluePolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplica2012R2"; /** - * @member {number} [replicationFrequencyInSeconds] A value indicating the - * replication interval. + * A value indicating the replication interval. */ replicationFrequencyInSeconds?: number; /** - * @member {number} [recoveryPoints] A value indicating the number of - * recovery points. + * A value indicating the number of recovery points. */ recoveryPoints?: number; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value - * indicating the application consistent frequency. + * A value indicating the application consistent frequency. */ applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [compression] A value indicating whether compression has - * to be enabled. + * A value indicating whether compression has to be enabled. */ compression?: string; /** - * @member {string} [initialReplicationMethod] A value indicating whether IR - * is online. + * A value indicating whether IR is online. */ initialReplicationMethod?: string; /** - * @member {string} [onlineReplicationStartTime] A value indicating the - * online IR start time. + * A value indicating the online IR start time. */ onlineReplicationStartTime?: string; /** - * @member {string} [offlineReplicationImportPath] A value indicating the - * offline IR import path. + * A value indicating the offline IR import path. */ offlineReplicationImportPath?: string; /** - * @member {string} [offlineReplicationExportPath] A value indicating the - * offline IR export path. + * A value indicating the offline IR export path. */ offlineReplicationExportPath?: string; /** - * @member {number} [replicationPort] A value indicating the recovery HTTPS - * port. + * A value indicating the recovery HTTPS port. */ replicationPort?: number; /** - * @member {number} [allowedAuthenticationType] A value indicating the - * authentication type. + * A value indicating the authentication type. */ allowedAuthenticationType?: number; /** - * @member {string} [replicaDeletionOption] A value indicating whether the VM - * has to be auto deleted. Supported Values: String.Empty, None, - * OnRecoveryCloud + * A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, + * None, OnRecoveryCloud */ replicaDeletionOption?: string; } /** - * @interface - * An interface representing HyperVReplicaBluePolicyInput. - * HyperV Replica Blue policy input. - * + * Contains the possible cases for HyperVReplicaPolicyInput. */ -export interface HyperVReplicaBluePolicyInput { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "HyperVReplica2012R2"; +export type HyperVReplicaPolicyInputUnion = HyperVReplicaPolicyInput | HyperVReplicaBluePolicyInput; + +/** + * Hyper-V Replica specific policy Input. + */ +export interface HyperVReplicaPolicyInput { /** - * @member {number} [replicationFrequencyInSeconds] A value indicating the - * replication interval. + * Polymorphic Discriminator */ - replicationFrequencyInSeconds?: number; + instanceType: "HyperVReplica2012"; /** - * @member {number} [recoveryPoints] A value indicating the number of - * recovery points. + * A value indicating the number of recovery points. */ recoveryPoints?: number; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value - * indicating the application consistent frequency. + * A value indicating the application consistent frequency. */ applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [compression] A value indicating whether compression has - * to be enabled. + * A value indicating whether compression has to be enabled. */ compression?: string; /** - * @member {string} [initialReplicationMethod] A value indicating whether IR - * is online. + * A value indicating whether IR is online. */ initialReplicationMethod?: string; /** - * @member {string} [onlineReplicationStartTime] A value indicating the - * online IR start time. + * A value indicating the online IR start time. */ onlineReplicationStartTime?: string; /** - * @member {string} [offlineReplicationImportPath] A value indicating the - * offline IR import path. + * A value indicating the offline IR import path. */ offlineReplicationImportPath?: string; /** - * @member {string} [offlineReplicationExportPath] A value indicating the - * offline IR export path. + * A value indicating the offline IR export path. */ offlineReplicationExportPath?: string; /** - * @member {number} [replicationPort] A value indicating the recovery HTTPS - * port. + * A value indicating the recovery HTTPS port. */ replicationPort?: number; /** - * @member {number} [allowedAuthenticationType] A value indicating the - * authentication type. + * A value indicating the authentication type. */ allowedAuthenticationType?: number; /** - * @member {string} [replicaDeletion] A value indicating whether the VM has - * to be auto deleted. + * A value indicating whether the VM has to be auto deleted. */ replicaDeletion?: string; } /** - * @interface - * An interface representing HyperVReplicaBlueReplicationDetails. - * HyperV replica 2012 R2 (Blue) replication details. - * + * HyperV Replica Blue policy input. */ -export interface HyperVReplicaBlueReplicationDetails { +export interface HyperVReplicaBluePolicyInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplica2012R2"; /** - * @member {Date} [lastReplicatedTime] The Last replication time. + * A value indicating the number of recovery points. */ - lastReplicatedTime?: Date; + recoveryPoints?: number; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * A value indicating the application consistent frequency. */ - vmNics?: VMNicDetails[]; + applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [vmId] The virtual machine Id. + * A value indicating whether compression has to be enabled. */ - vmId?: string; + compression?: string; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * A value indicating whether IR is online. */ - vmProtectionState?: string; + initialReplicationMethod?: string; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * A value indicating the online IR start time. */ - vmProtectionStateDescription?: string; + onlineReplicationStartTime?: string; /** - * @member {InitialReplicationDetails} [initialReplicationDetails] Initial - * replication details. + * A value indicating the offline IR import path. */ - initialReplicationDetails?: InitialReplicationDetails; + offlineReplicationImportPath?: string; /** - * @member {DiskDetails[]} [vMDiskDetails] VM disk details. + * A value indicating the offline IR export path. */ - vMDiskDetails?: DiskDetails[]; -} - -/** - * @interface - * An interface representing HyperVReplicaPolicyDetails. - * Hyper-V Replica Blue specific protection profile details. - * - */ -export interface HyperVReplicaPolicyDetails { + offlineReplicationExportPath?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * A value indicating the recovery HTTPS port. */ - instanceType: "HyperVReplica2012"; + replicationPort?: number; /** - * @member {number} [recoveryPoints] A value indicating the number of - * recovery points. + * A value indicating the authentication type. */ - recoveryPoints?: number; + allowedAuthenticationType?: number; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value - * indicating the application consistent frequency. + * A value indicating whether the VM has to be auto deleted. */ - applicationConsistentSnapshotFrequencyInHours?: number; + replicaDeletion?: string; /** - * @member {string} [compression] A value indicating whether compression has - * to be enabled. + * A value indicating the replication interval. */ - compression?: string; + replicationFrequencyInSeconds?: number; +} + +/** + * HyperV replica 2012 R2 (Blue) replication details. + */ +export interface HyperVReplicaBlueReplicationDetails { /** - * @member {string} [initialReplicationMethod] A value indicating whether IR - * is online. + * Polymorphic Discriminator */ - initialReplicationMethod?: string; + instanceType: "HyperVReplica2012R2"; /** - * @member {string} [onlineReplicationStartTime] A value indicating the - * online IR start time. + * The Last replication time. */ - onlineReplicationStartTime?: string; + lastReplicatedTime?: Date; /** - * @member {string} [offlineReplicationImportPath] A value indicating the - * offline IR import path. + * The PE Network details. */ - offlineReplicationImportPath?: string; + vmNics?: VMNicDetails[]; /** - * @member {string} [offlineReplicationExportPath] A value indicating the - * offline IR export path. + * The virtual machine Id. */ - offlineReplicationExportPath?: string; + vmId?: string; /** - * @member {number} [replicationPort] A value indicating the recovery HTTPS - * port. + * The protection state for the vm. */ - replicationPort?: number; + vmProtectionState?: string; /** - * @member {number} [allowedAuthenticationType] A value indicating the - * authentication type. + * The protection state description for the vm. */ - allowedAuthenticationType?: number; + vmProtectionStateDescription?: string; /** - * @member {string} [replicaDeletionOption] A value indicating whether the VM - * has to be auto deleted. Supported Values: String.Empty, None, - * OnRecoveryCloud + * Initial replication details. */ - replicaDeletionOption?: string; + initialReplicationDetails?: InitialReplicationDetails; + /** + * VM disk details. + */ + vMDiskDetails?: DiskDetails[]; } /** - * @interface - * An interface representing HyperVReplicaPolicyInput. - * Hyper-V Replica specific policy Input. - * + * Hyper-V Replica Blue specific protection profile details. */ -export interface HyperVReplicaPolicyInput { +export interface HyperVReplicaPolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplica2012"; /** - * @member {number} [recoveryPoints] A value indicating the number of - * recovery points. + * A value indicating the number of recovery points. */ recoveryPoints?: number; /** - * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value - * indicating the application consistent frequency. + * A value indicating the application consistent frequency. */ applicationConsistentSnapshotFrequencyInHours?: number; /** - * @member {string} [compression] A value indicating whether compression has - * to be enabled. + * A value indicating whether compression has to be enabled. */ compression?: string; /** - * @member {string} [initialReplicationMethod] A value indicating whether IR - * is online. + * A value indicating whether IR is online. */ initialReplicationMethod?: string; /** - * @member {string} [onlineReplicationStartTime] A value indicating the - * online IR start time. + * A value indicating the online IR start time. */ onlineReplicationStartTime?: string; /** - * @member {string} [offlineReplicationImportPath] A value indicating the - * offline IR import path. + * A value indicating the offline IR import path. */ offlineReplicationImportPath?: string; /** - * @member {string} [offlineReplicationExportPath] A value indicating the - * offline IR export path. + * A value indicating the offline IR export path. */ offlineReplicationExportPath?: string; /** - * @member {number} [replicationPort] A value indicating the recovery HTTPS - * port. + * A value indicating the recovery HTTPS port. */ replicationPort?: number; /** - * @member {number} [allowedAuthenticationType] A value indicating the - * authentication type. + * A value indicating the authentication type. */ allowedAuthenticationType?: number; /** - * @member {string} [replicaDeletion] A value indicating whether the VM has - * to be auto deleted. + * A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, + * None, OnRecoveryCloud */ - replicaDeletion?: string; + replicaDeletionOption?: string; } /** - * @interface - * An interface representing HyperVReplicaReplicationDetails. * HyperV replica 2012 replication details. - * */ export interface HyperVReplicaReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplica2012"; /** - * @member {Date} [lastReplicatedTime] The Last replication time. + * The Last replication time. */ lastReplicatedTime?: Date; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The PE Network details. */ vmNics?: VMNicDetails[]; /** - * @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} [initialReplicationDetails] Initial - * replication details. + * Initial replication details. */ initialReplicationDetails?: InitialReplicationDetails; /** - * @member {DiskDetails[]} [vMDiskDetails] VM disk details. + * VM disk details. */ vMDiskDetails?: DiskDetails[]; } /** - * @interface - * An interface representing HyperVSiteDetails. * HyperVSite fabric specific details. - * */ export interface HyperVSiteDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVSite"; + /** + * The list of Hyper-V hosts associated with the fabric. + */ + hyperVHosts?: HyperVHostDetails[]; } /** - * @interface - * An interface representing HyperVVirtualMachineDetails. + * Contains the possible cases for HyperVVirtualMachineDetails. + */ +export type HyperVVirtualMachineDetailsUnion = HyperVVirtualMachineDetails | VmmVirtualMachineDetails; + +/** * Single Host fabric provider specific VM settings. - * */ export interface HyperVVirtualMachineDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVVirtualMachine"; /** - * @member {string} [sourceItemId] The source id of the object. + * The source id of the object. */ sourceItemId?: string; /** - * @member {string} [generation] The id of the object in fabric. + * The id of the object in fabric. */ generation?: string; /** - * @member {OSDetails} [osDetails] The Last replication time. + * The Last replication time. */ osDetails?: OSDetails; /** - * @member {DiskDetails[]} [diskDetails] The Last successful failover time. + * The Last successful failover time. */ diskDetails?: DiskDetails[]; /** - * @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' + * 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; /** - * @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' + * 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; /** - * @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' + * 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; } /** - * @interface - * An interface representing IdentityInformation. - * Identity details. - * + * Identity provider details. */ -export interface IdentityInformation { - /** - * @member {IdentityProviderType} [identityProviderType] The identity - * provider type. Value is the ToString() of a IdentityProviderType value. - * Possible values include: 'RecoveryServicesActiveDirectory' - */ - identityProviderType?: IdentityProviderType; +export interface IdentityProviderDetails { /** - * @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 tenant Id for the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ tenantId?: 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 application/client Id for the service principal with which the on-premise management/data + * plane components would communicate with our Azure services. */ applicationId?: 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 object Id of the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ objectId?: 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 intended Audience of the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. */ audience?: string; /** - * @member {string} [aadAuthority] The base authority for Azure Active - * Directory authentication. + * The base authority for Azure Active Directory authentication. */ aadAuthority?: string; - /** - * @member {string} [certificateThumbprint] The certificate thumbprint. - * Applicable only if IdentityProviderType is - * RecoveryServicesActiveDirectory. - */ - certificateThumbprint?: string; } /** - * @interface - * An interface representing InlineWorkflowTaskDetails. * This class represents the inline workflow task details. - * */ export interface InlineWorkflowTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InlineWorkflowTaskDetails"; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The child tasks. */ childTasks?: ASRTask[]; /** - * @member {string[]} [workflowIds] The list of child workflow ids. + * The list of child workflow ids. */ workflowIds?: string[]; } /** - * @interface - * An interface representing InMageAgentDetails. * The details of the InMage agent. - * */ export interface InMageAgentDetails { /** - * @member {string} [agentVersion] The agent version. + * The agent version. */ agentVersion?: string; /** - * @member {string} [agentUpdateStatus] A value indicating whether installed - * agent needs to be updated. + * A value indicating whether installed agent needs to be updated. */ agentUpdateStatus?: string; /** - * @member {string} [postUpdateRebootStatus] A value indicating whether - * reboot is required after update is applied. + * A value indicating whether reboot is required after update is applied. */ postUpdateRebootStatus?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * Agent expiry date. */ agentExpiryDate?: Date; } /** - * @interface - * An interface representing InMageAgentVersionDetails. - * InMage agent version details. - * + * ApplyRecoveryPoint input specific to InMageAzureV2 provider. */ -export interface InMageAgentVersionDetails { - /** - * @member {string} [postUpdateRebootStatus] A value indicating whether - * reboot is required after update is applied. - */ - postUpdateRebootStatus?: string; - /** - * @member {string} [version] The agent version. - */ - version?: string; - /** - * @member {Date} [expiryDate] Version expiry date. - */ - expiryDate?: Date; +export interface InMageAzureV2ApplyRecoveryPointInput { /** - * @member {AgentVersionStatus} [status] A value indicating whether security - * update required. Possible values include: 'Supported', 'NotSupported', - * 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' + * Polymorphic Discriminator */ - status?: AgentVersionStatus; + instanceType: "InMageAzureV2"; } /** - * @interface - * An interface representing InMageAzureV2ApplyRecoveryPointInput. - * ApplyRecoveryPoint input specific to InMageAzureV2 provider. - * + * Disk input details. */ -export interface InMageAzureV2ApplyRecoveryPointInput { +export interface InMageAzureV2DiskInputDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The DiskId. */ - instanceType: "InMageAzureV2"; + diskId?: string; + /** + * The LogStorageAccountId. + */ + logStorageAccountId?: string; + /** + * The DiskType. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; /** - * @member {string} [vaultLocation] The vault location where the recovery Vm - * resides. + * The DiskEncryptionSet ARM ID. */ - vaultLocation?: string; + diskEncryptionSetId?: string; } /** - * @interface - * An interface representing InMageAzureV2EnableProtectionInput. * VMware Azure specific enable protection input. - * */ export interface InMageAzureV2EnableProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} [masterTargetId] The Master target Id. + * The Master target Id. */ masterTargetId?: string; /** - * @member {string} [processServerId] The Process Server Id. + * The Process Server Id. */ processServerId?: string; /** - * @member {string} storageAccountId The storage account name. + * The storage account Id. */ - storageAccountId: string; + storageAccountId?: string; /** - * @member {string} [runAsAccountId] The CS account Id. + * The CS account Id. */ runAsAccountId?: string; /** - * @member {string} [multiVmGroupId] The multi vm group Id. + * The multi VM group Id. */ multiVmGroupId?: string; /** - * @member {string} [multiVmGroupName] The multi vm group name. + * The multi VM group name. */ multiVmGroupName?: string; /** - * @member {string[]} [disksToInclude] The disks to include list. + * The disks to include list. */ - disksToInclude?: string[]; + disksToInclude?: InMageAzureV2DiskInputDetails[]; /** - * @member {string} [targetAzureNetworkId] The selected target Azure network - * Id. + * The selected target Azure network Id. */ targetAzureNetworkId?: string; /** - * @member {string} [targetAzureSubnetId] The selected target Azure subnet - * Id. + * The selected target Azure subnet Id. */ targetAzureSubnetId?: string; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * The selected option to enable RDP\SSH on target VM after failover. String value of + * SrsDataContract.EnableRDPOnTargetOption enum. */ enableRdpOnTargetOption?: string; /** - * @member {string} [targetAzureVmName] The target azure Vm Name. + * The target azure VM Name. */ targetAzureVmName?: string; /** - * @member {string} [logStorageAccountId] The storage account to be used for - * logging during replication. + * The storage account to be used for logging during replication. */ logStorageAccountId?: string; /** - * @member {string} [targetAzureV1ResourceGroupId] The Id of the target - * resource group (for classic deployment) in which the failover VM is to be + * The Id of the target resource group (for classic deployment) in which the failover VM is to be * created. */ targetAzureV1ResourceGroupId?: string; /** - * @member {string} [targetAzureV2ResourceGroupId] The Id of the target - * resource group (for resource manager deployment) in which the failover VM + * The Id of the target resource group (for resource manager deployment) in which the failover VM * is to be created. */ targetAzureV2ResourceGroupId?: string; /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * The DiskType. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - useManagedDisks?: string; + diskType?: DiskAccountType; + /** + * The target availability set ARM Id for resource manager deployment. + */ + targetAvailabilitySetId?: string; + /** + * The target availability zone. + */ + targetAvailabilityZone?: string; + /** + * The proximity placement group ARM Id. + */ + targetProximityPlacementGroupId?: string; + /** + * License type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + */ + licenseType?: LicenseType; + /** + * The SQL Server license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'PAYG', + * 'AHUB' + */ + sqlServerLicenseType?: SqlServerLicenseType; + /** + * The target VM size. + */ + targetVmSize?: string; + /** + * The DiskEncryptionSet ARM Id. + */ + diskEncryptionSetId?: string; + /** + * The target VM tags. + */ + targetVmTags?: { [propertyName: string]: string }; + /** + * The tags for the seed managed disks. + */ + seedManagedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target managed disks. + */ + targetManagedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target NICs. + */ + targetNicTags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing InMageAzureV2EventDetails. * Model class for event details of a VMwareAzureV2 event. - * */ export interface InMageAzureV2EventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} [eventType] InMage Event type. Takes one of the values of - * {InMageDataContract.InMageMonitoringEventType}. + * InMage Event type. Takes one of the values of InMageDataContract.InMageMonitoringEventType. */ eventType?: string; /** - * @member {string} [category] InMage Event Category. + * InMage Event Category. */ category?: string; /** - * @member {string} [component] InMage Event Component. + * InMage Event Component. */ component?: string; /** - * @member {string} [correctiveAction] Corrective Action string for the - * event. + * Corrective Action string for the event. */ correctiveAction?: string; /** - * @member {string} [details] InMage Event Details. + * InMage Event Details. */ details?: string; /** - * @member {string} [summary] InMage Event Summary. + * InMage Event Summary. */ summary?: string; /** - * @member {string} [siteName] VMware Site name. + * VMware Site name. */ siteName?: string; } /** - * @interface - * An interface representing InMageAzureV2FailoverProviderInput. - * InMageAzureV2 provider specific input for failover. - * + * InMageAzureV2 Managed disk details. */ -export interface InMageAzureV2FailoverProviderInput { +export interface InMageAzureV2ManagedDiskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk id. */ - instanceType: "InMageAzureV2"; + diskId?: string; /** - * @member {string} [vaultLocation] Location of the vault. + * Seed managed disk Id. */ - vaultLocation?: string; + seedManagedDiskId?: 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 replica disk type. */ - recoveryPointId?: string; + replicaDiskType?: string; + /** + * The DiskEncryptionSet ARM ID. + */ + diskEncryptionSetId?: string; } /** - * @interface - * An interface representing InMageAzureV2PolicyDetails. * InMage Azure v2 specific protection profile details. - * */ export interface InMageAzureV2PolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * 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 InMageAzureV2PolicyInput. * VMWare Azure specific policy Input. - * */ export interface InMageAzureV2PolicyInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ 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} [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; } /** - * @interface - * An interface representing InMageAzureV2ProtectedDiskDetails. * InMageAzureV2 protected disk details. - * */ 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 disk file system capacity - * in bytes. + * The disk file system capacity in bytes. */ fileSystemCapacityInBytes?: number; /** - * @member {number} [sourceDataInMegaBytes] The source data transit in MB. + * The source data transit in MB. */ sourceDataInMegaBytes?: number; /** - * @member {number} [psDataInMegaBytes] The PS data transit in MB. + * The PS data transit in MB. */ psDataInMegaBytes?: number; /** - * @member {number} [targetDataInMegaBytes] The target data transit in MB. + * The target data transit in MB. */ 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; + /** + * The resync processed bytes. + */ + resyncProcessedBytes?: number; + /** + * The resync total transferred bytes. + */ + resyncTotalTransferredBytes?: number; + /** + * The resync last 15 minutes transferred bytes. + */ + resyncLast15MinutesTransferredBytes?: number; + /** + * The last data transfer time in UTC. + */ + resyncLastDataTransferTimeUTC?: Date; + /** + * The resync start time. + */ + resyncStartTime?: Date; + /** + * The Progress Health. + */ + progressHealth?: string; + /** + * The Progress Status. + */ + progressStatus?: string; } /** - * @interface - * An interface representing InMageAzureV2RecoveryPointDetails. * InMage Azure V2 provider specific recovery point details. - * */ export interface InMageAzureV2RecoveryPointDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} [isMultiVmSyncPoint] A value indicating whether the - * recovery point is multi VM consistent. + * A value indicating whether the recovery point is multi VM consistent. */ isMultiVmSyncPoint?: string; } /** - * @interface - * An interface representing InMageAzureV2ReplicationDetails. - * InMageAzureV2 provider specific settings - * + * InMageAzureV2 provider specific settings. */ export interface InMageAzureV2ReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} [infrastructureVmId] The infrastructure VM Id. + * The infrastructure VM Id. */ infrastructureVmId?: string; /** - * @member {string} [vCenterInfrastructureId] The vCenter infrastructure Id. + * The vCenter infrastructure Id. */ 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 {number} [resyncProgressPercentage] The resync progress - * percentage. + * The resync progress percentage. */ resyncProgressPercentage?: number; /** - * @member {number} [rpoInSeconds] The RPO in seconds. + * The RPO in seconds. */ 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 {string} [ipAddress] The source IP address. + * The source IP address. */ ipAddress?: string; /** - * @member {string} [agentVersion] The agent version. + * The agent version. */ agentVersion?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * Agent expiry date. */ agentExpiryDate?: Date; /** - * @member {string} [isAgentUpdateRequired] A value indicating whether - * installed agent needs to be updated. + * A value indicating whether installed agent needs to be updated. */ isAgentUpdateRequired?: string; /** - * @member {string} [isRebootAfterUpdateRequired] A value indicating whether - * the source server requires a restart after update. + * A value indicating whether the source server requires a restart after update. */ isRebootAfterUpdateRequired?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the source - * server. + * The last heartbeat received from the source server. */ lastHeartbeat?: Date; /** - * @member {string} [processServerId] The process server Id. + * The process server Id. */ processServerId?: string; /** - * @member {string} [multiVmGroupId] The multi vm group Id. + * The process server name. + */ + processServerName?: string; + /** + * The multi vm group Id. */ multiVmGroupId?: string; /** - * @member {string} [multiVmGroupName] The multi vm group name. + * The multi vm group name. */ multiVmGroupName?: string; /** - * @member {string} [multiVmSyncStatus] A value indicating whether multi vm - * sync is enabled or disabled. + * A value indicating whether multi vm sync is enabled or disabled. */ multiVmSyncStatus?: string; /** - * @member {InMageAzureV2ProtectedDiskDetails[]} [protectedDisks] The list of - * protected disks. + * The list of protected disks. */ protectedDisks?: InMageAzureV2ProtectedDiskDetails[]; /** - * @member {string} [diskResized] A value indicating whether any disk is - * resized for this VM. + * A value indicating whether any disk is resized for this VM. */ diskResized?: string; /** - * @member {string} [masterTargetId] The master target Id. + * The master target Id. */ masterTargetId?: string; /** - * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary - * side. + * The CPU count of the VM on the primary side. */ sourceVmCpuCount?: number; /** - * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the - * primary side. + * The RAM size of the VM on the primary side. */ sourceVmRamSizeInMB?: number; /** - * @member {string} [osType] The type of the OS on the VM. + * The type of the OS on the VM. */ osType?: string; /** - * @member {string} [vhdName] The OS disk VHD name. + * The OS disk VHD name. */ vhdName?: string; /** - * @member {string} [osDiskId] The id of the disk containing the OS. + * The id of the disk containing the OS. */ osDiskId?: string; /** - * @member {AzureVmDiskDetails[]} [azureVMDiskDetails] Azure VM Disk details. + * Azure VM Disk details. */ azureVMDiskDetails?: AzureVmDiskDetails[]; /** - * @member {string} [recoveryAzureVMName] Recovery Azure given name. + * Recovery Azure given name. */ recoveryAzureVMName?: string; /** - * @member {string} [recoveryAzureVMSize] The Recovery Azure VM size. + * The Recovery Azure VM size. */ recoveryAzureVMSize?: string; /** - * @member {string} [recoveryAzureStorageAccount] The recovery Azure storage - * account. + * The recovery Azure storage account. */ recoveryAzureStorageAccount?: string; /** - * @member {string} [recoveryAzureLogStorageAccountId] The ARM id of the log - * storage account used for replication. This will be set to null if no log + * 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. */ recoveryAzureLogStorageAccountId?: string; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The PE Network details. */ vmNics?: VMNicDetails[]; /** - * @member {string} [selectedRecoveryAzureNetworkId] The selected recovery - * azure network Id. + * The selected recovery azure network Id. */ selectedRecoveryAzureNetworkId?: string; /** - * @member {string} [selectedSourceNicId] The selected source nic Id which - * will be used as the primary nic during failover. + * The test failover virtual network. + */ + selectedTfoAzureNetworkId?: string; + /** + * The selected source nic Id which will be used as the primary nic during failover. */ selectedSourceNicId?: string; /** - * @member {string} [discoveryType] A value indicating the discovery type of - * the machine. Value can be vCenter or physical. + * A value indicating the discovery type of the machine. Value can be vCenter or physical. */ discoveryType?: string; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * The selected option to enable RDP\SSH on target vm after failover. String value of + * SrsDataContract.EnableRDPOnTargetOption enum. */ enableRdpOnTargetOption?: string; /** - * @member {string[]} [datastores] The datastores of the on-premise machine. - * Value can be list of strings that contain datastore names. + * The datastores of the on-premise machine. Value can be list of strings that contain datastore + * names. */ datastores?: string[]; /** - * @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. + * 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. */ targetVmId?: string; /** - * @member {string} [recoveryAzureResourceGroupId] The target resource group - * Id. + * The target resource group Id. */ recoveryAzureResourceGroupId?: string; /** - * @member {string} [recoveryAvailabilitySetId] The recovery availability set - * Id. + * The recovery availability set Id. */ recoveryAvailabilitySetId?: string; /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * 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; /** - * @member {string} [licenseType] License Type of the VM to be used. + * License Type of the VM to be used. */ licenseType?: string; /** - * @member {HealthError[]} [validationErrors] The validation errors of the - * on-premise machine Value can be list of validation errors. + * The SQL Server license type. + */ + sqlServerLicenseType?: string; + /** + * The validation errors of the on-premise machine Value can be list of validation errors. */ validationErrors?: HealthError[]; /** - * @member {Date} [lastRpoCalculatedTime] The last RPO calculated time. + * The last RPO calculated time. */ lastRpoCalculatedTime?: Date; /** - * @member {Date} [lastUpdateReceivedTime] The last update time received from - * on-prem components. + * The last update time received from on-prem components. */ lastUpdateReceivedTime?: Date; /** - * @member {string} [replicaId] The replica id of the protected item. + * The replica id of the protected item. */ replicaId?: string; /** - * @member {string} [osVersion] The OS Version of the protected item. + * The OS Version of the protected item. */ osVersion?: string; + /** + * The list of protected managed disks. + */ + protectedManagedDisks?: InMageAzureV2ManagedDiskDetails[]; + /** + * The last recovery point received time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastRecoveryPointReceived?: Date; + /** + * The firmware type of this protected item. + */ + firmwareType?: string; + /** + * The target generation for this protected item. + */ + azureVmGeneration?: string; + /** + * A value indicating whether additional IR stats are available or not. + */ + isAdditionalStatsAvailable?: boolean; + /** + * The total transferred data in bytes. + */ + totalDataTransferred?: number; + /** + * The progress health. + */ + totalProgressHealth?: string; + /** + * The target VM tags. + */ + targetVmTags?: { [propertyName: string]: string }; + /** + * The tags for the seed managed disks. + */ + seedManagedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target managed disks. + */ + targetManagedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target NICs. + */ + targetNicTags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing InMageAzureV2ReprotectInput. * InMageAzureV2 specific provider input. - * */ export interface InMageAzureV2ReprotectInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} [masterTargetId] The Master target Id. + * The Master target Id. */ masterTargetId?: string; /** - * @member {string} [processServerId] The Process Server Id. + * The Process Server Id. */ processServerId?: string; /** - * @member {string} [storageAccountId] The storage account id. + * The storage account id. */ storageAccountId?: string; /** - * @member {string} [runAsAccountId] The CS account Id. + * The CS account Id. */ runAsAccountId?: string; /** - * @member {string} [policyId] The Policy Id. + * The Policy Id. */ policyId?: string; /** - * @member {string} [logStorageAccountId] The storage account to be used for - * logging during replication. + * The storage account to be used for logging during replication. */ logStorageAccountId?: string; /** - * @member {string[]} [disksToInclude] The disks to include list. + * The disks to include list. */ disksToInclude?: string[]; } /** - * @interface - * An interface representing InMageAzureV2UpdateReplicationProtectedItemInput. + * InMageAzureV2 provider specific input for test failover. + */ +export interface InMageAzureV2TestFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "InMageAzureV2"; + /** + * 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; +} + +/** + * InMageAzureV2 provider specific input for unplanned failover. + */ +export interface InMageAzureV2UnplannedFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "InMageAzureV2"; + /** + * 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; +} + +/** * InMage Azure V2 input to update replication protected item. - * */ export interface InMageAzureV2UpdateReplicationProtectedItemInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} [recoveryAzureV1ResourceGroupId] The recovery Azure - * resource group Id for classic deployment. + * The recovery Azure resource group Id for classic deployment. */ recoveryAzureV1ResourceGroupId?: string; /** - * @member {string} [recoveryAzureV2ResourceGroupId] The recovery Azure - * resource group Id for resource manager deployment. + * 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. + * A value indicating whether managed disks should be used during failover. */ useManagedDisks?: string; + /** + * The target proximity placement group Id. + */ + targetProximityPlacementGroupId?: string; + /** + * The target availability zone. + */ + targetAvailabilityZone?: string; + /** + * The target VM tags. + */ + targetVmTags?: { [propertyName: string]: string }; + /** + * The tags for the target managed disks. + */ + targetManagedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target NICs. + */ + targetNicTags?: { [propertyName: string]: string }; + /** + * The SQL Server license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'PAYG', + * 'AHUB' + */ + sqlServerLicenseType?: SqlServerLicenseType; } /** - * @interface - * An interface representing InMageBasePolicyDetails. * Base class for the policies of providers using InMage replication. - * */ export interface InMageBasePolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageBasePolicyDetails"; /** - * @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 InMageDisableProtectionProviderSpecificInput. * InMage disable protection provider specific input. - * */ export interface InMageDisableProtectionProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMage"; /** - * @member {string} [replicaVmDeletionStatus] A value indicating whether the - * replica VM should be destroyed or retained. Values from Delete and Retain. + * A value indicating whether the replica VM should be destroyed or retained. Values from Delete + * and Retain. */ replicaVmDeletionStatus?: string; } /** - * @interface - * An interface representing InMageDiskDetails. - * VMware/Physical specific Disk Details - * + * VMware/Physical specific Disk Details. */ export interface InMageDiskDetails { /** - * @member {string} [diskId] The disk Id. + * The disk Id. */ diskId?: string; /** - * @member {string} [diskName] The disk name. + * The disk name. */ diskName?: string; /** - * @member {string} [diskSizeInMB] The disk size in MB. + * The disk size in MB. */ diskSizeInMB?: string; /** - * @member {string} [diskType] Whether disk is system disk or data disk. + * Whether disk is system disk or data disk. */ diskType?: string; /** - * @member {string} [diskConfiguration] Whether disk is dynamic disk or basic - * disk. + * Whether disk is dynamic disk or basic disk. */ diskConfiguration?: string; /** - * @member {DiskVolumeDetails[]} [volumeList] Volumes of the disk. + * Volumes of the disk. */ volumeList?: DiskVolumeDetails[]; } /** - * @interface - * An interface representing InMageVolumeExclusionOptions. - * Guest disk signature based disk exclusion option when doing enable - * protection of virtual machine in InMage provider. - * + * Guest disk signature based disk exclusion option when doing enable protection of virtual machine + * in InMage provider. */ export interface InMageVolumeExclusionOptions { /** - * @member {string} [volumeLabel] The volume label. The disk having any - * volume with this label will be excluded from replication. + * The volume label. The disk having any volume with this label will be excluded from + * replication. */ volumeLabel?: 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 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. */ onlyExcludeIfSingleVolume?: string; } /** - * @interface - * An interface representing InMageDiskSignatureExclusionOptions. - * Guest disk signature based disk exclusion option when doing enable - * protection of virtual machine in InMage provider. - * + * Guest disk signature based disk exclusion option when doing enable protection of virtual machine + * in InMage provider. */ export interface InMageDiskSignatureExclusionOptions { /** - * @member {string} [diskSignature] The guest signature of disk to be - * excluded from replication. + * The guest signature of disk to be excluded from replication. */ diskSignature?: string; } /** - * @interface - * An interface representing InMageDiskExclusionInput. - * DiskExclusionInput when doing enable protection of virtual machine in InMage - * provider. - * + * DiskExclusionInput when doing enable protection of virtual machine in InMage provider. */ export interface InMageDiskExclusionInput { /** - * @member {InMageVolumeExclusionOptions[]} [volumeOptions] The volume label - * based option for disk exclusion. + * The volume label based option for disk exclusion. */ volumeOptions?: InMageVolumeExclusionOptions[]; /** - * @member {InMageDiskSignatureExclusionOptions[]} [diskSignatureOptions] The - * guest disk signature based option for disk exclusion. + * The guest disk signature based option for disk exclusion. */ diskSignatureOptions?: InMageDiskSignatureExclusionOptions[]; } /** - * @interface - * An interface representing InMageEnableProtectionInput. * VMware Azure specific enable protection input. - * */ export interface InMageEnableProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMage"; /** - * @member {string} [vmFriendlyName] The Vm Name. + * The VM Name. */ vmFriendlyName?: string; /** - * @member {string} masterTargetId The Master Target Id. + * The Master Target Id. */ masterTargetId: string; /** - * @member {string} processServerId The Process Server Id. + * The Process Server Id. */ processServerId: string; /** - * @member {string} retentionDrive The retention drive to use on the MT. + * The retention drive to use on the MT. */ retentionDrive: string; /** - * @member {string} [runAsAccountId] The CS account Id. + * The CS account Id. */ runAsAccountId?: string; /** - * @member {string} multiVmGroupId The multi vm group Id. + * The multi VM group Id. */ multiVmGroupId: string; /** - * @member {string} multiVmGroupName The multi vm group name. + * The multi VM group name. */ multiVmGroupName: string; /** - * @member {string} [datastoreName] The target datastore name. + * The target datastore name. */ datastoreName?: string; /** - * @member {InMageDiskExclusionInput} [diskExclusionInput] The enable disk - * exclusion input. + * The enable disk exclusion input. */ diskExclusionInput?: InMageDiskExclusionInput; /** - * @member {string[]} [disksToInclude] The disks to include list. + * The disks to include list. */ disksToInclude?: string[]; } /** - * @interface - * An interface representing InMageFailoverProviderInput. - * Provider specific input for InMage failover. - * - */ -export interface InMageFailoverProviderInput { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "InMage"; - /** - * @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' - */ - recoveryPointType?: RecoveryPointType; - /** - * @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. - */ - recoveryPointId?: string; -} - -/** - * @interface - * An interface representing InMagePolicyDetails. * InMage specific protection profile details. - * */ export interface InMagePolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMage"; /** - * @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. - * */ export interface InMagePolicyInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMage"; /** - * @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 {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. - * */ export interface InMageProtectedDiskDetails { /** - * @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 file system capacity in bytes. */ fileSystemCapacityInBytes?: number; /** - * @member {number} [sourceDataInMB] The source data transit in MB. + * The source data transit in MB. */ sourceDataInMB?: number; /** - * @member {number} [psDataInMB] The PS data transit in MB. + * The PS data transit in MB. */ psDataInMB?: number; /** - * @member {number} [targetDataInMB] The target data transit in MB. + * The target data transit in MB. */ targetDataInMB?: 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. - * - */ -export interface OSDiskDetails { /** - * @member {string} [osVhdId] The id of the disk containing the OS. + * The resync processed bytes. */ - osVhdId?: string; + resyncProcessedBytes?: number; /** - * @member {string} [osType] The type of the OS on the VM. + * The resync total transferred bytes. */ - osType?: string; + resyncTotalTransferredBytes?: number; /** - * @member {string} [vhdName] The OS disk VHD name. + * The resync last 15 minutes transferred bytes. */ - vhdName?: string; -} - -/** - * @interface - * An interface representing InMageReplicationDetails. - * InMage provider specific settings - * - */ -export interface InMageReplicationDetails { + resyncLast15MinutesTransferredBytes?: number; /** - * @member {string} instanceType Polymorphic Discriminator + * The last data transfer time in UTC. */ - instanceType: "InMage"; + resyncLastDataTransferTimeUTC?: Date; /** - * @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. + * The resync start time. */ - activeSiteType?: string; + resyncStartTime?: Date; /** - * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary - * side. + * The Progress Health. */ - sourceVmCpuCount?: number; + progressHealth?: string; /** - * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the - * primary side. + * The Progress Status. */ - sourceVmRamSizeInMB?: number; + progressStatus?: string; +} + +/** + * InMageRcm source agent upgrade blocking error details. + */ +export interface InMageRcmAgentUpgradeBlockingErrorDetails { /** - * @member {OSDiskDetails} [osDetails] The OS details. + * The error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osDetails?: OSDiskDetails; + readonly errorCode?: string; /** - * @member {string} [protectionStage] The protection stage. + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectionStage?: string; + readonly errorMessage?: string; /** - * @member {string} [vmId] The virtual machine Id. + * The possible causes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmId?: string; + readonly possibleCauses?: string; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * The recommended action. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmProtectionState?: string; + readonly recommendedAction?: string; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The error message parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmProtectionStateDescription?: string; + readonly errorMessageParameters?: { [propertyName: string]: string }; /** - * @member {InitialReplicationDetails} [resyncDetails] The resync details of - * the machine + * The error tags. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - resyncDetails?: InitialReplicationDetails; + readonly errorTags?: { [propertyName: string]: string }; +} + +/** + * ApplyRecoveryPoint input specific to InMageRcm provider. + */ +export interface InMageRcmApplyRecoveryPointInput { /** - * @member {Date} [retentionWindowStart] The retention window start time. + * Polymorphic Discriminator */ - retentionWindowStart?: Date; + instanceType: "InMageRcm"; /** - * @member {Date} [retentionWindowEnd] The retention window end time. + * The recovery point Id. */ - retentionWindowEnd?: Date; + recoveryPointId: string; +} + +/** + * InMageRcm disk input. + */ +export interface InMageRcmDiskInput { /** - * @member {number} [compressedDataRateInMB] The compressed data change rate - * in MB. + * The disk Id. */ - compressedDataRateInMB?: number; + diskId: string; /** - * @member {number} [uncompressedDataRateInMB] The uncompressed data change - * rate in MB. + * The log storage account ARM Id. */ - uncompressedDataRateInMB?: number; + logStorageAccountId: string; /** - * @member {number} [rpoInSeconds] The RPO in seconds. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - rpoInSeconds?: number; + diskType: DiskAccountType; /** - * @member {InMageProtectedDiskDetails[]} [protectedDisks] The list of - * protected disks. + * The DiskEncryptionSet ARM Id. */ - protectedDisks?: InMageProtectedDiskDetails[]; + diskEncryptionSetId?: string; +} + +/** + * InMageRcm disk input. + */ +export interface InMageRcmDisksDefaultInput { /** - * @member {string} [ipAddress] The source IP address. + * The log storage account ARM Id. */ - ipAddress?: string; + logStorageAccountId: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the source - * server. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - lastHeartbeat?: Date; + diskType: DiskAccountType; /** - * @member {string} [processServerId] The process server Id. + * The DiskEncryptionSet ARM Id. */ - processServerId?: string; + diskEncryptionSetId?: string; +} + +/** + * InMageRcm specific enable protection input. + */ +export interface InMageRcmEnableProtectionInput { /** - * @member {string} [masterTargetId] The master target Id. + * Polymorphic Discriminator */ - masterTargetId?: string; + instanceType: "InMageRcm"; /** - * @member {{ [propertyName: string]: Date } | { [propertyName: string]: - * string }} [consistencyPoints] The collection of Consistency points. + * The ARM Id of discovered machine. */ - consistencyPoints?: { [propertyName: string]: Date } | { [propertyName: string]: string }; + fabricDiscoveryMachineId: string; /** - * @member {string} [diskResized] A value indicating whether any disk is - * resized for this VM. + * The disks to include list. */ - diskResized?: string; + disksToInclude?: InMageRcmDiskInput[]; /** - * @member {string} [rebootAfterUpdateStatus] A value indicating whether the - * source server requires a restart after update. + * The default disk input. */ - rebootAfterUpdateStatus?: string; + disksDefault?: InMageRcmDisksDefaultInput; /** - * @member {string} [multiVmGroupId] The multi vm group Id, if any. + * The target resource group ARM Id. */ - multiVmGroupId?: string; + targetResourceGroupId: string; /** - * @member {string} [multiVmGroupName] The multi vm group name, if any. + * The selected target network ARM Id. */ - multiVmGroupName?: string; + targetNetworkId?: string; /** - * @member {string} [multiVmSyncStatus] A value indicating whether the multi - * vm sync is enabled or disabled. + * The selected test network ARM Id. */ - multiVmSyncStatus?: string; + testNetworkId?: string; /** - * @member {InMageAgentDetails} [agentDetails] The agent details. + * The selected target subnet name. */ - agentDetails?: InMageAgentDetails; + targetSubnetName?: string; /** - * @member {string} [vCenterInfrastructureId] The vCenter infrastructure Id. + * The selected test subnet name. */ - vCenterInfrastructureId?: string; + testSubnetName?: string; /** - * @member {string} [infrastructureVmId] The infrastructure VM Id. + * The target VM name. */ - infrastructureVmId?: string; + targetVmName?: string; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The target VM size. */ - vmNics?: VMNicDetails[]; + targetVmSize?: string; /** - * @member {string} [discoveryType] A value indicating the discovery type of - * the machine. + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ - discoveryType?: string; + licenseType?: LicenseType; /** - * @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 target availability set ARM Id. */ - azureStorageAccountId?: string; + targetAvailabilitySetId?: string; /** - * @member {string[]} [datastores] The datastores of the on-premise machine - * Value can be list of strings that contain datastore names + * The target availability zone. */ - datastores?: string[]; + targetAvailabilityZone?: string; /** - * @member {HealthError[]} [validationErrors] The validation errors of the - * on-premise machine Value can be list of validation errors + * The target proximity placement group Id. */ - validationErrors?: HealthError[]; + targetProximityPlacementGroupId?: string; /** - * @member {Date} [lastRpoCalculatedTime] The last RPO calculated time. + * The target boot diagnostics storage account ARM Id. */ - lastRpoCalculatedTime?: Date; + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {Date} [lastUpdateReceivedTime] The last update time received from - * on-prem components. + * The run-as account Id. */ - lastUpdateReceivedTime?: Date; + runAsAccountId?: string; /** - * @member {string} [replicaId] The replica id of the protected item. + * The process server Id. */ - replicaId?: string; + processServerId: string; /** - * @member {string} [osVersion] The OS Version of the protected item. + * The multi VM group name. */ - osVersion?: string; + multiVmGroupName?: string; } /** - * @interface - * An interface representing InMageReprotectInput. - * InMageAzureV2 specific provider input. - * + * Event details for InMageRcm provider. */ -export interface InMageReprotectInput { +export interface InMageRcmEventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "InMage"; + instanceType: "InMageRcm"; /** - * @member {string} masterTargetId The Master Target Id. + * The protected item name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - masterTargetId: string; + readonly protectedItemName?: string; /** - * @member {string} processServerId The Process Server Id. + * The protected item name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - processServerId: string; + readonly vmName?: string; /** - * @member {string} retentionDrive The retention drive to use on the MT. + * The latest agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionDrive: string; + readonly latestAgentVersion?: string; /** - * @member {string} [runAsAccountId] The CS account Id. + * The job Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runAsAccountId?: string; + readonly jobId?: string; /** - * @member {string} [datastoreName] The target datastore name. + * The fabric name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - datastoreName?: string; + readonly fabricName?: string; /** - * @member {InMageDiskExclusionInput} [diskExclusionInput] The enable disk - * exclusion input. + * The appliance name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - diskExclusionInput?: InMageDiskExclusionInput; + readonly applianceName?: string; /** - * @member {string} profileId The Policy Id. + * The server type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - profileId: string; + readonly serverType?: string; /** - * @member {string[]} [disksToInclude] The disks to include list. + * The component display name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - disksToInclude?: string[]; + readonly componentDisplayName?: string; } /** - * @interface - * An interface representing JobProperties. - * Job custom data details. - * + * InMageRcm fabric provider specific settings. */ -export interface JobProperties { +export interface InMageRcmFabricCreationInput { /** - * @member {string} [activityId] The activity id. + * Polymorphic Discriminator */ - activityId?: string; + instanceType: "InMageRcm"; /** - * @member {string} [scenarioName] The ScenarioName. + * The ARM Id of the VMware site. */ - scenarioName?: string; + vmwareSiteId: string; /** - * @member {string} [friendlyName] The DisplayName. + * The ARM Id of the physical site. */ - friendlyName?: string; + physicalSiteId: string; /** - * @member {string} [state] The status of the Job. It is one of these values - * - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or - * Other. + * The identity provider input for source agent authentication. */ - state?: string; + sourceAgentIdentity: IdentityProviderInput; +} + +/** + * Process server details. + */ +export interface ProcessServerDetails { /** - * @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 process server Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - stateDescription?: string; + readonly id?: string; /** - * @member {ASRTask[]} [tasks] The tasks. + * The process server name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tasks?: ASRTask[]; + readonly name?: string; /** - * @member {JobErrorDetails[]} [errors] The errors. + * The process server Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errors?: JobErrorDetails[]; + readonly biosId?: string; /** - * @member {Date} [startTime] The start time. + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly fabricObjectId?: string; /** - * @member {Date} [endTime] The end time. + * The process server Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTime?: Date; + readonly fqdn?: string; /** - * @member {string[]} [allowedActions] The Allowed action the job. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedActions?: string[]; + readonly version?: string; /** - * @member {string} [targetObjectId] The affected Object Id. + * The last heartbeat received from the process server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetObjectId?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [targetObjectName] The name of the affected object. + * The total memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetObjectName?: string; + readonly totalMemoryInBytes?: number; /** - * @member {string} [targetInstanceType] The type of the affected object - * which is of {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} - * class. + * The available memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetInstanceType?: string; + readonly availableMemoryInBytes?: number; /** - * @member {JobDetailsUnion} [customDetails] The custom job details like test - * failover job details. + * The used memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - customDetails?: JobDetailsUnion; -} - -/** - * @interface - * An interface representing Job. - * Job details. - * - * @extends Resource - */ -export interface Job extends Resource { + readonly usedMemoryInBytes?: number; /** - * @member {JobProperties} [properties] The custom data. + * The memory usage percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: JobProperties; -} - -/** - * @interface - * An interface representing JobQueryParameter. - * Query parameter to enumerate jobs. - * - */ -export interface JobQueryParameter { + readonly memoryUsagePercentage?: number; /** - * @member {string} [startTime] Date time to get jobs from. + * The total disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: string; + readonly totalSpaceInBytes?: number; /** - * @member {string} [endTime] Date time to get jobs upto. + * The available disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTime?: string; + readonly availableSpaceInBytes?: number; /** - * @member {string} [fabricId] The Id of the fabric to search jobs under. + * The used disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricId?: string; + readonly usedSpaceInBytes?: number; /** - * @member {string} [affectedObjectTypes] The type of objects. + * The free disk space percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - affectedObjectTypes?: string; + readonly freeSpacePercentage?: number; /** - * @member {string} [jobStatus] The states of the job to be filtered can be - * in. + * The uploading pending data in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobStatus?: string; -} - -/** - * @interface - * An interface representing JobStatusEventDetails. - * Model class for event details of a job status event. - * - */ -export interface JobStatusEventDetails { + readonly throughputUploadPendingDataInBytes?: number; /** - * @member {string} instanceType Polymorphic Discriminator + * The throughput in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "JobStatus"; + readonly throughputInBytes?: number; /** - * @member {string} [jobId] Job arm id for the event. + * The processor usage percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobId?: string; + readonly processorUsagePercentage?: number; /** - * @member {string} [jobFriendlyName] JobName for the Event. + * The throughput status. Possible values include: 'Healthy', 'Warning', 'Critical', 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobFriendlyName?: string; + readonly throughputStatus?: RcmComponentStatus; /** - * @member {string} [jobStatus] JobStatus for the Event. + * The system load. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobStatus?: string; + readonly systemLoad?: number; /** - * @member {string} [affectedObjectType] AffectedObjectType for the event. + * The system load status. Possible values include: 'Healthy', 'Warning', 'Critical', 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - affectedObjectType?: 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. - * - */ -export interface JobTaskDetails { + readonly systemLoadStatus?: RcmComponentStatus; /** - * @member {string} instanceType Polymorphic Discriminator + * The disk usage status. Possible values include: 'Healthy', 'Warning', 'Critical', 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "JobTaskDetails"; + readonly diskUsageStatus?: RcmComponentStatus; /** - * @member {JobEntity} [jobTask] The job entity. + * The memory usage status. Possible values include: 'Healthy', 'Warning', 'Critical', 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobTask?: JobEntity; -} - -/** - * @interface - * An interface representing LogicalNetworkProperties. - * Logical Network Properties. - * - */ -export interface LogicalNetworkProperties { + readonly memoryUsageStatus?: RcmComponentStatus; /** - * @member {string} [friendlyName] The Friendly Name. + * The processor usage status. Possible values include: 'Healthy', 'Warning', 'Critical', + * 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly processorUsageStatus?: RcmComponentStatus; /** - * @member {string} [networkVirtualizationStatus] A value indicating whether - * Network Virtualization is enabled for the logical network. + * 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.** */ - networkVirtualizationStatus?: string; + readonly health?: ProtectionHealth; /** - * @member {string} [logicalNetworkUsage] A value indicating whether logical - * network is used as private test network by test failover. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - logicalNetworkUsage?: string; + readonly healthErrors?: HealthError[]; /** - * @member {string} [logicalNetworkDefinitionsStatus] A value indicating - * whether logical network definitions are isolated. + * 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.** */ - logicalNetworkDefinitionsStatus?: string; + readonly historicHealth?: ProtectionHealth; } /** - * @interface - * An interface representing LogicalNetwork. - * Logical network data model. - * - * @extends Resource + * RCM proxy details. */ -export interface LogicalNetwork extends Resource { +export interface RcmProxyDetails { /** - * @member {LogicalNetworkProperties} [properties] The Logical Network - * Properties. + * The RCM proxy Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: LogicalNetworkProperties; -} - -/** - * @interface - * An interface representing ManualActionTaskDetails. - * This class represents the manual action task details. - * - */ -export interface ManualActionTaskDetails { + readonly id?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The RCM proxy name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "ManualActionTaskDetails"; + readonly name?: string; /** - * @member {string} [name] The name. + * The RCM proxy Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly biosId?: string; /** - * @member {string} [instructions] The instructions. + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instructions?: string; + readonly fabricObjectId?: string; /** - * @member {string} [observation] The observation. + * The RCM proxy Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - observation?: string; -} - -/** - * @interface - * An interface representing RetentionVolume. - * The retention details of the MT. - * - */ -export interface RetentionVolume { + readonly fqdn?: string; /** - * @member {string} [volumeName] The volume name. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - volumeName?: string; + readonly version?: string; /** - * @member {number} [capacityInBytes] The volume capacity. + * The last heartbeat received from the RCM proxy. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - capacityInBytes?: number; + readonly lastHeartbeatUtc?: Date; /** - * @member {number} [freeSpaceInBytes] The free space available in this - * volume. + * 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.** */ - freeSpaceInBytes?: number; + readonly health?: ProtectionHealth; /** - * @member {number} [thresholdPercentage] The threshold percentage. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - thresholdPercentage?: number; + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing VersionDetails. - * Version related details. - * + * Push installer details. */ -export interface VersionDetails { +export interface PushInstallerDetails { /** - * @member {string} [version] The agent version. + * The push installer Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - version?: string; + readonly id?: string; /** - * @member {Date} [expiryDate] Version expiry date. + * The push installer name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expiryDate?: Date; + readonly name?: string; /** - * @member {AgentVersionStatus} [status] A value indicating whether security - * update required. Possible values include: 'Supported', 'NotSupported', - * 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' + * The push installer Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - status?: AgentVersionStatus; + readonly biosId?: string; + /** + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly fabricObjectId?: string; + /** + * The push installer Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly fqdn?: string; + /** + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly version?: string; + /** + * The last heartbeat received from the push installer. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastHeartbeatUtc?: Date; + /** + * 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.** + */ + 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 MasterTargetServer. - * Details of a Master Target Server. - * + * Replication agent details. */ -export interface MasterTargetServer { +export interface ReplicationAgentDetails { /** - * @member {string} [id] The server Id. + * The replication agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: string; + readonly id?: string; /** - * @member {string} [ipAddress] The IP address of the server. + * The replication agent name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ipAddress?: string; + readonly name?: string; /** - * @member {string} [name] The server name. + * The replication agent Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly biosId?: string; /** - * @member {string} [osType] The OS type of the server. + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; + readonly fabricObjectId?: string; /** - * @member {string} [agentVersion] The version of the scout component on the - * server. + * The replication agent Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentVersion?: string; + readonly fqdn?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the - * server. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastHeartbeat?: Date; + readonly version?: string; /** - * @member {string} [versionStatus] Version status + * The last heartbeat received from the replication agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - versionStatus?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {RetentionVolume[]} [retentionVolumes] The retention volumes of - * Master target Server. + * 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.** */ - retentionVolumes?: RetentionVolume[]; + readonly health?: ProtectionHealth; /** - * @member {DataStore[]} [dataStores] The list of data stores in the fabric. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dataStores?: DataStore[]; + readonly healthErrors?: HealthError[]; +} + +/** + * Reprotect agent details. + */ +export interface ReprotectAgentDetails { /** - * @member {HealthError[]} [validationErrors] Validation errors. + * The reprotect agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - validationErrors?: HealthError[]; + readonly id?: string; /** - * @member {HealthError[]} [healthErrors] Health errors. + * The reprotect agent name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly name?: string; /** - * @member {number} [diskCount] Disk count of the master target. + * The reprotect agent Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - diskCount?: number; + readonly biosId?: string; /** - * @member {string} [osVersion] OS Version of the master target. + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osVersion?: string; + readonly fabricObjectId?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The reprotect agent Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentExpiryDate?: Date; + readonly fqdn?: string; /** - * @member {string} [marsAgentVersion] MARS agent version. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - marsAgentVersion?: string; + readonly version?: string; /** - * @member {Date} [marsAgentExpiryDate] MARS agent expiry date. + * The last heartbeat received from the reprotect agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - marsAgentExpiryDate?: Date; + readonly lastHeartbeatUtc?: Date; /** - * @member {VersionDetails} [agentVersionDetails] Agent version details. + * 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.** */ - agentVersionDetails?: VersionDetails; + readonly health?: ProtectionHealth; /** - * @member {VersionDetails} [marsAgentVersionDetails] Mars agent version - * details. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - marsAgentVersionDetails?: VersionDetails; + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing MobilityServiceUpdate. - * The Mobility Service update details. - * + * Mars agent details. */ -export interface MobilityServiceUpdate { +export interface MarsAgentDetails { /** - * @member {string} [version] The version of the latest update. + * The Mars agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - version?: string; + readonly id?: string; /** - * @member {string} [rebootStatus] The reboot status of the update - whether - * it is required or not. + * The Mars agent name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rebootStatus?: string; + readonly name?: string; /** - * @member {string} [osType] The OS type. + * The Mars agent Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; -} - -/** - * @interface - * An interface representing Subnet. - * Subnets of the network. - * - */ -export interface Subnet { + readonly biosId?: string; /** - * @member {string} [name] The subnet name. + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly fabricObjectId?: string; /** - * @member {string} [friendlyName] The subnet friendly name. + * The Mars agent Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly fqdn?: string; /** - * @member {string[]} [addressList] The list of addresses for the subnet. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - addressList?: string[]; + readonly version?: string; + /** + * The last heartbeat received from the Mars agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastHeartbeatUtc?: Date; + /** + * The health of the Mars agent. 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 health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing NetworkProperties. - * Network Properties - * + * InMageRcm fabric specific details. */ -export interface NetworkProperties { +export interface InMageRcmFabricSpecificDetails { /** - * @member {string} [fabricType] The Fabric Type. + * Polymorphic Discriminator */ - fabricType?: string; + instanceType: "InMageRcm"; /** - * @member {Subnet[]} [subnets] The List of subnets. + * The ARM Id of the VMware site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnets?: Subnet[]; + readonly vmwareSiteId?: string; /** - * @member {string} [friendlyName] The Friendly Name. + * The ARM Id of the physical site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly physicalSiteId?: string; /** - * @member {string} [networkType] The Network Type. + * The service endpoint. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkType?: string; + 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; + /** + * The service container Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serviceContainerId?: string; + /** + * The data plane Uri. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dataPlaneUri?: string; + /** + * The control plane Uri. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly controlPlaneUri?: string; + /** + * The list of process servers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly processServers?: ProcessServerDetails[]; + /** + * The list of RCM proxies. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly rcmProxies?: RcmProxyDetails[]; + /** + * The list of push installers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly pushInstallers?: PushInstallerDetails[]; + /** + * The list of replication agents. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly replicationAgents?: ReplicationAgentDetails[]; + /** + * The list of reprotect agents. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly reprotectAgents?: ReprotectAgentDetails[]; + /** + * The list of Mars agents. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly marsAgents?: MarsAgentDetails[]; + /** + * The list of DRAs. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dras?: DraDetails[]; + /** + * The list of agent details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly agentDetails?: AgentDetails[]; } /** - * @interface - * An interface representing Network. - * Network model. - * - * @extends Resource + * Event details for InMageRcmFailback provider. */ -export interface Network extends Resource { +export interface InMageRcmFailbackEventDetails { /** - * @member {NetworkProperties} [properties] The Network Properties. + * Polymorphic Discriminator */ - properties?: NetworkProperties; + instanceType: "InMageRcmFailback"; + /** + * The protected item name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly protectedItemName?: string; } /** - * @interface - * An interface representing NetworkMappingProperties. - * Network Mapping Properties. - * + * InMageRcmFailback mobility agent details. */ -export interface NetworkMappingProperties { - /** - * @member {string} [state] The pairing state for network mapping. - */ - state?: string; +export interface InMageRcmFailbackMobilityAgentDetails { /** - * @member {string} [primaryNetworkFriendlyName] The primary network friendly - * name. + * The agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryNetworkFriendlyName?: string; + readonly version?: string; /** - * @member {string} [primaryNetworkId] The primary network id for network - * mapping. + * The latest agent version available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryNetworkId?: string; + readonly latestVersion?: string; /** - * @member {string} [primaryFabricFriendlyName] The primary fabric friendly - * name. + * The driver version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryFabricFriendlyName?: string; + readonly driverVersion?: string; /** - * @member {string} [recoveryNetworkFriendlyName] The recovery network - * friendly name. + * The latest upgradeable version available without reboot. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryNetworkFriendlyName?: string; + readonly latestUpgradableVersionWithoutReboot?: string; /** - * @member {string} [recoveryNetworkId] The recovery network id for network - * mapping. + * The agent version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryNetworkId?: string; + readonly agentVersionExpiryDate?: Date; /** - * @member {string} [recoveryFabricArmId] The recovery fabric ARM id. + * The driver version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricArmId?: string; + readonly driverVersionExpiryDate?: Date; /** - * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly - * name. + * 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.** */ - recoveryFabricFriendlyName?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {NetworkMappingFabricSpecificSettingsUnion} - * [fabricSpecificSettings] The fabric specific settings. + * The whether update is possible or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - 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 { + readonly reasonsBlockingUpgrade?: AgentUpgradeBlockedReason[]; /** - * @member {NetworkMappingProperties} [properties] The Network Mapping - * Properties. + * A value indicating whether agent is upgradeable or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: NetworkMappingProperties; + readonly isUpgradeable?: string; } /** - * @interface - * An interface representing OperationsDiscovery. - * Operations discovery class. - * + * InMageRcmFailback NIC details. */ -export interface OperationsDiscovery { +export interface InMageRcmFailbackNicDetails { /** - * @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 mac address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly macAddress?: string; /** - * @member {Display} [display] Object type + * The network name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - display?: Display; + readonly networkName?: string; /** - * @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 adapter type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - origin?: string; + readonly adapterType?: string; /** - * @member {any} [properties] Properties. Reserved for future use. + * The IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: any; + readonly sourceIpAddress?: string; } /** - * @interface - * An interface representing PlannedFailoverInputProperties. - * Input definition for planned failover input properties. - * + * Provider specific input for InMageRcmFailback failover. */ -export interface PlannedFailoverInputProperties { +export interface InMageRcmFailbackPlannedFailoverProviderInput { /** - * @member {string} [failoverDirection] Failover direction. + * Polymorphic Discriminator */ - failoverDirection?: string; + instanceType: "InMageRcmFailback"; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The recovery point type. Possible values include: 'ApplicationConsistent', 'CrashConsistent' */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; + recoveryPointType: InMageRcmFailbackRecoveryPointType; } /** - * @interface - * An interface representing PlannedFailoverInput. - * Input definition for planned failover. - * + * InMageRcmFailback policy creation input. */ -export interface PlannedFailoverInput { +export interface InMageRcmFailbackPolicyCreationInput { /** - * @member {PlannedFailoverInputProperties} [properties] Planned failover - * input properties + * Polymorphic Discriminator */ - properties?: PlannedFailoverInputProperties; + instanceType: "InMageRcmFailback"; + /** + * The crash consistent snapshot frequency (in minutes). + */ + crashConsistentFrequencyInMinutes?: number; + /** + * The app consistent snapshot frequency (in minutes). + */ + appConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing PolicyProperties. - * Protection profile custom data details. - * + * InMageRcm failback specific policy details. */ -export interface PolicyProperties { +export interface InMageRcmFailbackPolicyDetails { /** - * @member {string} [friendlyName] The FriendlyName. + * Polymorphic Discriminator */ - friendlyName?: string; + instanceType: "InMageRcmFailback"; /** - * @member {PolicyProviderSpecificDetailsUnion} [providerSpecificDetails] The - * ReplicationChannelSetting. + * The app consistent snapshot frequency in minutes. */ - providerSpecificDetails?: PolicyProviderSpecificDetailsUnion; + appConsistentFrequencyInMinutes?: number; + /** + * The crash consistent snapshot frequency in minutes. + */ + crashConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing Policy. - * Protection profile details. - * - * @extends Resource + * InMageRcmFailback disk level sync details. */ -export interface Policy extends Resource { +export interface InMageRcmFailbackSyncDetails { /** - * @member {PolicyProperties} [properties] The custom data. + * The progress health. Possible values include: 'None', 'InProgress', 'SlowProgress', + * 'NoProgress', 'Queued' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: PolicyProperties; + readonly progressHealth?: DiskReplicationProgressHealth; + /** + * The transferred bytes from source VM to azure for the disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly transferredBytes?: number; + /** + * The bytes transferred in last 15 minutes from source VM to target. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly last15MinutesTransferredBytes?: number; + /** + * The time of the last data transfer from source VM to target. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastDataTransferTimeUtc?: string; + /** + * The total processed bytes. This includes bytes that are transferred from source VM to target + * and matched bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly processedBytes?: number; + /** + * The start time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startTime?: string; + /** + * The last refresh time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastRefreshTime?: string; + /** + * Progress in percentage. Progress percentage is calculated based on processed bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly progressPercentage?: number; } /** - * @interface - * An interface representing ProcessServer. - * Details of the Process Server. - * + * InMageRcmFailback protected disk details. */ -export interface ProcessServer { +export interface InMageRcmFailbackProtectedDiskDetails { /** - * @member {string} [friendlyName] The Process Server's friendly name. + * The disk Id (reported by source agent). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly diskId?: string; /** - * @member {string} [id] The Process Server Id. + * The disk name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: string; + readonly diskName?: string; /** - * @member {string} [ipAddress] The IP address of the server. + * 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.** */ - ipAddress?: string; + readonly isOSDisk?: string; /** - * @member {string} [osType] The OS type of the server. + * The disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; + readonly capacityInBytes?: number; /** - * @member {string} [agentVersion] The version of the scout component on the - * server. + * The disk Uuid (reported by vCenter). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentVersion?: string; + readonly diskUuid?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the - * server. + * The data pending in log data store in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastHeartbeat?: Date; + readonly dataPendingInLogDataStoreInMB?: number; /** - * @member {string} [versionStatus] Version status + * The data pending at source agent in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - versionStatus?: string; + readonly dataPendingAtSourceAgentInMB?: number; /** - * @member {MobilityServiceUpdate[]} [mobilityServiceUpdates] The list of the - * mobility service updates available on the Process Server. + * A value indicating whether initial replication is complete or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - mobilityServiceUpdates?: MobilityServiceUpdate[]; + readonly isInitialReplicationComplete?: string; /** - * @member {string} [hostId] The agent generated Id. + * The initial replication details. */ - hostId?: string; + irDetails?: InMageRcmFailbackSyncDetails; /** - * @member {string} [machineCount] The servers configured with this PS. + * The resync details. */ - machineCount?: string; + resyncDetails?: InMageRcmFailbackSyncDetails; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this PS. + * The last sync time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicationPairCount?: string; + readonly lastSyncTime?: Date; +} + +/** + * InMageRcmFailback provider specific details. + */ +export interface InMageRcmFailbackReplicationDetails { /** - * @member {string} [systemLoad] The percentage of the system load. + * Polymorphic Discriminator */ - systemLoad?: string; + instanceType: "InMageRcmFailback"; /** - * @member {string} [systemLoadStatus] The system load status. + * The virtual machine internal identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - systemLoadStatus?: string; + readonly internalIdentifier?: string; /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * The ARM Id of the azure VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - cpuLoad?: string; + readonly azureVirtualMachineId?: string; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * The multi VM group name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - cpuLoadStatus?: string; + readonly multiVmGroupName?: string; /** - * @member {number} [totalMemoryInBytes] The total memory. + * The reprotect agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - totalMemoryInBytes?: number; + readonly reprotectAgentId?: string; /** - * @member {number} [availableMemoryInBytes] The available memory. + * The reprotect agent name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - availableMemoryInBytes?: number; + readonly reprotectAgentName?: string; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * The type of the OS on the VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - memoryUsageStatus?: string; + readonly osType?: string; /** - * @member {number} [totalSpaceInBytes] The total space. + * The log storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - totalSpaceInBytes?: number; + readonly logStorageAccountId?: string; /** - * @member {number} [availableSpaceInBytes] The available space. + * The target vCenter Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - availableSpaceInBytes?: number; + readonly targetvCenterId?: string; /** - * @member {string} [spaceUsageStatus] The space usage status. + * The target datastore name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - spaceUsageStatus?: string; + readonly targetDataStoreName?: string; /** - * @member {string} [psServiceStatus] The PS service status. + * The target VM name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - psServiceStatus?: string; + readonly targetVmName?: string; /** - * @member {Date} [sslCertExpiryDate] The PS SSL cert expiry date. + * The initial replication progress percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sslCertExpiryDate?: Date; + readonly initialReplicationProgressPercentage?: number; /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * 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.** */ - sslCertExpiryRemainingDays?: number; + readonly initialReplicationProcessedBytes?: number; /** - * @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 initial replication transferred bytes from source VM to target for all selected disks on + * source VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osVersion?: string; + readonly initialReplicationTransferredBytes?: number; /** - * @member {HealthError[]} [healthErrors] Health errors. + * The initial replication progress health. Possible values include: 'None', 'InProgress', + * 'SlowProgress', 'NoProgress' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly initialReplicationProgressHealth?: VmReplicationProgressHealth; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The resync progress percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentExpiryDate?: Date; + readonly resyncProgressPercentage?: number; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * 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.** */ - agentVersionDetails?: VersionDetails; -} - -/** - * @interface - * An interface representing ProtectableItemProperties. - * Replication protected item custom data details. - * - */ -export interface ProtectableItemProperties { + readonly resyncProcessedBytes?: number; /** - * @member {string} [friendlyName] The name. + * The resync transferred bytes from source VM to target for all selected disks on source VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly resyncTransferredBytes?: number; /** - * @member {string} [protectionStatus] The protection status. + * The resync progress health. Possible values include: 'None', 'InProgress', 'SlowProgress', + * 'NoProgress' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectionStatus?: string; + readonly resyncProgressHealth?: VmReplicationProgressHealth; /** - * @member {string} [replicationProtectedItemId] The ARM resource of - * protected items. + * A value indicating whether resync is required. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicationProtectedItemId?: string; + readonly resyncRequired?: string; /** - * @member {string} [recoveryServicesProviderId] The recovery provider ARM - * Id. + * The resync state. Possible values include: 'None', 'PreparedForResynchronization', + * 'StartedResynchronization' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryServicesProviderId?: string; + readonly resyncState?: ResyncState; /** - * @member {string[]} [protectionReadinessErrors] The Current protection - * readiness errors. + * The list of protected disks. */ - protectionReadinessErrors?: string[]; + protectedDisks?: InMageRcmFailbackProtectedDiskDetails[]; /** - * @member {string[]} [supportedReplicationProviders] The list of replication - * providers supported for the protectable item. + * The mobility agent information. */ - supportedReplicationProviders?: string[]; + mobilityAgentDetails?: InMageRcmFailbackMobilityAgentDetails; /** - * @member {ConfigurationSettingsUnion} [customDetails] The Replication - * provider custom settings. + * The network details. */ - customDetails?: ConfigurationSettingsUnion; + vmNics?: InMageRcmFailbackNicDetails[]; } /** - * @interface - * An interface representing ProtectableItem. - * Replication protected item - * - * @extends Resource + * InMageRcmFailback specific provider input. */ -export interface ProtectableItem extends Resource { +export interface InMageRcmFailbackReprotectInput { /** - * @member {ProtectableItemProperties} [properties] The custom data. + * Polymorphic Discriminator */ - properties?: ProtectableItemProperties; -} - -/** - * @interface - * An interface representing ProtectableItemQueryParameter. - * Query parameter to enumerate Protectable items. - * - */ -export interface ProtectableItemQueryParameter { + instanceType: "InMageRcmFailback"; /** - * @member {string} [state] State of the Protectable item query filter. + * The process server Id. */ - state?: string; + processServerId: string; + /** + * The run as account Id. + */ + runAsAccountId?: string; + /** + * The Policy Id. + */ + policyId: string; } /** - * @interface - * An interface representing ProtectedItemsQueryParameter. - * Query parameter to enumerate protected items. - * + * InMageRcm last source agent upgrade error details. */ -export interface ProtectedItemsQueryParameter { +export interface InMageRcmLastAgentUpgradeErrorDetails { /** - * @member {string} [sourceFabricName] The source fabric name filter. + * The error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceFabricName?: string; + readonly errorCode?: string; /** - * @member {string} [recoveryPlanName] The recovery plan filter. + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPlanName?: string; + readonly errorMessage?: string; /** - * @member {string} [vCenterName] The vCenter name filter. + * The possible causes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCenterName?: string; + readonly possibleCauses?: string; /** - * @member {string} [instanceType] The replication provider type. + * The recommended action. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType?: string; + readonly recommendedAction?: string; /** - * @member {MultiVmGroupCreateOption} [multiVmGroupCreateOption] Whether - * Multi VM group is auto created or specified by user. Possible values - * include: 'AutoCreated', 'UserSpecified' + * The error message parameters. + * **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 errorMessageParameters?: { [propertyName: string]: string }; /** - * @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 error tags. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly instanceType?: string; + readonly errorTags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing ProtectionContainerProperties. - * Protection profile custom data details. - * + * InMageRcm mobility agent details. */ -export interface ProtectionContainerProperties { +export interface InMageRcmMobilityAgentDetails { /** - * @member {string} [fabricFriendlyName] Fabric friendly name. + * The agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricFriendlyName?: string; + readonly version?: string; /** - * @member {string} [friendlyName] The name. + * The latest agent version available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly latestVersion?: string; /** - * @member {string} [fabricType] The fabric type. + * The latest agent version release date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricType?: string; + readonly latestAgentReleaseDate?: string; /** - * @member {number} [protectedItemCount] Number of protected PEs + * The driver version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectedItemCount?: number; + readonly driverVersion?: string; /** - * @member {string} [pairingStatus] The pairing status of this cloud. + * The latest upgradeable version available without reboot. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - pairingStatus?: string; + readonly latestUpgradableVersionWithoutReboot?: string; /** - * @member {string} [role] The role of this cloud. + * The agent version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - role?: string; + readonly agentVersionExpiryDate?: Date; /** - * @member {ProtectionContainerFabricSpecificDetails} [fabricSpecificDetails] - * Fabric specific details. + * The driver version expiry date. + * **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 driverVersionExpiryDate?: Date; /** - * @member {ProtectionContainerProperties} [properties] The custom data. + * 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.** */ - properties?: ProtectionContainerProperties; + readonly lastHeartbeatUtc?: Date; + /** + * The whether update is possible or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + 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 ProtectionContainerMappingProperties. - * Protection container mapping properties. - * + * InMageRcm NIC details. */ -export interface ProtectionContainerMappingProperties { +export interface InMageRcmNicDetails { /** - * @member {string} [targetProtectionContainerId] Paired protection container - * ARM ID. + * The NIC Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetProtectionContainerId?: string; + readonly nicId?: string; /** - * @member {string} [targetProtectionContainerFriendlyName] Friendly name of - * paired container. + * A value indicating whether this is the primary NIC. */ - targetProtectionContainerFriendlyName?: string; + isPrimaryNic?: string; /** - * @member {ProtectionContainerMappingProviderSpecificDetailsUnion} - * [providerSpecificDetails] Provider specific provider details. + * A value indicating whether this NIC is selected for failover. */ - providerSpecificDetails?: ProtectionContainerMappingProviderSpecificDetailsUnion; + isSelectedForFailover?: string; /** - * @member {string} [health] Health of pairing. + * The source IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - health?: string; + readonly sourceIPAddress?: string; /** - * @member {HealthError[]} [healthErrorDetails] Health error. + * 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.** */ - healthErrorDetails?: HealthError[]; + readonly sourceIPAddressType?: EthernetAddressType; /** - * @member {string} [policyId] Policy ARM Id. + * Source network Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - policyId?: string; + readonly sourceNetworkId?: string; /** - * @member {string} [state] Association Status + * Source subnet name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state?: string; + readonly sourceSubnetName?: string; /** - * @member {string} [sourceProtectionContainerFriendlyName] Friendly name of - * source protection container. + * The target IP address. */ - sourceProtectionContainerFriendlyName?: string; + targetIPAddress?: string; /** - * @member {string} [sourceFabricFriendlyName] Friendly name of source - * fabric. + * The target IP address type. Possible values include: 'Dynamic', 'Static' */ - sourceFabricFriendlyName?: string; + targetIPAddressType?: EthernetAddressType; /** - * @member {string} [targetFabricFriendlyName] Friendly name of target - * fabric. + * Target subnet name. */ - targetFabricFriendlyName?: string; + targetSubnetName?: string; /** - * @member {string} [policyFriendlyName] Friendly name of replication policy. + * Test subnet name. */ - policyFriendlyName?: string; -} - -/** - * @interface - * An interface representing ProtectionContainerMapping. - * Protection container mapping object. - * - * @extends Resource - */ -export interface ProtectionContainerMapping extends Resource { + testSubnetName?: string; /** - * @member {ProtectionContainerMappingProperties} [properties] The custom - * data. + * The test IP address. */ - properties?: ProtectionContainerMappingProperties; + testIPAddress?: string; + /** + * The test IP address type. Possible values include: 'Dynamic', 'Static' + */ + testIPAddressType?: EthernetAddressType; } /** - * @interface - * An interface representing RcmAzureMigrationPolicyDetails. - * RCM based Azure migration specific policy details. - * + * InMageRcm NIC input. */ -export interface RcmAzureMigrationPolicyDetails { +export interface InMageRcmNicInput { /** - * @member {string} instanceType Polymorphic Discriminator + * The NIC Id. */ - instanceType: "RcmAzureMigration"; + nicId: string; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * A value indicating whether this is the primary NIC. */ - recoveryPointThresholdInMinutes?: number; + isPrimaryNic: string; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * A value indicating whether this NIC is selected for failover. */ - recoveryPointHistory?: number; + isSelectedForFailover?: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * Target subnet name. */ - appConsistentFrequencyInMinutes?: number; + targetSubnetName?: string; /** - * @member {MultiVmSyncStatus} [multiVmSyncStatus] A value indicating whether - * multi-VM sync has to be enabled. Possible values include: 'Enabled', - * 'Disabled' + * The target static IP address. */ - multiVmSyncStatus?: MultiVmSyncStatus; + targetStaticIPAddress?: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The test subnet name. */ - crashConsistentFrequencyInMinutes?: number; + testSubnetName?: string; + /** + * The test static IP address. + */ + testStaticIPAddress?: string; } /** - * @interface - * An interface representing RecoveryPlanProperties. - * Recovery plan custom details. - * + * InMageRcm policy creation input. */ -export interface RecoveryPlanProperties { +export interface InMageRcmPolicyCreationInput { /** - * @member {string} [friendlyName] The friendly name. + * Polymorphic Discriminator */ - friendlyName?: string; + instanceType: "InMageRcm"; /** - * @member {string} [primaryFabricId] The primary fabric Id. + * The duration in minutes until which the recovery points need to be stored. */ - primaryFabricId?: string; + recoveryPointHistoryInMinutes?: number; /** - * @member {string} [primaryFabricFriendlyName] The primary fabric friendly - * name. + * The crash consistent snapshot frequency (in minutes). */ - primaryFabricFriendlyName?: string; + crashConsistentFrequencyInMinutes?: number; /** - * @member {string} [recoveryFabricId] The recovery fabric Id. + * The app consistent snapshot frequency (in minutes). */ - recoveryFabricId?: string; + appConsistentFrequencyInMinutes?: number; /** - * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly - * name. + * A value indicating whether multi-VM sync has to be enabled. */ - recoveryFabricFriendlyName?: string; + enableMultiVmSync?: string; +} + +/** + * InMageRcm specific policy details. + */ +export interface InMageRcmPolicyDetails { /** - * @member {string} [failoverDeploymentModel] The failover deployment model. + * Polymorphic Discriminator */ - failoverDeploymentModel?: string; + instanceType: "InMageRcm"; /** - * @member {string[]} [replicationProviders] The list of replication - * providers. + * The duration in minutes until which the recovery points need to be stored. */ - replicationProviders?: string[]; + recoveryPointHistoryInMinutes?: number; /** - * @member {string[]} [allowedOperations] The list of allowed operations. + * The app consistent snapshot frequency in minutes. */ - allowedOperations?: string[]; + appConsistentFrequencyInMinutes?: number; /** - * @member {Date} [lastPlannedFailoverTime] The start time of the last - * planned failover. + * The crash consistent snapshot frequency in minutes. */ - lastPlannedFailoverTime?: Date; + crashConsistentFrequencyInMinutes?: number; /** - * @member {Date} [lastUnplannedFailoverTime] The start time of the last - * unplanned failover. + * A value indicating whether multi-VM sync has to be enabled. */ - lastUnplannedFailoverTime?: Date; + enableMultiVmSync?: string; +} + +/** + * InMageRcm disk level sync details. + */ +export interface InMageRcmSyncDetails { /** - * @member {Date} [lastTestFailoverTime] The start time of the last test - * failover. + * The progress health. Possible values include: 'None', 'InProgress', 'SlowProgress', + * 'NoProgress', 'Queued' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastTestFailoverTime?: Date; + readonly progressHealth?: DiskReplicationProgressHealth; /** - * @member {CurrentScenarioDetails} [currentScenario] The current scenario - * details. + * The transferred bytes from source VM to azure for the disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - currentScenario?: CurrentScenarioDetails; + readonly transferredBytes?: number; /** - * @member {string} [currentScenarioStatus] The recovery plan status. + * The bytes transferred in last 15 minutes from source VM to azure. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - currentScenarioStatus?: string; + readonly last15MinutesTransferredBytes?: number; /** - * @member {string} [currentScenarioStatusDescription] The recovery plan - * status description. + * The time of the last data transfer from source VM to azure. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - currentScenarioStatusDescription?: string; + readonly lastDataTransferTimeUtc?: string; /** - * @member {RecoveryPlanGroup[]} [groups] The recovery plan groups. + * The total processed bytes. This includes bytes that are transferred from source VM to azure + * and matched bytes. + * **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 processedBytes?: number; /** - * @member {RecoveryPlanProperties} [properties] The custom details. + * The start time. + * **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 startTime?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The last refresh time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "RecoveryPlanProviderSpecificFailoverInput"; + readonly lastRefreshTime?: string; + /** + * Progress in percentage. Progress percentage is calculated based on processed bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly progressPercentage?: number; } /** - * @interface - * An interface representing RecoveryPlanA2AFailoverInput. - * Recovery plan A2A failover input. - * + * InMageRcm protected disk details. */ -export interface RecoveryPlanA2AFailoverInput { +export interface InMageRcmProtectedDiskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "A2A"; + readonly diskId?: string; /** - * @member {A2ARpRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestCrashConsistent', 'LatestProcessed' + * The disk name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointType: A2ARpRecoveryPointType; + readonly diskName?: string; /** - * @member {string} [cloudServiceCreationOption] A value indicating whether - * to use recovery cloud service for TFO or not. + * 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.** */ - cloudServiceCreationOption?: string; + readonly isOSDisk?: string; /** - * @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 disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - multiVmSyncPointOption?: MultiVmSyncPointOption; -} - -/** - * @interface - * An interface representing RecoveryPlanAutomationRunbookActionDetails. - * Recovery plan Automation runbook action details. - * - */ -export interface RecoveryPlanAutomationRunbookActionDetails { + readonly capacityInBytes?: number; /** - * @member {string} instanceType Polymorphic Discriminator + * The log storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "AutomationRunbookActionDetails"; + readonly logStorageAccountId?: string; /** - * @member {string} [runbookId] The runbook ARM Id. + * The DiskEncryptionSet ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runbookId?: string; + readonly diskEncryptionSetId?: string; /** - * @member {string} [timeout] The runbook timeout. + * The ARM Id of the seed managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timeout?: string; + readonly seedManagedDiskId?: string; /** - * @member {RecoveryPlanActionLocation} fabricLocation The fabric location. - * Possible values include: 'Primary', 'Recovery' + * The ARM Id of the target managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricLocation: RecoveryPlanActionLocation; -} - -/** - * @interface - * An interface representing RecoveryPlanGroupTaskDetails. - * This class represents the recovery plan group task. - * - */ -export interface RecoveryPlanGroupTaskDetails { + readonly targetManagedDiskId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - instanceType: "RecoveryPlanGroupTaskDetails"; + diskType?: DiskAccountType; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The data pending in log data store in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - childTasks?: ASRTask[]; + readonly dataPendingInLogDataStoreInMB?: number; /** - * @member {string} [name] The name. + * The data pending at source agent in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly dataPendingAtSourceAgentInMB?: number; /** - * @member {string} [groupId] The group identifier. + * A value indicating whether initial replication is complete or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - groupId?: string; + readonly isInitialReplicationComplete?: string; /** - * @member {string} [rpGroupType] The group type. + * The initial replication details. */ - rpGroupType?: string; + irDetails?: InMageRcmSyncDetails; + /** + * The resync details. + */ + resyncDetails?: InMageRcmSyncDetails; } /** - * @interface - * An interface representing RecoveryPlanHyperVReplicaAzureFailbackInput. - * Recovery plan HVR Azure failback input. - * + * InMageRcm provider specific container mapping details. */ -export interface RecoveryPlanHyperVReplicaAzureFailbackInput { +export interface InMageRcmProtectionContainerMappingDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "HyperVReplicaAzureFailback"; + instanceType: "InMageRcm"; /** - * @member {DataSyncStatus} dataSyncOption The data sync option. Possible - * values include: 'ForDownTime', 'ForSynchronization' + * A value indicating whether the flag for enable agent auto upgrade. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dataSyncOption: DataSyncStatus; + readonly enableAgentAutoUpgrade?: string; +} + +/** + * InMageRcm provider specific recovery point details. + */ +export interface InMageRcmRecoveryPointDetails { /** - * @member {AlternateLocationRecoveryOption} recoveryVmCreationOption The ALR - * option. Possible values include: 'CreateVmIfNotFound', 'NoAction' + * Polymorphic Discriminator */ - recoveryVmCreationOption: AlternateLocationRecoveryOption; + 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 RecoveryPlanHyperVReplicaAzureFailoverInput. - * Recovery plan HVR Azure failover input. - * + * InMageRcm provider specific details. */ -export interface RecoveryPlanHyperVReplicaAzureFailoverInput { +export interface InMageRcmReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "HyperVReplicaAzure"; + instanceType: "InMageRcm"; /** - * @member {string} vaultLocation The vault location. + * The virtual machine internal identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vaultLocation: string; + readonly internalIdentifier?: string; /** - * @member {string} [primaryKekCertificatePfx] The primary KEK certificate - * PFX. + * The ARM Id of the discovered VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryKekCertificatePfx?: string; + readonly fabricDiscoveryMachineId?: string; /** - * @member {string} [secondaryKekCertificatePfx] The secondary KEK - * certificate PFX. + * The multi VM group name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - secondaryKekCertificatePfx?: string; + readonly multiVmGroupName?: string; /** - * @member {HyperVReplicaAzureRpRecoveryPointType} [recoveryPointType] The - * recovery point type. Possible values include: 'Latest', - * 'LatestApplicationConsistent', 'LatestProcessed' + * The type of the discovered VM. + * **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 discoveryType?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The process server Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "InMageAzureV2"; + readonly processServerId?: string; /** - * @member {string} vaultLocation The vault location. + * The processor core count. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vaultLocation: string; + readonly processorCoreCount?: number; /** - * @member {InMageV2RpRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestCrashConsistent', 'LatestProcessed' + * The allocated memory in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointType: InMageV2RpRecoveryPointType; + readonly allocatedMemoryInMB?: number; /** - * @member {string} [useMultiVmSyncPoint] A value indicating whether multi VM - * sync enabled VMs should use multi VM sync points for failover. + * The process server name. + * **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 processServerName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The run-as account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "InMage"; + readonly runAsAccountId?: string; /** - * @member {RpInMageRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * The type of the OS on the VM. + * **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 osType?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The firmware type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "ManualActionDetails"; + readonly firmwareType?: string; /** - * @member {string} [description] The manual action description. + * The IP address of the primary network interface. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; -} - -/** - * @interface - * An interface representing RecoveryPlanPlannedFailoverInputProperties. - * Recovery plan planned failover input properties. - * - */ -export interface RecoveryPlanPlannedFailoverInputProperties { + readonly primaryNicIpAddress?: string; /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The target generation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverDirection: PossibleOperationsDirections; + readonly targetGeneration?: string; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * License Type of the VM to be used. */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; -} - -/** - * @interface - * An interface representing RecoveryPlanPlannedFailoverInput. - * Recovery plan planned failover input. - * - */ -export interface RecoveryPlanPlannedFailoverInput { + licenseType?: string; /** - * @member {RecoveryPlanPlannedFailoverInputProperties} properties The - * recovery plan planned failover input properties. + * Target VM name. */ - properties: RecoveryPlanPlannedFailoverInputProperties; -} - -/** - * @interface - * An interface representing RecoveryPlanScriptActionDetails. - * Recovery plan script action details. - * - */ -export interface RecoveryPlanScriptActionDetails { + targetVmName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The target VM size. */ - instanceType: "ScriptActionDetails"; + targetVmSize?: string; /** - * @member {string} path The script path. + * The target resource group Id. */ - path: string; + targetResourceGroupId?: string; /** - * @member {string} [timeout] The script timeout. + * The target location. */ - timeout?: string; + targetLocation?: string; /** - * @member {RecoveryPlanActionLocation} fabricLocation The fabric location. - * Possible values include: 'Primary', 'Recovery' + * The target availability set Id. */ - fabricLocation: RecoveryPlanActionLocation; -} - -/** - * @interface - * An interface representing RecoveryPlanShutdownGroupTaskDetails. - * This class represents the recovery plan shutdown group task details. - * - */ -export interface RecoveryPlanShutdownGroupTaskDetails { + targetAvailabilitySetId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The target availability zone. */ - instanceType: "RecoveryPlanShutdownGroupTaskDetails"; + targetAvailabilityZone?: string; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The target proximity placement group Id. */ - childTasks?: ASRTask[]; + targetProximityPlacementGroupId?: string; /** - * @member {string} [name] The name. + * The target boot diagnostics storage account ARM Id. */ - name?: string; + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {string} [groupId] The group identifier. + * The target network Id. */ - groupId?: string; + targetNetworkId?: string; /** - * @member {string} [rpGroupType] The group type. + * The test network Id. */ - rpGroupType?: string; -} - -/** - * @interface - * An interface representing RecoveryPlanTestFailoverCleanupInputProperties. - * Recovery plan test failover cleanup input properties. - * - */ -export interface RecoveryPlanTestFailoverCleanupInputProperties { + testNetworkId?: string; /** - * @member {string} [comments] The test failover cleanup comments. + * 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.** */ - comments?: string; -} - -/** - * @interface - * An interface representing RecoveryPlanTestFailoverCleanupInput. - * Recovery plan test failover cleanup input. - * - */ -export interface RecoveryPlanTestFailoverCleanupInput { + readonly failoverRecoveryPointId?: string; /** - * @member {RecoveryPlanTestFailoverCleanupInputProperties} properties The - * recovery plan test failover cleanup input properties. + * The last recovery point received time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties: RecoveryPlanTestFailoverCleanupInputProperties; -} - -/** - * @interface - * An interface representing RecoveryPlanTestFailoverInputProperties. - * Recovery plan test failover input properties. - * - */ -export interface RecoveryPlanTestFailoverInputProperties { + readonly lastRecoveryPointReceived?: Date; /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The last recovery point objective value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverDirection: PossibleOperationsDirections; + readonly lastRpoInSeconds?: number; /** - * @member {string} networkType The network type to be used for test - * failover. + * The last recovery point objective calculated time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkType: string; + readonly lastRpoCalculatedTime?: Date; /** - * @member {string} [networkId] The Id of the network to be used for test - * failover. + * The last recovery point Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkId?: string; + readonly lastRecoveryPointId?: string; /** - * @member {string} [skipTestFailoverCleanup] A value indicating whether the - * test failover cleanup is to be skipped. + * 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.** */ - skipTestFailoverCleanup?: string; + readonly initialReplicationProgressPercentage?: number; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * 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.** */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; -} - -/** - * @interface - * An interface representing RecoveryPlanTestFailoverInput. - * Recovery plan test failover input. - * - */ -export interface RecoveryPlanTestFailoverInput { + readonly initialReplicationProcessedBytes?: number; /** - * @member {RecoveryPlanTestFailoverInputProperties} properties The recovery - * plan test failover input properties. + * 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.** */ - properties: RecoveryPlanTestFailoverInputProperties; -} - -/** - * @interface - * An interface representing RecoveryPlanUnplannedFailoverInputProperties. - * Recovery plan unplanned failover input properties. - * - */ -export interface RecoveryPlanUnplannedFailoverInputProperties { - /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' - */ - failoverDirection: PossibleOperationsDirections; + readonly initialReplicationTransferredBytes?: number; /** - * @member {SourceSiteOperations} sourceSiteOperations A value indicating - * whether source site operations are required. Possible values include: - * 'Required', 'NotRequired' + * The initial replication progress health. Possible values include: 'None', 'InProgress', + * 'SlowProgress', 'NoProgress' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceSiteOperations: SourceSiteOperations; + readonly initialReplicationProgressHealth?: VmReplicationProgressHealth; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * 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.** */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; -} - -/** - * @interface - * An interface representing RecoveryPlanUnplannedFailoverInput. - * Recovery plan unplanned failover input. - * - */ -export interface RecoveryPlanUnplannedFailoverInput { + readonly resyncProgressPercentage?: number; /** - * @member {RecoveryPlanUnplannedFailoverInputProperties} properties The - * recovery plan unplanned failover input properties. + * 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.** */ - properties: RecoveryPlanUnplannedFailoverInputProperties; -} - -/** - * @interface - * An interface representing RecoveryPointProperties. - * Recovery point properties. - * - */ -export interface RecoveryPointProperties { + readonly resyncProcessedBytes?: number; /** - * @member {Date} [recoveryPointTime] The recovery point time. + * 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.** */ - recoveryPointTime?: Date; + readonly resyncTransferredBytes?: number; /** - * @member {string} [recoveryPointType] The recovery point type: - * ApplicationConsistent, CrashConsistent. + * The resync progress health. Possible values include: 'None', 'InProgress', 'SlowProgress', + * 'NoProgress' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointType?: string; + readonly resyncProgressHealth?: VmReplicationProgressHealth; /** - * @member {ProviderSpecificRecoveryPointDetailsUnion} - * [providerSpecificDetails] The provider specific details for the recovery - * point. + * A value indicating whether resync is required. + * **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 resyncRequired?: string; /** - * @member {RecoveryPointProperties} [properties] Recovery point related - * data. + * The resync state. Possible values include: 'None', 'PreparedForResynchronization', + * 'StartedResynchronization' + * **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 resyncState?: ResyncState; /** - * @member {string} [fabricType] Type of the site. + * 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.** */ - fabricType?: string; + readonly agentUpgradeState?: MobilityAgentUpgradeState; /** - * @member {string} [friendlyName] Friendly name of the DRA. + * The last agent upgrade type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly lastAgentUpgradeType?: string; /** - * @member {string} [providerVersion] The provider version. + * The agent upgrade job Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerVersion?: string; + readonly agentUpgradeJobId?: string; /** - * @member {string} [serverVersion] The fabric provider. + * The agent version to which last agent upgrade was attempted. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverVersion?: string; + readonly agentUpgradeAttemptToVersion?: string; /** - * @member {string} [providerVersionState] DRA version status. + * The list of protected disks. */ - providerVersionState?: string; + protectedDisks?: InMageRcmProtectedDiskDetails[]; /** - * @member {Date} [providerVersionExpiryDate] Expiry date of the version. + * 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.** */ - providerVersionExpiryDate?: Date; + readonly isLastUpgradeSuccessful?: string; /** - * @member {string} [fabricFriendlyName] The fabric friendly name. + * The mobility agent information. */ - fabricFriendlyName?: string; + mobilityAgentDetails?: InMageRcmMobilityAgentDetails; /** - * @member {Date} [lastHeartBeat] Time when last heartbeat was sent by the - * DRA. + * The last agent upgrade error information. */ - lastHeartBeat?: Date; + lastAgentUpgradeErrorDetails?: InMageRcmLastAgentUpgradeErrorDetails[]; /** - * @member {string} [connectionStatus] A value indicating whether DRA is - * responsive. + * The agent upgrade blocking error information. */ - connectionStatus?: string; + agentUpgradeBlockingErrorDetails?: InMageRcmAgentUpgradeBlockingErrorDetails[]; /** - * @member {number} [protectedItemCount] Number of protected VMs currently - * managed by the DRA. + * The network details. */ - protectedItemCount?: number; + vmNics?: InMageRcmNicDetails[]; +} + +/** + * InMageRcm specific provider input. + */ +export interface InMageRcmReprotectInput { /** - * @member {string[]} [allowedScenarios] The scenarios allowed on this - * provider. + * Polymorphic Discriminator */ - allowedScenarios?: string[]; + instanceType: "InMageRcm"; /** - * @member {HealthError[]} [healthErrorDetails] The recovery services - * provider health error details. + * The reprotect agent Id. */ - healthErrorDetails?: HealthError[]; + reprotectAgentId: string; /** - * @member {string} [draIdentifier] The DRA Id. + * The target datastore name. */ - draIdentifier?: string; + datastoreName: string; /** - * @member {IdentityInformation} [identityDetails] The identity details. + * The log storage account ARM Id. */ - identityDetails?: IdentityInformation; + logStorageAccountId: string; /** - * @member {VersionDetails} [providerVersionDetails] The provider version - * details. + * The Policy Id. */ - providerVersionDetails?: VersionDetails; + policyId?: string; } /** - * @interface - * An interface representing RecoveryServicesProvider. - * Provider details. - * - * @extends Resource + * InMageRcm provider specific input for test failover. */ -export interface RecoveryServicesProvider extends Resource { +export interface InMageRcmTestFailoverInput { /** - * @member {RecoveryServicesProviderProperties} [properties] Provider - * properties. + * Polymorphic Discriminator */ - properties?: RecoveryServicesProviderProperties; -} - -/** - * @interface - * An interface representing ReplicationProviderContainerUnmappingInput. - * Provider specific input for unpairing operations. - * - */ -export interface ReplicationProviderContainerUnmappingInput { + instanceType: "InMageRcm"; /** - * @member {string} [instanceType] The class type. + * The test network Id. */ - instanceType?: string; -} - -/** - * @interface - * An interface representing RemoveProtectionContainerMappingInputProperties. - * Unpairing input properties. - * - */ -export interface RemoveProtectionContainerMappingInputProperties { + networkId?: string; /** - * @member {ReplicationProviderContainerUnmappingInput} - * [providerSpecificInput] Provider specific input for unpairing. + * 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. */ - providerSpecificInput?: ReplicationProviderContainerUnmappingInput; + recoveryPointId?: string; } /** - * @interface - * An interface representing RemoveProtectionContainerMappingInput. - * Container unpairing input. - * + * InMageRcm provider specific input for unplanned failover. */ -export interface RemoveProtectionContainerMappingInput { +export interface InMageRcmUnplannedFailoverInput { /** - * @member {RemoveProtectionContainerMappingInputProperties} [properties] - * Configure protection input properties. + * Polymorphic Discriminator */ - properties?: RemoveProtectionContainerMappingInputProperties; -} - -/** - * @interface - * An interface representing RenewCertificateInputProperties. - * Renew Certificate input properties. - * - */ -export interface RenewCertificateInputProperties { + instanceType: "InMageRcm"; /** - * @member {string} [renewCertificateType] Renew certificate type. + * A value indicating whether VM is to be shutdown. */ - renewCertificateType?: string; -} - -/** - * @interface - * An interface representing RenewCertificateInput. - * Certificate renewal input. - * - */ -export interface RenewCertificateInput { + performShutdown: string; /** - * @member {RenewCertificateInputProperties} [properties] Renew certificate - * input properties. + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ - properties?: RenewCertificateInputProperties; + recoveryPointId?: string; } /** - * @interface - * An interface representing ReplicationGroupDetails. - * Replication group details. This will be used in case of San and Wvr. - * + * InMageRcm update protection container mapping. */ -export interface ReplicationGroupDetails { +export interface InMageRcmUpdateContainerMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "ReplicationGroupDetails"; + instanceType: "InMageRcm"; + /** + * A value indicating whether agent auto upgrade has to be enabled. + */ + enableAgentAutoUpgrade: string; } /** - * @interface - * An interface representing ReplicationProtectedItemProperties. - * Replication protected item custom data details. - * + * InMageRcm provider specific input to update replication protected item. */ -export interface ReplicationProtectedItemProperties { +export interface InMageRcmUpdateReplicationProtectedItemInput { /** - * @member {string} [friendlyName] The name. + * Polymorphic Discriminator */ - friendlyName?: string; + instanceType: "InMageRcm"; /** - * @member {string} [protectedItemType] The type of protected item type. + * The target VM name. */ - protectedItemType?: string; + targetVmName?: string; /** - * @member {string} [protectableItemId] The protected item ARM Id. + * The target VM size. */ - protectableItemId?: string; + targetVmSize?: string; /** - * @member {string} [recoveryServicesProviderId] The recovery provider ARM - * Id. + * The target resource group ARM Id. */ - recoveryServicesProviderId?: string; + targetResourceGroupId?: string; /** - * @member {string} [primaryFabricFriendlyName] The friendly name of the - * primary fabric. + * The target availability set ARM Id. */ - primaryFabricFriendlyName?: string; + targetAvailabilitySetId?: string; /** - * @member {string} [primaryFabricProvider] The fabric provider of the - * primary fabric. + * The target availability zone. */ - primaryFabricProvider?: string; + targetAvailabilityZone?: string; /** - * @member {string} [recoveryFabricFriendlyName] The friendly name of - * recovery fabric. + * The target proximity placement group Id. */ - recoveryFabricFriendlyName?: string; + targetProximityPlacementGroupId?: string; /** - * @member {string} [recoveryFabricId] The Arm Id of recovery fabric. + * The target boot diagnostics storage account ARM Id. */ - recoveryFabricId?: string; + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {string} [primaryProtectionContainerFriendlyName] The name of - * primary protection container friendly name. + * The target network ARM Id. */ - primaryProtectionContainerFriendlyName?: string; + targetNetworkId?: string; /** - * @member {string} [recoveryProtectionContainerFriendlyName] The name of - * recovery container friendly name. + * The test network ARM Id. */ - recoveryProtectionContainerFriendlyName?: string; + testNetworkId?: string; /** - * @member {string} [protectionState] The protection status. + * The list of NIC details. */ - protectionState?: string; + vmNics?: InMageRcmNicInput[]; /** - * @member {string} [protectionStateDescription] The protection state - * description. + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ - protectionStateDescription?: string; + licenseType?: LicenseType; +} + +/** + * Details of the OS Disk. + */ +export interface OSDiskDetails { /** - * @member {string} [activeLocation] The Current active location of the PE. + * The id of the disk containing the OS. */ - activeLocation?: string; + osVhdId?: string; /** - * @member {string} [testFailoverState] The Test failover state. + * The type of the OS on the VM. */ - testFailoverState?: string; + osType?: string; /** - * @member {string} [testFailoverStateDescription] The Test failover state - * description. + * The OS disk VHD name. */ - testFailoverStateDescription?: string; + vhdName?: string; +} + +/** + * InMage provider specific settings. + */ +export interface InMageReplicationDetails { /** - * @member {string[]} [allowedOperations] The allowed operations on the - * Replication protected item. + * Polymorphic Discriminator */ - allowedOperations?: string[]; + instanceType: "InMage"; /** - * @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. + * 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. */ - replicationHealth?: string; + activeSiteType?: string; /** - * @member {string} [failoverHealth] The consolidated failover health for the - * VM. + * The CPU count of the VM on the primary side. */ - failoverHealth?: string; + sourceVmCpuCount?: number; /** - * @member {HealthError[]} [healthErrors] List of health errors. + * The RAM size of the VM on the primary side. */ - healthErrors?: HealthError[]; + sourceVmRamSizeInMB?: number; /** - * @member {string} [policyId] The ID of Policy governing this PE. + * The OS details. */ - policyId?: string; + osDetails?: OSDiskDetails; /** - * @member {string} [policyFriendlyName] The name of Policy governing this - * PE. + * The protection stage. */ - policyFriendlyName?: string; + protectionStage?: string; /** - * @member {Date} [lastSuccessfulFailoverTime] The Last successful failover - * time. + * The virtual machine Id. */ - lastSuccessfulFailoverTime?: Date; + vmId?: string; /** - * @member {Date} [lastSuccessfulTestFailoverTime] The Last successful test - * failover time. + * The protection state for the vm. */ - lastSuccessfulTestFailoverTime?: Date; + vmProtectionState?: string; /** - * @member {CurrentScenarioDetails} [currentScenario] The current scenario. + * The protection state description for the vm. */ - currentScenario?: CurrentScenarioDetails; + vmProtectionStateDescription?: string; /** - * @member {string} [failoverRecoveryPointId] The recovery point ARM Id to - * which the Vm was failed over. + * The resync details of the machine. */ - failoverRecoveryPointId?: string; + resyncDetails?: InitialReplicationDetails; /** - * @member {ReplicationProviderSpecificSettingsUnion} - * [providerSpecificDetails] The Replication provider custom settings. + * The retention window start time. */ - providerSpecificDetails?: ReplicationProviderSpecificSettingsUnion; + retentionWindowStart?: Date; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The retention window end time. */ - recoveryContainerId?: string; -} - -/** - * @interface - * An interface representing ReplicationProtectedItem. - * Replication protected item. - * - * @extends Resource - */ -export interface ReplicationProtectedItem extends Resource { + retentionWindowEnd?: Date; /** - * @member {ReplicationProtectedItemProperties} [properties] The custom data. + * The compressed data change rate in MB. */ - 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 { + compressedDataRateInMB?: number; /** - * @member {number} [resourceCount] The count of total resources umder the - * container. + * The uncompressed data change rate in MB. */ - resourceCount?: number; + uncompressedDataRateInMB?: number; /** - * @member {HealthErrorSummary[]} [issues] The list of summary of health - * errors across the resources under the container. + * The RPO in seconds. */ - issues?: HealthErrorSummary[]; -} - -/** - * @interface - * An interface representing ResumeJobParamsProperties. - * Resume job properties. - * - */ -export interface ResumeJobParamsProperties { + rpoInSeconds?: number; /** - * @member {string} [comments] Resume job comments. + * The list of protected disks. */ - comments?: string; -} - -/** - * @interface - * An interface representing ResumeJobParams. - * Resume job params. - * - */ -export interface ResumeJobParams { + protectedDisks?: InMageProtectedDiskDetails[]; /** - * @member {ResumeJobParamsProperties} [properties] Resume job properties. + * The source IP address. */ - properties?: ResumeJobParamsProperties; -} - -/** - * @interface - * An interface representing ReverseReplicationInputProperties. - * Reverse replication input properties. - * - */ -export interface ReverseReplicationInputProperties { + ipAddress?: string; /** - * @member {string} [failoverDirection] Failover direction. + * The last heartbeat received from the source server. */ - failoverDirection?: string; + lastHeartbeat?: Date; /** - * @member {ReverseReplicationProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific reverse replication input. + * The process server Id. */ - providerSpecificDetails?: ReverseReplicationProviderSpecificInputUnion; -} - -/** - * @interface - * An interface representing ReverseReplicationInput. - * Reverse replication input. - * - */ -export interface ReverseReplicationInput { + processServerId?: string; /** - * @member {ReverseReplicationInputProperties} [properties] Reverse - * replication properties + * The master target Id. */ - properties?: ReverseReplicationInputProperties; -} - -/** - * @interface - * An interface representing RunAsAccount. - * CS Accounts Details. - * - */ -export interface RunAsAccount { + masterTargetId?: string; /** - * @member {string} [accountId] The CS RunAs account Id. + * The collection of Consistency points. */ - accountId?: string; + consistencyPoints?: { [propertyName: string]: Date } | { [propertyName: string]: string }; /** - * @member {string} [accountName] The CS RunAs account name. + * A value indicating whether any disk is resized for this VM. */ - accountName?: string; -} - -/** - * @interface - * An interface representing SanEnableProtectionInput. - * San enable protection provider specific input. - * - */ -export interface SanEnableProtectionInput { + diskResized?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * A value indicating whether the source server requires a restart after update. */ - instanceType: "San"; -} - -/** - * @interface - * An interface representing ScriptActionTaskDetails. - * This class represents the script action task details. - * - */ -export interface ScriptActionTaskDetails { + rebootAfterUpdateStatus?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The multi vm group Id, if any. */ - instanceType: "ScriptActionTaskDetails"; + multiVmGroupId?: string; /** - * @member {string} [name] The name. + * The multi vm group name, if any. */ - name?: string; + multiVmGroupName?: string; /** - * @member {string} [path] The path. + * A value indicating whether the multi vm sync is enabled or disabled. */ - path?: string; + multiVmSyncStatus?: string; /** - * @member {string} [output] The output. + * The agent details. */ - output?: string; + agentDetails?: InMageAgentDetails; /** - * @member {boolean} [isPrimarySideScript] A value indicating whether it is a - * primary side script or not. + * The vCenter infrastructure Id. */ - isPrimarySideScript?: boolean; -} - -/** - * @interface - * An interface representing StorageClassificationProperties. - * Storage object properties. - * - */ -export interface StorageClassificationProperties { + vCenterInfrastructureId?: string; /** - * @member {string} [friendlyName] Friendly name of the Storage - * classification. + * The infrastructure VM Id. */ - friendlyName?: string; -} - -/** - * @interface - * An interface representing StorageClassification. - * Storage object definition. - * - * @extends Resource - */ -export interface StorageClassification extends Resource { + infrastructureVmId?: string; /** - * @member {StorageClassificationProperties} [properties] Proprties of the - * storage object. + * The PE Network details. */ - properties?: StorageClassificationProperties; -} - -/** - * @interface - * An interface representing StorageClassificationMappingProperties. - * Storage mapping properties. - * - */ -export interface StorageClassificationMappingProperties { + vmNics?: VMNicDetails[]; /** - * @member {string} [targetStorageClassificationId] Target storage object Id. + * A value indicating the discovery type of the machine. */ - targetStorageClassificationId?: string; -} - -/** - * @interface - * An interface representing StorageClassificationMapping. - * Storage mapping object. - * - * @extends Resource - */ -export interface StorageClassificationMapping extends Resource { + discoveryType?: string; /** - * @member {StorageClassificationMappingProperties} [properties] Proprties of - * the storage mappping object. + * A value indicating the underlying Azure storage account. If the VM is not running in Azure, + * this value shall be set to null. */ - properties?: StorageClassificationMappingProperties; -} - -/** - * @interface - * An interface representing StorageMappingInputProperties. - * Storage mapping input properties. - * - */ -export interface StorageMappingInputProperties { + azureStorageAccountId?: string; /** - * @member {string} [targetStorageClassificationId] The ID of the storage - * object. + * The datastores of the on-premise machine Value can be list of strings that contain datastore + * names. */ - targetStorageClassificationId?: string; -} - -/** - * @interface - * An interface representing StorageClassificationMappingInput. - * Storage mapping input. - * - */ -export interface StorageClassificationMappingInput { + datastores?: string[]; /** - * @member {StorageMappingInputProperties} [properties] Storage mapping input - * properties. + * The validation errors of the on-premise machine Value can be list of validation errors. */ - properties?: StorageMappingInputProperties; + validationErrors?: HealthError[]; + /** + * The last RPO calculated time. + */ + lastRpoCalculatedTime?: Date; + /** + * The last update time received from on-prem components. + */ + lastUpdateReceivedTime?: Date; + /** + * The replica id of the protected item. + */ + replicaId?: string; + /** + * The OS Version of the protected item. + */ + osVersion?: string; + /** + * A value indicating whether additional IR stats are available or not. + */ + isAdditionalStatsAvailable?: boolean; + /** + * The total transferred data in bytes. + */ + totalDataTransferred?: number; + /** + * The progress health. + */ + totalProgressHealth?: string; } /** - * @interface - * An interface representing SwitchProtectionInputProperties. - * Switch protection input properties. - * + * InMageAzureV2 specific provider input. */ -export interface SwitchProtectionInputProperties { +export interface InMageReprotectInput { /** - * @member {string} [replicationProtectedItemName] The unique replication - * protected item name. + * Polymorphic Discriminator */ - replicationProtectedItemName?: string; + instanceType: "InMage"; /** - * @member {SwitchProtectionProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific switch protection input. + * The Master Target Id. */ - providerSpecificDetails?: SwitchProtectionProviderSpecificInputUnion; + masterTargetId: string; + /** + * The Process Server Id. + */ + processServerId: string; + /** + * The retention drive to use on the MT. + */ + retentionDrive: string; + /** + * The CS account Id. + */ + runAsAccountId?: string; + /** + * The target datastore name. + */ + datastoreName?: string; + /** + * The enable disk exclusion input. + */ + diskExclusionInput?: InMageDiskExclusionInput; + /** + * The Policy Id. + */ + profileId: string; + /** + * The disks to include list. + */ + disksToInclude?: string[]; } /** - * @interface - * An interface representing SwitchProtectionInput. - * Switch protection input. - * + * Provider specific input for InMage test failover. */ -export interface SwitchProtectionInput { +export interface InMageTestFailoverInput { /** - * @member {SwitchProtectionInputProperties} [properties] Switch protection - * properties + * Polymorphic Discriminator */ - properties?: SwitchProtectionInputProperties; + instanceType: "InMage"; + /** + * 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' + */ + recoveryPointType?: RecoveryPointType; + /** + * 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; } /** - * @interface - * An interface representing SwitchProtectionJobDetails. - * This class represents details for switch protection job. - * + * Provider specific input for InMage unplanned failover. */ -export interface SwitchProtectionJobDetails { +export interface InMageUnplannedFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "SwitchProtectionJobDetails"; + instanceType: "InMage"; /** - * @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 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' */ - affectedObjectDetails?: { [propertyName: string]: string }; + recoveryPointType?: RecoveryPointType; /** - * @member {string} [newReplicationProtectedItemId] ARM Id of the new - * replication protected item. + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ - newReplicationProtectedItemId?: string; + recoveryPointId?: string; } /** - * @interface - * An interface representing TargetComputeSizeProperties. - * Represents applicable recovery vm sizes properties. - * + * Job custom data details. */ -export interface TargetComputeSizeProperties { +export interface JobProperties { /** - * @member {string} [name] Target compute size name. + * The activity id. */ - name?: string; + activityId?: string; + /** + * The ScenarioName. + */ + scenarioName?: string; /** - * @member {string} [friendlyName] Target compute size display name. + * The DisplayName. */ friendlyName?: string; /** - * @member {number} [cpuCoresCount] The maximum cpu cores count supported by - * target compute size. + * The status of the Job. It is one of these values - NotStarted, InProgress, Succeeded, Failed, + * Cancelled, Suspended or Other. */ - cpuCoresCount?: number; + state?: string; /** - * @member {number} [memoryInGB] The maximum memory in GB supported by target - * compute size. + * The description of the state of the Job. For e.g. - For Succeeded state, description can be + * Completed, PartiallySucceeded, CompletedWithInformation or Skipped. */ - memoryInGB?: number; + stateDescription?: string; /** - * @member {number} [maxDataDiskCount] The maximum data disks count supported - * by target compute size. + * The tasks. */ - maxDataDiskCount?: number; + tasks?: ASRTask[]; /** - * @member {number} [maxNicsCount] The maximum Nics count supported by target - * compute size. + * The errors. */ - maxNicsCount?: number; + errors?: JobErrorDetails[]; /** - * @member {ComputeSizeErrorDetails[]} [errors] The reasons why the target - * compute size is not applicable for the protected item. + * The start time. */ - errors?: ComputeSizeErrorDetails[]; + startTime?: Date; /** - * @member {string} [highIopsSupported] The value indicating whether the - * target compute size supports high Iops. + * The end time. */ - highIopsSupported?: string; -} - -/** - * @interface - * An interface representing TargetComputeSize. - * Represents applicable recovery vm sizes. - * - */ -export interface TargetComputeSize { + endTime?: Date; /** - * @member {string} [id] The Id. + * The Allowed action the job. */ - id?: string; + allowedActions?: string[]; /** - * @member {string} [name] The name. + * The affected Object Id. */ - name?: string; + targetObjectId?: string; /** - * @member {string} [type] The Type of the object. + * The name of the affected object. */ - type?: string; + targetObjectName?: string; /** - * @member {TargetComputeSizeProperties} [properties] The custom data. + * The type of the affected object which is of + * Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType class. */ - properties?: TargetComputeSizeProperties; -} - -/** - * @interface - * An interface representing TestFailoverCleanupInputProperties. - * Input definition for test failover cleanup input properties. - * - */ -export interface TestFailoverCleanupInputProperties { + targetInstanceType?: string; /** - * @member {string} [comments] Test failover cleanup comments. + * The custom job details like test failover job details. */ - comments?: string; + customDetails?: JobDetailsUnion; } /** - * @interface - * An interface representing TestFailoverCleanupInput. - * Input definition for test failover cleanup. - * + * Job details. */ -export interface TestFailoverCleanupInput { +export interface Job extends Resource { /** - * @member {TestFailoverCleanupInputProperties} properties Test failover - * cleanup input properties. + * The custom data. */ - properties: TestFailoverCleanupInputProperties; + properties?: JobProperties; } /** - * @interface - * An interface representing TestFailoverInputProperties. - * Input definition for planned failover input properties. - * + * This class contains the minimal job details required to navigate to the desired drill down. */ -export interface TestFailoverInputProperties { +export interface JobEntity { /** - * @member {string} [failoverDirection] Failover direction. + * The job id. */ - failoverDirection?: string; + jobId?: string; /** - * @member {string} [networkType] Network type to be used for test failover. + * The job display name. */ - networkType?: string; + jobFriendlyName?: string; /** - * @member {string} [networkId] The id of the network to be used for test - * failover + * The object id. */ - networkId?: string; + targetObjectId?: string; /** - * @member {string} [skipTestFailoverCleanup] A value indicating whether the - * test failover cleanup is to be skipped. + * The object name. */ - skipTestFailoverCleanup?: string; + targetObjectName?: string; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The workflow affected object type. */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; -} - -/** - * @interface - * An interface representing TestFailoverInput. - * Input definition for planned failover. - * - */ -export interface TestFailoverInput { + targetInstanceType?: string; /** - * @member {TestFailoverInputProperties} [properties] Planned failover input - * properties + * The job name. Enum type ScenarioName. */ - properties?: TestFailoverInputProperties; + jobScenarioName?: string; } /** - * @interface - * An interface representing TestFailoverJobDetails. - * This class represents the details for a test failover job. - * + * Query parameter to enumerate jobs. */ -export interface TestFailoverJobDetails { +export interface JobQueryParameter { /** - * @member {string} instanceType Polymorphic Discriminator + * Date time to get jobs from. */ - instanceType: "TestFailoverJobDetails"; + startTime?: 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. + * Date time to get jobs upto. */ - affectedObjectDetails?: { [propertyName: string]: string }; + endTime?: string; /** - * @member {string} [testFailoverStatus] The test failover status. + * The Id of the fabric to search jobs under. */ - testFailoverStatus?: string; + fabricId?: string; /** - * @member {string} [comments] The test failover comments. + * The type of objects. */ - comments?: string; + affectedObjectTypes?: string; /** - * @member {string} [networkName] The test network name. + * The states of the job to be filtered can be in. */ - networkName?: string; + jobStatus?: string; /** - * @member {string} [networkFriendlyName] The test network friendly name. + * The output type of the jobs. Possible values include: 'Json', 'Xml', 'Excel' */ - networkFriendlyName?: string; + jobOutputType?: ExportJobOutputSerializationType; /** - * @member {string} [networkType] The test network type (see - * TestFailoverInput enum for possible values). + * The job Name. */ - networkType?: string; + jobName?: string; /** - * @member {FailoverReplicationProtectedItemDetails[]} [protectedItemDetails] - * The test VM details. + * The timezone offset for the location of the request (in minutes). */ - protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; + timezoneOffset?: number; } /** - * @interface - * An interface representing UnplannedFailoverInputProperties. - * Input definition for planned failover input properties. - * + * Model class for event details of a job status event. */ -export interface UnplannedFailoverInputProperties { +export interface JobStatusEventDetails { /** - * @member {string} [failoverDirection] Failover direction. + * Polymorphic Discriminator */ - failoverDirection?: string; + instanceType: "JobStatus"; /** - * @member {string} [sourceSiteOperations] Source site operations status + * Job arm id for the event. */ - sourceSiteOperations?: string; + jobId?: string; + /** + * JobName for the Event. + */ + jobFriendlyName?: string; + /** + * JobStatus for the Event. + */ + jobStatus?: string; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * AffectedObjectType for the event. */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; + affectedObjectType?: string; } /** - * @interface - * An interface representing UnplannedFailoverInput. - * Input definition for planned failover. - * + * Logical Network Properties. */ -export interface UnplannedFailoverInput { +export interface LogicalNetworkProperties { + /** + * The Friendly Name. + */ + friendlyName?: string; + /** + * A value indicating whether Network Virtualization is enabled for the logical network. + */ + networkVirtualizationStatus?: string; + /** + * A value indicating whether logical network is used as private test network by test failover. + */ + logicalNetworkUsage?: string; /** - * @member {UnplannedFailoverInputProperties} [properties] Planned failover - * input properties + * A value indicating whether logical network definitions are isolated. */ - properties?: UnplannedFailoverInputProperties; + logicalNetworkDefinitionsStatus?: string; } /** - * @interface - * An interface representing UpdateMobilityServiceRequestProperties. - * The properties of an update mobility service request. - * + * Logical network data model. */ -export interface UpdateMobilityServiceRequestProperties { +export interface LogicalNetwork extends Resource { /** - * @member {string} [runAsAccountId] The CS run as account Id. + * The Logical Network Properties. */ - runAsAccountId?: string; + properties?: LogicalNetworkProperties; } /** - * @interface - * An interface representing UpdateMobilityServiceRequest. - * Request to update the mobility service on a protected item. - * + * This class represents the manual action task details. */ -export interface UpdateMobilityServiceRequest { +export interface ManualActionTaskDetails { /** - * @member {UpdateMobilityServiceRequestProperties} [properties] The - * properties of the update mobility service request. + * Polymorphic Discriminator */ - properties?: UpdateMobilityServiceRequestProperties; + instanceType: "ManualActionTaskDetails"; + /** + * The name. + */ + name?: string; + /** + * The instructions. + */ + instructions?: string; + /** + * The observation. + */ + observation?: string; } /** - * @interface - * An interface representing UpdateNetworkMappingInputProperties. - * Common input details for network mapping operation. - * + * The retention details of the MT. */ -export interface UpdateNetworkMappingInputProperties { +export interface RetentionVolume { /** - * @member {string} [recoveryFabricName] Recovery fabric name. + * The volume name. */ - recoveryFabricName?: string; + volumeName?: string; /** - * @member {string} [recoveryNetworkId] Recovery network Id. + * The volume capacity. */ - recoveryNetworkId?: string; + capacityInBytes?: number; /** - * @member {FabricSpecificUpdateNetworkMappingInputUnion} - * [fabricSpecificDetails] Fabrics specific input network Id. + * The free space available in this volume. */ - fabricSpecificDetails?: FabricSpecificUpdateNetworkMappingInputUnion; + freeSpaceInBytes?: number; + /** + * The threshold percentage. + */ + thresholdPercentage?: number; } /** - * @interface - * An interface representing UpdateNetworkMappingInput. - * Update network mapping input. - * + * Version related details. */ -export interface UpdateNetworkMappingInput { +export interface VersionDetails { /** - * @member {UpdateNetworkMappingInputProperties} [properties] The input - * properties needed to update network mapping. + * The agent version. */ - properties?: UpdateNetworkMappingInputProperties; + 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 UpdatePolicyInputProperties. - * Policy update properties. - * + * Details of a Master Target Server. */ -export interface UpdatePolicyInputProperties { +export interface MasterTargetServer { /** - * @member {PolicyProviderSpecificInputUnion} [replicationProviderSettings] - * The ReplicationProviderSettings. + * The server Id. */ - replicationProviderSettings?: PolicyProviderSpecificInputUnion; + id?: string; + /** + * The IP address of the server. + */ + ipAddress?: string; + /** + * The server name. + */ + name?: string; + /** + * The OS type of the server. + */ + osType?: string; + /** + * The version of the scout component on the server. + */ + agentVersion?: string; + /** + * The last heartbeat received from the server. + */ + lastHeartbeat?: Date; + /** + * Version status. + */ + versionStatus?: string; + /** + * The retention volumes of Master target Server. + */ + retentionVolumes?: RetentionVolume[]; + /** + * The list of data stores in the fabric. + */ + dataStores?: DataStore[]; + /** + * Validation errors. + */ + validationErrors?: HealthError[]; + /** + * Health errors. + */ + healthErrors?: HealthError[]; + /** + * Disk count of the master target. + */ + diskCount?: number; + /** + * OS Version of the master target. + */ + osVersion?: string; + /** + * Agent expiry date. + */ + agentExpiryDate?: Date; + /** + * MARS agent version. + */ + marsAgentVersion?: string; + /** + * MARS agent expiry date. + */ + marsAgentExpiryDate?: Date; + /** + * Agent version details. + */ + agentVersionDetails?: VersionDetails; + /** + * Mars agent version details. + */ + marsAgentVersionDetails?: VersionDetails; } /** - * @interface - * An interface representing UpdatePolicyInput. - * Update policy input. - * + * Contains the possible cases for MigrateProviderSpecificInput. */ -export interface UpdatePolicyInput { - /** - * @member {UpdatePolicyInputProperties} [properties] The - * ReplicationProviderSettings. - */ - properties?: UpdatePolicyInputProperties; -} +export type MigrateProviderSpecificInputUnion = MigrateProviderSpecificInput | VMwareCbtMigrateInput; /** - * @interface - * An interface representing UpdateProtectionContainerMappingInputProperties. - * Container pairing update input. - * + * Migrate provider specific input. */ -export interface UpdateProtectionContainerMappingInputProperties { +export interface MigrateProviderSpecificInput { /** - * @member {ReplicationProviderSpecificUpdateContainerMappingInputUnion} - * [providerSpecificInput] Provider specific input for updating protection - * container mapping. + * Polymorphic Discriminator */ - providerSpecificInput?: ReplicationProviderSpecificUpdateContainerMappingInputUnion; + instanceType: "MigrateProviderSpecificInput"; } /** - * @interface - * An interface representing UpdateProtectionContainerMappingInput. - * Container pairing update input. - * + * Migrate input properties. */ -export interface UpdateProtectionContainerMappingInput { +export interface MigrateInputProperties { /** - * @member {UpdateProtectionContainerMappingInputProperties} [properties] - * Update protection container mapping input properties. + * The provider specific details. */ - properties?: UpdateProtectionContainerMappingInputProperties; + providerSpecificDetails: MigrateProviderSpecificInputUnion; } /** - * @interface - * An interface representing UpdateRecoveryPlanInputProperties. - * Recovery plan updation properties. - * + * Input for migrate. */ -export interface UpdateRecoveryPlanInputProperties { +export interface MigrateInput { /** - * @member {RecoveryPlanGroup[]} [groups] The recovery plan groups. + * Migrate input properties. */ - groups?: RecoveryPlanGroup[]; + properties: MigrateInputProperties; } /** - * @interface - * An interface representing UpdateRecoveryPlanInput. - * Update recovery plan input class. - * + * Contains the possible cases for MigrationProviderSpecificSettings. */ -export interface UpdateRecoveryPlanInput { +export type MigrationProviderSpecificSettingsUnion = MigrationProviderSpecificSettings | VMwareCbtMigrationDetails; + +/** + * Migration provider specific settings. + */ +export interface MigrationProviderSpecificSettings { /** - * @member {UpdateRecoveryPlanInputProperties} [properties] Recovery plan - * update properties. + * Polymorphic Discriminator */ - properties?: UpdateRecoveryPlanInputProperties; + instanceType: "MigrationProviderSpecificSettings"; } /** - * @interface - * An interface representing VMNicInputDetails. - * Hyper V VM network input details. - * + * Migration item properties. */ -export interface VMNicInputDetails { +export interface MigrationItemProperties { /** - * @member {string} [nicId] The nic Id. + * The on-premise virtual machine name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nicId?: string; + readonly machineName?: string; /** - * @member {string} [recoveryVMSubnetName] Recovery VM subnet name. + * The ARM Id of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryVMSubnetName?: string; + readonly policyId?: string; /** - * @member {string} [replicaNicStaticIPAddress] Replica nic static IP - * address. + * The name of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicaNicStaticIPAddress?: string; + readonly policyFriendlyName?: string; /** - * @member {string} [selectionType] Selection type for failover. + * 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.** */ - selectionType?: string; + readonly migrationState?: MigrationState; /** - * @member {boolean} [enableAcceleratedNetworkingOnRecovery] Whether the NIC - * has accerated networking enabled. + * The migration state description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enableAcceleratedNetworkingOnRecovery?: boolean; -} - -/** - * @interface - * An interface representing UpdateReplicationProtectedItemInputProperties. - * Update protected item input properties. - * - */ -export interface UpdateReplicationProtectedItemInputProperties { + readonly migrationStateDescription?: string; /** - * @member {string} [recoveryAzureVMName] Target azure VM name given by the - * user. + * The last test migration time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryAzureVMName?: string; + readonly lastTestMigrationTime?: Date; /** - * @member {string} [recoveryAzureVMSize] Target Azure Vm size. + * The status of the last test migration. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryAzureVMSize?: string; + readonly lastTestMigrationStatus?: string; /** - * @member {string} [selectedRecoveryAzureNetworkId] Target Azure Network Id. + * 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.** */ - selectedRecoveryAzureNetworkId?: string; + readonly testMigrateState?: TestMigrationState; /** - * @member {string} [selectedSourceNicId] The selected source nic Id which - * will be used as the primary nic during failover. + * The test migrate state description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - selectedSourceNicId?: string; + readonly testMigrateStateDescription?: string; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * The consolidated health. Possible values include: 'None', 'Normal', 'Warning', 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enableRdpOnTargetOption?: string; + readonly health?: ProtectionHealth; /** - * @member {VMNicInputDetails[]} [vmNics] The list of vm nic details. + * The list of health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmNics?: VMNicInputDetails[]; + readonly healthErrors?: HealthError[]; /** - * @member {LicenseType} [licenseType] License type. Possible values include: - * 'NotSpecified', 'NoLicenseType', 'WindowsServer' + * 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.** */ - licenseType?: LicenseType; + readonly allowedOperations?: MigrationItemOperation[]; /** - * @member {string} [recoveryAvailabilitySetId] The target availability set - * id. + * The current job details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryAvailabilitySetId?: string; + readonly currentJob?: CurrentJobDetails; /** - * @member {UpdateReplicationProtectedItemProviderInputUnion} - * [providerSpecificDetails] The provider specific input to update - * replication protected item. + * The correlation Id for events associated with this migration item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: UpdateReplicationProtectedItemProviderInputUnion; + readonly eventCorrelationId?: string; + /** + * The migration provider custom settings. + */ + providerSpecificDetails?: MigrationProviderSpecificSettingsUnion; } /** - * @interface - * An interface representing UpdateReplicationProtectedItemInput. - * Update replication protected item input. - * + * Migration item. */ -export interface UpdateReplicationProtectedItemInput { +export interface MigrationItem extends Resource { /** - * @member {UpdateReplicationProtectedItemInputProperties} [properties] - * Update replication protected item properties. + * The migration item properties. */ - properties?: UpdateReplicationProtectedItemInputProperties; + properties?: MigrationItemProperties; } /** - * @interface - * An interface representing UpdateVCenterRequestProperties. - * The properties of an update vCenter request. - * + * Query parameter to enumerate migration items. */ -export interface UpdateVCenterRequestProperties { +export interface MigrationItemsQueryParameter { /** - * @member {string} [friendlyName] The friendly name of the vCenter. + * The source fabric name filter. */ - friendlyName?: string; + sourceFabricName?: string; /** - * @member {string} [ipAddress] The IP address of the vCenter to be - * discovered. + * The source container name filter. */ - ipAddress?: string; + sourceContainerName?: string; /** - * @member {string} [processServerId] The process server Id from where the - * update can be orchestrated. + * The replication provider type. */ - processServerId?: string; + instanceType?: string; +} + +/** + * Migration item recovery point properties. + */ +export interface MigrationRecoveryPointProperties { /** - * @member {string} [port] The port number for discovery. + * The recovery point time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - port?: string; + readonly recoveryPointTime?: Date; /** - * @member {string} [runAsAccountId] The CS account Id which has priviliges - * to update the vCenter. + * 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.** */ - runAsAccountId?: string; + readonly recoveryPointType?: MigrationRecoveryPointType; } /** - * @interface - * An interface representing UpdateVCenterRequest. - * Input required to update vCenter. - * + * Recovery point for a migration item. */ -export interface UpdateVCenterRequest { +export interface MigrationRecoveryPoint extends Resource { /** - * @member {UpdateVCenterRequestProperties} [properties] The update VCenter - * Request Properties. + * Recovery point properties. */ - properties?: UpdateVCenterRequestProperties; + properties?: MigrationRecoveryPointProperties; } /** - * @interface - * An interface representing VaultHealthProperties. - * class to define the health summary of the Vault. - * + * The Mobility Service update details. */ -export interface VaultHealthProperties { - /** - * @member {HealthError[]} [vaultErrors] The list of errors on the vault. - */ - vaultErrors?: HealthError[]; +export interface MobilityServiceUpdate { /** - * @member {ResourceHealthSummary} [protectedItemsHealth] The list of the - * health detail of the protected items in the vault. + * The version of the latest update. */ - protectedItemsHealth?: ResourceHealthSummary; + version?: string; /** - * @member {ResourceHealthSummary} [fabricsHealth] The list of the health - * detail of the fabrics in the vault. + * The reboot status of the update - whether it is required or not. */ - fabricsHealth?: ResourceHealthSummary; + rebootStatus?: string; /** - * @member {ResourceHealthSummary} [containersHealth] The list of the health - * detail of the containers in the vault. + * The OS type. */ - containersHealth?: ResourceHealthSummary; + osType?: string; } /** - * @interface - * An interface representing VaultHealthDetails. - * Vault health details definition. - * - * @extends Resource + * Subnets of the network. */ -export interface VaultHealthDetails extends Resource { +export interface Subnet { /** - * @member {VaultHealthProperties} [properties] The vault health related - * data. + * The subnet name. */ - properties?: VaultHealthProperties; -} - -/** - * @interface - * An interface representing VCenterProperties. - * vCenter properties. - * - */ -export interface VCenterProperties { + name?: string; /** - * @member {string} [friendlyName] Friendly name of the vCenter. + * The subnet friendly name. */ friendlyName?: string; /** - * @member {string} [internalId] VCenter internal ID. - */ - internalId?: string; - /** - * @member {Date} [lastHeartbeat] The time when the last heartbeat was - * reveived by vCenter. - */ - lastHeartbeat?: Date; - /** - * @member {string} [discoveryStatus] The VCenter discovery status. - */ - discoveryStatus?: string; - /** - * @member {string} [processServerId] The process server Id. - */ - processServerId?: string; - /** - * @member {string} [ipAddress] The IP address of the vCenter. - */ - ipAddress?: string; - /** - * @member {string} [infrastructureId] The infrastructure Id of vCenter. + * The list of addresses for the subnet. */ - infrastructureId?: string; + addressList?: string[]; +} + +/** + * Network Properties. + */ +export interface NetworkProperties { /** - * @member {string} [port] The port number for discovery. + * The Fabric Type. */ - port?: string; + fabricType?: string; /** - * @member {string} [runAsAccountId] The account Id which has privileges to - * discover the vCenter. + * The List of subnets. */ - runAsAccountId?: string; + subnets?: Subnet[]; /** - * @member {string} [fabricArmResourceName] The ARM resource name of the - * fabric containing this VCenter. + * The Friendly Name. */ - fabricArmResourceName?: string; + friendlyName?: string; /** - * @member {HealthError[]} [healthErrors] The health errors for this VCenter. + * The Network Type. */ - healthErrors?: HealthError[]; + networkType?: string; } /** - * @interface - * An interface representing VCenter. - * vCenter definition. - * - * @extends Resource + * Network model. */ -export interface VCenter extends Resource { +export interface Network extends Resource { /** - * @member {VCenterProperties} [properties] VCenter related data. + * The Network Properties. */ - properties?: VCenterProperties; + properties?: NetworkProperties; } /** - * @interface - * An interface representing VirtualMachineTaskDetails. - * This class represents the virtual machine task details. - * + * Network Mapping Properties. */ -export interface VirtualMachineTaskDetails { +export interface NetworkMappingProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The pairing state for network mapping. */ - instanceType: "VirtualMachineTaskDetails"; + state?: string; /** - * @member {string} [skippedReason] The skipped reason. + * The primary network friendly name. */ - skippedReason?: string; + primaryNetworkFriendlyName?: string; /** - * @member {string} [skippedReasonString] The skipped reason string. + * The primary network id for network mapping. */ - skippedReasonString?: string; + primaryNetworkId?: string; /** - * @member {JobEntity} [jobTask] The job entity. + * The primary fabric friendly name. */ - jobTask?: JobEntity; -} - -/** - * @interface - * An interface representing VmmDetails. - * VMM fabric specific details. - * - */ -export interface VmmDetails { + primaryFabricFriendlyName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The recovery network friendly name. */ - instanceType: "VMM"; -} - -/** - * @interface - * An interface representing VmmToAzureCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to Vmm to Azure - * Network mapping. - * - */ -export interface VmmToAzureCreateNetworkMappingInput { + recoveryNetworkFriendlyName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The recovery network id for network mapping. */ - instanceType: "VmmToAzure"; -} - -/** - * @interface - * An interface representing VmmToAzureNetworkMappingSettings. - * E2A Network Mapping fabric specific settings. - * - */ -export interface VmmToAzureNetworkMappingSettings { + recoveryNetworkId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The recovery fabric ARM id. */ - instanceType: "VmmToAzure"; -} - -/** - * @interface - * An interface representing VmmToAzureUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to azure. - * - */ -export interface VmmToAzureUpdateNetworkMappingInput { + recoveryFabricArmId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The recovery fabric friendly name. */ - instanceType: "VmmToAzure"; -} - -/** - * @interface - * An interface representing VmmToVmmCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to vmm to vmm - * Network mapping. - * - */ -export interface VmmToVmmCreateNetworkMappingInput { + recoveryFabricFriendlyName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The fabric specific settings. */ - instanceType: "VmmToVmm"; + fabricSpecificSettings?: NetworkMappingFabricSpecificSettingsUnion; } /** - * @interface - * An interface representing VmmToVmmNetworkMappingSettings. - * E2E Network Mapping fabric specific settings. - * + * 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 VmmToVmmNetworkMappingSettings { +export interface NetworkMapping extends Resource { /** - * @member {string} instanceType Polymorphic Discriminator + * The Network Mapping Properties. */ - instanceType: "VmmToVmm"; + properties?: NetworkMappingProperties; } /** - * @interface - * An interface representing VmmToVmmUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to vmm. - * + * New Protection profile input. */ -export interface VmmToVmmUpdateNetworkMappingInput { +export interface NewProtectionProfile { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmmToVmm"; -} - -/** - * @interface - * An interface representing VmmVirtualMachineDetails. - * VMM fabric provider specific VM settings. - * - */ -export interface VmmVirtualMachineDetails { + resourceType: "New"; /** - * @member {string} instanceType Polymorphic Discriminator + * The protection profile input. */ - instanceType: "VmmVirtualMachine"; + policyName: string; /** - * @member {string} [sourceItemId] The source id of the object. + * The duration in minutes until which the recovery points need to be stored. */ - sourceItemId?: string; + recoveryPointHistory?: number; /** - * @member {string} [generation] The id of the object in fabric. + * The crash consistent snapshot frequency (in minutes). */ - generation?: string; + crashConsistentFrequencyInMinutes?: number; /** - * @member {OSDetails} [osDetails] The Last replication time. + * The app consistent snapshot frequency (in minutes). */ - osDetails?: OSDetails; + appConsistentFrequencyInMinutes?: number; /** - * @member {DiskDetails[]} [diskDetails] The Last successful failover time. + * A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or + * 'Disabled'. Possible values include: 'Enable', 'Disable' */ - diskDetails?: DiskDetails[]; + multiVmSyncStatus: SetMultiVmSyncStatus; +} + +/** + * Recovery virtual network input to create new virtual network from given source network. + */ +export interface NewRecoveryVirtualNetwork { /** - * @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' + * Polymorphic Discriminator */ - hasPhysicalDisk?: PresenceStatus; + resourceType: "New"; /** - * @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 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. */ - hasFibreChannelAdapter?: PresenceStatus; + recoveryVirtualNetworkResourceGroupName?: 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 virtual network name. */ - hasSharedVhd?: PresenceStatus; + recoveryVirtualNetworkName?: string; } /** - * @interface - * An interface representing VmNicUpdatesTaskDetails. - * This class represents the vm NicUpdates task details. - * + * Operations discovery class. */ -export interface VmNicUpdatesTaskDetails { +export interface OperationsDiscovery { /** - * @member {string} instanceType Polymorphic Discriminator + * 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). */ - instanceType: "VmNicUpdatesTaskDetails"; + name?: string; /** - * @member {string} [vmId] Virtual machine Id. + * Object type. */ - vmId?: string; + display?: Display; /** - * @member {string} [nicId] Nic Id. + * 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". */ - nicId?: string; + origin?: string; /** - * @member {string} [name] Name of the Nic. + * Properties. Reserved for future use. */ - name?: string; + properties?: any; } /** - * @interface - * An interface representing VMwareCbtPolicyCreationInput. - * VMware Cbt Policy creation input. - * + * Wrapper model for OSVersion to include version and service pack info. */ -export interface VMwareCbtPolicyCreationInput { +export interface OSVersionWrapper { /** - * @member {string} instanceType Polymorphic Discriminator + * The version. */ - instanceType: "VMwareCbt"; + version?: string; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The service pack. */ - recoveryPointHistory?: number; + servicePack?: string; +} + +/** + * Input definition for planned failover input properties. + */ +export interface PlannedFailoverInputProperties { /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency (in minutes). + * Failover direction. */ - crashConsistentFrequencyInMinutes?: number; + failoverDirection?: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency (in minutes). + * Provider specific settings. */ - appConsistentFrequencyInMinutes?: number; + providerSpecificDetails?: PlannedFailoverProviderSpecificFailoverInputUnion; } /** - * @interface - * An interface representing VmwareCbtPolicyDetails. - * VMware Cbt specific policy details. - * + * Input definition for planned failover. */ -export interface VmwareCbtPolicyDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "VMwareCbt"; +export interface PlannedFailoverInput { /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * Planned failover input properties. */ - recoveryPointThresholdInMinutes?: number; + properties?: PlannedFailoverInputProperties; +} + +/** + * Protection profile custom data details. + */ +export interface PolicyProperties { /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The FriendlyName. */ - recoveryPointHistory?: number; + friendlyName?: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The ReplicationChannelSetting. */ - appConsistentFrequencyInMinutes?: number; + providerSpecificDetails?: PolicyProviderSpecificDetailsUnion; +} + +/** + * Protection profile details. + */ +export interface Policy extends Resource { /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The custom data. */ - crashConsistentFrequencyInMinutes?: number; + properties?: PolicyProperties; } /** - * @interface - * An interface representing VMwareDetails. - * Store the fabric details specific to the VMware fabric. - * + * Details of the Process Server. */ -export interface VMwareDetails { +export interface ProcessServer { /** - * @member {string} instanceType Polymorphic Discriminator + * The Process Server's friendly name. */ - instanceType: "VMware"; + friendlyName?: string; /** - * @member {ProcessServer[]} [processServers] The list of Process Servers - * associated with the fabric. + * The Process Server Id. */ - processServers?: ProcessServer[]; + id?: string; /** - * @member {MasterTargetServer[]} [masterTargetServers] The list of Master - * Target servers associated with the fabric. + * The IP address of the server. */ - masterTargetServers?: MasterTargetServer[]; + ipAddress?: string; /** - * @member {RunAsAccount[]} [runAsAccounts] The list of run as accounts - * created on the server. + * The OS type of the server. */ - runAsAccounts?: RunAsAccount[]; + osType?: string; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this CS. + * The version of the scout component on the server. */ - replicationPairCount?: string; + agentVersion?: string; /** - * @member {string} [processServerCount] The number of process servers. + * The last heartbeat received from the server. */ - processServerCount?: string; + lastHeartbeat?: Date; /** - * @member {string} [agentCount] The number of source and target servers - * configured to talk to this CS. + * Version status. */ - agentCount?: string; + versionStatus?: string; /** - * @member {string} [protectedServers] The number of protected servers. + * The list of the mobility service updates available on the Process Server. */ - protectedServers?: string; + mobilityServiceUpdates?: MobilityServiceUpdate[]; + /** + * The agent generated Id. + */ + hostId?: string; /** - * @member {string} [systemLoad] The percentage of the system load. + * The servers configured with this PS. + */ + machineCount?: string; + /** + * The number of replication pairs configured in this PS. + */ + replicationPairCount?: string; + /** + * The percentage of the system load. */ systemLoad?: string; /** - * @member {string} [systemLoadStatus] The system load status. + * The system load status. */ systemLoadStatus?: string; /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * The percentage of the CPU load. */ cpuLoad?: string; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * The CPU load status. */ cpuLoadStatus?: string; /** - * @member {number} [totalMemoryInBytes] The total memory. + * The total memory. */ totalMemoryInBytes?: number; /** - * @member {number} [availableMemoryInBytes] The available memory. + * The available memory. */ availableMemoryInBytes?: number; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * The memory usage status. */ memoryUsageStatus?: string; /** - * @member {number} [totalSpaceInBytes] The total space. + * The total space. */ totalSpaceInBytes?: number; /** - * @member {number} [availableSpaceInBytes] The available space. + * The available space. */ availableSpaceInBytes?: number; /** - * @member {string} [spaceUsageStatus] The space usage status. + * The space usage status. */ spaceUsageStatus?: string; /** - * @member {string} [webLoad] The web load. + * The PS service status. */ - webLoad?: string; + psServiceStatus?: string; /** - * @member {string} [webLoadStatus] The web load status. + * The PS SSL cert expiry date. */ - webLoadStatus?: string; + sslCertExpiryDate?: Date; /** - * @member {string} [databaseServerLoad] The database server load. + * CS SSL cert expiry date. */ - databaseServerLoad?: string; + sslCertExpiryRemainingDays?: number; /** - * @member {string} [databaseServerLoadStatus] The database server load - * status. + * OS Version of the process server. Note: This will get populated if user has CS version greater + * than 9.12.0.0. */ - databaseServerLoadStatus?: string; + osVersion?: string; /** - * @member {string} [csServiceStatus] The CS service status. + * Health errors. */ - csServiceStatus?: string; + healthErrors?: HealthError[]; /** - * @member {string} [ipAddress] The IP address. + * Agent expiry date. */ - ipAddress?: string; + agentExpiryDate?: Date; /** - * @member {string} [agentVersion] The agent Version. + * The agent version details. */ - agentVersion?: string; + agentVersionDetails?: VersionDetails; /** - * @member {string} [hostName] The host name. + * 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.** */ - hostName?: string; + readonly health?: ProtectionHealth; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from CS server. + * The process server stats refresh time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastHeartbeat?: Date; + readonly psStatsRefreshTime?: Date; /** - * @member {string} [versionStatus] Version status + * The uploading pending data in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - versionStatus?: string; + readonly throughputUploadPendingDataInBytes?: number; /** - * @member {Date} [sslCertExpiryDate] CS SSL cert expiry date. + * The throughput in MBps. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sslCertExpiryDate?: Date; + readonly throughputInMBps?: number; /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * The throughput in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sslCertExpiryRemainingDays?: number; + readonly throughputInBytes?: number; /** - * @member {string} [psTemplateVersion] PS template version. + * The throughput status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - psTemplateVersion?: string; + readonly throughputStatus?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The MARS communication status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentExpiryDate?: Date; + readonly marsCommunicationStatus?: string; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * The MARS registration status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentVersionDetails?: VersionDetails; + readonly marsRegistrationStatus?: string; } /** - * @interface - * An interface representing VMwareV2FabricCreationInput. - * Fabric provider specific settings. - * + * Replication protected item custom data details. */ -export interface VMwareV2FabricCreationInput { +export interface ProtectableItemProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The name. */ - instanceType: "VMwareV2"; + friendlyName?: string; /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * The protection status. */ - keyVaultUrl?: string; + protectionStatus?: string; /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * The ARM resource of protected items. */ - keyVaultResourceArmId?: string; -} - -/** - * @interface - * An interface representing VMwareV2FabricSpecificDetails. - * VMwareV2 fabric Specific Details. - * - */ -export interface VMwareV2FabricSpecificDetails { + replicationProtectedItemId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The recovery provider ARM Id. */ - instanceType: "VMwareV2"; + recoveryServicesProviderId?: string; /** - * @member {string} [srsServiceEndpoint] The endpoint for making requests to - * the SRS Service. + * The Current protection readiness errors. */ - srsServiceEndpoint?: string; + protectionReadinessErrors?: string[]; /** - * @member {string} [rcmServiceEndpoint] The endpoint for making requests to - * the RCM Service. + * The list of replication providers supported for the protectable item. */ - rcmServiceEndpoint?: string; + supportedReplicationProviders?: string[]; /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * The Replication provider custom settings. */ - keyVaultUrl?: string; + customDetails?: ConfigurationSettingsUnion; +} + +/** + * Replication protected item. + */ +export interface ProtectableItem extends Resource { /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * The custom data. */ - keyVaultResourceArmId?: string; + properties?: ProtectableItemProperties; } /** - * @interface - * An interface representing VMwareVirtualMachineDetails. - * VMware provider specific settings - * + * Query parameter to enumerate Protectable items. */ -export interface VMwareVirtualMachineDetails { +export interface ProtectableItemQueryParameter { /** - * @member {string} instanceType Polymorphic Discriminator + * State of the Protectable item query filter. */ - instanceType: "VMwareVirtualMachine"; + state?: string; +} + +/** + * Query parameter to enumerate protected items. + */ +export interface ProtectedItemsQueryParameter { /** - * @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 source fabric name filter. */ - agentGeneratedId?: string; + sourceFabricName?: string; /** - * @member {string} [agentInstalled] The value indicating if InMage scout - * agent is installed on guest. + * The recovery plan filter. */ - agentInstalled?: string; + recoveryPlanName?: string; /** - * @member {string} [osType] The OsType installed on VM. + * The vCenter name filter. */ - osType?: string; + vCenterName?: string; /** - * @member {string} [agentVersion] The agent version. + * The replication provider type. */ - agentVersion?: string; + instanceType?: string; /** - * @member {string} [ipAddress] The IP address. + * Whether Multi VM group is auto created or specified by user. Possible values include: + * 'AutoCreated', 'UserSpecified' */ - ipAddress?: string; + multiVmGroupCreateOption?: MultiVmGroupCreateOption; /** - * @member {string} [poweredOn] The value indicating whether VM is powered - * on. + * The process server Id filter. */ - poweredOn?: string; + processServerId?: string; +} + +/** + * Base class for fabric specific details of container. + */ +export interface ProtectionContainerFabricSpecificDetails { /** - * @member {string} [vCenterInfrastructureId] The VCenter infrastructure Id. + * Gets the class type. Overridden in derived classes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCenterInfrastructureId?: string; + readonly instanceType?: string; +} + +/** + * Protection profile custom data details. + */ +export interface ProtectionContainerProperties { /** - * @member {string} [discoveryType] A value inidicating the discovery type of - * the machine. Value can be vCenter or physical. + * Fabric friendly name. */ - discoveryType?: string; + fabricFriendlyName?: string; /** - * @member {InMageDiskDetails[]} [diskDetails] The disk details. + * The name. */ - diskDetails?: InMageDiskDetails[]; + friendlyName?: string; /** - * @member {HealthError[]} [validationErrors] The validation errors. + * The fabric type. */ - validationErrors?: HealthError[]; -} - -/** - * @interface - * An interface representing ReplicationEventsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationEventsListOptionalParams extends msRest.RequestOptionsBase { + fabricType?: string; /** - * @member {string} [filter] OData filter options. + * Number of protected PEs. */ - filter?: string; + 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 ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase + * Protection container details. */ -export interface ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { +export interface ProtectionContainer extends Resource { /** - * @member {string} [filter] OData filter options. + * The custom data. */ - filter?: string; + properties?: ProtectionContainerProperties; } /** - * @interface - * An interface representing ReplicationProtectedItemsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase + * Protection container mapping properties. */ -export interface ReplicationProtectedItemsListOptionalParams extends msRest.RequestOptionsBase { +export interface ProtectionContainerMappingProperties { /** - * @member {string} [skipToken] The pagination token. Possible values: - * "FabricId" or "FabricId_CloudId" or null + * Paired protection container ARM ID. */ - skipToken?: string; + targetProtectionContainerId?: string; /** - * @member {string} [filter] OData filter options. + * Friendly name of paired container. */ - filter?: string; -} - -/** - * @interface - * An interface representing ReplicationJobsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationJobsListOptionalParams extends msRest.RequestOptionsBase { + targetProtectionContainerFriendlyName?: string; /** - * @member {string} [filter] OData filter options. + * Provider specific provider details. */ - filter?: string; + 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 SiteRecoveryManagementClientOptions. - * @extends AzureServiceClientOptions + * Protection container mapping object. */ -export interface SiteRecoveryManagementClientOptions extends AzureServiceClientOptions { +export interface ProtectionContainerMapping extends Resource { /** - * @member {string} [baseUri] + * The custom data. */ - baseUri?: string; + properties?: ProtectionContainerMappingProperties; } +/** + * Contains the possible cases for RecoveryPlanProviderSpecificDetails. + */ +export type RecoveryPlanProviderSpecificDetailsUnion = RecoveryPlanProviderSpecificDetails | RecoveryPlanA2ADetails; /** - * @interface - * An interface representing the OperationsDiscoveryCollection. - * Collection of ClientDiscovery details. - * - * @extends Array + * Recovery plan provider specific details. */ -export interface OperationsDiscoveryCollection extends Array { +export interface RecoveryPlanProviderSpecificDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "RecoveryPlanProviderSpecificDetails"; } /** - * @interface - * An interface representing the AlertCollection. - * Collection of alerts. - * - * @extends Array + * Recovery plan properties. */ -export interface AlertCollection 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. + */ + providerSpecificDetails?: RecoveryPlanProviderSpecificDetailsUnion[]; } /** - * @interface - * An interface representing the EventCollection. - * Collection of fabric details. - * - * @extends Array + * Recovery plan details. */ -export interface EventCollection extends Array { +export interface RecoveryPlan extends Resource { /** - * @member {string} [nextLink] The value of next link. + * The custom details. */ - nextLink?: string; + properties?: RecoveryPlanProperties; } /** - * @interface - * An interface representing the FabricCollection. - * Collection of fabric details. - * - * @extends Array + * Recovery plan A2A specific details. */ -export interface FabricCollection extends Array { +export interface RecoveryPlanA2ADetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "A2A"; + /** + * The primary zone. + */ + primaryZone?: string; + /** + * The recovery zone. + */ + recoveryZone?: string; } /** - * @interface - * An interface representing the LogicalNetworkCollection. - * List of logical networks. - * - * @extends Array + * Contains the possible cases for RecoveryPlanProviderSpecificFailoverInput. */ -export interface LogicalNetworkCollection extends Array { - /** - * @member {string} [nextLink] The value of next link. - */ - nextLink?: string; -} +export type RecoveryPlanProviderSpecificFailoverInputUnion = RecoveryPlanProviderSpecificFailoverInput | RecoveryPlanA2AFailoverInput | RecoveryPlanHyperVReplicaAzureFailbackInput | RecoveryPlanHyperVReplicaAzureFailoverInput | RecoveryPlanInMageAzureV2FailoverInput | RecoveryPlanInMageFailoverInput | RecoveryPlanInMageRcmFailbackFailoverInput | RecoveryPlanInMageRcmFailoverInput; /** - * @interface - * An interface representing the NetworkCollection. - * List of networks. - * - * @extends Array + * Recovery plan provider specific failover input. */ -export interface NetworkCollection extends Array { +export interface RecoveryPlanProviderSpecificFailoverInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "RecoveryPlanProviderSpecificFailoverInput"; } /** - * @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 + * Recovery plan A2A failover input. */ -export interface NetworkMappingCollection extends Array { +export interface RecoveryPlanA2AFailoverInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + 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; } /** - * @interface - * An interface representing the ProtectionContainerCollection. - * Protection Container collection. - * - * @extends Array + * Recovery plan A2A input. */ -export interface ProtectionContainerCollection extends Array { +export interface RecoveryPlanA2AInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "A2A"; + /** + * The primary zone. + */ + primaryZone?: string; + /** + * The recovery zone. + */ + recoveryZone?: string; } /** - * @interface - * An interface representing the ProtectableItemCollection. - * Protectable item collection. - * - * @extends Array + * Recovery plan Automation runbook action details. */ -export interface ProtectableItemCollection extends Array { +export interface RecoveryPlanAutomationRunbookActionDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "AutomationRunbookActionDetails"; + /** + * The runbook ARM Id. + */ + runbookId?: string; + /** + * The runbook timeout. + */ + timeout?: string; + /** + * The fabric location. Possible values include: 'Primary', 'Recovery' + */ + fabricLocation: RecoveryPlanActionLocation; } /** - * @interface - * An interface representing the ReplicationProtectedItemCollection. - * Replication protected item collection. - * - * @extends Array + * Contains the possible cases for RecoveryPlanGroupTaskDetails. */ -export interface ReplicationProtectedItemCollection extends Array { +export type RecoveryPlanGroupTaskDetailsUnion = RecoveryPlanGroupTaskDetails | RecoveryPlanShutdownGroupTaskDetails; + +/** + * This class represents the recovery plan group task. + */ +export interface RecoveryPlanGroupTaskDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "RecoveryPlanGroupTaskDetails"; + /** + * The child tasks. + */ + childTasks?: ASRTask[]; + /** + * The name. + */ + name?: string; + /** + * The group identifier. + */ + groupId?: string; + /** + * The group type. + */ + rpGroupType?: string; } /** - * @interface - * An interface representing the RecoveryPointCollection. - * Collection of recovery point details. - * - * @extends Array + * Recovery plan HVR Azure failback input. */ -export interface RecoveryPointCollection extends Array { +export interface RecoveryPlanHyperVReplicaAzureFailbackInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "HyperVReplicaAzureFailback"; + /** + * The data sync option. Possible values include: 'ForDownTime', 'ForSynchronization' + */ + dataSyncOption: DataSyncStatus; + /** + * The ALR option. Possible values include: 'CreateVmIfNotFound', 'NoAction' + */ + recoveryVmCreationOption: AlternateLocationRecoveryOption; } /** - * @interface - * An interface representing the TargetComputeSizeCollection. - * Target compute size collection. - * - * @extends Array + * Recovery plan HVR Azure failover input. */ -export interface TargetComputeSizeCollection extends Array { +export interface RecoveryPlanHyperVReplicaAzureFailoverInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "HyperVReplicaAzure"; + /** + * 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; } /** - * @interface - * An interface representing the ProtectionContainerMappingCollection. - * Protection container mapping collection class. - * - * @extends Array + * Recovery plan InMageAzureV2 failover input. */ -export interface ProtectionContainerMappingCollection extends Array { +export interface RecoveryPlanInMageAzureV2FailoverInput { /** - * @member {string} [nextLink] Link to fetch rest of the data. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "InMageAzureV2"; + /** + * 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; } /** - * @interface - * An interface representing the RecoveryServicesProviderCollection. - * Collection of providers. - * - * @extends Array + * Recovery plan InMage failover input. */ -export interface RecoveryServicesProviderCollection extends Array { +export interface RecoveryPlanInMageFailoverInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "InMage"; + /** + * The recovery point type. Possible values include: 'LatestTime', 'LatestTag', 'Custom' + */ + recoveryPointType: RpInMageRecoveryPointType; } /** - * @interface - * An interface representing the StorageClassificationCollection. - * Collection of storage details. - * - * @extends Array + * Recovery plan InMageRcmFailback failover input. */ -export interface StorageClassificationCollection extends Array { +export interface RecoveryPlanInMageRcmFailbackFailoverInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "InMageRcmFailback"; + /** + * The recovery point type. Possible values include: 'ApplicationConsistent', 'CrashConsistent' + */ + recoveryPointType: InMageRcmFailbackRecoveryPointType; + /** + * A value indicating whether multi VM sync enabled VMs should use multi VM sync points for + * failover. + */ + useMultiVmSyncPoint?: string; } /** - * @interface - * An interface representing the StorageClassificationMappingCollection. - * Collection of storage mapping details. - * - * @extends Array + * Recovery plan InMageRcm failover input. */ -export interface StorageClassificationMappingCollection extends Array { +export interface RecoveryPlanInMageRcmFailoverInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + 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; } /** - * @interface - * An interface representing the VCenterCollection. - * Collection of vCenter details. - * - * @extends Array + * Recovery plan manual action details. */ -export interface VCenterCollection extends Array { +export interface RecoveryPlanManualActionDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "ManualActionDetails"; + /** + * The manual action description. + */ + description?: string; } /** - * @interface - * An interface representing the JobCollection. - * Collection of jobs. - * - * @extends Array + * Recovery plan planned failover input properties. */ -export interface JobCollection extends Array { +export interface RecoveryPlanPlannedFailoverInputProperties { /** - * @member {string} [nextLink] The value of next link. + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' */ - nextLink?: string; + failoverDirection: PossibleOperationsDirections; + /** + * The provider specific properties. + */ + providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; } /** - * @interface - * An interface representing the PolicyCollection. - * Protection Profile Collection details. - * - * @extends Array + * Recovery plan planned failover input. */ -export interface PolicyCollection extends Array { +export interface RecoveryPlanPlannedFailoverInput { /** - * @member {string} [nextLink] The value of next link. + * The recovery plan planned failover input properties. */ - nextLink?: string; + properties: RecoveryPlanPlannedFailoverInputProperties; } /** - * @interface - * An interface representing the RecoveryPlanCollection. - * Recovery plan collection details. - * - * @extends Array + * Recovery plan script action details. */ -export interface RecoveryPlanCollection extends Array { +export interface RecoveryPlanScriptActionDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + 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 AgentAutoUpdateStatus. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * This class represents the recovery plan shutdown group task details. */ -export type AgentAutoUpdateStatus = 'Disabled' | 'Enabled'; +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 SetMultiVmSyncStatus. - * Possible values include: 'Enable', 'Disable' - * @readonly - * @enum {string} + * Recovery plan test failover cleanup input properties. */ -export type SetMultiVmSyncStatus = 'Enable' | 'Disable'; +export interface RecoveryPlanTestFailoverCleanupInputProperties { + /** + * The test failover cleanup comments. + */ + comments?: string; +} /** - * Defines values for RecoveryPointSyncType. - * Possible values include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' - * @readonly - * @enum {string} + * Recovery plan test failover cleanup input. */ -export type RecoveryPointSyncType = 'MultiVmSyncRecoveryPoint' | 'PerVmRecoveryPoint'; +export interface RecoveryPlanTestFailoverCleanupInput { + /** + * The recovery plan test failover cleanup input properties. + */ + properties: RecoveryPlanTestFailoverCleanupInputProperties; +} /** - * Defines values for MultiVmGroupCreateOption. - * Possible values include: 'AutoCreated', 'UserSpecified' - * @readonly - * @enum {string} + * Recovery plan test failover input properties. */ -export type MultiVmGroupCreateOption = 'AutoCreated' | 'UserSpecified'; - -/** - * Defines values for FailoverDeploymentModel. - * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager' - * @readonly - * @enum {string} - */ -export type FailoverDeploymentModel = 'NotApplicable' | 'Classic' | 'ResourceManager'; +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; + /** + * The provider specific properties. + */ + providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; +} /** - * Defines values for RecoveryPlanGroupType. - * Possible values include: 'Shutdown', 'Boot', 'Failover' - * @readonly - * @enum {string} + * Recovery plan test failover input. */ -export type RecoveryPlanGroupType = 'Shutdown' | 'Boot' | 'Failover'; +export interface RecoveryPlanTestFailoverInput { + /** + * The recovery plan test failover input properties. + */ + properties: RecoveryPlanTestFailoverInputProperties; +} /** - * Defines values for ReplicationProtectedItemOperation. - * Possible values include: 'ReverseReplicate', 'Commit', 'PlannedFailover', 'UnplannedFailover', - * 'DisableProtection', 'TestFailover', 'TestFailoverCleanup', 'Failback', 'FinalizeFailback', - * 'ChangePit', 'RepairReplication', 'SwitchProtection', 'CompleteMigration' - * @readonly - * @enum {string} + * Recovery plan unplanned failover input properties. */ -export type ReplicationProtectedItemOperation = 'ReverseReplicate' | 'Commit' | 'PlannedFailover' | 'UnplannedFailover' | 'DisableProtection' | 'TestFailover' | 'TestFailoverCleanup' | 'Failback' | 'FinalizeFailback' | 'ChangePit' | 'RepairReplication' | 'SwitchProtection' | 'CompleteMigration'; +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 PossibleOperationsDirections. - * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' - * @readonly - * @enum {string} + * Recovery plan unplanned failover input. */ -export type PossibleOperationsDirections = 'PrimaryToRecovery' | 'RecoveryToPrimary'; +export interface RecoveryPlanUnplannedFailoverInput { + /** + * The recovery plan unplanned failover input properties. + */ + properties: RecoveryPlanUnplannedFailoverInputProperties; +} /** - * Defines values for DisableProtectionReason. - * Possible values include: 'NotSpecified', 'MigrationComplete' - * @readonly - * @enum {string} + * Recovery point properties. */ -export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; +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; +} /** - * Defines values for HealthErrorCategory. - * Possible values include: 'None', 'Replication', 'TestFailover', 'Configuration', - * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' - * @readonly - * @enum {string} + * Recovery point. */ -export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdate'; +export interface RecoveryPoint extends Resource { + /** + * The recovery point properties. + */ + properties?: RecoveryPointProperties; +} /** - * Defines values for Severity. - * Possible values include: 'NONE', 'Warning', 'Error', 'Info' - * @readonly - * @enum {string} + * Recovery services provider properties. */ -export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; +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 machine Id. + */ + machineId?: string; + /** + * The machine name. + */ + machineName?: string; + /** + * The Bios Id. + */ + biosId?: string; + /** + * The authentication identity details. + */ + authenticationIdentityDetails?: IdentityProviderDetails; + /** + * The resource access identity details. + */ + resourceAccessIdentityDetails?: IdentityProviderDetails; + /** + * The data plane authentication identity details. + */ + dataPlaneAuthenticationIdentityDetails?: IdentityProviderDetails; + /** + * The provider version details. + */ + providerVersionDetails?: VersionDetails; +} /** - * Defines values for PresenceStatus. - * Possible values include: 'Unknown', 'Present', 'NotPresent' - * @readonly - * @enum {string} + * Provider details. */ -export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; +export interface RecoveryServicesProvider extends Resource { + /** + * Provider properties. + */ + properties?: RecoveryServicesProviderProperties; +} /** - * Defines values for IdentityProviderType. - * Possible values include: 'RecoveryServicesActiveDirectory' - * @readonly - * @enum {string} + * Remove Disk input properties. */ -export type IdentityProviderType = 'RecoveryServicesActiveDirectory'; +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; +} /** - * Defines values for AgentVersionStatus. - * Possible values include: 'Supported', 'NotSupported', 'Deprecated', 'UpdateRequired', - * 'SecurityUpdateRequired' - * @readonly - * @enum {string} + * Input for remove disk(s) operation. */ -export type AgentVersionStatus = 'Supported' | 'NotSupported' | 'Deprecated' | 'UpdateRequired' | 'SecurityUpdateRequired'; +export interface RemoveDisksInput { + /** + * Remove disk input properties. + */ + properties?: RemoveDisksInputProperties; +} /** - * Defines values for RecoveryPointType. - * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * @readonly - * @enum {string} + * Provider specific input for unpairing operations. */ -export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; +export interface ReplicationProviderContainerUnmappingInput { + /** + * The class type. + */ + instanceType?: string; +} /** - * Defines values for MultiVmSyncStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Unpairing input properties. */ -export type MultiVmSyncStatus = 'Enabled' | 'Disabled'; +export interface RemoveProtectionContainerMappingInputProperties { + /** + * Provider specific input for unpairing. + */ + providerSpecificInput?: ReplicationProviderContainerUnmappingInput; +} /** - * Defines values for A2ARpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', - * 'LatestProcessed' - * @readonly - * @enum {string} + * Container unpairing input. */ -export type A2ARpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; +export interface RemoveProtectionContainerMappingInput { + /** + * Configure protection input properties. + */ + properties?: RemoveProtectionContainerMappingInputProperties; +} /** - * Defines values for MultiVmSyncPointOption. - * Possible values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' - * @readonly - * @enum {string} + * Renew Certificate input properties. */ -export type MultiVmSyncPointOption = 'UseMultiVmSyncRecoveryPoint' | 'UsePerVmRecoveryPoint'; +export interface RenewCertificateInputProperties { + /** + * Renew certificate type. + */ + renewCertificateType?: string; +} /** - * Defines values for RecoveryPlanActionLocation. - * Possible values include: 'Primary', 'Recovery' - * @readonly - * @enum {string} + * Certificate renewal input. */ -export type RecoveryPlanActionLocation = 'Primary' | 'Recovery'; +export interface RenewCertificateInput { + /** + * Renew certificate input properties. + */ + properties?: RenewCertificateInputProperties; +} /** - * Defines values for DataSyncStatus. - * Possible values include: 'ForDownTime', 'ForSynchronization' - * @readonly - * @enum {string} + * Error model that can be exposed to the user. */ -export type DataSyncStatus = 'ForDownTime' | 'ForSynchronization'; +export interface ReplicationEligibilityResultsErrorInfo { + /** + * The error code. + */ + code?: string; + /** + * The error message. + */ + message?: string; + /** + * The possible causes. + */ + possibleCauses?: string; + /** + * The recommended action. + */ + recommendedAction?: string; + /** + * The error status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; +} /** - * Defines values for AlternateLocationRecoveryOption. - * Possible values include: 'CreateVmIfNotFound', 'NoAction' - * @readonly - * @enum {string} + * Properties model for replication eligibility results API. */ -export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; +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. + */ +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; + /** + * The correlation Id for events associated with this protected item. + */ + eventCorrelationId?: 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[]; + /** + * The categorized resource counts. + */ + categorizedResourceCounts?: { [propertyName: string]: number }; +} + +/** + * Resume job properties. + */ +export interface ResumeJobParamsProperties { + /** + * Resume job comments. + */ + comments?: string; +} + +/** + * Resume job params. + */ +export interface ResumeJobParams { + /** + * Resume job properties. + */ + properties?: ResumeJobParamsProperties; +} + +/** + * Contains the possible cases for ResyncProviderSpecificInput. + */ +export type ResyncProviderSpecificInputUnion = ResyncProviderSpecificInput | VMwareCbtResyncInput; + +/** + * Resync provider specific input. + */ +export interface ResyncProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "ResyncProviderSpecificInput"; +} + +/** + * Resync input properties. + */ +export interface ResyncInputProperties { + /** + * The provider specific details. + */ + providerSpecificDetails: ResyncProviderSpecificInputUnion; +} + +/** + * Resync input. + */ +export interface ResyncInput { + /** + * Resync input properties. + */ + properties: ResyncInputProperties; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * An interface representing IPConfigInputDetails. + */ +export interface IPConfigInputDetails { + ipConfigName?: string; + isPrimary?: boolean; + isSeletedForFailover?: boolean; + recoverySubnetName?: string; + recoveryStaticIPAddress?: string; + recoveryPublicIPAddressId?: string; + recoveryLBBackendAddressPoolIds?: string[]; + tfoSubnetName?: string; + tfoStaticIPAddress?: string; + tfoPublicIPAddressId?: string; + tfoLBBackendAddressPoolIds?: string[]; +} + +/** + * 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; + /** + * The list of version for operating system. + */ + osVersions?: OSVersionWrapper[]; +} + +/** + * Supported operating systems property. + */ +export interface SupportedOSProperty { + /** + * The replication provider type. + */ + instanceType?: string; + /** + * The list of supported operating systems. + */ + supportedOs?: SupportedOSDetails[]; +} + +/** + * Supported operating systems properties. + */ +export interface SupportedOSProperties { + /** + * The supported operating systems property list. + */ + supportedOsList?: SupportedOSProperty[]; +} + +/** + * Supported operating systems. + */ +export interface SupportedOperatingSystems extends Resource { + /** + * The supported operating systems properties. + */ + 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. + */ + 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; + /** + * 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; + /** + * The IP configurations to be used by NIC during test failover and failover. + */ + ipConfigs?: IPConfigInputDetails[]; + /** + * Selection type for failover. + */ + selectionType?: string; + /** + * The id of the NSG associated with the NIC. + */ + recoveryNetworkSecurityGroupId?: string; + /** + * Whether the NIC has accelerated networking enabled. + */ + enableAcceleratedNetworkingOnRecovery?: boolean; + /** + * The NSG to be used by NIC during test failover. + */ + tfoNetworkSecurityGroupId?: string; + /** + * Whether the test NIC has accelerated networking enabled. + */ + enableAcceleratedNetworkingOnTfo?: boolean; + /** + * 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. + */ + 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. + */ + 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 job entity. + */ + jobTask?: JobEntity; + /** + * The skipped reason. + */ + skippedReason?: string; + /** + * The skipped reason string. + */ + skippedReasonString?: string; +} + +/** + * 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: "VMwareCbt"; +} + +/** + * 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; + /** + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; + /** + * 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 DiskEncryptionSet ARM Id. + */ + diskEncryptionSetId?: string; +} + +/** + * 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 SQL Server license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'PAYG', + * 'AHUB' + */ + sqlServerLicenseType?: SqlServerLicenseType; + /** + * The data mover run as account Id. + */ + dataMoverRunAsAccountId: string; + /** + * The snapshot run as 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 availability zone. + */ + targetAvailabilityZone?: string; + /** + * The target proximity placement group ARM Id. + */ + targetProximityPlacementGroupId?: string; + /** + * The target boot diagnostics storage account ARM Id. + */ + targetBootDiagnosticsStorageAccountId?: string; + /** + * A value indicating whether auto resync is to be done. + */ + performAutoResync?: string; + /** + * The target VM tags. + */ + targetVmTags?: { [propertyName: string]: string }; + /** + * The tags for the seed disks. + */ + seedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target disks. + */ + targetDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target NICs. + */ + targetNicTags?: { [propertyName: string]: string }; +} + +/** + * Event details for VMwareCbt provider. + */ +export interface VMwareCbtEventDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The migration item name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly migrationItemName?: 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 type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; + /** + * 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 DiskEncryptionSet ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly diskEncryptionSetId?: 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 name for the target managed disk. + */ + targetDiskName?: string; +} + +/** + * 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; + /** + * Target NIC name. + */ + targetNicName?: 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; + /** + * The firmware type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly firmwareType?: string; + /** + * The target generation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly targetGeneration?: string; + /** + * License Type of the VM to be used. + */ + licenseType?: string; + /** + * The SQL Server license type. + */ + sqlServerLicenseType?: string; + /** + * The data mover run as account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dataMoverRunAsAccountId?: string; + /** + * The snapshot run as 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 availability zone. + */ + targetAvailabilityZone?: string; + /** + * The target proximity placement group Id. + */ + targetProximityPlacementGroupId?: string; + /** + * The target boot diagnostics storage account ARM Id. + */ + targetBootDiagnosticsStorageAccountId?: string; + /** + * The target VM tags. + */ + targetVmTags?: { [propertyName: string]: string }; + /** + * The list of protected disks. + */ + protectedDisks?: VMwareCbtProtectedDiskDetails[]; + /** + * The target network Id. + */ + targetNetworkId?: string; + /** + * The network details. + */ + vmNics?: VMwareCbtNicDetails[]; + /** + * The tags for the target NICs. + */ + targetNicTags?: { [propertyName: string]: string }; + /** + * 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; + /** + * The last recovery point Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastRecoveryPointId?: string; + /** + * The initial seeding progress percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialSeedingProgressPercentage?: number; + /** + * The migration progress percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly migrationProgressPercentage?: number; + /** + * The resync progress percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resyncProgressPercentage?: number; + /** + * The initial seeding retry count. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialSeedingRetryCount?: number; + /** + * The resync retry count. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resyncRetryCount?: number; + /** + * A value indicating whether resync is required. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resyncRequired?: string; + /** + * The resync state. Possible values include: 'None', 'PreparedForResynchronization', + * 'StartedResynchronization' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resyncState?: ResyncState; + /** + * A value indicating whether auto resync is to be done. + */ + performAutoResync?: string; + /** + * The tags for the seed disks. + */ + seedDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target disks. + */ + targetDiskTags?: { [propertyName: string]: string }; +} + +/** + * 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; + /** + * Target NIC name. + */ + targetNicName?: 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 resync input. + */ +export interface VMwareCbtResyncInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * A value indicating whether CBT is to be reset. + */ + skipCbtReset: 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 disk input for update. + */ +export interface VMwareCbtUpdateDiskInput { + /** + * The disk Id. + */ + diskId: string; + /** + * The target disk name. + */ + targetDiskName?: 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 availability zone. + */ + targetAvailabilityZone?: string; + /** + * The target proximity placement group ARM Id. + */ + targetProximityPlacementGroupId?: 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 list of disk update properties. + */ + vmDisks?: VMwareCbtUpdateDiskInput[]; + /** + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + */ + licenseType?: LicenseType; + /** + * The SQL Server license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'PAYG', + * 'AHUB' + */ + sqlServerLicenseType?: SqlServerLicenseType; + /** + * A value indicating whether auto resync is to be done. + */ + performAutoResync?: string; + /** + * The target VM tags. + */ + targetVmTags?: { [propertyName: string]: string }; + /** + * The tags for the target disks. + */ + targetDiskTags?: { [propertyName: string]: string }; + /** + * The tags for the target NICs. + */ + targetNicTags?: { [propertyName: string]: string }; +} + +/** + * 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 physical site. + */ + physicalSiteId?: 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 ARM Id of the physical site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly physicalSiteId?: 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; + /** + * The service container Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serviceContainerId?: string; + /** + * The list of process servers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly processServers?: ProcessServerDetails[]; +} + +/** + * 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 ReplicationFabricsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. + */ + skipToken?: string; + /** + * The page size. + */ + takeToken?: string; + /** + * 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; + /** + * The page size. + */ + takeToken?: string; + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + /** + * The delete option. + */ + deleteOption?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsListByReplicationProtectionContainersNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. + */ + skipToken?: string; + /** + * The page size. + */ + takeToken?: string; + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. + */ + skipToken?: string; + /** + * The page size. + */ + takeToken?: string; + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; + /** + * take OData query parameter. + */ + take?: string; + /** + * skipToken OData query parameter. + */ + skipToken?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationProtectableItemsListByReplicationProtectionContainersNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; + /** + * take OData query parameter. + */ + take?: string; + /** + * skipToken OData query parameter. + */ + skipToken?: 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; +} + +/** + * Optional Parameters. + */ +export interface ReplicationProtectionIntentsListOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. + */ + skipToken?: string; + /** + * The page size. + */ + takeToken?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationProtectionIntentsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. + */ + skipToken?: string; + /** + * The page size. + */ + takeToken?: string; +} + +/** + * Optional Parameters. + */ +export interface SupportedOperatingSystemsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The instance type. + */ + instanceType?: 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 + * 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 + * Replication protection intent objects collection. + * @extends Array + */ +export interface ReplicationProtectionIntentCollection 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 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', + * 'CancelFailover', 'ChangePit', 'RepairReplication', 'SwitchProtection', 'CompleteMigration' + * @readonly + * @enum {string} + */ +export type ReplicationProtectedItemOperation = 'ReverseReplicate' | 'Commit' | 'PlannedFailover' | 'UnplannedFailover' | 'DisableProtection' | 'TestFailover' | 'TestFailoverCleanup' | 'Failback' | 'FinalizeFailback' | 'CancelFailover' | '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', 'AgentAutoUpdateInfra', + * 'AgentAutoUpdateArtifactDeleted', 'AgentAutoUpdateRunAsAccount', + * 'AgentAutoUpdateRunAsAccountExpiry', 'AgentAutoUpdateRunAsAccountExpired' + * @readonly + * @enum {string} + */ +export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdateInfra' | 'AgentAutoUpdateArtifactDeleted' | 'AgentAutoUpdateRunAsAccount' | 'AgentAutoUpdateRunAsAccountExpiry' | 'AgentAutoUpdateRunAsAccountExpired'; + +/** + * Defines values for Severity. + * Possible values include: 'NONE', 'Warning', 'Error', 'Info' + * @readonly + * @enum {string} + */ +export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; + +/** + * 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 LicenseType. + * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + * @readonly + * @enum {string} + */ +export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; + +/** + * Defines values for SqlServerLicenseType. + * Possible values include: 'NotSpecified', 'NoLicenseType', 'PAYG', 'AHUB' + * @readonly + * @enum {string} + */ +export type SqlServerLicenseType = 'NotSpecified' | 'NoLicenseType' | 'PAYG' | 'AHUB'; + +/** + * Defines values for PresenceStatus. + * Possible values include: 'Unknown', 'Present', 'NotPresent' + * @readonly + * @enum {string} + */ +export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; + +/** + * Defines values for RcmComponentStatus. + * Possible values include: 'Healthy', 'Warning', 'Critical', 'Unknown' + * @readonly + * @enum {string} + */ +export type RcmComponentStatus = 'Healthy' | 'Warning' | 'Critical' | 'Unknown'; + +/** + * 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 InMageRcmFailbackRecoveryPointType. + * Possible values include: 'ApplicationConsistent', 'CrashConsistent' + * @readonly + * @enum {string} + */ +export type InMageRcmFailbackRecoveryPointType = 'ApplicationConsistent' | 'CrashConsistent'; + +/** + * Defines values for DiskReplicationProgressHealth. + * Possible values include: 'None', 'InProgress', 'SlowProgress', 'NoProgress', 'Queued' + * @readonly + * @enum {string} + */ +export type DiskReplicationProgressHealth = 'None' | 'InProgress' | 'SlowProgress' | 'NoProgress' | 'Queued'; + +/** + * Defines values for VmReplicationProgressHealth. + * Possible values include: 'None', 'InProgress', 'SlowProgress', 'NoProgress' + * @readonly + * @enum {string} + */ +export type VmReplicationProgressHealth = 'None' | 'InProgress' | 'SlowProgress' | 'NoProgress'; + +/** + * Defines values for ResyncState. + * Possible values include: 'None', 'PreparedForResynchronization', 'StartedResynchronization' + * @readonly + * @enum {string} + */ +export type ResyncState = 'None' | 'PreparedForResynchronization' | 'StartedResynchronization'; + +/** + * Defines values for EthernetAddressType. + * Possible values include: 'Dynamic', 'Static' + * @readonly + * @enum {string} + */ +export type EthernetAddressType = 'Dynamic' | 'Static'; + +/** + * Defines values for MobilityAgentUpgradeState. + * Possible values include: 'None', 'Started', 'Completed', 'Commit' + * @readonly + * @enum {string} + */ +export type MobilityAgentUpgradeState = 'None' | 'Started' | 'Completed' | 'Commit'; + +/** + * Defines values for RecoveryPointType. + * Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * @readonly + * @enum {string} + */ +export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; + +/** + * Defines values for ExportJobOutputSerializationType. + * Possible values include: 'Json', 'Xml', 'Excel' + * @readonly + * @enum {string} + */ +export type ExportJobOutputSerializationType = 'Json' | 'Xml' | 'Excel'; + +/** + * 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 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', + * 'StartResync' + * @readonly + * @enum {string} + */ +export type MigrationItemOperation = 'DisableMigration' | 'TestMigrate' | 'TestMigrateCleanup' | 'Migrate' | 'StartResync'; + +/** + * Defines values for MigrationRecoveryPointType. + * Possible values include: 'NotSpecified', 'ApplicationConsistent', 'CrashConsistent' + * @readonly + * @enum {string} + */ +export type MigrationRecoveryPointType = 'NotSpecified' | 'ApplicationConsistent' | 'CrashConsistent'; + +/** + * 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. @@ -9660,45 +13631,606 @@ export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; * @readonly * @enum {string} */ -export type HyperVReplicaAzureRpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestProcessed'; +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'; + +/** + * 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'; + +/** + * 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 InMageV2RpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', - * 'LatestProcessed' - * @readonly - * @enum {string} + * Contains response data for the beginCreate operation. */ -export type InMageV2RpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; +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 RpInMageRecoveryPointType. - * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * @readonly - * @enum {string} + * Contains response data for the beginCheckConsistency operation. */ -export type RpInMageRecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; +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; + }; +}; /** - * Defines values for SourceSiteOperations. - * Possible values include: 'Required', 'NotRequired' - * @readonly - * @enum {string} + * Contains response data for the beginReassociateGateway operation. */ -export type SourceSiteOperations = 'Required' | 'NotRequired'; +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; + }; +}; /** - * Defines values for LicenseType. - * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' - * @readonly - * @enum {string} + * Contains response data for the beginRenewCertificate operation. */ -export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; +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 +14239,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 +14259,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 +14279,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 +14299,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 +14319,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 +14339,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 +14359,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 +14379,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 +14439,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 +14459,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 +14479,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 +14499,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 +14519,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 +14539,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 +14559,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 +14579,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 +14599,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 +14619,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 +14639,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 +14659,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 +14679,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 +14699,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 +14719,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 +14739,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 +14759,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 resync operation. */ -export type ReplicationNetworksListResponse = NetworkCollection & { +export type ReplicationMigrationItemsResyncResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10182,17 +14779,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 testMigrate operation. */ -export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCollection & { +export type ReplicationMigrationItemsTestMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10201,17 +14799,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 testMigrateCleanup operation. */ -export type ReplicationNetworksListNextResponse = NetworkCollection & { +export type ReplicationMigrationItemsTestMigrateCleanupResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10220,17 +14819,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: MigrationItem; }; }; /** - * Contains response data for the listByReplicationNetworks operation. + * Contains response data for the list operation. */ -export type ReplicationNetworkMappingsListByReplicationNetworksResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsListResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10239,17 +14839,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: MigrationItemCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationNetworkMappingsGetResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginCreateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10258,17 +14859,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 beginUpdate operation. */ -export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginUpdateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10277,17 +14879,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 beginMigrate operation. */ -export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10296,17 +14899,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 beginResync operation. */ -export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsBeginResyncResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10315,17 +14919,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 beginTestMigrate operation. */ -export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginTestMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10334,17 +14939,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: MigrationItem; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginTestMigrateCleanup operation. */ -export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginTestMigrateCleanupResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10353,17 +14959,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: MigrationItem; }; }; /** - * Contains response data for the listByReplicationNetworksNext operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsListByReplicationProtectionContainersNextResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10372,17 +14979,18 @@ export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = Ne * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: MigrationItemCollection; }; }; /** * Contains response data for the listNext operation. */ -export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsListNextResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10391,17 +14999,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: MigrationItemCollection; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the listByReplicationMigrationItems operation. */ -export type ReplicationProtectionContainersListByReplicationFabricsResponse = ProtectionContainerCollection & { +export type MigrationRecoveryPointsListByReplicationMigrationItemsResponse = MigrationRecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -10410,17 +15019,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: MigrationRecoveryPointCollection; }; }; /** * Contains response data for the get operation. */ -export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { +export type MigrationRecoveryPointsGetResponse = MigrationRecoveryPoint & { /** * The underlying HTTP response. */ @@ -10429,17 +15039,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: MigrationRecoveryPoint; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByReplicationMigrationItemsNext operation. */ -export type ReplicationProtectionContainersCreateResponse = ProtectionContainer & { +export type MigrationRecoveryPointsListByReplicationMigrationItemsNextResponse = MigrationRecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -10448,17 +15059,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: MigrationRecoveryPointCollection; }; }; /** - * Contains response data for the discoverProtectableItem operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationProtectionContainersDiscoverProtectableItemResponse = ProtectionContainer & { +export type ReplicationProtectableItemsListByReplicationProtectionContainersResponse = ProtectableItemCollection & { /** * The underlying HTTP response. */ @@ -10467,17 +15079,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: ProtectableItemCollection; }; }; /** - * Contains response data for the switchProtection operation. + * Contains response data for the get operation. */ -export type ReplicationProtectionContainersSwitchProtectionResponse = ProtectionContainer & { +export type ReplicationProtectableItemsGetResponse = ProtectableItem & { /** * The underlying HTTP response. */ @@ -10486,17 +15099,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: ProtectableItem; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationProtectionContainersListResponse = ProtectionContainerCollection & { +export type ReplicationProtectableItemsListByReplicationProtectionContainersNextResponse = ProtectableItemCollection & { /** * The underlying HTTP response. */ @@ -10505,17 +15119,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: ProtectableItemCollection; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationProtectionContainersBeginCreateResponse = ProtectionContainer & { +export type ReplicationProtectedItemsListByReplicationProtectionContainersResponse = ReplicationProtectedItemCollection & { /** * The underlying HTTP response. */ @@ -10524,17 +15139,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: ReplicationProtectedItemCollection; }; }; /** - * Contains response data for the beginDiscoverProtectableItem operation. + * Contains response data for the get operation. */ -export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse = ProtectionContainer & { +export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10543,17 +15159,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 create operation. */ -export type ReplicationProtectionContainersBeginSwitchProtectionResponse = ProtectionContainer & { +export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10562,17 +15179,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 update operation. */ -export type ReplicationProtectionContainersListByReplicationFabricsNextResponse = ProtectionContainerCollection & { +export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10581,17 +15199,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 addDisks operation. */ -export type ReplicationProtectionContainersListNextResponse = ProtectionContainerCollection & { +export type ReplicationProtectedItemsAddDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10600,17 +15219,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 applyRecoveryPoint operation. */ -export type ReplicationProtectableItemsListByReplicationProtectionContainersResponse = ProtectableItemCollection & { +export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10619,17 +15239,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 failoverCancel operation. */ -export type ReplicationProtectableItemsGetResponse = ProtectableItem & { +export type ReplicationProtectedItemsFailoverCancelResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10638,17 +15259,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 failoverCommit operation. */ -export type ReplicationProtectableItemsListByReplicationProtectionContainersNextResponse = ProtectableItemCollection & { +export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10657,17 +15279,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 plannedFailover operation. */ -export type ReplicationProtectedItemsListByReplicationProtectionContainersResponse = ReplicationProtectedItemCollection & { +export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10676,17 +15299,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 removeDisks operation. */ -export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsRemoveDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10695,6 +15319,7 @@ export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10703,9 +15328,9 @@ export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { }; /** - * Contains response data for the create operation. + * Contains response data for the repairReplication operation. */ -export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10714,6 +15339,7 @@ export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10722,9 +15348,9 @@ export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & }; /** - * Contains response data for the update operation. + * Contains response data for the reprotect operation. */ -export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10733,6 +15359,7 @@ export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10741,9 +15368,9 @@ export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & }; /** - * Contains response data for the applyRecoveryPoint operation. + * Contains response data for the resolveHealthErrors operation. */ -export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsResolveHealthErrorsResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10752,6 +15379,7 @@ export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationPro * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10760,9 +15388,9 @@ export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationPro }; /** - * Contains response data for the failoverCommit operation. + * Contains response data for the testFailover operation. */ -export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10771,6 +15399,7 @@ export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10779,9 +15408,9 @@ export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtect }; /** - * Contains response data for the plannedFailover operation. + * Contains response data for the testFailoverCleanup operation. */ -export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10790,6 +15419,7 @@ export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtec * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10798,9 +15428,9 @@ export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtec }; /** - * Contains response data for the repairReplication operation. + * Contains response data for the unplannedFailover operation. */ -export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10809,6 +15439,7 @@ export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10817,9 +15448,9 @@ export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProt }; /** - * Contains response data for the reprotect operation. + * Contains response data for the updateMobilityService operation. */ -export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsUpdateMobilityServiceResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10828,6 +15459,7 @@ export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedIte * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10836,9 +15468,9 @@ export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedIte }; /** - * Contains response data for the testFailover operation. + * Contains response data for the list operation. */ -export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsListResponse = ReplicationProtectedItemCollection & { /** * The underlying HTTP response. */ @@ -10847,17 +15479,18 @@ export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtected * 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 testFailoverCleanup operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10866,6 +15499,7 @@ export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationPr * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10874,9 +15508,9 @@ export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationPr }; /** - * Contains response data for the unplannedFailover operation. + * Contains response data for the beginUpdate operation. */ -export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10885,6 +15519,7 @@ export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10893,9 +15528,9 @@ export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProt }; /** - * Contains response data for the updateMobilityService operation. + * Contains response data for the beginAddDisks operation. */ -export type ReplicationProtectedItemsUpdateMobilityServiceResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginAddDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10904,6 +15539,7 @@ export type ReplicationProtectedItemsUpdateMobilityServiceResponse = Replication * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10912,9 +15548,9 @@ export type ReplicationProtectedItemsUpdateMobilityServiceResponse = Replication }; /** - * Contains response data for the list operation. + * Contains response data for the beginApplyRecoveryPoint operation. */ -export type ReplicationProtectedItemsListResponse = ReplicationProtectedItemCollection & { +export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10923,17 +15559,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 beginFailoverCancel operation. */ -export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginFailoverCancelResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10942,6 +15579,7 @@ export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedI * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10950,9 +15588,9 @@ export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedI }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginFailoverCommit operation. */ -export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10961,6 +15599,7 @@ export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedI * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10969,9 +15608,9 @@ export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedI }; /** - * Contains response data for the beginApplyRecoveryPoint operation. + * Contains response data for the beginPlannedFailover operation. */ -export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10980,6 +15619,7 @@ export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = Replicati * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10988,9 +15628,9 @@ export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = Replicati }; /** - * Contains response data for the beginFailoverCommit operation. + * Contains response data for the beginRemoveDisks operation. */ -export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginRemoveDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10999,6 +15639,7 @@ export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationPr * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11007,9 +15648,9 @@ export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationPr }; /** - * Contains response data for the beginPlannedFailover operation. + * Contains response data for the beginRepairReplication operation. */ -export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginRepairReplicationResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11018,6 +15659,7 @@ export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11026,9 +15668,9 @@ export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationP }; /** - * Contains response data for the beginRepairReplication operation. + * Contains response data for the beginReprotect operation. */ -export type ReplicationProtectedItemsBeginRepairReplicationResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11037,6 +15679,7 @@ export type ReplicationProtectedItemsBeginRepairReplicationResponse = Replicatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11045,9 +15688,9 @@ export type ReplicationProtectedItemsBeginRepairReplicationResponse = Replicatio }; /** - * Contains response data for the beginReprotect operation. + * Contains response data for the beginResolveHealthErrors operation. */ -export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginResolveHealthErrorsResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11056,6 +15699,7 @@ export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11075,6 +15719,7 @@ export type ReplicationProtectedItemsBeginTestFailoverResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11094,6 +15739,7 @@ export type ReplicationProtectedItemsBeginTestFailoverCleanupResponse = Replicat * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11113,6 +15759,7 @@ export type ReplicationProtectedItemsBeginUnplannedFailoverResponse = Replicatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11132,6 +15779,7 @@ export type ReplicationProtectedItemsBeginUpdateMobilityServiceResponse = Replic * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11151,6 +15799,7 @@ export type ReplicationProtectedItemsListByReplicationProtectionContainersNextRe * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11170,6 +15819,7 @@ export type ReplicationProtectedItemsListNextResponse = ReplicationProtectedItem * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11189,6 +15839,7 @@ export type RecoveryPointsListByReplicationProtectedItemsResponse = RecoveryPoin * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11208,6 +15859,7 @@ export type RecoveryPointsGetResponse = RecoveryPoint & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11227,6 +15879,7 @@ export type RecoveryPointsListByReplicationProtectedItemsNextResponse = Recovery * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11246,6 +15899,7 @@ export type TargetComputeSizesListByReplicationProtectedItemsResponse = TargetCo * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11265,6 +15919,7 @@ export type TargetComputeSizesListByReplicationProtectedItemsNextResponse = Targ * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11284,6 +15939,7 @@ export type ReplicationProtectionContainerMappingsListByReplicationProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11303,6 +15959,7 @@ export type ReplicationProtectionContainerMappingsGetResponse = ProtectionContai * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11322,6 +15979,7 @@ export type ReplicationProtectionContainerMappingsCreateResponse = ProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11341,6 +15999,7 @@ export type ReplicationProtectionContainerMappingsUpdateResponse = ProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11360,6 +16019,7 @@ export type ReplicationProtectionContainerMappingsListResponse = ProtectionConta * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11379,6 +16039,7 @@ export type ReplicationProtectionContainerMappingsBeginCreateResponse = Protecti * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11398,6 +16059,7 @@ export type ReplicationProtectionContainerMappingsBeginUpdateResponse = Protecti * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11417,6 +16079,7 @@ export type ReplicationProtectionContainerMappingsListByReplicationProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11436,6 +16099,7 @@ export type ReplicationProtectionContainerMappingsListNextResponse = ProtectionC * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11455,6 +16119,7 @@ export type ReplicationRecoveryServicesProvidersListByReplicationFabricsResponse * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11474,6 +16139,27 @@ export type ReplicationRecoveryServicesProvidersGetResponse = RecoveryServicesPr * The response body as text (string format) */ bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoveryServicesProvider; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type ReplicationRecoveryServicesProvidersCreateResponse = 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 */ @@ -11493,6 +16179,7 @@ export type ReplicationRecoveryServicesProvidersRefreshProviderResponse = Recove * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11512,6 +16199,7 @@ export type ReplicationRecoveryServicesProvidersListResponse = RecoveryServicesP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11519,6 +16207,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 +16239,7 @@ export type ReplicationRecoveryServicesProvidersBeginRefreshProviderResponse = R * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11550,6 +16259,7 @@ export type ReplicationRecoveryServicesProvidersListByReplicationFabricsNextResp * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11569,6 +16279,7 @@ export type ReplicationRecoveryServicesProvidersListNextResponse = RecoveryServi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11588,6 +16299,7 @@ export type ReplicationStorageClassificationsListByReplicationFabricsResponse = * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11607,6 +16319,7 @@ export type ReplicationStorageClassificationsGetResponse = StorageClassification * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11626,6 +16339,7 @@ export type ReplicationStorageClassificationsListResponse = StorageClassificatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11645,6 +16359,7 @@ export type ReplicationStorageClassificationsListByReplicationFabricsNextRespons * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11664,6 +16379,7 @@ export type ReplicationStorageClassificationsListNextResponse = StorageClassific * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11683,6 +16399,7 @@ export type ReplicationStorageClassificationMappingsListByReplicationStorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11702,6 +16419,7 @@ export type ReplicationStorageClassificationMappingsGetResponse = StorageClassif * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11721,6 +16439,7 @@ export type ReplicationStorageClassificationMappingsCreateResponse = StorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11740,6 +16459,7 @@ export type ReplicationStorageClassificationMappingsListResponse = StorageClassi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11759,6 +16479,7 @@ export type ReplicationStorageClassificationMappingsBeginCreateResponse = Storag * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11778,6 +16499,7 @@ export type ReplicationStorageClassificationMappingsListByReplicationStorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11797,6 +16519,7 @@ export type ReplicationStorageClassificationMappingsListNextResponse = StorageCl * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11816,6 +16539,7 @@ export type ReplicationvCentersListByReplicationFabricsResponse = VCenterCollect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11835,6 +16559,7 @@ export type ReplicationvCentersGetResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11854,6 +16579,7 @@ export type ReplicationvCentersCreateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11873,6 +16599,7 @@ export type ReplicationvCentersUpdateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11892,6 +16619,7 @@ export type ReplicationvCentersListResponse = VCenterCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11911,6 +16639,7 @@ export type ReplicationvCentersBeginCreateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11930,6 +16659,7 @@ export type ReplicationvCentersBeginUpdateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11949,6 +16679,7 @@ export type ReplicationvCentersListByReplicationFabricsNextResponse = VCenterCol * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11968,6 +16699,7 @@ export type ReplicationvCentersListNextResponse = VCenterCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11987,6 +16719,7 @@ export type ReplicationJobsListResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12006,6 +16739,7 @@ export type ReplicationJobsGetResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12025,6 +16759,7 @@ export type ReplicationJobsCancelResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12044,6 +16779,7 @@ export type ReplicationJobsRestartResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12063,6 +16799,7 @@ export type ReplicationJobsResumeResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12082,6 +16819,7 @@ export type ReplicationJobsExportMethodResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12101,6 +16839,7 @@ export type ReplicationJobsBeginCancelResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12120,6 +16859,7 @@ export type ReplicationJobsBeginRestartResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12139,6 +16879,7 @@ export type ReplicationJobsBeginResumeResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12158,6 +16899,7 @@ export type ReplicationJobsBeginExportMethodResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12177,6 +16919,7 @@ export type ReplicationJobsListNextResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12196,6 +16939,7 @@ export type ReplicationPoliciesListResponse = PolicyCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12215,6 +16959,7 @@ export type ReplicationPoliciesGetResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12234,6 +16979,7 @@ export type ReplicationPoliciesCreateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12253,6 +16999,7 @@ export type ReplicationPoliciesUpdateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12272,6 +17019,7 @@ export type ReplicationPoliciesBeginCreateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12291,6 +17039,7 @@ export type ReplicationPoliciesBeginUpdateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12310,6 +17059,7 @@ export type ReplicationPoliciesListNextResponse = PolicyCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12317,6 +17067,86 @@ export type ReplicationPoliciesListNextResponse = PolicyCollection & { }; }; +/** + * Contains response data for the list operation. + */ +export type ReplicationProtectionIntentsListResponse = ReplicationProtectionIntentCollection & { + /** + * 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: ReplicationProtectionIntentCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationProtectionIntentsGetResponse = ReplicationProtectionIntent & { + /** + * 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: ReplicationProtectionIntent; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type ReplicationProtectionIntentsCreateResponse = ReplicationProtectionIntent & { + /** + * 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: ReplicationProtectionIntent; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ReplicationProtectionIntentsListNextResponse = ReplicationProtectionIntentCollection & { + /** + * 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: ReplicationProtectionIntentCollection; + }; +}; + /** * Contains response data for the list operation. */ @@ -12329,6 +17159,7 @@ export type ReplicationRecoveryPlansListResponse = RecoveryPlanCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12348,6 +17179,7 @@ export type ReplicationRecoveryPlansGetResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12367,6 +17199,7 @@ export type ReplicationRecoveryPlansCreateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12386,6 +17219,27 @@ export type ReplicationRecoveryPlansUpdateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoveryPlan; + }; +}; + +/** + * Contains response data for the failoverCancel operation. + */ +export type ReplicationRecoveryPlansFailoverCancelResponse = RecoveryPlan & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12405,6 +17259,7 @@ export type ReplicationRecoveryPlansFailoverCommitResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12424,6 +17279,7 @@ export type ReplicationRecoveryPlansPlannedFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12443,6 +17299,7 @@ export type ReplicationRecoveryPlansReprotectResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12462,6 +17319,7 @@ export type ReplicationRecoveryPlansTestFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12481,6 +17339,7 @@ export type ReplicationRecoveryPlansTestFailoverCleanupResponse = RecoveryPlan & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12500,6 +17359,7 @@ export type ReplicationRecoveryPlansUnplannedFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12519,6 +17379,7 @@ export type ReplicationRecoveryPlansBeginCreateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12538,6 +17399,27 @@ export type ReplicationRecoveryPlansBeginUpdateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoveryPlan; + }; +}; + +/** + * Contains response data for the beginFailoverCancel operation. + */ +export type ReplicationRecoveryPlansBeginFailoverCancelResponse = RecoveryPlan & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12557,6 +17439,7 @@ export type ReplicationRecoveryPlansBeginFailoverCommitResponse = RecoveryPlan & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12576,6 +17459,7 @@ export type ReplicationRecoveryPlansBeginPlannedFailoverResponse = RecoveryPlan * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12595,6 +17479,7 @@ export type ReplicationRecoveryPlansBeginReprotectResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12614,6 +17499,7 @@ export type ReplicationRecoveryPlansBeginTestFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12633,6 +17519,7 @@ export type ReplicationRecoveryPlansBeginTestFailoverCleanupResponse = RecoveryP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12652,6 +17539,7 @@ export type ReplicationRecoveryPlansBeginUnplannedFailoverResponse = RecoveryPla * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12671,6 +17559,7 @@ export type ReplicationRecoveryPlansListNextResponse = RecoveryPlanCollection & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12678,6 +17567,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 +17599,7 @@ export type ReplicationVaultHealthGetResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12709,6 +17619,7 @@ export type ReplicationVaultHealthRefreshResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12728,9 +17639,110 @@ 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 beginCreate operation. + */ +export type ReplicationVaultSettingBeginCreateResponse = 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..592d611336f1 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: { @@ -138,18 +19,21 @@ export const A2AVmDiskInputDetails: msRest.CompositeMapper = { className: "A2AVmDiskInputDetails", modelProperties: { diskUri: { + required: true, serializedName: "diskUri", type: { name: "String" } }, recoveryAzureStorageAccountId: { + required: true, serializedName: "recoveryAzureStorageAccountId", type: { name: "String" } }, primaryStagingAzureStorageAccountId: { + required: true, serializedName: "primaryStagingAzureStorageAccountId", type: { name: "String" @@ -159,46 +43,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,99 +111,47 @@ export const DiskEncryptionInfo: msRest.CompositeMapper = { } }; -export const EnableProtectionProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "EnableProtectionProviderSpecificInput", +export const A2AVmManagedDiskInputDetails: msRest.CompositeMapper = { + serializedName: "A2AVmManagedDiskInputDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "EnableProtectionProviderSpecificInput", - className: "EnableProtectionProviderSpecificInput", + className: "A2AVmManagedDiskInputDetails", modelProperties: { - instanceType: { + diskId: { required: true, - serializedName: "instanceType", - type: { - name: "String" - } - } - } - } -}; - -export const A2AEnableProtectionInput: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "A2AEnableProtectionInput", - modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - fabricObjectId: { - serializedName: "fabricObjectId", + serializedName: "diskId", type: { name: "String" } }, - recoveryContainerId: { - serializedName: "recoveryContainerId", + primaryStagingAzureStorageAccountId: { + required: true, + serializedName: "primaryStagingAzureStorageAccountId", type: { name: "String" } }, recoveryResourceGroupId: { + required: true, serializedName: "recoveryResourceGroupId", type: { 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 +167,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 +189,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", + ...AddDisksProviderSpecificInput.type.modelProperties, + vmDisks: { + serializedName: "vmDisks", type: { - name: "String" - } - }, - fabricObjectId: { - serializedName: "fabricObjectId", - 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 +248,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 +283,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 +318,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 +387,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 +409,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", - type: { - name: "Number" - } - }, - primaryStagingAzureStorageAccountId: { - serializedName: "primaryStagingAzureStorageAccountId", + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", type: { name: "String" } }, - diskType: { - serializedName: "diskType", + recoveryDiskEncryptionSetId: { + serializedName: "recoveryDiskEncryptionSetId", 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 +584,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 +736,42 @@ export const A2AProtectedManagedDiskDetails: msRest.CompositeMapper = { } }; -export const ProtectionContainerMappingProviderSpecificDetails: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMappingProviderSpecificDetails", +export const A2ACrossClusterMigrationApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "A2ACrossClusterMigration", + type: { + name: "Composite", + polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "A2ACrossClusterMigrationApplyRecoveryPointInput", + modelProperties: { + ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties + } + } +}; + +export const A2ACrossClusterMigrationContainerCreationInput: msRest.CompositeMapper = { + serializedName: "A2ACrossClusterMigration", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerCreationInput", + className: "A2ACrossClusterMigrationContainerCreationInput", + modelProperties: { + ...ReplicationProviderSpecificContainerCreationInput.type.modelProperties + } + } +}; + +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,35 +784,23 @@ export const ProtectionContainerMappingProviderSpecificDetails: msRest.Composite } }; -export const A2AProtectionContainerMappingDetails: msRest.CompositeMapper = { - serializedName: "A2A", +export const A2ACrossClusterMigrationEnableProtectionInput: msRest.CompositeMapper = { + serializedName: "A2ACrossClusterMigration", type: { name: "Composite", - polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "ProtectionContainerMappingProviderSpecificDetails", - className: "A2AProtectionContainerMappingDetails", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "A2ACrossClusterMigrationEnableProtectionInput", modelProperties: { - ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, - agentAutoUpdateStatus: { - serializedName: "agentAutoUpdateStatus", - type: { - name: "String" - } - }, - automationAccountArmId: { - serializedName: "automationAccountArmId", - type: { - name: "String" - } - }, - scheduleName: { - serializedName: "scheduleName", + ...EnableProtectionProviderSpecificInput.type.modelProperties, + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } }, - jobScheduleName: { - serializedName: "jobScheduleName", + recoveryContainerId: { + serializedName: "recoveryContainerId", type: { name: "String" } @@ -937,16 +809,16 @@ export const A2AProtectionContainerMappingDetails: msRest.CompositeMapper = { } }; -export const ProviderSpecificRecoveryPointDetails: msRest.CompositeMapper = { - serializedName: "ProviderSpecificRecoveryPointDetails", +export const PolicyProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "PolicyProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ProviderSpecificRecoveryPointDetails", - className: "ProviderSpecificRecoveryPointDetails", + uberParent: "PolicyProviderSpecificInput", + className: "PolicyProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -959,17 +831,33 @@ export const ProviderSpecificRecoveryPointDetails: msRest.CompositeMapper = { } }; -export const A2ARecoveryPointDetails: msRest.CompositeMapper = { - serializedName: "A2A", +export const A2ACrossClusterMigrationPolicyCreationInput: msRest.CompositeMapper = { + serializedName: "A2ACrossClusterMigration", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificRecoveryPointDetails", - className: "A2ARecoveryPointDetails", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "A2ACrossClusterMigrationPolicyCreationInput", modelProperties: { - ...ProviderSpecificRecoveryPointDetails.type.modelProperties, - recoveryPointSyncType: { - serializedName: "recoveryPointSyncType", + ...PolicyProviderSpecificInput.type.modelProperties + } + } +}; + +export const ReplicationProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "ReplicationProviderSpecificSettings", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ReplicationProviderSpecificSettings", + className: "ReplicationProviderSpecificSettings", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -978,223 +866,188 @@ export const A2ARecoveryPointDetails: msRest.CompositeMapper = { } }; -export const VMNicDetails: msRest.CompositeMapper = { - serializedName: "VMNicDetails", +export const A2ACrossClusterMigrationReplicationDetails: msRest.CompositeMapper = { + serializedName: "A2ACrossClusterMigration", type: { name: "Composite", - className: "VMNicDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "A2ACrossClusterMigrationReplicationDetails", modelProperties: { - nicId: { - serializedName: "nicId", + ...ReplicationProviderSpecificSettings.type.modelProperties, + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } }, - replicaNicId: { - serializedName: "replicaNicId", + primaryFabricLocation: { + serializedName: "primaryFabricLocation", type: { name: "String" } }, - sourceNicArmId: { - serializedName: "sourceNicArmId", + osType: { + serializedName: "osType", type: { name: "String" } }, - vMSubnetName: { - serializedName: "vMSubnetName", + vmProtectionState: { + serializedName: "vmProtectionState", type: { name: "String" } }, - vMNetworkName: { - serializedName: "vMNetworkName", + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", type: { name: "String" } }, - recoveryVMNetworkId: { - serializedName: "recoveryVMNetworkId", + lifecycleId: { + serializedName: "lifecycleId", type: { name: "String" } - }, - recoveryVMSubnetName: { - serializedName: "recoveryVMSubnetName", + } + } + } +}; + +export const A2AEnableProtectionInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "A2AEnableProtectionInput", + modelProperties: { + ...EnableProtectionProviderSpecificInput.type.modelProperties, + fabricObjectId: { + required: true, + serializedName: "fabricObjectId", type: { name: "String" } }, - ipAddressType: { - serializedName: "ipAddressType", + recoveryContainerId: { + serializedName: "recoveryContainerId", type: { name: "String" } }, - primaryNicStaticIPAddress: { - serializedName: "primaryNicStaticIPAddress", + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", type: { name: "String" } }, - replicaNicStaticIPAddress: { - serializedName: "replicaNicStaticIPAddress", + recoveryCloudServiceId: { + serializedName: "recoveryCloudServiceId", type: { name: "String" } }, - selectionType: { - serializedName: "selectionType", + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { name: "String" } }, - recoveryNicIpAddressType: { - serializedName: "recoveryNicIpAddressType", + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", type: { name: "String" } }, - enableAcceleratedNetworkingOnRecovery: { - serializedName: "enableAcceleratedNetworkingOnRecovery", - type: { - name: "Boolean" - } - } - } - } -}; - -export const RoleAssignment: msRest.CompositeMapper = { - serializedName: "RoleAssignment", - type: { - name: "Composite", - className: "RoleAssignment", - modelProperties: { - id: { - serializedName: "id", + vmDisks: { + serializedName: "vmDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmDiskInputDetails" + } + } } }, - name: { - serializedName: "name", + vmManagedDisks: { + serializedName: "vmManagedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmManagedDiskInputDetails" + } + } } }, - scope: { - serializedName: "scope", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { name: "String" } }, - principalId: { - serializedName: "principalId", + multiVmGroupId: { + serializedName: "multiVmGroupId", type: { name: "String" } }, - roleDefinitionId: { - serializedName: "roleDefinitionId", - type: { - name: "String" - } - } - } - } -}; - -export const InputEndpoint: msRest.CompositeMapper = { - serializedName: "InputEndpoint", - type: { - name: "Composite", - className: "InputEndpoint", - modelProperties: { - endpointName: { - serializedName: "endpointName", + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", type: { name: "String" } }, - privatePort: { - serializedName: "privatePort", + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", type: { - name: "Number" + name: "Composite", + className: "DiskEncryptionInfo" } }, - publicPort: { - serializedName: "publicPort", + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", type: { - name: "Number" + name: "String" } }, - protocol: { - serializedName: "protocol", + recoveryAzureNetworkId: { + serializedName: "recoveryAzureNetworkId", type: { name: "String" } - } - } - } -}; - -export const AzureToAzureVmSyncedConfigDetails: msRest.CompositeMapper = { - serializedName: "AzureToAzureVmSyncedConfigDetails", - type: { - name: "Composite", - className: "AzureToAzureVmSyncedConfigDetails", - modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } }, - roleAssignments: { - serializedName: "roleAssignments", + recoverySubnetName: { + serializedName: "recoverySubnetName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RoleAssignment" - } - } + name: "String" } }, - inputEndpoints: { - serializedName: "inputEndpoints", + recoveryVirtualMachineScaleSetId: { + serializedName: "recoveryVirtualMachineScaleSetId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InputEndpoint" - } - } + name: "String" } } } } }; -export const ReplicationProviderSpecificSettings: msRest.CompositeMapper = { - serializedName: "ReplicationProviderSpecificSettings", +export const EventProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "EventProviderSpecificDetails", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ReplicationProviderSpecificSettings", - className: "ReplicationProviderSpecificSettings", + uberParent: "EventProviderSpecificDetails", + className: "EventProviderSpecificDetails", modelProperties: { instanceType: { required: true, @@ -1207,146 +1060,216 @@ export const ReplicationProviderSpecificSettings: msRest.CompositeMapper = { } }; -export const A2AReplicationDetails: msRest.CompositeMapper = { +export const A2AEventDetails: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "A2AReplicationDetails", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "A2AEventDetails", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - fabricObjectId: { - serializedName: "fabricObjectId", + ...EventProviderSpecificDetails.type.modelProperties, + protectedItemName: { + serializedName: "protectedItemName", type: { name: "String" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + fabricName: { + serializedName: "fabricName", type: { name: "String" } }, - multiVmGroupCreateOption: { - serializedName: "multiVmGroupCreateOption", + fabricLocation: { + serializedName: "fabricLocation", type: { name: "String" } }, - managementId: { - serializedName: "managementId", + remoteFabricName: { + serializedName: "remoteFabricName", type: { name: "String" } }, - protectedDisks: { - serializedName: "protectedDisks", + remoteFabricLocation: { + serializedName: "remoteFabricLocation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AProtectedDiskDetails" - } - } + name: "String" } - }, - protectedManagedDisks: { - serializedName: "protectedManagedDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AProtectedManagedDiskDetails" - } - } + } + } + } +}; + +export const A2APolicyCreationInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "A2APolicyCreationInput", + modelProperties: { + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" } }, - recoveryBootDiagStorageAccountId: { - serializedName: "recoveryBootDiagStorageAccountId", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - primaryFabricLocation: { - serializedName: "primaryFabricLocation", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - recoveryFabricLocation: { - serializedName: "recoveryFabricLocation", + multiVmSyncStatus: { + required: true, + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } + } + } + } +}; + +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" } + } + } + } +}; + +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: "Number" + } }, - osType: { - serializedName: "osType", + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } + } + } + } +}; + +export const A2AProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AProtectedDiskDetails", + type: { + name: "Composite", + className: "A2AProtectedDiskDetails", + modelProperties: { + diskUri: { + serializedName: "diskUri", type: { name: "String" } }, - recoveryAzureVMName: { - serializedName: "recoveryAzureVMName", + recoveryAzureStorageAccountId: { + serializedName: "recoveryAzureStorageAccountId", type: { name: "String" } }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + primaryDiskAzureStorageAccountId: { + serializedName: "primaryDiskAzureStorageAccountId", type: { name: "String" } }, - recoveryCloudService: { - serializedName: "recoveryCloudService", + recoveryDiskUri: { + serializedName: "recoveryDiskUri", type: { name: "String" } }, - recoveryAvailabilitySet: { - serializedName: "recoveryAvailabilitySet", + diskName: { + serializedName: "diskName", type: { name: "String" } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + diskCapacityInBytes: { + serializedName: "diskCapacityInBytes", + type: { + name: "Number" + } + }, + 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 +1284,280 @@ 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: "Number" + } + }, + diskState: { + serializedName: "diskState", type: { name: "String" } }, - isReplicationAgentUpdateRequired: { - serializedName: "isReplicationAgentUpdateRequired", + allowedDiskLevelOperation: { + serializedName: "allowedDiskLevelOperation", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + isDiskEncrypted: { + serializedName: "isDiskEncrypted", type: { name: "Boolean" } }, - recoveryFabricObjectId: { - serializedName: "recoveryFabricObjectId", + secretIdentifier: { + serializedName: "secretIdentifier", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + dekKeyVaultArmId: { + serializedName: "dekKeyVaultArmId", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + isDiskKeyEncrypted: { + serializedName: "isDiskKeyEncrypted", type: { - name: "String" + name: "Boolean" } }, - lifecycleId: { - serializedName: "lifecycleId", + keyIdentifier: { + serializedName: "keyIdentifier", type: { name: "String" } }, - testFailoverRecoveryFabricObjectId: { - serializedName: "testFailoverRecoveryFabricObjectId", + kekKeyVaultArmId: { + serializedName: "kekKeyVaultArmId", type: { name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + failoverDiskName: { + serializedName: "failoverDiskName", type: { - name: "Number" + name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + tfoDiskName: { + serializedName: "tfoDiskName", 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", + recoveryOrignalTargetDiskId: { + serializedName: "recoveryOrignalTargetDiskId", type: { name: "String" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + recoveryReplicaDiskAccountType: { + serializedName: "recoveryReplicaDiskAccountType", type: { name: "String" } }, - policyId: { - serializedName: "policyId", + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", 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", + }, + recoveryDiskEncryptionSetId: { + serializedName: "recoveryDiskEncryptionSetId", 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", + }, + primaryDiskEncryptionSetId: { + serializedName: "primaryDiskEncryptionSetId", type: { name: "String" } }, - vmDisks: { - serializedName: "vmDisks", + diskName: { + serializedName: "diskName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AVmDiskInputDetails" - } - } + name: "String" } }, - vmManagedDisks: { - serializedName: "vmManagedDisks", + diskCapacityInBytes: { + serializedName: "diskCapacityInBytes", + type: { + name: "Number" + } + }, + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", + 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" + } + }, + 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 +1570,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,31 +1590,15 @@ export const A2AUpdateContainerMappingInput: msRest.CompositeMapper = { type: { name: "String" } - } - } - } -}; - -export const A2AVmManagedDiskUpdateDetails: msRest.CompositeMapper = { - serializedName: "A2AVmManagedDiskUpdateDetails", - type: { - name: "Composite", - className: "A2AVmManagedDiskUpdateDetails", - modelProperties: { - diskId: { - serializedName: "diskId", - type: { - name: "String" - } }, - recoveryTargetDiskAccountType: { - serializedName: "recoveryTargetDiskAccountType", + scheduleName: { + serializedName: "scheduleName", type: { name: "String" } }, - recoveryReplicaDiskAccountType: { - serializedName: "recoveryReplicaDiskAccountType", + jobScheduleName: { + serializedName: "jobScheduleName", type: { name: "String" } @@ -1679,16 +1607,16 @@ export const A2AVmManagedDiskUpdateDetails: msRest.CompositeMapper = { } }; -export const UpdateReplicationProtectedItemProviderInput: msRest.CompositeMapper = { - serializedName: "UpdateReplicationProtectedItemProviderInput", +export const ProviderSpecificRecoveryPointDetails: msRest.CompositeMapper = { + serializedName: "ProviderSpecificRecoveryPointDetails", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "UpdateReplicationProtectedItemProviderInput", - className: "UpdateReplicationProtectedItemProviderInput", + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "ProviderSpecificRecoveryPointDetails", modelProperties: { instanceType: { required: true, @@ -1701,88 +1629,50 @@ export const UpdateReplicationProtectedItemProviderInput: msRest.CompositeMapper } }; -export const A2AUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { +export const A2ARecoveryPointDetails: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, - uberParent: "UpdateReplicationProtectedItemProviderInput", - className: "A2AUpdateReplicationProtectedItemInput", + polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "A2ARecoveryPointDetails", modelProperties: { - ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, - recoveryCloudServiceId: { - serializedName: "recoveryCloudServiceId", - type: { - name: "String" - } - }, - recoveryResourceGroupId: { - serializedName: "recoveryResourceGroupId", + ...ProviderSpecificRecoveryPointDetails.type.modelProperties, + recoveryPointSyncType: { + serializedName: "recoveryPointSyncType", type: { name: "String" } }, - managedDiskUpdateDetails: { - serializedName: "managedDiskUpdateDetails", + disks: { + serializedName: "disks", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "A2AVmManagedDiskUpdateDetails" + name: "String" } } } - }, - recoveryBootDiagStorageAccountId: { - serializedName: "recoveryBootDiagStorageAccountId", - type: { - name: "String" - } - }, - diskEncryptionInfo: { - serializedName: "diskEncryptionInfo", - type: { - name: "Composite", - className: "DiskEncryptionInfo" - } } } } }; -export const AddVCenterRequestProperties: msRest.CompositeMapper = { - serializedName: "AddVCenterRequestProperties", +export const RemoveDisksProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "RemoveDisksProviderSpecificInput", type: { name: "Composite", - className: "AddVCenterRequestProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RemoveDisksProviderSpecificInput", + className: "RemoveDisksProviderSpecificInput", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - ipAddress: { - serializedName: "ipAddress", - type: { - name: "String" - } - }, - processServerId: { - serializedName: "processServerId", - type: { - name: "String" - } - }, - port: { - serializedName: "port", - type: { - name: "String" - } - }, - runAsAccountId: { - serializedName: "runAsAccountId", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -1791,48 +1681,55 @@ export const AddVCenterRequestProperties: msRest.CompositeMapper = { } }; -export const AddVCenterRequest: msRest.CompositeMapper = { - serializedName: "AddVCenterRequest", +export const A2ARemoveDisksInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "AddVCenterRequest", + polymorphicDiscriminator: RemoveDisksProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "RemoveDisksProviderSpecificInput", + className: "A2ARemoveDisksInput", modelProperties: { - properties: { - serializedName: "properties", + ...RemoveDisksProviderSpecificInput.type.modelProperties, + vmDisksUris: { + serializedName: "vmDisksUris", type: { - name: "Composite", - className: "AddVCenterRequestProperties" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + vmManagedDisksIds: { + serializedName: "vmManagedDisksIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const AlertProperties: msRest.CompositeMapper = { - serializedName: "AlertProperties", +export const A2AUnprotectedDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AUnprotectedDiskDetails", type: { name: "Composite", - className: "AlertProperties", + className: "A2AUnprotectedDiskDetails", modelProperties: { - sendToOwners: { - serializedName: "sendToOwners", + diskLunId: { + serializedName: "diskLunId", type: { - name: "String" - } - }, - customEmailAddresses: { - serializedName: "customEmailAddresses", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - locale: { - serializedName: "locale", + diskAutoProtectionStatus: { + serializedName: "diskAutoProtectionStatus", type: { name: "String" } @@ -1841,412 +1738,301 @@ export const AlertProperties: msRest.CompositeMapper = { } }; -export const Resource: msRest.CompositeMapper = { - serializedName: "Resource", +export const IPConfigDetails: msRest.CompositeMapper = { + serializedName: "IPConfigDetails", type: { name: "Composite", - className: "Resource", + className: "IPConfigDetails", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + name: { + serializedName: "name", type: { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + isPrimary: { + serializedName: "isPrimary", + type: { + name: "Boolean" + } + }, + subnetName: { + serializedName: "subnetName", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + staticIPAddress: { + serializedName: "staticIPAddress", type: { name: "String" } }, - location: { - serializedName: "location", + ipAddressType: { + serializedName: "ipAddressType", type: { name: "String" } - } - } - } -}; - -export const Alert: msRest.CompositeMapper = { - serializedName: "Alert", - type: { - name: "Composite", - className: "Alert", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + isSeletedForFailover: { + serializedName: "isSeletedForFailover", type: { - name: "Composite", - className: "AlertProperties" + name: "Boolean" } - } - } - } -}; - -export const ApplyRecoveryPointInputProperties: msRest.CompositeMapper = { - serializedName: "ApplyRecoveryPointInputProperties", - type: { - name: "Composite", - className: "ApplyRecoveryPointInputProperties", - modelProperties: { - recoveryPointId: { - serializedName: "recoveryPointId", + }, + recoverySubnetName: { + serializedName: "recoverySubnetName", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + recoveryStaticIPAddress: { + serializedName: "recoveryStaticIPAddress", type: { - name: "Composite", - className: "ApplyRecoveryPointProviderSpecificInput" + name: "String" } - } - } - } -}; - -export const ApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "ApplyRecoveryPointInput", - type: { - name: "Composite", - className: "ApplyRecoveryPointInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + recoveryIPAddressType: { + serializedName: "recoveryIPAddressType", type: { - name: "Composite", - className: "ApplyRecoveryPointInputProperties" + name: "String" } - } - } - } -}; - -export const JobDetails: msRest.CompositeMapper = { - serializedName: "JobDetails", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "JobDetails", - className: "JobDetails", - modelProperties: { - affectedObjectDetails: { - serializedName: "affectedObjectDetails", + }, + recoveryPublicIPAddressId: { + serializedName: "recoveryPublicIPAddressId", type: { - name: "Dictionary", - value: { + name: "String" + } + }, + recoveryLBBackendAddressPoolIds: { + serializedName: "recoveryLBBackendAddressPoolIds", + type: { + name: "Sequence", + element: { type: { name: "String" } } } }, - instanceType: { - required: true, - serializedName: "instanceType", + tfoSubnetName: { + serializedName: "tfoSubnetName", type: { name: "String" } - } - } - } -}; - -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: "TaskTypeDetails", - className: "TaskTypeDetails", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + }, + tfoStaticIPAddress: { + serializedName: "tfoStaticIPAddress", 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", + }, + tfoPublicIPAddressId: { + serializedName: "tfoPublicIPAddressId", + type: { + name: "String" + } + }, + tfoLBBackendAddressPoolIds: { + serializedName: "tfoLBBackendAddressPoolIds", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ASRTask" + name: "String" } } } - }, - instanceType: { - required: true, - serializedName: "instanceType", - type: { - name: "String" - } } } } }; -export const ServiceError: msRest.CompositeMapper = { - serializedName: "ServiceError", +export const VMNicDetails: msRest.CompositeMapper = { + serializedName: "VMNicDetails", type: { name: "Composite", - className: "ServiceError", + className: "VMNicDetails", modelProperties: { - code: { - serializedName: "code", + nicId: { + serializedName: "nicId", type: { name: "String" } }, - message: { - serializedName: "message", - type: { + replicaNicId: { + serializedName: "replicaNicId", + type: { name: "String" } }, - possibleCauses: { - serializedName: "possibleCauses", + sourceNicArmId: { + serializedName: "sourceNicArmId", type: { name: "String" } }, - recommendedAction: { - serializedName: "recommendedAction", + vMNetworkName: { + serializedName: "vMNetworkName", type: { name: "String" } }, - activityId: { - serializedName: "activityId", + recoveryVMNetworkId: { + serializedName: "recoveryVMNetworkId", type: { name: "String" } - } - } - } -}; - -export const ProviderError: msRest.CompositeMapper = { - serializedName: "ProviderError", - type: { - name: "Composite", - className: "ProviderError", - modelProperties: { - errorCode: { - serializedName: "errorCode", + }, + ipConfigs: { + serializedName: "ipConfigs", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPConfigDetails" + } + } } }, - errorMessage: { - serializedName: "errorMessage", + selectionType: { + serializedName: "selectionType", type: { name: "String" } }, - errorId: { - serializedName: "errorId", + recoveryNetworkSecurityGroupId: { + serializedName: "recoveryNetworkSecurityGroupId", type: { name: "String" } }, - possibleCauses: { - serializedName: "possibleCauses", + enableAcceleratedNetworkingOnRecovery: { + serializedName: "enableAcceleratedNetworkingOnRecovery", + type: { + name: "Boolean" + } + }, + tfoVMNetworkId: { + serializedName: "tfoVMNetworkId", type: { name: "String" } }, - recommendedAction: { - serializedName: "recommendedAction", + tfoNetworkSecurityGroupId: { + serializedName: "tfoNetworkSecurityGroupId", type: { name: "String" } - } - } - } -}; - -export const JobErrorDetails: msRest.CompositeMapper = { - serializedName: "JobErrorDetails", - type: { - name: "Composite", - className: "JobErrorDetails", - modelProperties: { - serviceErrorDetails: { - serializedName: "serviceErrorDetails", + }, + enableAcceleratedNetworkingOnTfo: { + serializedName: "enableAcceleratedNetworkingOnTfo", type: { - name: "Composite", - className: "ServiceError" + name: "Boolean" } }, - providerErrorDetails: { - serializedName: "providerErrorDetails", + recoveryNicName: { + serializedName: "recoveryNicName", type: { - name: "Composite", - className: "ProviderError" + name: "String" } }, - errorLevel: { - serializedName: "errorLevel", + recoveryNicResourceGroupName: { + serializedName: "recoveryNicResourceGroupName", type: { name: "String" } }, - creationTime: { - serializedName: "creationTime", + reuseExistingNic: { + serializedName: "reuseExistingNic", + defaultValue: false, type: { - name: "DateTime" + name: "Boolean" } }, - taskId: { - serializedName: "taskId", + tfoRecoveryNicName: { + serializedName: "tfoRecoveryNicName", + type: { + name: "String" + } + }, + tfoRecoveryNicResourceGroupName: { + serializedName: "tfoRecoveryNicResourceGroupName", type: { name: "String" } + }, + tfoReuseExistingNic: { + serializedName: "tfoReuseExistingNic", + defaultValue: false, + type: { + name: "Boolean" + } } } } }; -export const ASRTask: msRest.CompositeMapper = { - serializedName: "ASRTask", +export const InputEndpoint: msRest.CompositeMapper = { + serializedName: "InputEndpoint", type: { name: "Composite", - className: "ASRTask", + className: "InputEndpoint", modelProperties: { - taskId: { - serializedName: "taskId", + endpointName: { + serializedName: "endpointName", type: { name: "String" } }, - name: { - serializedName: "name", + privatePort: { + serializedName: "privatePort", type: { - name: "String" + name: "Number" } }, - startTime: { - serializedName: "startTime", + publicPort: { + serializedName: "publicPort", type: { - name: "DateTime" + name: "Number" } }, - endTime: { - serializedName: "endTime", + protocol: { + serializedName: "protocol", type: { - name: "DateTime" + name: "String" } - }, - allowedActions: { - serializedName: "allowedActions", + } + } + } +}; + +export const AzureToAzureVmSyncedConfigDetails: msRest.CompositeMapper = { + serializedName: "AzureToAzureVmSyncedConfigDetails", + type: { + name: "Composite", + className: "AzureToAzureVmSyncedConfigDetails", + modelProperties: { + tags: { + serializedName: "tags", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { name: "String" } } } }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - state: { - serializedName: "state", - type: { - name: "String" - } - }, - stateDescription: { - serializedName: "stateDescription", - type: { - name: "String" - } - }, - taskType: { - serializedName: "taskType", - type: { - name: "String" - } - }, - customDetails: { - serializedName: "customDetails", - type: { - name: "Composite", - className: "TaskTypeDetails" - } - }, - groupTaskCustomDetails: { - serializedName: "groupTaskCustomDetails", - type: { - name: "Composite", - className: "GroupTaskDetails" - } - }, - errors: { - serializedName: "errors", + inputEndpoints: { + serializedName: "inputEndpoints", type: { name: "Sequence", element: { type: { name: "Composite", - className: "JobErrorDetails" + className: "InputEndpoint" } } } @@ -2255,128 +2041,8037 @@ export const ASRTask: msRest.CompositeMapper = { } }; -export const AutomationRunbookTaskDetails: msRest.CompositeMapper = { - serializedName: "AutomationRunbookTaskDetails", +export const A2AReplicationDetails: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "AutomationRunbookTaskDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "A2AReplicationDetails", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - name: { - serializedName: "name", + ...ReplicationProviderSpecificSettings.type.modelProperties, + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } }, - cloudServiceName: { - serializedName: "cloudServiceName", + initialPrimaryZone: { + readOnly: true, + serializedName: "initialPrimaryZone", type: { name: "String" } }, - subscriptionId: { - serializedName: "subscriptionId", + initialPrimaryFabricLocation: { + readOnly: true, + serializedName: "initialPrimaryFabricLocation", type: { name: "String" } }, - accountName: { - serializedName: "accountName", + initialRecoveryZone: { + readOnly: true, + serializedName: "initialRecoveryZone", type: { name: "String" } }, - runbookId: { - serializedName: "runbookId", + initialRecoveryFabricLocation: { + readOnly: true, + serializedName: "initialRecoveryFabricLocation", type: { name: "String" } }, - runbookName: { - serializedName: "runbookName", + multiVmGroupId: { + serializedName: "multiVmGroupId", type: { name: "String" } }, - jobId: { - serializedName: "jobId", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { name: "String" } }, - jobOutput: { - serializedName: "jobOutput", + multiVmGroupCreateOption: { + serializedName: "multiVmGroupCreateOption", type: { name: "String" } }, - isPrimarySideScript: { - serializedName: "isPrimarySideScript", - type: { - name: "Boolean" - } - } - } - } -}; - -export const FabricSpecificCreationInput: msRest.CompositeMapper = { - serializedName: "FabricSpecificCreationInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificCreationInput", - className: "FabricSpecificCreationInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + managementId: { + serializedName: "managementId", type: { name: "String" } - } - } - } -}; - -export const AzureFabricCreationInput: msRest.CompositeMapper = { - serializedName: "Azure", - type: { + }, + protectedDisks: { + serializedName: "protectedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AProtectedDiskDetails" + } + } + } + }, + unprotectedDisks: { + serializedName: "unprotectedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AUnprotectedDiskDetails" + } + } + } + }, + protectedManagedDisks: { + serializedName: "protectedManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AProtectedManagedDiskDetails" + } + } + } + }, + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", + type: { + name: "String" + } + }, + primaryFabricLocation: { + serializedName: "primaryFabricLocation", + type: { + name: "String" + } + }, + recoveryFabricLocation: { + serializedName: "recoveryFabricLocation", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", + type: { + name: "String" + } + }, + recoveryAzureVMName: { + serializedName: "recoveryAzureVMName", + type: { + name: "String" + } + }, + recoveryAzureResourceGroupId: { + serializedName: "recoveryAzureResourceGroupId", + type: { + name: "String" + } + }, + recoveryCloudService: { + serializedName: "recoveryCloudService", + type: { + name: "String" + } + }, + recoveryAvailabilitySet: { + serializedName: "recoveryAvailabilitySet", + type: { + name: "String" + } + }, + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", + type: { + name: "String" + } + }, + selectedTfoAzureNetworkId: { + serializedName: "selectedTfoAzureNetworkId", + type: { + name: "String" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicDetails" + } + } + } + }, + vmSyncedConfigDetails: { + serializedName: "vmSyncedConfigDetails", + type: { + name: "Composite", + className: "AzureToAzureVmSyncedConfigDetails" + } + }, + monitoringPercentageCompletion: { + serializedName: "monitoringPercentageCompletion", + type: { + name: "Number" + } + }, + monitoringJobType: { + serializedName: "monitoringJobType", + type: { + name: "String" + } + }, + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + agentVersion: { + serializedName: "agentVersion", + type: { + name: "String" + } + }, + agentExpiryDate: { + serializedName: "agentExpiryDate", + type: { + name: "DateTime" + } + }, + isReplicationAgentUpdateRequired: { + serializedName: "isReplicationAgentUpdateRequired", + type: { + name: "Boolean" + } + }, + agentCertificateExpiryDate: { + readOnly: true, + serializedName: "agentCertificateExpiryDate", + type: { + name: "DateTime" + } + }, + isReplicationAgentCertificateUpdateRequired: { + serializedName: "isReplicationAgentCertificateUpdateRequired", + type: { + name: "Boolean" + } + }, + recoveryFabricObjectId: { + serializedName: "recoveryFabricObjectId", + type: { + name: "String" + } + }, + vmProtectionState: { + serializedName: "vmProtectionState", + type: { + name: "String" + } + }, + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", + type: { + name: "String" + } + }, + lifecycleId: { + serializedName: "lifecycleId", + type: { + name: "String" + } + }, + testFailoverRecoveryFabricObjectId: { + serializedName: "testFailoverRecoveryFabricObjectId", + type: { + name: "String" + } + }, + rpoInSeconds: { + serializedName: "rpoInSeconds", + type: { + name: "Number" + } + }, + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", + type: { + name: "DateTime" + } + }, + primaryAvailabilityZone: { + serializedName: "primaryAvailabilityZone", + type: { + name: "String" + } + }, + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", + type: { + name: "String" + } + }, + vmEncryptionType: { + readOnly: true, + serializedName: "vmEncryptionType", + type: { + name: "String" + } + }, + tfoAzureVMName: { + serializedName: "tfoAzureVMName", + type: { + name: "String" + } + }, + recoveryAzureGeneration: { + readOnly: true, + serializedName: "recoveryAzureGeneration", + type: { + name: "String" + } + }, + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", + type: { + name: "String" + } + }, + autoProtectionOfDataDisk: { + serializedName: "autoProtectionOfDataDisk", + type: { + name: "String" + } + }, + recoveryVirtualMachineScaleSetId: { + serializedName: "recoveryVirtualMachineScaleSetId", + type: { + name: "String" + } + } + } + } +}; + +export const ReplicationProtectionIntentProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "ReplicationProtectionIntentProviderSpecificSettings", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ReplicationProtectionIntentProviderSpecificSettings", + className: "ReplicationProtectionIntentProviderSpecificSettings", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const A2AReplicationIntentDetails: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProtectionIntentProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProtectionIntentProviderSpecificSettings", + className: "A2AReplicationIntentDetails", + modelProperties: { + ...ReplicationProtectionIntentProviderSpecificSettings.type.modelProperties, + fabricObjectId: { + serializedName: "fabricObjectId", + type: { + name: "String" + } + }, + primaryLocation: { + serializedName: "primaryLocation", + type: { + name: "String" + } + }, + recoveryLocation: { + serializedName: "recoveryLocation", + type: { + name: "String" + } + }, + recoverySubscriptionId: { + serializedName: "recoverySubscriptionId", + type: { + name: "String" + } + }, + vmDisks: { + serializedName: "vmDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AProtectionIntentDiskInputDetails" + } + } + } + }, + vmManagedDisks: { + serializedName: "vmManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AProtectionIntentManagedDiskInputDetails" + } + } + } + }, + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", + type: { + name: "String" + } + }, + protectionProfile: { + serializedName: "protectionProfile", + type: { + name: "Composite", + className: "ProtectionProfileCustomDetails" + } + }, + primaryStagingStorageAccount: { + serializedName: "primaryStagingStorageAccount", + type: { + name: "Composite", + className: "StorageAccountCustomDetails" + } + }, + recoveryAvailabilitySet: { + serializedName: "recoveryAvailabilitySet", + type: { + name: "Composite", + className: "RecoveryAvailabilitySetCustomDetails" + } + }, + recoveryVirtualNetwork: { + serializedName: "recoveryVirtualNetwork", + type: { + name: "Composite", + className: "RecoveryVirtualNetworkCustomDetails" + } + }, + recoveryProximityPlacementGroup: { + serializedName: "recoveryProximityPlacementGroup", + type: { + name: "Composite", + className: "RecoveryProximityPlacementGroupCustomDetails" + } + }, + autoProtectionOfDataDisk: { + serializedName: "autoProtectionOfDataDisk", + type: { + name: "String" + } + }, + multiVmGroupName: { + serializedName: "multiVmGroupName", + type: { + name: "String" + } + }, + multiVmGroupId: { + serializedName: "multiVmGroupId", + type: { + name: "String" + } + }, + recoveryBootDiagStorageAccount: { + serializedName: "recoveryBootDiagStorageAccount", + type: { + name: "Composite", + className: "StorageAccountCustomDetails" + } + }, + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", + type: { + name: "Composite", + className: "DiskEncryptionInfo" + } + }, + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", + type: { + name: "String" + } + }, + recoveryAvailabilityType: { + required: true, + serializedName: "recoveryAvailabilityType", + type: { + name: "String" + } + } + } + } +}; + +export const ReverseReplicationProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "ReverseReplicationProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "ReverseReplicationProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + 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", + type: { + name: "String" + } + }, + vmDisks: { + serializedName: "vmDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmDiskInputDetails" + } + } + } + }, + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", + type: { + name: "String" + } + }, + recoveryCloudServiceId: { + serializedName: "recoveryCloudServiceId", + type: { + name: "String" + } + }, + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", + type: { + name: "String" + } + }, + policyId: { + serializedName: "policyId", + 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", + 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", + 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" + } + } + } + }, + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", + type: { + name: "String" + } + }, + recoveryCloudServiceId: { + serializedName: "recoveryCloudServiceId", + type: { + name: "String" + } + }, + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", + type: { + name: "String" + } + }, + policyId: { + serializedName: "policyId", + type: { + name: "String" + } + }, + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", + type: { + name: "String" + } + }, + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", + type: { + name: "String" + } + }, + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", + type: { + name: "String" + } + }, + recoveryVirtualMachineScaleSetId: { + serializedName: "recoveryVirtualMachineScaleSetId", + type: { + name: "String" + } + }, + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", + type: { + name: "Composite", + className: "DiskEncryptionInfo" + } + } + } + } +}; + +export const TestFailoverProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "TestFailoverProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "TestFailoverProviderSpecificInput", + className: "TestFailoverProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const A2ATestFailoverInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "A2ATestFailoverInput", + modelProperties: { + ...TestFailoverProviderSpecificInput.type.modelProperties, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + }, + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", + type: { + name: "String" + } + } + } + } +}; + +export const UnplannedFailoverProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "UnplannedFailoverProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const A2AUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "A2AUnplannedFailoverInput", + modelProperties: { + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + }, + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", + type: { + name: "String" + } + } + } + } +}; + +export const ReplicationProviderSpecificUpdateContainerMappingInput: msRest.CompositeMapper = { + serializedName: "ReplicationProviderSpecificUpdateContainerMappingInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", + className: "ReplicationProviderSpecificUpdateContainerMappingInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const A2AUpdateContainerMappingInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificUpdateContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", + className: "A2AUpdateContainerMappingInput", + modelProperties: { + ...ReplicationProviderSpecificUpdateContainerMappingInput.type.modelProperties, + agentAutoUpdateStatus: { + serializedName: "agentAutoUpdateStatus", + type: { + name: "String" + } + }, + automationAccountArmId: { + serializedName: "automationAccountArmId", + type: { + name: "String" + } + } + } + } +}; + +export const A2AVmManagedDiskUpdateDetails: msRest.CompositeMapper = { + serializedName: "A2AVmManagedDiskUpdateDetails", + type: { + name: "Composite", + className: "A2AVmManagedDiskUpdateDetails", + modelProperties: { + 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: "DiskEncryptionInfo" + } + }, + failoverDiskName: { + serializedName: "failoverDiskName", + type: { + name: "String" + } + }, + tfoDiskName: { + serializedName: "tfoDiskName", + type: { + name: "String" + } + } + } + } +}; + +export const UpdateReplicationProtectedItemProviderInput: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemProviderInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "UpdateReplicationProtectedItemProviderInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const A2AUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "A2AUpdateReplicationProtectedItemInput", + modelProperties: { + ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, + recoveryCloudServiceId: { + serializedName: "recoveryCloudServiceId", + type: { + name: "String" + } + }, + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", + type: { + name: "String" + } + }, + managedDiskUpdateDetails: { + serializedName: "managedDiskUpdateDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmManagedDiskUpdateDetails" + } + } + } + }, + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", + type: { + name: "String" + } + }, + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", + type: { + name: "Composite", + className: "DiskEncryptionInfo" + } + }, + tfoAzureVMName: { + serializedName: "tfoAzureVMName", + type: { + name: "String" + } + }, + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", + type: { + name: "String" + } + }, + recoveryVirtualMachineScaleSetId: { + serializedName: "recoveryVirtualMachineScaleSetId", + type: { + name: "String" + } + } + } + } +}; + +export const A2AZoneDetails: msRest.CompositeMapper = { + serializedName: "A2AZoneDetails", + type: { + name: "Composite", + className: "A2AZoneDetails", + modelProperties: { + source: { + serializedName: "source", + type: { + name: "String" + } + }, + target: { + serializedName: "target", + type: { + name: "String" + } + } + } + } +}; + +export const AddDisksInputProperties: msRest.CompositeMapper = { + serializedName: "AddDisksInputProperties", + type: { + name: "Composite", + className: "AddDisksInputProperties", + modelProperties: { + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "AddDisksProviderSpecificInput" + } + } + } + } +}; + +export const AddDisksInput: msRest.CompositeMapper = { + serializedName: "AddDisksInput", + type: { + name: "Composite", + className: "AddDisksInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "AddDisksInputProperties" + } + } + } + } +}; + +export const IdentityProviderInput: msRest.CompositeMapper = { + serializedName: "IdentityProviderInput", + type: { + name: "Composite", + className: "IdentityProviderInput", + modelProperties: { + tenantId: { + required: true, + serializedName: "tenantId", + type: { + name: "String" + } + }, + applicationId: { + required: true, + serializedName: "applicationId", + type: { + name: "String" + } + }, + objectId: { + required: true, + serializedName: "objectId", + type: { + name: "String" + } + }, + audience: { + required: true, + serializedName: "audience", + type: { + name: "String" + } + }, + aadAuthority: { + required: true, + serializedName: "aadAuthority", + type: { + name: "String" + } + } + } + } +}; + +export const AddRecoveryServicesProviderInputProperties: msRest.CompositeMapper = { + serializedName: "AddRecoveryServicesProviderInputProperties", + type: { + name: "Composite", + className: "AddRecoveryServicesProviderInputProperties", + modelProperties: { + machineName: { + required: true, + serializedName: "machineName", + type: { + name: "String" + } + }, + machineId: { + serializedName: "machineId", + type: { + name: "String" + } + }, + biosId: { + serializedName: "biosId", + type: { + name: "String" + } + }, + authenticationIdentityInput: { + required: true, + serializedName: "authenticationIdentityInput", + type: { + name: "Composite", + className: "IdentityProviderInput" + } + }, + resourceAccessIdentityInput: { + required: true, + serializedName: "resourceAccessIdentityInput", + type: { + name: "Composite", + className: "IdentityProviderInput" + } + }, + dataPlaneAuthenticationIdentityInput: { + serializedName: "dataPlaneAuthenticationIdentityInput", + type: { + name: "Composite", + className: "IdentityProviderInput" + } + } + } + } +}; + +export const AddRecoveryServicesProviderInput: msRest.CompositeMapper = { + serializedName: "AddRecoveryServicesProviderInput", + type: { + name: "Composite", + className: "AddRecoveryServicesProviderInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "AddRecoveryServicesProviderInputProperties" + } + } + } + } +}; + +export const AddVCenterRequestProperties: msRest.CompositeMapper = { + serializedName: "AddVCenterRequestProperties", + type: { + name: "Composite", + className: "AddVCenterRequestProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + ipAddress: { + serializedName: "ipAddress", + type: { + name: "String" + } + }, + processServerId: { + serializedName: "processServerId", + type: { + name: "String" + } + }, + port: { + serializedName: "port", + type: { + name: "String" + } + }, + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + } + } + } +}; + +export const AddVCenterRequest: msRest.CompositeMapper = { + serializedName: "AddVCenterRequest", + type: { + name: "Composite", + className: "AddVCenterRequest", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "AddVCenterRequestProperties" + } + } + } + } +}; + +export const AgentDiskDetails: msRest.CompositeMapper = { + serializedName: "AgentDiskDetails", + type: { + name: "Composite", + className: "AgentDiskDetails", + modelProperties: { + diskId: { + readOnly: true, + serializedName: "diskId", + type: { + name: "String" + } + }, + diskName: { + readOnly: true, + serializedName: "diskName", + type: { + name: "String" + } + }, + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", + type: { + name: "String" + } + }, + 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 AlertProperties: msRest.CompositeMapper = { + serializedName: "AlertProperties", + type: { + name: "Composite", + className: "AlertProperties", + modelProperties: { + sendToOwners: { + serializedName: "sendToOwners", + type: { + name: "String" + } + }, + customEmailAddresses: { + serializedName: "customEmailAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + locale: { + serializedName: "locale", + type: { + name: "String" + } + } + } + } +}; + +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const Alert: msRest.CompositeMapper = { + serializedName: "Alert", + type: { + name: "Composite", + className: "Alert", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "AlertProperties" + } + } + } + } +}; + +export const ApplyRecoveryPointInputProperties: msRest.CompositeMapper = { + serializedName: "ApplyRecoveryPointInputProperties", + type: { + name: "Composite", + className: "ApplyRecoveryPointInputProperties", + modelProperties: { + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + }, + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "ApplyRecoveryPointProviderSpecificInput" + } + } + } + } +}; + +export const ApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "ApplyRecoveryPointInput", + type: { + name: "Composite", + className: "ApplyRecoveryPointInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "ApplyRecoveryPointInputProperties" + } + } + } + } +}; + +export const JobDetails: msRest.CompositeMapper = { + serializedName: "JobDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "JobDetails", + className: "JobDetails", + modelProperties: { + affectedObjectDetails: { + serializedName: "affectedObjectDetails", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +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: "TaskTypeDetails", + className: "TaskTypeDetails", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + 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", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ASRTask" + } + } + } + }, + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const ServiceError: msRest.CompositeMapper = { + serializedName: "ServiceError", + type: { + name: "Composite", + className: "ServiceError", + modelProperties: { + code: { + serializedName: "code", + type: { + name: "String" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + }, + possibleCauses: { + serializedName: "possibleCauses", + type: { + name: "String" + } + }, + recommendedAction: { + serializedName: "recommendedAction", + type: { + name: "String" + } + }, + activityId: { + serializedName: "activityId", + type: { + name: "String" + } + } + } + } +}; + +export const ProviderError: msRest.CompositeMapper = { + serializedName: "ProviderError", + type: { + name: "Composite", + className: "ProviderError", + modelProperties: { + errorCode: { + serializedName: "errorCode", + type: { + name: "Number" + } + }, + errorMessage: { + serializedName: "errorMessage", + type: { + name: "String" + } + }, + errorId: { + serializedName: "errorId", + type: { + name: "String" + } + }, + possibleCauses: { + serializedName: "possibleCauses", + type: { + name: "String" + } + }, + recommendedAction: { + serializedName: "recommendedAction", + type: { + name: "String" + } + } + } + } +}; + +export const JobErrorDetails: msRest.CompositeMapper = { + serializedName: "JobErrorDetails", + type: { + name: "Composite", + className: "JobErrorDetails", + modelProperties: { + serviceErrorDetails: { + serializedName: "serviceErrorDetails", + type: { + name: "Composite", + className: "ServiceError" + } + }, + providerErrorDetails: { + serializedName: "providerErrorDetails", + type: { + name: "Composite", + className: "ProviderError" + } + }, + errorLevel: { + serializedName: "errorLevel", + type: { + name: "String" + } + }, + creationTime: { + serializedName: "creationTime", + type: { + name: "DateTime" + } + }, + taskId: { + serializedName: "taskId", + type: { + name: "String" + } + } + } + } +}; + +export const ASRTask: msRest.CompositeMapper = { + serializedName: "ASRTask", + type: { + name: "Composite", + className: "ASRTask", + modelProperties: { + taskId: { + serializedName: "taskId", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + allowedActions: { + serializedName: "allowedActions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + state: { + serializedName: "state", + type: { + name: "String" + } + }, + stateDescription: { + serializedName: "stateDescription", + type: { + name: "String" + } + }, + taskType: { + serializedName: "taskType", + type: { + name: "String" + } + }, + customDetails: { + serializedName: "customDetails", + type: { + name: "Composite", + className: "TaskTypeDetails" + } + }, + groupTaskCustomDetails: { + serializedName: "groupTaskCustomDetails", + type: { + name: "Composite", + className: "GroupTaskDetails" + } + }, + errors: { + serializedName: "errors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobErrorDetails" + } + } + } + } + } + } +}; + +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", + type: { + name: "String" + } + }, + cloudServiceName: { + serializedName: "cloudServiceName", + type: { + name: "String" + } + }, + subscriptionId: { + serializedName: "subscriptionId", + type: { + name: "String" + } + }, + accountName: { + serializedName: "accountName", + type: { + name: "String" + } + }, + runbookId: { + serializedName: "runbookId", + type: { + name: "String" + } + }, + runbookName: { + serializedName: "runbookName", + type: { + name: "String" + } + }, + jobId: { + serializedName: "jobId", + type: { + name: "String" + } + }, + jobOutput: { + serializedName: "jobOutput", + type: { + name: "String" + } + }, + isPrimarySideScript: { + serializedName: "isPrimarySideScript", + type: { + name: "Boolean" + } + } + } + } +}; + +export const FabricSpecificCreationInput: msRest.CompositeMapper = { + serializedName: "FabricSpecificCreationInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "FabricSpecificCreationInput", + className: "FabricSpecificCreationInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + 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", + 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", + type: { + name: "String" + } + } + } + } +}; + +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" + } + }, + containerIds: { + serializedName: "containerIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AZoneDetails" + } + } + } + } + } + } +}; + +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", + 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: { + required: true, + serializedName: "primaryNetworkId", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkMappingFabricSpecificSettings: msRest.CompositeMapper = { + serializedName: "NetworkMappingFabricSpecificSettings", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "NetworkMappingFabricSpecificSettings", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const AzureToAzureNetworkMappingSettings: msRest.CompositeMapper = { + serializedName: "AzureToAzure", + type: { + name: "Composite", + polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "AzureToAzureNetworkMappingSettings", + modelProperties: { + ...NetworkMappingFabricSpecificSettings.type.modelProperties, + primaryFabricLocation: { + serializedName: "primaryFabricLocation", + type: { + name: "String" + } + }, + recoveryFabricLocation: { + serializedName: "recoveryFabricLocation", + 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", + 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", + type: { + name: "String" + } + } + } + } +}; + +export const AzureVmDiskDetails: msRest.CompositeMapper = { + serializedName: "AzureVmDiskDetails", + type: { + name: "Composite", + className: "AzureVmDiskDetails", + modelProperties: { + vhdType: { + serializedName: "vhdType", + type: { + name: "String" + } + }, + vhdId: { + serializedName: "vhdId", + type: { + name: "String" + } + }, + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + vhdName: { + serializedName: "vhdName", + type: { + name: "String" + } + }, + maxSizeMB: { + serializedName: "maxSizeMB", + type: { + name: "String" + } + }, + targetDiskLocation: { + serializedName: "targetDiskLocation", + type: { + name: "String" + } + }, + targetDiskName: { + serializedName: "targetDiskName", + type: { + name: "String" + } + }, + lunId: { + serializedName: "lunId", + type: { + name: "String" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + } + } + } +}; + +export const ComputeSizeErrorDetails: msRest.CompositeMapper = { + serializedName: "ComputeSizeErrorDetails", + type: { + name: "Composite", + className: "ComputeSizeErrorDetails", + modelProperties: { + message: { + serializedName: "message", + type: { + name: "String" + } + }, + severity: { + serializedName: "severity", + type: { + name: "String" + } + } + } + } +}; + +export const ConfigurationSettings: msRest.CompositeMapper = { + serializedName: "ConfigurationSettings", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ConfigurationSettings", + className: "ConfigurationSettings", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const ConfigureAlertRequestProperties: msRest.CompositeMapper = { + serializedName: "ConfigureAlertRequestProperties", + type: { + name: "Composite", + className: "ConfigureAlertRequestProperties", + modelProperties: { + sendToOwners: { + serializedName: "sendToOwners", + type: { + name: "String" + } + }, + customEmailAddresses: { + serializedName: "customEmailAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + locale: { + serializedName: "locale", + type: { + name: "String" + } + } + } + } +}; + +export const ConfigureAlertRequest: msRest.CompositeMapper = { + serializedName: "ConfigureAlertRequest", + type: { + name: "Composite", + className: "ConfigureAlertRequest", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ConfigureAlertRequestProperties" + } + } + } + } +}; + +export const InconsistentVmDetails: msRest.CompositeMapper = { + serializedName: "InconsistentVmDetails", + type: { + name: "Composite", + className: "InconsistentVmDetails", + modelProperties: { + vmName: { + serializedName: "vmName", + type: { + name: "String" + } + }, + cloudName: { + serializedName: "cloudName", + type: { + name: "String" + } + }, + details: { + serializedName: "details", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + errorIds: { + serializedName: "errorIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +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", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InconsistentVmDetails" + } + } + } + } + } + } +}; + +export const CreateNetworkMappingInputProperties: msRest.CompositeMapper = { + serializedName: "CreateNetworkMappingInputProperties", + type: { + name: "Composite", + className: "CreateNetworkMappingInputProperties", + modelProperties: { + recoveryFabricName: { + serializedName: "recoveryFabricName", + type: { + name: "String" + } + }, + recoveryNetworkId: { + required: true, + serializedName: "recoveryNetworkId", + type: { + name: "String" + } + }, + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", + type: { + name: "Composite", + className: "FabricSpecificCreateNetworkMappingInput" + } + } + } + } +}; + +export const CreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "CreateNetworkMappingInput", + type: { + name: "Composite", + className: "CreateNetworkMappingInput", + modelProperties: { + properties: { + required: true, + 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: { + readOnly: true, + serializedName: "jobName", + type: { + name: "String" + } + }, + jobId: { + readOnly: true, + serializedName: "jobId", + type: { + name: "String" + } + }, + startTime: { + readOnly: true, + 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: { + required: true, + 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" + } + }, + errorId: { + serializedName: "errorId", + type: { + name: "String" + } + }, + customerResolvability: { + serializedName: "customerResolvability", + 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" + } + }, + biosId: { + readOnly: true, + serializedName: "biosId", + 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" + } + }, + affectedObjectCorrelationId: { + serializedName: "affectedObjectCorrelationId", + 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" + } + }, + affectedObjectCorrelationId: { + serializedName: "affectedObjectCorrelationId", + 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 FabricQueryParameter: msRest.CompositeMapper = { + serializedName: "FabricQueryParameter", + type: { + name: "Composite", + className: "FabricQueryParameter", + modelProperties: { + zoneToZoneMappings: { + serializedName: "zoneToZoneMappings", + type: { + name: "String" + } + }, + fetchAgentDetails: { + serializedName: "fetchAgentDetails", + type: { + name: "String" + } + }, + biosId: { + serializedName: "biosId", + type: { + name: "String" + } + }, + fqdn: { + serializedName: "fqdn", + type: { + name: "String" + } + }, + discoveryType: { + serializedName: "discoveryType", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + } + } + } +}; + +export const JobTaskDetails: msRest.CompositeMapper = { + serializedName: "JobTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "JobTaskDetails", + modelProperties: { + ...TaskTypeDetails.type.modelProperties, + jobTask: { + serializedName: "jobTask", + type: { + name: "Composite", + className: "JobEntity" + } + } + } + } +}; + +export const FabricReplicationGroupTaskDetails: msRest.CompositeMapper = { + serializedName: "FabricReplicationGroupTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "FabricReplicationGroupTaskDetails", + modelProperties: { + ...JobTaskDetails.type.modelProperties, + skippedReason: { + serializedName: "skippedReason", + type: { + name: "String" + } + }, + skippedReasonString: { + serializedName: "skippedReasonString", + type: { + name: "String" + } + } + } + } +}; + +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 HyperVHostDetails: msRest.CompositeMapper = { + serializedName: "HyperVHostDetails", + type: { + name: "Composite", + className: "HyperVHostDetails", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + marsAgentVersion: { + readOnly: true, + serializedName: "marsAgentVersion", + 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, + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", + type: { + name: "String" + } + }, + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureDiskInputDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzureDiskInputDetails", + type: { + name: "Composite", + className: "HyperVReplicaAzureDiskInputDetails", + 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 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" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + }, + sqlServerLicenseType: { + serializedName: "sqlServerLicenseType", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + useManagedDisksForReplication: { + serializedName: "useManagedDisksForReplication", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + }, + disksToIncludeForManagedDisks: { + serializedName: "disksToIncludeForManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HyperVReplicaAzureDiskInputDetails" + } + } + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + }, + targetVmTags: { + serializedName: "targetVmTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + seedManagedDiskTags: { + serializedName: "seedManagedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetManagedDiskTags: { + serializedName: "targetManagedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetNicTags: { + serializedName: "targetNicTags", + type: { + name: "Dictionary", + value: { + 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 PlannedFailoverProviderSpecificFailoverInput: msRest.CompositeMapper = { + serializedName: "PlannedFailoverProviderSpecificFailoverInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "PlannedFailoverProviderSpecificFailoverInput", + className: "PlannedFailoverProviderSpecificFailoverInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureFailbackProviderInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzureFailback", + type: { + name: "Composite", + polymorphicDiscriminator: PlannedFailoverProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "PlannedFailoverProviderSpecificFailoverInput", + className: "HyperVReplicaAzureFailbackProviderInput", + modelProperties: { + ...PlannedFailoverProviderSpecificFailoverInput.type.modelProperties, + dataSyncOption: { + serializedName: "dataSyncOption", + type: { + name: "String" + } + }, + recoveryVmCreationOption: { + serializedName: "recoveryVmCreationOption", + type: { + name: "String" + } + }, + providerIdForAlternateRecovery: { + serializedName: "providerIdForAlternateRecovery", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzureManagedDiskDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzureManagedDiskDetails", + type: { + name: "Composite", + className: "HyperVReplicaAzureManagedDiskDetails", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + seedManagedDiskId: { + serializedName: "seedManagedDiskId", + type: { + name: "String" + } + }, + replicaDiskType: { + serializedName: "replicaDiskType", + type: { + name: "String" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + } + } + } +}; + +export const HyperVReplicaAzurePlannedFailoverProviderInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: PlannedFailoverProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "PlannedFailoverProviderSpecificFailoverInput", + className: "HyperVReplicaAzurePlannedFailoverProviderInput", + modelProperties: { + ...PlannedFailoverProviderSpecificFailoverInput.type.modelProperties, + 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" + } + }, + sqlServerLicenseType: { + serializedName: "sqlServerLicenseType", + type: { + name: "String" + } + }, + lastRecoveryPointReceived: { + readOnly: true, + serializedName: "lastRecoveryPointReceived", + type: { + name: "DateTime" + } + }, + targetVmTags: { + serializedName: "targetVmTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + seedManagedDiskTags: { + serializedName: "seedManagedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetManagedDiskTags: { + serializedName: "targetManagedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetNicTags: { + serializedName: "targetNicTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + protectedManagedDisks: { + serializedName: "protectedManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HyperVReplicaAzureManagedDiskDetails" + } + } + } + } + } + } +}; + +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, + 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, + 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" + } + }, + targetVmTags: { + serializedName: "targetVmTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetManagedDiskTags: { + serializedName: "targetManagedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetNicTags: { + serializedName: "targetNicTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + sqlServerLicenseType: { + serializedName: "sqlServerLicenseType", + 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 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 HyperVReplicaBluePolicyInput: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012R2", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "HyperVReplicaBluePolicyInput", + modelProperties: { + ...HyperVReplicaPolicyInput.type.modelProperties, + replicationFrequencyInSeconds: { + serializedName: "replicationFrequencyInSeconds", + type: { + name: "Number" + } + } + } + } +}; + +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 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, + hyperVHosts: { + serializedName: "hyperVHosts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HyperVHostDetails" + } + } + } + } + } + } +}; + +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 InMageAzureV2ApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "InMageAzureV2ApplyRecoveryPointInput", + modelProperties: { + ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties + } + } +}; + +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" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + }, + sqlServerLicenseType: { + serializedName: "sqlServerLicenseType", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + }, + targetVmTags: { + serializedName: "targetVmTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + seedManagedDiskTags: { + serializedName: "seedManagedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetManagedDiskTags: { + serializedName: "targetManagedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetNicTags: { + serializedName: "targetNicTags", + type: { + name: "Dictionary", + value: { + 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 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" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + 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" + } + }, + resyncProcessedBytes: { + serializedName: "resyncProcessedBytes", + type: { + name: "Number" + } + }, + resyncTotalTransferredBytes: { + serializedName: "resyncTotalTransferredBytes", + type: { + name: "Number" + } + }, + resyncLast15MinutesTransferredBytes: { + serializedName: "resyncLast15MinutesTransferredBytes", + type: { + name: "Number" + } + }, + resyncLastDataTransferTimeUTC: { + serializedName: "resyncLastDataTransferTimeUTC", + type: { + name: "DateTime" + } + }, + resyncStartTime: { + serializedName: "resyncStartTime", + type: { + name: "DateTime" + } + }, + progressHealth: { + serializedName: "progressHealth", + type: { + name: "String" + } + }, + progressStatus: { + serializedName: "progressStatus", + type: { + name: "String" + } + } + } + } +}; + +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: { + 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" + } + }, + sqlServerLicenseType: { + serializedName: "sqlServerLicenseType", + 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" + } + } + } + }, + lastRecoveryPointReceived: { + readOnly: true, + serializedName: "lastRecoveryPointReceived", + type: { + name: "DateTime" + } + }, + firmwareType: { + serializedName: "firmwareType", + type: { + name: "String" + } + }, + azureVmGeneration: { + serializedName: "azureVmGeneration", + type: { + name: "String" + } + }, + isAdditionalStatsAvailable: { + serializedName: "isAdditionalStatsAvailable", + type: { + name: "Boolean" + } + }, + totalDataTransferred: { + serializedName: "totalDataTransferred", + type: { + name: "Number" + } + }, + totalProgressHealth: { + serializedName: "totalProgressHealth", + type: { + name: "String" + } + }, + targetVmTags: { + serializedName: "targetVmTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + seedManagedDiskTags: { + serializedName: "seedManagedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetManagedDiskTags: { + serializedName: "targetManagedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetNicTags: { + serializedName: "targetNicTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +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, + 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, + 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" + } + }, + targetVmTags: { + serializedName: "targetVmTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetManagedDiskTags: { + serializedName: "targetManagedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetNicTags: { + serializedName: "targetNicTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + sqlServerLicenseType: { + serializedName: "sqlServerLicenseType", + 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 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" + } + }, + resyncProcessedBytes: { + serializedName: "resyncProcessedBytes", + type: { + name: "Number" + } + }, + resyncTotalTransferredBytes: { + serializedName: "resyncTotalTransferredBytes", + type: { + name: "Number" + } + }, + resyncLast15MinutesTransferredBytes: { + serializedName: "resyncLast15MinutesTransferredBytes", + type: { + name: "Number" + } + }, + resyncLastDataTransferTimeUTC: { + serializedName: "resyncLastDataTransferTimeUTC", + type: { + name: "DateTime" + } + }, + resyncStartTime: { + serializedName: "resyncStartTime", + type: { + name: "DateTime" + } + }, + progressHealth: { + serializedName: "progressHealth", + type: { + name: "String" + } + }, + progressStatus: { + serializedName: "progressStatus", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmAgentUpgradeBlockingErrorDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmAgentUpgradeBlockingErrorDetails", + type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreationInput", - className: "AzureFabricCreationInput", + className: "InMageRcmAgentUpgradeBlockingErrorDetails", modelProperties: { - ...FabricSpecificCreationInput.type.modelProperties, - location: { - serializedName: "location", + 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, + recoveryPointId: { + required: true, + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmDiskInput: msRest.CompositeMapper = { + serializedName: "InMageRcmDiskInput", + type: { + name: "Composite", + className: "InMageRcmDiskInput", + modelProperties: { + diskId: { + required: true, + serializedName: "diskId", + type: { + name: "String" + } + }, + logStorageAccountId: { + required: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + diskType: { + required: true, + 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: { + required: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + diskType: { + required: true, + 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: { + required: true, + 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: { + required: true, + 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" } - } - } - } -}; - -export const FabricSpecificDetails: msRest.CompositeMapper = { - serializedName: "FabricSpecificDetails", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificDetails", - className: "FabricSpecificDetails", - modelProperties: { - instanceType: { + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + }, + processServerId: { required: true, - serializedName: "instanceType", + serializedName: "processServerId", + type: { + name: "String" + } + }, + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { name: "String" } @@ -2385,157 +10080,307 @@ export const FabricSpecificDetails: msRest.CompositeMapper = { } }; -export const AzureFabricSpecificDetails: msRest.CompositeMapper = { - serializedName: "Azure", +export const InMageRcmEventDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, - uberParent: "FabricSpecificDetails", - className: "AzureFabricSpecificDetails", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "InMageRcmEventDetails", modelProperties: { - ...FabricSpecificDetails.type.modelProperties, - location: { - serializedName: "location", + ...EventProviderSpecificDetails.type.modelProperties, + protectedItemName: { + readOnly: true, + serializedName: "protectedItemName", type: { name: "String" } }, - containerIds: { - serializedName: "containerIds", + vmName: { + readOnly: true, + serializedName: "vmName", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" + } + }, + latestAgentVersion: { + readOnly: true, + serializedName: "latestAgentVersion", + type: { + name: "String" + } + }, + jobId: { + readOnly: true, + serializedName: "jobId", + type: { + name: "String" + } + }, + fabricName: { + readOnly: true, + serializedName: "fabricName", + type: { + name: "String" + } + }, + applianceName: { + readOnly: true, + serializedName: "applianceName", + type: { + name: "String" + } + }, + serverType: { + readOnly: true, + serializedName: "serverType", + type: { + name: "String" + } + }, + componentDisplayName: { + readOnly: true, + serializedName: "componentDisplayName", + type: { + name: "String" } } } } }; -export const FabricSpecificCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "FabricSpecificCreateNetworkMappingInput", +export const InMageRcmFabricCreationInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "FabricSpecificCreateNetworkMappingInput", + polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreationInput", + className: "InMageRcmFabricCreationInput", modelProperties: { - instanceType: { + ...FabricSpecificCreationInput.type.modelProperties, + vmwareSiteId: { required: true, - serializedName: "instanceType", + serializedName: "vmwareSiteId", + type: { + name: "String" + } + }, + physicalSiteId: { + required: true, + serializedName: "physicalSiteId", type: { name: "String" } + }, + sourceAgentIdentity: { + required: true, + serializedName: "sourceAgentIdentity", + type: { + name: "Composite", + className: "IdentityProviderInput" + } } } } }; -export const AzureToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "AzureToAzure", +export const ProcessServerDetails: msRest.CompositeMapper = { + serializedName: "ProcessServerDetails", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "AzureToAzureCreateNetworkMappingInput", + className: "ProcessServerDetails", modelProperties: { - ...FabricSpecificCreateNetworkMappingInput.type.modelProperties, - primaryNetworkId: { - serializedName: "primaryNetworkId", + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + biosId: { + readOnly: true, + serializedName: "biosId", + type: { + name: "String" + } + }, + fabricObjectId: { + readOnly: true, + serializedName: "fabricObjectId", + type: { + name: "String" + } + }, + fqdn: { + readOnly: true, + serializedName: "fqdn", + 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" + } + }, + throughputStatus: { + readOnly: true, + serializedName: "throughputStatus", + type: { + name: "String" + } + }, + systemLoad: { + readOnly: true, + serializedName: "systemLoad", + type: { + name: "Number" + } + }, + systemLoadStatus: { + readOnly: true, + serializedName: "systemLoadStatus", type: { name: "String" } - } - } - } -}; - -export const NetworkMappingFabricSpecificSettings: msRest.CompositeMapper = { - serializedName: "NetworkMappingFabricSpecificSettings", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "NetworkMappingFabricSpecificSettings", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + }, + diskUsageStatus: { + readOnly: true, + serializedName: "diskUsageStatus", type: { name: "String" } - } - } - } -}; - -export const AzureToAzureNetworkMappingSettings: msRest.CompositeMapper = { - serializedName: "AzureToAzure", - type: { - name: "Composite", - polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "AzureToAzureNetworkMappingSettings", - modelProperties: { - ...NetworkMappingFabricSpecificSettings.type.modelProperties, - primaryFabricLocation: { - serializedName: "primaryFabricLocation", + }, + memoryUsageStatus: { + readOnly: true, + serializedName: "memoryUsageStatus", type: { name: "String" } }, - recoveryFabricLocation: { - serializedName: "recoveryFabricLocation", + processorUsageStatus: { + readOnly: true, + serializedName: "processorUsageStatus", 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", + }, + health: { + readOnly: true, + serializedName: "health", 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", + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + historicHealth: { + readOnly: true, + serializedName: "historicHealth", type: { name: "String" } @@ -2544,188 +10389,156 @@ export const AzureToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { } }; -export const AzureVmDiskDetails: msRest.CompositeMapper = { - serializedName: "AzureVmDiskDetails", +export const RcmProxyDetails: msRest.CompositeMapper = { + serializedName: "RcmProxyDetails", type: { name: "Composite", - className: "AzureVmDiskDetails", + className: "RcmProxyDetails", modelProperties: { - vhdType: { - serializedName: "vhdType", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - vhdId: { - serializedName: "vhdId", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - vhdName: { - serializedName: "vhdName", + biosId: { + readOnly: true, + serializedName: "biosId", type: { name: "String" } }, - maxSizeMB: { - serializedName: "maxSizeMB", + fabricObjectId: { + readOnly: true, + serializedName: "fabricObjectId", type: { name: "String" } }, - targetDiskLocation: { - serializedName: "targetDiskLocation", + fqdn: { + readOnly: true, + serializedName: "fqdn", type: { name: "String" } }, - targetDiskName: { - serializedName: "targetDiskName", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - lunId: { - serializedName: "lunId", + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -export const ComputeSizeErrorDetails: msRest.CompositeMapper = { - serializedName: "ComputeSizeErrorDetails", - type: { - name: "Composite", - className: "ComputeSizeErrorDetails", - modelProperties: { - message: { - serializedName: "message", + }, + health: { + readOnly: true, + serializedName: "health", type: { name: "String" } }, - severity: { - serializedName: "severity", + healthErrors: { + readOnly: true, + serializedName: "healthErrors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } } } } }; -export const ConfigurationSettings: msRest.CompositeMapper = { - serializedName: "ConfigurationSettings", +export const PushInstallerDetails: msRest.CompositeMapper = { + serializedName: "PushInstallerDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ConfigurationSettings", - className: "ConfigurationSettings", + className: "PushInstallerDetails", modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } - } - } - } -}; - -export const ConfigureAlertRequestProperties: msRest.CompositeMapper = { - serializedName: "ConfigureAlertRequestProperties", - type: { - name: "Composite", - className: "ConfigureAlertRequestProperties", - modelProperties: { - sendToOwners: { - serializedName: "sendToOwners", + }, + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - customEmailAddresses: { - serializedName: "customEmailAddresses", + biosId: { + readOnly: true, + serializedName: "biosId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - locale: { - serializedName: "locale", + fabricObjectId: { + readOnly: true, + serializedName: "fabricObjectId", type: { name: "String" } - } - } - } -}; - -export const ConfigureAlertRequest: msRest.CompositeMapper = { - serializedName: "ConfigureAlertRequest", - type: { - name: "Composite", - className: "ConfigureAlertRequest", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "ConfigureAlertRequestProperties" - } - } - } - } -}; - -export const InconsistentVmDetails: msRest.CompositeMapper = { - serializedName: "InconsistentVmDetails", - type: { - name: "Composite", - className: "InconsistentVmDetails", - modelProperties: { - vmName: { - serializedName: "vmName", + }, + fqdn: { + readOnly: true, + serializedName: "fqdn", type: { name: "String" } }, - cloudName: { - serializedName: "cloudName", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - details: { - serializedName: "details", + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" + } + }, + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" } }, - errorIds: { - serializedName: "errorIds", + healthErrors: { + readOnly: true, + serializedName: "healthErrors", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "HealthError" } } } @@ -2734,23 +10547,77 @@ export const InconsistentVmDetails: msRest.CompositeMapper = { } }; -export const ConsistencyCheckTaskDetails: msRest.CompositeMapper = { - serializedName: "ConsistencyCheckTaskDetails", +export const ReplicationAgentDetails: msRest.CompositeMapper = { + serializedName: "ReplicationAgentDetails", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "ConsistencyCheckTaskDetails", + className: "ReplicationAgentDetails", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - vmDetails: { - serializedName: "vmDetails", + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + biosId: { + readOnly: true, + serializedName: "biosId", + type: { + name: "String" + } + }, + fabricObjectId: { + readOnly: true, + serializedName: "fabricObjectId", + type: { + name: "String" + } + }, + fqdn: { + readOnly: true, + serializedName: "fqdn", + 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: "InconsistentVmDetails" + className: "HealthError" } } } @@ -2759,100 +10626,77 @@ export const ConsistencyCheckTaskDetails: msRest.CompositeMapper = { } }; -export const CreateNetworkMappingInputProperties: msRest.CompositeMapper = { - serializedName: "CreateNetworkMappingInputProperties", +export const ReprotectAgentDetails: msRest.CompositeMapper = { + serializedName: "ReprotectAgentDetails", type: { name: "Composite", - className: "CreateNetworkMappingInputProperties", + className: "ReprotectAgentDetails", modelProperties: { - recoveryFabricName: { - serializedName: "recoveryFabricName", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", + biosId: { + readOnly: true, + serializedName: "biosId", type: { - name: "Composite", - className: "FabricSpecificCreateNetworkMappingInput" + name: "String" } - } - } - } -}; - -export const CreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "CreateNetworkMappingInput", - type: { - name: "Composite", - className: "CreateNetworkMappingInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + fabricObjectId: { + readOnly: true, + serializedName: "fabricObjectId", type: { - name: "Composite", - className: "CreateNetworkMappingInputProperties" + name: "String" } - } - } - } -}; - -export const CreatePolicyInputProperties: msRest.CompositeMapper = { - serializedName: "CreatePolicyInputProperties", - type: { - name: "Composite", - className: "CreatePolicyInputProperties", - modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + }, + fqdn: { + readOnly: true, + serializedName: "fqdn", type: { - name: "Composite", - className: "PolicyProviderSpecificInput" + name: "String" } - } - } - } -}; - -export const CreatePolicyInput: msRest.CompositeMapper = { - serializedName: "CreatePolicyInput", - type: { - name: "Composite", - className: "CreatePolicyInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + version: { + readOnly: true, + serializedName: "version", type: { - name: "Composite", - className: "CreatePolicyInputProperties" + name: "String" } - } - } - } -}; - -export const CreateProtectionContainerInputProperties: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerInputProperties", - type: { - name: "Composite", - className: "CreateProtectionContainerInputProperties", - modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + }, + 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: "ReplicationProviderSpecificContainerCreationInput" + className: "HealthError" } } } @@ -2861,250 +10705,243 @@ export const CreateProtectionContainerInputProperties: msRest.CompositeMapper = } }; -export const CreateProtectionContainerInput: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerInput", +export const MarsAgentDetails: msRest.CompositeMapper = { + serializedName: "MarsAgentDetails", type: { name: "Composite", - className: "CreateProtectionContainerInput", + className: "MarsAgentDetails", modelProperties: { - properties: { - serializedName: "properties", + id: { + readOnly: true, + serializedName: "id", type: { - name: "Composite", - className: "CreateProtectionContainerInputProperties" + name: "String" } - } - } - } -}; - -export const CreateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerMappingInputProperties", - type: { - name: "Composite", - className: "CreateProtectionContainerMappingInputProperties", - modelProperties: { - targetProtectionContainerId: { - serializedName: "targetProtectionContainerId", + }, + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - policyId: { - serializedName: "policyId", + biosId: { + readOnly: true, + serializedName: "biosId", type: { name: "String" } }, - providerSpecificInput: { - serializedName: "providerSpecificInput", + fabricObjectId: { + readOnly: true, + serializedName: "fabricObjectId", type: { - name: "Composite", - className: "ReplicationProviderSpecificContainerMappingInput" + name: "String" + } + }, + fqdn: { + readOnly: true, + serializedName: "fqdn", + 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 CreateProtectionContainerMappingInput: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerMappingInput", +export const InMageRcmFabricSpecificDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "CreateProtectionContainerMappingInput", + polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, + uberParent: "FabricSpecificDetails", + className: "InMageRcmFabricSpecificDetails", modelProperties: { - properties: { - serializedName: "properties", + ...FabricSpecificDetails.type.modelProperties, + vmwareSiteId: { + readOnly: true, + serializedName: "vmwareSiteId", type: { - name: "Composite", - className: "CreateProtectionContainerMappingInputProperties" + name: "String" } - } - } - } -}; - -export const RecoveryPlanProtectedItem: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProtectedItem", - type: { - name: "Composite", - className: "RecoveryPlanProtectedItem", - modelProperties: { - id: { - serializedName: "id", + }, + physicalSiteId: { + readOnly: true, + serializedName: "physicalSiteId", type: { name: "String" } }, - virtualMachineId: { - serializedName: "virtualMachineId", + serviceEndpoint: { + readOnly: true, + serializedName: "serviceEndpoint", 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", + }, + serviceResourceId: { + readOnly: true, + serializedName: "serviceResourceId", type: { name: "String" } - } - } - } -}; - -export const RecoveryPlanAction: msRest.CompositeMapper = { - serializedName: "RecoveryPlanAction", - type: { - name: "Composite", - className: "RecoveryPlanAction", - modelProperties: { - actionName: { - required: true, - serializedName: "actionName", + }, + serviceContainerId: { + readOnly: true, + serializedName: "serviceContainerId", type: { name: "String" } }, - failoverTypes: { - required: true, - serializedName: "failoverTypes", + 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: "String" + name: "Composite", + className: "ProcessServerDetails" } } } }, - failoverDirections: { - required: true, - serializedName: "failoverDirections", + rcmProxies: { + readOnly: true, + serializedName: "rcmProxies", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "RcmProxyDetails" } } } }, - 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", + pushInstallers: { + readOnly: true, + serializedName: "pushInstallers", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanProtectedItem" + className: "PushInstallerDetails" } } } }, - startGroupActions: { - serializedName: "startGroupActions", + replicationAgents: { + readOnly: true, + serializedName: "replicationAgents", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanAction" + className: "ReplicationAgentDetails" } } } }, - endGroupActions: { - serializedName: "endGroupActions", + reprotectAgents: { + readOnly: true, + serializedName: "reprotectAgents", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanAction" + className: "ReprotectAgentDetails" } } } - } - } - } -}; - -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", + marsAgents: { + readOnly: true, + serializedName: "marsAgents", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MarsAgentDetails" + } + } } }, - failoverDeploymentModel: { - serializedName: "failoverDeploymentModel", + dras: { + readOnly: true, + serializedName: "dras", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DraDetails" + } + } } }, - groups: { - required: true, - serializedName: "groups", + agentDetails: { + readOnly: true, + serializedName: "agentDetails", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanGroup" + className: "AgentDetails" } } } @@ -3113,84 +10950,134 @@ export const CreateRecoveryPlanInputProperties: msRest.CompositeMapper = { } }; -export const CreateRecoveryPlanInput: msRest.CompositeMapper = { - serializedName: "CreateRecoveryPlanInput", +export const InMageRcmFailbackEventDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailback", type: { name: "Composite", - className: "CreateRecoveryPlanInput", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "InMageRcmFailbackEventDetails", modelProperties: { - properties: { - required: true, - serializedName: "properties", + ...EventProviderSpecificDetails.type.modelProperties, + protectedItemName: { + readOnly: true, + serializedName: "protectedItemName", type: { - name: "Composite", - className: "CreateRecoveryPlanInputProperties" + name: "String" } } } } }; -export const CurrentScenarioDetails: msRest.CompositeMapper = { - serializedName: "CurrentScenarioDetails", +export const InMageRcmFailbackMobilityAgentDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailbackMobilityAgentDetails", type: { name: "Composite", - className: "CurrentScenarioDetails", + className: "InMageRcmFailbackMobilityAgentDetails", modelProperties: { - scenarioName: { - serializedName: "scenarioName", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - jobId: { - serializedName: "jobId", + latestVersion: { + readOnly: true, + serializedName: "latestVersion", type: { name: "String" } }, - startTime: { - serializedName: "startTime", + driverVersion: { + readOnly: true, + serializedName: "driverVersion", + type: { + name: "String" + } + }, + latestUpgradableVersionWithoutReboot: { + readOnly: true, + serializedName: "latestUpgradableVersionWithoutReboot", + type: { + name: "String" + } + }, + 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 DataStore: msRest.CompositeMapper = { - serializedName: "DataStore", - type: { - name: "Composite", - className: "DataStore", - modelProperties: { - symbolicName: { - serializedName: "symbolicName", - type: { - name: "String" - } - }, - uuid: { - serializedName: "uuid", +export const InMageRcmFailbackNicDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailbackNicDetails", + type: { + name: "Composite", + className: "InMageRcmFailbackNicDetails", + modelProperties: { + macAddress: { + readOnly: true, + serializedName: "macAddress", type: { name: "String" } }, - capacity: { - serializedName: "capacity", + networkName: { + readOnly: true, + serializedName: "networkName", type: { name: "String" } }, - freeSpace: { - serializedName: "freeSpace", + adapterType: { + readOnly: true, + serializedName: "adapterType", type: { name: "String" } }, - type: { - serializedName: "type", + sourceIpAddress: { + readOnly: true, + serializedName: "sourceIpAddress", type: { name: "String" } @@ -3199,20 +11086,18 @@ export const DataStore: msRest.CompositeMapper = { } }; -export const DisableProtectionProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "DisableProtectionProviderSpecificInput", +export const InMageRcmFailbackPlannedFailoverProviderInput: msRest.CompositeMapper = { + serializedName: "InMageRcmFailback", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "DisableProtectionProviderSpecificInput", - className: "DisableProtectionProviderSpecificInput", + polymorphicDiscriminator: PlannedFailoverProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "PlannedFailoverProviderSpecificFailoverInput", + className: "InMageRcmFailbackPlannedFailoverProviderInput", modelProperties: { - instanceType: { + ...PlannedFailoverProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { required: true, - serializedName: "instanceType", + serializedName: "recoveryPointType", type: { name: "String" } @@ -3221,269 +11106,418 @@ export const DisableProtectionProviderSpecificInput: msRest.CompositeMapper = { } }; -export const DisableProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "DisableProtectionInputProperties", +export const InMageRcmFailbackPolicyCreationInput: msRest.CompositeMapper = { + serializedName: "InMageRcmFailback", type: { name: "Composite", - className: "DisableProtectionInputProperties", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "InMageRcmFailbackPolicyCreationInput", modelProperties: { - disableProtectionReason: { - serializedName: "disableProtectionReason", + ...PolicyProviderSpecificInput.type.modelProperties, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - replicationProviderInput: { - serializedName: "replicationProviderInput", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { - name: "Composite", - className: "DisableProtectionProviderSpecificInput" + name: "Number" } } } } }; -export const DisableProtectionInput: msRest.CompositeMapper = { - serializedName: "DisableProtectionInput", +export const InMageRcmFailbackPolicyDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailback", type: { name: "Composite", - className: "DisableProtectionInput", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "InMageRcmFailbackPolicyDetails", modelProperties: { - properties: { - serializedName: "properties", + ...PolicyProviderSpecificDetails.type.modelProperties, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { - name: "Composite", - className: "DisableProtectionInputProperties" + name: "Number" + } + }, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" } } } } }; -export const DiscoverProtectableItemRequestProperties: msRest.CompositeMapper = { - serializedName: "DiscoverProtectableItemRequestProperties", +export const InMageRcmFailbackSyncDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailbackSyncDetails", type: { name: "Composite", - className: "DiscoverProtectableItemRequestProperties", + className: "InMageRcmFailbackSyncDetails", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + progressHealth: { + readOnly: true, + serializedName: "progressHealth", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + transferredBytes: { + readOnly: true, + serializedName: "transferredBytes", + type: { + name: "Number" + } + }, + last15MinutesTransferredBytes: { + readOnly: true, + serializedName: "last15MinutesTransferredBytes", + type: { + name: "Number" + } + }, + lastDataTransferTimeUtc: { + readOnly: true, + serializedName: "lastDataTransferTimeUtc", type: { name: "String" } }, - osType: { - serializedName: "osType", + processedBytes: { + readOnly: true, + serializedName: "processedBytes", + type: { + name: "Number" + } + }, + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "String" + } + }, + lastRefreshTime: { + readOnly: true, + serializedName: "lastRefreshTime", type: { name: "String" } + }, + progressPercentage: { + readOnly: true, + serializedName: "progressPercentage", + type: { + name: "Number" + } } } } }; -export const DiscoverProtectableItemRequest: msRest.CompositeMapper = { - serializedName: "DiscoverProtectableItemRequest", +export const InMageRcmFailbackProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailbackProtectedDiskDetails", type: { name: "Composite", - className: "DiscoverProtectableItemRequest", + className: "InMageRcmFailbackProtectedDiskDetails", modelProperties: { - properties: { - serializedName: "properties", + diskId: { + readOnly: true, + serializedName: "diskId", + type: { + name: "String" + } + }, + diskName: { + readOnly: true, + serializedName: "diskName", + type: { + name: "String" + } + }, + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", + type: { + name: "String" + } + }, + capacityInBytes: { + readOnly: true, + serializedName: "capacityInBytes", + type: { + name: "Number" + } + }, + diskUuid: { + readOnly: true, + serializedName: "diskUuid", + type: { + name: "String" + } + }, + dataPendingInLogDataStoreInMB: { + readOnly: true, + serializedName: "dataPendingInLogDataStoreInMB", + type: { + name: "Number" + } + }, + dataPendingAtSourceAgentInMB: { + readOnly: true, + serializedName: "dataPendingAtSourceAgentInMB", + type: { + name: "Number" + } + }, + isInitialReplicationComplete: { + readOnly: true, + serializedName: "isInitialReplicationComplete", + type: { + name: "String" + } + }, + irDetails: { + serializedName: "irDetails", type: { name: "Composite", - className: "DiscoverProtectableItemRequestProperties" + className: "InMageRcmFailbackSyncDetails" + } + }, + resyncDetails: { + serializedName: "resyncDetails", + type: { + name: "Composite", + className: "InMageRcmFailbackSyncDetails" + } + }, + lastSyncTime: { + readOnly: true, + serializedName: "lastSyncTime", + type: { + name: "DateTime" } } } } }; -export const DiskDetails: msRest.CompositeMapper = { - serializedName: "DiskDetails", +export const InMageRcmFailbackReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailback", type: { name: "Composite", - className: "DiskDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageRcmFailbackReplicationDetails", modelProperties: { - maxSizeMB: { - serializedName: "maxSizeMB", + ...ReplicationProviderSpecificSettings.type.modelProperties, + internalIdentifier: { + readOnly: true, + serializedName: "internalIdentifier", type: { - name: "Number" + name: "String" } }, - vhdType: { - serializedName: "vhdType", + azureVirtualMachineId: { + readOnly: true, + serializedName: "azureVirtualMachineId", type: { name: "String" } }, - vhdId: { - serializedName: "vhdId", + multiVmGroupName: { + readOnly: true, + serializedName: "multiVmGroupName", type: { name: "String" } }, - vhdName: { - serializedName: "vhdName", + reprotectAgentId: { + readOnly: true, + serializedName: "reprotectAgentId", type: { name: "String" } - } - } - } -}; - -export const DiskVolumeDetails: msRest.CompositeMapper = { - serializedName: "DiskVolumeDetails", - type: { - name: "Composite", - className: "DiskVolumeDetails", - modelProperties: { - label: { - serializedName: "label", + }, + reprotectAgentName: { + readOnly: true, + serializedName: "reprotectAgentName", + type: { + name: "String" + } + }, + osType: { + readOnly: true, + serializedName: "osType", + type: { + name: "String" + } + }, + logStorageAccountId: { + readOnly: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + targetvCenterId: { + readOnly: true, + serializedName: "targetvCenterId", + type: { + name: "String" + } + }, + targetDataStoreName: { + readOnly: true, + serializedName: "targetDataStoreName", + type: { + name: "String" + } + }, + targetVmName: { + readOnly: true, + serializedName: "targetVmName", + type: { + name: "String" + } + }, + initialReplicationProgressPercentage: { + readOnly: true, + serializedName: "initialReplicationProgressPercentage", + type: { + name: "Number" + } + }, + initialReplicationProcessedBytes: { + readOnly: true, + serializedName: "initialReplicationProcessedBytes", + type: { + name: "Number" + } + }, + initialReplicationTransferredBytes: { + readOnly: true, + serializedName: "initialReplicationTransferredBytes", + type: { + name: "Number" + } + }, + initialReplicationProgressHealth: { + readOnly: true, + serializedName: "initialReplicationProgressHealth", type: { name: "String" } }, - name: { - serializedName: "name", + resyncProgressPercentage: { + readOnly: true, + serializedName: "resyncProgressPercentage", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const Display: msRest.CompositeMapper = { - serializedName: "Display", - type: { - name: "Composite", - className: "Display", - modelProperties: { - provider: { - serializedName: "provider", + }, + resyncProcessedBytes: { + readOnly: true, + serializedName: "resyncProcessedBytes", type: { - name: "String" + name: "Number" } }, - resource: { - serializedName: "resource", + resyncTransferredBytes: { + readOnly: true, + serializedName: "resyncTransferredBytes", type: { - name: "String" + name: "Number" } }, - operation: { - serializedName: "operation", + resyncProgressHealth: { + readOnly: true, + serializedName: "resyncProgressHealth", type: { name: "String" } }, - description: { - serializedName: "description", + resyncRequired: { + readOnly: true, + serializedName: "resyncRequired", type: { name: "String" } - } - } - } -}; - -export const EnableProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "EnableProtectionInputProperties", - type: { - name: "Composite", - className: "EnableProtectionInputProperties", - modelProperties: { - policyId: { - serializedName: "policyId", + }, + resyncState: { + readOnly: true, + serializedName: "resyncState", type: { name: "String" } }, - protectableItemId: { - serializedName: "protectableItemId", + protectedDisks: { + serializedName: "protectedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmFailbackProtectedDiskDetails" + } + } } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + mobilityAgentDetails: { + serializedName: "mobilityAgentDetails", type: { name: "Composite", - className: "EnableProtectionProviderSpecificInput" + className: "InMageRcmFailbackMobilityAgentDetails" } - } - } - } -}; - -export const EnableProtectionInput: msRest.CompositeMapper = { - serializedName: "EnableProtectionInput", - type: { - name: "Composite", - className: "EnableProtectionInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + vmNics: { + serializedName: "vmNics", type: { - name: "Composite", - className: "EnableProtectionInputProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmFailbackNicDetails" + } + } } } } } }; -export const EncryptionDetails: msRest.CompositeMapper = { - serializedName: "EncryptionDetails", +export const InMageRcmFailbackReprotectInput: msRest.CompositeMapper = { + serializedName: "InMageRcmFailback", type: { name: "Composite", - className: "EncryptionDetails", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "InMageRcmFailbackReprotectInput", modelProperties: { - kekState: { - serializedName: "kekState", + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + processServerId: { + required: true, + serializedName: "processServerId", type: { name: "String" } }, - kekCertThumbprint: { - serializedName: "kekCertThumbprint", + runAsAccountId: { + serializedName: "runAsAccountId", 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: { + policyId: { required: true, - serializedName: "instanceType", + serializedName: "policyId", type: { name: "String" } @@ -3492,174 +11526,145 @@ export const EventSpecificDetails: msRest.CompositeMapper = { } }; -export const InnerHealthError: msRest.CompositeMapper = { - serializedName: "InnerHealthError", +export const InMageRcmLastAgentUpgradeErrorDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmLastAgentUpgradeErrorDetails", type: { name: "Composite", - className: "InnerHealthError", + className: "InMageRcmLastAgentUpgradeErrorDetails", 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: { + readOnly: true, serializedName: "errorCode", type: { name: "String" } }, - summaryMessage: { - serializedName: "summaryMessage", - 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" } }, - creationTimeUtc: { - serializedName: "creationTimeUtc", - type: { - name: "DateTime" - } - }, - recoveryProviderErrorMessage: { - serializedName: "recoveryProviderErrorMessage", + errorMessageParameters: { + readOnly: true, + serializedName: "errorMessageParameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - entityId: { - serializedName: "entityId", + errorTags: { + readOnly: true, + serializedName: "errorTags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const HealthError: msRest.CompositeMapper = { - serializedName: "HealthError", +export const InMageRcmMobilityAgentDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmMobilityAgentDetails", type: { name: "Composite", - className: "HealthError", + className: "InMageRcmMobilityAgentDetails", 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", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - errorCategory: { - serializedName: "errorCategory", + latestVersion: { + readOnly: true, + serializedName: "latestVersion", type: { name: "String" } }, - errorCode: { - serializedName: "errorCode", + latestAgentReleaseDate: { + readOnly: true, + serializedName: "latestAgentReleaseDate", type: { name: "String" } }, - summaryMessage: { - serializedName: "summaryMessage", + driverVersion: { + readOnly: true, + serializedName: "driverVersion", type: { name: "String" } }, - errorMessage: { - serializedName: "errorMessage", + latestUpgradableVersionWithoutReboot: { + readOnly: true, + serializedName: "latestUpgradableVersionWithoutReboot", type: { name: "String" } }, - possibleCauses: { - serializedName: "possibleCauses", + agentVersionExpiryDate: { + readOnly: true, + serializedName: "agentVersionExpiryDate", type: { - name: "String" + name: "DateTime" } }, - recommendedAction: { - serializedName: "recommendedAction", + driverVersionExpiryDate: { + readOnly: true, + serializedName: "driverVersionExpiryDate", type: { - name: "String" + name: "DateTime" } }, - creationTimeUtc: { - serializedName: "creationTimeUtc", + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", type: { name: "DateTime" } - }, - recoveryProviderErrorMessage: { - serializedName: "recoveryProviderErrorMessage", + }, + reasonsBlockingUpgrade: { + readOnly: true, + serializedName: "reasonsBlockingUpgrade", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - entityId: { - serializedName: "entityId", + isUpgradeable: { + readOnly: true, + serializedName: "isUpgradeable", type: { name: "String" } @@ -3668,171 +11673,182 @@ export const HealthError: msRest.CompositeMapper = { } }; -export const EventProperties: msRest.CompositeMapper = { - serializedName: "EventProperties", +export const InMageRcmNicDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmNicDetails", type: { name: "Composite", - className: "EventProperties", + className: "InMageRcmNicDetails", modelProperties: { - eventCode: { - serializedName: "eventCode", + nicId: { + readOnly: true, + serializedName: "nicId", type: { name: "String" } }, - description: { - serializedName: "description", + isPrimaryNic: { + serializedName: "isPrimaryNic", type: { name: "String" } }, - eventType: { - serializedName: "eventType", + isSelectedForFailover: { + serializedName: "isSelectedForFailover", type: { name: "String" } }, - affectedObjectFriendlyName: { - serializedName: "affectedObjectFriendlyName", + sourceIPAddress: { + readOnly: true, + serializedName: "sourceIPAddress", type: { name: "String" } }, - severity: { - serializedName: "severity", + sourceIPAddressType: { + readOnly: true, + serializedName: "sourceIPAddressType", type: { name: "String" } }, - timeOfOccurrence: { - serializedName: "timeOfOccurrence", + sourceNetworkId: { + readOnly: true, + serializedName: "sourceNetworkId", type: { - name: "DateTime" + name: "String" } }, - fabricId: { - serializedName: "fabricId", + sourceSubnetName: { + readOnly: true, + serializedName: "sourceSubnetName", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + targetIPAddress: { + serializedName: "targetIPAddress", type: { - name: "Composite", - className: "EventProviderSpecificDetails" + name: "String" } }, - eventSpecificDetails: { - serializedName: "eventSpecificDetails", + targetIPAddressType: { + serializedName: "targetIPAddressType", type: { - name: "Composite", - className: "EventSpecificDetails" + name: "String" } }, - healthErrors: { - serializedName: "healthErrors", + targetSubnetName: { + serializedName: "targetSubnetName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } - } - } - } -}; - -export const Event: msRest.CompositeMapper = { - serializedName: "Event", - type: { - name: "Composite", - className: "Event", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + testSubnetName: { + serializedName: "testSubnetName", type: { - name: "Composite", - className: "EventProperties" + name: "String" + } + }, + testIPAddress: { + serializedName: "testIPAddress", + type: { + name: "String" + } + }, + testIPAddressType: { + serializedName: "testIPAddressType", + type: { + name: "String" } } } } }; -export const EventQueryParameter: msRest.CompositeMapper = { - serializedName: "EventQueryParameter", +export const InMageRcmNicInput: msRest.CompositeMapper = { + serializedName: "InMageRcmNicInput", type: { name: "Composite", - className: "EventQueryParameter", + className: "InMageRcmNicInput", modelProperties: { - eventCode: { - serializedName: "eventCode", + nicId: { + required: true, + serializedName: "nicId", type: { name: "String" } }, - severity: { - serializedName: "severity", + isPrimaryNic: { + required: true, + serializedName: "isPrimaryNic", type: { name: "String" } }, - eventType: { - serializedName: "eventType", + isSelectedForFailover: { + serializedName: "isSelectedForFailover", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + targetSubnetName: { + serializedName: "targetSubnetName", type: { name: "String" } }, - affectedObjectFriendlyName: { - serializedName: "affectedObjectFriendlyName", + targetStaticIPAddress: { + serializedName: "targetStaticIPAddress", type: { name: "String" } }, - startTime: { - serializedName: "startTime", + testSubnetName: { + serializedName: "testSubnetName", type: { - name: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", + testStaticIPAddress: { + serializedName: "testStaticIPAddress", type: { - name: "DateTime" + name: "String" } } } } }; -export const ExportJobDetails: msRest.CompositeMapper = { - serializedName: "ExportJobDetails", +export const InMageRcmPolicyCreationInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "ExportJobDetails", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "InMageRcmPolicyCreationInput", modelProperties: { - ...JobDetails.type.modelProperties, - blobUri: { - serializedName: "blobUri", + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { - name: "String" + name: "Number" } }, - sasToken: { - serializedName: "sasToken", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + enableMultiVmSync: { + serializedName: "enableMultiVmSync", type: { name: "String" } @@ -3841,641 +11857,653 @@ export const ExportJobDetails: msRest.CompositeMapper = { } }; -export const FabricProperties: msRest.CompositeMapper = { - serializedName: "FabricProperties", +export const InMageRcmPolicyDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "FabricProperties", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "InMageRcmPolicyDetails", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { - name: "String" + name: "Number" } }, - encryptionDetails: { - serializedName: "encryptionDetails", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { - name: "Composite", - className: "EncryptionDetails" + name: "Number" } }, - rolloverEncryptionDetails: { - serializedName: "rolloverEncryptionDetails", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "Composite", - className: "EncryptionDetails" + name: "Number" } }, - internalIdentifier: { - serializedName: "internalIdentifier", + enableMultiVmSync: { + serializedName: "enableMultiVmSync", type: { name: "String" } - }, - bcdrState: { - serializedName: "bcdrState", + } + } + } +}; + +export const InMageRcmSyncDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmSyncDetails", + type: { + name: "Composite", + className: "InMageRcmSyncDetails", + modelProperties: { + progressHealth: { + readOnly: true, + serializedName: "progressHealth", type: { name: "String" } }, - customDetails: { - serializedName: "customDetails", + transferredBytes: { + readOnly: true, + serializedName: "transferredBytes", type: { - name: "Composite", - className: "FabricSpecificDetails" + name: "Number" } }, - healthErrorDetails: { - serializedName: "healthErrorDetails", + last15MinutesTransferredBytes: { + readOnly: true, + serializedName: "last15MinutesTransferredBytes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "Number" } }, - health: { - serializedName: "health", + lastDataTransferTimeUtc: { + readOnly: true, + serializedName: "lastDataTransferTimeUtc", type: { name: "String" } - } - } - } -}; - -export const Fabric: msRest.CompositeMapper = { - serializedName: "Fabric", - type: { - name: "Composite", - className: "Fabric", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + processedBytes: { + readOnly: true, + serializedName: "processedBytes", type: { - name: "Composite", - className: "FabricProperties" + name: "Number" } - } - } - } -}; - -export const FabricCreationInputProperties: msRest.CompositeMapper = { - serializedName: "FabricCreationInputProperties", - type: { - name: "Composite", - className: "FabricCreationInputProperties", - modelProperties: { - customDetails: { - serializedName: "customDetails", + }, + startTime: { + readOnly: true, + serializedName: "startTime", type: { - name: "Composite", - className: "FabricSpecificCreationInput" + name: "String" } - } - } - } -}; - -export const FabricCreationInput: msRest.CompositeMapper = { - serializedName: "FabricCreationInput", - type: { - name: "Composite", - className: "FabricCreationInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + lastRefreshTime: { + readOnly: true, + serializedName: "lastRefreshTime", type: { - name: "Composite", - className: "FabricCreationInputProperties" + name: "String" + } + }, + progressPercentage: { + readOnly: true, + serializedName: "progressPercentage", + type: { + name: "Number" } } } } }; -export const JobEntity: msRest.CompositeMapper = { - serializedName: "JobEntity", +export const InMageRcmProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmProtectedDiskDetails", type: { name: "Composite", - className: "JobEntity", + className: "InMageRcmProtectedDiskDetails", modelProperties: { - jobId: { - serializedName: "jobId", + diskId: { + readOnly: true, + serializedName: "diskId", type: { name: "String" } }, - jobFriendlyName: { - serializedName: "jobFriendlyName", + diskName: { + readOnly: true, + serializedName: "diskName", type: { name: "String" } }, - targetObjectId: { - serializedName: "targetObjectId", + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", type: { name: "String" } }, - targetObjectName: { - serializedName: "targetObjectName", + capacityInBytes: { + readOnly: true, + serializedName: "capacityInBytes", + type: { + name: "Number" + } + }, + logStorageAccountId: { + readOnly: true, + serializedName: "logStorageAccountId", type: { name: "String" } }, - targetInstanceType: { - serializedName: "targetInstanceType", + diskEncryptionSetId: { + readOnly: true, + serializedName: "diskEncryptionSetId", type: { name: "String" } }, - jobScenarioName: { - serializedName: "jobScenarioName", + seedManagedDiskId: { + readOnly: true, + serializedName: "seedManagedDiskId", + type: { + name: "String" + } + }, + targetManagedDiskId: { + readOnly: true, + serializedName: "targetManagedDiskId", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + }, + dataPendingInLogDataStoreInMB: { + readOnly: true, + serializedName: "dataPendingInLogDataStoreInMB", + type: { + name: "Number" + } + }, + dataPendingAtSourceAgentInMB: { + readOnly: true, + serializedName: "dataPendingAtSourceAgentInMB", + type: { + name: "Number" + } + }, + isInitialReplicationComplete: { + readOnly: true, + serializedName: "isInitialReplicationComplete", type: { name: "String" } + }, + irDetails: { + serializedName: "irDetails", + type: { + name: "Composite", + className: "InMageRcmSyncDetails" + } + }, + resyncDetails: { + serializedName: "resyncDetails", + type: { + name: "Composite", + className: "InMageRcmSyncDetails" + } } } } }; -export const FabricReplicationGroupTaskDetails: msRest.CompositeMapper = { - serializedName: "FabricReplicationGroupTaskDetails", +export const InMageRcmProtectionContainerMappingDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "FabricReplicationGroupTaskDetails", + polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionContainerMappingProviderSpecificDetails", + className: "InMageRcmProtectionContainerMappingDetails", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - skippedReason: { - serializedName: "skippedReason", + ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, + enableAgentAutoUpgrade: { + readOnly: true, + serializedName: "enableAgentAutoUpgrade", type: { name: "String" } - }, - skippedReasonString: { - serializedName: "skippedReasonString", + } + } + } +}; + +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" } - }, - jobTask: { - serializedName: "jobTask", - type: { - name: "Composite", - className: "JobEntity" - } } } } }; -export const FailoverReplicationProtectedItemDetails: msRest.CompositeMapper = { - serializedName: "FailoverReplicationProtectedItemDetails", +export const InMageRcmReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "FailoverReplicationProtectedItemDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageRcmReplicationDetails", modelProperties: { - name: { - serializedName: "name", + ...ReplicationProviderSpecificSettings.type.modelProperties, + internalIdentifier: { + readOnly: true, + serializedName: "internalIdentifier", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + fabricDiscoveryMachineId: { + readOnly: true, + serializedName: "fabricDiscoveryMachineId", type: { name: "String" } }, - testVmName: { - serializedName: "testVmName", + multiVmGroupName: { + readOnly: true, + serializedName: "multiVmGroupName", type: { name: "String" } }, - testVmFriendlyName: { - serializedName: "testVmFriendlyName", + discoveryType: { + readOnly: true, + serializedName: "discoveryType", type: { name: "String" } }, - networkConnectionStatus: { - serializedName: "networkConnectionStatus", + processServerId: { + readOnly: true, + serializedName: "processServerId", type: { name: "String" } }, - networkFriendlyName: { - serializedName: "networkFriendlyName", + processorCoreCount: { + readOnly: true, + serializedName: "processorCoreCount", type: { - name: "String" + name: "Number" } }, - subnet: { - serializedName: "subnet", + allocatedMemoryInMB: { + readOnly: true, + serializedName: "allocatedMemoryInMB", type: { - name: "String" + name: "Number" } }, - recoveryPointId: { - serializedName: "recoveryPointId", + processServerName: { + readOnly: true, + serializedName: "processServerName", 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", + runAsAccountId: { + readOnly: true, + serializedName: "runAsAccountId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FailoverReplicationProtectedItemDetails" - } - } + name: "String" } - } - } - } -}; - -export const FailoverProcessServerRequestProperties: msRest.CompositeMapper = { - serializedName: "FailoverProcessServerRequestProperties", - type: { - name: "Composite", - className: "FailoverProcessServerRequestProperties", - modelProperties: { - containerName: { - serializedName: "containerName", + }, + osType: { + readOnly: true, + serializedName: "osType", type: { name: "String" } }, - sourceProcessServerId: { - serializedName: "sourceProcessServerId", + firmwareType: { + readOnly: true, + serializedName: "firmwareType", type: { name: "String" } }, - targetProcessServerId: { - serializedName: "targetProcessServerId", + primaryNicIpAddress: { + readOnly: true, + serializedName: "primaryNicIpAddress", type: { name: "String" } }, - vmsToMigrate: { - serializedName: "vmsToMigrate", + targetGeneration: { + readOnly: true, + serializedName: "targetGeneration", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - updateType: { - serializedName: "updateType", + licenseType: { + serializedName: "licenseType", type: { name: "String" } - } - } - } -}; - -export const FailoverProcessServerRequest: msRest.CompositeMapper = { - serializedName: "FailoverProcessServerRequest", - type: { - name: "Composite", - className: "FailoverProcessServerRequest", - modelProperties: { - properties: { - serializedName: "properties", + }, + targetVmName: { + serializedName: "targetVmName", type: { - name: "Composite", - className: "FailoverProcessServerRequestProperties" + name: "String" } - } - } - } -}; - -export const HealthErrorSummary: msRest.CompositeMapper = { - serializedName: "HealthErrorSummary", - type: { - name: "Composite", - className: "HealthErrorSummary", - modelProperties: { - summaryCode: { - serializedName: "summaryCode", + }, + targetVmSize: { + serializedName: "targetVmSize", type: { name: "String" } }, - category: { - serializedName: "category", + targetResourceGroupId: { + serializedName: "targetResourceGroupId", type: { name: "String" } }, - severity: { - serializedName: "severity", + targetLocation: { + serializedName: "targetLocation", type: { name: "String" } }, - summaryMessage: { - serializedName: "summaryMessage", + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", type: { name: "String" } }, - affectedResourceType: { - serializedName: "affectedResourceType", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - affectedResourceSubtype: { - serializedName: "affectedResourceSubtype", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } }, - affectedResourceCorrelationIds: { - serializedName: "affectedResourceCorrelationIds", + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + 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", + }, + targetNetworkId: { + serializedName: "targetNetworkId", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + testNetworkId: { + serializedName: "testNetworkId", type: { name: "String" } }, - remoteContainerName: { - serializedName: "remoteContainerName", + failoverRecoveryPointId: { + readOnly: true, + serializedName: "failoverRecoveryPointId", type: { name: "String" } }, - remoteFabricName: { - serializedName: "remoteFabricName", + lastRecoveryPointReceived: { + readOnly: true, + serializedName: "lastRecoveryPointReceived", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -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", + }, + 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 HyperVReplicaAzureApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", - type: { - name: "Composite", - polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "HyperVReplicaAzureApplyRecoveryPointInput", - modelProperties: { - ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + }, + initialReplicationProcessedBytes: { + readOnly: true, + serializedName: "initialReplicationProcessedBytes", type: { - name: "String" + name: "Number" } }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", + initialReplicationTransferredBytes: { + readOnly: true, + serializedName: "initialReplicationTransferredBytes", type: { - name: "String" + name: "Number" } }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + initialReplicationProgressHealth: { + readOnly: true, + serializedName: "initialReplicationProgressHealth", 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", + }, + resyncProgressPercentage: { + readOnly: true, + serializedName: "resyncProgressPercentage", type: { - name: "String" + name: "Number" } }, - vmName: { - serializedName: "vmName", + resyncProcessedBytes: { + readOnly: true, + serializedName: "resyncProcessedBytes", type: { - name: "String" + name: "Number" } }, - osType: { - serializedName: "osType", + resyncTransferredBytes: { + readOnly: true, + serializedName: "resyncTransferredBytes", type: { - name: "String" + name: "Number" } }, - vhdId: { - serializedName: "vhdId", + resyncProgressHealth: { + readOnly: true, + serializedName: "resyncProgressHealth", type: { name: "String" } }, - targetStorageAccountId: { - serializedName: "targetStorageAccountId", + resyncRequired: { + readOnly: true, + serializedName: "resyncRequired", type: { name: "String" } }, - targetAzureNetworkId: { - serializedName: "targetAzureNetworkId", + resyncState: { + readOnly: true, + serializedName: "resyncState", type: { name: "String" } }, - targetAzureSubnetId: { - serializedName: "targetAzureSubnetId", + agentUpgradeState: { + readOnly: true, + serializedName: "agentUpgradeState", type: { name: "String" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + lastAgentUpgradeType: { + readOnly: true, + serializedName: "lastAgentUpgradeType", type: { name: "String" } }, - targetAzureVmName: { - serializedName: "targetAzureVmName", + agentUpgradeJobId: { + readOnly: true, + serializedName: "agentUpgradeJobId", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + agentUpgradeAttemptToVersion: { + readOnly: true, + serializedName: "agentUpgradeAttemptToVersion", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + protectedDisks: { + serializedName: "protectedDisks", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "InMageRcmProtectedDiskDetails" } } } }, - targetAzureV1ResourceGroupId: { - serializedName: "targetAzureV1ResourceGroupId", + isLastUpgradeSuccessful: { + readOnly: true, + serializedName: "isLastUpgradeSuccessful", type: { name: "String" } }, - targetAzureV2ResourceGroupId: { - serializedName: "targetAzureV2ResourceGroupId", + mobilityAgentDetails: { + serializedName: "mobilityAgentDetails", type: { - name: "String" + name: "Composite", + className: "InMageRcmMobilityAgentDetails" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + lastAgentUpgradeErrorDetails: { + serializedName: "lastAgentUpgradeErrorDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmLastAgentUpgradeErrorDetails" + } + } + } + }, + agentUpgradeBlockingErrorDetails: { + serializedName: "agentUpgradeBlockingErrorDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmAgentUpgradeBlockingErrorDetails" + } + } + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmNicDetails" + } + } } } } } }; -export const HyperVReplicaAzureEventDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const InMageRcmReprotectInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "HyperVReplicaAzureEventDetails", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "InMageRcmReprotectInput", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - containerName: { - serializedName: "containerName", + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + reprotectAgentId: { + required: true, + serializedName: "reprotectAgentId", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + datastoreName: { + required: true, + serializedName: "datastoreName", type: { name: "String" } }, - remoteContainerName: { - serializedName: "remoteContainerName", + logStorageAccountId: { + required: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + policyId: { + serializedName: "policyId", type: { name: "String" } @@ -4484,29 +12512,49 @@ export const HyperVReplicaAzureEventDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzureFailbackProviderInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzureFailback", +export const InMageRcmTestFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "HyperVReplicaAzureFailbackProviderInput", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "InMageRcmTestFailoverInput", modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - dataSyncOption: { - serializedName: "dataSyncOption", + ...TestFailoverProviderSpecificInput.type.modelProperties, + networkId: { + serializedName: "networkId", type: { name: "String" } }, - recoveryVmCreationOption: { - serializedName: "recoveryVmCreationOption", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } - }, - providerIdForAlternateRecovery: { - serializedName: "providerIdForAlternateRecovery", + } + } + } +}; + +export const InMageRcmUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "InMageRcmUnplannedFailoverInput", + modelProperties: { + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + performShutdown: { + required: true, + serializedName: "performShutdown", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } @@ -4515,35 +12563,18 @@ export const HyperVReplicaAzureFailbackProviderInput: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzureFailoverProviderInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const InMageRcmUpdateContainerMappingInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "HyperVReplicaAzureFailoverProviderInput", + polymorphicDiscriminator: ReplicationProviderSpecificUpdateContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", + className: "InMageRcmUpdateContainerMappingInput", 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", + ...ReplicationProviderSpecificUpdateContainerMappingInput.type.modelProperties, + enableAgentAutoUpgrade: { + required: true, + serializedName: "enableAgentAutoUpgrade", type: { name: "String" } @@ -4552,117 +12583,111 @@ export const HyperVReplicaAzureFailoverProviderInput: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzurePolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const InMageRcmUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaAzurePolicyDetails", + polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "InMageRcmUpdateReplicationProtectedItemInput", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointHistoryDurationInHours: { - serializedName: "recoveryPointHistoryDurationInHours", + ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, + targetVmName: { + serializedName: "targetVmName", type: { - name: "Number" + name: "String" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + targetVmSize: { + serializedName: "targetVmSize", type: { - name: "Number" + name: "String" } }, - replicationInterval: { - serializedName: "replicationInterval", + targetResourceGroupId: { + serializedName: "targetResourceGroupId", type: { - name: "Number" + name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", type: { name: "String" } }, - encryption: { - serializedName: "encryption", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - activeStorageAccountId: { - serializedName: "activeStorageAccountId", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", 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", + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", type: { - name: "Number" + name: "String" } }, - replicationInterval: { - serializedName: "replicationInterval", + targetNetworkId: { + serializedName: "targetNetworkId", type: { - name: "Number" + name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + testNetworkId: { + serializedName: "testNetworkId", type: { name: "String" } }, - storageAccounts: { - serializedName: "storageAccounts", + vmNics: { + serializedName: "vmNics", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "InMageRcmNicInput" } } } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } } } } }; -export const InitialReplicationDetails: msRest.CompositeMapper = { - serializedName: "InitialReplicationDetails", +export const OSDiskDetails: msRest.CompositeMapper = { + serializedName: "OSDiskDetails", type: { name: "Composite", - className: "InitialReplicationDetails", + className: "OSDiskDetails", modelProperties: { - initialReplicationType: { - serializedName: "initialReplicationType", + osVhdId: { + serializedName: "osVhdId", type: { name: "String" } }, - initialReplicationProgressPercentage: { - serializedName: "initialReplicationProgressPercentage", + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + vhdName: { + serializedName: "vhdName", type: { name: "String" } @@ -4671,138 +12696,195 @@ export const InitialReplicationDetails: msRest.CompositeMapper = { } }; -export const OSDetails: msRest.CompositeMapper = { - serializedName: "OSDetails", +export const InMageReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - className: "OSDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageReplicationDetails", modelProperties: { - osType: { - serializedName: "osType", + ...ReplicationProviderSpecificSettings.type.modelProperties, + activeSiteType: { + serializedName: "activeSiteType", type: { name: "String" } }, - productType: { - serializedName: "productType", + sourceVmCpuCount: { + serializedName: "sourceVmCpuCount", type: { - name: "String" + name: "Number" } }, - osEdition: { - serializedName: "osEdition", + sourceVmRamSizeInMB: { + serializedName: "sourceVmRamSizeInMB", + type: { + name: "Number" + } + }, + osDetails: { + serializedName: "osDetails", + type: { + name: "Composite", + className: "OSDiskDetails" + } + }, + protectionStage: { + serializedName: "protectionStage", type: { name: "String" } }, - oSVersion: { - serializedName: "oSVersion", + vmId: { + serializedName: "vmId", type: { name: "String" } }, - oSMajorVersion: { - serializedName: "oSMajorVersion", + vmProtectionState: { + serializedName: "vmProtectionState", type: { name: "String" } }, - oSMinorVersion: { - serializedName: "oSMinorVersion", + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", 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", + }, + resyncDetails: { + serializedName: "resyncDetails", + type: { + name: "Composite", + className: "InitialReplicationDetails" + } + }, + retentionWindowStart: { + serializedName: "retentionWindowStart", + type: { + name: "DateTime" + } + }, + retentionWindowEnd: { + serializedName: "retentionWindowEnd", + type: { + name: "DateTime" + } + }, + compressedDataRateInMB: { + serializedName: "compressedDataRateInMB", + type: { + name: "Number" + } + }, + uncompressedDataRateInMB: { + serializedName: "uncompressedDataRateInMB", + type: { + name: "Number" + } + }, + rpoInSeconds: { + serializedName: "rpoInSeconds", + type: { + name: "Number" + } + }, + protectedDisks: { + serializedName: "protectedDisks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AzureVmDiskDetails" + className: "InMageProtectedDiskDetails" } } } }, - recoveryAzureVmName: { - serializedName: "recoveryAzureVmName", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - recoveryAzureStorageAccount: { - serializedName: "recoveryAzureStorageAccount", + masterTargetId: { + serializedName: "masterTargetId", type: { name: "String" } }, - recoveryAzureLogStorageAccountId: { - serializedName: "recoveryAzureLogStorageAccountId", + consistencyPoints: { + serializedName: "consistencyPoints", + type: { + name: "Dictionary", + value: { + type: { + name: "DateTime" + } + } + } + }, + diskResized: { + serializedName: "diskResized", type: { name: "String" } }, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", + rebootAfterUpdateStatus: { + serializedName: "rebootAfterUpdateStatus", type: { - name: "DateTime" + name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + multiVmGroupId: { + serializedName: "multiVmGroupId", type: { - name: "Number" + name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { - name: "DateTime" + 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" } }, vmNics: { @@ -4817,69 +12899,79 @@ export const HyperVReplicaAzureReplicationDetails: msRest.CompositeMapper = { } } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + discoveryType: { + serializedName: "discoveryType", type: { name: "String" } }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", + azureStorageAccountId: { + serializedName: "azureStorageAccountId", type: { name: "String" } }, - encryption: { - serializedName: "encryption", + datastores: { + serializedName: "datastores", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - oSDetails: { - serializedName: "oSDetails", + validationErrors: { + serializedName: "validationErrors", type: { - name: "Composite", - className: "OSDetails" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", type: { - name: "Number" + name: "DateTime" } }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", + lastUpdateReceivedTime: { + serializedName: "lastUpdateReceivedTime", type: { - name: "Number" + name: "DateTime" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + replicaId: { + serializedName: "replicaId", type: { name: "String" } }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + osVersion: { + serializedName: "osVersion", type: { name: "String" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + isAdditionalStatsAvailable: { + serializedName: "isAdditionalStatsAvailable", type: { - name: "String" + name: "Boolean" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + totalDataTransferred: { + serializedName: "totalDataTransferred", type: { - name: "String" + name: "Number" } }, - licenseType: { - serializedName: "licenseType", + totalProgressHealth: { + serializedName: "totalProgressHealth", type: { name: "String" } @@ -4888,78 +12980,94 @@ export const HyperVReplicaAzureReplicationDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzureReprotectInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const InMageReprotectInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, uberParent: "ReverseReplicationProviderSpecificInput", - className: "HyperVReplicaAzureReprotectInput", + className: "InMageReprotectInput", modelProperties: { ...ReverseReplicationProviderSpecificInput.type.modelProperties, - hvHostVmId: { - serializedName: "hvHostVmId", + masterTargetId: { + required: true, + serializedName: "masterTargetId", type: { name: "String" } }, - vmName: { - serializedName: "vmName", + processServerId: { + required: true, + serializedName: "processServerId", type: { name: "String" } }, - osType: { - serializedName: "osType", + retentionDrive: { + required: true, + serializedName: "retentionDrive", type: { name: "String" } }, - vHDId: { - serializedName: "vHDId", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } }, - storageAccountId: { - serializedName: "storageAccountId", + datastoreName: { + serializedName: "datastoreName", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + diskExclusionInput: { + serializedName: "diskExclusionInput", + type: { + name: "Composite", + className: "InMageDiskExclusionInput" + } + }, + profileId: { + required: true, + serializedName: "profileId", type: { name: "String" } + }, + disksToInclude: { + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } }; -export const HyperVReplicaAzureUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const InMageTestFailoverInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, - uberParent: "UpdateReplicationProtectedItemProviderInput", - className: "HyperVReplicaAzureUpdateReplicationProtectedItemInput", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "InMageTestFailoverInput", modelProperties: { - ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, - recoveryAzureV1ResourceGroupId: { - serializedName: "recoveryAzureV1ResourceGroupId", - type: { - name: "String" - } - }, - recoveryAzureV2ResourceGroupId: { - serializedName: "recoveryAzureV2ResourceGroupId", + ...TestFailoverProviderSpecificInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } @@ -4968,35 +13076,23 @@ export const HyperVReplicaAzureUpdateReplicationProtectedItemInput: msRest.Compo } }; -export const HyperVReplicaBaseEventDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaBaseEventDetails", +export const InMageUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "HyperVReplicaBaseEventDetails", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "InMageUnplannedFailoverInput", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - containerName: { - serializedName: "containerName", - type: { - name: "String" - } - }, - fabricName: { - serializedName: "fabricName", - type: { - name: "String" - } - }, - remoteContainerName: { - serializedName: "remoteContainerName", + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", type: { name: "String" } }, - remoteFabricName: { - serializedName: "remoteFabricName", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } @@ -5005,218 +13101,174 @@ export const HyperVReplicaBaseEventDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaBasePolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaBasePolicyDetails", +export const JobProperties: msRest.CompositeMapper = { + serializedName: "JobProperties", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaBasePolicyDetails", + className: "JobProperties", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPoints: { - serializedName: "recoveryPoints", - type: { - name: "Number" - } - }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", - type: { - name: "Number" - } - }, - compression: { - serializedName: "compression", + activityId: { + serializedName: "activityId", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + scenarioName: { + serializedName: "scenarioName", type: { name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + state: { + serializedName: "state", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + stateDescription: { + serializedName: "stateDescription", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + tasks: { + serializedName: "tasks", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ASRTask" + } + } } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + errors: { + serializedName: "errors", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobErrorDetails" + } + } } }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + startTime: { + serializedName: "startTime", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -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", + }, + endTime: { + serializedName: "endTime", type: { name: "DateTime" } }, - vmNics: { - serializedName: "vmNics", + allowedActions: { + serializedName: "allowedActions", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VMNicDetails" + name: "String" } } } }, - vmId: { - serializedName: "vmId", + targetObjectId: { + serializedName: "targetObjectId", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + targetObjectName: { + serializedName: "targetObjectName", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + targetInstanceType: { + serializedName: "targetInstanceType", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + customDetails: { + serializedName: "customDetails", type: { name: "Composite", - className: "InitialReplicationDetails" - } - }, - vMDiskDetails: { - serializedName: "vMDiskDetails", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskDetails" - } - } + className: "JobDetails" } } } } }; -export const HyperVReplicaBluePolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const Job: msRest.CompositeMapper = { + serializedName: "Job", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaBluePolicyDetails", + className: "Job", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - replicationFrequencyInSeconds: { - serializedName: "replicationFrequencyInSeconds", - type: { - name: "Number" - } - }, - recoveryPoints: { - serializedName: "recoveryPoints", - type: { - name: "Number" - } - }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "JobProperties" } - }, - compression: { - serializedName: "compression", + } + } + } +}; + +export const JobEntity: msRest.CompositeMapper = { + serializedName: "JobEntity", + type: { + name: "Composite", + className: "JobEntity", + modelProperties: { + jobId: { + serializedName: "jobId", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + jobFriendlyName: { + serializedName: "jobFriendlyName", type: { name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + targetObjectId: { + serializedName: "targetObjectId", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + targetObjectName: { + serializedName: "targetObjectName", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + targetInstanceType: { + serializedName: "targetInstanceType", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", - type: { - name: "Number" - } - }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", - type: { - name: "Number" - } - }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + jobScenarioName: { + serializedName: "jobScenarioName", type: { name: "String" } @@ -5225,218 +13277,238 @@ export const HyperVReplicaBluePolicyDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaBluePolicyInput: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const JobQueryParameter: msRest.CompositeMapper = { + serializedName: "JobQueryParameter", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "HyperVReplicaBluePolicyInput", + className: "JobQueryParameter", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - replicationFrequencyInSeconds: { - serializedName: "replicationFrequencyInSeconds", - type: { - name: "Number" - } - }, - recoveryPoints: { - serializedName: "recoveryPoints", - type: { - name: "Number" - } - }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + startTime: { + serializedName: "startTime", type: { - name: "Number" + name: "String" } }, - compression: { - serializedName: "compression", + endTime: { + serializedName: "endTime", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + fabricId: { + serializedName: "fabricId", type: { name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + affectedObjectTypes: { + serializedName: "affectedObjectTypes", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + jobStatus: { + serializedName: "jobStatus", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + jobOutputType: { + serializedName: "jobOutputType", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + jobName: { + serializedName: "jobName", type: { - name: "Number" + name: "String" } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + timezoneOffset: { + serializedName: "timezoneOffset", type: { name: "Number" } - }, - replicaDeletion: { - serializedName: "replicaDeletion", - type: { - name: "String" - } } } } }; -export const HyperVReplicaBlueReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const JobStatusEventDetails: msRest.CompositeMapper = { + serializedName: "JobStatus", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaBlueReplicationDetails", + polymorphicDiscriminator: EventSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventSpecificDetails", + className: "JobStatusEventDetails", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", + ...EventSpecificDetails.type.modelProperties, + jobId: { + serializedName: "jobId", type: { - name: "DateTime" + name: "String" } }, - vmNics: { - serializedName: "vmNics", + jobFriendlyName: { + serializedName: "jobFriendlyName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "String" } }, - vmId: { - serializedName: "vmId", + jobStatus: { + serializedName: "jobStatus", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + affectedObjectType: { + serializedName: "affectedObjectType", + type: { + name: "String" + } + } + } + } +}; + +export const LogicalNetworkProperties: msRest.CompositeMapper = { + serializedName: "LogicalNetworkProperties", + type: { + name: "Composite", + className: "LogicalNetworkProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + networkVirtualizationStatus: { + serializedName: "networkVirtualizationStatus", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + logicalNetworkUsage: { + serializedName: "logicalNetworkUsage", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "String" } }, - vMDiskDetails: { - serializedName: "vMDiskDetails", + logicalNetworkDefinitionsStatus: { + serializedName: "logicalNetworkDefinitionsStatus", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskDetails" - } - } + name: "String" } } } } }; -export const HyperVReplicaPolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const LogicalNetwork: msRest.CompositeMapper = { + serializedName: "LogicalNetwork", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaPolicyDetails", + className: "LogicalNetwork", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPoints: { - serializedName: "recoveryPoints", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "LogicalNetworkProperties" } - }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + } + } + } +}; + +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: "Number" + name: "String" } }, - compression: { - serializedName: "compression", + instructions: { + serializedName: "instructions", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + observation: { + serializedName: "observation", type: { name: "String" } - }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + } + } + } +}; + +export const RetentionVolume: msRest.CompositeMapper = { + serializedName: "RetentionVolume", + type: { + name: "Composite", + className: "RetentionVolume", + modelProperties: { + volumeName: { + serializedName: "volumeName", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + capacityInBytes: { + serializedName: "capacityInBytes", type: { - name: "String" + name: "Number" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + freeSpaceInBytes: { + serializedName: "freeSpaceInBytes", type: { - name: "String" + name: "Number" } }, - replicationPort: { - serializedName: "replicationPort", + thresholdPercentage: { + serializedName: "thresholdPercentage", type: { name: "Number" } + } + } + } +}; + +export const VersionDetails: msRest.CompositeMapper = { + serializedName: "VersionDetails", + type: { + name: "Composite", + className: "VersionDetails", + modelProperties: { + version: { + serializedName: "version", + type: { + name: "String" + } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + expiryDate: { + serializedName: "expiryDate", type: { - name: "Number" + name: "DateTime" } }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + status: { + serializedName: "status", type: { name: "String" } @@ -5445,358 +13517,419 @@ export const HyperVReplicaPolicyDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaPolicyInput: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const MasterTargetServer: msRest.CompositeMapper = { + serializedName: "MasterTargetServer", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "HyperVReplicaPolicyInput", + className: "MasterTargetServer", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPoints: { - serializedName: "recoveryPoints", + id: { + serializedName: "id", type: { - name: "Number" + name: "String" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + ipAddress: { + serializedName: "ipAddress", type: { - name: "Number" + name: "String" } }, - compression: { - serializedName: "compression", + name: { + serializedName: "name", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + osType: { + serializedName: "osType", type: { name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + agentVersion: { + serializedName: "agentVersion", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + lastHeartbeat: { + serializedName: "lastHeartbeat", type: { - name: "String" + name: "DateTime" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + versionStatus: { + serializedName: "versionStatus", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + retentionVolumes: { + serializedName: "retentionVolumes", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RetentionVolume" + } + } } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + dataStores: { + serializedName: "dataStores", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataStore" + } + } } }, - 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", + validationErrors: { + serializedName: "validationErrors", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - vmNics: { - serializedName: "vmNics", + healthErrors: { + serializedName: "healthErrors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VMNicDetails" + className: "HealthError" } } } }, - vmId: { - serializedName: "vmId", + diskCount: { + serializedName: "diskCount", + type: { + name: "Number" + } + }, + osVersion: { + serializedName: "osVersion", + type: { + name: "String" + } + }, + agentExpiryDate: { + serializedName: "agentExpiryDate", + type: { + name: "DateTime" + } + }, + marsAgentVersion: { + serializedName: "marsAgentVersion", + type: { + name: "String" + } + }, + marsAgentExpiryDate: { + serializedName: "marsAgentExpiryDate", type: { - name: "String" + name: "DateTime" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + agentVersionDetails: { + serializedName: "agentVersionDetails", type: { - name: "String" + name: "Composite", + className: "VersionDetails" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + 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" } - }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + } + } + } +}; + +export const MigrateInputProperties: msRest.CompositeMapper = { + serializedName: "MigrateInputProperties", + type: { + name: "Composite", + className: "MigrateInputProperties", + modelProperties: { + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "InitialReplicationDetails" + className: "MigrateProviderSpecificInput" } - }, - vMDiskDetails: { - serializedName: "vMDiskDetails", + } + } + } +}; + +export const MigrateInput: msRest.CompositeMapper = { + serializedName: "MigrateInput", + type: { + name: "Composite", + className: "MigrateInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskDetails" - } - } + name: "Composite", + className: "MigrateInputProperties" } } } } }; -export const HyperVSiteDetails: msRest.CompositeMapper = { - serializedName: "HyperVSite", +export const MigrationProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "MigrationProviderSpecificSettings", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, - uberParent: "FabricSpecificDetails", - className: "HyperVSiteDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrationProviderSpecificSettings", + className: "MigrationProviderSpecificSettings", modelProperties: { - ...FabricSpecificDetails.type.modelProperties + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } } } }; -export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { - serializedName: "HyperVVirtualMachine", +export const MigrationItemProperties: msRest.CompositeMapper = { + serializedName: "MigrationItemProperties", type: { name: "Composite", - polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, - uberParent: "ConfigurationSettings", - className: "HyperVVirtualMachineDetails", + className: "MigrationItemProperties", modelProperties: { - ...ConfigurationSettings.type.modelProperties, - sourceItemId: { - serializedName: "sourceItemId", + machineName: { + readOnly: true, + serializedName: "machineName", type: { name: "String" } }, - generation: { - serializedName: "generation", + policyId: { + readOnly: true, + serializedName: "policyId", type: { name: "String" } }, - osDetails: { - serializedName: "osDetails", + policyFriendlyName: { + readOnly: true, + serializedName: "policyFriendlyName", type: { - name: "Composite", - className: "OSDetails" + name: "String" } }, - diskDetails: { - serializedName: "diskDetails", + migrationState: { + readOnly: true, + serializedName: "migrationState", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskDetails" - } - } + name: "String" } }, - hasPhysicalDisk: { - serializedName: "hasPhysicalDisk", + migrationStateDescription: { + readOnly: true, + serializedName: "migrationStateDescription", type: { name: "String" } }, - hasFibreChannelAdapter: { - serializedName: "hasFibreChannelAdapter", + lastTestMigrationTime: { + readOnly: true, + serializedName: "lastTestMigrationTime", type: { - name: "String" + name: "DateTime" } }, - hasSharedVhd: { - serializedName: "hasSharedVhd", + lastTestMigrationStatus: { + readOnly: true, + serializedName: "lastTestMigrationStatus", type: { name: "String" } - } - } - } -}; - -export const IdentityInformation: msRest.CompositeMapper = { - serializedName: "IdentityInformation", - type: { - name: "Composite", - className: "IdentityInformation", - modelProperties: { - identityProviderType: { - serializedName: "identityProviderType", + }, + testMigrateState: { + readOnly: true, + serializedName: "testMigrateState", type: { name: "String" } }, - tenantId: { - serializedName: "tenantId", + testMigrateStateDescription: { + readOnly: true, + serializedName: "testMigrateStateDescription", type: { name: "String" } }, - applicationId: { - serializedName: "applicationId", + health: { + readOnly: true, + serializedName: "health", type: { name: "String" } }, - objectId: { - serializedName: "objectId", + healthErrors: { + readOnly: true, + serializedName: "healthErrors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - audience: { - serializedName: "audience", + allowedOperations: { + readOnly: true, + serializedName: "allowedOperations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - aadAuthority: { - serializedName: "aadAuthority", + currentJob: { + readOnly: true, + serializedName: "currentJob", type: { - name: "String" + name: "Composite", + className: "CurrentJobDetails" } }, - certificateThumbprint: { - serializedName: "certificateThumbprint", + eventCorrelationId: { + readOnly: true, + serializedName: "eventCorrelationId", type: { name: "String" } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "MigrationProviderSpecificSettings" + } } } } }; -export const InlineWorkflowTaskDetails: msRest.CompositeMapper = { - serializedName: "InlineWorkflowTaskDetails", +export const MigrationItem: msRest.CompositeMapper = { + serializedName: "MigrationItem", type: { name: "Composite", - polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, - uberParent: "GroupTaskDetails", - className: "InlineWorkflowTaskDetails", + className: "MigrationItem", modelProperties: { - ...GroupTaskDetails.type.modelProperties, - workflowIds: { - serializedName: "workflowIds", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "MigrationItemProperties" } } } } }; -export const InMageAgentDetails: msRest.CompositeMapper = { - serializedName: "InMageAgentDetails", +export const MigrationItemsQueryParameter: msRest.CompositeMapper = { + serializedName: "MigrationItemsQueryParameter", type: { name: "Composite", - className: "InMageAgentDetails", + className: "MigrationItemsQueryParameter", modelProperties: { - agentVersion: { - serializedName: "agentVersion", + sourceFabricName: { + serializedName: "sourceFabricName", type: { name: "String" } }, - agentUpdateStatus: { - serializedName: "agentUpdateStatus", + sourceContainerName: { + serializedName: "sourceContainerName", type: { name: "String" } }, - postUpdateRebootStatus: { - serializedName: "postUpdateRebootStatus", + instanceType: { + serializedName: "instanceType", type: { name: "String" } - }, - agentExpiryDate: { - serializedName: "agentExpiryDate", - type: { - name: "DateTime" - } } } } }; -export const InMageAgentVersionDetails: msRest.CompositeMapper = { - serializedName: "InMageAgentVersionDetails", +export const MigrationRecoveryPointProperties: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPointProperties", type: { name: "Composite", - className: "InMageAgentVersionDetails", + className: "MigrationRecoveryPointProperties", modelProperties: { - postUpdateRebootStatus: { - serializedName: "postUpdateRebootStatus", - type: { - name: "String" - } - }, - version: { - serializedName: "version", - type: { - name: "String" - } - }, - expiryDate: { - serializedName: "expiryDate", + recoveryPointTime: { + readOnly: true, + serializedName: "recoveryPointTime", type: { name: "DateTime" } }, - status: { - serializedName: "status", + recoveryPointType: { + readOnly: true, + serializedName: "recoveryPointType", type: { name: "String" } @@ -5805,73 +13938,72 @@ export const InMageAgentVersionDetails: msRest.CompositeMapper = { } }; -export const InMageAzureV2ApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", - type: { - name: "Composite", - polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "InMageAzureV2ApplyRecoveryPointInput", +export const MigrationRecoveryPoint: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPoint", + type: { + name: "Composite", + className: "MigrationRecoveryPoint", modelProperties: { - ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "MigrationRecoveryPointProperties" } } } } }; -export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const MobilityServiceUpdate: msRest.CompositeMapper = { + serializedName: "MobilityServiceUpdate", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "InMageAzureV2EnableProtectionInput", + className: "MobilityServiceUpdate", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - masterTargetId: { - serializedName: "masterTargetId", - type: { - name: "String" - } - }, - processServerId: { - serializedName: "processServerId", + version: { + serializedName: "version", type: { name: "String" } }, - storageAccountId: { - required: true, - serializedName: "storageAccountId", + rebootStatus: { + serializedName: "rebootStatus", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + osType: { + serializedName: "osType", type: { name: "String" } - }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + } + } + } +}; + +export const Subnet: msRest.CompositeMapper = { + serializedName: "Subnet", + type: { + name: "Composite", + className: "Subnet", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + addressList: { + serializedName: "addressList", type: { name: "Sequence", element: { @@ -5880,195 +14012,166 @@ export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { } } } - }, - targetAzureNetworkId: { - serializedName: "targetAzureNetworkId", - type: { - name: "String" - } - }, - targetAzureSubnetId: { - serializedName: "targetAzureSubnetId", - type: { - name: "String" - } - }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", - type: { - name: "String" - } - }, - targetAzureVmName: { - serializedName: "targetAzureVmName", + } + } + } +}; + +export const NetworkProperties: msRest.CompositeMapper = { + serializedName: "NetworkProperties", + type: { + name: "Composite", + className: "NetworkProperties", + modelProperties: { + fabricType: { + serializedName: "fabricType", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + subnets: { + serializedName: "subnets", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Subnet" + } + } } }, - targetAzureV1ResourceGroupId: { - serializedName: "targetAzureV1ResourceGroupId", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - targetAzureV2ResourceGroupId: { - serializedName: "targetAzureV2ResourceGroupId", + networkType: { + serializedName: "networkType", type: { name: "String" } - }, - useManagedDisks: { - serializedName: "useManagedDisks", + } + } + } +}; + +export const Network: msRest.CompositeMapper = { + serializedName: "Network", + type: { + name: "Composite", + className: "Network", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "NetworkProperties" } } } } }; -export const InMageAzureV2EventDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const NetworkMappingProperties: msRest.CompositeMapper = { + serializedName: "NetworkMappingProperties", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "InMageAzureV2EventDetails", + className: "NetworkMappingProperties", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - eventType: { - serializedName: "eventType", + state: { + serializedName: "state", type: { name: "String" } }, - category: { - serializedName: "category", + primaryNetworkFriendlyName: { + serializedName: "primaryNetworkFriendlyName", type: { name: "String" } }, - component: { - serializedName: "component", + primaryNetworkId: { + serializedName: "primaryNetworkId", type: { name: "String" } }, - correctiveAction: { - serializedName: "correctiveAction", + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } }, - details: { - serializedName: "details", + recoveryNetworkFriendlyName: { + serializedName: "recoveryNetworkFriendlyName", type: { name: "String" } }, - summary: { - serializedName: "summary", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", type: { name: "String" } }, - siteName: { - serializedName: "siteName", + recoveryFabricArmId: { + serializedName: "recoveryFabricArmId", 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", + }, + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", type: { name: "String" } }, - recoveryPointId: { - serializedName: "recoveryPointId", + fabricSpecificSettings: { + serializedName: "fabricSpecificSettings", type: { - name: "String" + name: "Composite", + className: "NetworkMappingFabricSpecificSettings" } } } } }; -export const InMageAzureV2PolicyDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const NetworkMapping: msRest.CompositeMapper = { + serializedName: "NetworkMapping", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "InMageAzureV2PolicyDetails", + className: "NetworkMapping", 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", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "NetworkMappingProperties" } } } } }; -export const InMageAzureV2PolicyInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const NewProtectionProfile: msRest.CompositeMapper = { + serializedName: "New", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "InMageAzureV2PolicyInput", + polymorphicDiscriminator: ProtectionProfileCustomDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionProfileCustomDetails", + className: "NewProtectionProfile", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", + ...ProtectionProfileCustomDetails.type.modelProperties, + policyName: { + required: true, + serializedName: "policyName", type: { - name: "Number" + name: "String" } }, recoveryPointHistory: { @@ -6100,382 +14203,459 @@ export const InMageAzureV2PolicyInput: msRest.CompositeMapper = { } }; -export const InMageAzureV2ProtectedDiskDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2ProtectedDiskDetails", - type: { - name: "Composite", - className: "InMageAzureV2ProtectedDiskDetails", - modelProperties: { - diskId: { - serializedName: "diskId", - type: { - name: "String" - } - }, - diskName: { - serializedName: "diskName", +export const NewRecoveryVirtualNetwork: msRest.CompositeMapper = { + serializedName: "New", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryVirtualNetworkCustomDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryVirtualNetworkCustomDetails", + className: "NewRecoveryVirtualNetwork", + modelProperties: { + ...RecoveryVirtualNetworkCustomDetails.type.modelProperties, + recoveryVirtualNetworkResourceGroupName: { + serializedName: "recoveryVirtualNetworkResourceGroupName", type: { name: "String" } }, - protectionStage: { - serializedName: "protectionStage", + recoveryVirtualNetworkName: { + serializedName: "recoveryVirtualNetworkName", type: { name: "String" } - }, - healthErrorCode: { - serializedName: "healthErrorCode", + } + } + } +}; + +export const OperationsDiscovery: msRest.CompositeMapper = { + serializedName: "OperationsDiscovery", + type: { + name: "Composite", + className: "OperationsDiscovery", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + display: { + serializedName: "display", type: { - name: "Number" + name: "Composite", + className: "Display" } }, - resyncRequired: { - serializedName: "resyncRequired", + origin: { + serializedName: "origin", type: { name: "String" } }, - resyncProgressPercentage: { - serializedName: "resyncProgressPercentage", - type: { - name: "Number" - } - }, - resyncDurationInSeconds: { - serializedName: "resyncDurationInSeconds", + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Object" } - }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", + } + } + } +}; + +export const OSVersionWrapper: msRest.CompositeMapper = { + serializedName: "OSVersionWrapper", + type: { + name: "Composite", + className: "OSVersionWrapper", + modelProperties: { + version: { + serializedName: "version", type: { - name: "Number" + name: "String" } }, - fileSystemCapacityInBytes: { - serializedName: "fileSystemCapacityInBytes", + servicePack: { + serializedName: "servicePack", type: { - name: "Number" + name: "String" } - }, - sourceDataInMegaBytes: { - serializedName: "sourceDataInMegaBytes", + } + } + } +}; + +export const PlannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "PlannedFailoverInputProperties", + type: { + name: "Composite", + className: "PlannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + serializedName: "failoverDirection", type: { - name: "Number" + name: "String" } }, - psDataInMegaBytes: { - serializedName: "psDataInMegaBytes", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "Number" + name: "Composite", + className: "PlannedFailoverProviderSpecificFailoverInput" } - }, - targetDataInMegaBytes: { - serializedName: "targetDataInMegaBytes", + } + } + } +}; + +export const PlannedFailoverInput: msRest.CompositeMapper = { + serializedName: "PlannedFailoverInput", + type: { + name: "Composite", + className: "PlannedFailoverInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "PlannedFailoverInputProperties" } - }, - diskResized: { - serializedName: "diskResized", + } + } + } +}; + +export const PolicyProperties: msRest.CompositeMapper = { + serializedName: "PolicyProperties", + type: { + name: "Composite", + className: "PolicyProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "DateTime" + name: "Composite", + className: "PolicyProviderSpecificDetails" } } } } }; -export const InMageAzureV2RecoveryPointDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const Policy: msRest.CompositeMapper = { + serializedName: "Policy", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificRecoveryPointDetails", - className: "InMageAzureV2RecoveryPointDetails", + className: "Policy", modelProperties: { - ...ProviderSpecificRecoveryPointDetails.type.modelProperties, - isMultiVmSyncPoint: { - serializedName: "isMultiVmSyncPoint", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "PolicyProperties" } } } } }; -export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const ProcessServer: msRest.CompositeMapper = { + serializedName: "ProcessServer", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "InMageAzureV2ReplicationDetails", + className: "ProcessServer", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - infrastructureVmId: { - serializedName: "infrastructureVmId", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - vCenterInfrastructureId: { - serializedName: "vCenterInfrastructureId", + id: { + serializedName: "id", type: { name: "String" } }, - protectionStage: { - serializedName: "protectionStage", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - vmId: { - serializedName: "vmId", + osType: { + serializedName: "osType", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + agentVersion: { + serializedName: "agentVersion", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + versionStatus: { + serializedName: "versionStatus", type: { name: "String" } }, - resyncProgressPercentage: { - serializedName: "resyncProgressPercentage", + mobilityServiceUpdates: { + serializedName: "mobilityServiceUpdates", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MobilityServiceUpdate" + } + } } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + hostId: { + serializedName: "hostId", type: { - name: "Number" + name: "String" } }, - compressedDataRateInMB: { - serializedName: "compressedDataRateInMB", + machineCount: { + serializedName: "machineCount", type: { - name: "Number" + name: "String" } }, - uncompressedDataRateInMB: { - serializedName: "uncompressedDataRateInMB", + replicationPairCount: { + serializedName: "replicationPairCount", type: { - name: "Number" + name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + systemLoad: { + serializedName: "systemLoad", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + systemLoadStatus: { + serializedName: "systemLoadStatus", type: { name: "String" } }, - agentExpiryDate: { - serializedName: "agentExpiryDate", + cpuLoad: { + serializedName: "cpuLoad", type: { - name: "DateTime" + name: "String" } }, - isAgentUpdateRequired: { - serializedName: "isAgentUpdateRequired", + cpuLoadStatus: { + serializedName: "cpuLoadStatus", + type: { + name: "String" + } + }, + totalMemoryInBytes: { + serializedName: "totalMemoryInBytes", + type: { + name: "Number" + } + }, + availableMemoryInBytes: { + serializedName: "availableMemoryInBytes", + type: { + name: "Number" + } + }, + memoryUsageStatus: { + serializedName: "memoryUsageStatus", type: { name: "String" } }, - isRebootAfterUpdateRequired: { - serializedName: "isRebootAfterUpdateRequired", + totalSpaceInBytes: { + serializedName: "totalSpaceInBytes", + type: { + name: "Number" + } + }, + availableSpaceInBytes: { + serializedName: "availableSpaceInBytes", type: { - name: "String" + name: "Number" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + spaceUsageStatus: { + serializedName: "spaceUsageStatus", type: { - name: "DateTime" + name: "String" } }, - processServerId: { - serializedName: "processServerId", + psServiceStatus: { + serializedName: "psServiceStatus", type: { name: "String" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + sslCertExpiryDate: { + serializedName: "sslCertExpiryDate", type: { - name: "String" + name: "DateTime" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + sslCertExpiryRemainingDays: { + serializedName: "sslCertExpiryRemainingDays", type: { - name: "String" + name: "Number" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + osVersion: { + serializedName: "osVersion", type: { name: "String" } }, - protectedDisks: { - serializedName: "protectedDisks", + healthErrors: { + serializedName: "healthErrors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "InMageAzureV2ProtectedDiskDetails" + className: "HealthError" } } } }, - diskResized: { - serializedName: "diskResized", + agentExpiryDate: { + serializedName: "agentExpiryDate", type: { - name: "String" + name: "DateTime" } }, - masterTargetId: { - serializedName: "masterTargetId", + agentVersionDetails: { + serializedName: "agentVersionDetails", + type: { + name: "Composite", + className: "VersionDetails" + } + }, + health: { + readOnly: true, + serializedName: "health", type: { name: "String" } }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", + psStatsRefreshTime: { + readOnly: true, + serializedName: "psStatsRefreshTime", + type: { + name: "DateTime" + } + }, + throughputUploadPendingDataInBytes: { + readOnly: true, + serializedName: "throughputUploadPendingDataInBytes", type: { name: "Number" } }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", + throughputInMBps: { + readOnly: true, + serializedName: "throughputInMBps", type: { name: "Number" } }, - osType: { - serializedName: "osType", + throughputInBytes: { + readOnly: true, + serializedName: "throughputInBytes", type: { - name: "String" + name: "Number" } }, - vhdName: { - serializedName: "vhdName", + throughputStatus: { + readOnly: true, + serializedName: "throughputStatus", type: { name: "String" } }, - osDiskId: { - serializedName: "osDiskId", + marsCommunicationStatus: { + readOnly: true, + serializedName: "marsCommunicationStatus", type: { name: "String" } }, - azureVMDiskDetails: { - serializedName: "azureVMDiskDetails", + marsRegistrationStatus: { + readOnly: true, + serializedName: "marsRegistrationStatus", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureVmDiskDetails" - } - } + name: "String" } - }, - recoveryAzureVMName: { - serializedName: "recoveryAzureVMName", + } + } + } +}; + +export const ProtectableItemProperties: msRest.CompositeMapper = { + serializedName: "ProtectableItemProperties", + type: { + name: "Composite", + className: "ProtectableItemProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + protectionStatus: { + serializedName: "protectionStatus", type: { name: "String" } }, - recoveryAzureStorageAccount: { - serializedName: "recoveryAzureStorageAccount", + replicationProtectedItemId: { + serializedName: "replicationProtectedItemId", type: { name: "String" } }, - recoveryAzureLogStorageAccountId: { - serializedName: "recoveryAzureLogStorageAccountId", + recoveryServicesProviderId: { + serializedName: "recoveryServicesProviderId", type: { name: "String" } }, - vmNics: { - serializedName: "vmNics", + protectionReadinessErrors: { + serializedName: "protectionReadinessErrors", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VMNicDetails" + name: "String" } } } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", - type: { - name: "String" - } - }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", - type: { - name: "String" - } - }, - discoveryType: { - serializedName: "discoveryType", - type: { - name: "String" - } - }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", - type: { - name: "String" - } - }, - datastores: { - serializedName: "datastores", + supportedReplicationProviders: { + serializedName: "supportedReplicationProviders", type: { name: "Sequence", element: { @@ -6485,68 +14665,106 @@ export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { } } }, - targetVmId: { - serializedName: "targetVmId", + customDetails: { + serializedName: "customDetails", type: { - name: "String" + name: "Composite", + className: "ConfigurationSettings" } - }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + } + } + } +}; + +export const ProtectableItem: msRest.CompositeMapper = { + serializedName: "ProtectableItem", + type: { + name: "Composite", + className: "ProtectableItem", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ProtectableItemProperties" } - }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + } + } + } +}; + +export const ProtectableItemQueryParameter: msRest.CompositeMapper = { + serializedName: "ProtectableItemQueryParameter", + type: { + name: "Composite", + className: "ProtectableItemQueryParameter", + modelProperties: { + state: { + serializedName: "state", type: { name: "String" } - }, - useManagedDisks: { - serializedName: "useManagedDisks", + } + } + } +}; + +export const ProtectedItemsQueryParameter: msRest.CompositeMapper = { + serializedName: "ProtectedItemsQueryParameter", + type: { + name: "Composite", + className: "ProtectedItemsQueryParameter", + modelProperties: { + sourceFabricName: { + serializedName: "sourceFabricName", type: { name: "String" } }, - licenseType: { - serializedName: "licenseType", + recoveryPlanName: { + serializedName: "recoveryPlanName", type: { name: "String" } }, - validationErrors: { - serializedName: "validationErrors", + vCenterName: { + serializedName: "vCenterName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + instanceType: { + serializedName: "instanceType", type: { - name: "DateTime" + name: "String" } }, - lastUpdateReceivedTime: { - serializedName: "lastUpdateReceivedTime", + multiVmGroupCreateOption: { + serializedName: "multiVmGroupCreateOption", type: { - name: "DateTime" + name: "String" } }, - replicaId: { - serializedName: "replicaId", + processServerId: { + serializedName: "processServerId", type: { name: "String" } - }, - osVersion: { - serializedName: "osVersion", + } + } + } +}; + +export const ProtectionContainerFabricSpecificDetails: msRest.CompositeMapper = { + serializedName: "ProtectionContainerFabricSpecificDetails", + type: { + name: "Composite", + className: "ProtectionContainerFabricSpecificDetails", + modelProperties: { + instanceType: { + readOnly: true, + serializedName: "instanceType", type: { name: "String" } @@ -6555,219 +14773,192 @@ export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { } }; -export const InMageAzureV2ReprotectInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const ProtectionContainerProperties: msRest.CompositeMapper = { + serializedName: "ProtectionContainerProperties", type: { name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "InMageAzureV2ReprotectInput", + className: "ProtectionContainerProperties", modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - masterTargetId: { - serializedName: "masterTargetId", + fabricFriendlyName: { + serializedName: "fabricFriendlyName", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - storageAccountId: { - serializedName: "storageAccountId", + fabricType: { + serializedName: "fabricType", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + protectedItemCount: { + serializedName: "protectedItemCount", type: { - name: "String" + name: "Number" } }, - policyId: { - serializedName: "policyId", + pairingStatus: { + serializedName: "pairingStatus", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + role: { + serializedName: "role", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ProtectionContainerFabricSpecificDetails" } } } } }; -export const InMageAzureV2UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const ProtectionContainer: msRest.CompositeMapper = { + serializedName: "ProtectionContainer", type: { name: "Composite", - polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, - uberParent: "UpdateReplicationProtectedItemProviderInput", - className: "InMageAzureV2UpdateReplicationProtectedItemInput", + className: "ProtectionContainer", 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: "ProtectionContainerProperties" } } } } }; -export const InMageBasePolicyDetails: msRest.CompositeMapper = { - serializedName: "InMageBasePolicyDetails", +export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { + serializedName: "ProtectionContainerMappingProperties", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "InMageBasePolicyDetails", + className: "ProtectionContainerMappingProperties", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", + targetProtectionContainerId: { + serializedName: "targetProtectionContainerId", type: { - name: "Number" + name: "String" } }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + targetProtectionContainerFriendlyName: { + serializedName: "targetProtectionContainerFriendlyName", type: { - name: "Number" + name: "String" } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "Number" + name: "Composite", + className: "ProtectionContainerMappingProviderSpecificDetails" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + health: { + serializedName: "health", 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", + }, + healthErrorDetails: { + serializedName: "healthErrorDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } - } - } - } -}; - -export const InMageDiskDetails: msRest.CompositeMapper = { - serializedName: "InMageDiskDetails", - type: { - name: "Composite", - className: "InMageDiskDetails", - modelProperties: { - diskId: { - serializedName: "diskId", + }, + policyId: { + serializedName: "policyId", type: { name: "String" } }, - diskName: { - serializedName: "diskName", + state: { + serializedName: "state", type: { name: "String" } }, - diskSizeInMB: { - serializedName: "diskSizeInMB", + sourceProtectionContainerFriendlyName: { + serializedName: "sourceProtectionContainerFriendlyName", type: { name: "String" } }, - diskType: { - serializedName: "diskType", + sourceFabricFriendlyName: { + serializedName: "sourceFabricFriendlyName", type: { name: "String" } }, - diskConfiguration: { - serializedName: "diskConfiguration", + targetFabricFriendlyName: { + serializedName: "targetFabricFriendlyName", type: { name: "String" } }, - volumeList: { - serializedName: "volumeList", + policyFriendlyName: { + serializedName: "policyFriendlyName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskVolumeDetails" - } - } + name: "String" } } } } }; -export const InMageVolumeExclusionOptions: msRest.CompositeMapper = { - serializedName: "InMageVolumeExclusionOptions", +export const ProtectionContainerMapping: msRest.CompositeMapper = { + serializedName: "ProtectionContainerMapping", type: { name: "Composite", - className: "InMageVolumeExclusionOptions", + className: "ProtectionContainerMapping", modelProperties: { - volumeLabel: { - serializedName: "volumeLabel", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ProtectionContainerMappingProperties" } - }, - onlyExcludeIfSingleVolume: { - serializedName: "onlyExcludeIfSingleVolume", + } + } + } +}; + +export const RecoveryPlanProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProviderSpecificDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RecoveryPlanProviderSpecificDetails", + className: "RecoveryPlanProviderSpecificDetails", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -6776,132 +14967,127 @@ export const InMageVolumeExclusionOptions: msRest.CompositeMapper = { } }; -export const InMageDiskSignatureExclusionOptions: msRest.CompositeMapper = { - serializedName: "InMageDiskSignatureExclusionOptions", +export const RecoveryPlanProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProperties", type: { name: "Composite", - className: "InMageDiskSignatureExclusionOptions", + className: "RecoveryPlanProperties", modelProperties: { - diskSignature: { - serializedName: "diskSignature", + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + primaryFabricId: { + serializedName: "primaryFabricId", + type: { + name: "String" + } + }, + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", + type: { + name: "String" + } + }, + recoveryFabricId: { + serializedName: "recoveryFabricId", + type: { + name: "String" + } + }, + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", + type: { + name: "String" + } + }, + failoverDeploymentModel: { + serializedName: "failoverDeploymentModel", type: { name: "String" } - } - } - } -}; - -export const InMageDiskExclusionInput: msRest.CompositeMapper = { - serializedName: "InMageDiskExclusionInput", - type: { - name: "Composite", - className: "InMageDiskExclusionInput", - modelProperties: { - volumeOptions: { - serializedName: "volumeOptions", + }, + replicationProviders: { + serializedName: "replicationProviders", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "InMageVolumeExclusionOptions" + name: "String" } } } }, - diskSignatureOptions: { - serializedName: "diskSignatureOptions", + allowedOperations: { + serializedName: "allowedOperations", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "InMageDiskSignatureExclusionOptions" + name: "String" } } } - } - } - } -}; - -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", + lastPlannedFailoverTime: { + serializedName: "lastPlannedFailoverTime", type: { - name: "String" + name: "DateTime" } }, - retentionDrive: { - required: true, - serializedName: "retentionDrive", + lastUnplannedFailoverTime: { + serializedName: "lastUnplannedFailoverTime", type: { - name: "String" + name: "DateTime" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + lastTestFailoverTime: { + serializedName: "lastTestFailoverTime", type: { - name: "String" + name: "DateTime" } }, - multiVmGroupId: { - required: true, - serializedName: "multiVmGroupId", + currentScenario: { + serializedName: "currentScenario", type: { - name: "String" + name: "Composite", + className: "CurrentScenarioDetails" } }, - multiVmGroupName: { - required: true, - serializedName: "multiVmGroupName", + currentScenarioStatus: { + serializedName: "currentScenarioStatus", type: { name: "String" } }, - datastoreName: { - serializedName: "datastoreName", + currentScenarioStatusDescription: { + serializedName: "currentScenarioStatusDescription", type: { name: "String" } }, - diskExclusionInput: { - serializedName: "diskExclusionInput", + groups: { + serializedName: "groups", type: { - name: "Composite", - className: "InMageDiskExclusionInput" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanGroup" + } + } } }, - disksToInclude: { - serializedName: "disksToInclude", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "RecoveryPlanProviderSpecificDetails" } } } @@ -6910,60 +15096,41 @@ export const InMageEnableProtectionInput: msRest.CompositeMapper = { } }; -export const InMageFailoverProviderInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const RecoveryPlan: msRest.CompositeMapper = { + serializedName: "RecoveryPlan", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "InMageFailoverProviderInput", + className: "RecoveryPlan", modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { - serializedName: "recoveryPointType", - type: { - name: "String" - } - }, - recoveryPointId: { - serializedName: "recoveryPointId", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "RecoveryPlanProperties" } } } } }; -export const InMagePolicyDetails: msRest.CompositeMapper = { - serializedName: "InMage", +export const RecoveryPlanA2ADetails: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "InMagePolicyDetails", + polymorphicDiscriminator: RecoveryPlanProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificDetails", + className: "RecoveryPlanA2ADetails", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", - type: { - name: "Number" - } - }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + ...RecoveryPlanProviderSpecificDetails.type.modelProperties, + primaryZone: { + serializedName: "primaryZone", type: { - name: "Number" + name: "String" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + recoveryZone: { + serializedName: "recoveryZone", type: { name: "String" } @@ -6972,36 +15139,20 @@ export const InMagePolicyDetails: msRest.CompositeMapper = { } }; -export const InMagePolicyInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const RecoveryPlanProviderSpecificFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProviderSpecificFailoverInput", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "InMagePolicyInput", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanProviderSpecificFailoverInput", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", - type: { - name: "Number" - } - }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", - type: { - name: "Number" - } - }, - multiVmSyncStatus: { + instanceType: { required: true, - serializedName: "multiVmSyncStatus", + serializedName: "instanceType", type: { name: "String" } @@ -7009,127 +15160,88 @@ export const InMagePolicyInput: msRest.CompositeMapper = { } } }; - -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", + +export const RecoveryPlanA2AFailoverInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanA2AFailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + required: true, + serializedName: "recoveryPointType", type: { - name: "Number" + name: "String" } }, - psDataInMB: { - serializedName: "psDataInMB", + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", type: { - name: "Number" + name: "String" } }, - targetDataInMB: { - serializedName: "targetDataInMB", + multiVmSyncPointOption: { + serializedName: "multiVmSyncPointOption", type: { - name: "Number" + name: "String" } - }, - diskResized: { - serializedName: "diskResized", + } + } + } +}; + +export const RecoveryPlanA2AInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificInput", + className: "RecoveryPlanA2AInput", + modelProperties: { + ...RecoveryPlanProviderSpecificInput.type.modelProperties, + primaryZone: { + serializedName: "primaryZone", type: { name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + recoveryZone: { + serializedName: "recoveryZone", type: { - name: "DateTime" + name: "String" } } } } }; -export const OSDiskDetails: msRest.CompositeMapper = { - serializedName: "OSDiskDetails", +export const RecoveryPlanAutomationRunbookActionDetails: msRest.CompositeMapper = { + serializedName: "AutomationRunbookActionDetails", type: { name: "Composite", - className: "OSDiskDetails", + polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanAutomationRunbookActionDetails", modelProperties: { - osVhdId: { - serializedName: "osVhdId", + ...RecoveryPlanActionDetails.type.modelProperties, + runbookId: { + serializedName: "runbookId", type: { name: "String" } }, - osType: { - serializedName: "osType", + timeout: { + serializedName: "timeout", type: { name: "String" } }, - vhdName: { - serializedName: "vhdName", + fabricLocation: { + required: true, + serializedName: "fabricLocation", type: { name: "String" } @@ -7138,542 +15250,816 @@ export const OSDiskDetails: msRest.CompositeMapper = { } }; -export const InMageReplicationDetails: msRest.CompositeMapper = { - serializedName: "InMage", +export const RecoveryPlanGroupTaskDetails: msRest.CompositeMapper = { + serializedName: "RecoveryPlanGroupTaskDetails", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "InMageReplicationDetails", + polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, + uberParent: "GroupTaskDetails", + className: "RecoveryPlanGroupTaskDetails", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - activeSiteType: { - serializedName: "activeSiteType", + ...GroupTaskDetails.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", - type: { - name: "Number" - } - }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", - type: { - name: "Number" - } - }, - osDetails: { - serializedName: "osDetails", + groupId: { + serializedName: "groupId", type: { - name: "Composite", - className: "OSDiskDetails" + name: "String" } }, - protectionStage: { - serializedName: "protectionStage", + rpGroupType: { + serializedName: "rpGroupType", type: { name: "String" } - }, - vmId: { - serializedName: "vmId", + } + } + } +}; + +export const RecoveryPlanHyperVReplicaAzureFailbackInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzureFailback", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanHyperVReplicaAzureFailbackInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + dataSyncOption: { + required: true, + serializedName: "dataSyncOption", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + recoveryVmCreationOption: { + required: true, + serializedName: "recoveryVmCreationOption", type: { name: "String" } - }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + } + } + } +}; + +export const RecoveryPlanHyperVReplicaAzureFailoverInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanHyperVReplicaAzureFailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", type: { name: "String" } }, - resyncDetails: { - serializedName: "resyncDetails", + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "String" } }, - retentionWindowStart: { - serializedName: "retentionWindowStart", + recoveryPointType: { + serializedName: "recoveryPointType", type: { - name: "DateTime" + name: "String" } - }, - retentionWindowEnd: { - serializedName: "retentionWindowEnd", + } + } + } +}; + +export const RecoveryPlanInMageAzureV2FailoverInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanInMageAzureV2FailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + required: true, + serializedName: "recoveryPointType", type: { - name: "DateTime" + name: "String" } }, - compressedDataRateInMB: { - serializedName: "compressedDataRateInMB", + useMultiVmSyncPoint: { + serializedName: "useMultiVmSyncPoint", type: { - name: "Number" + name: "String" } - }, - uncompressedDataRateInMB: { - serializedName: "uncompressedDataRateInMB", + } + } + } +}; + +export const RecoveryPlanInMageFailoverInput: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanInMageFailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + required: true, + serializedName: "recoveryPointType", type: { - name: "Number" + name: "String" } - }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + } + } + } +}; + +export const RecoveryPlanInMageRcmFailbackFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcmFailback", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanInMageRcmFailbackFailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + required: true, + serializedName: "recoveryPointType", type: { - name: "Number" + name: "String" } }, - protectedDisks: { - serializedName: "protectedDisks", + useMultiVmSyncPoint: { + serializedName: "useMultiVmSyncPoint", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InMageProtectedDiskDetails" - } - } + name: "String" } - }, - ipAddress: { - serializedName: "ipAddress", + } + } + } +}; + +export const RecoveryPlanInMageRcmFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanInMageRcmFailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + required: true, + serializedName: "recoveryPointType", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + useMultiVmSyncPoint: { + serializedName: "useMultiVmSyncPoint", type: { - name: "DateTime" + name: "String" } - }, - processServerId: { - serializedName: "processServerId", + } + } + } +}; + +export const RecoveryPlanManualActionDetails: msRest.CompositeMapper = { + serializedName: "ManualActionDetails", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanManualActionDetails", + modelProperties: { + ...RecoveryPlanActionDetails.type.modelProperties, + description: { + serializedName: "description", type: { name: "String" } - }, - masterTargetId: { - serializedName: "masterTargetId", + } + } + } +}; + +export const RecoveryPlanPlannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanPlannedFailoverInputProperties", + type: { + name: "Composite", + className: "RecoveryPlanPlannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + required: true, + serializedName: "failoverDirection", type: { name: "String" } }, - consistencyPoints: { - serializedName: "consistencyPoints", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "DateTime" + name: "Composite", + className: "RecoveryPlanProviderSpecificFailoverInput" } } } - }, - diskResized: { - serializedName: "diskResized", + } + } + } +}; + +export const RecoveryPlanPlannedFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanPlannedFailoverInput", + type: { + name: "Composite", + className: "RecoveryPlanPlannedFailoverInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "RecoveryPlanPlannedFailoverInputProperties" } - }, - rebootAfterUpdateStatus: { - serializedName: "rebootAfterUpdateStatus", + } + } + } +}; + +export const RecoveryPlanScriptActionDetails: msRest.CompositeMapper = { + serializedName: "ScriptActionDetails", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanScriptActionDetails", + modelProperties: { + ...RecoveryPlanActionDetails.type.modelProperties, + path: { + required: true, + serializedName: "path", type: { name: "String" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + timeout: { + serializedName: "timeout", type: { name: "String" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + fabricLocation: { + required: true, + serializedName: "fabricLocation", type: { name: "String" } - }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + } + } + } +}; + +export const RecoveryPlanShutdownGroupTaskDetails: msRest.CompositeMapper = { + serializedName: "RecoveryPlanShutdownGroupTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, + uberParent: "GroupTaskDetails", + className: "RecoveryPlanShutdownGroupTaskDetails", + modelProperties: { + ...RecoveryPlanGroupTaskDetails.type.modelProperties + } + } +}; + +export const RecoveryPlanTestFailoverCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverCleanupInputProperties", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverCleanupInputProperties", + modelProperties: { + comments: { + serializedName: "comments", + constraints: { + MaxLength: 1024 + }, type: { name: "String" } - }, - agentDetails: { - serializedName: "agentDetails", + } + } + } +}; + +export const RecoveryPlanTestFailoverCleanupInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverCleanupInput", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverCleanupInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { name: "Composite", - className: "InMageAgentDetails" + className: "RecoveryPlanTestFailoverCleanupInputProperties" + } + } + } + } +}; + +export const RecoveryPlanTestFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverInputProperties", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverInputProperties", + modelProperties: { + failoverDirection: { + required: true, + serializedName: "failoverDirection", + type: { + name: "String" } }, - vCenterInfrastructureId: { - serializedName: "vCenterInfrastructureId", + networkType: { + required: true, + serializedName: "networkType", type: { name: "String" } }, - infrastructureVmId: { - serializedName: "infrastructureVmId", + networkId: { + serializedName: "networkId", type: { name: "String" } }, - vmNics: { - serializedName: "vmNics", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VMNicDetails" + className: "RecoveryPlanProviderSpecificFailoverInput" } } } - }, - discoveryType: { - serializedName: "discoveryType", + } + } + } +}; + +export const RecoveryPlanTestFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverInput", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "RecoveryPlanTestFailoverInputProperties" } - }, - azureStorageAccountId: { - serializedName: "azureStorageAccountId", + } + } + } +}; + +export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanUnplannedFailoverInputProperties", + type: { + name: "Composite", + className: "RecoveryPlanUnplannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + required: true, + serializedName: "failoverDirection", type: { name: "String" } }, - datastores: { - serializedName: "datastores", + sourceSiteOperations: { + required: true, + serializedName: "sourceSiteOperations", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - validationErrors: { - serializedName: "validationErrors", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HealthError" + className: "RecoveryPlanProviderSpecificFailoverInput" } } } - }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + } + } + } +}; + +export const RecoveryPlanUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanUnplannedFailoverInput", + type: { + name: "Composite", + className: "RecoveryPlanUnplannedFailoverInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "DateTime" + name: "Composite", + className: "RecoveryPlanUnplannedFailoverInputProperties" } - }, - lastUpdateReceivedTime: { - serializedName: "lastUpdateReceivedTime", + } + } + } +}; + +export const RecoveryPointProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPointProperties", + type: { + name: "Composite", + className: "RecoveryPointProperties", + modelProperties: { + recoveryPointTime: { + serializedName: "recoveryPointTime", type: { name: "DateTime" } }, - replicaId: { - serializedName: "replicaId", + recoveryPointType: { + serializedName: "recoveryPointType", type: { name: "String" } }, - osVersion: { - serializedName: "osVersion", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "ProviderSpecificRecoveryPointDetails" } } } } }; -export const InMageReprotectInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const RecoveryPoint: msRest.CompositeMapper = { + serializedName: "RecoveryPoint", type: { name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "InMageReprotectInput", + className: "RecoveryPoint", modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - masterTargetId: { - required: true, - serializedName: "masterTargetId", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "RecoveryPointProperties" } - }, - processServerId: { - required: true, - serializedName: "processServerId", + } + } + } +}; + +export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { + serializedName: "RecoveryServicesProviderProperties", + type: { + name: "Composite", + className: "RecoveryServicesProviderProperties", + modelProperties: { + fabricType: { + serializedName: "fabricType", type: { name: "String" } }, - retentionDrive: { - required: true, - serializedName: "retentionDrive", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + providerVersion: { + serializedName: "providerVersion", type: { name: "String" } }, - datastoreName: { - serializedName: "datastoreName", + serverVersion: { + serializedName: "serverVersion", type: { name: "String" } }, - diskExclusionInput: { - serializedName: "diskExclusionInput", - type: { - name: "Composite", - className: "InMageDiskExclusionInput" - } - }, - profileId: { - required: true, - serializedName: "profileId", + providerVersionState: { + serializedName: "providerVersionState", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const JobProperties: msRest.CompositeMapper = { - serializedName: "JobProperties", - type: { - name: "Composite", - className: "JobProperties", - modelProperties: { - activityId: { - serializedName: "activityId", + providerVersionExpiryDate: { + serializedName: "providerVersionExpiryDate", type: { - name: "String" + name: "DateTime" } }, - scenarioName: { - serializedName: "scenarioName", + fabricFriendlyName: { + serializedName: "fabricFriendlyName", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + lastHeartBeat: { + serializedName: "lastHeartBeat", type: { - name: "String" + name: "DateTime" } }, - state: { - serializedName: "state", + connectionStatus: { + serializedName: "connectionStatus", type: { name: "String" } }, - stateDescription: { - serializedName: "stateDescription", + protectedItemCount: { + serializedName: "protectedItemCount", type: { - name: "String" + name: "Number" } }, - tasks: { - serializedName: "tasks", + allowedScenarios: { + serializedName: "allowedScenarios", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ASRTask" + name: "String" } } } }, - errors: { - serializedName: "errors", + healthErrorDetails: { + serializedName: "healthErrorDetails", type: { name: "Sequence", element: { type: { name: "Composite", - className: "JobErrorDetails" + className: "HealthError" } } } }, - startTime: { - serializedName: "startTime", + draIdentifier: { + serializedName: "draIdentifier", type: { - name: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", + machineId: { + serializedName: "machineId", type: { - name: "DateTime" + name: "String" } }, - allowedActions: { - serializedName: "allowedActions", + machineName: { + serializedName: "machineName", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - targetObjectId: { - serializedName: "targetObjectId", + biosId: { + serializedName: "biosId", type: { name: "String" } }, - targetObjectName: { - serializedName: "targetObjectName", + authenticationIdentityDetails: { + serializedName: "authenticationIdentityDetails", type: { - name: "String" + name: "Composite", + className: "IdentityProviderDetails" } }, - targetInstanceType: { - serializedName: "targetInstanceType", + resourceAccessIdentityDetails: { + serializedName: "resourceAccessIdentityDetails", type: { - name: "String" + name: "Composite", + className: "IdentityProviderDetails" } }, - customDetails: { - serializedName: "customDetails", + dataPlaneAuthenticationIdentityDetails: { + serializedName: "dataPlaneAuthenticationIdentityDetails", + type: { + name: "Composite", + className: "IdentityProviderDetails" + } + }, + providerVersionDetails: { + serializedName: "providerVersionDetails", + type: { + name: "Composite", + className: "VersionDetails" + } + } + } + } +}; + +export const RecoveryServicesProvider: msRest.CompositeMapper = { + serializedName: "RecoveryServicesProvider", + type: { + name: "Composite", + className: "RecoveryServicesProvider", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RecoveryServicesProviderProperties" + } + } + } + } +}; + +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" + } + } + } + } +}; + +export const RemoveProtectionContainerMappingInputProperties: msRest.CompositeMapper = { + serializedName: "RemoveProtectionContainerMappingInputProperties", + type: { + name: "Composite", + className: "RemoveProtectionContainerMappingInputProperties", + modelProperties: { + providerSpecificInput: { + serializedName: "providerSpecificInput", type: { name: "Composite", - className: "JobDetails" + className: "ReplicationProviderContainerUnmappingInput" } } } } }; -export const Job: msRest.CompositeMapper = { - serializedName: "Job", +export const RemoveProtectionContainerMappingInput: msRest.CompositeMapper = { + serializedName: "RemoveProtectionContainerMappingInput", type: { name: "Composite", - className: "Job", + className: "RemoveProtectionContainerMappingInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "JobProperties" + className: "RemoveProtectionContainerMappingInputProperties" } } } } }; -export const JobQueryParameter: msRest.CompositeMapper = { - serializedName: "JobQueryParameter", +export const RenewCertificateInputProperties: msRest.CompositeMapper = { + serializedName: "RenewCertificateInputProperties", type: { name: "Composite", - className: "JobQueryParameter", + className: "RenewCertificateInputProperties", modelProperties: { - startTime: { - serializedName: "startTime", - type: { - name: "String" - } - }, - endTime: { - serializedName: "endTime", - type: { - name: "String" - } - }, - fabricId: { - serializedName: "fabricId", - type: { - name: "String" - } - }, - affectedObjectTypes: { - serializedName: "affectedObjectTypes", + renewCertificateType: { + serializedName: "renewCertificateType", type: { name: "String" } - }, - jobStatus: { - serializedName: "jobStatus", + } + } + } +}; + +export const RenewCertificateInput: msRest.CompositeMapper = { + serializedName: "RenewCertificateInput", + type: { + name: "Composite", + className: "RenewCertificateInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "RenewCertificateInputProperties" } } } } }; -export const JobStatusEventDetails: msRest.CompositeMapper = { - serializedName: "JobStatus", +export const ReplicationEligibilityResultsErrorInfo: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsErrorInfo", type: { name: "Composite", - polymorphicDiscriminator: EventSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventSpecificDetails", - className: "JobStatusEventDetails", + className: "ReplicationEligibilityResultsErrorInfo", modelProperties: { - ...EventSpecificDetails.type.modelProperties, - jobId: { - serializedName: "jobId", + code: { + serializedName: "code", type: { name: "String" } }, - jobFriendlyName: { - serializedName: "jobFriendlyName", + message: { + serializedName: "message", type: { name: "String" } }, - jobStatus: { - serializedName: "jobStatus", + possibleCauses: { + serializedName: "possibleCauses", type: { name: "String" } }, - affectedObjectType: { - serializedName: "affectedObjectType", + recommendedAction: { + serializedName: "recommendedAction", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", type: { name: "String" } @@ -7682,253 +16068,226 @@ export const JobStatusEventDetails: msRest.CompositeMapper = { } }; -export const JobTaskDetails: msRest.CompositeMapper = { - serializedName: "JobTaskDetails", +export const ReplicationEligibilityResultsProperties: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsProperties", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "JobTaskDetails", + className: "ReplicationEligibilityResultsProperties", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - jobTask: { - serializedName: "jobTask", + clientRequestId: { + readOnly: true, + serializedName: "clientRequestId", type: { - name: "Composite", - className: "JobEntity" + name: "String" + } + }, + errors: { + serializedName: "errors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationEligibilityResultsErrorInfo" + } + } } } } } }; -export const LogicalNetworkProperties: msRest.CompositeMapper = { - serializedName: "LogicalNetworkProperties", +export const ReplicationEligibilityResults: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResults", type: { name: "Composite", - className: "LogicalNetworkProperties", + className: "ReplicationEligibilityResults", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - networkVirtualizationStatus: { - serializedName: "networkVirtualizationStatus", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - logicalNetworkUsage: { - serializedName: "logicalNetworkUsage", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - logicalNetworkDefinitionsStatus: { - serializedName: "logicalNetworkDefinitionsStatus", + properties: { + readOnly: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ReplicationEligibilityResultsProperties" } } } } }; -export const LogicalNetwork: msRest.CompositeMapper = { - serializedName: "LogicalNetwork", +export const ReplicationEligibilityResultsCollection: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsCollection", type: { name: "Composite", - className: "LogicalNetwork", + className: "ReplicationEligibilityResultsCollection", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + value: { + serializedName: "value", type: { - name: "Composite", - className: "LogicalNetworkProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationEligibilityResults" + } + } } } } } }; -export const ManualActionTaskDetails: msRest.CompositeMapper = { - serializedName: "ManualActionTaskDetails", +export const ReplicationGroupDetails: msRest.CompositeMapper = { + serializedName: "ReplicationGroupDetails", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "ManualActionTaskDetails", + polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, + uberParent: "ConfigurationSettings", + className: "ReplicationGroupDetails", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - instructions: { - serializedName: "instructions", - type: { - name: "String" - } - }, - observation: { - serializedName: "observation", - type: { - name: "String" - } - } + ...ConfigurationSettings.type.modelProperties } } }; -export const RetentionVolume: msRest.CompositeMapper = { - serializedName: "RetentionVolume", +export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { + serializedName: "ReplicationProtectedItemProperties", type: { name: "Composite", - className: "RetentionVolume", + className: "ReplicationProtectedItemProperties", modelProperties: { - volumeName: { - serializedName: "volumeName", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - capacityInBytes: { - serializedName: "capacityInBytes", + protectedItemType: { + serializedName: "protectedItemType", type: { - name: "Number" + name: "String" } }, - freeSpaceInBytes: { - serializedName: "freeSpaceInBytes", + protectableItemId: { + serializedName: "protectableItemId", type: { - name: "Number" + name: "String" } }, - thresholdPercentage: { - serializedName: "thresholdPercentage", + recoveryServicesProviderId: { + serializedName: "recoveryServicesProviderId", type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const VersionDetails: msRest.CompositeMapper = { - serializedName: "VersionDetails", - type: { - name: "Composite", - className: "VersionDetails", - modelProperties: { - version: { - serializedName: "version", + }, + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } }, - expiryDate: { - serializedName: "expiryDate", + primaryFabricProvider: { + serializedName: "primaryFabricProvider", type: { - name: "DateTime" + name: "String" } }, - status: { - serializedName: "status", + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", type: { name: "String" } - } - } - } -}; - -export const MasterTargetServer: msRest.CompositeMapper = { - serializedName: "MasterTargetServer", - type: { - name: "Composite", - className: "MasterTargetServer", - modelProperties: { - id: { - serializedName: "id", + }, + recoveryFabricId: { + serializedName: "recoveryFabricId", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + primaryProtectionContainerFriendlyName: { + serializedName: "primaryProtectionContainerFriendlyName", type: { name: "String" } }, - name: { - serializedName: "name", + recoveryProtectionContainerFriendlyName: { + serializedName: "recoveryProtectionContainerFriendlyName", type: { name: "String" } }, - osType: { - serializedName: "osType", + protectionState: { + serializedName: "protectionState", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + protectionStateDescription: { + serializedName: "protectionStateDescription", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + activeLocation: { + serializedName: "activeLocation", type: { - name: "DateTime" + name: "String" } }, - versionStatus: { - serializedName: "versionStatus", + testFailoverState: { + serializedName: "testFailoverState", type: { name: "String" } }, - retentionVolumes: { - serializedName: "retentionVolumes", + testFailoverStateDescription: { + serializedName: "testFailoverStateDescription", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RetentionVolume" - } - } + name: "String" } }, - dataStores: { - serializedName: "dataStores", + allowedOperations: { + serializedName: "allowedOperations", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DataStore" + name: "String" } } } }, - validationErrors: { - serializedName: "validationErrors", + replicationHealth: { + serializedName: "replicationHealth", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" + } + }, + failoverHealth: { + serializedName: "failoverHealth", + type: { + name: "String" } }, healthErrors: { @@ -7943,74 +16302,58 @@ export const MasterTargetServer: msRest.CompositeMapper = { } } }, - diskCount: { - serializedName: "diskCount", + policyId: { + serializedName: "policyId", type: { - name: "Number" + name: "String" } }, - osVersion: { - serializedName: "osVersion", + policyFriendlyName: { + serializedName: "policyFriendlyName", type: { name: "String" } }, - agentExpiryDate: { - serializedName: "agentExpiryDate", + lastSuccessfulFailoverTime: { + serializedName: "lastSuccessfulFailoverTime", type: { name: "DateTime" } }, - marsAgentVersion: { - serializedName: "marsAgentVersion", - type: { - name: "String" - } - }, - marsAgentExpiryDate: { - serializedName: "marsAgentExpiryDate", + lastSuccessfulTestFailoverTime: { + serializedName: "lastSuccessfulTestFailoverTime", type: { name: "DateTime" } }, - agentVersionDetails: { - serializedName: "agentVersionDetails", + currentScenario: { + serializedName: "currentScenario", type: { name: "Composite", - className: "VersionDetails" + className: "CurrentScenarioDetails" } }, - marsAgentVersionDetails: { - serializedName: "marsAgentVersionDetails", + failoverRecoveryPointId: { + serializedName: "failoverRecoveryPointId", type: { - name: "Composite", - className: "VersionDetails" + name: "String" } - } - } - } -}; - -export const MobilityServiceUpdate: msRest.CompositeMapper = { - serializedName: "MobilityServiceUpdate", - type: { - name: "Composite", - className: "MobilityServiceUpdate", - modelProperties: { - version: { - serializedName: "version", + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "ReplicationProviderSpecificSettings" } }, - rebootStatus: { - serializedName: "rebootStatus", + recoveryContainerId: { + serializedName: "recoveryContainerId", type: { name: "String" } }, - osType: { - serializedName: "osType", + eventCorrelationId: { + serializedName: "eventCorrelationId", type: { name: "String" } @@ -8019,263 +16362,286 @@ export const MobilityServiceUpdate: msRest.CompositeMapper = { } }; -export const Subnet: msRest.CompositeMapper = { - serializedName: "Subnet", +export const ReplicationProtectedItem: msRest.CompositeMapper = { + serializedName: "ReplicationProtectedItem", type: { name: "Composite", - className: "Subnet", + className: "ReplicationProtectedItem", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - addressList: { - serializedName: "addressList", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ReplicationProtectedItemProperties" } } } } }; -export const NetworkProperties: msRest.CompositeMapper = { - serializedName: "NetworkProperties", +export const ReplicationProtectionIntentProperties: msRest.CompositeMapper = { + serializedName: "ReplicationProtectionIntentProperties", type: { name: "Composite", - className: "NetworkProperties", + className: "ReplicationProtectionIntentProperties", modelProperties: { - fabricType: { - serializedName: "fabricType", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - subnets: { - serializedName: "subnets", + jobId: { + readOnly: true, + serializedName: "jobId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Subnet" - } - } + name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + jobState: { + readOnly: true, + serializedName: "jobState", type: { name: "String" } }, - networkType: { - serializedName: "networkType", + isActive: { + readOnly: true, + serializedName: "isActive", + type: { + name: "Boolean" + } + }, + creationTimeUTC: { + readOnly: true, + serializedName: "creationTimeUTC", type: { name: "String" } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "ReplicationProtectionIntentProviderSpecificSettings" + } } } } }; -export const Network: msRest.CompositeMapper = { - serializedName: "Network", +export const ReplicationProtectionIntent: msRest.CompositeMapper = { + serializedName: "ReplicationProtectionIntent", type: { name: "Composite", - className: "Network", + className: "ReplicationProtectionIntent", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "NetworkProperties" + className: "ReplicationProtectionIntentProperties" } } } } }; -export const NetworkMappingProperties: msRest.CompositeMapper = { - serializedName: "NetworkMappingProperties", +export const ResolveHealthError: msRest.CompositeMapper = { + serializedName: "ResolveHealthError", type: { name: "Composite", - className: "NetworkMappingProperties", + className: "ResolveHealthError", modelProperties: { - state: { - serializedName: "state", - type: { - name: "String" - } - }, - primaryNetworkFriendlyName: { - serializedName: "primaryNetworkFriendlyName", - type: { - name: "String" - } - }, - primaryNetworkId: { - serializedName: "primaryNetworkId", - type: { - name: "String" - } - }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", - type: { - name: "String" - } - }, - recoveryNetworkFriendlyName: { - serializedName: "recoveryNetworkFriendlyName", - type: { - name: "String" - } - }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", - type: { - name: "String" - } - }, - recoveryFabricArmId: { - serializedName: "recoveryFabricArmId", + healthErrorId: { + serializedName: "healthErrorId", type: { name: "String" } - }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", - type: { - name: "String" - } - }, - fabricSpecificSettings: { - serializedName: "fabricSpecificSettings", + } + } + } +}; + +export const ResolveHealthInputProperties: msRest.CompositeMapper = { + serializedName: "ResolveHealthInputProperties", + type: { + name: "Composite", + className: "ResolveHealthInputProperties", + modelProperties: { + healthErrors: { + serializedName: "healthErrors", type: { - name: "Composite", - className: "NetworkMappingFabricSpecificSettings" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResolveHealthError" + } + } } } } } }; -export const NetworkMapping: msRest.CompositeMapper = { - serializedName: "NetworkMapping", +export const ResolveHealthInput: msRest.CompositeMapper = { + serializedName: "ResolveHealthInput", type: { name: "Composite", - className: "NetworkMapping", + className: "ResolveHealthInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "NetworkMappingProperties" + className: "ResolveHealthInputProperties" } } } } }; -export const OperationsDiscovery: msRest.CompositeMapper = { - serializedName: "OperationsDiscovery", +export const ResourceHealthSummary: msRest.CompositeMapper = { + serializedName: "ResourceHealthSummary", type: { name: "Composite", - className: "OperationsDiscovery", + className: "ResourceHealthSummary", modelProperties: { - name: { - serializedName: "name", + resourceCount: { + serializedName: "resourceCount", type: { - name: "String" + name: "Number" } }, - display: { - serializedName: "display", + issues: { + serializedName: "issues", type: { - name: "Composite", - className: "Display" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthErrorSummary" + } + } } }, - origin: { - serializedName: "origin", + categorizedResourceCounts: { + serializedName: "categorizedResourceCounts", + type: { + name: "Dictionary", + value: { + type: { + name: "Number" + } + } + } + } + } + } +}; + +export const ResumeJobParamsProperties: msRest.CompositeMapper = { + serializedName: "ResumeJobParamsProperties", + type: { + name: "Composite", + className: "ResumeJobParamsProperties", + modelProperties: { + comments: { + serializedName: "comments", type: { name: "String" } - }, + } + } + } +}; + +export const ResumeJobParams: msRest.CompositeMapper = { + serializedName: "ResumeJobParams", + type: { + name: "Composite", + className: "ResumeJobParams", + modelProperties: { properties: { serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "ResumeJobParamsProperties" } } } } }; -export const PlannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInputProperties", +export const ResyncProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "ResyncProviderSpecificInput", type: { name: "Composite", - className: "PlannedFailoverInputProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ResyncProviderSpecificInput", + className: "ResyncProviderSpecificInput", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, + } + } + } +}; + +export const ResyncInputProperties: msRest.CompositeMapper = { + serializedName: "ResyncInputProperties", + type: { + name: "Composite", + className: "ResyncInputProperties", + modelProperties: { providerSpecificDetails: { + required: true, serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "ProviderSpecificFailoverInput" + className: "ResyncProviderSpecificInput" } } } } }; -export const PlannedFailoverInput: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInput", +export const ResyncInput: msRest.CompositeMapper = { + serializedName: "ResyncInput", type: { name: "Composite", - className: "PlannedFailoverInput", + className: "ResyncInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "PlannedFailoverInputProperties" + className: "ResyncInputProperties" } } } } }; -export const PolicyProperties: msRest.CompositeMapper = { - serializedName: "PolicyProperties", +export const ReverseReplicationInputProperties: msRest.CompositeMapper = { + serializedName: "ReverseReplicationInputProperties", type: { name: "Composite", - className: "PolicyProperties", + className: "ReverseReplicationInputProperties", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + failoverDirection: { + serializedName: "failoverDirection", type: { name: "String" } @@ -8284,254 +16650,173 @@ export const PolicyProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "PolicyProviderSpecificDetails" + className: "ReverseReplicationProviderSpecificInput" } } } } }; -export const Policy: msRest.CompositeMapper = { - serializedName: "Policy", +export const ReverseReplicationInput: msRest.CompositeMapper = { + serializedName: "ReverseReplicationInput", type: { name: "Composite", - className: "Policy", + className: "ReverseReplicationInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "PolicyProperties" + className: "ReverseReplicationInputProperties" } } } } }; -export const ProcessServer: msRest.CompositeMapper = { - serializedName: "ProcessServer", +export const RoleAssignment: msRest.CompositeMapper = { + serializedName: "RoleAssignment", type: { name: "Composite", - className: "ProcessServer", + className: "RoleAssignment", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, id: { serializedName: "id", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", - type: { - name: "String" - } - }, - osType: { - serializedName: "osType", - type: { - name: "String" - } - }, - agentVersion: { - serializedName: "agentVersion", - type: { - name: "String" - } - }, - lastHeartbeat: { - serializedName: "lastHeartbeat", - type: { - name: "DateTime" - } - }, - versionStatus: { - serializedName: "versionStatus", - type: { - name: "String" - } - }, - mobilityServiceUpdates: { - serializedName: "mobilityServiceUpdates", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MobilityServiceUpdate" - } - } - } - }, - hostId: { - serializedName: "hostId", - type: { - name: "String" - } - }, - machineCount: { - serializedName: "machineCount", - type: { - name: "String" - } - }, - replicationPairCount: { - serializedName: "replicationPairCount", - type: { - name: "String" - } - }, - systemLoad: { - serializedName: "systemLoad", - type: { - name: "String" - } - }, - systemLoadStatus: { - serializedName: "systemLoadStatus", + name: { + serializedName: "name", type: { name: "String" } }, - cpuLoad: { - serializedName: "cpuLoad", + scope: { + serializedName: "scope", type: { name: "String" } }, - cpuLoadStatus: { - serializedName: "cpuLoadStatus", + principalId: { + serializedName: "principalId", type: { name: "String" } }, - totalMemoryInBytes: { - serializedName: "totalMemoryInBytes", - type: { - name: "Number" - } - }, - availableMemoryInBytes: { - serializedName: "availableMemoryInBytes", - type: { - name: "Number" - } - }, - memoryUsageStatus: { - serializedName: "memoryUsageStatus", + roleDefinitionId: { + serializedName: "roleDefinitionId", type: { name: "String" } - }, - totalSpaceInBytes: { - serializedName: "totalSpaceInBytes", - type: { - name: "Number" - } - }, - availableSpaceInBytes: { - serializedName: "availableSpaceInBytes", - type: { - name: "Number" - } - }, - spaceUsageStatus: { - serializedName: "spaceUsageStatus", + } + } + } +}; + +export const RunAsAccount: msRest.CompositeMapper = { + serializedName: "RunAsAccount", + type: { + name: "Composite", + className: "RunAsAccount", + modelProperties: { + accountId: { + serializedName: "accountId", type: { name: "String" } }, - psServiceStatus: { - serializedName: "psServiceStatus", + accountName: { + serializedName: "accountName", type: { name: "String" } - }, - sslCertExpiryDate: { - serializedName: "sslCertExpiryDate", - type: { - name: "DateTime" - } - }, - sslCertExpiryRemainingDays: { - serializedName: "sslCertExpiryRemainingDays", - type: { - name: "Number" - } - }, - osVersion: { - serializedName: "osVersion", + } + } + } +}; + +export const ScriptActionTaskDetails: msRest.CompositeMapper = { + serializedName: "ScriptActionTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "ScriptActionTaskDetails", + modelProperties: { + ...TaskTypeDetails.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - healthErrors: { - serializedName: "healthErrors", + path: { + serializedName: "path", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } }, - agentExpiryDate: { - serializedName: "agentExpiryDate", + output: { + serializedName: "output", type: { - name: "DateTime" + name: "String" } }, - agentVersionDetails: { - serializedName: "agentVersionDetails", + isPrimarySideScript: { + serializedName: "isPrimarySideScript", type: { - name: "Composite", - className: "VersionDetails" + name: "Boolean" } } } } }; -export const ProtectableItemProperties: msRest.CompositeMapper = { - serializedName: "ProtectableItemProperties", +export const IPConfigInputDetails: msRest.CompositeMapper = { + serializedName: "IPConfigInputDetails", type: { name: "Composite", - className: "ProtectableItemProperties", + className: "IPConfigInputDetails", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + ipConfigName: { + serializedName: "ipConfigName", type: { name: "String" } }, - protectionStatus: { - serializedName: "protectionStatus", + isPrimary: { + serializedName: "isPrimary", + type: { + name: "Boolean" + } + }, + isSeletedForFailover: { + serializedName: "isSeletedForFailover", + type: { + name: "Boolean" + } + }, + recoverySubnetName: { + serializedName: "recoverySubnetName", type: { name: "String" } }, - replicationProtectedItemId: { - serializedName: "replicationProtectedItemId", + recoveryStaticIPAddress: { + serializedName: "recoveryStaticIPAddress", type: { name: "String" } }, - recoveryServicesProviderId: { - serializedName: "recoveryServicesProviderId", + recoveryPublicIPAddressId: { + serializedName: "recoveryPublicIPAddressId", type: { name: "String" } }, - protectionReadinessErrors: { - serializedName: "protectionReadinessErrors", + recoveryLBBackendAddressPoolIds: { + serializedName: "recoveryLBBackendAddressPoolIds", type: { name: "Sequence", element: { @@ -8541,8 +16826,26 @@ export const ProtectableItemProperties: msRest.CompositeMapper = { } } }, - supportedReplicationProviders: { - serializedName: "supportedReplicationProviders", + tfoSubnetName: { + serializedName: "tfoSubnetName", + type: { + name: "String" + } + }, + tfoStaticIPAddress: { + serializedName: "tfoStaticIPAddress", + type: { + name: "String" + } + }, + tfoPublicIPAddressId: { + serializedName: "tfoPublicIPAddressId", + type: { + name: "String" + } + }, + tfoLBBackendAddressPoolIds: { + serializedName: "tfoLBBackendAddressPoolIds", type: { name: "Sequence", element: { @@ -8551,44 +16854,53 @@ export const ProtectableItemProperties: msRest.CompositeMapper = { } } } - }, - customDetails: { - serializedName: "customDetails", + } + } + } +}; + +export const StorageClassificationProperties: msRest.CompositeMapper = { + serializedName: "StorageClassificationProperties", + type: { + name: "Composite", + className: "StorageClassificationProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { - name: "Composite", - className: "ConfigurationSettings" + name: "String" } } } } }; -export const ProtectableItem: msRest.CompositeMapper = { - serializedName: "ProtectableItem", +export const StorageClassification: msRest.CompositeMapper = { + serializedName: "StorageClassification", type: { name: "Composite", - className: "ProtectableItem", + className: "StorageClassification", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ProtectableItemProperties" + className: "StorageClassificationProperties" } } } } }; -export const ProtectableItemQueryParameter: msRest.CompositeMapper = { - serializedName: "ProtectableItemQueryParameter", +export const StorageClassificationMappingProperties: msRest.CompositeMapper = { + serializedName: "StorageClassificationMappingProperties", type: { name: "Composite", - className: "ProtectableItemQueryParameter", + className: "StorageClassificationMappingProperties", modelProperties: { - state: { - serializedName: "state", + targetStorageClassificationId: { + serializedName: "targetStorageClassificationId", type: { name: "String" } @@ -8597,387 +16909,472 @@ export const ProtectableItemQueryParameter: msRest.CompositeMapper = { } }; -export const ProtectedItemsQueryParameter: msRest.CompositeMapper = { - serializedName: "ProtectedItemsQueryParameter", +export const StorageClassificationMapping: msRest.CompositeMapper = { + serializedName: "StorageClassificationMapping", type: { name: "Composite", - className: "ProtectedItemsQueryParameter", + className: "StorageClassificationMapping", modelProperties: { - sourceFabricName: { - serializedName: "sourceFabricName", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "StorageClassificationMappingProperties" } - }, - recoveryPlanName: { - serializedName: "recoveryPlanName", + } + } + } +}; + +export const StorageMappingInputProperties: msRest.CompositeMapper = { + serializedName: "StorageMappingInputProperties", + type: { + name: "Composite", + className: "StorageMappingInputProperties", + modelProperties: { + targetStorageClassificationId: { + serializedName: "targetStorageClassificationId", type: { name: "String" } - }, - vCenterName: { - serializedName: "vCenterName", + } + } + } +}; + +export const StorageClassificationMappingInput: msRest.CompositeMapper = { + serializedName: "StorageClassificationMappingInput", + type: { + name: "Composite", + className: "StorageClassificationMappingInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "StorageMappingInputProperties" + } + } + } + } +}; + +export const SupportedOSDetails: msRest.CompositeMapper = { + serializedName: "SupportedOSDetails", + type: { + name: "Composite", + className: "SupportedOSDetails", + modelProperties: { + osName: { + serializedName: "osName", type: { name: "String" } }, - instanceType: { - serializedName: "instanceType", + osType: { + serializedName: "osType", type: { name: "String" } }, - multiVmGroupCreateOption: { - serializedName: "multiVmGroupCreateOption", + osVersions: { + serializedName: "osVersions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OSVersionWrapper" + } + } } } } } }; -export const ProtectionContainerFabricSpecificDetails: msRest.CompositeMapper = { - serializedName: "ProtectionContainerFabricSpecificDetails", +export const SupportedOSProperty: msRest.CompositeMapper = { + serializedName: "SupportedOSProperty", type: { name: "Composite", - className: "ProtectionContainerFabricSpecificDetails", + className: "SupportedOSProperty", modelProperties: { instanceType: { - readOnly: true, serializedName: "instanceType", type: { name: "String" } + }, + supportedOs: { + serializedName: "supportedOs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SupportedOSDetails" + } + } + } } } } }; -export const ProtectionContainerProperties: msRest.CompositeMapper = { - serializedName: "ProtectionContainerProperties", +export const SupportedOSProperties: msRest.CompositeMapper = { + serializedName: "SupportedOSProperties", type: { name: "Composite", - className: "ProtectionContainerProperties", + className: "SupportedOSProperties", modelProperties: { - fabricFriendlyName: { - serializedName: "fabricFriendlyName", - type: { - name: "String" - } - }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - fabricType: { - serializedName: "fabricType", - type: { - name: "String" - } - }, - protectedItemCount: { - serializedName: "protectedItemCount", + supportedOsList: { + serializedName: "supportedOsList", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SupportedOSProperty" + } + } } - }, - pairingStatus: { - serializedName: "pairingStatus", + } + } + } +}; + +export const SupportedOperatingSystems: msRest.CompositeMapper = { + serializedName: "SupportedOperatingSystems", + type: { + name: "Composite", + className: "SupportedOperatingSystems", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "SupportedOSProperties" } - }, - role: { - serializedName: "role", + } + } + } +}; + +export const SwitchProtectionInputProperties: msRest.CompositeMapper = { + serializedName: "SwitchProtectionInputProperties", + type: { + name: "Composite", + className: "SwitchProtectionInputProperties", + modelProperties: { + replicationProtectedItemName: { + serializedName: "replicationProtectedItemName", type: { name: "String" } }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "ProtectionContainerFabricSpecificDetails" + className: "SwitchProtectionProviderSpecificInput" } } } } }; -export const ProtectionContainer: msRest.CompositeMapper = { - serializedName: "ProtectionContainer", +export const SwitchProtectionInput: msRest.CompositeMapper = { + serializedName: "SwitchProtectionInput", type: { name: "Composite", - className: "ProtectionContainer", + className: "SwitchProtectionInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ProtectionContainerProperties" + className: "SwitchProtectionInputProperties" } } } } }; -export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMappingProperties", +export const SwitchProtectionJobDetails: msRest.CompositeMapper = { + serializedName: "SwitchProtectionJobDetails", type: { name: "Composite", - className: "ProtectionContainerMappingProperties", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "SwitchProtectionJobDetails", modelProperties: { - targetProtectionContainerId: { - serializedName: "targetProtectionContainerId", + ...JobDetails.type.modelProperties, + newReplicationProtectedItemId: { + serializedName: "newReplicationProtectedItemId", + type: { + name: "String" + } + } + } + } +}; + +export const TargetComputeSizeProperties: msRest.CompositeMapper = { + serializedName: "TargetComputeSizeProperties", + type: { + name: "Composite", + className: "TargetComputeSizeProperties", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - targetProtectionContainerFriendlyName: { - serializedName: "targetProtectionContainerFriendlyName", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + cpuCoresCount: { + serializedName: "cpuCoresCount", type: { - name: "Composite", - className: "ProtectionContainerMappingProviderSpecificDetails" + name: "Number" } }, - health: { - serializedName: "health", + vCPUsAvailable: { + readOnly: true, + serializedName: "vCPUsAvailable", type: { - name: "String" + name: "Number" } }, - healthErrorDetails: { - serializedName: "healthErrorDetails", + memoryInGB: { + serializedName: "memoryInGB", + type: { + name: "Number" + } + }, + maxDataDiskCount: { + serializedName: "maxDataDiskCount", + type: { + name: "Number" + } + }, + maxNicsCount: { + serializedName: "maxNicsCount", + type: { + name: "Number" + } + }, + errors: { + serializedName: "errors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HealthError" + className: "ComputeSizeErrorDetails" } } } }, - policyId: { - serializedName: "policyId", + highIopsSupported: { + serializedName: "highIopsSupported", type: { name: "String" } }, - state: { - serializedName: "state", + hyperVGenerations: { + serializedName: "hyperVGenerations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - sourceProtectionContainerFriendlyName: { - serializedName: "sourceProtectionContainerFriendlyName", + } + } + } +}; + +export const TargetComputeSize: msRest.CompositeMapper = { + serializedName: "TargetComputeSize", + type: { + name: "Composite", + className: "TargetComputeSize", + modelProperties: { + id: { + serializedName: "id", type: { name: "String" } }, - sourceFabricFriendlyName: { - serializedName: "sourceFabricFriendlyName", + name: { + serializedName: "name", type: { name: "String" } }, - targetFabricFriendlyName: { - serializedName: "targetFabricFriendlyName", + type: { + serializedName: "type", type: { name: "String" } }, - policyFriendlyName: { - serializedName: "policyFriendlyName", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "TargetComputeSizeProperties" } } } } }; -export const ProtectionContainerMapping: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMapping", +export const TestFailoverCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "TestFailoverCleanupInputProperties", type: { name: "Composite", - className: "ProtectionContainerMapping", + className: "TestFailoverCleanupInputProperties", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + comments: { + serializedName: "comments", + constraints: { + MaxLength: 1024 + }, type: { - name: "Composite", - className: "ProtectionContainerMappingProperties" + name: "String" } } } } }; -export const RcmAzureMigrationPolicyDetails: msRest.CompositeMapper = { - serializedName: "RcmAzureMigration", +export const TestFailoverCleanupInput: msRest.CompositeMapper = { + serializedName: "TestFailoverCleanupInput", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "RcmAzureMigrationPolicyDetails", + className: "TestFailoverCleanupInput", 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", + properties: { + required: true, + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "TestFailoverCleanupInputProperties" } } } } }; -export const RecoveryPlanProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProperties", +export const TestFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "TestFailoverInputProperties", type: { name: "Composite", - className: "RecoveryPlanProperties", + className: "TestFailoverInputProperties", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - primaryFabricId: { - serializedName: "primaryFabricId", - type: { - name: "String" - } - }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", - type: { - name: "String" - } - }, - recoveryFabricId: { - serializedName: "recoveryFabricId", - type: { - name: "String" - } - }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", - type: { - name: "String" - } - }, - failoverDeploymentModel: { - serializedName: "failoverDeploymentModel", + failoverDirection: { + serializedName: "failoverDirection", type: { name: "String" } }, - replicationProviders: { - serializedName: "replicationProviders", + networkType: { + serializedName: "networkType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - allowedOperations: { - serializedName: "allowedOperations", + networkId: { + serializedName: "networkId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - lastPlannedFailoverTime: { - serializedName: "lastPlannedFailoverTime", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "DateTime" + name: "Composite", + className: "TestFailoverProviderSpecificInput" } - }, - lastUnplannedFailoverTime: { - serializedName: "lastUnplannedFailoverTime", + } + } + } +}; + +export const TestFailoverInput: msRest.CompositeMapper = { + serializedName: "TestFailoverInput", + type: { + name: "Composite", + className: "TestFailoverInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "DateTime" + name: "Composite", + className: "TestFailoverInputProperties" + } + } + } + } +}; + +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" } }, - lastTestFailoverTime: { - serializedName: "lastTestFailoverTime", + comments: { + serializedName: "comments", type: { - name: "DateTime" + name: "String" } }, - currentScenario: { - serializedName: "currentScenario", + networkName: { + serializedName: "networkName", type: { - name: "Composite", - className: "CurrentScenarioDetails" + name: "String" } }, - currentScenarioStatus: { - serializedName: "currentScenarioStatus", + networkFriendlyName: { + serializedName: "networkFriendlyName", type: { name: "String" } }, - currentScenarioStatusDescription: { - serializedName: "currentScenarioStatusDescription", + networkType: { + serializedName: "networkType", type: { name: "String" } }, - groups: { - serializedName: "groups", + protectedItemDetails: { + serializedName: "protectedItemDetails", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanGroup" + className: "FailoverReplicationProtectedItemDetails" } } } @@ -8986,34 +17383,53 @@ export const RecoveryPlanProperties: msRest.CompositeMapper = { } }; -export const RecoveryPlan: msRest.CompositeMapper = { - serializedName: "RecoveryPlan", +export const TestMigrateCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInputProperties", type: { name: "Composite", - className: "RecoveryPlan", + className: "TestMigrateCleanupInputProperties", + modelProperties: { + comments: { + serializedName: "comments", + constraints: { + MaxLength: 1024 + }, + type: { + name: "String" + } + } + } + } +}; + +export const TestMigrateCleanupInput: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInput", + type: { + name: "Composite", + className: "TestMigrateCleanupInput", modelProperties: { - ...Resource.type.modelProperties, properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanProperties" + className: "TestMigrateCleanupInputProperties" } } } } }; -export const RecoveryPlanProviderSpecificFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProviderSpecificFailoverInput", +export const TestMigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "TestMigrateProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanProviderSpecificFailoverInput", + uberParent: "TestMigrateProviderSpecificInput", + className: "TestMigrateProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -9026,259 +17442,307 @@ export const RecoveryPlanProviderSpecificFailoverInput: msRest.CompositeMapper = } }; -export const RecoveryPlanA2AFailoverInput: msRest.CompositeMapper = { - serializedName: "A2A", +export const TestMigrateInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateInputProperties", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanA2AFailoverInput", + className: "TestMigrateInputProperties", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { + providerSpecificDetails: { required: true, - serializedName: "recoveryPointType", - type: { - name: "String" - } - }, - cloudServiceCreationOption: { - serializedName: "cloudServiceCreationOption", + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "TestMigrateProviderSpecificInput" } - }, - multiVmSyncPointOption: { - serializedName: "multiVmSyncPointOption", + } + } + } +}; + +export const TestMigrateInput: msRest.CompositeMapper = { + serializedName: "TestMigrateInput", + type: { + name: "Composite", + className: "TestMigrateInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "TestMigrateInputProperties" } } } } }; -export const RecoveryPlanAutomationRunbookActionDetails: msRest.CompositeMapper = { - serializedName: "AutomationRunbookActionDetails", +export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInputProperties", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanAutomationRunbookActionDetails", + className: "UnplannedFailoverInputProperties", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - runbookId: { - serializedName: "runbookId", + failoverDirection: { + serializedName: "failoverDirection", type: { name: "String" } }, - timeout: { - serializedName: "timeout", + sourceSiteOperations: { + serializedName: "sourceSiteOperations", type: { name: "String" } }, - fabricLocation: { + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "UnplannedFailoverProviderSpecificInput" + } + } + } + } +}; + +export const UnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInput", + type: { + name: "Composite", + className: "UnplannedFailoverInput", + modelProperties: { + properties: { required: true, - serializedName: "fabricLocation", + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "UnplannedFailoverInputProperties" } } } } }; -export const RecoveryPlanGroupTaskDetails: msRest.CompositeMapper = { - serializedName: "RecoveryPlanGroupTaskDetails", +export const UpdateMigrationItemProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemProviderSpecificInput", type: { name: "Composite", - polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, - uberParent: "GroupTaskDetails", - className: "RecoveryPlanGroupTaskDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "UpdateMigrationItemProviderSpecificInput", + className: "UpdateMigrationItemProviderSpecificInput", modelProperties: { - ...GroupTaskDetails.type.modelProperties, - name: { - serializedName: "name", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - groupId: { - serializedName: "groupId", + } + } + } +}; + +export const UpdateMigrationItemInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemInputProperties", + type: { + name: "Composite", + className: "UpdateMigrationItemInputProperties", + modelProperties: { + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "UpdateMigrationItemProviderSpecificInput" } - }, - rpGroupType: { - serializedName: "rpGroupType", + } + } + } +}; + +export const UpdateMigrationItemInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemInput", + type: { + name: "Composite", + className: "UpdateMigrationItemInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "UpdateMigrationItemInputProperties" } } } } }; -export const RecoveryPlanHyperVReplicaAzureFailbackInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzureFailback", +export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequestProperties", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanHyperVReplicaAzureFailbackInput", + className: "UpdateMobilityServiceRequestProperties", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - dataSyncOption: { - required: true, - serializedName: "dataSyncOption", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } - }, - recoveryVmCreationOption: { - required: true, - serializedName: "recoveryVmCreationOption", + } + } + } +}; + +export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequest", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequest", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "UpdateMobilityServiceRequestProperties" } } } } }; -export const RecoveryPlanHyperVReplicaAzureFailoverInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateNetworkMappingInputProperties", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanHyperVReplicaAzureFailoverInput", + className: "UpdateNetworkMappingInputProperties", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - required: true, - serializedName: "vaultLocation", - type: { - name: "String" - } - }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", + recoveryFabricName: { + serializedName: "recoveryFabricName", type: { name: "String" } }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", type: { name: "String" } }, - recoveryPointType: { - serializedName: "recoveryPointType", + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", type: { - name: "String" + name: "Composite", + className: "FabricSpecificUpdateNetworkMappingInput" } } } } }; -export const RecoveryPlanInMageAzureV2FailoverInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const UpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "UpdateNetworkMappingInput", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanInMageAzureV2FailoverInput", + className: "UpdateNetworkMappingInput", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - required: true, - serializedName: "vaultLocation", - type: { - name: "String" - } - }, - recoveryPointType: { - required: true, - serializedName: "recoveryPointType", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "UpdateNetworkMappingInputProperties" } - }, - useMultiVmSyncPoint: { - serializedName: "useMultiVmSyncPoint", + } + } + } +}; + +export const UpdatePolicyInputProperties: msRest.CompositeMapper = { + serializedName: "UpdatePolicyInputProperties", + type: { + name: "Composite", + className: "UpdatePolicyInputProperties", + modelProperties: { + replicationProviderSettings: { + serializedName: "replicationProviderSettings", type: { - name: "String" + name: "Composite", + className: "PolicyProviderSpecificInput" } } } } }; -export const RecoveryPlanInMageFailoverInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const UpdatePolicyInput: msRest.CompositeMapper = { + serializedName: "UpdatePolicyInput", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanInMageFailoverInput", + className: "UpdatePolicyInput", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { - required: true, - serializedName: "recoveryPointType", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "UpdatePolicyInputProperties" } } } } }; -export const RecoveryPlanManualActionDetails: msRest.CompositeMapper = { - serializedName: "ManualActionDetails", +export const UpdateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateProtectionContainerMappingInputProperties", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanManualActionDetails", + className: "UpdateProtectionContainerMappingInputProperties", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - description: { - serializedName: "description", + providerSpecificInput: { + serializedName: "providerSpecificInput", type: { - name: "String" + name: "Composite", + className: "ReplicationProviderSpecificUpdateContainerMappingInput" } } } } }; -export const RecoveryPlanPlannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanPlannedFailoverInputProperties", +export const UpdateProtectionContainerMappingInput: msRest.CompositeMapper = { + serializedName: "UpdateProtectionContainerMappingInput", type: { name: "Composite", - className: "RecoveryPlanPlannedFailoverInputProperties", + className: "UpdateProtectionContainerMappingInput", modelProperties: { - failoverDirection: { - required: true, - serializedName: "failoverDirection", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "UpdateProtectionContainerMappingInputProperties" } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + } + } + } +}; + +export const UpdateRecoveryPlanInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateRecoveryPlanInputProperties", + type: { + name: "Composite", + className: "UpdateRecoveryPlanInputProperties", + modelProperties: { + groups: { + serializedName: "groups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanProviderSpecificFailoverInput" + className: "RecoveryPlanGroup" } } } @@ -9287,256 +17751,179 @@ export const RecoveryPlanPlannedFailoverInputProperties: msRest.CompositeMapper } }; -export const RecoveryPlanPlannedFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanPlannedFailoverInput", +export const UpdateRecoveryPlanInput: msRest.CompositeMapper = { + serializedName: "UpdateRecoveryPlanInput", type: { name: "Composite", - className: "RecoveryPlanPlannedFailoverInput", + className: "UpdateRecoveryPlanInput", modelProperties: { properties: { - required: true, serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanPlannedFailoverInputProperties" + className: "UpdateRecoveryPlanInputProperties" } } } } }; -export const RecoveryPlanScriptActionDetails: msRest.CompositeMapper = { - serializedName: "ScriptActionDetails", +export const VMNicInputDetails: msRest.CompositeMapper = { + serializedName: "VMNicInputDetails", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanScriptActionDetails", + className: "VMNicInputDetails", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - path: { - required: true, - serializedName: "path", + nicId: { + serializedName: "nicId", type: { name: "String" } }, - timeout: { - serializedName: "timeout", + ipConfigs: { + serializedName: "ipConfigs", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPConfigInputDetails" + } + } } }, - fabricLocation: { - required: true, - serializedName: "fabricLocation", + selectionType: { + serializedName: "selectionType", type: { name: "String" } - } - } - } -}; - -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", + }, + recoveryNetworkSecurityGroupId: { + serializedName: "recoveryNetworkSecurityGroupId", type: { name: "String" } }, - groupId: { - serializedName: "groupId", + enableAcceleratedNetworkingOnRecovery: { + serializedName: "enableAcceleratedNetworkingOnRecovery", type: { - name: "String" + name: "Boolean" } }, - rpGroupType: { - serializedName: "rpGroupType", + tfoNetworkSecurityGroupId: { + serializedName: "tfoNetworkSecurityGroupId", type: { name: "String" } - } - } - } -}; - -export const RecoveryPlanTestFailoverCleanupInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverCleanupInputProperties", - type: { - name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInputProperties", - modelProperties: { - comments: { - serializedName: "comments", + }, + enableAcceleratedNetworkingOnTfo: { + serializedName: "enableAcceleratedNetworkingOnTfo", type: { - name: "String" + name: "Boolean" } - } - } - } -}; - -export const RecoveryPlanTestFailoverCleanupInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverCleanupInput", - type: { - name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInput", - modelProperties: { - properties: { - required: true, - serializedName: "properties", + }, + recoveryNicName: { + serializedName: "recoveryNicName", type: { - name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInputProperties" + name: "String" } - } - } - } -}; - -export const RecoveryPlanTestFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverInputProperties", - type: { - name: "Composite", - className: "RecoveryPlanTestFailoverInputProperties", - modelProperties: { - failoverDirection: { - required: true, - serializedName: "failoverDirection", + }, + recoveryNicResourceGroupName: { + serializedName: "recoveryNicResourceGroupName", type: { name: "String" } }, - networkType: { - required: true, - serializedName: "networkType", + reuseExistingNic: { + serializedName: "reuseExistingNic", type: { - name: "String" + name: "Boolean" } }, - networkId: { - serializedName: "networkId", + tfoNicName: { + serializedName: "tfoNicName", type: { name: "String" } }, - skipTestFailoverCleanup: { - serializedName: "skipTestFailoverCleanup", + tfoNicResourceGroupName: { + serializedName: "tfoNicResourceGroupName", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + tfoReuseExistingNic: { + serializedName: "tfoReuseExistingNic", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanProviderSpecificFailoverInput" - } - } + name: "Boolean" } } } } }; -export const RecoveryPlanTestFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverInput", +export const UpdateReplicationProtectedItemInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemInputProperties", type: { name: "Composite", - className: "RecoveryPlanTestFailoverInput", + className: "UpdateReplicationProtectedItemInputProperties", modelProperties: { - properties: { - required: true, - serializedName: "properties", + recoveryAzureVMName: { + serializedName: "recoveryAzureVMName", type: { - name: "Composite", - className: "RecoveryPlanTestFailoverInputProperties" + name: "String" } - } - } - } -}; - -export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanUnplannedFailoverInputProperties", - type: { - name: "Composite", - className: "RecoveryPlanUnplannedFailoverInputProperties", - modelProperties: { - failoverDirection: { - required: true, - serializedName: "failoverDirection", + }, + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", type: { name: "String" } }, - sourceSiteOperations: { - required: true, - serializedName: "sourceSiteOperations", + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + 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: "RecoveryPlanProviderSpecificFailoverInput" + className: "VMNicInputDetails" } } } - } - } - } -}; - -export const RecoveryPlanUnplannedFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanUnplannedFailoverInput", - type: { - name: "Composite", - className: "RecoveryPlanUnplannedFailoverInput", - modelProperties: { - properties: { - required: true, - serializedName: "properties", - type: { - name: "Composite", - className: "RecoveryPlanUnplannedFailoverInputProperties" - } - } - } - } -}; - -export const RecoveryPointProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPointProperties", - type: { - name: "Composite", - className: "RecoveryPointProperties", - modelProperties: { - recoveryPointTime: { - serializedName: "recoveryPointTime", + }, + licenseType: { + serializedName: "licenseType", type: { - name: "DateTime" + name: "String" } }, - recoveryPointType: { - serializedName: "recoveryPointType", + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { name: "String" } @@ -9545,110 +17932,95 @@ export const RecoveryPointProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "ProviderSpecificRecoveryPointDetails" + className: "UpdateReplicationProtectedItemProviderInput" } } } } }; -export const RecoveryPoint: msRest.CompositeMapper = { - serializedName: "RecoveryPoint", +export const UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemInput", type: { name: "Composite", - className: "RecoveryPoint", + className: "UpdateReplicationProtectedItemInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "RecoveryPointProperties" + className: "UpdateReplicationProtectedItemInputProperties" } } } } }; -export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { - serializedName: "RecoveryServicesProviderProperties", +export const UpdateVCenterRequestProperties: msRest.CompositeMapper = { + serializedName: "UpdateVCenterRequestProperties", type: { name: "Composite", - className: "RecoveryServicesProviderProperties", + className: "UpdateVCenterRequestProperties", modelProperties: { - fabricType: { - serializedName: "fabricType", - type: { - name: "String" - } - }, friendlyName: { serializedName: "friendlyName", type: { name: "String" } }, - providerVersion: { - serializedName: "providerVersion", - type: { - name: "String" - } - }, - serverVersion: { - serializedName: "serverVersion", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - providerVersionState: { - serializedName: "providerVersionState", + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - providerVersionExpiryDate: { - serializedName: "providerVersionExpiryDate", - type: { - name: "DateTime" - } - }, - fabricFriendlyName: { - serializedName: "fabricFriendlyName", + port: { + serializedName: "port", type: { name: "String" } }, - lastHeartBeat: { - serializedName: "lastHeartBeat", - type: { - name: "DateTime" - } - }, - connectionStatus: { - serializedName: "connectionStatus", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } - }, - protectedItemCount: { - serializedName: "protectedItemCount", - type: { - name: "Number" - } - }, - allowedScenarios: { - serializedName: "allowedScenarios", + } + } + } +}; + +export const UpdateVCenterRequest: msRest.CompositeMapper = { + serializedName: "UpdateVCenterRequest", + type: { + name: "Composite", + className: "UpdateVCenterRequest", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "UpdateVCenterRequestProperties" } - }, - healthErrorDetails: { - serializedName: "healthErrorDetails", + } + } + } +}; + +export const VaultHealthProperties: msRest.CompositeMapper = { + serializedName: "VaultHealthProperties", + type: { + name: "Composite", + className: "VaultHealthProperties", + modelProperties: { + vaultErrors: { + serializedName: "vaultErrors", type: { name: "Sequence", element: { @@ -9659,106 +18031,92 @@ export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { } } }, - draIdentifier: { - serializedName: "draIdentifier", + protectedItemsHealth: { + serializedName: "protectedItemsHealth", type: { - name: "String" + name: "Composite", + className: "ResourceHealthSummary" } }, - identityDetails: { - serializedName: "identityDetails", + fabricsHealth: { + serializedName: "fabricsHealth", type: { name: "Composite", - className: "IdentityInformation" + className: "ResourceHealthSummary" } }, - providerVersionDetails: { - serializedName: "providerVersionDetails", + containersHealth: { + serializedName: "containersHealth", type: { name: "Composite", - className: "VersionDetails" + className: "ResourceHealthSummary" } } } } }; -export const RecoveryServicesProvider: msRest.CompositeMapper = { - serializedName: "RecoveryServicesProvider", +export const VaultHealthDetails: msRest.CompositeMapper = { + serializedName: "VaultHealthDetails", type: { name: "Composite", - className: "RecoveryServicesProvider", + className: "VaultHealthDetails", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "RecoveryServicesProviderProperties" - } - } - } - } -}; - -export const ReplicationProviderContainerUnmappingInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderContainerUnmappingInput", - type: { - name: "Composite", - className: "ReplicationProviderContainerUnmappingInput", - modelProperties: { - instanceType: { - serializedName: "instanceType", - type: { - name: "String" + className: "VaultHealthProperties" } } } } }; - -export const RemoveProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "RemoveProtectionContainerMappingInputProperties", + +export const VaultSettingProperties: msRest.CompositeMapper = { + serializedName: "VaultSettingProperties", type: { name: "Composite", - className: "RemoveProtectionContainerMappingInputProperties", + className: "VaultSettingProperties", modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + migrationSolutionId: { + serializedName: "migrationSolutionId", type: { - name: "Composite", - className: "ReplicationProviderContainerUnmappingInput" + name: "String" } } } } }; -export const RemoveProtectionContainerMappingInput: msRest.CompositeMapper = { - serializedName: "RemoveProtectionContainerMappingInput", +export const VaultSetting: msRest.CompositeMapper = { + serializedName: "VaultSetting", type: { name: "Composite", - className: "RemoveProtectionContainerMappingInput", + className: "VaultSetting", modelProperties: { + ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "RemoveProtectionContainerMappingInputProperties" + className: "VaultSettingProperties" } } } } }; -export const RenewCertificateInputProperties: msRest.CompositeMapper = { - serializedName: "RenewCertificateInputProperties", +export const VaultSettingCreationInputProperties: msRest.CompositeMapper = { + serializedName: "VaultSettingCreationInputProperties", type: { name: "Composite", - className: "RenewCertificateInputProperties", + className: "VaultSettingCreationInputProperties", modelProperties: { - renewCertificateType: { - serializedName: "renewCertificateType", + migrationSolutionId: { + required: true, + serializedName: "migrationSolutionId", type: { name: "String" } @@ -9767,41 +18125,29 @@ export const RenewCertificateInputProperties: msRest.CompositeMapper = { } }; -export const RenewCertificateInput: msRest.CompositeMapper = { - serializedName: "RenewCertificateInput", +export const VaultSettingCreationInput: msRest.CompositeMapper = { + serializedName: "VaultSettingCreationInput", type: { name: "Composite", - className: "RenewCertificateInput", + className: "VaultSettingCreationInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "RenewCertificateInputProperties" + className: "VaultSettingCreationInputProperties" } } } } }; -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 VCenterProperties: msRest.CompositeMapper = { + serializedName: "VCenterProperties", type: { name: "Composite", - className: "ReplicationProtectedItemProperties", + className: "VCenterProperties", modelProperties: { friendlyName: { serializedName: "friendlyName", @@ -9809,446 +18155,246 @@ export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { name: "String" } }, - protectedItemType: { - serializedName: "protectedItemType", - type: { - name: "String" - } - }, - protectableItemId: { - serializedName: "protectableItemId", - type: { - name: "String" - } - }, - recoveryServicesProviderId: { - serializedName: "recoveryServicesProviderId", - type: { - name: "String" - } - }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", - type: { - name: "String" - } - }, - primaryFabricProvider: { - serializedName: "primaryFabricProvider", - type: { - name: "String" - } - }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", - type: { - name: "String" - } - }, - recoveryFabricId: { - serializedName: "recoveryFabricId", - type: { - name: "String" - } - }, - primaryProtectionContainerFriendlyName: { - serializedName: "primaryProtectionContainerFriendlyName", - type: { - name: "String" - } - }, - recoveryProtectionContainerFriendlyName: { - serializedName: "recoveryProtectionContainerFriendlyName", - type: { - name: "String" - } - }, - protectionState: { - serializedName: "protectionState", - type: { - name: "String" - } - }, - protectionStateDescription: { - serializedName: "protectionStateDescription", - type: { - name: "String" - } - }, - activeLocation: { - serializedName: "activeLocation", - type: { - name: "String" - } - }, - testFailoverState: { - serializedName: "testFailoverState", - type: { - name: "String" - } - }, - testFailoverStateDescription: { - serializedName: "testFailoverStateDescription", + internalId: { + serializedName: "internalId", type: { name: "String" } }, - allowedOperations: { - serializedName: "allowedOperations", + lastHeartbeat: { + serializedName: "lastHeartbeat", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" } }, - replicationHealth: { - serializedName: "replicationHealth", + discoveryStatus: { + serializedName: "discoveryStatus", type: { name: "String" } }, - failoverHealth: { - serializedName: "failoverHealth", + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - healthErrors: { - serializedName: "healthErrors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } - } - }, - policyId: { - serializedName: "policyId", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - policyFriendlyName: { - serializedName: "policyFriendlyName", + infrastructureId: { + serializedName: "infrastructureId", type: { name: "String" } }, - lastSuccessfulFailoverTime: { - serializedName: "lastSuccessfulFailoverTime", - type: { - name: "DateTime" - } - }, - lastSuccessfulTestFailoverTime: { - serializedName: "lastSuccessfulTestFailoverTime", - type: { - name: "DateTime" - } - }, - currentScenario: { - serializedName: "currentScenario", - type: { - name: "Composite", - className: "CurrentScenarioDetails" - } - }, - failoverRecoveryPointId: { - serializedName: "failoverRecoveryPointId", + port: { + serializedName: "port", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", - type: { - name: "Composite", - className: "ReplicationProviderSpecificSettings" - } - }, - recoveryContainerId: { - serializedName: "recoveryContainerId", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } - } - } - } -}; - -export const ReplicationProtectedItem: msRest.CompositeMapper = { - serializedName: "ReplicationProtectedItem", - type: { - name: "Composite", - className: "ReplicationProtectedItem", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "ReplicationProtectedItemProperties" - } - } - } - } -}; - -export const ResourceHealthSummary: msRest.CompositeMapper = { - serializedName: "ResourceHealthSummary", - type: { - name: "Composite", - className: "ResourceHealthSummary", - modelProperties: { - resourceCount: { - serializedName: "resourceCount", - type: { - name: "Number" - } - }, - issues: { - serializedName: "issues", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthErrorSummary" - } - } - } - } - } - } -}; - -export const ResumeJobParamsProperties: msRest.CompositeMapper = { - serializedName: "ResumeJobParamsProperties", - type: { - name: "Composite", - className: "ResumeJobParamsProperties", - modelProperties: { - comments: { - serializedName: "comments", + }, + fabricArmResourceName: { + serializedName: "fabricArmResourceName", type: { name: "String" } + }, + healthErrors: { + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } } } } }; -export const ResumeJobParams: msRest.CompositeMapper = { - serializedName: "ResumeJobParams", +export const VCenter: msRest.CompositeMapper = { + serializedName: "VCenter", type: { name: "Composite", - className: "ResumeJobParams", + className: "VCenter", modelProperties: { + ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ResumeJobParamsProperties" + className: "VCenterProperties" } } } } }; -export const ReverseReplicationInputProperties: msRest.CompositeMapper = { - serializedName: "ReverseReplicationInputProperties", +export const VirtualMachineTaskDetails: msRest.CompositeMapper = { + serializedName: "VirtualMachineTaskDetails", type: { name: "Composite", - className: "ReverseReplicationInputProperties", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "VirtualMachineTaskDetails", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", + ...JobTaskDetails.type.modelProperties, + skippedReason: { + serializedName: "skippedReason", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + skippedReasonString: { + serializedName: "skippedReasonString", type: { - name: "Composite", - className: "ReverseReplicationProviderSpecificInput" + name: "String" } } } } }; -export const ReverseReplicationInput: msRest.CompositeMapper = { - serializedName: "ReverseReplicationInput", +export const VmmDetails: msRest.CompositeMapper = { + serializedName: "VMM", type: { name: "Composite", - className: "ReverseReplicationInput", + polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, + uberParent: "FabricSpecificDetails", + className: "VmmDetails", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "ReverseReplicationInputProperties" - } - } + ...FabricSpecificDetails.type.modelProperties } } }; -export const RunAsAccount: msRest.CompositeMapper = { - serializedName: "RunAsAccount", +export const VmmToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToAzure", type: { name: "Composite", - className: "RunAsAccount", + polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreateNetworkMappingInput", + className: "VmmToAzureCreateNetworkMappingInput", modelProperties: { - accountId: { - serializedName: "accountId", - type: { - name: "String" - } - }, - accountName: { - serializedName: "accountName", - type: { - name: "String" - } - } + ...FabricSpecificCreateNetworkMappingInput.type.modelProperties } } }; -export const SanEnableProtectionInput: msRest.CompositeMapper = { - serializedName: "San", +export const VmmToAzureNetworkMappingSettings: msRest.CompositeMapper = { + serializedName: "VmmToAzure", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "SanEnableProtectionInput", + polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "VmmToAzureNetworkMappingSettings", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties + ...NetworkMappingFabricSpecificSettings.type.modelProperties } } }; -export const ScriptActionTaskDetails: msRest.CompositeMapper = { - serializedName: "ScriptActionTaskDetails", +export const VmmToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToAzure", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "ScriptActionTaskDetails", + polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificUpdateNetworkMappingInput", + className: "VmmToAzureUpdateNetworkMappingInput", 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", - type: { - name: "Boolean" - } - } + ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties } } }; -export const StorageClassificationProperties: msRest.CompositeMapper = { - serializedName: "StorageClassificationProperties", +export const VmmToVmmCreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToVmm", type: { name: "Composite", - className: "StorageClassificationProperties", + polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreateNetworkMappingInput", + className: "VmmToVmmCreateNetworkMappingInput", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - } + ...FabricSpecificCreateNetworkMappingInput.type.modelProperties } } }; -export const StorageClassification: msRest.CompositeMapper = { - serializedName: "StorageClassification", +export const VmmToVmmNetworkMappingSettings: msRest.CompositeMapper = { + serializedName: "VmmToVmm", type: { name: "Composite", - className: "StorageClassification", + polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "VmmToVmmNetworkMappingSettings", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "StorageClassificationProperties" - } - } + ...NetworkMappingFabricSpecificSettings.type.modelProperties } } }; -export const StorageClassificationMappingProperties: msRest.CompositeMapper = { - serializedName: "StorageClassificationMappingProperties", +export const VmmToVmmUpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToVmm", type: { name: "Composite", - className: "StorageClassificationMappingProperties", + polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificUpdateNetworkMappingInput", + className: "VmmToVmmUpdateNetworkMappingInput", modelProperties: { - targetStorageClassificationId: { - serializedName: "targetStorageClassificationId", - type: { - name: "String" - } - } + ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties } } }; -export const StorageClassificationMapping: msRest.CompositeMapper = { - serializedName: "StorageClassificationMapping", +export const VmmVirtualMachineDetails: msRest.CompositeMapper = { + serializedName: "VmmVirtualMachine", type: { name: "Composite", - className: "StorageClassificationMapping", + polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, + uberParent: "ConfigurationSettings", + className: "VmmVirtualMachineDetails", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "StorageClassificationMappingProperties" - } - } + ...HyperVVirtualMachineDetails.type.modelProperties } } }; -export const StorageMappingInputProperties: msRest.CompositeMapper = { - serializedName: "StorageMappingInputProperties", +export const VmNicUpdatesTaskDetails: msRest.CompositeMapper = { + serializedName: "VmNicUpdatesTaskDetails", type: { name: "Composite", - className: "StorageMappingInputProperties", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "VmNicUpdatesTaskDetails", modelProperties: { - targetStorageClassificationId: { - serializedName: "targetStorageClassificationId", + ...TaskTypeDetails.type.modelProperties, + vmId: { + serializedName: "vmId", + type: { + name: "String" + } + }, + nicId: { + serializedName: "nicId", + type: { + name: "String" + } + }, + name: { + serializedName: "name", type: { name: "String" } @@ -10257,74 +18403,66 @@ export const StorageMappingInputProperties: msRest.CompositeMapper = { } }; -export const StorageClassificationMappingInput: msRest.CompositeMapper = { - serializedName: "StorageClassificationMappingInput", +export const VMwareCbtContainerCreationInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "StorageClassificationMappingInput", + polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerCreationInput", + className: "VMwareCbtContainerCreationInput", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "StorageMappingInputProperties" - } - } + ...ReplicationProviderSpecificContainerCreationInput.type.modelProperties } } }; -export const SwitchProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "SwitchProtectionInputProperties", +export const VMwareCbtContainerMappingInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "SwitchProtectionInputProperties", + polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerMappingInput", + className: "VMwareCbtContainerMappingInput", modelProperties: { - replicationProtectedItemName: { - serializedName: "replicationProtectedItemName", + ...ReplicationProviderSpecificContainerMappingInput.type.modelProperties, + keyVaultId: { + required: true, + serializedName: "keyVaultId", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + keyVaultUri: { + required: true, + serializedName: "keyVaultUri", type: { - name: "Composite", - className: "SwitchProtectionProviderSpecificInput" + name: "String" } - } - } - } -}; - -export const SwitchProtectionInput: msRest.CompositeMapper = { - serializedName: "SwitchProtectionInput", - type: { - name: "Composite", - className: "SwitchProtectionInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + storageAccountId: { + required: true, + serializedName: "storageAccountId", type: { - name: "Composite", - className: "SwitchProtectionInputProperties" + name: "String" } - } - } - } -}; - -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", + }, + storageAccountSasSecretName: { + required: true, + serializedName: "storageAccountSasSecretName", + type: { + name: "String" + } + }, + serviceBusConnectionStringSecretName: { + required: true, + serializedName: "serviceBusConnectionStringSecretName", + type: { + name: "String" + } + }, + targetLocation: { + required: true, + serializedName: "targetLocation", type: { name: "String" } @@ -10333,1108 +18471,1058 @@ export const SwitchProtectionJobDetails: msRest.CompositeMapper = { } }; -export const TargetComputeSizeProperties: msRest.CompositeMapper = { - serializedName: "TargetComputeSizeProperties", +export const VMwareCbtDiskInput: msRest.CompositeMapper = { + serializedName: "VMwareCbtDiskInput", type: { name: "Composite", - className: "TargetComputeSizeProperties", + className: "VMwareCbtDiskInput", modelProperties: { - name: { - serializedName: "name", + diskId: { + required: true, + serializedName: "diskId", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + diskType: { + serializedName: "diskType", type: { name: "String" } }, - cpuCoresCount: { - serializedName: "cpuCoresCount", + isOSDisk: { + required: true, + serializedName: "isOSDisk", type: { - name: "Number" + name: "String" } }, - memoryInGB: { - serializedName: "memoryInGB", + logStorageAccountId: { + required: true, + serializedName: "logStorageAccountId", type: { - name: "Number" + name: "String" } }, - maxDataDiskCount: { - serializedName: "maxDataDiskCount", + logStorageAccountSasSecretName: { + required: true, + serializedName: "logStorageAccountSasSecretName", type: { - name: "Number" + name: "String" } }, - maxNicsCount: { - serializedName: "maxNicsCount", + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", type: { - name: "Number" + 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" } }, - errors: { - serializedName: "errors", + disksToInclude: { + required: true, + serializedName: "disksToInclude", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComputeSizeErrorDetails" + className: "VMwareCbtDiskInput" } } } }, - highIopsSupported: { - serializedName: "highIopsSupported", + licenseType: { + serializedName: "licenseType", type: { name: "String" } - } - } - } -}; - -export const TargetComputeSize: msRest.CompositeMapper = { - serializedName: "TargetComputeSize", - type: { - name: "Composite", - className: "TargetComputeSize", - modelProperties: { - id: { - serializedName: "id", + }, + sqlServerLicenseType: { + serializedName: "sqlServerLicenseType", type: { name: "String" } }, - name: { - serializedName: "name", + dataMoverRunAsAccountId: { + required: true, + serializedName: "dataMoverRunAsAccountId", type: { name: "String" } }, - type: { - serializedName: "type", + snapshotRunAsAccountId: { + required: true, + serializedName: "snapshotRunAsAccountId", type: { name: "String" } }, - properties: { - serializedName: "properties", + targetVmName: { + serializedName: "targetVmName", type: { - name: "Composite", - className: "TargetComputeSizeProperties" + name: "String" } - } - } - } -}; - -export const TestFailoverCleanupInputProperties: msRest.CompositeMapper = { - serializedName: "TestFailoverCleanupInputProperties", - type: { - name: "Composite", - className: "TestFailoverCleanupInputProperties", - modelProperties: { - comments: { - serializedName: "comments", + }, + targetVmSize: { + serializedName: "targetVmSize", type: { name: "String" } - } - } - } -}; - -export const TestFailoverCleanupInput: msRest.CompositeMapper = { - serializedName: "TestFailoverCleanupInput", - type: { - name: "Composite", - className: "TestFailoverCleanupInput", - modelProperties: { - properties: { + }, + targetResourceGroupId: { required: true, - serializedName: "properties", + serializedName: "targetResourceGroupId", type: { - name: "Composite", - className: "TestFailoverCleanupInputProperties" + name: "String" } - } - } - } -}; - -export const TestFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "TestFailoverInputProperties", - type: { - name: "Composite", - className: "TestFailoverInputProperties", - modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", + }, + targetNetworkId: { + required: true, + serializedName: "targetNetworkId", type: { name: "String" } }, - networkType: { - serializedName: "networkType", + targetSubnetName: { + serializedName: "targetSubnetName", type: { name: "String" } }, - networkId: { - serializedName: "networkId", + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", type: { name: "String" } }, - skipTestFailoverCleanup: { - serializedName: "skipTestFailoverCleanup", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + performAutoResync: { + serializedName: "performAutoResync", + type: { + name: "String" + } + }, + targetVmTags: { + serializedName: "targetVmTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + seedDiskTags: { + serializedName: "seedDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetDiskTags: { + serializedName: "targetDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetNicTags: { + serializedName: "targetNicTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const TestFailoverInput: msRest.CompositeMapper = { - serializedName: "TestFailoverInput", +export const VMwareCbtEventDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "TestFailoverInput", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "VMwareCbtEventDetails", modelProperties: { - properties: { - serializedName: "properties", + ...EventProviderSpecificDetails.type.modelProperties, + migrationItemName: { + readOnly: true, + serializedName: "migrationItemName", type: { - name: "Composite", - className: "TestFailoverInputProperties" + name: "String" } } } } }; -export const TestFailoverJobDetails: msRest.CompositeMapper = { - serializedName: "TestFailoverJobDetails", +export const VMwareCbtMigrateInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "TestFailoverJobDetails", + polymorphicDiscriminator: MigrateProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "MigrateProviderSpecificInput", + className: "VMwareCbtMigrateInput", modelProperties: { - ...JobDetails.type.modelProperties, - testFailoverStatus: { - serializedName: "testFailoverStatus", + ...MigrateProviderSpecificInput.type.modelProperties, + performShutdown: { + required: true, + serializedName: "performShutdown", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbtProtectedDiskDetails", + type: { + name: "Composite", + className: "VMwareCbtProtectedDiskDetails", + modelProperties: { + diskId: { + readOnly: true, + serializedName: "diskId", + type: { + name: "String" + } + }, + diskName: { + readOnly: true, + serializedName: "diskName", type: { name: "String" } }, - comments: { - serializedName: "comments", + diskType: { + serializedName: "diskType", type: { name: "String" } }, - networkName: { - serializedName: "networkName", + diskPath: { + readOnly: true, + serializedName: "diskPath", type: { name: "String" } }, - networkFriendlyName: { - serializedName: "networkFriendlyName", + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", type: { name: "String" } }, - networkType: { - serializedName: "networkType", + capacityInBytes: { + readOnly: true, + serializedName: "capacityInBytes", + type: { + name: "Number" + } + }, + logStorageAccountId: { + readOnly: true, + serializedName: "logStorageAccountId", type: { name: "String" } }, - protectedItemDetails: { - serializedName: "protectedItemDetails", + logStorageAccountSasSecretName: { + readOnly: true, + serializedName: "logStorageAccountSasSecretName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FailoverReplicationProtectedItemDetails" - } - } + name: "String" } - } - } - } -}; - -export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "UnplannedFailoverInputProperties", - type: { - name: "Composite", - className: "UnplannedFailoverInputProperties", - modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", + }, + diskEncryptionSetId: { + readOnly: true, + serializedName: "diskEncryptionSetId", type: { name: "String" } }, - sourceSiteOperations: { - serializedName: "sourceSiteOperations", + seedManagedDiskId: { + readOnly: true, + serializedName: "seedManagedDiskId", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + targetManagedDiskId: { + readOnly: true, + serializedName: "targetManagedDiskId", type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" + name: "String" } - } - } - } -}; - -export const UnplannedFailoverInput: msRest.CompositeMapper = { - serializedName: "UnplannedFailoverInput", - type: { - name: "Composite", - className: "UnplannedFailoverInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + targetDiskName: { + serializedName: "targetDiskName", type: { - name: "Composite", - className: "UnplannedFailoverInputProperties" + name: "String" } } } } }; -export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { - serializedName: "UpdateMobilityServiceRequestProperties", +export const VMwareCbtNicDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbtNicDetails", type: { name: "Composite", - className: "UpdateMobilityServiceRequestProperties", + className: "VMwareCbtNicDetails", modelProperties: { - runAsAccountId: { - serializedName: "runAsAccountId", + nicId: { + readOnly: true, + serializedName: "nicId", type: { name: "String" } - } - } - } -}; - -export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { - serializedName: "UpdateMobilityServiceRequest", - type: { - name: "Composite", - className: "UpdateMobilityServiceRequest", - modelProperties: { - properties: { - serializedName: "properties", + }, + isPrimaryNic: { + serializedName: "isPrimaryNic", type: { - name: "Composite", - className: "UpdateMobilityServiceRequestProperties" + name: "String" } - } - } - } -}; - -export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateNetworkMappingInputProperties", - type: { - name: "Composite", - className: "UpdateNetworkMappingInputProperties", - modelProperties: { - recoveryFabricName: { - serializedName: "recoveryFabricName", + }, + sourceIPAddress: { + readOnly: true, + serializedName: "sourceIPAddress", type: { name: "String" } }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", + sourceIPAddressType: { + readOnly: true, + serializedName: "sourceIPAddressType", type: { name: "String" } }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", + sourceNetworkId: { + readOnly: true, + serializedName: "sourceNetworkId", type: { - name: "Composite", - className: "FabricSpecificUpdateNetworkMappingInput" + name: "String" } - } - } - } -}; - -export const UpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "UpdateNetworkMappingInput", - type: { - name: "Composite", - className: "UpdateNetworkMappingInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + targetIPAddress: { + serializedName: "targetIPAddress", type: { - name: "Composite", - className: "UpdateNetworkMappingInputProperties" + name: "String" } - } - } - } -}; - -export const UpdatePolicyInputProperties: msRest.CompositeMapper = { - serializedName: "UpdatePolicyInputProperties", - type: { - name: "Composite", - className: "UpdatePolicyInputProperties", - modelProperties: { - replicationProviderSettings: { - serializedName: "replicationProviderSettings", + }, + targetIPAddressType: { + serializedName: "targetIPAddressType", type: { - name: "Composite", - className: "PolicyProviderSpecificInput" + name: "String" } - } - } - } -}; - -export const UpdatePolicyInput: msRest.CompositeMapper = { - serializedName: "UpdatePolicyInput", - type: { - name: "Composite", - className: "UpdatePolicyInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + targetSubnetName: { + serializedName: "targetSubnetName", type: { - name: "Composite", - className: "UpdatePolicyInputProperties" + name: "String" } - } - } - } -}; - -export const UpdateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateProtectionContainerMappingInputProperties", - type: { - name: "Composite", - className: "UpdateProtectionContainerMappingInputProperties", - modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + }, + targetNicName: { + serializedName: "targetNicName", type: { - name: "Composite", - className: "ReplicationProviderSpecificUpdateContainerMappingInput" + name: "String" } - } - } - } -}; - -export const UpdateProtectionContainerMappingInput: msRest.CompositeMapper = { - serializedName: "UpdateProtectionContainerMappingInput", - type: { - name: "Composite", - className: "UpdateProtectionContainerMappingInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + isSelectedForMigration: { + serializedName: "isSelectedForMigration", type: { - name: "Composite", - className: "UpdateProtectionContainerMappingInputProperties" + name: "String" } } } } }; -export const UpdateRecoveryPlanInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateRecoveryPlanInputProperties", +export const VMwareCbtMigrationDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "UpdateRecoveryPlanInputProperties", + polymorphicDiscriminator: MigrationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "MigrationProviderSpecificSettings", + className: "VMwareCbtMigrationDetails", modelProperties: { - groups: { - serializedName: "groups", + ...MigrationProviderSpecificSettings.type.modelProperties, + vmwareMachineId: { + readOnly: true, + serializedName: "vmwareMachineId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanGroup" - } - } + name: "String" } - } - } - } -}; - -export const UpdateRecoveryPlanInput: msRest.CompositeMapper = { - serializedName: "UpdateRecoveryPlanInput", - type: { - name: "Composite", - className: "UpdateRecoveryPlanInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + osType: { + readOnly: true, + serializedName: "osType", + type: { + name: "String" + } + }, + firmwareType: { + readOnly: true, + serializedName: "firmwareType", + type: { + name: "String" + } + }, + targetGeneration: { + readOnly: true, + serializedName: "targetGeneration", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "licenseType", type: { - name: "Composite", - className: "UpdateRecoveryPlanInputProperties" + name: "String" } - } - } - } -}; - -export const VMNicInputDetails: msRest.CompositeMapper = { - serializedName: "VMNicInputDetails", - type: { - name: "Composite", - className: "VMNicInputDetails", - modelProperties: { - nicId: { - serializedName: "nicId", + }, + sqlServerLicenseType: { + serializedName: "sqlServerLicenseType", type: { name: "String" } }, - recoveryVMSubnetName: { - serializedName: "recoveryVMSubnetName", + dataMoverRunAsAccountId: { + readOnly: true, + serializedName: "dataMoverRunAsAccountId", type: { name: "String" } }, - replicaNicStaticIPAddress: { - serializedName: "replicaNicStaticIPAddress", + snapshotRunAsAccountId: { + readOnly: true, + serializedName: "snapshotRunAsAccountId", type: { name: "String" } }, - selectionType: { - serializedName: "selectionType", + targetVmName: { + serializedName: "targetVmName", type: { name: "String" } }, - enableAcceleratedNetworkingOnRecovery: { - serializedName: "enableAcceleratedNetworkingOnRecovery", + targetVmSize: { + serializedName: "targetVmSize", type: { - name: "Boolean" + name: "String" } - } - } - } -}; - -export const UpdateReplicationProtectedItemInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateReplicationProtectedItemInputProperties", - type: { - name: "Composite", - className: "UpdateReplicationProtectedItemInputProperties", - modelProperties: { - recoveryAzureVMName: { - serializedName: "recoveryAzureVMName", + }, + targetLocation: { + readOnly: true, + serializedName: "targetLocation", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + targetResourceGroupId: { + serializedName: "targetResourceGroupId", type: { name: "String" } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", type: { name: "String" } }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } }, - vmNics: { - serializedName: "vmNics", + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + targetVmTags: { + serializedName: "targetVmTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + protectedDisks: { + serializedName: "protectedDisks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VMNicInputDetails" + className: "VMwareCbtProtectedDiskDetails" } } } }, - licenseType: { - serializedName: "licenseType", + targetNetworkId: { + serializedName: "targetNetworkId", type: { name: "String" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + vmNics: { + serializedName: "vmNics", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtNicDetails" + } + } } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + targetNicTags: { + serializedName: "targetNicTags", type: { - name: "Composite", - className: "UpdateReplicationProtectedItemProviderInput" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } - } - } - } -}; - -export const UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { - serializedName: "UpdateReplicationProtectedItemInput", - type: { - name: "Composite", - className: "UpdateReplicationProtectedItemInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + migrationRecoveryPointId: { + readOnly: true, + serializedName: "migrationRecoveryPointId", type: { - name: "Composite", - className: "UpdateReplicationProtectedItemInputProperties" + name: "String" } - } - } - } -}; - -export const UpdateVCenterRequestProperties: msRest.CompositeMapper = { - serializedName: "UpdateVCenterRequestProperties", - type: { - name: "Composite", - className: "UpdateVCenterRequestProperties", - modelProperties: { - friendlyName: { - serializedName: "friendlyName", + }, + lastRecoveryPointReceived: { + readOnly: true, + serializedName: "lastRecoveryPointReceived", type: { - name: "String" + name: "DateTime" } }, - ipAddress: { - serializedName: "ipAddress", + lastRecoveryPointId: { + readOnly: true, + serializedName: "lastRecoveryPointId", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + initialSeedingProgressPercentage: { + readOnly: true, + serializedName: "initialSeedingProgressPercentage", type: { - name: "String" + name: "Number" } }, - port: { - serializedName: "port", + migrationProgressPercentage: { + readOnly: true, + serializedName: "migrationProgressPercentage", type: { - name: "String" + name: "Number" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + resyncProgressPercentage: { + readOnly: true, + serializedName: "resyncProgressPercentage", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const UpdateVCenterRequest: msRest.CompositeMapper = { - serializedName: "UpdateVCenterRequest", - type: { - name: "Composite", - className: "UpdateVCenterRequest", - modelProperties: { - properties: { - serializedName: "properties", + }, + initialSeedingRetryCount: { + readOnly: true, + serializedName: "initialSeedingRetryCount", type: { - name: "Composite", - className: "UpdateVCenterRequestProperties" + name: "Number" } - } - } - } -}; - -export const VaultHealthProperties: msRest.CompositeMapper = { - serializedName: "VaultHealthProperties", - type: { - name: "Composite", - className: "VaultHealthProperties", - modelProperties: { - vaultErrors: { - serializedName: "vaultErrors", + }, + resyncRetryCount: { + readOnly: true, + serializedName: "resyncRetryCount", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "Number" } }, - protectedItemsHealth: { - serializedName: "protectedItemsHealth", + resyncRequired: { + readOnly: true, + serializedName: "resyncRequired", type: { - name: "Composite", - className: "ResourceHealthSummary" + name: "String" } }, - fabricsHealth: { - serializedName: "fabricsHealth", + resyncState: { + readOnly: true, + serializedName: "resyncState", type: { - name: "Composite", - className: "ResourceHealthSummary" + name: "String" } }, - containersHealth: { - serializedName: "containersHealth", + performAutoResync: { + serializedName: "performAutoResync", 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", + }, + seedDiskTags: { + serializedName: "seedDiskTags", type: { - name: "Composite", - className: "VaultHealthProperties" + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetDiskTags: { + serializedName: "targetDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const VCenterProperties: msRest.CompositeMapper = { - serializedName: "VCenterProperties", +export const VMwareCbtNicInput: msRest.CompositeMapper = { + serializedName: "VMwareCbtNicInput", type: { name: "Composite", - className: "VCenterProperties", + className: "VMwareCbtNicInput", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - internalId: { - serializedName: "internalId", - type: { - name: "String" - } - }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + nicId: { + required: true, + serializedName: "nicId", type: { - name: "DateTime" + name: "String" } }, - discoveryStatus: { - serializedName: "discoveryStatus", + isPrimaryNic: { + required: true, + serializedName: "isPrimaryNic", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + targetSubnetName: { + serializedName: "targetSubnetName", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + targetStaticIPAddress: { + serializedName: "targetStaticIPAddress", type: { name: "String" } }, - infrastructureId: { - serializedName: "infrastructureId", + isSelectedForMigration: { + serializedName: "isSelectedForMigration", type: { name: "String" } }, - port: { - serializedName: "port", + targetNicName: { + serializedName: "targetNicName", type: { name: "String" } - }, - runAsAccountId: { - serializedName: "runAsAccountId", + } + } + } +}; + +export const VMwareCbtPolicyCreationInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "VMwareCbtPolicyCreationInput", + modelProperties: { + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { - name: "String" + name: "Number" } }, - fabricArmResourceName: { - serializedName: "fabricArmResourceName", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - healthErrors: { - serializedName: "healthErrors", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "Number" } } } } }; -export const VCenter: msRest.CompositeMapper = { - serializedName: "VCenter", +export const VmwareCbtPolicyDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "VCenter", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "VmwareCbtPolicyDetails", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { - name: "Composite", - className: "VCenterProperties" + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" } } } } }; -export const VirtualMachineTaskDetails: msRest.CompositeMapper = { - serializedName: "VirtualMachineTaskDetails", +export const VMwareCbtProtectionContainerMappingDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "VirtualMachineTaskDetails", + polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionContainerMappingProviderSpecificDetails", + className: "VMwareCbtProtectionContainerMappingDetails", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - skippedReason: { - serializedName: "skippedReason", + ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, + keyVaultId: { + readOnly: true, + serializedName: "keyVaultId", type: { name: "String" } }, - skippedReasonString: { - serializedName: "skippedReasonString", + keyVaultUri: { + readOnly: true, + serializedName: "keyVaultUri", type: { name: "String" } }, - jobTask: { - serializedName: "jobTask", + storageAccountId: { + readOnly: true, + serializedName: "storageAccountId", type: { - name: "Composite", - className: "JobEntity" + 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 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", +export const VMwareCbtResyncInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "VmmToVmmCreateNetworkMappingInput", + polymorphicDiscriminator: ResyncProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ResyncProviderSpecificInput", + className: "VMwareCbtResyncInput", modelProperties: { - ...FabricSpecificCreateNetworkMappingInput.type.modelProperties + ...ResyncProviderSpecificInput.type.modelProperties, + skipCbtReset: { + required: true, + serializedName: "skipCbtReset", + type: { + name: "String" + } + } } } }; -export const VmmToVmmNetworkMappingSettings: msRest.CompositeMapper = { - serializedName: "VmmToVmm", +export const VMwareCbtTestMigrateInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "VmmToVmmNetworkMappingSettings", + polymorphicDiscriminator: TestMigrateProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestMigrateProviderSpecificInput", + className: "VMwareCbtTestMigrateInput", modelProperties: { - ...NetworkMappingFabricSpecificSettings.type.modelProperties + ...TestMigrateProviderSpecificInput.type.modelProperties, + recoveryPointId: { + required: true, + serializedName: "recoveryPointId", + type: { + name: "String" + } + }, + networkId: { + required: true, + serializedName: "networkId", + type: { + name: "String" + } + } } } }; -export const VmmToVmmUpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "VmmToVmm", +export const VMwareCbtUpdateDiskInput: msRest.CompositeMapper = { + serializedName: "VMwareCbtUpdateDiskInput", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificUpdateNetworkMappingInput", - className: "VmmToVmmUpdateNetworkMappingInput", + className: "VMwareCbtUpdateDiskInput", modelProperties: { - ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties + diskId: { + required: true, + serializedName: "diskId", + type: { + name: "String" + } + }, + targetDiskName: { + serializedName: "targetDiskName", + type: { + name: "String" + } + } } } }; -export const VmmVirtualMachineDetails: msRest.CompositeMapper = { - serializedName: "VmmVirtualMachine", +export const VMwareCbtUpdateMigrationItemInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, - uberParent: "ConfigurationSettings", - className: "VmmVirtualMachineDetails", + polymorphicDiscriminator: UpdateMigrationItemProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UpdateMigrationItemProviderSpecificInput", + className: "VMwareCbtUpdateMigrationItemInput", modelProperties: { - ...ConfigurationSettings.type.modelProperties, - sourceItemId: { - serializedName: "sourceItemId", - type: { - name: "String" - } - }, - generation: { - serializedName: "generation", + ...UpdateMigrationItemProviderSpecificInput.type.modelProperties, + targetVmName: { + serializedName: "targetVmName", 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", + targetVmSize: { + serializedName: "targetVmSize", type: { name: "String" } }, - hasFibreChannelAdapter: { - serializedName: "hasFibreChannelAdapter", + targetResourceGroupId: { + serializedName: "targetResourceGroupId", type: { name: "String" } }, - hasSharedVhd: { - serializedName: "hasSharedVhd", + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", type: { name: "String" } - } - } - } -}; - -export const VmNicUpdatesTaskDetails: msRest.CompositeMapper = { - serializedName: "VmNicUpdatesTaskDetails", - type: { - name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "VmNicUpdatesTaskDetails", - modelProperties: { - ...TaskTypeDetails.type.modelProperties, - vmId: { - serializedName: "vmId", + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - nicId: { - serializedName: "nicId", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } }, - name: { - serializedName: "name", + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", type: { name: "String" } - } - } - } -}; - -export const VMwareCbtPolicyCreationInput: msRest.CompositeMapper = { - serializedName: "VMwareCbt", - type: { - name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "VMwareCbtPolicyCreationInput", - modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + }, + targetNetworkId: { + serializedName: "targetNetworkId", type: { - name: "Number" + name: "String" } }, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", + vmNics: { + serializedName: "vmNics", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtNicInput" + } + } } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + vmDisks: { + serializedName: "vmDisks", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtUpdateDiskInput" + } + } } - } - } - } -}; - -export const VmwareCbtPolicyDetails: msRest.CompositeMapper = { - serializedName: "VMwareCbt", - type: { - name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "VmwareCbtPolicyDetails", - modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", + }, + licenseType: { + serializedName: "licenseType", type: { - name: "Number" + name: "String" } }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + sqlServerLicenseType: { + serializedName: "sqlServerLicenseType", type: { - name: "Number" + name: "String" } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + performAutoResync: { + serializedName: "performAutoResync", type: { - name: "Number" + name: "String" } }, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", + targetVmTags: { + serializedName: "targetVmTags", type: { - name: "Number" + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetDiskTags: { + serializedName: "targetDiskTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + targetNicTags: { + serializedName: "targetNicTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } @@ -11674,14 +19762,21 @@ export const VMwareV2FabricCreationInput: msRest.CompositeMapper = { className: "VMwareV2FabricCreationInput", modelProperties: { ...FabricSpecificCreationInput.type.modelProperties, - keyVaultUrl: { - serializedName: "keyVaultUrl", + vmwareSiteId: { + serializedName: "vmwareSiteId", type: { name: "String" } }, - keyVaultResourceArmId: { - serializedName: "keyVaultResourceArmId", + physicalSiteId: { + serializedName: "physicalSiteId", + type: { + name: "String" + } + }, + migrationSolutionId: { + required: true, + serializedName: "migrationSolutionId", type: { name: "String" } @@ -11699,29 +19794,60 @@ 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", + physicalSiteId: { + readOnly: true, + serializedName: "physicalSiteId", type: { name: "String" } }, - keyVaultUrl: { - serializedName: "keyVaultUrl", + migrationSolutionId: { + readOnly: true, + serializedName: "migrationSolutionId", type: { name: "String" } }, - keyVaultResourceArmId: { - serializedName: "keyVaultResourceArmId", + serviceEndpoint: { + readOnly: true, + serializedName: "serviceEndpoint", + type: { + name: "String" + } + }, + serviceResourceId: { + readOnly: true, + serializedName: "serviceResourceId", + type: { + name: "String" + } + }, + serviceContainerId: { + readOnly: true, + serializedName: "serviceContainerId", type: { name: "String" } + }, + processServers: { + readOnly: true, + serializedName: "processServers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ProcessServerDetails" + } + } + } } } } @@ -12036,6 +20162,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: { @@ -12344,6 +20526,34 @@ export const PolicyCollection: 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 RecoveryPlanCollection: msRest.CompositeMapper = { serializedName: "RecoveryPlanCollection", type: { @@ -12372,22 +20582,67 @@ 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, + 'ApplyRecoveryPointProviderSpecificInput.A2ACrossClusterMigration' : A2ACrossClusterMigrationApplyRecoveryPointInput, + 'ReplicationProviderSpecificContainerCreationInput.A2ACrossClusterMigration' : A2ACrossClusterMigrationContainerCreationInput, + 'EnableProtectionProviderSpecificInput.A2ACrossClusterMigration' : A2ACrossClusterMigrationEnableProtectionInput, + 'PolicyProviderSpecificInput.A2ACrossClusterMigration' : A2ACrossClusterMigrationPolicyCreationInput, + 'ReplicationProviderSpecificSettings.A2ACrossClusterMigration' : A2ACrossClusterMigrationReplicationDetails, 'EnableProtectionProviderSpecificInput.A2A' : A2AEnableProtectionInput, 'EventProviderSpecificDetails.A2A' : A2AEventDetails, - 'ProviderSpecificFailoverInput.A2A' : A2AFailoverProviderInput, 'PolicyProviderSpecificInput.A2A' : A2APolicyCreationInput, '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 +20659,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, @@ -12420,12 +20684,14 @@ export const discriminators = { 'ApplyRecoveryPointProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureApplyRecoveryPointInput, 'EnableProtectionProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureEnableProtectionInput, 'EventProviderSpecificDetails.HyperVReplicaAzure' : HyperVReplicaAzureEventDetails, - 'ProviderSpecificFailoverInput.HyperVReplicaAzureFailback' : HyperVReplicaAzureFailbackProviderInput, - 'ProviderSpecificFailoverInput.HyperVReplicaAzure' : HyperVReplicaAzureFailoverProviderInput, + 'PlannedFailoverProviderSpecificFailoverInput.HyperVReplicaAzureFailback' : HyperVReplicaAzureFailbackProviderInput, + 'PlannedFailoverProviderSpecificFailoverInput.HyperVReplicaAzure' : HyperVReplicaAzurePlannedFailoverProviderInput, 'PolicyProviderSpecificDetails.HyperVReplicaAzure' : HyperVReplicaAzurePolicyDetails, 'PolicyProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzurePolicyInput, 'ReplicationProviderSpecificSettings.HyperVReplicaAzure' : HyperVReplicaAzureReplicationDetails, 'ReverseReplicationProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureReprotectInput, + 'TestFailoverProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureTestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureUnplannedFailoverInput, 'UpdateReplicationProtectedItemProviderInput.HyperVReplicaAzure' : HyperVReplicaAzureUpdateReplicationProtectedItemInput, 'EventProviderSpecificDetails.HyperVReplicaBaseEventDetails' : HyperVReplicaBaseEventDetails, 'PolicyProviderSpecificDetails.HyperVReplicaBasePolicyDetails' : HyperVReplicaBasePolicyDetails, @@ -12442,51 +20708,88 @@ export const discriminators = { 'ApplyRecoveryPointProviderSpecificInput.InMageAzureV2' : InMageAzureV2ApplyRecoveryPointInput, 'EnableProtectionProviderSpecificInput.InMageAzureV2' : InMageAzureV2EnableProtectionInput, 'EventProviderSpecificDetails.InMageAzureV2' : InMageAzureV2EventDetails, - 'ProviderSpecificFailoverInput.InMageAzureV2' : InMageAzureV2FailoverProviderInput, 'PolicyProviderSpecificDetails.InMageAzureV2' : InMageAzureV2PolicyDetails, 'PolicyProviderSpecificInput.InMageAzureV2' : InMageAzureV2PolicyInput, 'ProviderSpecificRecoveryPointDetails.InMageAzureV2' : InMageAzureV2RecoveryPointDetails, 'ReplicationProviderSpecificSettings.InMageAzureV2' : InMageAzureV2ReplicationDetails, 'ReverseReplicationProviderSpecificInput.InMageAzureV2' : InMageAzureV2ReprotectInput, + 'TestFailoverProviderSpecificInput.InMageAzureV2' : InMageAzureV2TestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.InMageAzureV2' : InMageAzureV2UnplannedFailoverInput, 'UpdateReplicationProtectedItemProviderInput.InMageAzureV2' : InMageAzureV2UpdateReplicationProtectedItemInput, 'PolicyProviderSpecificDetails.InMageBasePolicyDetails' : InMageBasePolicyDetails, 'DisableProtectionProviderSpecificInput.InMage' : InMageDisableProtectionProviderSpecificInput, 'EnableProtectionProviderSpecificInput.InMage' : InMageEnableProtectionInput, - 'ProviderSpecificFailoverInput.InMage' : InMageFailoverProviderInput, 'PolicyProviderSpecificDetails.InMage' : InMagePolicyDetails, 'PolicyProviderSpecificInput.InMage' : InMagePolicyInput, + 'ApplyRecoveryPointProviderSpecificInput.InMageRcm' : InMageRcmApplyRecoveryPointInput, + 'EnableProtectionProviderSpecificInput.InMageRcm' : InMageRcmEnableProtectionInput, + 'EventProviderSpecificDetails.InMageRcm' : InMageRcmEventDetails, + 'FabricSpecificCreationInput.InMageRcm' : InMageRcmFabricCreationInput, + 'FabricSpecificDetails.InMageRcm' : InMageRcmFabricSpecificDetails, + 'EventProviderSpecificDetails.InMageRcmFailback' : InMageRcmFailbackEventDetails, + 'PlannedFailoverProviderSpecificFailoverInput.InMageRcmFailback' : InMageRcmFailbackPlannedFailoverProviderInput, + 'PolicyProviderSpecificInput.InMageRcmFailback' : InMageRcmFailbackPolicyCreationInput, + 'PolicyProviderSpecificDetails.InMageRcmFailback' : InMageRcmFailbackPolicyDetails, + 'ReplicationProviderSpecificSettings.InMageRcmFailback' : InMageRcmFailbackReplicationDetails, + 'ReverseReplicationProviderSpecificInput.InMageRcmFailback' : InMageRcmFailbackReprotectInput, + 'PolicyProviderSpecificInput.InMageRcm' : InMageRcmPolicyCreationInput, + 'PolicyProviderSpecificDetails.InMageRcm' : InMageRcmPolicyDetails, + 'ProtectionContainerMappingProviderSpecificDetails.InMageRcm' : InMageRcmProtectionContainerMappingDetails, + 'ProviderSpecificRecoveryPointDetails.InMageRcm' : InMageRcmRecoveryPointDetails, + 'ReplicationProviderSpecificSettings.InMageRcm' : InMageRcmReplicationDetails, + 'ReverseReplicationProviderSpecificInput.InMageRcm' : InMageRcmReprotectInput, + 'TestFailoverProviderSpecificInput.InMageRcm' : InMageRcmTestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.InMageRcm' : InMageRcmUnplannedFailoverInput, + 'ReplicationProviderSpecificUpdateContainerMappingInput.InMageRcm' : InMageRcmUpdateContainerMappingInput, + '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, - 'ProviderSpecificFailoverInput' : ProviderSpecificFailoverInput, + 'ProtectionProfileCustomDetails.New' : NewProtectionProfile, + 'RecoveryVirtualNetworkCustomDetails.New' : NewRecoveryVirtualNetwork, + 'PlannedFailoverProviderSpecificFailoverInput' : PlannedFailoverProviderSpecificFailoverInput, 'PolicyProviderSpecificDetails' : PolicyProviderSpecificDetails, 'ProtectionContainerMappingProviderSpecificDetails' : ProtectionContainerMappingProviderSpecificDetails, 'ProviderSpecificRecoveryPointDetails' : ProviderSpecificRecoveryPointDetails, - 'PolicyProviderSpecificDetails.RcmAzureMigration' : RcmAzureMigrationPolicyDetails, + 'RecoveryPlanProviderSpecificDetails' : RecoveryPlanProviderSpecificDetails, + 'RecoveryPlanProviderSpecificDetails.A2A' : RecoveryPlanA2ADetails, 'RecoveryPlanProviderSpecificFailoverInput.A2A' : RecoveryPlanA2AFailoverInput, + 'RecoveryPlanProviderSpecificInput.A2A' : RecoveryPlanA2AInput, 'RecoveryPlanActionDetails.AutomationRunbookActionDetails' : RecoveryPlanAutomationRunbookActionDetails, 'GroupTaskDetails.RecoveryPlanGroupTaskDetails' : RecoveryPlanGroupTaskDetails, 'RecoveryPlanProviderSpecificFailoverInput.HyperVReplicaAzureFailback' : RecoveryPlanHyperVReplicaAzureFailbackInput, 'RecoveryPlanProviderSpecificFailoverInput.HyperVReplicaAzure' : RecoveryPlanHyperVReplicaAzureFailoverInput, 'RecoveryPlanProviderSpecificFailoverInput.InMageAzureV2' : RecoveryPlanInMageAzureV2FailoverInput, 'RecoveryPlanProviderSpecificFailoverInput.InMage' : RecoveryPlanInMageFailoverInput, + 'RecoveryPlanProviderSpecificFailoverInput.InMageRcmFailback' : RecoveryPlanInMageRcmFailbackFailoverInput, + '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, + 'ResyncProviderSpecificInput' : ResyncProviderSpecificInput, '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 +20801,21 @@ export const discriminators = { 'FabricSpecificUpdateNetworkMappingInput.VmmToVmm' : VmmToVmmUpdateNetworkMappingInput, 'ConfigurationSettings.VmmVirtualMachine' : VmmVirtualMachineDetails, 'TaskTypeDetails.VmNicUpdatesTaskDetails' : VmNicUpdatesTaskDetails, + 'ReplicationProviderSpecificContainerCreationInput.VMwareCbt' : VMwareCbtContainerCreationInput, + 'ReplicationProviderSpecificContainerMappingInput.VMwareCbt' : VMwareCbtContainerMappingInput, + 'EnableMigrationProviderSpecificInput.VMwareCbt' : VMwareCbtEnableMigrationInput, + 'EventProviderSpecificDetails.VMwareCbt' : VMwareCbtEventDetails, + 'MigrateProviderSpecificInput.VMwareCbt' : VMwareCbtMigrateInput, + 'MigrationProviderSpecificSettings.VMwareCbt' : VMwareCbtMigrationDetails, 'PolicyProviderSpecificInput.VMwareCbt' : VMwareCbtPolicyCreationInput, 'PolicyProviderSpecificDetails.VMwareCbt' : VmwareCbtPolicyDetails, + 'ProtectionContainerMappingProviderSpecificDetails.VMwareCbt' : VMwareCbtProtectionContainerMappingDetails, + 'ResyncProviderSpecificInput.VMwareCbt' : VMwareCbtResyncInput, + '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..891d6dca3bfc --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/migrationRecoveryPointsMappers.ts @@ -0,0 +1,242 @@ +/* + * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointCollection, + 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, + 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, + 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, + VMwareCbtEventDetails, + 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..cebe3e60d64a 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,28 @@ export const filter: msRest.OperationQueryParameter = { } } }; +export const instanceType: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "instanceType" + ], + mapper: { + serializedName: "instanceType", + type: { + name: "String" + } + } +}; +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 +135,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: { @@ -233,7 +286,7 @@ export const resourceName: msRest.OperationURLParameter = { } } }; -export const skipToken: msRest.OperationQueryParameter = { +export const skipToken0: msRest.OperationQueryParameter = { parameterPath: [ "options", "skipToken" @@ -245,6 +298,18 @@ export const skipToken: msRest.OperationQueryParameter = { } } }; +export const skipToken1: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "skipToken" + ], + mapper: { + serializedName: "$skipToken", + type: { + name: "String" + } + } +}; export const storageClassificationMappingName: msRest.OperationURLParameter = { parameterPath: "storageClassificationMappingName", mapper: { @@ -275,11 +340,55 @@ export const subscriptionId: msRest.OperationURLParameter = { } } }; -export const vCenterName: msRest.OperationURLParameter = { - parameterPath: "vCenterName", +export const take: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "take" + ], + mapper: { + serializedName: "$take", + type: { + name: "String" + } + } +}; +export const takeToken: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "takeToken" + ], + mapper: { + serializedName: "takeToken", + type: { + name: "String" + } + } +}; +export const vaultSettingName: msRest.OperationURLParameter = { + parameterPath: "vaultSettingName", + mapper: { + required: true, + serializedName: "vaultSettingName", + type: { + name: "String" + } + } +}; +export const vcenterName: msRest.OperationURLParameter = { + parameterPath: "vcenterName", + mapper: { + required: true, + serializedName: "vcenterName", + type: { + name: "String" + } + } +}; +export const virtualMachineName: msRest.OperationURLParameter = { + parameterPath: "virtualMachineName", mapper: { required: true, - serializedName: "vCenterName", + 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..1e4f801f7bad 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts @@ -1,169 +1,242 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointCollection, + RecoveryPointProperties, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..ac24778d8466 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts @@ -1,171 +1,244 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..3c4a6d844078 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts @@ -1,169 +1,242 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..5a6afdb1b760 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts @@ -1,178 +1,253 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, + Fabric, + FabricCollection, + FabricCreationInput, + FabricCreationInputProperties, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificCreationInput, + FabricSpecificDetails, + FailoverJobDetails, + FailoverProcessServerRequest, + FailoverProcessServerRequestProperties, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + RenewCertificateInput, + RenewCertificateInputProperties, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..f539ebe49aa3 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts @@ -1,172 +1,245 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, - FabricSpecificDetails, FabricReplicationGroupTaskDetails, - JobEntity, + FabricSpecificDetails, FailoverJobDetails, FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, + Job, + JobCollection, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobQueryParameter, JobStatusEventDetails, JobTaskDetails, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + ResumeJobParams, + ResumeJobParamsProperties, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..f2bad00d34b3 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts @@ -1,169 +1,242 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkCollection, + LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..235cb187c423 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationMigrationItemsMappers.ts @@ -0,0 +1,267 @@ +/* + * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrateInput, + MigrateInputProperties, + MigrateProviderSpecificInput, + MigrationItem, + MigrationItemCollection, + 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, + 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, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + ResyncInput, + ResyncInputProperties, + ResyncProviderSpecificInput, + RetentionVolume, + RunAsAccount, + ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, + 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, + VMwareCbtEventDetails, + VMwareCbtMigrateInput, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, + VMwareCbtNicInput, + VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareCbtResyncInput, + VMwareCbtTestMigrateInput, + VMwareCbtUpdateDiskInput, + 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..36a3dd080fe9 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts @@ -1,117 +1,236 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, + FabricSpecificCreateNetworkMappingInput, FabricSpecificDetails, + FabricSpecificUpdateNetworkMappingInput, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, + NetworkMapping, + NetworkMappingCollection, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, NetworkProperties, - Subnet, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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 +240,15 @@ export { VmmToVmmNetworkMappingSettings, VmmToVmmUpdateNetworkMappingInput, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtEventDetails, + 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..6da72057fc20 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts @@ -1,169 +1,242 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkCollection, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..f66e9c981449 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts @@ -1,181 +1,257 @@ /* - * 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, + A2ACrossClusterMigrationPolicyCreationInput, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, A2APolicyCreationInput, A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyCreationInput, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyCreationInput, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyCollection, + PolicyProperties, + PolicyProviderSpecificDetails, + PolicyProviderSpecificInput, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..dc9e034a15f9 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts @@ -1,169 +1,242 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemCollection, + ProtectableItemProperties, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..d28fa797ae12 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts @@ -1,226 +1,329 @@ /* - * 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, + A2ACrossClusterMigrationApplyRecoveryPointInput, + A2ACrossClusterMigrationEnableProtectionInput, + A2ACrossClusterMigrationReplicationDetails, A2AEnableProtectionInput, - A2AVmDiskInputDetails, - A2AVmManagedDiskInputDetails, - DiskEncryptionInfo, - DiskEncryptionKeyInfo, - KeyEncryptionKeyInfo, - A2AFailoverProviderInput, - A2AReplicationDetails, + A2AEventDetails, + A2APolicyDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2ARemoveDisksInput, + A2AReplicationDetails, + A2AReplicationIntentDetails, A2AReprotectInput, + A2ATestFailoverInput, + A2AUnplannedFailoverInput, + A2AUnprotectedDiskDetails, A2AUpdateReplicationProtectedItemInput, + A2AVmDiskInputDetails, + A2AVmManagedDiskInputDetails, A2AVmManagedDiskUpdateDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureApplyRecoveryPointInput, + HyperVReplicaAzureDiskInputDetails, HyperVReplicaAzureEnableProtectionInput, HyperVReplicaAzureEventDetails, HyperVReplicaAzureFailbackProviderInput, - HyperVReplicaAzureFailoverProviderInput, + HyperVReplicaAzureManagedDiskDetails, + HyperVReplicaAzurePlannedFailoverProviderInput, + 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, - InMageFailoverProviderInput, - InMageReplicationDetails, - OSDiskDetails, + InMageEnableProtectionInput, + InMagePolicyDetails, InMageProtectedDiskDetails, - InMageAgentDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmApplyRecoveryPointInput, + InMageRcmDiskInput, + InMageRcmDisksDefaultInput, + InMageRcmEnableProtectionInput, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPlannedFailoverProviderInput, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackReprotectInput, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmNicInput, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmReprotectInput, + InMageRcmSyncDetails, + InMageRcmTestFailoverInput, + InMageRcmUnplannedFailoverInput, + InMageRcmUpdateReplicationProtectedItemInput, + InMageReplicationDetails, InMageReprotectInput, + InMageTestFailoverInput, + InMageUnplannedFailoverInput, + InMageVolumeExclusionOptions, + InnerHealthError, + InputEndpoint, + IPConfigDetails, + IPConfigInputDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + PlannedFailoverInput, + PlannedFailoverInputProperties, + PlannedFailoverProviderSpecificFailoverInput, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + RemoveDisksInput, + RemoveDisksInputProperties, + RemoveDisksProviderSpecificInput, + ReplicationAgentDetails, ReplicationGroupDetails, - SanEnableProtectionInput, + ReplicationProtectedItem, + ReplicationProtectedItemCollection, + ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + ResolveHealthError, + ResolveHealthInput, + ResolveHealthInputProperties, + Resource, + ResourceHealthSummary, + RetentionVolume, + ReverseReplicationInput, + ReverseReplicationInputProperties, + ReverseReplicationProviderSpecificInput, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..a9bb7a781be5 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts @@ -1,180 +1,255 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, A2AUpdateContainerMappingInput, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageRcmUpdateContainerMappingInput, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerMapping, + ProtectionContainerMappingCollection, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + RemoveProtectionContainerMappingInput, + RemoveProtectionContainerMappingInputProperties, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderContainerUnmappingInput, + ReplicationProviderSpecificContainerMappingInput, ReplicationProviderSpecificSettings, + ReplicationProviderSpecificUpdateContainerMappingInput, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..60d08ab2002d 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts @@ -1,184 +1,256 @@ /* - * 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, + A2ACrossClusterMigrationContainerCreationInput, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2ASwitchProtectionInput, + A2AUnprotectedDiskDetails, + A2AVmDiskInputDetails, + A2AVmManagedDiskInputDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, + ProtectionContainer, + ProtectionContainerCollection, + ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, + ReplicationProviderSpecificContainerCreationInput, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..518cc481d77e --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionIntentsMappers.ts @@ -0,0 +1,246 @@ +/* + * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + HyperVHostDetails, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MarsAgentDetails, + 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, + 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, + VMwareCbtEventDetails, + 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..eacd26a5fd17 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts @@ -1,187 +1,264 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, RecoveryPlanA2AFailoverInput, + RecoveryPlanA2AInput, + RecoveryPlanAction, + RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanCollection, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanHyperVReplicaAzureFailbackInput, RecoveryPlanHyperVReplicaAzureFailoverInput, RecoveryPlanInMageAzureV2FailoverInput, RecoveryPlanInMageFailoverInput, + RecoveryPlanInMageRcmFailbackFailoverInput, + RecoveryPlanInMageRcmFailoverInput, RecoveryPlanManualActionDetails, + RecoveryPlanPlannedFailoverInput, + RecoveryPlanPlannedFailoverInputProperties, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanProviderSpecificFailoverInput, + RecoveryPlanProviderSpecificInput, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, + RecoveryPlanTestFailoverCleanupInput, + RecoveryPlanTestFailoverCleanupInputProperties, + RecoveryPlanTestFailoverInput, + RecoveryPlanTestFailoverInputProperties, + RecoveryPlanUnplannedFailoverInput, + RecoveryPlanUnplannedFailoverInputProperties, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..fcd6b5c61720 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts @@ -1,169 +1,245 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, + RecoveryServicesProvider, + RecoveryServicesProviderCollection, + RecoveryServicesProviderProperties, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..d4ae2bc79e4e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts @@ -1,171 +1,244 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..8f9cfe0e980a 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts @@ -1,169 +1,242 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, + 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, + VMwareCbtEventDetails, + 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..771fdbd0e5ba 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts @@ -1,168 +1,241 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..bddedf898bad --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultSettingMappers.ts @@ -0,0 +1,244 @@ +/* + * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MarsAgentDetails, + 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, + 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, + 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, + VaultSettingCollection, + VaultSettingCreationInput, + VaultSettingCreationInputProperties, + VaultSettingProperties, + VCenter, + VCenterProperties, + VersionDetails, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + VMNicDetails, + VmNicUpdatesTaskDetails, + VMwareCbtEventDetails, + 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..269c55da8e4c 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts @@ -1,173 +1,246 @@ /* - * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MarsAgentDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + NewProtectionProfile, + NewRecoveryVirtualNetwork, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, - RcmAzureMigrationPolicyDetails, + ProtectionContainerProperties, + ProtectionProfileCustomDetails, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmProxyDetails, + RecoveryAvailabilitySetCustomDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryProximityPlacementGroupCustomDetails, + RecoveryResourceGroupCustomDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RecoveryVirtualNetworkCustomDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProtectionIntent, + ReplicationProtectionIntentProperties, + ReplicationProtectionIntentProviderSpecificSettings, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageAccountCustomDetails, 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, + VMwareCbtEventDetails, + 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..771fdbd0e5ba --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/supportedOperatingSystemsOperationsMappers.ts @@ -0,0 +1,241 @@ +/* + * 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, + A2ACrossClusterMigrationReplicationDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2AProtectionIntentDiskInputDetails, + A2AProtectionIntentManagedDiskInputDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AReplicationIntentDetails, + A2AUnprotectedDiskDetails, + A2AZoneDetails, + 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, + ExistingProtectionProfile, + ExistingRecoveryAvailabilitySet, + ExistingRecoveryProximityPlacementGroup, + ExistingRecoveryRecoveryResourceGroup, + ExistingRecoveryVirtualNetwork, + ExistingStorageAccount, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVHostDetails, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzureManagedDiskDetails, + 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, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmSyncDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfigDetails, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + KeyEncryptionKeyInfo, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MarsAgentDetails, + 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, + 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, + 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, + VMwareCbtEventDetails, + 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..3e1958a968a1 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,12 +9,15 @@ 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"; @@ -27,5 +29,8 @@ export * from "./replicationStorageClassificationMappings"; export * from "./replicationvCenters"; export * from "./replicationJobs"; export * from "./replicationPolicies"; +export * from "./replicationProtectionIntents"; 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..9efd4a36b2eb --- /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..640e2ab96fdb 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 @@ -85,7 +84,7 @@ export class Operations { const serializer = new msRest.Serializer(Mappers); const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/operations", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/operations", urlParameters: [ Parameters.resourceGroupName, Parameters.subscriptionId @@ -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..6731cf285d32 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 @@ -28,10 +27,10 @@ export class RecoveryPoints { /** * Lists the available recovery points for a replication protected item. - * @summary Get recovery points for a replication protected item. + * @summary Gets the list of recovery points for a replication protected item. * @param fabricName The fabric name. * @param protectionContainerName The protection container name. - * @param replicatedProtectedItemName The replication protected item's name. + * @param replicatedProtectedItemName The replication protected item name. * @param [options] The optional parameters * @returns Promise */ @@ -39,14 +38,14 @@ export class RecoveryPoints { /** * @param fabricName The fabric name. * @param protectionContainerName The protection container name. - * @param replicatedProtectedItemName The replication protected item's name. + * @param replicatedProtectedItemName The replication protected item name. * @param callback The callback */ listByReplicationProtectedItems(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, callback: msRest.ServiceCallback): void; /** * @param fabricName The fabric name. * @param protectionContainerName The protection container name. - * @param replicatedProtectedItemName The replication protected item's name. + * @param replicatedProtectedItemName The replication protected item name. * @param options The optional parameters * @param callback The callback */ @@ -65,10 +64,10 @@ export class RecoveryPoints { /** * Get the details of specified recovery point. - * @summary Get a recovery point. + * @summary Gets a recovery point. * @param fabricName The fabric name. * @param protectionContainerName The protection container name. - * @param replicatedProtectedItemName The replication protected item's name. + * @param replicatedProtectedItemName The replication protected item name. * @param recoveryPointName The recovery point name. * @param [options] The optional parameters * @returns Promise @@ -77,7 +76,7 @@ export class RecoveryPoints { /** * @param fabricName The fabric name. * @param protectionContainerName The protection container name. - * @param replicatedProtectedItemName The replication protected item's name. + * @param replicatedProtectedItemName The replication protected item name. * @param recoveryPointName The recovery point name. * @param callback The callback */ @@ -85,7 +84,7 @@ export class RecoveryPoints { /** * @param fabricName The fabric name. * @param protectionContainerName The protection container name. - * @param replicatedProtectedItemName The replication protected item's name. + * @param replicatedProtectedItemName The replication protected item name. * @param recoveryPointName The recovery point name. * @param options The optional parameters * @param callback The callback @@ -106,7 +105,7 @@ export class RecoveryPoints { /** * Lists the available recovery points for a replication protected item. - * @summary Get recovery points for a replication protected item. + * @summary Gets the list of recovery points for a replication protected item. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise @@ -138,7 +137,7 @@ export class RecoveryPoints { const serializer = new msRest.Serializer(Mappers); const listByReplicationProtectedItemsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -166,7 +165,7 @@ const listByReplicationProtectedItemsOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..aa37cfa2f9e6 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 @@ -147,7 +146,7 @@ export class ReplicationAlertSettings { const serializer = new msRest.Serializer(Mappers); const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -172,7 +171,7 @@ const listOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -198,7 +197,7 @@ const getOperationSpec: msRest.OperationSpec = { const createOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..ed68ce5480e1 --- /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..9f07f42e279e 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, @@ -114,7 +113,7 @@ export class ReplicationEvents { const serializer = new msRest.Serializer(Mappers); const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -140,7 +139,7 @@ const listOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..f6dd4ca8c73e 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 @@ -29,7 +28,7 @@ export class ReplicationFabrics { /** * Gets a list of the Azure Site Recovery fabrics in the vault. - * @summary Gets the list of ASR fabrics + * @summary Gets the list of ASR fabrics. * @param [options] The optional parameters * @returns Promise */ @@ -59,7 +58,7 @@ export class ReplicationFabrics { * @param [options] The optional parameters * @returns Promise */ - get(fabricName: string, options?: msRest.RequestOptionsBase): Promise; + get(fabricName: string, options?: Models.ReplicationFabricsGetOptionalParams): Promise; /** * @param fabricName Fabric name. * @param callback The callback @@ -70,8 +69,8 @@ export class ReplicationFabrics { * @param options The optional parameters * @param callback The callback */ - get(fabricName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, options: Models.ReplicationFabricsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(fabricName: string, options?: Models.ReplicationFabricsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, @@ -82,7 +81,7 @@ export class ReplicationFabrics { } /** - * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site) + * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site). * @summary Creates an Azure Site Recovery fabric. * @param fabricName Name of the ASR fabric. * @param input Fabric creation input. @@ -146,7 +145,7 @@ export class ReplicationFabrics { /** * The operation to delete or remove an Azure Site Recovery fabric. * @summary Deletes the site. - * @param fabricName ASR fabric to delete + * @param fabricName ASR fabric to delete. * @param [options] The optional parameters * @returns Promise */ @@ -169,7 +168,7 @@ export class ReplicationFabrics { } /** - * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site) + * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site). * @summary Creates an Azure Site Recovery fabric. * @param fabricName Name of the ASR fabric. * @param input Fabric creation input. @@ -260,7 +259,7 @@ export class ReplicationFabrics { /** * The operation to delete or remove an Azure Site Recovery fabric. * @summary Deletes the site. - * @param fabricName ASR fabric to delete + * @param fabricName ASR fabric to delete. * @param [options] The optional parameters * @returns Promise */ @@ -295,7 +294,7 @@ export class ReplicationFabrics { /** * Gets a list of the Azure Site Recovery fabrics in the vault. - * @summary Gets the list of ASR fabrics + * @summary Gets the list of ASR fabrics. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise @@ -327,7 +326,7 @@ export class ReplicationFabrics { const serializer = new msRest.Serializer(Mappers); const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -352,7 +351,7 @@ const listOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -360,7 +359,8 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.fabricName ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion, + Parameters.filter ], headerParameters: [ Parameters.acceptLanguage @@ -378,7 +378,7 @@ const getOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -412,7 +412,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginPurgeOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -437,7 +437,7 @@ const beginPurgeOperationSpec: msRest.OperationSpec = { const beginCheckConsistencyOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/checkConsistency", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/checkConsistency", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -464,7 +464,7 @@ const beginCheckConsistencyOperationSpec: msRest.OperationSpec = { const beginMigrateToAadOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/migratetoaad", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/migratetoaad", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -489,7 +489,7 @@ const beginMigrateToAadOperationSpec: msRest.OperationSpec = { const beginReassociateGatewayOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/reassociateGateway", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/reassociateGateway", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -523,7 +523,7 @@ const beginReassociateGatewayOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/remove", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/remove", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -548,7 +548,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { const beginRenewCertificateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/renewCertificate", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/renewCertificate", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -587,6 +587,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..979f9c0cc1cd 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 @@ -55,18 +54,18 @@ export class ReplicationJobs { /** * Get the details of an Azure Site Recovery job. * @summary Gets the job details. - * @param jobName Job identifier + * @param jobName Job identifier. * @param [options] The optional parameters * @returns Promise */ get(jobName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param jobName Job identifier + * @param jobName Job identifier. * @param callback The callback */ get(jobName: string, callback: msRest.ServiceCallback): void; /** - * @param jobName Job identifier + * @param jobName Job identifier. * @param options The optional parameters * @param callback The callback */ @@ -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 */ @@ -106,7 +105,7 @@ export class ReplicationJobs { } /** - * The operation to resume an Azure Site Recovery job + * The operation to resume an Azure Site Recovery job. * @summary Resumes the specified job. * @param jobName Job identifier. * @param resumeJobParams Resume rob comments. @@ -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 */ @@ -165,7 +164,7 @@ export class ReplicationJobs { } /** - * The operation to resume an Azure Site Recovery job + * The operation to resume an Azure Site Recovery job. * @summary Resumes the specified job. * @param jobName Job identifier. * @param resumeJobParams Resume rob comments. @@ -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, @@ -234,7 +233,7 @@ export class ReplicationJobs { const serializer = new msRest.Serializer(Mappers); const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -260,7 +259,7 @@ const listOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -286,7 +285,7 @@ const getOperationSpec: msRest.OperationSpec = { const beginCancelOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/cancel", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/cancel", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -313,7 +312,7 @@ const beginCancelOperationSpec: msRest.OperationSpec = { const beginRestartOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/restart", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/restart", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -340,7 +339,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = { const beginResumeOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/resume", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/resume", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -374,7 +373,7 @@ const beginResumeOperationSpec: msRest.OperationSpec = { const beginExportMethodOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/export", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/export", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..5513242c266f 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 @@ -27,7 +26,7 @@ export class ReplicationLogicalNetworks { } /** - * Lists all the logical networks of the Azure Site Recovery fabric + * Lists all the logical networks of the Azure Site Recovery fabric. * @summary Gets the list of logical networks under a fabric. * @param fabricName Server Id. * @param [options] The optional parameters @@ -89,7 +88,7 @@ export class ReplicationLogicalNetworks { } /** - * Lists all the logical networks of the Azure Site Recovery fabric + * Lists all the logical networks of the Azure Site Recovery fabric. * @summary Gets the list of logical networks under a fabric. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -122,7 +121,7 @@ export class ReplicationLogicalNetworks { const serializer = new msRest.Serializer(Mappers); const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -148,7 +147,7 @@ const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks/{logicalNetworkName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks/{logicalNetworkName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..db7e1604f499 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationMigrationItems.ts @@ -0,0 +1,828 @@ +/* + * 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?: Models.ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams): 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: Models.ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams, callback: msRest.ServiceCallback): void; + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: Models.ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams | 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 resynchronize replication of an ASR migration item. + * @summary Resynchronizes replication. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Resync input. + * @param [options] The optional parameters + * @returns Promise + */ + resync(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.ResyncInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginResync(fabricName,protectionContainerName,migrationItemName,input,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 resynchronize replication of an ASR migration item. + * @summary Resynchronizes replication. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Resync input. + * @param [options] The optional parameters + * @returns Promise + */ + beginResync(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.ResyncInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + input, + options + }, + beginResyncOperationSpec, + 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?: Models.ReplicationMigrationItemsListByReplicationProtectionContainersNextOptionalParams): 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: Models.ReplicationMigrationItemsListByReplicationProtectionContainersNextOptionalParams, callback: msRest.ServiceCallback): void; + listByReplicationProtectionContainersNext(nextPageLink: string, options?: Models.ReplicationMigrationItemsListByReplicationProtectionContainersNextOptionalParams | 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, + Parameters.skipToken0, + Parameters.takeToken, + Parameters.filter + ], + 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.skipToken0, + Parameters.takeToken, + 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 beginResyncOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/resync", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "input", + mapper: { + ...Mappers.ResyncInput, + 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, + Parameters.skipToken0, + Parameters.takeToken, + Parameters.filter + ], + 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.skipToken0, + Parameters.takeToken, + 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..84b5425591f9 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 @@ -61,7 +60,7 @@ export class ReplicationNetworkMappings { } /** - * Gets the details of an ASR network mapping + * Gets the details of an ASR network mapping. * @summary Gets network mapping by name. * @param fabricName Primary fabric name. * @param networkName Primary network name. @@ -296,7 +295,7 @@ export class ReplicationNetworkMappings { const serializer = new msRest.Serializer(Mappers); const listByReplicationNetworksOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -323,7 +322,7 @@ const listByReplicationNetworksOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -351,7 +350,7 @@ const getOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworkMappings", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworkMappings", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -376,7 +375,7 @@ const listOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -412,7 +411,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -439,7 +438,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..e2ca3e1bc706 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 @@ -29,18 +28,18 @@ export class ReplicationNetworks { /** * Lists the networks available for a fabric. * @summary Gets the list of networks under a fabric. - * @param fabricName Fabric name + * @param fabricName Fabric name. * @param [options] The optional parameters * @returns Promise */ listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param fabricName Fabric name + * @param fabricName Fabric name. * @param callback The callback */ listByReplicationFabrics(fabricName: string, callback: msRest.ServiceCallback): void; /** - * @param fabricName Fabric name + * @param fabricName Fabric name. * @param options The optional parameters * @param callback The callback */ @@ -89,7 +88,7 @@ export class ReplicationNetworks { } /** - * Lists the networks available in a vault + * Lists the networks available in a vault. * @summary Gets the list of networks. View-only API. * @param [options] The optional parameters * @returns Promise @@ -143,7 +142,7 @@ export class ReplicationNetworks { } /** - * Lists the networks available in a vault + * Lists the networks available in a vault. * @summary Gets the list of networks. View-only API. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -176,7 +175,7 @@ export class ReplicationNetworks { const serializer = new msRest.Serializer(Mappers); const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -202,7 +201,7 @@ const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -229,7 +228,7 @@ const getOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworks", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworks", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..c25bf629663f 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 @@ -29,7 +28,7 @@ export class ReplicationPolicies { /** * Lists the replication policies for a vault. - * @summary Gets the list of replication policies + * @summary Gets the list of replication policies. * @param [options] The optional parameters * @returns Promise */ @@ -82,10 +81,10 @@ export class ReplicationPolicies { } /** - * The operation to create a replication policy + * The operation to create a replication policy. * @summary Creates the policy. - * @param policyName Replication policy name - * @param input Create policy input + * @param policyName Replication policy name. + * @param input Create policy input. * @param [options] The optional parameters * @returns Promise */ @@ -110,7 +109,7 @@ export class ReplicationPolicies { * The operation to update a replication policy. * @summary Updates the policy. * @param policyName Policy Id. - * @param input Update Policy Input + * @param input Update Policy Input. * @param [options] The optional parameters * @returns Promise */ @@ -120,10 +119,10 @@ export class ReplicationPolicies { } /** - * The operation to create a replication policy + * The operation to create a replication policy. * @summary Creates the policy. - * @param policyName Replication policy name - * @param input Create policy input + * @param policyName Replication policy name. + * @param input Create policy input. * @param [options] The optional parameters * @returns Promise */ @@ -159,7 +158,7 @@ export class ReplicationPolicies { * The operation to update a replication policy. * @summary Updates the policy. * @param policyName Policy Id. - * @param input Update Policy Input + * @param input Update Policy Input. * @param [options] The optional parameters * @returns Promise */ @@ -176,7 +175,7 @@ export class ReplicationPolicies { /** * Lists the replication policies for a vault. - * @summary Gets the list of replication policies + * @summary Gets the list of replication policies. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise @@ -208,7 +207,7 @@ export class ReplicationPolicies { const serializer = new msRest.Serializer(Mappers); const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -233,7 +232,7 @@ const listOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -259,7 +258,7 @@ const getOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -293,7 +292,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -318,7 +317,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..1f6a1ded0be8 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, @@ -132,7 +131,7 @@ export class ReplicationProtectableItems { 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}/replicationProtectableItems", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -142,7 +141,9 @@ const listByReplicationProtectionContainersOperationSpec: msRest.OperationSpec = ], queryParameters: [ Parameters.apiVersion, - Parameters.filter + Parameters.filter, + Parameters.take, + Parameters.skipToken1 ], headerParameters: [ Parameters.acceptLanguage @@ -160,7 +161,7 @@ const listByReplicationProtectionContainersOperationSpec: msRest.OperationSpec = const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -193,6 +194,12 @@ const listByReplicationProtectionContainersNextOperationSpec: msRest.OperationSp urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.take, + Parameters.skipToken1 + ], 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..2b9f46463c9d 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 @@ -130,7 +129,7 @@ export class ReplicationProtectedItems { /** * The operation to update the recovery settings of an ASR replication protected item. - * @summary Updates protection. + * @summary Updates the replication protected item settings. * @param fabricName Fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. @@ -143,12 +142,27 @@ 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. * @param fabricName The ARM fabric name. * @param protectionContainerName The protection container name. - * @param replicatedProtectedItemName The replicated protected item's name. + * @param replicatedProtectedItemName The replicated protected item name. * @param applyRecoveryPointInput The ApplyRecoveryPointInput. * @param [options] The optional parameters * @returns Promise @@ -158,9 +172,23 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Operation to cancel the failover of the replication protected item. + * @summary Execute cancel failover. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param [options] The optional parameters + * @returns Promise + */ + failoverCancel(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginFailoverCancel(fabricName,protectionContainerName,replicatedProtectedItemName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Operation to commit the failover of the replication protected item. - * @summary Execute commit failover + * @summary Execute commit failover. * @param fabricName Unique fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. @@ -174,11 +202,11 @@ export class ReplicationProtectedItems { /** * Operation to initiate a planned failover of the replication protected item. - * @summary Execute planned failover + * @summary Execute planned failover. * @param fabricName Unique fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. - * @param failoverInput Disable protection input. + * @param failoverInput Planned failover input. * @param [options] The optional parameters * @returns Promise */ @@ -203,6 +231,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. @@ -220,31 +263,46 @@ export class ReplicationProtectedItems { /** * Operation to reprotect or reverse replicate a failed over replication protected item. - * @summary Execute Reverse Replication\Reprotect + * @summary Execute Reverse Replication\Reprotect. * @param fabricName Unique fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. - * @param rrInput Disable protection input. + * @param reprotectInput Reverse replication input. * @param [options] The optional parameters * @returns Promise */ - reprotect(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, rrInput: Models.ReverseReplicationInput, options?: msRest.RequestOptionsBase): Promise { - return this.beginReprotect(fabricName,protectionContainerName,replicatedProtectedItemName,rrInput,options) + reprotect(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, reprotectInput: Models.ReverseReplicationInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginReprotect(fabricName,protectionContainerName,replicatedProtectedItemName,reprotectInput,options) .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 + * @summary Execute test failover. * @param fabricName Unique fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. - * @param failoverInput Test failover input. + * @param testfailoverInput Test failover input. * @param [options] The optional parameters * @returns Promise */ - testFailover(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, failoverInput: Models.TestFailoverInput, options?: msRest.RequestOptionsBase): Promise { - return this.beginTestFailover(fabricName,protectionContainerName,replicatedProtectedItemName,failoverInput,options) + testFailover(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, testfailoverInput: Models.TestFailoverInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginTestFailover(fabricName,protectionContainerName,replicatedProtectedItemName,testfailoverInput,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -265,11 +323,11 @@ export class ReplicationProtectedItems { /** * Operation to initiate a failover of the replication protected item. - * @summary Execute unplanned failover + * @summary Execute unplanned failover. * @param fabricName Unique fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. - * @param failoverInput Disable protection input. + * @param failoverInput Failover input. * @param [options] The optional parameters * @returns Promise */ @@ -369,7 +427,7 @@ export class ReplicationProtectedItems { /** * The operation to update the recovery settings of an ASR replication protected item. - * @summary Updates protection. + * @summary Updates the replication protected item settings. * @param fabricName Fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. @@ -390,12 +448,35 @@ 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. * @param fabricName The ARM fabric name. * @param protectionContainerName The protection container name. - * @param replicatedProtectedItemName The replicated protected item's name. + * @param replicatedProtectedItemName The replicated protected item name. * @param applyRecoveryPointInput The ApplyRecoveryPointInput. * @param [options] The optional parameters * @returns Promise @@ -413,9 +494,30 @@ export class ReplicationProtectedItems { options); } + /** + * Operation to cancel the failover of the replication protected item. + * @summary Execute cancel failover. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param [options] The optional parameters + * @returns Promise + */ + beginFailoverCancel(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + options + }, + beginFailoverCancelOperationSpec, + options); + } + /** * Operation to commit the failover of the replication protected item. - * @summary Execute commit failover + * @summary Execute commit failover. * @param fabricName Unique fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. @@ -436,11 +538,11 @@ export class ReplicationProtectedItems { /** * Operation to initiate a planned failover of the replication protected item. - * @summary Execute planned failover + * @summary Execute planned failover. * @param fabricName Unique fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. - * @param failoverInput Disable protection input. + * @param failoverInput Planned failover input. * @param [options] The optional parameters * @returns Promise */ @@ -481,6 +583,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. @@ -505,44 +630,67 @@ export class ReplicationProtectedItems { /** * Operation to reprotect or reverse replicate a failed over replication protected item. - * @summary Execute Reverse Replication\Reprotect + * @summary Execute Reverse Replication\Reprotect. * @param fabricName Unique fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. - * @param rrInput Disable protection input. + * @param reprotectInput Reverse replication input. * @param [options] The optional parameters * @returns Promise */ - beginReprotect(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, rrInput: Models.ReverseReplicationInput, options?: msRest.RequestOptionsBase): Promise { + beginReprotect(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, reprotectInput: Models.ReverseReplicationInput, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { fabricName, protectionContainerName, replicatedProtectedItemName, - rrInput, + reprotectInput, options }, beginReprotectOperationSpec, 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 + * @summary Execute test failover. * @param fabricName Unique fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. - * @param failoverInput Test failover input. + * @param testfailoverInput Test failover input. * @param [options] The optional parameters * @returns Promise */ - beginTestFailover(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, failoverInput: Models.TestFailoverInput, options?: msRest.RequestOptionsBase): Promise { + beginTestFailover(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, testfailoverInput: Models.TestFailoverInput, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { fabricName, protectionContainerName, replicatedProtectedItemName, - failoverInput, + testfailoverInput, options }, beginTestFailoverOperationSpec, @@ -574,11 +722,11 @@ export class ReplicationProtectedItems { /** * Operation to initiate a failover of the replication protected item. - * @summary Execute unplanned failover + * @summary Execute unplanned failover. * @param fabricName Unique fabric name. * @param protectionContainerName Protection container name. * @param replicatedProtectedItemName Replication protected item name. - * @param failoverInput Disable protection input. + * @param failoverInput Failover input. * @param [options] The optional parameters * @returns Promise */ @@ -658,7 +806,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 +817,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, @@ -685,7 +833,7 @@ export class ReplicationProtectedItems { 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}/replicationProtectedItems", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -712,7 +860,7 @@ const listByReplicationProtectionContainersOperationSpec: msRest.OperationSpec = const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -740,7 +888,7 @@ const getOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectedItems", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectedItems", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -748,7 +896,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.apiVersion, - Parameters.skipToken, + Parameters.skipToken0, Parameters.filter ], headerParameters: [ @@ -767,7 +915,7 @@ const listOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -803,7 +951,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginPurgeOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -830,7 +978,7 @@ const beginPurgeOperationSpec: msRest.OperationSpec = { const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -864,9 +1012,45 @@ 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", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -900,9 +1084,38 @@ const beginApplyRecoveryPointOperationSpec: msRest.OperationSpec = { serializer }; +const beginFailoverCancelOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCancel", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginFailoverCommitOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCommit", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCommit", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -931,7 +1144,7 @@ const beginFailoverCommitOperationSpec: msRest.OperationSpec = { const beginPlannedFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/plannedFailover", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/plannedFailover", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -967,7 +1180,7 @@ const beginPlannedFailoverOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -999,9 +1212,45 @@ 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", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -1030,7 +1279,7 @@ const beginRepairReplicationOperationSpec: msRest.OperationSpec = { const beginReprotectOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/reProtect", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/reProtect", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -1046,7 +1295,7 @@ const beginReprotectOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], requestBody: { - parameterPath: "rrInput", + parameterPath: "reprotectInput", mapper: { ...Mappers.ReverseReplicationInput, required: true @@ -1064,9 +1313,45 @@ 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", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -1082,7 +1367,7 @@ const beginTestFailoverOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], requestBody: { - parameterPath: "failoverInput", + parameterPath: "testfailoverInput", mapper: { ...Mappers.TestFailoverInput, required: true @@ -1102,7 +1387,7 @@ const beginTestFailoverOperationSpec: msRest.OperationSpec = { const beginTestFailoverCleanupOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailoverCleanup", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailoverCleanup", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -1138,7 +1423,7 @@ const beginTestFailoverCleanupOperationSpec: msRest.OperationSpec = { const beginUnplannedFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/unplannedFailover", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/unplannedFailover", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -1174,7 +1459,7 @@ const beginUnplannedFailoverOperationSpec: msRest.OperationSpec = { const beginUpdateMobilityServiceOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicationProtectedItemName}/updateMobilityService", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicationProtectedItemName}/updateMobilityService", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -1215,6 +1500,9 @@ const listByReplicationProtectionContainersNextOperationSpec: msRest.OperationSp urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1236,6 +1524,11 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken0, + 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..c9ddcb6e5dde 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 @@ -63,7 +62,7 @@ export class ReplicationProtectionContainerMappings { /** * Gets the details of a protection container mapping. - * @summary Gets a protection container mapping/ + * @summary Gets a protection container mapping. * @param fabricName Fabric name. * @param protectionContainerName Protection container name. * @param mappingName Protection Container mapping name. @@ -114,7 +113,7 @@ export class ReplicationProtectionContainerMappings { } /** - * The operation to purge(force delete) a protection container mapping + * The operation to purge(force delete) a protection container mapping. * @summary Purge protection container mapping. * @param fabricName Fabric name. * @param protectionContainerName Protection container name. @@ -206,7 +205,7 @@ export class ReplicationProtectionContainerMappings { } /** - * The operation to purge(force delete) a protection container mapping + * The operation to purge(force delete) a protection container mapping. * @summary Purge protection container mapping. * @param fabricName Fabric name. * @param protectionContainerName Protection container name. @@ -336,7 +335,7 @@ export class ReplicationProtectionContainerMappings { 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}/replicationProtectionContainerMappings", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -363,7 +362,7 @@ const listByReplicationProtectionContainersOperationSpec: msRest.OperationSpec = const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -391,7 +390,7 @@ const getOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -416,7 +415,7 @@ const listOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -452,7 +451,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginPurgeOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -479,7 +478,7 @@ const beginPurgeOperationSpec: msRest.OperationSpec = { const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -515,7 +514,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}/remove", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}/remove", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..93fda5607b41 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 @@ -104,7 +103,7 @@ export class ReplicationProtectionContainers { } /** - * The operation to a add a protectable item to a protection container(Add physical server.) + * The operation to a add a protectable item to a protection container(Add physical server). * @summary Adds a protectable item to the replication protection container. * @param fabricName The name of the fabric. * @param protectionContainerName The name of the protection container. @@ -193,7 +192,7 @@ export class ReplicationProtectionContainers { } /** - * The operation to a add a protectable item to a protection container(Add physical server.) + * The operation to a add a protectable item to a protection container(Add physical server). * @summary Adds a protectable item to the replication protection container. * @param fabricName The name of the fabric. * @param protectionContainerName The name of the protection container. @@ -318,7 +317,7 @@ export class ReplicationProtectionContainers { const serializer = new msRest.Serializer(Mappers); const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -344,7 +343,7 @@ const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -371,7 +370,7 @@ const getOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainers", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainers", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -396,7 +395,7 @@ const listOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -431,7 +430,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginDiscoverProtectableItemOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/discoverProtectableItem", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/discoverProtectableItem", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -466,7 +465,7 @@ const beginDiscoverProtectableItemOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/remove", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/remove", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -492,7 +491,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { const beginSwitchProtectionOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/switchprotection", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/switchprotection", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..c17a1a8534f1 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectionIntents.ts @@ -0,0 +1,257 @@ +/* + * 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?: Models.ReplicationProtectionIntentsListOptionalParams): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: Models.ReplicationProtectionIntentsListOptionalParams, callback: msRest.ServiceCallback): void; + list(options?: Models.ReplicationProtectionIntentsListOptionalParams | 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?: Models.ReplicationProtectionIntentsListNextOptionalParams): 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.ReplicationProtectionIntentsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ReplicationProtectionIntentsListNextOptionalParams | 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, + Parameters.skipToken0, + Parameters.takeToken + ], + 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, + Parameters.skipToken0, + Parameters.takeToken + ], + 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..d972dcbdd36e 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 @@ -110,7 +109,7 @@ export class ReplicationRecoveryPlans { * The operation to update a recovery plan. * @summary Updates the given recovery plan. * @param recoveryPlanName Recovery plan name. - * @param input Update recovery plan input + * @param input Update recovery plan input. * @param [options] The optional parameters * @returns Promise */ @@ -120,7 +119,19 @@ export class ReplicationRecoveryPlans { } /** - * The operation to commit the fail over of a recovery plan. + * The operation to cancel the failover of a recovery plan. + * @summary Execute cancel failover of the recovery plan. + * @param recoveryPlanName Recovery plan name. + * @param [options] The optional parameters + * @returns Promise + */ + failoverCancel(recoveryPlanName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginFailoverCancel(recoveryPlanName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to commit the failover of a recovery plan. * @summary Execute commit failover of the recovery plan. * @param recoveryPlanName Recovery plan name. * @param [options] The optional parameters @@ -160,7 +171,7 @@ export class ReplicationRecoveryPlans { * The operation to start the test failover of a recovery plan. * @summary Execute test failover of the recovery plan. * @param recoveryPlanName Recovery plan name. - * @param input Failover input. + * @param input Recovery plan test failover input. * @param [options] The optional parameters * @returns Promise */ @@ -173,7 +184,7 @@ export class ReplicationRecoveryPlans { * The operation to cleanup test failover of a recovery plan. * @summary Execute test failover cleanup of the recovery plan. * @param recoveryPlanName Recovery plan name. - * @param input Test failover cleanup input. + * @param input Recovery plan test failover cleanup input. * @param [options] The optional parameters * @returns Promise */ @@ -183,10 +194,10 @@ export class ReplicationRecoveryPlans { } /** - * The operation to start the failover of a recovery plan. + * The operation to start the unplanned failover of a recovery plan. * @summary Execute unplanned failover of the recovery plan. * @param recoveryPlanName Recovery plan name. - * @param input Failover input. + * @param input Recovery plan unplanned failover input. * @param [options] The optional parameters * @returns Promise */ @@ -235,7 +246,7 @@ export class ReplicationRecoveryPlans { * The operation to update a recovery plan. * @summary Updates the given recovery plan. * @param recoveryPlanName Recovery plan name. - * @param input Update recovery plan input + * @param input Update recovery plan input. * @param [options] The optional parameters * @returns Promise */ @@ -251,7 +262,24 @@ export class ReplicationRecoveryPlans { } /** - * The operation to commit the fail over of a recovery plan. + * The operation to cancel the failover of a recovery plan. + * @summary Execute cancel failover of the recovery plan. + * @param recoveryPlanName Recovery plan name. + * @param [options] The optional parameters + * @returns Promise + */ + beginFailoverCancel(recoveryPlanName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + recoveryPlanName, + options + }, + beginFailoverCancelOperationSpec, + options); + } + + /** + * The operation to commit the failover of a recovery plan. * @summary Execute commit failover of the recovery plan. * @param recoveryPlanName Recovery plan name. * @param [options] The optional parameters @@ -307,7 +335,7 @@ export class ReplicationRecoveryPlans { * The operation to start the test failover of a recovery plan. * @summary Execute test failover of the recovery plan. * @param recoveryPlanName Recovery plan name. - * @param input Failover input. + * @param input Recovery plan test failover input. * @param [options] The optional parameters * @returns Promise */ @@ -326,7 +354,7 @@ export class ReplicationRecoveryPlans { * The operation to cleanup test failover of a recovery plan. * @summary Execute test failover cleanup of the recovery plan. * @param recoveryPlanName Recovery plan name. - * @param input Test failover cleanup input. + * @param input Recovery plan test failover cleanup input. * @param [options] The optional parameters * @returns Promise */ @@ -342,10 +370,10 @@ export class ReplicationRecoveryPlans { } /** - * The operation to start the failover of a recovery plan. + * The operation to start the unplanned failover of a recovery plan. * @summary Execute unplanned failover of the recovery plan. * @param recoveryPlanName Recovery plan name. - * @param input Failover input. + * @param input Recovery plan unplanned failover input. * @param [options] The optional parameters * @returns Promise */ @@ -394,7 +422,7 @@ export class ReplicationRecoveryPlans { const serializer = new msRest.Serializer(Mappers); const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -419,7 +447,7 @@ const listOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -445,7 +473,7 @@ const getOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -479,7 +507,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -504,7 +532,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -536,9 +564,36 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginFailoverCancelOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/failoverCancel", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.recoveryPlanName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RecoveryPlan + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginFailoverCommitOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/failoverCommit", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/failoverCommit", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -565,7 +620,7 @@ const beginFailoverCommitOperationSpec: msRest.OperationSpec = { const beginPlannedFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/plannedFailover", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/plannedFailover", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -599,7 +654,7 @@ const beginPlannedFailoverOperationSpec: msRest.OperationSpec = { const beginReprotectOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/reProtect", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/reProtect", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -626,7 +681,7 @@ const beginReprotectOperationSpec: msRest.OperationSpec = { const beginTestFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/testFailover", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/testFailover", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -660,7 +715,7 @@ const beginTestFailoverOperationSpec: msRest.OperationSpec = { const beginTestFailoverCleanupOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/testFailoverCleanup", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/testFailoverCleanup", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -694,7 +749,7 @@ const beginTestFailoverCleanupOperationSpec: msRest.OperationSpec = { const beginUnplannedFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/unplannedFailover", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/unplannedFailover", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -733,6 +788,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..1320975a3dfa 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 @@ -30,18 +29,18 @@ export class ReplicationRecoveryServicesProviders { /** * Lists the registered recovery services providers for the specified fabric. * @summary Gets the list of registered recovery services providers for the fabric. - * @param fabricName Fabric name + * @param fabricName Fabric name. * @param [options] The optional parameters * @returns Promise */ listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param fabricName Fabric name + * @param fabricName Fabric name. * @param callback The callback */ listByReplicationFabrics(fabricName: string, callback: msRest.ServiceCallback): void; /** - * @param fabricName Fabric name + * @param fabricName Fabric name. * @param options The optional parameters * @param callback The callback */ @@ -60,20 +59,20 @@ export class ReplicationRecoveryServicesProviders { * Gets the details of registered recovery services provider. * @summary Gets the details of a recovery services provider. * @param fabricName Fabric name. - * @param providerName Recovery services provider name + * @param providerName Recovery services provider name. * @param [options] The optional parameters * @returns Promise */ get(fabricName: string, providerName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param fabricName Fabric name. - * @param providerName Recovery services provider name + * @param providerName Recovery services provider name. * @param callback The callback */ get(fabricName: string, providerName: string, callback: msRest.ServiceCallback): void; /** * @param fabricName Fabric name. - * @param providerName Recovery services provider name + * @param providerName Recovery services provider name. * @param options The optional parameters * @param callback The callback */ @@ -89,9 +88,23 @@ 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 + * @summary Purges recovery service provider from fabric. * @param fabricName Fabric name. * @param providerName Recovery services provider name. * @param [options] The optional parameters @@ -116,7 +129,7 @@ export class ReplicationRecoveryServicesProviders { } /** - * The operation to removes/delete(unregister) a recovery services provider from the vault + * The operation to removes/delete(unregister) a recovery services provider from the vault. * @summary Deletes provider from fabric. Note: Deleting provider for any fabric other than * SingleHost is unsupported. To maintain backward compatibility for released clients the object * "deleteRspInput" is used (if the object is empty we assume that it is old client and continue @@ -132,7 +145,7 @@ export class ReplicationRecoveryServicesProviders { } /** - * Lists the registered recovery services providers in the vault + * Lists the registered recovery services providers in the vault. * @summary Gets the list of registered recovery services providers in the vault. This is a view * only api. * @param [options] The optional parameters @@ -157,9 +170,30 @@ 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 + * @summary Purges recovery service provider from fabric. * @param fabricName Fabric name. * @param providerName Recovery services provider name. * @param [options] The optional parameters @@ -196,7 +230,7 @@ export class ReplicationRecoveryServicesProviders { } /** - * The operation to removes/delete(unregister) a recovery services provider from the vault + * The operation to removes/delete(unregister) a recovery services provider from the vault. * @summary Deletes provider from fabric. Note: Deleting provider for any fabric other than * SingleHost is unsupported. To maintain backward compatibility for released clients the object * "deleteRspInput" is used (if the object is empty we assume that it is old client and continue @@ -248,7 +282,7 @@ export class ReplicationRecoveryServicesProviders { } /** - * Lists the registered recovery services providers in the vault + * Lists the registered recovery services providers in the vault. * @summary Gets the list of registered recovery services providers in the vault. This is a view * only api. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -282,7 +316,7 @@ export class ReplicationRecoveryServicesProviders { const serializer = new msRest.Serializer(Mappers); const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -308,7 +342,7 @@ const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -335,7 +369,7 @@ const getOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryServicesProviders", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryServicesProviders", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -358,9 +392,44 @@ 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}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -386,7 +455,7 @@ const beginPurgeOperationSpec: msRest.OperationSpec = { const beginRefreshProviderOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/refreshProvider", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/refreshProvider", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -414,7 +483,7 @@ const beginRefreshProviderOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/remove", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/remove", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..af1c309c98c7 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 */ @@ -260,7 +259,7 @@ export class ReplicationStorageClassificationMappings { const serializer = new msRest.Serializer(Mappers); const listByReplicationStorageClassificationsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -287,7 +286,7 @@ const listByReplicationStorageClassificationsOperationSpec: msRest.OperationSpec const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -315,7 +314,7 @@ const getOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassificationMappings", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassificationMappings", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -340,7 +339,7 @@ const listOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -376,7 +375,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..6469cfc377dc 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 @@ -176,7 +175,7 @@ export class ReplicationStorageClassifications { const serializer = new msRest.Serializer(Mappers); const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -202,7 +201,7 @@ const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -229,7 +228,7 @@ const getOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassifications", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassifications", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..f7268ee12fec 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 @@ -81,7 +80,7 @@ export class ReplicationVaultHealth { const serializer = new msRest.Serializer(Mappers); const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -106,7 +105,7 @@ const getOperationSpec: msRest.OperationSpec = { const beginRefreshOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth/default/refresh", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth/default/refresh", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, 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..7fa265cda9e7 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationVaultSetting.ts @@ -0,0 +1,255 @@ +/* + * 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/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 { + return this.beginCreate(vaultSettingName,input,options) + .then(lroPoller => lroPoller.pollUntilFinished()) 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 + */ + beginCreate(vaultSettingName: string, input: Models.VaultSettingCreationInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + vaultSettingName, + input, + options + }, + beginCreateOperationSpec, + options); + } + + /** + * 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 beginCreateOperationSpec: 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..ee2d2b6ec639 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 @@ -57,32 +56,32 @@ export class ReplicationvCenters { } /** - * Gets the details of a registered vCenter server(Add vCenter server.) + * Gets the details of a registered vCenter server(Add vCenter server). * @summary Gets the details of a vCenter. * @param fabricName Fabric name. - * @param vCenterName vCenter name. + * @param vcenterName vcenter name. * @param [options] The optional parameters * @returns Promise */ - get(fabricName: string, vCenterName: string, options?: msRest.RequestOptionsBase): Promise; + get(fabricName: string, vcenterName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param fabricName Fabric name. - * @param vCenterName vCenter name. + * @param vcenterName vcenter name. * @param callback The callback */ - get(fabricName: string, vCenterName: string, callback: msRest.ServiceCallback): void; + get(fabricName: string, vcenterName: string, callback: msRest.ServiceCallback): void; /** * @param fabricName Fabric name. - * @param vCenterName vCenter name. + * @param vcenterName vcenter name. * @param options The optional parameters * @param callback The callback */ - get(fabricName: string, vCenterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(fabricName: string, vCenterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(fabricName: string, vcenterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(fabricName: string, vcenterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { fabricName, - vCenterName, + vcenterName, options }, getOperationSpec, @@ -93,26 +92,26 @@ export class ReplicationvCenters { * The operation to create a vCenter object.. * @summary Add vCenter. * @param fabricName Fabric name. - * @param vCenterName vCenter name. + * @param vcenterName vcenter name. * @param addVCenterRequest The input to the add vCenter operation. * @param [options] The optional parameters * @returns Promise */ - create(fabricName: string, vCenterName: string, addVCenterRequest: Models.AddVCenterRequest, options?: msRest.RequestOptionsBase): Promise { - return this.beginCreate(fabricName,vCenterName,addVCenterRequest,options) + create(fabricName: string, vcenterName: string, addVCenterRequest: Models.AddVCenterRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(fabricName,vcenterName,addVCenterRequest,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** * The operation to remove(unregister) a registered vCenter server from the vault. - * @summary Remove vCenter operation. + * @summary Remove vcenter operation. * @param fabricName Fabric name. - * @param vCenterName vCenter name. + * @param vcenterName vcenter name. * @param [options] The optional parameters * @returns Promise */ - deleteMethod(fabricName: string, vCenterName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginDeleteMethod(fabricName,vCenterName,options) + deleteMethod(fabricName: string, vcenterName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(fabricName,vcenterName,options) .then(lroPoller => lroPoller.pollUntilFinished()); } @@ -120,13 +119,13 @@ 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 */ - update(fabricName: string, vCenterName: string, updateVCenterRequest: Models.UpdateVCenterRequest, options?: msRest.RequestOptionsBase): Promise { - return this.beginUpdate(fabricName,vCenterName,updateVCenterRequest,options) + update(fabricName: string, vcenterName: string, updateVCenterRequest: Models.UpdateVCenterRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(fabricName,vcenterName,updateVCenterRequest,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -159,16 +158,16 @@ export class ReplicationvCenters { * The operation to create a vCenter object.. * @summary Add vCenter. * @param fabricName Fabric name. - * @param vCenterName vCenter name. + * @param vcenterName vcenter name. * @param addVCenterRequest The input to the add vCenter operation. * @param [options] The optional parameters * @returns Promise */ - beginCreate(fabricName: string, vCenterName: string, addVCenterRequest: Models.AddVCenterRequest, options?: msRest.RequestOptionsBase): Promise { + beginCreate(fabricName: string, vcenterName: string, addVCenterRequest: Models.AddVCenterRequest, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { fabricName, - vCenterName, + vcenterName, addVCenterRequest, options }, @@ -178,17 +177,17 @@ export class ReplicationvCenters { /** * The operation to remove(unregister) a registered vCenter server from the vault. - * @summary Remove vCenter operation. + * @summary Remove vcenter operation. * @param fabricName Fabric name. - * @param vCenterName vCenter name. + * @param vcenterName vcenter name. * @param [options] The optional parameters * @returns Promise */ - beginDeleteMethod(fabricName: string, vCenterName: string, options?: msRest.RequestOptionsBase): Promise { + beginDeleteMethod(fabricName: string, vcenterName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { fabricName, - vCenterName, + vcenterName, options }, beginDeleteMethodOperationSpec, @@ -199,16 +198,16 @@ 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 */ - beginUpdate(fabricName: string, vCenterName: string, updateVCenterRequest: Models.UpdateVCenterRequest, options?: msRest.RequestOptionsBase): Promise { + beginUpdate(fabricName: string, vcenterName: string, updateVCenterRequest: Models.UpdateVCenterRequest, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { fabricName, - vCenterName, + vcenterName, updateVCenterRequest, options }, @@ -279,7 +278,7 @@ export class ReplicationvCenters { const serializer = new msRest.Serializer(Mappers); const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -305,13 +304,13 @@ const listByReplicationFabricsOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vcenterName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.fabricName, - Parameters.vCenterName + Parameters.vcenterName ], queryParameters: [ Parameters.apiVersion @@ -332,7 +331,7 @@ const getOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationvCenters", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationvCenters", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -357,13 +356,13 @@ const listOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vcenterName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.fabricName, - Parameters.vCenterName + Parameters.vcenterName ], queryParameters: [ Parameters.apiVersion @@ -392,13 +391,13 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vcenterName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.fabricName, - Parameters.vCenterName + Parameters.vcenterName ], queryParameters: [ Parameters.apiVersion @@ -418,13 +417,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vcenterName}", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, Parameters.subscriptionId, Parameters.fabricName, - Parameters.vCenterName + Parameters.vcenterName ], queryParameters: [ Parameters.apiVersion @@ -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..0bf69119325b --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/supportedOperatingSystemsOperations.ts @@ -0,0 +1,79 @@ +/* + * 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 operating systems by SRS. + * @param [options] The optional parameters + * @returns Promise + */ + get(options?: Models.SupportedOperatingSystemsGetOptionalParams): Promise; + /** + * @param callback The callback + */ + get(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + get(options: Models.SupportedOperatingSystemsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(options?: Models.SupportedOperatingSystemsGetOptionalParams | 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, + Parameters.instanceType + ], + 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..f02b68246e41 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 @@ -97,7 +96,7 @@ export class TargetComputeSizes { const serializer = new msRest.Serializer(Mappers); const listByReplicationProtectedItemsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/targetComputeSizes", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/targetComputeSizes", urlParameters: [ Parameters.resourceName, Parameters.resourceGroupName, @@ -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..3fe1ac32529f 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 @@ -9,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -19,12 +19,15 @@ 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; @@ -36,28 +39,39 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { replicationvCenters: operations.ReplicationvCenters; replicationJobs: operations.ReplicationJobs; replicationPolicies: operations.ReplicationPolicies; + replicationProtectionIntents: operations.ReplicationProtectionIntents; replicationRecoveryPlans: operations.ReplicationRecoveryPlans; + supportedOperatingSystems: operations.SupportedOperatingSystemsOperations; replicationVaultHealth: operations.ReplicationVaultHealth; + replicationVaultSetting: operations.ReplicationVaultSetting; /** * Initializes a new instance of the SiteRecoveryManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription Id. * @param resourceGroupName The name of the resource group where the recovery services vault is * present. * @param resourceName The name of the recovery services vault. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, resourceGroupName: string, resourceName: string, options?: Models.SiteRecoveryManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, resourceGroupName: string, resourceName: string, options?: Models.SiteRecoveryManagementClientOptions) { 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); @@ -69,8 +83,11 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { this.replicationvCenters = new operations.ReplicationvCenters(this); this.replicationJobs = new operations.ReplicationJobs(this); this.replicationPolicies = new operations.ReplicationPolicies(this); + this.replicationProtectionIntents = new operations.ReplicationProtectionIntents(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..fcacb808aa25 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 @@ -11,12 +10,13 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; 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; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; resourceGroupName: string; resourceName: string; @@ -24,14 +24,19 @@ export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServic /** * Initializes a new instance of the SiteRecoveryManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription Id. * @param resourceGroupName The name of the resource group where the recovery services vault is * present. * @param resourceName The name of the recovery services vault. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, resourceGroupName: string, resourceName: string, options?: Models.SiteRecoveryManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, resourceGroupName: string, resourceName: string, options?: Models.SiteRecoveryManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } @@ -48,14 +53,14 @@ export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServic if (!options) { options = {}; } - if(!options.userAgent) { + if (!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } super(credentials, options); - this.apiVersion = '2018-01-10'; + this.apiVersion = '2021-04-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; @@ -65,10 +70,10 @@ export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServic this.resourceGroupName = resourceGroupName; this.resourceName = resourceName; - if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } 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