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 3e179cc135b9..2713d36ab7a0 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md @@ -1,11 +1,11 @@ ## Azure SiteRecoveryManagementClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SiteRecoveryManagementClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for SiteRecoveryManagementClient. ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -21,7 +21,6 @@ Install both packages using the below command: ```bash npm install --save @azure/arm-recoveryservices-siterecovery @azure/identity ``` - > **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. @@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ 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 @@ -51,7 +49,6 @@ const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; // 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); @@ -86,7 +83,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const credential = new InteractiveBrowserCredential( { clientId: "", - tenantId: "" + tenant: "" }); const client = new Azure.ArmRecoveryservicesSiterecovery.SiteRecoveryManagementClient(creds, subscriptionId); client.operations.list().then((result) => { diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json index 7b0e68bc6d42..033c4a126636 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json @@ -4,10 +4,10 @@ "description": "SiteRecoveryManagementClient Library with typescript type definitions for node.js and browser.", "version": "3.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.4.0", - "@azure/ms-rest-js": "^1.11.0", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", "@azure/core-auth": "^1.1.4", - "tslib": "^1.9.3" + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -22,17 +22,18 @@ "types": "./esm/siteRecoveryManagementClient.d.ts", "devDependencies": { "typescript": "^3.6.0", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" + "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", @@ -44,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..ab342429585d 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,7237 +3034,11600 @@ 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[]; /** - * @member {string} [errorMessage] Error message. + * The count of protected items which are protected in forward direction. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errorMessage?: string; + readonly forwardProtectedItemCount?: number; /** - * @member {string} [possibleCauses] Possible causes of error. + * The count of protected items which are protected in reverse direction. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - possibleCauses?: string; + readonly reverseProtectedItemCount?: number; +} + +/** + * Contains the possible cases for EnableMigrationProviderSpecificInput. + */ +export type EnableMigrationProviderSpecificInputUnion = EnableMigrationProviderSpecificInput | VMwareCbtEnableMigrationInput; + +/** + * Enable migration provider specific input. + */ +export interface EnableMigrationProviderSpecificInput { /** - * @member {string} [recommendedAction] Recommended action to resolve error. + * Polymorphic Discriminator */ - recommendedAction?: string; + instanceType: "EnableMigrationProviderSpecificInput"; +} + +/** + * Enable migration input properties. + */ +export interface EnableMigrationInputProperties { /** - * @member {Date} [creationTimeUtc] Error creation time (UTC) + * The policy Id. */ - creationTimeUtc?: Date; + policyId: string; /** - * @member {string} [recoveryProviderErrorMessage] DRA error message. + * The provider specific details. */ - recoveryProviderErrorMessage?: string; + providerSpecificDetails: EnableMigrationProviderSpecificInputUnion; +} + +/** + * Enable migration input. + */ +export interface EnableMigrationInput { /** - * @member {string} [entityId] ID of the entity. + * Enable migration input properties. */ - entityId?: string; + properties: EnableMigrationInputProperties; +} + +/** + * Enable protection input properties. + */ +export interface EnableProtectionInputProperties { + /** + * The Policy Id. + */ + policyId?: string; + /** + * The protectable item Id. + */ + 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; +} + +/** + * Contains the possible cases for JobTaskDetails. + */ +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 { + /** + * Polymorphic Discriminator + */ + instanceType: "JobTaskDetails"; + /** + * The job entity. + */ + jobTask?: JobEntity; } /** - * @interface - * An interface representing FabricReplicationGroupTaskDetails. * This class represents the fabric replication group task details. - * */ export interface FabricReplicationGroupTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "FabricReplicationGroupTaskDetails"; /** - * @member {string} [skippedReason] The skipped reason. + * The job entity. */ - skippedReason?: string; + jobTask?: JobEntity; /** - * @member {string} [skippedReasonString] The skipped reason string. + * The skipped reason. */ - skippedReasonString?: string; + skippedReason?: string; /** - * @member {JobEntity} [jobTask] The job entity. + * The skipped reason string. */ - jobTask?: JobEntity; + 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; + 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 InMageReplicationDetails. - * InMage provider specific settings - * + * InMageRcm source agent upgrade blocking error details. */ -export interface InMageReplicationDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "InMage"; +export interface InMageRcmAgentUpgradeBlockingErrorDetails { /** - * @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 error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - activeSiteType?: string; + readonly errorCode?: string; /** - * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary - * side. + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceVmCpuCount?: number; + readonly errorMessage?: string; /** - * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the - * primary side. + * The possible causes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceVmRamSizeInMB?: number; + readonly possibleCauses?: string; /** - * @member {OSDiskDetails} [osDetails] The OS details. + * The recommended action. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osDetails?: OSDiskDetails; + readonly recommendedAction?: string; /** - * @member {string} [protectionStage] The protection stage. + * The error message parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectionStage?: string; + readonly errorMessageParameters?: { [propertyName: string]: string }; /** - * @member {string} [vmId] The virtual machine Id. + * The error tags. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vmId?: string; + readonly errorTags?: { [propertyName: string]: string }; +} + +/** + * ApplyRecoveryPoint input specific to InMageRcm provider. + */ +export interface InMageRcmApplyRecoveryPointInput { /** - * @member {string} [vmProtectionState] The protection state for the vm. + * Polymorphic Discriminator */ - vmProtectionState?: string; + instanceType: "InMageRcm"; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The recovery point Id. */ - vmProtectionStateDescription?: string; + recoveryPointId: string; +} + +/** + * InMageRcm discovered protected VM details. + */ +export interface InMageRcmDiscoveredProtectedVmDetails { /** - * @member {InitialReplicationDetails} [resyncDetails] The resync details of - * the machine + * The VCenter Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - resyncDetails?: InitialReplicationDetails; + readonly vCenterId?: string; /** - * @member {Date} [retentionWindowStart] The retention window start time. + * The VCenter fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionWindowStart?: Date; + readonly vCenterFqdn?: string; /** - * @member {Date} [retentionWindowEnd] The retention window end time. + * The list of datastores. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionWindowEnd?: Date; + readonly datastores?: string[]; /** - * @member {number} [compressedDataRateInMB] The compressed data change rate - * in MB. + * The list of IP addresses. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - compressedDataRateInMB?: number; + readonly ipAddresses?: string[]; /** - * @member {number} [uncompressedDataRateInMB] The uncompressed data change - * rate in MB. + * The VMware tools status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - uncompressedDataRateInMB?: number; + readonly vmwareToolsStatus?: string; /** - * @member {number} [rpoInSeconds] The RPO in seconds. + * The VM power status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rpoInSeconds?: number; + readonly powerStatus?: string; /** - * @member {InMageProtectedDiskDetails[]} [protectedDisks] The list of - * protected disks. + * The VM fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectedDisks?: InMageProtectedDiskDetails[]; + readonly vmFqdn?: string; /** - * @member {string} [ipAddress] The source IP address. + * The VM's OS name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ipAddress?: string; + readonly osName?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the source - * server. + * The SDS created timestamp. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastHeartbeat?: Date; + readonly createdTimestamp?: Date; /** - * @member {string} [processServerId] The process server Id. + * The SDS updated timestamp. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - processServerId?: string; + readonly updatedTimestamp?: Date; /** - * @member {string} [masterTargetId] The master target Id. + * A value indicating whether the VM is deleted. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - masterTargetId?: string; + readonly isDeleted?: boolean; /** - * @member {{ [propertyName: string]: Date } | { [propertyName: string]: - * string }} [consistencyPoints] The collection of Consistency points. + * The last time when SDS information discovered in SRS. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - consistencyPoints?: { [propertyName: string]: Date } | { [propertyName: string]: string }; + readonly lastDiscoveryTimeInUtc?: Date; +} + +/** + * InMageRcm disk input. + */ +export interface InMageRcmDiskInput { /** - * @member {string} [diskResized] A value indicating whether any disk is - * resized for this VM. + * The disk Id. */ - diskResized?: string; + diskId: string; /** - * @member {string} [rebootAfterUpdateStatus] A value indicating whether the - * source server requires a restart after update. + * The log storage account ARM Id. */ - rebootAfterUpdateStatus?: string; + logStorageAccountId: string; /** - * @member {string} [multiVmGroupId] The multi vm group Id, if any. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - multiVmGroupId?: string; + diskType: DiskAccountType; /** - * @member {string} [multiVmGroupName] The multi vm group name, if any. + * The DiskEncryptionSet ARM Id. */ - multiVmGroupName?: string; + diskEncryptionSetId?: string; +} + +/** + * InMageRcm disk input. + */ +export interface InMageRcmDisksDefaultInput { /** - * @member {string} [multiVmSyncStatus] A value indicating whether the multi - * vm sync is enabled or disabled. + * The log storage account ARM Id. */ - multiVmSyncStatus?: string; + logStorageAccountId: string; /** - * @member {InMageAgentDetails} [agentDetails] The agent details. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - agentDetails?: InMageAgentDetails; + diskType: DiskAccountType; /** - * @member {string} [vCenterInfrastructureId] The vCenter infrastructure Id. + * The DiskEncryptionSet ARM Id. */ - vCenterInfrastructureId?: string; + diskEncryptionSetId?: string; +} + +/** + * InMageRcm specific enable protection input. + */ +export interface InMageRcmEnableProtectionInput { /** - * @member {string} [infrastructureVmId] The infrastructure VM Id. + * Polymorphic Discriminator */ - infrastructureVmId?: string; + instanceType: "InMageRcm"; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The ARM Id of discovered machine. */ - vmNics?: VMNicDetails[]; + fabricDiscoveryMachineId: string; /** - * @member {string} [discoveryType] A value indicating the discovery type of - * the machine. + * The disks to include list. */ - discoveryType?: string; + disksToInclude?: InMageRcmDiskInput[]; /** - * @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 default disk input. */ - azureStorageAccountId?: string; + disksDefault?: InMageRcmDisksDefaultInput; /** - * @member {string[]} [datastores] The datastores of the on-premise machine - * Value can be list of strings that contain datastore names + * The target resource group ARM Id. */ - datastores?: string[]; + targetResourceGroupId: string; /** - * @member {HealthError[]} [validationErrors] The validation errors of the - * on-premise machine Value can be list of validation errors + * The selected target network ARM Id. */ - validationErrors?: HealthError[]; + targetNetworkId?: string; /** - * @member {Date} [lastRpoCalculatedTime] The last RPO calculated time. + * The selected test network ARM Id. */ - lastRpoCalculatedTime?: Date; + testNetworkId?: string; /** - * @member {Date} [lastUpdateReceivedTime] The last update time received from - * on-prem components. + * The selected target subnet name. */ - lastUpdateReceivedTime?: Date; + targetSubnetName?: string; /** - * @member {string} [replicaId] The replica id of the protected item. + * The selected test subnet name. */ - replicaId?: string; + testSubnetName?: string; /** - * @member {string} [osVersion] The OS Version of the protected item. + * The target VM name. */ - osVersion?: string; -} - -/** - * @interface - * An interface representing InMageReprotectInput. - * InMageAzureV2 specific provider input. - * - */ -export interface InMageReprotectInput { + targetVmName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The target VM size. */ - instanceType: "InMage"; + targetVmSize?: string; /** - * @member {string} masterTargetId The Master Target Id. + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ - masterTargetId: string; + licenseType?: LicenseType; /** - * @member {string} processServerId The Process Server Id. + * The target availability set ARM Id. */ - processServerId: string; + targetAvailabilitySetId?: string; /** - * @member {string} retentionDrive The retention drive to use on the MT. + * The target availability zone. */ - retentionDrive: string; + targetAvailabilityZone?: string; /** - * @member {string} [runAsAccountId] The CS account Id. + * The target proximity placement group Id. */ - runAsAccountId?: string; + targetProximityPlacementGroupId?: string; /** - * @member {string} [datastoreName] The target datastore name. + * The target boot diagnostics storage account ARM Id. */ - datastoreName?: string; + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {InMageDiskExclusionInput} [diskExclusionInput] The enable disk - * exclusion input. + * The run-as account Id. */ - diskExclusionInput?: InMageDiskExclusionInput; + runAsAccountId?: string; /** - * @member {string} profileId The Policy Id. + * The process server Id. */ - profileId: string; + processServerId: string; /** - * @member {string[]} [disksToInclude] The disks to include list. + * The multi VM group name. */ - disksToInclude?: string[]; + multiVmGroupName?: string; } /** - * @interface - * An interface representing JobProperties. - * Job custom data details. - * + * Event details for InMageRcm provider. */ -export interface JobProperties { - /** - * @member {string} [activityId] The activity id. - */ - activityId?: string; +export interface InMageRcmEventDetails { /** - * @member {string} [scenarioName] The ScenarioName. + * Polymorphic Discriminator */ - scenarioName?: string; + instanceType: "InMageRcm"; /** - * @member {string} [friendlyName] The DisplayName. + * The protected item name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly protectedItemName?: string; /** - * @member {string} [state] The status of the Job. It is one of these values - * - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or - * Other. + * The protected item name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state?: string; + readonly vmName?: string; /** - * @member {string} [stateDescription] The description of the state of the - * Job. For e.g. - For Succeeded state, description can be Completed, - * PartiallySucceeded, CompletedWithInformation or Skipped. + * The latest agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - stateDescription?: string; + readonly latestAgentVersion?: string; /** - * @member {ASRTask[]} [tasks] The tasks. + * The job Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tasks?: ASRTask[]; + readonly jobId?: string; /** - * @member {JobErrorDetails[]} [errors] The errors. + * The fabric name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errors?: JobErrorDetails[]; + readonly fabricName?: string; /** - * @member {Date} [startTime] The start time. + * The appliance name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly applianceName?: string; /** - * @member {Date} [endTime] The end time. + * The server type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTime?: Date; + readonly serverType?: string; /** - * @member {string[]} [allowedActions] The Allowed action the job. + * The component display name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedActions?: string[]; + readonly componentDisplayName?: string; +} + +/** + * InMageRcm fabric provider specific settings. + */ +export interface InMageRcmFabricCreationInput { /** - * @member {string} [targetObjectId] The affected Object Id. + * Polymorphic Discriminator */ - targetObjectId?: string; + instanceType: "InMageRcm"; /** - * @member {string} [targetObjectName] The name of the affected object. + * The ARM Id of the VMware site. */ - targetObjectName?: string; + vmwareSiteId: string; /** - * @member {string} [targetInstanceType] The type of the affected object - * which is of {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} - * class. + * The ARM Id of the physical site. */ - targetInstanceType?: string; + physicalSiteId: string; /** - * @member {JobDetailsUnion} [customDetails] The custom job details like test - * failover job details. + * The identity provider input for source agent authentication. */ - customDetails?: JobDetailsUnion; + sourceAgentIdentity: IdentityProviderInput; } /** - * @interface - * An interface representing Job. - * Job details. - * - * @extends Resource + * Process server details. */ -export interface Job extends Resource { +export interface ProcessServerDetails { /** - * @member {JobProperties} [properties] The custom data. + * The process server Id. + * **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 id?: string; /** - * @member {string} [startTime] Date time to get jobs from. + * The process server name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: string; + readonly name?: string; /** - * @member {string} [endTime] Date time to get jobs upto. + * The process server Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTime?: string; + readonly biosId?: string; /** - * @member {string} [fabricId] The Id of the fabric to search jobs under. + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricId?: string; + readonly fabricObjectId?: string; /** - * @member {string} [affectedObjectTypes] The type of objects. + * The process server Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - affectedObjectTypes?: string; + readonly fqdn?: string; /** - * @member {string} [jobStatus] The states of the job to be filtered can be - * in. + * The list of IP addresses for communicating with the RCM component. + * **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 ipAddresses?: string[]; /** - * @member {string} instanceType Polymorphic Discriminator + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "JobStatus"; + readonly version?: string; /** - * @member {string} [jobId] Job arm id for the event. + * The last heartbeat received from the process server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobId?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [jobFriendlyName] JobName for the Event. + * The total memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobFriendlyName?: string; + readonly totalMemoryInBytes?: number; /** - * @member {string} [jobStatus] JobStatus for the Event. + * The available memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobStatus?: string; + readonly availableMemoryInBytes?: number; /** - * @member {string} [affectedObjectType] AffectedObjectType for the event. + * The used memory. + * **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 usedMemoryInBytes?: number; /** - * @member {string} instanceType Polymorphic Discriminator + * The memory usage percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "JobTaskDetails"; + readonly memoryUsagePercentage?: number; /** - * @member {JobEntity} [jobTask] The job entity. + * The total disk space. + * **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 totalSpaceInBytes?: number; /** - * @member {string} [friendlyName] The Friendly Name. + * The available disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly availableSpaceInBytes?: number; /** - * @member {string} [networkVirtualizationStatus] A value indicating whether - * Network Virtualization is enabled for the logical network. + * The used disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkVirtualizationStatus?: string; + readonly usedSpaceInBytes?: number; /** - * @member {string} [logicalNetworkUsage] A value indicating whether logical - * network is used as private test network by test failover. + * The free disk space percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - logicalNetworkUsage?: string; + readonly freeSpacePercentage?: number; /** - * @member {string} [logicalNetworkDefinitionsStatus] A value indicating - * whether logical network definitions are isolated. + * The uploading pending data in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - logicalNetworkDefinitionsStatus?: string; -} - -/** - * @interface - * An interface representing LogicalNetwork. - * Logical network data model. - * - * @extends Resource - */ -export interface LogicalNetwork extends Resource { + readonly throughputUploadPendingDataInBytes?: number; /** - * @member {LogicalNetworkProperties} [properties] The Logical Network - * Properties. + * The throughput in bytes. + * **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 throughputInBytes?: number; /** - * @member {string} instanceType Polymorphic Discriminator + * The processor usage percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "ManualActionTaskDetails"; + readonly processorUsagePercentage?: number; /** - * @member {string} [name] The name. + * 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.** */ - name?: string; + readonly throughputStatus?: RcmComponentStatus; /** - * @member {string} [instructions] The instructions. + * The system load. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instructions?: string; + readonly systemLoad?: number; /** - * @member {string} [observation] The observation. + * 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.** */ - observation?: string; -} - -/** - * @interface - * An interface representing RetentionVolume. - * The retention details of the MT. - * - */ -export interface RetentionVolume { + readonly systemLoadStatus?: RcmComponentStatus; /** - * @member {string} [volumeName] The volume name. + * 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.** */ - volumeName?: string; + readonly diskUsageStatus?: RcmComponentStatus; /** - * @member {number} [capacityInBytes] The volume capacity. + * 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.** */ - capacityInBytes?: number; + readonly memoryUsageStatus?: RcmComponentStatus; /** - * @member {number} [freeSpaceInBytes] The free space available in this - * volume. + * 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.** */ - freeSpaceInBytes?: number; + readonly processorUsageStatus?: RcmComponentStatus; /** - * @member {number} [thresholdPercentage] The threshold percentage. + * 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.** */ - thresholdPercentage?: number; -} - -/** - * @interface - * An interface representing VersionDetails. - * Version related details. - * - */ -export interface VersionDetails { + readonly health?: ProtectionHealth; /** - * @member {string} [version] The agent version. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - version?: string; + readonly healthErrors?: HealthError[]; /** - * @member {Date} [expiryDate] Version expiry date. + * The protected item count. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expiryDate?: Date; + readonly protectedItemCount?: number; /** - * @member {AgentVersionStatus} [status] A value indicating whether security - * update required. Possible values include: 'Supported', 'NotSupported', - * 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' + * 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.** */ - status?: AgentVersionStatus; + readonly historicHealth?: ProtectionHealth; } /** - * @interface - * An interface representing MasterTargetServer. - * Details of a Master Target Server. - * + * RCM proxy details. */ -export interface MasterTargetServer { +export interface RcmProxyDetails { /** - * @member {string} [id] The server Id. + * The RCM proxy 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 RCM proxy 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 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} [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 RCM proxy 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 client authentication type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastHeartbeat?: Date; + readonly clientAuthenticationType?: string; /** - * @member {string} [versionStatus] Version status + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - versionStatus?: string; + readonly version?: string; /** - * @member {RetentionVolume[]} [retentionVolumes] The retention volumes of - * Master target Server. + * The last heartbeat received from the RCM proxy. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionVolumes?: RetentionVolume[]; + readonly lastHeartbeatUtc?: Date; /** - * @member {DataStore[]} [dataStores] The list of data stores in the fabric. + * 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.** */ - dataStores?: DataStore[]; + readonly health?: ProtectionHealth; /** - * @member {HealthError[]} [validationErrors] Validation errors. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - validationErrors?: HealthError[]; + readonly healthErrors?: HealthError[]; +} + +/** + * Push installer details. + */ +export interface PushInstallerDetails { /** - * @member {HealthError[]} [healthErrors] Health errors. + * The push installer Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly id?: string; /** - * @member {number} [diskCount] Disk count of the master target. + * The push installer name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - diskCount?: number; + readonly name?: string; /** - * @member {string} [osVersion] OS Version of the master target. + * The push installer Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osVersion?: string; + readonly biosId?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentExpiryDate?: Date; + readonly fabricObjectId?: string; /** - * @member {string} [marsAgentVersion] MARS agent version. + * The push installer Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - marsAgentVersion?: string; + readonly fqdn?: string; /** - * @member {Date} [marsAgentExpiryDate] MARS agent expiry date. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - marsAgentExpiryDate?: Date; + readonly version?: string; /** - * @member {VersionDetails} [agentVersionDetails] Agent version details. + * The last heartbeat received from the push installer. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentVersionDetails?: VersionDetails; + readonly lastHeartbeatUtc?: Date; /** - * @member {VersionDetails} [marsAgentVersionDetails] Mars agent version - * details. + * 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.** */ - marsAgentVersionDetails?: VersionDetails; + 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 MobilityServiceUpdate. - * The Mobility Service update details. - * + * Replication agent details. */ -export interface MobilityServiceUpdate { +export interface ReplicationAgentDetails { /** - * @member {string} [version] The version of the latest update. + * The replication agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - version?: string; - /** - * @member {string} [rebootStatus] The reboot status of the update - whether - * it is required or not. - */ - rebootStatus?: string; + readonly id?: string; /** - * @member {string} [osType] The OS type. + * The replication agent name. + * **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 name?: string; /** - * @member {string} [name] The subnet 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} [friendlyName] The subnet friendly name. + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly fabricObjectId?: string; /** - * @member {string[]} [addressList] The list of addresses for the subnet. + * The replication agent Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - addressList?: string[]; -} - -/** - * @interface - * An interface representing NetworkProperties. - * Network Properties - * - */ -export interface NetworkProperties { + readonly fqdn?: string; /** - * @member {string} [fabricType] The Fabric Type. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricType?: string; + readonly version?: string; /** - * @member {Subnet[]} [subnets] The List of subnets. + * The last heartbeat received from the replication agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnets?: Subnet[]; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [friendlyName] The Friendly Name. + * 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.** */ - friendlyName?: string; + readonly health?: ProtectionHealth; /** - * @member {string} [networkType] The Network Type. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkType?: string; + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing Network. - * Network model. - * - * @extends Resource + * Reprotect agent details. */ -export interface Network extends Resource { +export interface ReprotectAgentDetails { /** - * @member {NetworkProperties} [properties] The Network Properties. + * The reprotect agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: NetworkProperties; -} - -/** - * @interface - * An interface representing NetworkMappingProperties. - * Network Mapping Properties. - * - */ -export interface NetworkMappingProperties { + readonly id?: string; /** - * @member {string} [state] The pairing state for network mapping. + * The reprotect agent name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state?: string; + readonly name?: string; /** - * @member {string} [primaryNetworkFriendlyName] The primary network friendly - * name. + * The reprotect agent Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryNetworkFriendlyName?: string; + readonly biosId?: string; /** - * @member {string} [primaryNetworkId] The primary network id for network - * mapping. + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryNetworkId?: string; + readonly fabricObjectId?: string; /** - * @member {string} [primaryFabricFriendlyName] The primary fabric friendly - * name. + * The reprotect agent Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryFabricFriendlyName?: string; + readonly fqdn?: string; /** - * @member {string} [recoveryNetworkFriendlyName] The recovery network - * friendly name. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryNetworkFriendlyName?: string; + readonly version?: string; /** - * @member {string} [recoveryNetworkId] The recovery network id for network - * mapping. + * The last heartbeat received from the reprotect agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryNetworkId?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [recoveryFabricArmId] The recovery fabric ARM id. + * 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.** */ - recoveryFabricArmId?: string; + readonly health?: ProtectionHealth; /** - * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly - * name. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricFriendlyName?: string; + readonly healthErrors?: HealthError[]; /** - * @member {NetworkMappingFabricSpecificSettingsUnion} - * [fabricSpecificSettings] The fabric specific settings. + * The protected item count. + * **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 protectedItemCount?: number; /** - * @member {NetworkMappingProperties} [properties] The Network Mapping - * Properties. + * The list of accessible datastores fetched from discovery. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: NetworkMappingProperties; + readonly accessibleDatastores?: string[]; + /** + * The Vcenter Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vcenterId?: string; + /** + * The last time when SDS information discovered in SRS. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastDiscoveryInUtc?: Date; } /** - * @interface - * An interface representing OperationsDiscovery. - * Operations discovery class. - * + * Mars agent details. */ -export interface OperationsDiscovery { +export interface MarsAgentDetails { /** - * @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 Mars agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly id?: string; /** - * @member {Display} [display] Object type + * The Mars agent name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - display?: Display; + readonly name?: 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 Mars agent Bios Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - origin?: string; + readonly biosId?: string; /** - * @member {any} [properties] Properties. Reserved for future use. + * The fabric object Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: any; -} - -/** - * @interface - * An interface representing PlannedFailoverInputProperties. - * Input definition for planned failover input properties. - * - */ -export interface PlannedFailoverInputProperties { + readonly fabricObjectId?: string; /** - * @member {string} [failoverDirection] Failover direction. + * The Mars agent Fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverDirection?: string; + readonly fqdn?: string; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; -} - -/** - * @interface - * An interface representing PlannedFailoverInput. - * Input definition for planned failover. - * - */ -export interface PlannedFailoverInput { + readonly version?: string; /** - * @member {PlannedFailoverInputProperties} [properties] Planned failover - * input properties + * The last heartbeat received from the Mars agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: PlannedFailoverInputProperties; -} - -/** - * @interface - * An interface representing PolicyProperties. - * Protection profile custom data details. - * - */ -export interface PolicyProperties { + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [friendlyName] The FriendlyName. + * 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.** */ - friendlyName?: string; + readonly health?: ProtectionHealth; /** - * @member {PolicyProviderSpecificDetailsUnion} [providerSpecificDetails] The - * ReplicationChannelSetting. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: PolicyProviderSpecificDetailsUnion; + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing Policy. - * Protection profile details. - * - * @extends Resource + * InMageRcm fabric specific details. */ -export interface Policy extends Resource { +export interface InMageRcmFabricSpecificDetails { /** - * @member {PolicyProperties} [properties] The custom data. + * Polymorphic Discriminator */ - properties?: PolicyProperties; -} - -/** - * @interface - * An interface representing ProcessServer. - * Details of the Process Server. - * - */ -export interface ProcessServer { + instanceType: "InMageRcm"; /** - * @member {string} [friendlyName] The Process Server's friendly name. + * The ARM Id of the VMware site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly vmwareSiteId?: string; /** - * @member {string} [id] The Process Server Id. + * The ARM Id of the physical site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: string; + readonly physicalSiteId?: string; /** - * @member {string} [ipAddress] The IP address of the server. + * The service endpoint. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ipAddress?: string; + readonly serviceEndpoint?: string; /** - * @member {string} [osType] The OS type of the server. + * The service resource Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; + readonly serviceResourceId?: string; /** - * @member {string} [agentVersion] The version of the scout component on the - * server. + * The service container Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentVersion?: string; + readonly serviceContainerId?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the - * server. + * The data plane Uri. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastHeartbeat?: Date; + readonly dataPlaneUri?: string; /** - * @member {string} [versionStatus] Version status + * The control plane Uri. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - versionStatus?: string; + readonly controlPlaneUri?: string; /** - * @member {MobilityServiceUpdate[]} [mobilityServiceUpdates] The list of the - * mobility service updates available on the Process Server. + * The source agent identity details. */ - mobilityServiceUpdates?: MobilityServiceUpdate[]; + sourceAgentIdentityDetails?: IdentityProviderDetails; /** - * @member {string} [hostId] The agent generated Id. + * The list of process servers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hostId?: string; + readonly processServers?: ProcessServerDetails[]; /** - * @member {string} [machineCount] The servers configured with this PS. + * The list of RCM proxies. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - machineCount?: string; + readonly rcmProxies?: RcmProxyDetails[]; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this PS. + * The list of push installers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicationPairCount?: string; + readonly pushInstallers?: PushInstallerDetails[]; /** - * @member {string} [systemLoad] The percentage of the system load. + * The list of replication agents. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - systemLoad?: string; + readonly replicationAgents?: ReplicationAgentDetails[]; /** - * @member {string} [systemLoadStatus] The system load status. + * The list of reprotect agents. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - systemLoadStatus?: string; + readonly reprotectAgents?: ReprotectAgentDetails[]; /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * The list of Mars agents. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - cpuLoad?: string; + readonly marsAgents?: MarsAgentDetails[]; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * The list of DRAs. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - cpuLoadStatus?: string; + readonly dras?: DraDetails[]; /** - * @member {number} [totalMemoryInBytes] The total memory. + * The list of agent details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - totalMemoryInBytes?: number; + readonly agentDetails?: AgentDetails[]; +} + +/** + * InMageRcmFailback discovered VM details. + */ +export interface InMageRcmFailbackDiscoveredProtectedVmDetails { /** - * @member {number} [availableMemoryInBytes] The available memory. + * The VCenter Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - availableMemoryInBytes?: number; + readonly vCenterId?: string; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * The VCenter fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - memoryUsageStatus?: string; + readonly vCenterFqdn?: string; /** - * @member {number} [totalSpaceInBytes] The total space. + * The list of datastores. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - totalSpaceInBytes?: number; + readonly datastores?: string[]; /** - * @member {number} [availableSpaceInBytes] The available space. + * The list of IP addresses. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - availableSpaceInBytes?: number; + readonly ipAddresses?: string[]; /** - * @member {string} [spaceUsageStatus] The space usage status. + * The VMware tools status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - spaceUsageStatus?: string; + readonly vmwareToolsStatus?: string; /** - * @member {string} [psServiceStatus] The PS service status. + * The VM power status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - psServiceStatus?: string; + readonly powerStatus?: string; /** - * @member {Date} [sslCertExpiryDate] The PS SSL cert expiry date. + * The VM fqdn. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sslCertExpiryDate?: Date; + readonly vmFqdn?: string; /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * The VM's OS name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sslCertExpiryRemainingDays?: number; + readonly osName?: string; /** - * @member {string} [osVersion] OS Version of the process server. Note: This - * will get populated if user has CS version greater than 9.12.0.0. + * The SDS created timestamp. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osVersion?: string; + readonly createdTimestamp?: Date; /** - * @member {HealthError[]} [healthErrors] Health errors. + * The SDS updated timestamp. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly updatedTimestamp?: Date; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * A value indicating whether the VM is deleted. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentExpiryDate?: Date; + readonly isDeleted?: boolean; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * The last time when SDS information discovered in SRS. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentVersionDetails?: VersionDetails; + readonly lastDiscoveryTimeInUtc?: Date; } /** - * @interface - * An interface representing ProtectableItemProperties. - * Replication protected item custom data details. - * + * Event details for InMageRcmFailback provider. */ -export interface ProtectableItemProperties { - /** - * @member {string} [friendlyName] The name. - */ - friendlyName?: string; +export interface InMageRcmFailbackEventDetails { /** - * @member {string} [protectionStatus] The protection status. + * Polymorphic Discriminator */ - protectionStatus?: string; + instanceType: "InMageRcmFailback"; /** - * @member {string} [replicationProtectedItemId] The ARM resource of - * protected items. + * The protected item name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicationProtectedItemId?: string; + readonly protectedItemName?: string; /** - * @member {string} [recoveryServicesProviderId] The recovery provider ARM - * Id. + * The protected item name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryServicesProviderId?: string; + readonly vmName?: string; /** - * @member {string[]} [protectionReadinessErrors] The Current protection - * readiness errors. + * The appliance name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectionReadinessErrors?: string[]; + readonly applianceName?: string; /** - * @member {string[]} [supportedReplicationProviders] The list of replication - * providers supported for the protectable item. + * The server type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - supportedReplicationProviders?: string[]; + readonly serverType?: string; /** - * @member {ConfigurationSettingsUnion} [customDetails] The Replication - * provider custom settings. + * The component display name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - customDetails?: ConfigurationSettingsUnion; + readonly componentDisplayName?: string; } /** - * @interface - * An interface representing ProtectableItem. - * Replication protected item - * - * @extends Resource + * InMageRcmFailback mobility agent details. */ -export interface ProtectableItem extends Resource { +export interface InMageRcmFailbackMobilityAgentDetails { /** - * @member {ProtectableItemProperties} [properties] The custom data. + * The agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: ProtectableItemProperties; + readonly version?: string; + /** + * The latest agent version available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly latestVersion?: string; + /** + * The driver version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly driverVersion?: string; + /** + * The latest upgradeable version available without reboot. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly latestUpgradableVersionWithoutReboot?: string; + /** + * The agent version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly agentVersionExpiryDate?: Date; + /** + * The driver version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly driverVersionExpiryDate?: Date; + /** + * 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.** + */ + 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 ProtectableItemQueryParameter. - * Query parameter to enumerate Protectable items. - * + * InMageRcmFailback NIC details. */ -export interface ProtectableItemQueryParameter { +export interface InMageRcmFailbackNicDetails { /** - * @member {string} [state] State of the Protectable item query filter. + * The mac address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state?: string; + readonly macAddress?: string; + /** + * The network name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly networkName?: string; + /** + * The adapter type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly adapterType?: string; + /** + * The IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceIpAddress?: string; } /** - * @interface - * An interface representing ProtectedItemsQueryParameter. - * Query parameter to enumerate protected items. - * + * Provider specific input for InMageRcmFailback failover. */ -export interface ProtectedItemsQueryParameter { +export interface InMageRcmFailbackPlannedFailoverProviderInput { /** - * @member {string} [sourceFabricName] The source fabric name filter. + * Polymorphic Discriminator */ - sourceFabricName?: string; + instanceType: "InMageRcmFailback"; /** - * @member {string} [recoveryPlanName] The recovery plan filter. + * The recovery point type. Possible values include: 'ApplicationConsistent', 'CrashConsistent' */ - recoveryPlanName?: string; + recoveryPointType: InMageRcmFailbackRecoveryPointType; +} + +/** + * InMageRcmFailback policy creation input. + */ +export interface InMageRcmFailbackPolicyCreationInput { /** - * @member {string} [vCenterName] The vCenter name filter. + * Polymorphic Discriminator */ - vCenterName?: string; + instanceType: "InMageRcmFailback"; /** - * @member {string} [instanceType] The replication provider type. + * The crash consistent snapshot frequency (in minutes). */ - instanceType?: string; + crashConsistentFrequencyInMinutes?: number; /** - * @member {MultiVmGroupCreateOption} [multiVmGroupCreateOption] Whether - * Multi VM group is auto created or specified by user. Possible values - * include: 'AutoCreated', 'UserSpecified' + * The app consistent snapshot frequency (in minutes). */ - multiVmGroupCreateOption?: MultiVmGroupCreateOption; + appConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing ProtectionContainerFabricSpecificDetails. - * Base class for fabric specific details of container. - * + * InMageRcm failback specific policy details. */ -export interface ProtectionContainerFabricSpecificDetails { +export interface InMageRcmFailbackPolicyDetails { /** - * @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.** + * Polymorphic Discriminator */ - readonly instanceType?: string; + instanceType: "InMageRcmFailback"; + /** + * The app consistent snapshot frequency in minutes. + */ + appConsistentFrequencyInMinutes?: number; + /** + * The crash consistent snapshot frequency in minutes. + */ + crashConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing ProtectionContainerProperties. - * Protection profile custom data details. - * + * InMageRcmFailback disk level sync details. */ -export interface ProtectionContainerProperties { +export interface InMageRcmFailbackSyncDetails { /** - * @member {string} [fabricFriendlyName] Fabric friendly name. + * 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.** */ - fabricFriendlyName?: string; + readonly progressHealth?: DiskReplicationProgressHealth; /** - * @member {string} [friendlyName] The name. + * 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.** */ - friendlyName?: string; + readonly transferredBytes?: number; /** - * @member {string} [fabricType] The fabric type. + * 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.** */ - fabricType?: string; + readonly last15MinutesTransferredBytes?: number; /** - * @member {number} [protectedItemCount] Number of protected PEs + * 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.** */ - protectedItemCount?: number; + readonly lastDataTransferTimeUtc?: string; /** - * @member {string} [pairingStatus] The pairing status of this cloud. + * 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.** */ - pairingStatus?: string; + readonly processedBytes?: number; /** - * @member {string} [role] The role of this cloud. + * The start time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - role?: string; + readonly startTime?: string; /** - * @member {ProtectionContainerFabricSpecificDetails} [fabricSpecificDetails] - * Fabric specific details. + * The last refresh time. + * **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 lastRefreshTime?: string; /** - * @member {ProtectionContainerProperties} [properties] The custom data. + * 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.** */ - properties?: ProtectionContainerProperties; + readonly progressPercentage?: number; } /** - * @interface - * An interface representing ProtectionContainerMappingProperties. - * Protection container mapping properties. - * + * InMageRcmFailback protected disk details. */ -export interface ProtectionContainerMappingProperties { +export interface InMageRcmFailbackProtectedDiskDetails { /** - * @member {string} [targetProtectionContainerId] Paired protection container - * ARM ID. + * The disk Id (reported by source agent). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetProtectionContainerId?: string; + readonly diskId?: string; /** - * @member {string} [targetProtectionContainerFriendlyName] Friendly name of - * paired container. + * The disk name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetProtectionContainerFriendlyName?: string; + readonly diskName?: string; /** - * @member {ProtectionContainerMappingProviderSpecificDetailsUnion} - * [providerSpecificDetails] Provider specific provider details. + * 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.** */ - providerSpecificDetails?: ProtectionContainerMappingProviderSpecificDetailsUnion; + readonly isOSDisk?: string; /** - * @member {string} [health] Health of pairing. + * The disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - health?: string; + readonly capacityInBytes?: number; /** - * @member {HealthError[]} [healthErrorDetails] Health error. + * The disk Uuid (reported by vCenter). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrorDetails?: HealthError[]; + readonly diskUuid?: string; /** - * @member {string} [policyId] Policy ARM Id. + * The data pending in log data store in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - policyId?: string; + readonly dataPendingInLogDataStoreInMB?: number; /** - * @member {string} [state] Association Status + * The data pending at source agent in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state?: string; + readonly dataPendingAtSourceAgentInMB?: number; /** - * @member {string} [sourceProtectionContainerFriendlyName] Friendly name of - * source protection container. + * 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.** */ - sourceProtectionContainerFriendlyName?: string; + readonly isInitialReplicationComplete?: string; /** - * @member {string} [sourceFabricFriendlyName] Friendly name of source - * fabric. + * The initial replication details. */ - sourceFabricFriendlyName?: string; + irDetails?: InMageRcmFailbackSyncDetails; /** - * @member {string} [targetFabricFriendlyName] Friendly name of target - * fabric. + * The resync details. */ - targetFabricFriendlyName?: string; + resyncDetails?: InMageRcmFailbackSyncDetails; /** - * @member {string} [policyFriendlyName] Friendly name of replication policy. + * The last sync time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - policyFriendlyName?: string; + readonly lastSyncTime?: Date; } /** - * @interface - * An interface representing ProtectionContainerMapping. - * Protection container mapping object. - * - * @extends Resource + * InMageRcmFailback provider specific details. */ -export interface ProtectionContainerMapping extends Resource { +export interface InMageRcmFailbackReplicationDetails { /** - * @member {ProtectionContainerMappingProperties} [properties] The custom - * data. + * Polymorphic Discriminator */ - properties?: ProtectionContainerMappingProperties; -} - -/** - * @interface - * An interface representing RcmAzureMigrationPolicyDetails. - * RCM based Azure migration specific policy details. - * - */ -export interface RcmAzureMigrationPolicyDetails { + instanceType: "InMageRcmFailback"; /** - * @member {string} instanceType Polymorphic Discriminator + * The virtual machine internal identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "RcmAzureMigration"; + readonly internalIdentifier?: string; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * The ARM Id of the azure VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointThresholdInMinutes?: number; + readonly azureVirtualMachineId?: string; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The multi VM group name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointHistory?: number; + readonly multiVmGroupName?: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The reprotect agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - appConsistentFrequencyInMinutes?: number; + readonly reprotectAgentId?: string; /** - * @member {MultiVmSyncStatus} [multiVmSyncStatus] A value indicating whether - * multi-VM sync has to be enabled. Possible values include: 'Enabled', - * 'Disabled' + * The reprotect agent name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - multiVmSyncStatus?: MultiVmSyncStatus; + readonly reprotectAgentName?: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The type of the OS on the VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - crashConsistentFrequencyInMinutes?: number; -} - -/** - * @interface - * An interface representing RecoveryPlanProperties. - * Recovery plan custom details. - * - */ -export interface RecoveryPlanProperties { + readonly osType?: string; /** - * @member {string} [friendlyName] The friendly name. + * The log storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly logStorageAccountId?: string; /** - * @member {string} [primaryFabricId] The primary fabric Id. + * The target vCenter Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryFabricId?: string; + readonly targetvCenterId?: string; /** - * @member {string} [primaryFabricFriendlyName] The primary fabric friendly - * name. + * The target datastore name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryFabricFriendlyName?: string; + readonly targetDataStoreName?: string; /** - * @member {string} [recoveryFabricId] The recovery fabric Id. + * The target VM name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricId?: string; + readonly targetVmName?: string; /** - * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly - * name. + * The initial replication progress percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricFriendlyName?: string; + readonly initialReplicationProgressPercentage?: number; /** - * @member {string} [failoverDeploymentModel] The failover deployment model. + * 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.** */ - failoverDeploymentModel?: string; + readonly initialReplicationProcessedBytes?: number; /** - * @member {string[]} [replicationProviders] The list of replication - * providers. + * 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.** */ - replicationProviders?: string[]; + readonly initialReplicationTransferredBytes?: number; /** - * @member {string[]} [allowedOperations] The list of allowed operations. + * 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.** */ - allowedOperations?: string[]; + readonly initialReplicationProgressHealth?: VmReplicationProgressHealth; /** - * @member {Date} [lastPlannedFailoverTime] The start time of the last - * planned failover. + * The resync progress percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastPlannedFailoverTime?: Date; + readonly resyncProgressPercentage?: number; /** - * @member {Date} [lastUnplannedFailoverTime] The start time of the last - * unplanned failover. + * 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.** */ - lastUnplannedFailoverTime?: Date; + readonly resyncProcessedBytes?: number; /** - * @member {Date} [lastTestFailoverTime] The start time of the last test - * failover. + * 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.** */ - lastTestFailoverTime?: Date; + readonly resyncTransferredBytes?: number; /** - * @member {CurrentScenarioDetails} [currentScenario] The current scenario - * details. + * 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.** */ - currentScenario?: CurrentScenarioDetails; + readonly resyncProgressHealth?: VmReplicationProgressHealth; /** - * @member {string} [currentScenarioStatus] The recovery plan status. + * A value indicating whether resync is required. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - currentScenarioStatus?: string; + readonly resyncRequired?: string; /** - * @member {string} [currentScenarioStatusDescription] The recovery plan - * status description. + * The resync state. Possible values include: 'None', 'PreparedForResynchronization', + * 'StartedResynchronization' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - currentScenarioStatusDescription?: string; + readonly resyncState?: ResyncState; /** - * @member {RecoveryPlanGroup[]} [groups] The recovery plan groups. + * The list of protected disks. */ - groups?: RecoveryPlanGroup[]; -} - -/** - * @interface - * An interface representing RecoveryPlan. - * Recovery plan details. - * - * @extends Resource - */ -export interface RecoveryPlan extends Resource { + protectedDisks?: InMageRcmFailbackProtectedDiskDetails[]; /** - * @member {RecoveryPlanProperties} [properties] The custom details. + * The mobility agent information. */ - 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 { + mobilityAgentDetails?: InMageRcmFailbackMobilityAgentDetails; /** - * @member {string} instanceType Polymorphic Discriminator + * The network details. */ - instanceType: "RecoveryPlanProviderSpecificFailoverInput"; -} - -/** - * @interface - * An interface representing RecoveryPlanA2AFailoverInput. - * Recovery plan A2A failover input. - * - */ -export interface RecoveryPlanA2AFailoverInput { + vmNics?: InMageRcmFailbackNicDetails[]; /** - * @member {string} instanceType Polymorphic Discriminator + * The last planned failover start time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "A2A"; + readonly lastPlannedFailoverStartTime?: Date; /** - * @member {A2ARpRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestCrashConsistent', 'LatestProcessed' + * The last planned failover status. Possible values include: 'Succeeded', 'Failed', 'Cancelled', + * 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointType: A2ARpRecoveryPointType; + readonly lastPlannedFailoverStatus?: PlannedFailoverStatus; /** - * @member {string} [cloudServiceCreationOption] A value indicating whether - * to use recovery cloud service for TFO or not. + * The discovered VM information. */ - cloudServiceCreationOption?: string; + discoveredVmDetails?: InMageRcmFailbackDiscoveredProtectedVmDetails; /** - * @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 policy Id used by the forward replication. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - multiVmSyncPointOption?: MultiVmSyncPointOption; + readonly lastUsedPolicyId?: string; + /** + * The policy friendly name used by the forward replication. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastUsedPolicyFriendlyName?: string; + /** + * A value indicating whether agent registration was successful after failover. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isAgentRegistrationSuccessfulAfterFailover?: boolean; } /** - * @interface - * An interface representing RecoveryPlanAutomationRunbookActionDetails. - * Recovery plan Automation runbook action details. - * + * InMageRcmFailback specific provider input. */ -export interface RecoveryPlanAutomationRunbookActionDetails { +export interface InMageRcmFailbackReprotectInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "AutomationRunbookActionDetails"; + instanceType: "InMageRcmFailback"; /** - * @member {string} [runbookId] The runbook ARM Id. + * The process server Id. */ - runbookId?: string; + processServerId: string; /** - * @member {string} [timeout] The runbook timeout. + * The run as account Id. */ - timeout?: string; + runAsAccountId?: string; /** - * @member {RecoveryPlanActionLocation} fabricLocation The fabric location. - * Possible values include: 'Primary', 'Recovery' + * The Policy Id. */ - fabricLocation: RecoveryPlanActionLocation; + policyId: string; } /** - * @interface - * An interface representing RecoveryPlanGroupTaskDetails. - * This class represents the recovery plan group task. - * + * InMageRcm last source agent upgrade error details. */ -export interface RecoveryPlanGroupTaskDetails { +export interface InMageRcmLastAgentUpgradeErrorDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "RecoveryPlanGroupTaskDetails"; + readonly errorCode?: string; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - childTasks?: ASRTask[]; + readonly errorMessage?: string; /** - * @member {string} [name] The name. + * The possible causes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly possibleCauses?: string; /** - * @member {string} [groupId] The group identifier. + * The recommended action. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - groupId?: string; + readonly recommendedAction?: string; /** - * @member {string} [rpGroupType] The group type. + * The error message parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rpGroupType?: string; + readonly errorMessageParameters?: { [propertyName: string]: string }; + /** + * The error tags. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly errorTags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing RecoveryPlanHyperVReplicaAzureFailbackInput. - * Recovery plan HVR Azure failback input. - * + * InMageRcm mobility agent details. */ -export interface RecoveryPlanHyperVReplicaAzureFailbackInput { +export interface InMageRcmMobilityAgentDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "HyperVReplicaAzureFailback"; + readonly version?: string; /** - * @member {DataSyncStatus} dataSyncOption The data sync option. Possible - * values include: 'ForDownTime', 'ForSynchronization' + * The latest agent version available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dataSyncOption: DataSyncStatus; + readonly latestVersion?: string; /** - * @member {AlternateLocationRecoveryOption} recoveryVmCreationOption The ALR - * option. Possible values include: 'CreateVmIfNotFound', 'NoAction' + * The latest agent version release date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryVmCreationOption: AlternateLocationRecoveryOption; -} - -/** - * @interface - * An interface representing RecoveryPlanHyperVReplicaAzureFailoverInput. - * Recovery plan HVR Azure failover input. - * - */ -export interface RecoveryPlanHyperVReplicaAzureFailoverInput { + readonly latestAgentReleaseDate?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The driver version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "HyperVReplicaAzure"; + readonly driverVersion?: string; /** - * @member {string} vaultLocation The vault location. + * The latest upgradeable version available without reboot. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vaultLocation: string; + readonly latestUpgradableVersionWithoutReboot?: string; /** - * @member {string} [primaryKekCertificatePfx] The primary KEK certificate - * PFX. + * The agent version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryKekCertificatePfx?: string; + readonly agentVersionExpiryDate?: Date; /** - * @member {string} [secondaryKekCertificatePfx] The secondary KEK - * certificate PFX. + * The driver version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - secondaryKekCertificatePfx?: string; + readonly driverVersionExpiryDate?: Date; /** - * @member {HyperVReplicaAzureRpRecoveryPointType} [recoveryPointType] The - * recovery point type. Possible values include: 'Latest', - * 'LatestApplicationConsistent', 'LatestProcessed' + * 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.** */ - recoveryPointType?: HyperVReplicaAzureRpRecoveryPointType; + 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 RecoveryPlanInMageAzureV2FailoverInput. - * Recovery plan InMageAzureV2 failover input. - * + * InMageRcm NIC details. */ -export interface RecoveryPlanInMageAzureV2FailoverInput { +export interface InMageRcmNicDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The NIC Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "InMageAzureV2"; + readonly nicId?: string; /** - * @member {string} vaultLocation The vault location. + * A value indicating whether this is the primary NIC. */ - vaultLocation: string; + isPrimaryNic?: string; /** - * @member {InMageV2RpRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestCrashConsistent', 'LatestProcessed' + * A value indicating whether this NIC is selected for failover. */ - recoveryPointType: InMageV2RpRecoveryPointType; + isSelectedForFailover?: string; /** - * @member {string} [useMultiVmSyncPoint] A value indicating whether multi VM - * sync enabled VMs should use multi VM sync points for failover. + * The source IP address. + * **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 sourceIPAddress?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * 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.** */ - instanceType: "InMage"; + readonly sourceIPAddressType?: EthernetAddressType; /** - * @member {RpInMageRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * Source network Id. + * **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 sourceNetworkId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * Source subnet name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "ManualActionDetails"; + readonly sourceSubnetName?: string; /** - * @member {string} [description] The manual action description. + * The target IP address. */ - description?: string; -} - -/** - * @interface - * An interface representing RecoveryPlanPlannedFailoverInputProperties. - * Recovery plan planned failover input properties. - * - */ -export interface RecoveryPlanPlannedFailoverInputProperties { + targetIPAddress?: string; /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The target IP address type. Possible values include: 'Dynamic', 'Static' */ - failoverDirection: PossibleOperationsDirections; + targetIPAddressType?: EthernetAddressType; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * Target subnet name. */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; -} - -/** - * @interface - * An interface representing RecoveryPlanPlannedFailoverInput. - * Recovery plan planned failover input. - * - */ -export interface RecoveryPlanPlannedFailoverInput { + targetSubnetName?: string; /** - * @member {RecoveryPlanPlannedFailoverInputProperties} properties The - * recovery plan planned failover input properties. + * Test subnet name. */ - properties: RecoveryPlanPlannedFailoverInputProperties; + testSubnetName?: string; + /** + * The test IP address. + */ + testIPAddress?: string; + /** + * The test IP address type. Possible values include: 'Dynamic', 'Static' + */ + testIPAddressType?: EthernetAddressType; } /** - * @interface - * An interface representing RecoveryPlanScriptActionDetails. - * Recovery plan script action details. - * + * InMageRcm NIC input. */ -export interface RecoveryPlanScriptActionDetails { +export interface InMageRcmNicInput { /** - * @member {string} instanceType Polymorphic Discriminator + * The NIC Id. */ - instanceType: "ScriptActionDetails"; + nicId: string; /** - * @member {string} path The script path. + * A value indicating whether this is the primary NIC. */ - path: string; + isPrimaryNic: string; /** - * @member {string} [timeout] The script timeout. + * A value indicating whether this NIC is selected for failover. */ - timeout?: string; + isSelectedForFailover?: string; /** - * @member {RecoveryPlanActionLocation} fabricLocation The fabric location. - * Possible values include: 'Primary', 'Recovery' + * Target subnet name. */ - fabricLocation: RecoveryPlanActionLocation; + targetSubnetName?: string; + /** + * The target static IP address. + */ + targetStaticIPAddress?: string; + /** + * The test subnet name. + */ + testSubnetName?: string; + /** + * The test static IP address. + */ + testStaticIPAddress?: string; } /** - * @interface - * An interface representing RecoveryPlanShutdownGroupTaskDetails. - * This class represents the recovery plan shutdown group task details. - * + * InMageRcm policy creation input. */ -export interface RecoveryPlanShutdownGroupTaskDetails { +export interface InMageRcmPolicyCreationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "RecoveryPlanShutdownGroupTaskDetails"; + instanceType: "InMageRcm"; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The duration in minutes until which the recovery points need to be stored. */ - childTasks?: ASRTask[]; + recoveryPointHistoryInMinutes?: number; /** - * @member {string} [name] The name. + * The crash consistent snapshot frequency (in minutes). */ - name?: string; + crashConsistentFrequencyInMinutes?: number; /** - * @member {string} [groupId] The group identifier. + * The app consistent snapshot frequency (in minutes). */ - groupId?: string; + appConsistentFrequencyInMinutes?: number; /** - * @member {string} [rpGroupType] The group type. + * A value indicating whether multi-VM sync has to be enabled. */ - rpGroupType?: string; + enableMultiVmSync?: string; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverCleanupInputProperties. - * Recovery plan test failover cleanup input properties. - * + * InMageRcm specific policy details. */ -export interface RecoveryPlanTestFailoverCleanupInputProperties { +export interface InMageRcmPolicyDetails { /** - * @member {string} [comments] The test failover cleanup comments. + * Polymorphic Discriminator */ - comments?: string; -} - -/** - * @interface - * An interface representing RecoveryPlanTestFailoverCleanupInput. - * Recovery plan test failover cleanup input. - * - */ -export interface RecoveryPlanTestFailoverCleanupInput { + instanceType: "InMageRcm"; /** - * @member {RecoveryPlanTestFailoverCleanupInputProperties} properties The - * recovery plan test failover cleanup input properties. + * The duration in minutes until which the recovery points need to be stored. */ - properties: RecoveryPlanTestFailoverCleanupInputProperties; + recoveryPointHistoryInMinutes?: number; + /** + * The app consistent snapshot frequency in minutes. + */ + appConsistentFrequencyInMinutes?: number; + /** + * The crash consistent snapshot frequency in minutes. + */ + crashConsistentFrequencyInMinutes?: number; + /** + * A value indicating whether multi-VM sync has to be enabled. + */ + enableMultiVmSync?: string; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverInputProperties. - * Recovery plan test failover input properties. - * + * InMageRcm disk level sync details. */ -export interface RecoveryPlanTestFailoverInputProperties { +export interface InMageRcmSyncDetails { /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * 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.** */ - failoverDirection: PossibleOperationsDirections; + readonly progressHealth?: DiskReplicationProgressHealth; /** - * @member {string} networkType The network type to be used for test - * failover. + * 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.** */ - networkType: string; + readonly transferredBytes?: number; /** - * @member {string} [networkId] The Id of the network to be used for test - * failover. + * 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.** */ - networkId?: string; + readonly last15MinutesTransferredBytes?: number; /** - * @member {string} [skipTestFailoverCleanup] A value indicating whether the - * test failover cleanup is to be skipped. + * 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.** */ - skipTestFailoverCleanup?: string; + readonly lastDataTransferTimeUtc?: string; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * 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.** */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; -} - -/** - * @interface - * An interface representing RecoveryPlanTestFailoverInput. - * Recovery plan test failover input. - * - */ -export interface RecoveryPlanTestFailoverInput { + readonly processedBytes?: number; /** - * @member {RecoveryPlanTestFailoverInputProperties} properties The recovery - * plan test failover input properties. + * The start time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties: RecoveryPlanTestFailoverInputProperties; + 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 RecoveryPlanUnplannedFailoverInputProperties. - * Recovery plan unplanned failover input properties. - * + * InMageRcm protected disk details. */ -export interface RecoveryPlanUnplannedFailoverInputProperties { +export interface InMageRcmProtectedDiskDetails { /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The disk Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverDirection: PossibleOperationsDirections; + readonly diskId?: string; /** - * @member {SourceSiteOperations} sourceSiteOperations A value indicating - * whether source site operations are required. Possible values include: - * 'Required', 'NotRequired' + * The disk name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceSiteOperations: SourceSiteOperations; + readonly diskName?: string; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * 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.** */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; -} - -/** - * @interface - * An interface representing RecoveryPlanUnplannedFailoverInput. - * Recovery plan unplanned failover input. - * - */ -export interface RecoveryPlanUnplannedFailoverInput { + readonly isOSDisk?: string; /** - * @member {RecoveryPlanUnplannedFailoverInputProperties} properties The - * recovery plan unplanned failover input properties. + * The disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties: RecoveryPlanUnplannedFailoverInputProperties; -} + 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 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 disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; + /** + * The data pending in log data store in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dataPendingInLogDataStoreInMB?: number; + /** + * The data pending at source agent in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dataPendingAtSourceAgentInMB?: number; + /** + * 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.** + */ + readonly isInitialReplicationComplete?: string; + /** + * The initial replication details. + */ + irDetails?: InMageRcmSyncDetails; + /** + * The resync details. + */ + resyncDetails?: InMageRcmSyncDetails; +} /** - * @interface - * An interface representing RecoveryPointProperties. - * Recovery point properties. - * + * InMageRcm provider specific container mapping details. */ -export interface RecoveryPointProperties { - /** - * @member {Date} [recoveryPointTime] The recovery point time. - */ - recoveryPointTime?: Date; +export interface InMageRcmProtectionContainerMappingDetails { /** - * @member {string} [recoveryPointType] The recovery point type: - * ApplicationConsistent, CrashConsistent. + * Polymorphic Discriminator */ - recoveryPointType?: string; + instanceType: "InMageRcm"; /** - * @member {ProviderSpecificRecoveryPointDetailsUnion} - * [providerSpecificDetails] The provider specific details for the recovery - * point. + * 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.** */ - providerSpecificDetails?: ProviderSpecificRecoveryPointDetailsUnion; + readonly enableAgentAutoUpgrade?: string; } /** - * @interface - * An interface representing RecoveryPoint. - * Base class representing a recovery point. - * - * @extends Resource + * InMageRcm provider specific recovery point details. */ -export interface RecoveryPoint extends Resource { +export interface InMageRcmRecoveryPointDetails { /** - * @member {RecoveryPointProperties} [properties] Recovery point related - * data. + * Polymorphic Discriminator */ - properties?: RecoveryPointProperties; + 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 RecoveryServicesProviderProperties. - * Recovery services provider properties. - * + * InMageRcm provider specific details. */ -export interface RecoveryServicesProviderProperties { +export interface InMageRcmReplicationDetails { /** - * @member {string} [fabricType] Type of the site. + * Polymorphic Discriminator */ - fabricType?: string; + instanceType: "InMageRcm"; /** - * @member {string} [friendlyName] Friendly name of the DRA. + * The virtual machine internal identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly internalIdentifier?: string; /** - * @member {string} [providerVersion] The provider version. + * The ARM Id of the discovered VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerVersion?: string; + readonly fabricDiscoveryMachineId?: string; /** - * @member {string} [serverVersion] The fabric provider. + * The multi VM group name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverVersion?: string; + readonly multiVmGroupName?: string; /** - * @member {string} [providerVersionState] DRA version status. + * The type of the discovered VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerVersionState?: string; + readonly discoveryType?: string; /** - * @member {Date} [providerVersionExpiryDate] Expiry date of the version. + * The process server Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerVersionExpiryDate?: Date; + readonly processServerId?: string; /** - * @member {string} [fabricFriendlyName] The fabric friendly name. + * The processor core count. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricFriendlyName?: string; + readonly processorCoreCount?: number; /** - * @member {Date} [lastHeartBeat] Time when last heartbeat was sent by the - * DRA. + * The allocated memory in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastHeartBeat?: Date; + readonly allocatedMemoryInMB?: number; /** - * @member {string} [connectionStatus] A value indicating whether DRA is - * responsive. + * The process server name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - connectionStatus?: string; + readonly processServerName?: string; /** - * @member {number} [protectedItemCount] Number of protected VMs currently - * managed by the DRA. + * The run-as account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectedItemCount?: number; + readonly runAsAccountId?: string; /** - * @member {string[]} [allowedScenarios] The scenarios allowed on this - * provider. + * The type of the OS on the VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedScenarios?: string[]; + readonly osType?: string; /** - * @member {HealthError[]} [healthErrorDetails] The recovery services - * provider health error details. + * The firmware type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrorDetails?: HealthError[]; + readonly firmwareType?: string; /** - * @member {string} [draIdentifier] The DRA Id. + * The IP address of the primary network interface. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - draIdentifier?: string; + readonly primaryNicIpAddress?: string; /** - * @member {IdentityInformation} [identityDetails] The identity details. + * The target generation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - identityDetails?: IdentityInformation; + readonly targetGeneration?: string; /** - * @member {VersionDetails} [providerVersionDetails] The provider version - * details. + * License Type of the VM to be used. */ - providerVersionDetails?: VersionDetails; -} - -/** - * @interface - * An interface representing RecoveryServicesProvider. - * Provider details. - * - * @extends Resource - */ -export interface RecoveryServicesProvider extends Resource { + licenseType?: string; /** - * @member {RecoveryServicesProviderProperties} [properties] Provider - * properties. + * Target VM name. */ - properties?: RecoveryServicesProviderProperties; -} - -/** - * @interface - * An interface representing ReplicationProviderContainerUnmappingInput. - * Provider specific input for unpairing operations. - * - */ -export interface ReplicationProviderContainerUnmappingInput { + targetVmName?: string; /** - * @member {string} [instanceType] The class type. + * The target VM size. */ - instanceType?: string; -} - -/** - * @interface - * An interface representing RemoveProtectionContainerMappingInputProperties. - * Unpairing input properties. - * - */ -export interface RemoveProtectionContainerMappingInputProperties { + targetVmSize?: string; /** - * @member {ReplicationProviderContainerUnmappingInput} - * [providerSpecificInput] Provider specific input for unpairing. + * The target resource group Id. */ - providerSpecificInput?: ReplicationProviderContainerUnmappingInput; -} - -/** - * @interface - * An interface representing RemoveProtectionContainerMappingInput. - * Container unpairing input. - * - */ -export interface RemoveProtectionContainerMappingInput { + targetResourceGroupId?: string; /** - * @member {RemoveProtectionContainerMappingInputProperties} [properties] - * Configure protection input properties. + * The target location. */ - properties?: RemoveProtectionContainerMappingInputProperties; -} - -/** - * @interface - * An interface representing RenewCertificateInputProperties. - * Renew Certificate input properties. - * - */ -export interface RenewCertificateInputProperties { + targetLocation?: string; /** - * @member {string} [renewCertificateType] Renew certificate type. + * The target availability set Id. */ - renewCertificateType?: string; -} - -/** - * @interface - * An interface representing RenewCertificateInput. - * Certificate renewal input. - * - */ -export interface RenewCertificateInput { + targetAvailabilitySetId?: string; /** - * @member {RenewCertificateInputProperties} [properties] Renew certificate - * input properties. + * The target availability zone. */ - properties?: RenewCertificateInputProperties; -} - -/** - * @interface - * An interface representing ReplicationGroupDetails. - * Replication group details. This will be used in case of San and Wvr. - * - */ -export interface ReplicationGroupDetails { + targetAvailabilityZone?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The target proximity placement group Id. */ - instanceType: "ReplicationGroupDetails"; -} - -/** - * @interface - * An interface representing ReplicationProtectedItemProperties. - * Replication protected item custom data details. - * - */ -export interface ReplicationProtectedItemProperties { + targetProximityPlacementGroupId?: string; /** - * @member {string} [friendlyName] The name. + * The target boot diagnostics storage account ARM Id. */ - friendlyName?: string; + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {string} [protectedItemType] The type of protected item type. + * The target network Id. */ - protectedItemType?: string; + targetNetworkId?: string; /** - * @member {string} [protectableItemId] The protected item ARM Id. + * The test network Id. */ - protectableItemId?: string; + testNetworkId?: string; /** - * @member {string} [recoveryServicesProviderId] The recovery provider ARM - * Id. + * 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.** */ - recoveryServicesProviderId?: string; + readonly failoverRecoveryPointId?: string; /** - * @member {string} [primaryFabricFriendlyName] The friendly name of the - * primary fabric. + * The last recovery point received time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryFabricFriendlyName?: string; + readonly lastRecoveryPointReceived?: Date; /** - * @member {string} [primaryFabricProvider] The fabric provider of the - * primary fabric. + * The last recovery point objective value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryFabricProvider?: string; + readonly lastRpoInSeconds?: number; /** - * @member {string} [recoveryFabricFriendlyName] The friendly name of - * recovery fabric. + * The last recovery point objective calculated time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricFriendlyName?: string; + readonly lastRpoCalculatedTime?: Date; /** - * @member {string} [recoveryFabricId] The Arm Id of recovery fabric. + * The last recovery point Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricId?: string; + readonly lastRecoveryPointId?: string; /** - * @member {string} [primaryProtectionContainerFriendlyName] The name of - * primary protection container friendly name. + * 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.** */ - primaryProtectionContainerFriendlyName?: string; + readonly initialReplicationProgressPercentage?: number; /** - * @member {string} [recoveryProtectionContainerFriendlyName] The name of - * recovery container friendly name. + * 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.** */ - recoveryProtectionContainerFriendlyName?: string; + readonly initialReplicationProcessedBytes?: number; /** - * @member {string} [protectionState] The protection status. + * 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.** */ - protectionState?: string; + readonly initialReplicationTransferredBytes?: number; /** - * @member {string} [protectionStateDescription] The protection state - * description. + * 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.** */ - protectionStateDescription?: string; + readonly initialReplicationProgressHealth?: VmReplicationProgressHealth; /** - * @member {string} [activeLocation] The Current active location of the PE. + * 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.** */ - activeLocation?: string; + readonly resyncProgressPercentage?: number; /** - * @member {string} [testFailoverState] The Test failover state. + * 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.** */ - testFailoverState?: string; + readonly resyncProcessedBytes?: number; /** - * @member {string} [testFailoverStateDescription] The Test failover state - * description. + * 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.** */ - testFailoverStateDescription?: string; + readonly resyncTransferredBytes?: number; /** - * @member {string[]} [allowedOperations] The allowed operations on the - * Replication protected item. + * 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.** */ - allowedOperations?: string[]; + readonly resyncProgressHealth?: VmReplicationProgressHealth; /** - * @member {string} [replicationHealth] The consolidated protection health - * for the VM taking any issues with SRS as well as all the replication units - * associated with the VM's replication group into account. This is a string - * representation of the ProtectionHealth enumeration. + * A value indicating whether resync is required. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicationHealth?: string; + readonly resyncRequired?: string; /** - * @member {string} [failoverHealth] The consolidated failover health for the - * VM. + * The resync state. Possible values include: 'None', 'PreparedForResynchronization', + * 'StartedResynchronization' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverHealth?: string; + readonly resyncState?: ResyncState; /** - * @member {HealthError[]} [healthErrors] List of health errors. + * The agent auto upgrade state. Possible values include: 'None', 'Started', 'Completed', + * 'Commit' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly agentUpgradeState?: MobilityAgentUpgradeState; /** - * @member {string} [policyId] The ID of Policy governing this PE. + * The last agent upgrade type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - policyId?: string; + readonly lastAgentUpgradeType?: string; /** - * @member {string} [policyFriendlyName] The name of Policy governing this - * PE. + * The agent upgrade job Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - policyFriendlyName?: string; + readonly agentUpgradeJobId?: string; /** - * @member {Date} [lastSuccessfulFailoverTime] The Last successful failover - * time. + * 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.** */ - lastSuccessfulFailoverTime?: Date; + readonly agentUpgradeAttemptToVersion?: string; /** - * @member {Date} [lastSuccessfulTestFailoverTime] The Last successful test - * failover time. + * The list of protected disks. */ - lastSuccessfulTestFailoverTime?: Date; + protectedDisks?: InMageRcmProtectedDiskDetails[]; /** - * @member {CurrentScenarioDetails} [currentScenario] The current scenario. + * 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.** */ - currentScenario?: CurrentScenarioDetails; + readonly isLastUpgradeSuccessful?: string; /** - * @member {string} [failoverRecoveryPointId] The recovery point ARM Id to - * which the Vm was failed over. + * A value indicating whether agent registration was successful after failover. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverRecoveryPointId?: string; + readonly isAgentRegistrationSuccessfulAfterFailover?: boolean; /** - * @member {ReplicationProviderSpecificSettingsUnion} - * [providerSpecificDetails] The Replication provider custom settings. + * The mobility agent information. */ - providerSpecificDetails?: ReplicationProviderSpecificSettingsUnion; + mobilityAgentDetails?: InMageRcmMobilityAgentDetails; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The last agent upgrade error information. */ - recoveryContainerId?: string; -} - -/** - * @interface - * An interface representing ReplicationProtectedItem. - * Replication protected item. - * - * @extends Resource - */ -export interface ReplicationProtectedItem extends Resource { + lastAgentUpgradeErrorDetails?: InMageRcmLastAgentUpgradeErrorDetails[]; /** - * @member {ReplicationProtectedItemProperties} [properties] The custom data. + * The agent upgrade blocking error information. */ - 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 { + agentUpgradeBlockingErrorDetails?: InMageRcmAgentUpgradeBlockingErrorDetails[]; /** - * @member {number} [resourceCount] The count of total resources umder the - * container. + * The network details. */ - resourceCount?: number; + vmNics?: InMageRcmNicDetails[]; /** - * @member {HealthErrorSummary[]} [issues] The list of summary of health - * errors across the resources under the container. + * The discovered VM details. */ - issues?: HealthErrorSummary[]; + discoveredVmDetails?: InMageRcmDiscoveredProtectedVmDetails; } /** - * @interface - * An interface representing ResumeJobParamsProperties. - * Resume job properties. - * + * InMageRcm specific provider input. */ -export interface ResumeJobParamsProperties { +export interface InMageRcmReprotectInput { /** - * @member {string} [comments] Resume job comments. + * Polymorphic Discriminator */ - comments?: string; + instanceType: "InMageRcm"; + /** + * The reprotect agent Id. + */ + reprotectAgentId: string; + /** + * The target datastore name. + */ + datastoreName: string; + /** + * The log storage account ARM Id. + */ + logStorageAccountId: string; + /** + * The Policy Id. + */ + policyId?: string; } /** - * @interface - * An interface representing ResumeJobParams. - * Resume job params. - * + * InMageRcm provider specific input for test failover. */ -export interface ResumeJobParams { +export interface InMageRcmTestFailoverInput { /** - * @member {ResumeJobParamsProperties} [properties] Resume job properties. + * Polymorphic Discriminator */ - properties?: ResumeJobParamsProperties; + instanceType: "InMageRcm"; + /** + * The test network Id. + */ + networkId?: 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; } /** - * @interface - * An interface representing ReverseReplicationInputProperties. - * Reverse replication input properties. - * + * InMageRcm provider specific input for unplanned failover. */ -export interface ReverseReplicationInputProperties { +export interface InMageRcmUnplannedFailoverInput { /** - * @member {string} [failoverDirection] Failover direction. + * Polymorphic Discriminator */ - failoverDirection?: string; + instanceType: "InMageRcm"; /** - * @member {ReverseReplicationProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific reverse replication input. + * A value indicating whether VM is to be shutdown. */ - providerSpecificDetails?: ReverseReplicationProviderSpecificInputUnion; + performShutdown: string; + /** + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. + */ + recoveryPointId?: string; } /** - * @interface - * An interface representing ReverseReplicationInput. - * Reverse replication input. - * + * Contains the possible cases for UpdateApplianceForReplicationProtectedItemProviderSpecificInput. */ -export interface ReverseReplicationInput { +export type UpdateApplianceForReplicationProtectedItemProviderSpecificInputUnion = UpdateApplianceForReplicationProtectedItemProviderSpecificInput | InMageRcmUpdateApplianceForReplicationProtectedItemInput; + +/** + * Update replication protected item provider specific input. + */ +export interface UpdateApplianceForReplicationProtectedItemProviderSpecificInput { /** - * @member {ReverseReplicationInputProperties} [properties] Reverse - * replication properties + * Polymorphic Discriminator */ - properties?: ReverseReplicationInputProperties; + instanceType: "UpdateApplianceForReplicationProtectedItemProviderSpecificInput"; } /** - * @interface - * An interface representing RunAsAccount. - * CS Accounts Details. - * + * InMageRcm provider specific input to update appliance for replication protected item. */ -export interface RunAsAccount { +export interface InMageRcmUpdateApplianceForReplicationProtectedItemInput { /** - * @member {string} [accountId] The CS RunAs account Id. + * Polymorphic Discriminator */ - accountId?: string; + instanceType: "InMageRcm"; /** - * @member {string} [accountName] The CS RunAs account name. + * The run as account Id. */ - accountName?: string; + runAsAccountId?: string; } /** - * @interface - * An interface representing SanEnableProtectionInput. - * San enable protection provider specific input. - * + * InMageRcm update protection container mapping. */ -export interface SanEnableProtectionInput { +export interface InMageRcmUpdateContainerMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "San"; + instanceType: "InMageRcm"; + /** + * A value indicating whether agent auto upgrade has to be enabled. + */ + enableAgentAutoUpgrade: string; } /** - * @interface - * An interface representing ScriptActionTaskDetails. - * This class represents the script action task details. - * + * InMageRcm provider specific input to update replication protected item. */ -export interface ScriptActionTaskDetails { +export interface InMageRcmUpdateReplicationProtectedItemInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "ScriptActionTaskDetails"; + instanceType: "InMageRcm"; /** - * @member {string} [name] The name. + * The target VM name. */ - name?: string; + targetVmName?: string; /** - * @member {string} [path] The path. + * The target VM size. */ - path?: string; + targetVmSize?: string; /** - * @member {string} [output] The output. + * The target resource group ARM Id. */ - output?: string; + targetResourceGroupId?: string; /** - * @member {boolean} [isPrimarySideScript] A value indicating whether it is a - * primary side script or not. + * The target availability set ARM Id. */ - isPrimarySideScript?: boolean; + 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 network ARM Id. + */ + targetNetworkId?: string; + /** + * The test network ARM Id. + */ + testNetworkId?: string; + /** + * The list of NIC details. + */ + vmNics?: InMageRcmNicInput[]; + /** + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + */ + licenseType?: LicenseType; } /** - * @interface - * An interface representing StorageClassificationProperties. - * Storage object properties. - * + * Details of the OS Disk. */ -export interface StorageClassificationProperties { +export interface OSDiskDetails { /** - * @member {string} [friendlyName] Friendly name of the Storage - * classification. + * The id of the disk containing the OS. */ - friendlyName?: string; -} - -/** - * @interface - * An interface representing StorageClassification. - * Storage object definition. - * - * @extends Resource - */ -export interface StorageClassification extends Resource { + osVhdId?: string; /** - * @member {StorageClassificationProperties} [properties] Proprties of the - * storage object. + * The type of the OS on the VM. */ - properties?: StorageClassificationProperties; -} - -/** - * @interface - * An interface representing StorageClassificationMappingProperties. - * Storage mapping properties. - * - */ -export interface StorageClassificationMappingProperties { + osType?: string; /** - * @member {string} [targetStorageClassificationId] Target storage object Id. + * The OS disk VHD name. */ - targetStorageClassificationId?: string; + vhdName?: string; } /** - * @interface - * An interface representing StorageClassificationMapping. - * Storage mapping object. - * - * @extends Resource + * InMage provider specific settings. */ -export interface StorageClassificationMapping extends Resource { +export interface InMageReplicationDetails { /** - * @member {StorageClassificationMappingProperties} [properties] Proprties of - * the storage mappping object. + * Polymorphic Discriminator */ - properties?: StorageClassificationMappingProperties; -} - -/** - * @interface - * An interface representing StorageMappingInputProperties. - * Storage mapping input properties. - * - */ -export interface StorageMappingInputProperties { + instanceType: "InMage"; /** - * @member {string} [targetStorageClassificationId] The ID of the storage - * object. + * 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. */ - targetStorageClassificationId?: string; -} - -/** - * @interface - * An interface representing StorageClassificationMappingInput. - * Storage mapping input. - * - */ -export interface StorageClassificationMappingInput { + activeSiteType?: string; /** - * @member {StorageMappingInputProperties} [properties] Storage mapping input - * properties. + * The CPU count of the VM on the primary side. */ - properties?: StorageMappingInputProperties; -} - -/** - * @interface - * An interface representing SwitchProtectionInputProperties. - * Switch protection input properties. - * - */ -export interface SwitchProtectionInputProperties { + sourceVmCpuCount?: number; /** - * @member {string} [replicationProtectedItemName] The unique replication - * protected item name. + * The RAM size of the VM on the primary side. */ - replicationProtectedItemName?: string; + sourceVmRamSizeInMB?: number; /** - * @member {SwitchProtectionProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific switch protection input. + * The OS details. */ - providerSpecificDetails?: SwitchProtectionProviderSpecificInputUnion; -} - -/** - * @interface - * An interface representing SwitchProtectionInput. - * Switch protection input. - * - */ -export interface SwitchProtectionInput { + osDetails?: OSDiskDetails; /** - * @member {SwitchProtectionInputProperties} [properties] Switch protection - * properties + * The protection stage. */ - properties?: SwitchProtectionInputProperties; -} - -/** - * @interface - * An interface representing SwitchProtectionJobDetails. - * This class represents details for switch protection job. - * - */ -export interface SwitchProtectionJobDetails { + protectionStage?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The virtual machine Id. */ - instanceType: "SwitchProtectionJobDetails"; + vmId?: string; /** - * @member {{ [propertyName: string]: string }} [affectedObjectDetails] The - * affected object properties like source server, source cloud, target - * server, target cloud etc. based on the workflow object details. + * The protection state for the vm. */ - affectedObjectDetails?: { [propertyName: string]: string }; + vmProtectionState?: string; /** - * @member {string} [newReplicationProtectedItemId] ARM Id of the new - * replication protected item. + * The protection state description for the vm. */ - newReplicationProtectedItemId?: string; -} - -/** - * @interface - * An interface representing TargetComputeSizeProperties. - * Represents applicable recovery vm sizes properties. - * - */ -export interface TargetComputeSizeProperties { + vmProtectionStateDescription?: string; /** - * @member {string} [name] Target compute size name. + * The resync details of the machine. */ - name?: string; + resyncDetails?: InitialReplicationDetails; /** - * @member {string} [friendlyName] Target compute size display name. + * The retention window start time. */ - friendlyName?: string; + retentionWindowStart?: Date; /** - * @member {number} [cpuCoresCount] The maximum cpu cores count supported by - * target compute size. + * The retention window end time. */ - cpuCoresCount?: number; + retentionWindowEnd?: Date; /** - * @member {number} [memoryInGB] The maximum memory in GB supported by target - * compute size. + * The compressed data change rate in MB. */ - memoryInGB?: number; + compressedDataRateInMB?: number; /** - * @member {number} [maxDataDiskCount] The maximum data disks count supported - * by target compute size. + * The uncompressed data change rate in MB. */ - maxDataDiskCount?: number; + uncompressedDataRateInMB?: number; /** - * @member {number} [maxNicsCount] The maximum Nics count supported by target - * compute size. + * The RPO in seconds. */ - maxNicsCount?: number; + rpoInSeconds?: number; /** - * @member {ComputeSizeErrorDetails[]} [errors] The reasons why the target - * compute size is not applicable for the protected item. + * The list of protected disks. */ - errors?: ComputeSizeErrorDetails[]; + protectedDisks?: InMageProtectedDiskDetails[]; /** - * @member {string} [highIopsSupported] The value indicating whether the - * target compute size supports high Iops. + * The source IP address. */ - highIopsSupported?: string; -} - -/** - * @interface - * An interface representing TargetComputeSize. - * Represents applicable recovery vm sizes. - * - */ -export interface TargetComputeSize { + ipAddress?: string; /** - * @member {string} [id] The Id. + * The last heartbeat received from the source server. */ - id?: string; + lastHeartbeat?: Date; /** - * @member {string} [name] The name. + * The process server Id. */ - name?: string; + processServerId?: string; /** - * @member {string} [type] The Type of the object. + * The master target Id. */ - type?: string; + masterTargetId?: string; /** - * @member {TargetComputeSizeProperties} [properties] The custom data. + * The collection of Consistency points. */ - properties?: TargetComputeSizeProperties; -} - -/** - * @interface - * An interface representing TestFailoverCleanupInputProperties. - * Input definition for test failover cleanup input properties. - * - */ -export interface TestFailoverCleanupInputProperties { + consistencyPoints?: { [propertyName: string]: Date } | { [propertyName: string]: string }; /** - * @member {string} [comments] Test failover cleanup comments. + * A value indicating whether any disk is resized for this VM. */ - comments?: string; -} - -/** - * @interface - * An interface representing TestFailoverCleanupInput. - * Input definition for test failover cleanup. - * - */ -export interface TestFailoverCleanupInput { + diskResized?: string; /** - * @member {TestFailoverCleanupInputProperties} properties Test failover - * cleanup input properties. + * A value indicating whether the source server requires a restart after update. */ - properties: TestFailoverCleanupInputProperties; -} - -/** - * @interface - * An interface representing TestFailoverInputProperties. - * Input definition for planned failover input properties. - * - */ -export interface TestFailoverInputProperties { + rebootAfterUpdateStatus?: string; /** - * @member {string} [failoverDirection] Failover direction. + * The multi vm group Id, if any. */ - failoverDirection?: string; + multiVmGroupId?: string; /** - * @member {string} [networkType] Network type to be used for test failover. + * The multi vm group name, if any. */ - networkType?: string; + multiVmGroupName?: string; /** - * @member {string} [networkId] The id of the network to be used for test - * failover + * A value indicating whether the multi vm sync is enabled or disabled. */ - networkId?: string; + multiVmSyncStatus?: string; /** - * @member {string} [skipTestFailoverCleanup] A value indicating whether the - * test failover cleanup is to be skipped. + * The agent details. */ - skipTestFailoverCleanup?: string; + agentDetails?: InMageAgentDetails; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The vCenter infrastructure Id. */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; -} - -/** - * @interface - * An interface representing TestFailoverInput. - * Input definition for planned failover. - * - */ -export interface TestFailoverInput { + vCenterInfrastructureId?: string; /** - * @member {TestFailoverInputProperties} [properties] Planned failover input - * properties + * The infrastructure VM Id. */ - properties?: TestFailoverInputProperties; -} - -/** - * @interface - * An interface representing TestFailoverJobDetails. - * This class represents the details for a test failover job. - * - */ -export interface TestFailoverJobDetails { + infrastructureVmId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The PE Network details. */ - instanceType: "TestFailoverJobDetails"; + vmNics?: VMNicDetails[]; /** - * @member {{ [propertyName: string]: string }} [affectedObjectDetails] The - * affected object properties like source server, source cloud, target - * server, target cloud etc. based on the workflow object details. + * A value indicating the discovery type of the machine. */ - affectedObjectDetails?: { [propertyName: string]: string }; + discoveryType?: string; /** - * @member {string} [testFailoverStatus] The test failover status. + * A value indicating the underlying Azure storage account. If the VM is not running in Azure, + * this value shall be set to null. */ - testFailoverStatus?: string; + azureStorageAccountId?: string; /** - * @member {string} [comments] The test failover comments. + * The datastores of the on-premise machine Value can be list of strings that contain datastore + * names. */ - comments?: string; + datastores?: string[]; /** - * @member {string} [networkName] The test network name. + * The validation errors of the on-premise machine Value can be list of validation errors. */ - networkName?: string; + validationErrors?: HealthError[]; /** - * @member {string} [networkFriendlyName] The test network friendly name. + * The last RPO calculated time. */ - networkFriendlyName?: string; + lastRpoCalculatedTime?: Date; /** - * @member {string} [networkType] The test network type (see - * TestFailoverInput enum for possible values). + * The last update time received from on-prem components. */ - networkType?: string; + lastUpdateReceivedTime?: Date; /** - * @member {FailoverReplicationProtectedItemDetails[]} [protectedItemDetails] - * The test VM details. + * The replica id of the protected item. */ - protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; -} - -/** - * @interface - * An interface representing UnplannedFailoverInputProperties. - * Input definition for planned failover input properties. - * - */ -export interface UnplannedFailoverInputProperties { + replicaId?: string; /** - * @member {string} [failoverDirection] Failover direction. + * The OS Version of the protected item. */ - failoverDirection?: string; + osVersion?: string; /** - * @member {string} [sourceSiteOperations] Source site operations status + * A value indicating whether additional IR stats are available or not. */ - sourceSiteOperations?: string; + isAdditionalStatsAvailable?: boolean; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The total transferred data in bytes. */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; -} - -/** - * @interface - * An interface representing UnplannedFailoverInput. - * Input definition for planned failover. - * - */ -export interface UnplannedFailoverInput { + totalDataTransferred?: number; /** - * @member {UnplannedFailoverInputProperties} [properties] Planned failover - * input properties + * The progress health. */ - properties?: UnplannedFailoverInputProperties; + totalProgressHealth?: string; } /** - * @interface - * An interface representing UpdateMobilityServiceRequestProperties. - * The properties of an update mobility service request. - * + * InMageAzureV2 specific provider input. */ -export interface UpdateMobilityServiceRequestProperties { +export interface InMageReprotectInput { /** - * @member {string} [runAsAccountId] The CS run as account Id. + * Polymorphic Discriminator */ - runAsAccountId?: string; -} - -/** - * @interface - * An interface representing UpdateMobilityServiceRequest. - * Request to update the mobility service on a protected item. - * - */ -export interface UpdateMobilityServiceRequest { + instanceType: "InMage"; /** - * @member {UpdateMobilityServiceRequestProperties} [properties] The - * properties of the update mobility service request. + * The Master Target Id. */ - properties?: UpdateMobilityServiceRequestProperties; -} - -/** - * @interface - * An interface representing UpdateNetworkMappingInputProperties. - * Common input details for network mapping operation. - * - */ -export interface UpdateNetworkMappingInputProperties { + masterTargetId: string; /** - * @member {string} [recoveryFabricName] Recovery fabric name. + * The Process Server Id. */ - recoveryFabricName?: string; + processServerId: string; /** - * @member {string} [recoveryNetworkId] Recovery network Id. + * The retention drive to use on the MT. */ - recoveryNetworkId?: string; + retentionDrive: string; /** - * @member {FabricSpecificUpdateNetworkMappingInputUnion} - * [fabricSpecificDetails] Fabrics specific input network Id. + * The CS account Id. */ - fabricSpecificDetails?: FabricSpecificUpdateNetworkMappingInputUnion; -} - -/** - * @interface - * An interface representing UpdateNetworkMappingInput. - * Update network mapping input. - * - */ -export interface UpdateNetworkMappingInput { + runAsAccountId?: string; /** - * @member {UpdateNetworkMappingInputProperties} [properties] The input - * properties needed to update network mapping. + * The target datastore name. */ - properties?: UpdateNetworkMappingInputProperties; -} - -/** - * @interface - * An interface representing UpdatePolicyInputProperties. - * Policy update properties. - * - */ -export interface UpdatePolicyInputProperties { + datastoreName?: string; /** - * @member {PolicyProviderSpecificInputUnion} [replicationProviderSettings] - * The ReplicationProviderSettings. + * The enable disk exclusion input. */ - replicationProviderSettings?: PolicyProviderSpecificInputUnion; -} - -/** - * @interface - * An interface representing UpdatePolicyInput. - * Update policy input. - * - */ -export interface UpdatePolicyInput { + diskExclusionInput?: InMageDiskExclusionInput; /** - * @member {UpdatePolicyInputProperties} [properties] The - * ReplicationProviderSettings. + * The Policy Id. */ - properties?: UpdatePolicyInputProperties; -} - -/** - * @interface - * An interface representing UpdateProtectionContainerMappingInputProperties. - * Container pairing update input. - * - */ -export interface UpdateProtectionContainerMappingInputProperties { + profileId: string; /** - * @member {ReplicationProviderSpecificUpdateContainerMappingInputUnion} - * [providerSpecificInput] Provider specific input for updating protection - * container mapping. + * The disks to include list. */ - providerSpecificInput?: ReplicationProviderSpecificUpdateContainerMappingInputUnion; + disksToInclude?: string[]; } /** - * @interface - * An interface representing UpdateProtectionContainerMappingInput. - * Container pairing update input. - * + * Provider specific input for InMage test failover. */ -export interface UpdateProtectionContainerMappingInput { +export interface InMageTestFailoverInput { /** - * @member {UpdateProtectionContainerMappingInputProperties} [properties] - * Update protection container mapping input properties. + * Polymorphic Discriminator */ - properties?: UpdateProtectionContainerMappingInputProperties; -} - -/** - * @interface - * An interface representing UpdateRecoveryPlanInputProperties. - * Recovery plan updation properties. - * - */ -export interface UpdateRecoveryPlanInputProperties { + instanceType: "InMage"; /** - * @member {RecoveryPlanGroup[]} [groups] The recovery plan groups. + * 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' */ - groups?: RecoveryPlanGroup[]; + 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 UpdateRecoveryPlanInput. - * Update recovery plan input class. - * + * Provider specific input for InMage unplanned failover. */ -export interface UpdateRecoveryPlanInput { +export interface InMageUnplannedFailoverInput { /** - * @member {UpdateRecoveryPlanInputProperties} [properties] Recovery plan - * update properties. + * Polymorphic Discriminator */ - properties?: UpdateRecoveryPlanInputProperties; + 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 failover to a particular recovery point. In case of + * latest recovery point, null should be passed. + */ + recoveryPointId?: string; } /** - * @interface - * An interface representing VMNicInputDetails. - * Hyper V VM network input details. - * + * Job custom data details. */ -export interface VMNicInputDetails { +export interface JobProperties { /** - * @member {string} [nicId] The nic Id. + * The activity id. */ - nicId?: string; + activityId?: string; /** - * @member {string} [recoveryVMSubnetName] Recovery VM subnet name. + * The ScenarioName. */ - recoveryVMSubnetName?: string; + scenarioName?: string; /** - * @member {string} [replicaNicStaticIPAddress] Replica nic static IP - * address. + * The DisplayName. */ - replicaNicStaticIPAddress?: string; + friendlyName?: string; /** - * @member {string} [selectionType] Selection type for failover. + * The status of the Job. It is one of these values - NotStarted, InProgress, Succeeded, Failed, + * Cancelled, Suspended or Other. */ - selectionType?: string; + state?: string; /** - * @member {boolean} [enableAcceleratedNetworkingOnRecovery] Whether the NIC - * has accerated networking enabled. + * The description of the state of the Job. For e.g. - For Succeeded state, description can be + * Completed, PartiallySucceeded, CompletedWithInformation or Skipped. */ - enableAcceleratedNetworkingOnRecovery?: boolean; -} - -/** - * @interface - * An interface representing UpdateReplicationProtectedItemInputProperties. - * Update protected item input properties. - * - */ -export interface UpdateReplicationProtectedItemInputProperties { + stateDescription?: string; /** - * @member {string} [recoveryAzureVMName] Target azure VM name given by the - * user. + * The tasks. */ - recoveryAzureVMName?: string; + tasks?: ASRTask[]; /** - * @member {string} [recoveryAzureVMSize] Target Azure Vm size. + * The errors. */ - recoveryAzureVMSize?: string; + errors?: JobErrorDetails[]; /** - * @member {string} [selectedRecoveryAzureNetworkId] Target Azure Network Id. + * The start time. */ - selectedRecoveryAzureNetworkId?: string; + startTime?: Date; /** - * @member {string} [selectedSourceNicId] The selected source nic Id which - * will be used as the primary nic during failover. + * The end time. */ - selectedSourceNicId?: string; + endTime?: Date; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * The Allowed action the job. */ - enableRdpOnTargetOption?: string; + allowedActions?: string[]; /** - * @member {VMNicInputDetails[]} [vmNics] The list of vm nic details. + * The affected Object Id. */ - vmNics?: VMNicInputDetails[]; + targetObjectId?: string; /** - * @member {LicenseType} [licenseType] License type. Possible values include: - * 'NotSpecified', 'NoLicenseType', 'WindowsServer' + * The name of the affected object. */ - licenseType?: LicenseType; + targetObjectName?: string; /** - * @member {string} [recoveryAvailabilitySetId] The target availability set - * id. + * The type of the affected object which is of + * Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType class. */ - recoveryAvailabilitySetId?: string; + targetInstanceType?: string; /** - * @member {UpdateReplicationProtectedItemProviderInputUnion} - * [providerSpecificDetails] The provider specific input to update - * replication protected item. + * The custom job details like test failover job details. */ - providerSpecificDetails?: UpdateReplicationProtectedItemProviderInputUnion; + customDetails?: JobDetailsUnion; } /** - * @interface - * An interface representing UpdateReplicationProtectedItemInput. - * Update replication protected item input. - * + * Job details. */ -export interface UpdateReplicationProtectedItemInput { +export interface Job extends Resource { /** - * @member {UpdateReplicationProtectedItemInputProperties} [properties] - * Update replication protected item properties. + * The custom data. */ - properties?: UpdateReplicationProtectedItemInputProperties; + properties?: JobProperties; } /** - * @interface - * An interface representing UpdateVCenterRequestProperties. - * The properties of an update vCenter request. - * + * This class contains the minimal job details required to navigate to the desired drill down. */ -export interface UpdateVCenterRequestProperties { +export interface JobEntity { /** - * @member {string} [friendlyName] The friendly name of the vCenter. + * The job id. */ - friendlyName?: string; + jobId?: string; /** - * @member {string} [ipAddress] The IP address of the vCenter to be - * discovered. + * The job display name. */ - ipAddress?: string; + jobFriendlyName?: string; /** - * @member {string} [processServerId] The process server Id from where the - * update can be orchestrated. + * The object id. */ - processServerId?: string; + targetObjectId?: string; /** - * @member {string} [port] The port number for discovery. + * The object name. */ - port?: string; + targetObjectName?: string; /** - * @member {string} [runAsAccountId] The CS account Id which has priviliges - * to update the vCenter. + * The workflow affected object type. */ - runAsAccountId?: string; -} - -/** - * @interface - * An interface representing UpdateVCenterRequest. - * Input required to update vCenter. - * - */ -export interface UpdateVCenterRequest { + targetInstanceType?: string; /** - * @member {UpdateVCenterRequestProperties} [properties] The update VCenter - * Request Properties. + * The job name. Enum type ScenarioName. */ - properties?: UpdateVCenterRequestProperties; + jobScenarioName?: string; } /** - * @interface - * An interface representing VaultHealthProperties. - * class to define the health summary of the Vault. - * + * Query parameter to enumerate jobs. */ -export interface VaultHealthProperties { +export interface JobQueryParameter { /** - * @member {HealthError[]} [vaultErrors] The list of errors on the vault. + * Date time to get jobs from. */ - vaultErrors?: HealthError[]; + startTime?: string; /** - * @member {ResourceHealthSummary} [protectedItemsHealth] The list of the - * health detail of the protected items in the vault. + * Date time to get jobs upto. */ - protectedItemsHealth?: ResourceHealthSummary; + endTime?: string; /** - * @member {ResourceHealthSummary} [fabricsHealth] The list of the health - * detail of the fabrics in the vault. + * The Id of the fabric to search jobs under. */ - fabricsHealth?: ResourceHealthSummary; + fabricId?: string; /** - * @member {ResourceHealthSummary} [containersHealth] The list of the health - * detail of the containers in the vault. + * The type of objects. */ - containersHealth?: ResourceHealthSummary; -} - -/** - * @interface - * An interface representing VaultHealthDetails. - * Vault health details definition. - * - * @extends Resource - */ -export interface VaultHealthDetails extends Resource { + affectedObjectTypes?: string; /** - * @member {VaultHealthProperties} [properties] The vault health related - * data. + * The states of the job to be filtered can be in. */ - properties?: VaultHealthProperties; -} - -/** - * @interface - * An interface representing VCenterProperties. - * vCenter properties. - * - */ -export interface VCenterProperties { + jobStatus?: string; /** - * @member {string} [friendlyName] Friendly name of the vCenter. + * The output type of the jobs. Possible values include: 'Json', 'Xml', 'Excel' */ - friendlyName?: string; + jobOutputType?: ExportJobOutputSerializationType; /** - * @member {string} [internalId] VCenter internal ID. + * The job Name. */ - internalId?: string; + jobName?: string; /** - * @member {Date} [lastHeartbeat] The time when the last heartbeat was - * reveived by vCenter. + * The timezone offset for the location of the request (in minutes). */ - lastHeartbeat?: Date; + timezoneOffset?: number; +} + +/** + * Model class for event details of a job status event. + */ +export interface JobStatusEventDetails { /** - * @member {string} [discoveryStatus] The VCenter discovery status. + * Polymorphic Discriminator */ - discoveryStatus?: string; + instanceType: "JobStatus"; /** - * @member {string} [processServerId] The process server Id. + * Job arm id for the event. */ - processServerId?: string; + jobId?: string; /** - * @member {string} [ipAddress] The IP address of the vCenter. + * JobName for the Event. */ - ipAddress?: string; + jobFriendlyName?: string; /** - * @member {string} [infrastructureId] The infrastructure Id of vCenter. + * JobStatus for the Event. */ - infrastructureId?: string; + jobStatus?: string; /** - * @member {string} [port] The port number for discovery. + * AffectedObjectType for the event. */ - port?: string; + affectedObjectType?: string; +} + +/** + * Logical Network Properties. + */ +export interface LogicalNetworkProperties { /** - * @member {string} [runAsAccountId] The account Id which has privileges to - * discover the vCenter. + * The Friendly Name. */ - runAsAccountId?: string; + friendlyName?: string; /** - * @member {string} [fabricArmResourceName] The ARM resource name of the - * fabric containing this VCenter. + * A value indicating whether Network Virtualization is enabled for the logical network. */ - fabricArmResourceName?: string; + networkVirtualizationStatus?: string; /** - * @member {HealthError[]} [healthErrors] The health errors for this VCenter. + * A value indicating whether logical network is used as private test network by test failover. */ - healthErrors?: HealthError[]; + logicalNetworkUsage?: string; + /** + * A value indicating whether logical network definitions are isolated. + */ + logicalNetworkDefinitionsStatus?: string; } /** - * @interface - * An interface representing VCenter. - * vCenter definition. - * - * @extends Resource + * Logical network data model. */ -export interface VCenter extends Resource { +export interface LogicalNetwork extends Resource { /** - * @member {VCenterProperties} [properties] VCenter related data. + * The Logical Network Properties. */ - properties?: VCenterProperties; + properties?: LogicalNetworkProperties; } /** - * @interface - * An interface representing VirtualMachineTaskDetails. - * This class represents the virtual machine task details. - * + * This class represents the manual action task details. */ -export interface VirtualMachineTaskDetails { +export interface ManualActionTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VirtualMachineTaskDetails"; + instanceType: "ManualActionTaskDetails"; /** - * @member {string} [skippedReason] The skipped reason. + * The name. */ - skippedReason?: string; + name?: string; /** - * @member {string} [skippedReasonString] The skipped reason string. + * The instructions. */ - skippedReasonString?: string; + instructions?: string; /** - * @member {JobEntity} [jobTask] The job entity. + * The observation. */ - jobTask?: JobEntity; + observation?: string; } /** - * @interface - * An interface representing VmmDetails. - * VMM fabric specific details. - * + * The retention details of the MT. */ -export interface VmmDetails { +export interface RetentionVolume { /** - * @member {string} instanceType Polymorphic Discriminator + * The volume name. */ - instanceType: "VMM"; + volumeName?: string; + /** + * The volume capacity. + */ + capacityInBytes?: number; + /** + * The free space available in this volume. + */ + freeSpaceInBytes?: number; + /** + * The threshold percentage. + */ + thresholdPercentage?: number; } /** - * @interface - * An interface representing VmmToAzureCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to Vmm to Azure - * Network mapping. - * + * Version related details. */ -export interface VmmToAzureCreateNetworkMappingInput { +export interface VersionDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The agent version. */ - instanceType: "VmmToAzure"; + 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 VmmToAzureNetworkMappingSettings. - * E2A Network Mapping fabric specific settings. - * + * Details of a Master Target Server. */ -export interface VmmToAzureNetworkMappingSettings { +export interface MasterTargetServer { /** - * @member {string} instanceType Polymorphic Discriminator + * The server Id. */ - instanceType: "VmmToAzure"; + 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 VmmToAzureUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to azure. - * + * Contains the possible cases for MigrateProviderSpecificInput. */ -export interface VmmToAzureUpdateNetworkMappingInput { +export type MigrateProviderSpecificInputUnion = MigrateProviderSpecificInput | VMwareCbtMigrateInput; + +/** + * Migrate provider specific input. + */ +export interface MigrateProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmmToAzure"; + instanceType: "MigrateProviderSpecificInput"; } /** - * @interface - * An interface representing VmmToVmmCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to vmm to vmm - * Network mapping. - * + * Migrate input properties. */ -export interface VmmToVmmCreateNetworkMappingInput { +export interface MigrateInputProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The provider specific details. */ - instanceType: "VmmToVmm"; + providerSpecificDetails: MigrateProviderSpecificInputUnion; } /** - * @interface - * An interface representing VmmToVmmNetworkMappingSettings. - * E2E Network Mapping fabric specific settings. - * + * Input for migrate. */ -export interface VmmToVmmNetworkMappingSettings { +export interface MigrateInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Migrate input properties. */ - instanceType: "VmmToVmm"; + properties: MigrateInputProperties; } /** - * @interface - * An interface representing VmmToVmmUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to vmm. - * + * Contains the possible cases for MigrationProviderSpecificSettings. */ -export interface VmmToVmmUpdateNetworkMappingInput { +export type MigrationProviderSpecificSettingsUnion = MigrationProviderSpecificSettings | VMwareCbtMigrationDetails; + +/** + * Migration provider specific settings. + */ +export interface MigrationProviderSpecificSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmmToVmm"; + instanceType: "MigrationProviderSpecificSettings"; } /** - * @interface - * An interface representing VmmVirtualMachineDetails. - * VMM fabric provider specific VM settings. - * + * Migration item properties. */ -export interface VmmVirtualMachineDetails { +export interface MigrationItemProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The on-premise virtual machine name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "VmmVirtualMachine"; + readonly machineName?: string; /** - * @member {string} [sourceItemId] The source id of the object. + * The ARM Id of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceItemId?: string; + readonly policyId?: string; /** - * @member {string} [generation] The id of the object in fabric. + * The name of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - generation?: string; + readonly policyFriendlyName?: string; /** - * @member {OSDetails} [osDetails] The Last replication time. + * 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.** */ - osDetails?: OSDetails; + readonly migrationState?: MigrationState; /** - * @member {DiskDetails[]} [diskDetails] The Last successful failover time. + * The migration state description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - diskDetails?: DiskDetails[]; + readonly migrationStateDescription?: string; /** - * @member {PresenceStatus} [hasPhysicalDisk] A value indicating whether the - * VM has a physical disk attached. String value of - * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', - * 'Present', 'NotPresent' + * The last test migration time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hasPhysicalDisk?: PresenceStatus; + readonly lastTestMigrationTime?: Date; /** - * @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 status of the last test migration. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hasFibreChannelAdapter?: PresenceStatus; + readonly lastTestMigrationStatus?: 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 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.** */ - hasSharedVhd?: PresenceStatus; -} - -/** - * @interface - * An interface representing VmNicUpdatesTaskDetails. - * This class represents the vm NicUpdates task details. - * - */ -export interface VmNicUpdatesTaskDetails { + readonly testMigrateState?: TestMigrationState; /** - * @member {string} instanceType Polymorphic Discriminator + * The test migrate state description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "VmNicUpdatesTaskDetails"; + readonly testMigrateStateDescription?: string; /** - * @member {string} [vmId] Virtual machine Id. + * 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.** */ - vmId?: string; + readonly health?: ProtectionHealth; /** - * @member {string} [nicId] Nic Id. + * The list of health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nicId?: string; + readonly healthErrors?: HealthError[]; /** - * @member {string} [name] Name of the Nic. + * 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.** */ - name?: string; + readonly allowedOperations?: MigrationItemOperation[]; + /** + * The current job details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentJob?: CurrentJobDetails; + /** + * 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.** + */ + readonly eventCorrelationId?: string; + /** + * The migration provider custom settings. + */ + providerSpecificDetails?: MigrationProviderSpecificSettingsUnion; } /** - * @interface - * An interface representing VMwareCbtPolicyCreationInput. - * VMware Cbt Policy creation input. - * + * Migration item. */ -export interface VMwareCbtPolicyCreationInput { +export interface MigrationItem extends Resource { /** - * @member {string} instanceType Polymorphic Discriminator + * The migration item properties. */ - instanceType: "VMwareCbt"; + properties?: MigrationItemProperties; +} + +/** + * Query parameter to enumerate migration items. + */ +export interface MigrationItemsQueryParameter { /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The source fabric name filter. */ - recoveryPointHistory?: number; + sourceFabricName?: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency (in minutes). + * The source container name filter. */ - crashConsistentFrequencyInMinutes?: number; + sourceContainerName?: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency (in minutes). + * The replication provider type. */ - appConsistentFrequencyInMinutes?: number; + instanceType?: string; } /** - * @interface - * An interface representing VmwareCbtPolicyDetails. - * VMware Cbt specific policy details. - * + * Migration item recovery point properties. */ -export interface VmwareCbtPolicyDetails { +export interface MigrationRecoveryPointProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The recovery point time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "VMwareCbt"; + readonly recoveryPointTime?: Date; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * The recovery point type. Possible values include: 'NotSpecified', 'ApplicationConsistent', + * 'CrashConsistent' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPointThresholdInMinutes?: number; + readonly recoveryPointType?: MigrationRecoveryPointType; +} + +/** + * Recovery point for a migration item. + */ +export interface MigrationRecoveryPoint extends Resource { /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * Recovery point properties. */ - recoveryPointHistory?: number; + properties?: MigrationRecoveryPointProperties; +} + +/** + * The Mobility Service update details. + */ +export interface MobilityServiceUpdate { /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The version of the latest update. */ - appConsistentFrequencyInMinutes?: number; + version?: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The reboot status of the update - whether it is required or not. */ - crashConsistentFrequencyInMinutes?: number; + rebootStatus?: string; + /** + * The OS type. + */ + osType?: string; } /** - * @interface - * An interface representing VMwareDetails. - * Store the fabric details specific to the VMware fabric. - * + * Subnets of the network. */ -export interface VMwareDetails { +export interface Subnet { /** - * @member {string} instanceType Polymorphic Discriminator + * The subnet name. */ - instanceType: "VMware"; + name?: string; /** - * @member {ProcessServer[]} [processServers] The list of Process Servers - * associated with the fabric. + * The subnet friendly name. */ - processServers?: ProcessServer[]; + friendlyName?: string; /** - * @member {MasterTargetServer[]} [masterTargetServers] The list of Master - * Target servers associated with the fabric. + * The list of addresses for the subnet. */ - masterTargetServers?: MasterTargetServer[]; + addressList?: string[]; +} + +/** + * Network Properties. + */ +export interface NetworkProperties { /** - * @member {RunAsAccount[]} [runAsAccounts] The list of run as accounts - * created on the server. + * The Fabric Type. */ - runAsAccounts?: RunAsAccount[]; + fabricType?: string; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this CS. + * The List of subnets. */ - replicationPairCount?: string; + subnets?: Subnet[]; /** - * @member {string} [processServerCount] The number of process servers. + * The Friendly Name. */ - processServerCount?: string; + friendlyName?: string; /** - * @member {string} [agentCount] The number of source and target servers - * configured to talk to this CS. + * The Network Type. */ - agentCount?: string; + networkType?: string; +} + +/** + * Network model. + */ +export interface Network extends Resource { /** - * @member {string} [protectedServers] The number of protected servers. + * The Network Properties. */ - protectedServers?: string; + properties?: NetworkProperties; +} + +/** + * Network Mapping Properties. + */ +export interface NetworkMappingProperties { /** - * @member {string} [systemLoad] The percentage of the system load. + * The pairing state for network mapping. */ - systemLoad?: string; + state?: string; /** - * @member {string} [systemLoadStatus] The system load status. + * The primary network friendly name. */ - systemLoadStatus?: string; + primaryNetworkFriendlyName?: string; /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * The primary network id for network mapping. */ - cpuLoad?: string; + primaryNetworkId?: string; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * The primary fabric friendly name. */ - cpuLoadStatus?: string; + primaryFabricFriendlyName?: string; /** - * @member {number} [totalMemoryInBytes] The total memory. + * The recovery network friendly name. */ - totalMemoryInBytes?: number; + recoveryNetworkFriendlyName?: string; /** - * @member {number} [availableMemoryInBytes] The available memory. + * The recovery network id for network mapping. */ - availableMemoryInBytes?: number; + recoveryNetworkId?: string; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * The recovery fabric ARM id. */ - memoryUsageStatus?: string; + recoveryFabricArmId?: string; /** - * @member {number} [totalSpaceInBytes] The total space. + * The recovery fabric friendly name. */ - totalSpaceInBytes?: number; + recoveryFabricFriendlyName?: string; /** - * @member {number} [availableSpaceInBytes] The available space. + * The fabric specific settings. */ - availableSpaceInBytes?: number; + fabricSpecificSettings?: NetworkMappingFabricSpecificSettingsUnion; +} + +/** + * Network Mapping model. Ideally it should have been possible to inherit this class from prev + * version in InheritedModels as long as there is no difference in structure or method signature. + * Since there were no base Models for certain fields and methods viz NetworkMappingProperties and + * Load with required return type, the class has been introduced in its entirety with references to + * base models to facilitate extensions in subsequent versions. + */ +export interface NetworkMapping extends Resource { /** - * @member {string} [spaceUsageStatus] The space usage status. + * The Network Mapping Properties. */ - spaceUsageStatus?: string; + properties?: NetworkMappingProperties; +} + +/** + * New Protection profile input. + */ +export interface NewProtectionProfile { /** - * @member {string} [webLoad] The web load. + * Polymorphic Discriminator */ - webLoad?: string; + resourceType: "New"; /** - * @member {string} [webLoadStatus] The web load status. + * The protection profile input. */ - webLoadStatus?: string; + policyName: string; /** - * @member {string} [databaseServerLoad] The database server load. + * The duration in minutes until which the recovery points need to be stored. */ - databaseServerLoad?: string; + recoveryPointHistory?: number; /** - * @member {string} [databaseServerLoadStatus] The database server load - * status. + * The crash consistent snapshot frequency (in minutes). */ - databaseServerLoadStatus?: string; + crashConsistentFrequencyInMinutes?: number; /** - * @member {string} [csServiceStatus] The CS service status. + * The app consistent snapshot frequency (in minutes). */ - csServiceStatus?: string; + appConsistentFrequencyInMinutes?: number; /** - * @member {string} [ipAddress] The IP address. + * A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or + * 'Disabled'. Possible values include: 'Enable', 'Disable' */ - ipAddress?: string; + multiVmSyncStatus: SetMultiVmSyncStatus; +} + +/** + * Recovery virtual network input to create new virtual network from given source network. + */ +export interface NewRecoveryVirtualNetwork { /** - * @member {string} [agentVersion] The agent Version. + * Polymorphic Discriminator */ - agentVersion?: string; + resourceType: "New"; /** - * @member {string} [hostName] The host name. + * The name of the resource group to be used to create the recovery virtual network. If absent, + * target network would be created in the same resource group as target VM. */ - hostName?: string; + recoveryVirtualNetworkResourceGroupName?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from CS server. + * The recovery virtual network name. */ - lastHeartbeat?: Date; + recoveryVirtualNetworkName?: string; +} + +/** + * Operations discovery class. + */ +export interface OperationsDiscovery { /** - * @member {string} [versionStatus] Version status + * Name of the API. The name of the operation being performed on this particular object. It + * should match the action name that appears in RBAC / the event service. Examples of operations + * include: * Microsoft.Compute/virtualMachine/capture/action * + * Microsoft.Compute/virtualMachine/restart/action * Microsoft.Compute/virtualMachine/write * + * Microsoft.Compute/virtualMachine/read * Microsoft.Compute/virtualMachine/delete Each action + * should include, in order: (1) Resource Provider Namespace (2) Type hierarchy for which the + * action applies (e.g. server/databases for a SQL Azure database) (3) Read, Write, Action or + * Delete indicating which type applies. If it is a PUT/PATCH on a collection or named value, + * Write should be used. If it is a GET, Read should be used. If it is a DELETE, Delete should be + * used. If it is a POST, Action should be used. As a note: all resource providers would need to + * include the "{Resource Provider Namespace}/register/action" operation in their response. This + * API is used to register for their service, and should include details about the operation + * (e.g. a localized name for the resource provider + any special considerations like PII + * release). */ - versionStatus?: string; + name?: string; /** - * @member {Date} [sslCertExpiryDate] CS SSL cert expiry date. + * Object type. */ - sslCertExpiryDate?: Date; + display?: Display; /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * Origin. The intended executor of the operation; governs the display of the operation in the + * RBAC UX and the audit logs UX. Default value is "user,system". */ - sslCertExpiryRemainingDays?: number; + origin?: string; /** - * @member {string} [psTemplateVersion] PS template version. + * Properties. Reserved for future use. */ - psTemplateVersion?: string; + properties?: any; +} + +/** + * Wrapper model for OSVersion to include version and service pack info. + */ +export interface OSVersionWrapper { /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The version. */ - agentExpiryDate?: Date; + version?: string; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * The service pack. */ - agentVersionDetails?: VersionDetails; + servicePack?: string; } /** - * @interface - * An interface representing VMwareV2FabricCreationInput. - * Fabric provider specific settings. - * + * Input definition for planned failover input properties. */ -export interface VMwareV2FabricCreationInput { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "VMwareV2"; +export interface PlannedFailoverInputProperties { /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * Failover direction. */ - keyVaultUrl?: string; + failoverDirection?: string; /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * Provider specific settings. */ - keyVaultResourceArmId?: string; + providerSpecificDetails?: PlannedFailoverProviderSpecificFailoverInputUnion; } /** - * @interface - * An interface representing VMwareV2FabricSpecificDetails. - * VMwareV2 fabric Specific Details. - * + * Input definition for planned failover. */ -export interface VMwareV2FabricSpecificDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "VMwareV2"; +export interface PlannedFailoverInput { /** - * @member {string} [srsServiceEndpoint] The endpoint for making requests to - * the SRS Service. + * Planned failover input properties. */ - srsServiceEndpoint?: string; + properties?: PlannedFailoverInputProperties; +} + +/** + * Protection profile custom data details. + */ +export interface PolicyProperties { /** - * @member {string} [rcmServiceEndpoint] The endpoint for making requests to - * the RCM Service. + * The FriendlyName. */ - rcmServiceEndpoint?: string; + friendlyName?: string; /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * The ReplicationChannelSetting. */ - keyVaultUrl?: string; + providerSpecificDetails?: PolicyProviderSpecificDetailsUnion; +} + +/** + * Protection profile details. + */ +export interface Policy extends Resource { /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * The custom data. */ - keyVaultResourceArmId?: string; + properties?: PolicyProperties; } /** - * @interface - * An interface representing VMwareVirtualMachineDetails. - * VMware provider specific settings - * + * Details of the Process Server. */ -export interface VMwareVirtualMachineDetails { +export interface ProcessServer { /** - * @member {string} instanceType Polymorphic Discriminator + * The Process Server's friendly name. */ - instanceType: "VMwareVirtualMachine"; + friendlyName?: string; /** - * @member {string} [agentGeneratedId] The ID generated by the InMage agent - * after it gets installed on guest. This is the ID to be used during InMage - * CreateProtection. + * The Process Server Id. */ - agentGeneratedId?: string; + id?: string; /** - * @member {string} [agentInstalled] The value indicating if InMage scout - * agent is installed on guest. + * The IP address of the server. */ - agentInstalled?: string; + ipAddress?: string; /** - * @member {string} [osType] The OsType installed on VM. + * The OS type of the server. */ osType?: string; /** - * @member {string} [agentVersion] The agent version. + * The version of the scout component on the server. */ agentVersion?: string; /** - * @member {string} [ipAddress] The IP address. + * The last heartbeat received from the server. */ - ipAddress?: string; + lastHeartbeat?: Date; /** - * @member {string} [poweredOn] The value indicating whether VM is powered - * on. + * Version status. */ - poweredOn?: string; + versionStatus?: string; /** - * @member {string} [vCenterInfrastructureId] The VCenter infrastructure Id. + * The list of the mobility service updates available on the Process Server. */ - vCenterInfrastructureId?: string; + mobilityServiceUpdates?: MobilityServiceUpdate[]; /** - * @member {string} [discoveryType] A value inidicating the discovery type of - * the machine. Value can be vCenter or physical. + * The agent generated Id. */ - discoveryType?: string; + hostId?: string; /** - * @member {InMageDiskDetails[]} [diskDetails] The disk details. + * The servers configured with this PS. */ - diskDetails?: InMageDiskDetails[]; + machineCount?: string; /** - * @member {HealthError[]} [validationErrors] The validation errors. + * The number of replication pairs configured in this PS. */ - validationErrors?: HealthError[]; -} - -/** - * @interface - * An interface representing ReplicationEventsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationEventsListOptionalParams extends msRest.RequestOptionsBase { + replicationPairCount?: string; /** - * @member {string} [filter] OData filter options. + * The percentage of the system load. */ - filter?: string; -} - -/** - * @interface - * An interface representing ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { + systemLoad?: string; /** - * @member {string} [filter] OData filter options. + * The system load status. */ - filter?: string; + 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 PS service status. + */ + psServiceStatus?: string; + /** + * The PS SSL cert expiry date. + */ + sslCertExpiryDate?: Date; + /** + * CS SSL cert expiry date. + */ + sslCertExpiryRemainingDays?: number; + /** + * OS Version of the process server. Note: This will get populated if user has CS version greater + * than 9.12.0.0. + */ + osVersion?: string; + /** + * Health errors. + */ + healthErrors?: HealthError[]; + /** + * Agent expiry date. + */ + agentExpiryDate?: Date; + /** + * The agent version details. + */ + agentVersionDetails?: VersionDetails; + /** + * The health of Process Server. Possible values include: 'None', 'Normal', 'Warning', 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly health?: ProtectionHealth; + /** + * The process server stats refresh time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly psStatsRefreshTime?: Date; + /** + * The uploading pending data in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly throughputUploadPendingDataInBytes?: number; + /** + * The throughput in MBps. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly throughputInMBps?: number; + /** + * The throughput in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly throughputInBytes?: number; + /** + * The throughput status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly throughputStatus?: string; + /** + * The MARS communication status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly marsCommunicationStatus?: string; + /** + * The MARS registration status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly marsRegistrationStatus?: string; } /** - * @interface - * An interface representing ReplicationProtectedItemsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase + * Replication protected item custom data details. */ -export interface ReplicationProtectedItemsListOptionalParams extends msRest.RequestOptionsBase { +export interface ProtectableItemProperties { /** - * @member {string} [skipToken] The pagination token. Possible values: - * "FabricId" or "FabricId_CloudId" or null + * The name. */ - skipToken?: string; + friendlyName?: string; /** - * @member {string} [filter] OData filter options. + * The protection status. */ - filter?: string; + protectionStatus?: string; + /** + * The ARM resource of protected items. + */ + replicationProtectedItemId?: string; + /** + * The recovery provider ARM Id. + */ + recoveryServicesProviderId?: string; + /** + * The Current protection readiness errors. + */ + protectionReadinessErrors?: string[]; + /** + * The list of replication providers supported for the protectable item. + */ + supportedReplicationProviders?: string[]; + /** + * The Replication provider custom settings. + */ + customDetails?: ConfigurationSettingsUnion; } /** - * @interface - * An interface representing ReplicationJobsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase + * Replication protected item. */ -export interface ReplicationJobsListOptionalParams extends msRest.RequestOptionsBase { +export interface ProtectableItem extends Resource { /** - * @member {string} [filter] OData filter options. + * The custom data. */ - filter?: string; + properties?: ProtectableItemProperties; } /** - * @interface - * An interface representing SiteRecoveryManagementClientOptions. - * @extends AzureServiceClientOptions + * Query parameter to enumerate Protectable items. */ -export interface SiteRecoveryManagementClientOptions extends AzureServiceClientOptions { +export interface ProtectableItemQueryParameter { /** - * @member {string} [baseUri] + * State of the Protectable item query filter. */ - baseUri?: string; + state?: string; } - /** - * @interface - * An interface representing the OperationsDiscoveryCollection. - * Collection of ClientDiscovery details. - * - * @extends Array + * Query parameter to enumerate protected items. */ -export interface OperationsDiscoveryCollection extends Array { +export interface ProtectedItemsQueryParameter { /** - * @member {string} [nextLink] The value of next link. + * The source fabric name filter. */ - nextLink?: string; + sourceFabricName?: string; + /** + * The recovery plan filter. + */ + recoveryPlanName?: string; + /** + * The source fabric location filter. + */ + sourceFabricLocation?: string; + /** + * The fabric object Id filter. + */ + fabricObjectId?: string; + /** + * The vCenter name filter. + */ + vCenterName?: string; + /** + * The replication provider type. + */ + instanceType?: string; + /** + * Whether Multi VM group is auto created or specified by user. Possible values include: + * 'AutoCreated', 'UserSpecified' + */ + multiVmGroupCreateOption?: MultiVmGroupCreateOption; + /** + * The process server Id filter. + */ + processServerId?: string; } /** - * @interface - * An interface representing the AlertCollection. - * Collection of alerts. - * - * @extends Array + * Base class for fabric specific details of container. */ -export interface AlertCollection extends Array { +export interface ProtectionContainerFabricSpecificDetails { /** - * @member {string} [nextLink] The value of next link. + * Gets the class type. Overridden in derived classes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; + readonly instanceType?: string; } /** - * @interface - * An interface representing the EventCollection. - * Collection of fabric details. - * - * @extends Array + * Protection profile custom data details. */ -export interface EventCollection extends Array { +export interface ProtectionContainerProperties { /** - * @member {string} [nextLink] The value of next link. + * Fabric friendly name. */ - nextLink?: string; + fabricFriendlyName?: string; + /** + * The name. + */ + friendlyName?: string; + /** + * The fabric type. + */ + fabricType?: string; + /** + * Number of protected PEs. + */ + protectedItemCount?: number; + /** + * The pairing status of this cloud. + */ + pairingStatus?: string; + /** + * The role of this cloud. + */ + role?: string; + /** + * Fabric specific details. + */ + fabricSpecificDetails?: ProtectionContainerFabricSpecificDetails; } /** - * @interface - * An interface representing the FabricCollection. - * Collection of fabric details. - * - * @extends Array + * Protection container details. */ -export interface FabricCollection extends Array { +export interface ProtectionContainer extends Resource { /** - * @member {string} [nextLink] The value of next link. + * The custom data. */ - nextLink?: string; + properties?: ProtectionContainerProperties; } /** - * @interface - * An interface representing the LogicalNetworkCollection. - * List of logical networks. - * - * @extends Array + * Protection container mapping properties. */ -export interface LogicalNetworkCollection extends Array { +export interface ProtectionContainerMappingProperties { /** - * @member {string} [nextLink] The value of next link. + * Paired protection container ARM ID. */ - nextLink?: string; + targetProtectionContainerId?: string; + /** + * Friendly name of paired container. + */ + targetProtectionContainerFriendlyName?: string; + /** + * Provider specific provider details. + */ + providerSpecificDetails?: ProtectionContainerMappingProviderSpecificDetailsUnion; + /** + * Health of pairing. + */ + health?: string; + /** + * Health error. + */ + healthErrorDetails?: HealthError[]; + /** + * Policy ARM Id. + */ + policyId?: string; + /** + * Association Status. + */ + state?: string; + /** + * Friendly name of source protection container. + */ + sourceProtectionContainerFriendlyName?: string; + /** + * Friendly name of source fabric. + */ + sourceFabricFriendlyName?: string; + /** + * Friendly name of target fabric. + */ + targetFabricFriendlyName?: string; + /** + * Friendly name of replication policy. + */ + policyFriendlyName?: string; } /** - * @interface - * An interface representing the NetworkCollection. - * List of networks. - * - * @extends Array + * Protection container mapping object. */ -export interface NetworkCollection extends Array { +export interface ProtectionContainerMapping extends Resource { /** - * @member {string} [nextLink] The value of next link. + * The custom data. */ - nextLink?: string; + properties?: ProtectionContainerMappingProperties; } /** - * @interface - * An interface representing the 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 + * Contains the possible cases for RecoveryPlanProviderSpecificDetails. */ -export interface NetworkMappingCollection extends Array { - /** - * @member {string} [nextLink] The value of next link. - */ - nextLink?: string; -} +export type RecoveryPlanProviderSpecificDetailsUnion = RecoveryPlanProviderSpecificDetails | RecoveryPlanA2ADetails; /** - * @interface - * An interface representing the ProtectionContainerCollection. - * Protection Container collection. - * - * @extends Array + * Recovery plan provider specific details. */ -export interface ProtectionContainerCollection extends Array { +export interface RecoveryPlanProviderSpecificDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "RecoveryPlanProviderSpecificDetails"; } /** - * @interface - * An interface representing the ProtectableItemCollection. - * Protectable item collection. - * - * @extends Array + * Recovery plan properties. */ -export interface ProtectableItemCollection 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 ReplicationProtectedItemCollection. - * Replication protected item collection. - * - * @extends Array + * Recovery plan details. */ -export interface ReplicationProtectedItemCollection 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 RecoveryPointCollection. - * Collection of recovery point details. - * - * @extends Array + * Recovery plan A2A specific details. */ -export interface RecoveryPointCollection 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 TargetComputeSizeCollection. - * Target compute size collection. - * - * @extends Array + * Contains the possible cases for RecoveryPlanProviderSpecificFailoverInput. */ -export interface TargetComputeSizeCollection 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 ProtectionContainerMappingCollection. - * Protection container mapping collection class. - * - * @extends Array + * Recovery plan provider specific failover input. */ -export interface ProtectionContainerMappingCollection extends Array { +export interface RecoveryPlanProviderSpecificFailoverInput { /** - * @member {string} [nextLink] Link to fetch rest of the data. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "RecoveryPlanProviderSpecificFailoverInput"; } /** - * @interface - * An interface representing the RecoveryServicesProviderCollection. - * Collection of providers. - * - * @extends Array + * Recovery plan A2A failover input. */ -export interface RecoveryServicesProviderCollection 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 StorageClassificationCollection. - * Collection of storage details. - * - * @extends Array + * Recovery plan A2A input. */ -export interface StorageClassificationCollection 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 StorageClassificationMappingCollection. - * Collection of storage mapping details. - * - * @extends Array + * Recovery plan Automation runbook action details. */ -export interface StorageClassificationMappingCollection 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 VCenterCollection. - * Collection of vCenter details. - * - * @extends Array + * Contains the possible cases for RecoveryPlanGroupTaskDetails. */ -export interface VCenterCollection extends Array { - /** - * @member {string} [nextLink] The value of next link. - */ - nextLink?: string; -} +export type RecoveryPlanGroupTaskDetailsUnion = RecoveryPlanGroupTaskDetails | RecoveryPlanShutdownGroupTaskDetails; /** - * @interface - * An interface representing the JobCollection. - * Collection of jobs. - * - * @extends Array + * This class represents the recovery plan group task. */ -export interface JobCollection extends Array { +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 PolicyCollection. - * Protection Profile Collection details. - * - * @extends Array + * Recovery plan HVR Azure failback input. */ -export interface PolicyCollection 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 RecoveryPlanCollection. - * Recovery plan collection details. - * - * @extends Array + * Recovery plan HVR Azure failover input. */ -export interface RecoveryPlanCollection extends Array { +export interface RecoveryPlanHyperVReplicaAzureFailoverInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; -} - -/** - * Defines values for AgentAutoUpdateStatus. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} - */ -export type AgentAutoUpdateStatus = 'Disabled' | 'Enabled'; + 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; +} /** - * Defines values for SetMultiVmSyncStatus. - * Possible values include: 'Enable', 'Disable' - * @readonly - * @enum {string} + * Recovery plan InMageAzureV2 failover input. */ -export type SetMultiVmSyncStatus = 'Enable' | 'Disable'; +export interface RecoveryPlanInMageAzureV2FailoverInput { + /** + * Polymorphic Discriminator + */ + 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; +} /** - * Defines values for RecoveryPointSyncType. - * Possible values include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' - * @readonly - * @enum {string} + * Recovery plan InMage failover input. */ -export type RecoveryPointSyncType = 'MultiVmSyncRecoveryPoint' | 'PerVmRecoveryPoint'; +export interface RecoveryPlanInMageFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "InMage"; + /** + * The recovery point type. Possible values include: 'LatestTime', 'LatestTag', 'Custom' + */ + recoveryPointType: RpInMageRecoveryPointType; +} /** - * Defines values for MultiVmGroupCreateOption. - * Possible values include: 'AutoCreated', 'UserSpecified' - * @readonly - * @enum {string} + * Recovery plan InMageRcmFailback failover input. */ -export type MultiVmGroupCreateOption = 'AutoCreated' | 'UserSpecified'; +export interface RecoveryPlanInMageRcmFailbackFailoverInput { + /** + * Polymorphic Discriminator + */ + 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; +} /** - * Defines values for FailoverDeploymentModel. - * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager' - * @readonly - * @enum {string} + * Recovery plan InMageRcm failover input. */ -export type FailoverDeploymentModel = 'NotApplicable' | 'Classic' | 'ResourceManager'; +export interface RecoveryPlanInMageRcmFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "InMageRcm"; + /** + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * 'LatestCrashConsistent', 'LatestProcessed' + */ + recoveryPointType: RecoveryPlanPointType; + /** + * A value indicating whether multi VM sync enabled VMs should use multi VM sync points for + * failover. + */ + useMultiVmSyncPoint?: string; +} /** - * Defines values for RecoveryPlanGroupType. - * Possible values include: 'Shutdown', 'Boot', 'Failover' - * @readonly - * @enum {string} + * Recovery plan manual action details. */ -export type RecoveryPlanGroupType = 'Shutdown' | 'Boot' | 'Failover'; +export interface RecoveryPlanManualActionDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "ManualActionDetails"; + /** + * The manual action description. + */ + description?: string; +} /** - * 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 planned failover input properties. */ -export type ReplicationProtectedItemOperation = 'ReverseReplicate' | 'Commit' | 'PlannedFailover' | 'UnplannedFailover' | 'DisableProtection' | 'TestFailover' | 'TestFailoverCleanup' | 'Failback' | 'FinalizeFailback' | 'ChangePit' | 'RepairReplication' | 'SwitchProtection' | 'CompleteMigration'; +export interface RecoveryPlanPlannedFailoverInputProperties { + /** + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' + */ + failoverDirection: PossibleOperationsDirections; + /** + * The provider specific properties. + */ + providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; +} /** - * Defines values for PossibleOperationsDirections. - * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' - * @readonly - * @enum {string} + * Recovery plan planned failover input. */ -export type PossibleOperationsDirections = 'PrimaryToRecovery' | 'RecoveryToPrimary'; +export interface RecoveryPlanPlannedFailoverInput { + /** + * The recovery plan planned failover input properties. + */ + properties: RecoveryPlanPlannedFailoverInputProperties; +} /** - * Defines values for DisableProtectionReason. - * Possible values include: 'NotSpecified', 'MigrationComplete' - * @readonly - * @enum {string} + * Recovery plan script action details. */ -export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; +export interface RecoveryPlanScriptActionDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "ScriptActionDetails"; + /** + * The script path. + */ + path: string; + /** + * The script timeout. + */ + timeout?: string; + /** + * The fabric location. Possible values include: 'Primary', 'Recovery' + */ + fabricLocation: RecoveryPlanActionLocation; +} /** - * Defines values for HealthErrorCategory. - * Possible values include: 'None', 'Replication', 'TestFailover', 'Configuration', - * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' - * @readonly - * @enum {string} + * This class represents the recovery plan shutdown group task details. */ -export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdate'; +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 Severity. - * Possible values include: 'NONE', 'Warning', 'Error', 'Info' - * @readonly - * @enum {string} + * Recovery plan test failover cleanup input properties. */ -export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; +export interface RecoveryPlanTestFailoverCleanupInputProperties { + /** + * The test failover cleanup comments. + */ + comments?: string; +} /** - * Defines values for PresenceStatus. - * Possible values include: 'Unknown', 'Present', 'NotPresent' - * @readonly - * @enum {string} + * Recovery plan test failover cleanup input. */ -export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; +export interface RecoveryPlanTestFailoverCleanupInput { + /** + * The recovery plan test failover cleanup input properties. + */ + properties: RecoveryPlanTestFailoverCleanupInputProperties; +} /** - * Defines values for IdentityProviderType. - * Possible values include: 'RecoveryServicesActiveDirectory' - * @readonly - * @enum {string} + * Recovery plan test failover input properties. */ -export type IdentityProviderType = 'RecoveryServicesActiveDirectory'; +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 AgentVersionStatus. - * Possible values include: 'Supported', 'NotSupported', 'Deprecated', 'UpdateRequired', - * 'SecurityUpdateRequired' - * @readonly - * @enum {string} + * Recovery plan test failover input. */ -export type AgentVersionStatus = 'Supported' | 'NotSupported' | 'Deprecated' | 'UpdateRequired' | 'SecurityUpdateRequired'; +export interface RecoveryPlanTestFailoverInput { + /** + * The recovery plan test failover input properties. + */ + properties: RecoveryPlanTestFailoverInputProperties; +} /** - * Defines values for RecoveryPointType. - * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * @readonly - * @enum {string} + * Recovery plan unplanned failover input properties. */ -export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; +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 MultiVmSyncStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Recovery plan unplanned failover input. */ -export type MultiVmSyncStatus = 'Enabled' | 'Disabled'; +export interface RecoveryPlanUnplannedFailoverInput { + /** + * The recovery plan unplanned failover input properties. + */ + properties: RecoveryPlanUnplannedFailoverInputProperties; +} /** - * Defines values for A2ARpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', - * 'LatestProcessed' - * @readonly - * @enum {string} + * Recovery point properties. */ -export type A2ARpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; +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 MultiVmSyncPointOption. + * Recovery point. + */ +export interface RecoveryPoint extends Resource { + /** + * The recovery point properties. + */ + properties?: RecoveryPointProperties; +} + +/** + * Recovery services provider properties. + */ +export interface RecoveryServicesProviderProperties { + /** + * Type of the site. + */ + fabricType?: string; + /** + * Friendly name of the DRA. + */ + friendlyName?: string; + /** + * The provider version. + */ + providerVersion?: string; + /** + * The fabric provider. + */ + serverVersion?: string; + /** + * DRA version status. + */ + providerVersionState?: string; + /** + * Expiry date of the version. + */ + providerVersionExpiryDate?: Date; + /** + * The fabric friendly name. + */ + fabricFriendlyName?: string; + /** + * Time when last heartbeat was sent by the DRA. + */ + lastHeartBeat?: Date; + /** + * A value indicating whether DRA is responsive. + */ + connectionStatus?: string; + /** + * Number of protected VMs currently managed by the DRA. + */ + protectedItemCount?: number; + /** + * The scenarios allowed on this provider. + */ + allowedScenarios?: string[]; + /** + * The recovery services provider health error details. + */ + healthErrorDetails?: HealthError[]; + /** + * The DRA Id. + */ + draIdentifier?: string; + /** + * The 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; +} + +/** + * Provider details. + */ +export interface RecoveryServicesProvider extends Resource { + /** + * Provider properties. + */ + properties?: RecoveryServicesProviderProperties; +} + +/** + * Remove Disk input properties. + */ +export interface RemoveDisksInputProperties { + /** + * The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be + * AzureEnableProtectionInput object. For San provider, it will be SanEnableProtectionInput + * object. For HyperVReplicaAzure provider, it can be null. + */ + providerSpecificDetails?: RemoveDisksProviderSpecificInputUnion; +} + +/** + * Input for remove disk(s) operation. + */ +export interface RemoveDisksInput { + /** + * Remove disk input properties. + */ + properties?: RemoveDisksInputProperties; +} + +/** + * Provider specific input for unpairing operations. + */ +export interface ReplicationProviderContainerUnmappingInput { + /** + * The class type. + */ + instanceType?: string; +} + +/** + * Unpairing input properties. + */ +export interface RemoveProtectionContainerMappingInputProperties { + /** + * Provider specific input for unpairing. + */ + providerSpecificInput?: ReplicationProviderContainerUnmappingInput; +} + +/** + * Container unpairing input. + */ +export interface RemoveProtectionContainerMappingInput { + /** + * Configure protection input properties. + */ + properties?: RemoveProtectionContainerMappingInputProperties; +} + +/** + * Renew Certificate input properties. + */ +export interface RenewCertificateInputProperties { + /** + * Renew certificate type. + */ + renewCertificateType?: string; +} + +/** + * Certificate renewal input. + */ +export interface RenewCertificateInput { + /** + * Renew certificate input properties. + */ + properties?: RenewCertificateInputProperties; +} + +/** + * Error model that can be exposed to the user. + */ +export interface ReplicationEligibilityResultsErrorInfo { + /** + * The error code. + */ + 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; +} + +/** + * Properties model for replication eligibility results API. + */ +export interface ReplicationEligibilityResultsProperties { + /** + * The client request Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly clientRequestId?: string; + /** + * The error details. + */ + errors?: ReplicationEligibilityResultsErrorInfo[]; +} + +/** + * Replication eligibility results response model. + */ +export interface ReplicationEligibilityResults { + /** + * Gets the name of this object. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Gets the object type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Gets Unique ARM identifier for this object. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Gets properties model for replication eligibility results API. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly properties?: ReplicationEligibilityResultsProperties; +} + +/** + * Replication eligibility results collection response model. + */ +export interface ReplicationEligibilityResultsCollection { + /** + * The replication eligibility results details. + */ + value?: ReplicationEligibilityResults[]; +} + +/** + * Replication group details. This will be used in case of San. + */ +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; +} + +/** + * Update appliance for protected item input properties. + */ +export interface UpdateApplianceForReplicationProtectedItemInputProperties { + /** + * The target appliance Id. + */ + targetApplianceId: string; + /** + * The provider specific input to update replication protected item. + */ + providerSpecificDetails: UpdateApplianceForReplicationProtectedItemProviderSpecificInputUnion; +} + +/** + * Update appliance for replication protected item input. + */ +export interface UpdateApplianceForReplicationProtectedItemInput { + /** + * Update appliance replication protected item properties. + */ + properties: UpdateApplianceForReplicationProtectedItemInputProperties; +} + +/** + * 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; + /** + * VMware to Azure provider type. + */ + vmwareToAzureProviderType?: 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; + /** + * VMware to Azure provider type. + */ + vmwareToAzureProviderType?: 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 PlannedFailoverStatus. + * Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Unknown' + * @readonly + * @enum {string} + */ +export type PlannedFailoverStatus = 'Succeeded' | 'Failed' | 'Cancelled' | 'Unknown'; + +/** + * 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'; +export type MultiVmSyncPointOption = 'UseMultiVmSyncRecoveryPoint' | 'UsePerVmRecoveryPoint'; + +/** + * Defines values for RecoveryPlanActionLocation. + * Possible values include: 'Primary', 'Recovery' + * @readonly + * @enum {string} + */ +export type RecoveryPlanActionLocation = 'Primary' | 'Recovery'; + +/** + * Defines values for DataSyncStatus. + * Possible values include: 'ForDownTime', 'ForSynchronization' + * @readonly + * @enum {string} + */ +export type DataSyncStatus = 'ForDownTime' | 'ForSynchronization'; + +/** + * Defines values for AlternateLocationRecoveryOption. + * Possible values include: 'CreateVmIfNotFound', 'NoAction' + * @readonly + * @enum {string} + */ +export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; + +/** + * Defines values for HyperVReplicaAzureRpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type HyperVReplicaAzureRpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestProcessed'; + +/** + * Defines values for InMageV2RpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type InMageV2RpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; + +/** + * Defines values for RpInMageRecoveryPointType. + * Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * @readonly + * @enum {string} + */ +export type RpInMageRecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; + +/** + * 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; + }; +}; + +/** + * Contains response data for the beginCreate operation. + */ +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; + }; +}; + +/** + * Contains response data for the beginCheckConsistency operation. + */ +export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; + +/** + * Contains response data for the beginReassociateGateway operation. + */ +export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for RecoveryPlanActionLocation. - * Possible values include: 'Primary', 'Recovery' - * @readonly - * @enum {string} + * Contains response data for the beginRenewCertificate operation. */ -export type RecoveryPlanActionLocation = 'Primary' | 'Recovery'; +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; + }; +}; /** - * Defines values for DataSyncStatus. - * Possible values include: 'ForDownTime', 'ForSynchronization' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type DataSyncStatus = 'ForDownTime' | 'ForSynchronization'; +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; + }; +}; /** - * Defines values for AlternateLocationRecoveryOption. - * Possible values include: 'CreateVmIfNotFound', 'NoAction' - * @readonly - * @enum {string} + * Contains response data for the listByReplicationFabrics operation. */ -export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; +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; + }; +}; /** - * Defines values for HyperVReplicaAzureRpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestProcessed' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type HyperVReplicaAzureRpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestProcessed'; +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; + }; +}; /** - * Defines values for InMageV2RpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', - * 'LatestProcessed' - * @readonly - * @enum {string} + * Contains response data for the listByReplicationFabricsNext operation. */ -export type InMageV2RpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; +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; + }; +}; /** - * Defines values for RpInMageRecoveryPointType. - * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * @readonly - * @enum {string} + * Contains response data for the listByReplicationFabrics operation. */ -export type RpInMageRecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; +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; + }; +}; /** - * Defines values for SourceSiteOperations. - * Possible values include: 'Required', 'NotRequired' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type SourceSiteOperations = 'Required' | 'NotRequired'; +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; + }; +}; /** - * Defines values for LicenseType. - * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' - * @readonly - * @enum {string} + * 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 listByReplicationFabricsNext operation. + */ +export type ReplicationNetworksListByReplicationFabricsNextResponse = 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 listNext operation. + */ +export type ReplicationNetworksListNextResponse = 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 listByReplicationNetworks operation. + */ +export type ReplicationNetworkMappingsListByReplicationNetworksResponse = 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 get operation. */ -export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; +export type ReplicationNetworkMappingsGetResponse = 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 list operation. + * Contains response data for the create operation. */ -export type OperationsListResponse = OperationsDiscoveryCollection & { +export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9707,17 +14636,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: NetworkMapping; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the update operation. */ -export type OperationsListNextResponse = OperationsDiscoveryCollection & { +export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9726,17 +14656,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: NetworkMapping; }; }; /** * Contains response data for the list operation. */ -export type ReplicationAlertSettingsListResponse = AlertCollection & { +export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9745,17 +14676,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. + * Contains response data for the beginCreate operation. */ -export type ReplicationAlertSettingsGetResponse = Alert & { +export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9764,17 +14696,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. + * Contains response data for the beginUpdate operation. */ -export type ReplicationAlertSettingsCreateResponse = Alert & { +export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9783,17 +14716,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 listByReplicationNetworksNext operation. */ -export type ReplicationAlertSettingsListNextResponse = AlertCollection & { +export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9802,17 +14736,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: NetworkMappingCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type ReplicationEventsListResponse = EventCollection & { +export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9821,17 +14756,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 listByReplicationFabrics operation. */ -export type ReplicationEventsGetResponse = Event & { +export type ReplicationProtectionContainersListByReplicationFabricsResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -9840,17 +14776,18 @@ export type ReplicationEventsGetResponse = Event & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Event; + parsedBody: ProtectionContainerCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type ReplicationEventsListNextResponse = EventCollection & { +export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9859,17 +14796,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: ProtectionContainer; }; }; /** - * Contains response data for the list operation. + * Contains response data for the create operation. */ -export type ReplicationFabricsListResponse = FabricCollection & { +export type ReplicationProtectionContainersCreateResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9878,17 +14816,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: ProtectionContainer; }; }; /** - * Contains response data for the get operation. + * Contains response data for the discoverProtectableItem operation. */ -export type ReplicationFabricsGetResponse = Fabric & { +export type ReplicationProtectionContainersDiscoverProtectableItemResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9897,17 +14836,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. + * Contains response data for the switchProtection operation. */ -export type ReplicationFabricsCreateResponse = Fabric & { +export type ReplicationProtectionContainersSwitchProtectionResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9916,17 +14856,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 list operation. */ -export type ReplicationFabricsCheckConsistencyResponse = Fabric & { +export type ReplicationProtectionContainersListResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -9935,17 +14876,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: ProtectionContainerCollection; }; }; /** - * Contains response data for the reassociateGateway operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationFabricsReassociateGatewayResponse = Fabric & { +export type ReplicationProtectionContainersBeginCreateResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9954,17 +14896,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 beginDiscoverProtectableItem operation. */ -export type ReplicationFabricsRenewCertificateResponse = Fabric & { +export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9973,17 +14916,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: ProtectionContainer; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the beginSwitchProtection operation. */ -export type ReplicationFabricsBeginCreateResponse = Fabric & { +export type ReplicationProtectionContainersBeginSwitchProtectionResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9992,17 +14936,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 listByReplicationFabricsNext operation. */ -export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { +export type ReplicationProtectionContainersListByReplicationFabricsNextResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10011,17 +14956,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: ProtectionContainerCollection; }; }; /** - * Contains response data for the beginReassociateGateway operation. + * Contains response data for the listNext operation. */ -export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { +export type ReplicationProtectionContainersListNextResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10030,17 +14976,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: ProtectionContainerCollection; }; }; /** - * Contains response data for the beginRenewCertificate operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationFabricsBeginRenewCertificateResponse = Fabric & { +export type ReplicationMigrationItemsListByReplicationProtectionContainersResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10049,17 +14996,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: MigrationItemCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type ReplicationFabricsListNextResponse = FabricCollection & { +export type ReplicationMigrationItemsGetResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10068,17 +15016,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: MigrationItem; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the create operation. */ -export type ReplicationLogicalNetworksListByReplicationFabricsResponse = LogicalNetworkCollection & { +export type ReplicationMigrationItemsCreateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10087,17 +15036,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: MigrationItem; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ReplicationLogicalNetworksGetResponse = LogicalNetwork & { +export type ReplicationMigrationItemsUpdateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10106,17 +15056,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 migrate operation. */ -export type ReplicationLogicalNetworksListByReplicationFabricsNextResponse = LogicalNetworkCollection & { +export type ReplicationMigrationItemsMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10125,17 +15076,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 resync operation. */ -export type ReplicationNetworksListByReplicationFabricsResponse = NetworkCollection & { +export type ReplicationMigrationItemsResyncResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10144,17 +15096,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 testMigrate operation. */ -export type ReplicationNetworksGetResponse = Network & { +export type ReplicationMigrationItemsTestMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10163,17 +15116,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 testMigrateCleanup operation. */ -export type ReplicationNetworksListResponse = NetworkCollection & { +export type ReplicationMigrationItemsTestMigrateCleanupResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10182,17 +15136,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 list operation. */ -export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCollection & { +export type ReplicationMigrationItemsListResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10201,17 +15156,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: MigrationItemCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationNetworksListNextResponse = NetworkCollection & { +export type ReplicationMigrationItemsBeginCreateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10220,17 +15176,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 beginUpdate operation. */ -export type ReplicationNetworkMappingsListByReplicationNetworksResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsBeginUpdateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10239,17 +15196,18 @@ export type ReplicationNetworkMappingsListByReplicationNetworksResponse = Networ * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginMigrate operation. */ -export type ReplicationNetworkMappingsGetResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10258,17 +15216,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 beginResync operation. */ -export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginResyncResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10277,17 +15236,18 @@ export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginTestMigrate operation. */ -export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginTestMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10296,17 +15256,18 @@ export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginTestMigrateCleanup operation. */ -export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsBeginTestMigrateCleanupResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10315,17 +15276,18 @@ export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { +export type ReplicationMigrationItemsListByReplicationProtectionContainersNextResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10334,17 +15296,18 @@ export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItemCollection; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listNext operation. */ -export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { +export type ReplicationMigrationItemsListNextResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10353,17 +15316,18 @@ export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItemCollection; }; }; /** - * Contains response data for the listByReplicationNetworksNext operation. + * Contains response data for the listByReplicationMigrationItems operation. */ -export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = NetworkMappingCollection & { +export type MigrationRecoveryPointsListByReplicationMigrationItemsResponse = MigrationRecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -10372,17 +15336,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: MigrationRecoveryPointCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollection & { +export type MigrationRecoveryPointsGetResponse = MigrationRecoveryPoint & { /** * The underlying HTTP response. */ @@ -10391,17 +15356,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: MigrationRecoveryPoint; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the listByReplicationMigrationItemsNext operation. */ -export type ReplicationProtectionContainersListByReplicationFabricsResponse = ProtectionContainerCollection & { +export type MigrationRecoveryPointsListByReplicationMigrationItemsNextResponse = MigrationRecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -10410,17 +15376,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. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { +export type ReplicationProtectableItemsListByReplicationProtectionContainersResponse = ProtectableItemCollection & { /** * The underlying HTTP response. */ @@ -10429,17 +15396,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: ProtectableItemCollection; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type ReplicationProtectionContainersCreateResponse = ProtectionContainer & { +export type ReplicationProtectableItemsGetResponse = ProtectableItem & { /** * The underlying HTTP response. */ @@ -10448,17 +15416,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: ProtectableItem; }; }; /** - * Contains response data for the discoverProtectableItem operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationProtectionContainersDiscoverProtectableItemResponse = ProtectionContainer & { +export type ReplicationProtectableItemsListByReplicationProtectionContainersNextResponse = ProtectableItemCollection & { /** * The underlying HTTP response. */ @@ -10467,17 +15436,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 listByReplicationProtectionContainers operation. */ -export type ReplicationProtectionContainersSwitchProtectionResponse = ProtectionContainer & { +export type ReplicationProtectedItemsListByReplicationProtectionContainersResponse = ReplicationProtectedItemCollection & { /** * The underlying HTTP response. */ @@ -10486,17 +15456,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: ReplicationProtectedItemCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type ReplicationProtectionContainersListResponse = ProtectionContainerCollection & { +export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10505,17 +15476,18 @@ export type ReplicationProtectionContainersListResponse = ProtectionContainerCol * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerCollection; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the create operation. */ -export type ReplicationProtectionContainersBeginCreateResponse = ProtectionContainer & { +export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10524,17 +15496,18 @@ export type ReplicationProtectionContainersBeginCreateResponse = ProtectionConta * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: ReplicationProtectedItem; }; }; /** - * Contains response data for the beginDiscoverProtectableItem operation. + * Contains response data for the update operation. */ -export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse = ProtectionContainer & { +export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10543,17 +15516,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 addDisks operation. */ -export type ReplicationProtectionContainersBeginSwitchProtectionResponse = ProtectionContainer & { +export type ReplicationProtectedItemsAddDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10562,17 +15536,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 applyRecoveryPoint operation. */ -export type ReplicationProtectionContainersListByReplicationFabricsNextResponse = ProtectionContainerCollection & { +export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10581,17 +15556,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 failoverCancel operation. */ -export type ReplicationProtectionContainersListNextResponse = ProtectionContainerCollection & { +export type ReplicationProtectedItemsFailoverCancelResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10600,17 +15576,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 failoverCommit operation. */ -export type ReplicationProtectableItemsListByReplicationProtectionContainersResponse = ProtectableItemCollection & { +export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10619,17 +15596,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 plannedFailover operation. */ -export type ReplicationProtectableItemsGetResponse = ProtectableItem & { +export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10638,17 +15616,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 removeDisks operation. */ -export type ReplicationProtectableItemsListByReplicationProtectionContainersNextResponse = ProtectableItemCollection & { +export type ReplicationProtectedItemsRemoveDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10657,17 +15636,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 repairReplication operation. */ -export type ReplicationProtectedItemsListByReplicationProtectionContainersResponse = ReplicationProtectedItemCollection & { +export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10676,17 +15656,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 reprotect operation. */ -export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10695,6 +15676,7 @@ export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10703,9 +15685,9 @@ export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { }; /** - * Contains response data for the create operation. + * Contains response data for the resolveHealthErrors operation. */ -export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsResolveHealthErrorsResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10714,6 +15696,7 @@ export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10722,9 +15705,9 @@ export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & }; /** - * Contains response data for the update operation. + * Contains response data for the testFailover operation. */ -export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10733,6 +15716,7 @@ export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10741,9 +15725,9 @@ export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & }; /** - * Contains response data for the applyRecoveryPoint operation. + * Contains response data for the testFailoverCleanup operation. */ -export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10752,6 +15736,7 @@ export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationPro * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10760,9 +15745,9 @@ export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationPro }; /** - * Contains response data for the failoverCommit operation. + * Contains response data for the unplannedFailover operation. */ -export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10771,6 +15756,7 @@ export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10779,9 +15765,9 @@ export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtect }; /** - * Contains response data for the plannedFailover operation. + * Contains response data for the updateAppliance operation. */ -export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsUpdateApplianceResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10790,6 +15776,7 @@ export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtec * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10798,9 +15785,9 @@ export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtec }; /** - * Contains response data for the repairReplication operation. + * Contains response data for the updateMobilityService operation. */ -export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsUpdateMobilityServiceResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10809,6 +15796,7 @@ export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10817,9 +15805,9 @@ export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProt }; /** - * Contains response data for the reprotect operation. + * Contains response data for the list operation. */ -export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsListResponse = ReplicationProtectedItemCollection & { /** * The underlying HTTP response. */ @@ -10828,17 +15816,18 @@ export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedIte * 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 testFailover operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10847,6 +15836,7 @@ export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtected * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10855,9 +15845,9 @@ export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtected }; /** - * Contains response data for the testFailoverCleanup operation. + * Contains response data for the beginUpdate operation. */ -export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10866,6 +15856,7 @@ export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationPr * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10874,9 +15865,9 @@ export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationPr }; /** - * Contains response data for the unplannedFailover operation. + * Contains response data for the beginAddDisks operation. */ -export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginAddDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10885,6 +15876,7 @@ export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10893,9 +15885,9 @@ export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProt }; /** - * Contains response data for the updateMobilityService operation. + * Contains response data for the beginApplyRecoveryPoint operation. */ -export type ReplicationProtectedItemsUpdateMobilityServiceResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10904,6 +15896,7 @@ export type ReplicationProtectedItemsUpdateMobilityServiceResponse = Replication * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10912,9 +15905,9 @@ export type ReplicationProtectedItemsUpdateMobilityServiceResponse = Replication }; /** - * Contains response data for the list operation. + * Contains response data for the beginFailoverCancel operation. */ -export type ReplicationProtectedItemsListResponse = ReplicationProtectedItemCollection & { +export type ReplicationProtectedItemsBeginFailoverCancelResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10923,17 +15916,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 beginFailoverCommit operation. */ -export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10942,6 +15936,7 @@ export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedI * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10950,9 +15945,9 @@ export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedI }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginPlannedFailover operation. */ -export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10961,6 +15956,7 @@ export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedI * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10969,9 +15965,9 @@ export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedI }; /** - * Contains response data for the beginApplyRecoveryPoint operation. + * Contains response data for the beginRemoveDisks operation. */ -export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginRemoveDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10980,6 +15976,7 @@ export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = Replicati * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10988,9 +15985,9 @@ export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = Replicati }; /** - * Contains response data for the beginFailoverCommit operation. + * Contains response data for the beginRepairReplication operation. */ -export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginRepairReplicationResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10999,6 +15996,7 @@ export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationPr * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11007,9 +16005,9 @@ export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationPr }; /** - * Contains response data for the beginPlannedFailover operation. + * Contains response data for the beginReprotect operation. */ -export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11018,6 +16016,7 @@ export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11026,9 +16025,9 @@ export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationP }; /** - * Contains response data for the beginRepairReplication operation. + * Contains response data for the beginResolveHealthErrors operation. */ -export type ReplicationProtectedItemsBeginRepairReplicationResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginResolveHealthErrorsResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11037,6 +16036,7 @@ export type ReplicationProtectedItemsBeginRepairReplicationResponse = Replicatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11045,9 +16045,9 @@ export type ReplicationProtectedItemsBeginRepairReplicationResponse = Replicatio }; /** - * Contains response data for the beginReprotect operation. + * Contains response data for the beginTestFailover operation. */ -export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginTestFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11056,6 +16056,7 @@ export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11064,9 +16065,9 @@ export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtect }; /** - * Contains response data for the beginTestFailover operation. + * Contains response data for the beginTestFailoverCleanup operation. */ -export type ReplicationProtectedItemsBeginTestFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginTestFailoverCleanupResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11075,6 +16076,7 @@ export type ReplicationProtectedItemsBeginTestFailoverResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11083,9 +16085,9 @@ export type ReplicationProtectedItemsBeginTestFailoverResponse = ReplicationProt }; /** - * Contains response data for the beginTestFailoverCleanup operation. + * Contains response data for the beginUnplannedFailover operation. */ -export type ReplicationProtectedItemsBeginTestFailoverCleanupResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginUnplannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11094,6 +16096,7 @@ export type ReplicationProtectedItemsBeginTestFailoverCleanupResponse = Replicat * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11102,9 +16105,9 @@ export type ReplicationProtectedItemsBeginTestFailoverCleanupResponse = Replicat }; /** - * Contains response data for the beginUnplannedFailover operation. + * Contains response data for the beginUpdateAppliance operation. */ -export type ReplicationProtectedItemsBeginUnplannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginUpdateApplianceResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11113,6 +16116,7 @@ export type ReplicationProtectedItemsBeginUnplannedFailoverResponse = Replicatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11132,6 +16136,7 @@ export type ReplicationProtectedItemsBeginUpdateMobilityServiceResponse = Replic * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11151,6 +16156,7 @@ export type ReplicationProtectedItemsListByReplicationProtectionContainersNextRe * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11170,6 +16176,7 @@ export type ReplicationProtectedItemsListNextResponse = ReplicationProtectedItem * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11189,6 +16196,7 @@ export type RecoveryPointsListByReplicationProtectedItemsResponse = RecoveryPoin * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11208,6 +16216,7 @@ export type RecoveryPointsGetResponse = RecoveryPoint & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11227,6 +16236,7 @@ export type RecoveryPointsListByReplicationProtectedItemsNextResponse = Recovery * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11246,6 +16256,7 @@ export type TargetComputeSizesListByReplicationProtectedItemsResponse = TargetCo * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11265,6 +16276,7 @@ export type TargetComputeSizesListByReplicationProtectedItemsNextResponse = Targ * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11284,6 +16296,7 @@ export type ReplicationProtectionContainerMappingsListByReplicationProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11303,6 +16316,7 @@ export type ReplicationProtectionContainerMappingsGetResponse = ProtectionContai * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11322,6 +16336,7 @@ export type ReplicationProtectionContainerMappingsCreateResponse = ProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11341,6 +16356,7 @@ export type ReplicationProtectionContainerMappingsUpdateResponse = ProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11360,6 +16376,7 @@ export type ReplicationProtectionContainerMappingsListResponse = ProtectionConta * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11379,6 +16396,7 @@ export type ReplicationProtectionContainerMappingsBeginCreateResponse = Protecti * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11398,6 +16416,7 @@ export type ReplicationProtectionContainerMappingsBeginUpdateResponse = Protecti * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11417,6 +16436,7 @@ export type ReplicationProtectionContainerMappingsListByReplicationProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11436,6 +16456,7 @@ export type ReplicationProtectionContainerMappingsListNextResponse = ProtectionC * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11455,6 +16476,7 @@ export type ReplicationRecoveryServicesProvidersListByReplicationFabricsResponse * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11474,6 +16496,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 +16536,7 @@ export type ReplicationRecoveryServicesProvidersRefreshProviderResponse = Recove * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11512,6 +16556,7 @@ export type ReplicationRecoveryServicesProvidersListResponse = RecoveryServicesP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11519,6 +16564,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 +16596,7 @@ export type ReplicationRecoveryServicesProvidersBeginRefreshProviderResponse = R * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11550,6 +16616,7 @@ export type ReplicationRecoveryServicesProvidersListByReplicationFabricsNextResp * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11569,6 +16636,7 @@ export type ReplicationRecoveryServicesProvidersListNextResponse = RecoveryServi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11588,6 +16656,7 @@ export type ReplicationStorageClassificationsListByReplicationFabricsResponse = * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11607,6 +16676,7 @@ export type ReplicationStorageClassificationsGetResponse = StorageClassification * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11626,6 +16696,7 @@ export type ReplicationStorageClassificationsListResponse = StorageClassificatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11645,6 +16716,7 @@ export type ReplicationStorageClassificationsListByReplicationFabricsNextRespons * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11664,6 +16736,7 @@ export type ReplicationStorageClassificationsListNextResponse = StorageClassific * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11683,6 +16756,7 @@ export type ReplicationStorageClassificationMappingsListByReplicationStorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11702,6 +16776,7 @@ export type ReplicationStorageClassificationMappingsGetResponse = StorageClassif * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11721,6 +16796,7 @@ export type ReplicationStorageClassificationMappingsCreateResponse = StorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11740,6 +16816,7 @@ export type ReplicationStorageClassificationMappingsListResponse = StorageClassi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11759,6 +16836,7 @@ export type ReplicationStorageClassificationMappingsBeginCreateResponse = Storag * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11778,6 +16856,7 @@ export type ReplicationStorageClassificationMappingsListByReplicationStorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11797,6 +16876,7 @@ export type ReplicationStorageClassificationMappingsListNextResponse = StorageCl * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11816,6 +16896,7 @@ export type ReplicationvCentersListByReplicationFabricsResponse = VCenterCollect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11835,6 +16916,7 @@ export type ReplicationvCentersGetResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11854,6 +16936,7 @@ export type ReplicationvCentersCreateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11873,6 +16956,7 @@ export type ReplicationvCentersUpdateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11892,6 +16976,7 @@ export type ReplicationvCentersListResponse = VCenterCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11911,6 +16996,7 @@ export type ReplicationvCentersBeginCreateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11930,6 +17016,7 @@ export type ReplicationvCentersBeginUpdateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11949,6 +17036,7 @@ export type ReplicationvCentersListByReplicationFabricsNextResponse = VCenterCol * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11968,6 +17056,7 @@ export type ReplicationvCentersListNextResponse = VCenterCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11987,6 +17076,7 @@ export type ReplicationJobsListResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12006,6 +17096,7 @@ export type ReplicationJobsGetResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12025,6 +17116,7 @@ export type ReplicationJobsCancelResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12044,6 +17136,7 @@ export type ReplicationJobsRestartResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12063,6 +17156,7 @@ export type ReplicationJobsResumeResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12082,6 +17176,7 @@ export type ReplicationJobsExportMethodResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12101,6 +17196,7 @@ export type ReplicationJobsBeginCancelResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12120,6 +17216,7 @@ export type ReplicationJobsBeginRestartResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12139,6 +17236,7 @@ export type ReplicationJobsBeginResumeResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12158,6 +17256,7 @@ export type ReplicationJobsBeginExportMethodResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12177,6 +17276,7 @@ export type ReplicationJobsListNextResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12196,6 +17296,7 @@ export type ReplicationPoliciesListResponse = PolicyCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12215,6 +17316,7 @@ export type ReplicationPoliciesGetResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12234,6 +17336,7 @@ export type ReplicationPoliciesCreateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12253,6 +17356,7 @@ export type ReplicationPoliciesUpdateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12272,6 +17376,7 @@ export type ReplicationPoliciesBeginCreateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12291,6 +17396,7 @@ export type ReplicationPoliciesBeginUpdateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12310,6 +17416,7 @@ export type ReplicationPoliciesListNextResponse = PolicyCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12317,6 +17424,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 +17516,7 @@ export type ReplicationRecoveryPlansListResponse = RecoveryPlanCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12348,6 +17536,7 @@ export type ReplicationRecoveryPlansGetResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12367,6 +17556,7 @@ export type ReplicationRecoveryPlansCreateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12386,6 +17576,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 +17616,7 @@ export type ReplicationRecoveryPlansFailoverCommitResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12424,6 +17636,7 @@ export type ReplicationRecoveryPlansPlannedFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12443,6 +17656,7 @@ export type ReplicationRecoveryPlansReprotectResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12462,6 +17676,7 @@ export type ReplicationRecoveryPlansTestFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12481,6 +17696,7 @@ export type ReplicationRecoveryPlansTestFailoverCleanupResponse = RecoveryPlan & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12500,6 +17716,7 @@ export type ReplicationRecoveryPlansUnplannedFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12519,6 +17736,7 @@ export type ReplicationRecoveryPlansBeginCreateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12538,6 +17756,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 +17796,7 @@ export type ReplicationRecoveryPlansBeginFailoverCommitResponse = RecoveryPlan & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12576,6 +17816,7 @@ export type ReplicationRecoveryPlansBeginPlannedFailoverResponse = RecoveryPlan * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12595,6 +17836,7 @@ export type ReplicationRecoveryPlansBeginReprotectResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12614,6 +17856,7 @@ export type ReplicationRecoveryPlansBeginTestFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12633,6 +17876,7 @@ export type ReplicationRecoveryPlansBeginTestFailoverCleanupResponse = RecoveryP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12652,6 +17896,7 @@ export type ReplicationRecoveryPlansBeginUnplannedFailoverResponse = RecoveryPla * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12671,6 +17916,7 @@ export type ReplicationRecoveryPlansListNextResponse = RecoveryPlanCollection & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12678,6 +17924,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 +17956,7 @@ export type ReplicationVaultHealthGetResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12709,6 +17976,7 @@ export type ReplicationVaultHealthRefreshResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12728,9 +17996,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..fabf7bf5af86 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,180 +2041,8483 @@ 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" + } + } + } + }, + forwardProtectedItemCount: { + readOnly: true, + serializedName: "forwardProtectedItemCount", + type: { + name: "Number" + } + }, + reverseProtectedItemCount: { + readOnly: true, + serializedName: "reverseProtectedItemCount", + type: { + name: "Number" + } + } + } + } +}; + +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", + className: "InMageRcmAgentUpgradeBlockingErrorDetails", + modelProperties: { + errorCode: { + readOnly: true, + serializedName: "errorCode", + type: { + name: "String" + } + }, + errorMessage: { + readOnly: true, + serializedName: "errorMessage", + type: { + name: "String" + } + }, + possibleCauses: { + readOnly: true, + serializedName: "possibleCauses", + type: { + name: "String" + } + }, + recommendedAction: { + readOnly: true, + serializedName: "recommendedAction", + type: { + name: "String" + } + }, + errorMessageParameters: { + readOnly: true, + serializedName: "errorMessageParameters", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + errorTags: { + readOnly: true, + serializedName: "errorTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const InMageRcmApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "InMageRcmApplyRecoveryPointInput", + modelProperties: { + ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, + recoveryPointId: { + required: true, + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmDiscoveredProtectedVmDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmDiscoveredProtectedVmDetails", + type: { + name: "Composite", + className: "InMageRcmDiscoveredProtectedVmDetails", + modelProperties: { + vCenterId: { + readOnly: true, + serializedName: "vCenterId", + type: { + name: "String" + } + }, + vCenterFqdn: { + readOnly: true, + serializedName: "vCenterFqdn", + type: { + name: "String" + } + }, + datastores: { + readOnly: true, + serializedName: "datastores", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + ipAddresses: { + readOnly: true, + serializedName: "ipAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + vmwareToolsStatus: { + readOnly: true, + serializedName: "vmwareToolsStatus", + type: { + name: "String" + } + }, + powerStatus: { + readOnly: true, + serializedName: "powerStatus", + type: { + name: "String" + } + }, + vmFqdn: { + readOnly: true, + serializedName: "vmFqdn", + type: { + name: "String" + } + }, + osName: { + readOnly: true, + serializedName: "osName", + type: { + name: "String" + } + }, + createdTimestamp: { + readOnly: true, + serializedName: "createdTimestamp", + type: { + name: "DateTime" + } + }, + updatedTimestamp: { + readOnly: true, + serializedName: "updatedTimestamp", + type: { + name: "DateTime" + } + }, + isDeleted: { + readOnly: true, + serializedName: "isDeleted", + type: { + name: "Boolean" + } + }, + lastDiscoveryTimeInUtc: { + readOnly: true, + serializedName: "lastDiscoveryTimeInUtc", + type: { + name: "DateTime" + } + } + } + } +}; + +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" + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + }, + processServerId: { + required: true, + serializedName: "processServerId", + type: { + name: "String" + } + }, + multiVmGroupName: { + serializedName: "multiVmGroupName", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmEventDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "InMageRcmEventDetails", + modelProperties: { + ...EventProviderSpecificDetails.type.modelProperties, + protectedItemName: { + readOnly: true, + serializedName: "protectedItemName", + type: { + name: "String" + } + }, + vmName: { + readOnly: true, + serializedName: "vmName", + type: { + 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 InMageRcmFabricCreationInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { name: "Composite", polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator, uberParent: "FabricSpecificCreationInput", - className: "AzureFabricCreationInput", + className: "InMageRcmFabricCreationInput", modelProperties: { ...FabricSpecificCreationInput.type.modelProperties, - location: { - serializedName: "location", + vmwareSiteId: { + required: true, + 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 ProcessServerDetails: msRest.CompositeMapper = { + serializedName: "ProcessServerDetails", + type: { + name: "Composite", + className: "ProcessServerDetails", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + biosId: { + readOnly: true, + serializedName: "biosId", + type: { + name: "String" + } + }, + fabricObjectId: { + readOnly: true, + serializedName: "fabricObjectId", + type: { + name: "String" + } + }, + fqdn: { + readOnly: true, + serializedName: "fqdn", + type: { + name: "String" + } + }, + ipAddresses: { + readOnly: true, + serializedName: "ipAddresses", + type: { + name: "Sequence", + element: { + 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" } - } - } - } -}; - -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", + }, + systemLoad: { + readOnly: true, + serializedName: "systemLoad", + type: { + name: "Number" + } + }, + systemLoadStatus: { + readOnly: true, + serializedName: "systemLoadStatus", 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", + }, + diskUsageStatus: { + readOnly: true, + serializedName: "diskUsageStatus", type: { name: "String" } }, - containerIds: { - serializedName: "containerIds", + memoryUsageStatus: { + readOnly: true, + serializedName: "memoryUsageStatus", + type: { + name: "String" + } + }, + processorUsageStatus: { + readOnly: true, + serializedName: "processorUsageStatus", + type: { + name: "String" + } + }, + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" + } + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "HealthError" } } } - } - } - } -}; - -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", + }, + protectedItemCount: { + readOnly: true, + serializedName: "protectedItemCount", + type: { + name: "Number" + } + }, + historicHealth: { + readOnly: true, + serializedName: "historicHealth", type: { name: "String" } @@ -2437,279 +10526,335 @@ export const FabricSpecificCreateNetworkMappingInput: msRest.CompositeMapper = { } }; -export const AzureToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "AzureToAzure", +export const RcmProxyDetails: msRest.CompositeMapper = { + serializedName: "RcmProxyDetails", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "AzureToAzureCreateNetworkMappingInput", + className: "RcmProxyDetails", 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" + } + }, + clientAuthenticationType: { + readOnly: true, + serializedName: "clientAuthenticationType", + 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 NetworkMappingFabricSpecificSettings: msRest.CompositeMapper = { - serializedName: "NetworkMappingFabricSpecificSettings", +export const PushInstallerDetails: msRest.CompositeMapper = { + serializedName: "PushInstallerDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "NetworkMappingFabricSpecificSettings", + className: "PushInstallerDetails", modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + biosId: { + readOnly: true, + serializedName: "biosId", 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", + }, + fabricObjectId: { + readOnly: true, + serializedName: "fabricObjectId", type: { name: "String" } }, - recoveryFabricLocation: { - serializedName: "recoveryFabricLocation", + fqdn: { + readOnly: true, + serializedName: "fqdn", 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", + }, + version: { + readOnly: true, + serializedName: "version", 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", + }, + 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 AzureVmDiskDetails: msRest.CompositeMapper = { - serializedName: "AzureVmDiskDetails", +export const ReplicationAgentDetails: msRest.CompositeMapper = { + serializedName: "ReplicationAgentDetails", type: { name: "Composite", - className: "AzureVmDiskDetails", + className: "ReplicationAgentDetails", 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: "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 ComputeSizeErrorDetails: msRest.CompositeMapper = { - serializedName: "ComputeSizeErrorDetails", +export const ReprotectAgentDetails: msRest.CompositeMapper = { + serializedName: "ReprotectAgentDetails", type: { name: "Composite", - className: "ComputeSizeErrorDetails", + className: "ReprotectAgentDetails", modelProperties: { - message: { - serializedName: "message", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - severity: { - serializedName: "severity", + name: { + readOnly: true, + serializedName: "name", 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", + }, + biosId: { + readOnly: true, + serializedName: "biosId", type: { name: "String" } - } - } - } -}; - -export const ConfigureAlertRequestProperties: msRest.CompositeMapper = { - serializedName: "ConfigureAlertRequestProperties", - type: { - name: "Composite", - className: "ConfigureAlertRequestProperties", - modelProperties: { - sendToOwners: { - serializedName: "sendToOwners", + }, + fabricObjectId: { + readOnly: true, + serializedName: "fabricObjectId", type: { name: "String" } }, - customEmailAddresses: { - serializedName: "customEmailAddresses", + fqdn: { + readOnly: true, + serializedName: "fqdn", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - locale: { - serializedName: "locale", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } - } - } - } -}; - -export const ConfigureAlertRequest: msRest.CompositeMapper = { - serializedName: "ConfigureAlertRequest", - type: { - name: "Composite", - className: "ConfigureAlertRequest", - modelProperties: { - properties: { - serializedName: "properties", + }, + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", type: { - name: "Composite", - className: "ConfigureAlertRequestProperties" + name: "DateTime" } - } - } - } -}; - -export const InconsistentVmDetails: msRest.CompositeMapper = { - serializedName: "InconsistentVmDetails", - type: { - name: "Composite", - className: "InconsistentVmDetails", - modelProperties: { - vmName: { - serializedName: "vmName", + }, + health: { + readOnly: true, + serializedName: "health", type: { name: "String" } }, - cloudName: { - serializedName: "cloudName", + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + protectedItemCount: { + readOnly: true, + serializedName: "protectedItemCount", type: { - name: "String" + name: "Number" } }, - details: { - serializedName: "details", + accessibleDatastores: { + readOnly: true, + serializedName: "accessibleDatastores", type: { name: "Sequence", element: { @@ -2719,140 +10864,95 @@ export const InconsistentVmDetails: msRest.CompositeMapper = { } } }, - errorIds: { - serializedName: "errorIds", + vcenterId: { + readOnly: true, + serializedName: "vcenterId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + 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", + }, + lastDiscoveryInUtc: { + readOnly: true, + serializedName: "lastDiscoveryInUtc", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InconsistentVmDetails" - } - } + name: "DateTime" } } } } }; -export const CreateNetworkMappingInputProperties: msRest.CompositeMapper = { - serializedName: "CreateNetworkMappingInputProperties", +export const MarsAgentDetails: msRest.CompositeMapper = { + serializedName: "MarsAgentDetails", type: { name: "Composite", - className: "CreateNetworkMappingInputProperties", + className: "MarsAgentDetails", 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,207 +10961,171 @@ export const CreateProtectionContainerInputProperties: msRest.CompositeMapper = } }; -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", +export const InMageRcmFabricSpecificDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "CreateProtectionContainerMappingInputProperties", + polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, + uberParent: "FabricSpecificDetails", + className: "InMageRcmFabricSpecificDetails", modelProperties: { - targetProtectionContainerId: { - serializedName: "targetProtectionContainerId", + ...FabricSpecificDetails.type.modelProperties, + vmwareSiteId: { + readOnly: true, + serializedName: "vmwareSiteId", type: { name: "String" } }, - policyId: { - serializedName: "policyId", + physicalSiteId: { + readOnly: true, + serializedName: "physicalSiteId", 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 RecoveryPlanProtectedItem: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProtectedItem", - type: { - name: "Composite", - className: "RecoveryPlanProtectedItem", - modelProperties: { - id: { - serializedName: "id", + serviceEndpoint: { + readOnly: true, + serializedName: "serviceEndpoint", type: { name: "String" } }, - virtualMachineId: { - serializedName: "virtualMachineId", + serviceResourceId: { + readOnly: true, + serializedName: "serviceResourceId", 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", + }, + serviceContainerId: { + readOnly: true, + serializedName: "serviceContainerId", type: { name: "String" - } - } - } - } -}; - -export const RecoveryPlanAction: msRest.CompositeMapper = { - serializedName: "RecoveryPlanAction", - type: { - name: "Composite", - className: "RecoveryPlanAction", - modelProperties: { - actionName: { - required: true, - serializedName: "actionName", + } + }, + dataPlaneUri: { + readOnly: true, + serializedName: "dataPlaneUri", type: { name: "String" } }, - failoverTypes: { - required: true, - serializedName: "failoverTypes", + controlPlaneUri: { + readOnly: true, + serializedName: "controlPlaneUri", + type: { + name: "String" + } + }, + sourceAgentIdentityDetails: { + serializedName: "sourceAgentIdentityDetails", + type: { + name: "Composite", + className: "IdentityProviderDetails" + } + }, + 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", + pushInstallers: { + readOnly: true, + serializedName: "pushInstallers", type: { - name: "Composite", - className: "RecoveryPlanActionDetails" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PushInstallerDetails" + } + } } - } - } - } -}; - -export const RecoveryPlanGroup: msRest.CompositeMapper = { - serializedName: "RecoveryPlanGroup", - type: { - name: "Composite", - className: "RecoveryPlanGroup", - modelProperties: { - groupType: { - required: true, - serializedName: "groupType", + }, + replicationAgents: { + readOnly: true, + serializedName: "replicationAgents", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationAgentDetails" + } + } } }, - replicationProtectedItems: { - serializedName: "replicationProtectedItems", + reprotectAgents: { + readOnly: true, + serializedName: "reprotectAgents", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanProtectedItem" + className: "ReprotectAgentDetails" } } } }, - startGroupActions: { - serializedName: "startGroupActions", + marsAgents: { + readOnly: true, + serializedName: "marsAgents", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanAction" + className: "MarsAgentDetails" } } } }, - endGroupActions: { - serializedName: "endGroupActions", + dras: { + readOnly: true, + serializedName: "dras", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanAction" + className: "DraDetails" + } + } + } + }, + agentDetails: { + readOnly: true, + serializedName: "agentDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AgentDetails" } } } @@ -3070,127 +11134,266 @@ export const RecoveryPlanGroup: msRest.CompositeMapper = { } }; -export const CreateRecoveryPlanInputProperties: msRest.CompositeMapper = { - serializedName: "CreateRecoveryPlanInputProperties", +export const InMageRcmFailbackDiscoveredProtectedVmDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailbackDiscoveredProtectedVmDetails", type: { name: "Composite", - className: "CreateRecoveryPlanInputProperties", + className: "InMageRcmFailbackDiscoveredProtectedVmDetails", modelProperties: { - primaryFabricId: { - required: true, - serializedName: "primaryFabricId", + vCenterId: { + readOnly: true, + serializedName: "vCenterId", type: { name: "String" } }, - recoveryFabricId: { - required: true, - serializedName: "recoveryFabricId", + vCenterFqdn: { + readOnly: true, + serializedName: "vCenterFqdn", type: { name: "String" } }, - failoverDeploymentModel: { - serializedName: "failoverDeploymentModel", + datastores: { + readOnly: true, + serializedName: "datastores", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - groups: { - required: true, - serializedName: "groups", + ipAddresses: { + readOnly: true, + serializedName: "ipAddresses", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "RecoveryPlanGroup" + name: "String" } } } + }, + vmwareToolsStatus: { + readOnly: true, + serializedName: "vmwareToolsStatus", + type: { + name: "String" + } + }, + powerStatus: { + readOnly: true, + serializedName: "powerStatus", + type: { + name: "String" + } + }, + vmFqdn: { + readOnly: true, + serializedName: "vmFqdn", + type: { + name: "String" + } + }, + osName: { + readOnly: true, + serializedName: "osName", + type: { + name: "String" + } + }, + createdTimestamp: { + readOnly: true, + serializedName: "createdTimestamp", + type: { + name: "DateTime" + } + }, + updatedTimestamp: { + readOnly: true, + serializedName: "updatedTimestamp", + type: { + name: "DateTime" + } + }, + isDeleted: { + readOnly: true, + serializedName: "isDeleted", + type: { + name: "Boolean" + } + }, + lastDiscoveryTimeInUtc: { + readOnly: true, + serializedName: "lastDiscoveryTimeInUtc", + type: { + name: "DateTime" + } } } } }; -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" + } + }, + vmName: { + readOnly: true, + serializedName: "vmName", + 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 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", +export const InMageRcmFailbackNicDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailbackNicDetails", type: { name: "Composite", - className: "DataStore", + className: "InMageRcmFailbackNicDetails", modelProperties: { - symbolicName: { - serializedName: "symbolicName", - type: { - name: "String" - } - }, - uuid: { - serializedName: "uuid", + 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 +11402,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,618 +11422,700 @@ 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: "String" + name: "Number" } }, - osType: { - serializedName: "osType", + last15MinutesTransferredBytes: { + readOnly: true, + serializedName: "last15MinutesTransferredBytes", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const DiscoverProtectableItemRequest: msRest.CompositeMapper = { - serializedName: "DiscoverProtectableItemRequest", - type: { - name: "Composite", - className: "DiscoverProtectableItemRequest", - modelProperties: { - properties: { - serializedName: "properties", + }, + lastDataTransferTimeUtc: { + readOnly: true, + serializedName: "lastDataTransferTimeUtc", type: { - name: "Composite", - className: "DiscoverProtectableItemRequestProperties" + name: "String" } - } - } - } -}; - -export const DiskDetails: msRest.CompositeMapper = { - serializedName: "DiskDetails", - type: { - name: "Composite", - className: "DiskDetails", - modelProperties: { - maxSizeMB: { - serializedName: "maxSizeMB", + }, + processedBytes: { + readOnly: true, + serializedName: "processedBytes", type: { name: "Number" } }, - vhdType: { - serializedName: "vhdType", + startTime: { + readOnly: true, + serializedName: "startTime", type: { name: "String" } }, - vhdId: { - serializedName: "vhdId", + lastRefreshTime: { + readOnly: true, + serializedName: "lastRefreshTime", type: { name: "String" } }, - vhdName: { - serializedName: "vhdName", + progressPercentage: { + readOnly: true, + serializedName: "progressPercentage", type: { - name: "String" + name: "Number" } } } } }; -export const DiskVolumeDetails: msRest.CompositeMapper = { - serializedName: "DiskVolumeDetails", +export const InMageRcmFailbackProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailbackProtectedDiskDetails", type: { name: "Composite", - className: "DiskVolumeDetails", + className: "InMageRcmFailbackProtectedDiskDetails", modelProperties: { - label: { - serializedName: "label", + diskId: { + readOnly: true, + serializedName: "diskId", type: { name: "String" } }, - name: { - serializedName: "name", + diskName: { + readOnly: true, + serializedName: "diskName", type: { name: "String" } - } - } - } -}; - -export const Display: msRest.CompositeMapper = { - serializedName: "Display", - type: { - name: "Composite", - className: "Display", - modelProperties: { - provider: { - serializedName: "provider", + }, + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", type: { name: "String" } }, - resource: { - serializedName: "resource", + capacityInBytes: { + readOnly: true, + serializedName: "capacityInBytes", type: { - name: "String" + name: "Number" } }, - operation: { - serializedName: "operation", + diskUuid: { + readOnly: true, + serializedName: "diskUuid", type: { name: "String" } }, - description: { - serializedName: "description", + dataPendingInLogDataStoreInMB: { + readOnly: true, + serializedName: "dataPendingInLogDataStoreInMB", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const EnableProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "EnableProtectionInputProperties", - type: { - name: "Composite", - className: "EnableProtectionInputProperties", - modelProperties: { - policyId: { - serializedName: "policyId", + }, + dataPendingAtSourceAgentInMB: { + readOnly: true, + serializedName: "dataPendingAtSourceAgentInMB", type: { - name: "String" + name: "Number" } }, - protectableItemId: { - serializedName: "protectableItemId", + isInitialReplicationComplete: { + readOnly: true, + serializedName: "isInitialReplicationComplete", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + irDetails: { + serializedName: "irDetails", type: { name: "Composite", - className: "EnableProtectionProviderSpecificInput" + className: "InMageRcmFailbackSyncDetails" } - } - } - } -}; - -export const EnableProtectionInput: msRest.CompositeMapper = { - serializedName: "EnableProtectionInput", - type: { - name: "Composite", - className: "EnableProtectionInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + resyncDetails: { + serializedName: "resyncDetails", type: { name: "Composite", - className: "EnableProtectionInputProperties" + className: "InMageRcmFailbackSyncDetails" + } + }, + lastSyncTime: { + readOnly: true, + serializedName: "lastSyncTime", + type: { + name: "DateTime" } } } } }; -export const EncryptionDetails: msRest.CompositeMapper = { - serializedName: "EncryptionDetails", +export const InMageRcmFailbackReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmFailback", type: { name: "Composite", - className: "EncryptionDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageRcmFailbackReplicationDetails", modelProperties: { - kekState: { - serializedName: "kekState", + ...ReplicationProviderSpecificSettings.type.modelProperties, + internalIdentifier: { + readOnly: true, + serializedName: "internalIdentifier", + type: { + name: "String" + } + }, + azureVirtualMachineId: { + readOnly: true, + serializedName: "azureVirtualMachineId", + type: { + name: "String" + } + }, + multiVmGroupName: { + readOnly: true, + serializedName: "multiVmGroupName", + type: { + name: "String" + } + }, + reprotectAgentId: { + readOnly: true, + serializedName: "reprotectAgentId", + type: { + name: "String" + } + }, + reprotectAgentName: { + readOnly: true, + serializedName: "reprotectAgentName", + type: { + name: "String" + } + }, + osType: { + readOnly: true, + serializedName: "osType", + type: { + name: "String" + } + }, + logStorageAccountId: { + readOnly: true, + serializedName: "logStorageAccountId", type: { name: "String" } }, - kekCertThumbprint: { - serializedName: "kekCertThumbprint", + targetvCenterId: { + readOnly: true, + serializedName: "targetvCenterId", type: { name: "String" } }, - kekCertExpiryDate: { - serializedName: "kekCertExpiryDate", + targetDataStoreName: { + readOnly: true, + serializedName: "targetDataStoreName", type: { - name: "DateTime" + name: "String" } - } - } - } -}; - -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", + }, + targetVmName: { + readOnly: true, + serializedName: "targetVmName", type: { name: "String" } - } - } - } -}; - -export const InnerHealthError: msRest.CompositeMapper = { - serializedName: "InnerHealthError", - type: { - name: "Composite", - className: "InnerHealthError", - modelProperties: { - errorSource: { - serializedName: "errorSource", + }, + initialReplicationProgressPercentage: { + readOnly: true, + serializedName: "initialReplicationProgressPercentage", type: { - name: "String" + name: "Number" } }, - errorType: { - serializedName: "errorType", + initialReplicationProcessedBytes: { + readOnly: true, + serializedName: "initialReplicationProcessedBytes", type: { - name: "String" + name: "Number" } }, - errorLevel: { - serializedName: "errorLevel", + initialReplicationTransferredBytes: { + readOnly: true, + serializedName: "initialReplicationTransferredBytes", type: { - name: "String" + name: "Number" } }, - errorCategory: { - serializedName: "errorCategory", + initialReplicationProgressHealth: { + readOnly: true, + serializedName: "initialReplicationProgressHealth", type: { name: "String" } }, - errorCode: { - serializedName: "errorCode", + resyncProgressPercentage: { + readOnly: true, + serializedName: "resyncProgressPercentage", type: { - name: "String" + name: "Number" } }, - summaryMessage: { - serializedName: "summaryMessage", + resyncProcessedBytes: { + readOnly: true, + serializedName: "resyncProcessedBytes", type: { - name: "String" + name: "Number" } }, - errorMessage: { - serializedName: "errorMessage", + resyncTransferredBytes: { + readOnly: true, + serializedName: "resyncTransferredBytes", type: { - name: "String" + name: "Number" } }, - possibleCauses: { - serializedName: "possibleCauses", + resyncProgressHealth: { + readOnly: true, + serializedName: "resyncProgressHealth", type: { name: "String" } }, - recommendedAction: { - serializedName: "recommendedAction", + resyncRequired: { + readOnly: true, + serializedName: "resyncRequired", type: { name: "String" } }, - creationTimeUtc: { - serializedName: "creationTimeUtc", + resyncState: { + readOnly: true, + serializedName: "resyncState", type: { - name: "DateTime" + name: "String" } }, - recoveryProviderErrorMessage: { - serializedName: "recoveryProviderErrorMessage", + protectedDisks: { + serializedName: "protectedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmFailbackProtectedDiskDetails" + } + } } }, - entityId: { - serializedName: "entityId", + mobilityAgentDetails: { + serializedName: "mobilityAgentDetails", type: { - name: "String" + name: "Composite", + className: "InMageRcmFailbackMobilityAgentDetails" } - } - } - } -}; - -export const HealthError: msRest.CompositeMapper = { - serializedName: "HealthError", - type: { - name: "Composite", - className: "HealthError", - modelProperties: { - innerHealthErrors: { - serializedName: "innerHealthErrors", + }, + vmNics: { + serializedName: "vmNics", type: { name: "Sequence", element: { type: { name: "Composite", - className: "InnerHealthError" + className: "InMageRcmFailbackNicDetails" } } } }, - errorSource: { - serializedName: "errorSource", + lastPlannedFailoverStartTime: { + readOnly: true, + serializedName: "lastPlannedFailoverStartTime", + type: { + name: "DateTime" + } + }, + lastPlannedFailoverStatus: { + readOnly: true, + serializedName: "lastPlannedFailoverStatus", type: { name: "String" } }, - errorType: { - serializedName: "errorType", + discoveredVmDetails: { + serializedName: "discoveredVmDetails", + type: { + name: "Composite", + className: "InMageRcmFailbackDiscoveredProtectedVmDetails" + } + }, + lastUsedPolicyId: { + readOnly: true, + serializedName: "lastUsedPolicyId", type: { name: "String" } }, - errorLevel: { - serializedName: "errorLevel", + lastUsedPolicyFriendlyName: { + readOnly: true, + serializedName: "lastUsedPolicyFriendlyName", type: { name: "String" } }, - errorCategory: { - serializedName: "errorCategory", + isAgentRegistrationSuccessfulAfterFailover: { + readOnly: true, + serializedName: "isAgentRegistrationSuccessfulAfterFailover", + type: { + name: "Boolean" + } + } + } + } +}; + +export const InMageRcmFailbackReprotectInput: msRest.CompositeMapper = { + serializedName: "InMageRcmFailback", + type: { + name: "Composite", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "InMageRcmFailbackReprotectInput", + modelProperties: { + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + processServerId: { + required: true, + serializedName: "processServerId", type: { name: "String" } }, - errorCode: { - serializedName: "errorCode", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } }, - summaryMessage: { - serializedName: "summaryMessage", + policyId: { + required: true, + serializedName: "policyId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmLastAgentUpgradeErrorDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmLastAgentUpgradeErrorDetails", + type: { + name: "Composite", + className: "InMageRcmLastAgentUpgradeErrorDetails", + modelProperties: { + errorCode: { + readOnly: true, + serializedName: "errorCode", type: { name: "String" } }, errorMessage: { + readOnly: true, serializedName: "errorMessage", type: { name: "String" } }, possibleCauses: { + readOnly: true, serializedName: "possibleCauses", type: { name: "String" } }, 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 EventProperties: msRest.CompositeMapper = { - serializedName: "EventProperties", +export const InMageRcmMobilityAgentDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmMobilityAgentDetails", type: { name: "Composite", - className: "EventProperties", + className: "InMageRcmMobilityAgentDetails", modelProperties: { - eventCode: { - serializedName: "eventCode", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - description: { - serializedName: "description", + latestVersion: { + readOnly: true, + serializedName: "latestVersion", type: { name: "String" } }, - eventType: { - serializedName: "eventType", + latestAgentReleaseDate: { + readOnly: true, + serializedName: "latestAgentReleaseDate", type: { name: "String" } }, - affectedObjectFriendlyName: { - serializedName: "affectedObjectFriendlyName", + driverVersion: { + readOnly: true, + serializedName: "driverVersion", type: { name: "String" } }, - severity: { - serializedName: "severity", + latestUpgradableVersionWithoutReboot: { + readOnly: true, + serializedName: "latestUpgradableVersionWithoutReboot", type: { name: "String" } }, - timeOfOccurrence: { - serializedName: "timeOfOccurrence", + agentVersionExpiryDate: { + readOnly: true, + serializedName: "agentVersionExpiryDate", type: { name: "DateTime" } }, - fabricId: { - serializedName: "fabricId", - type: { - name: "String" - } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + driverVersionExpiryDate: { + readOnly: true, + serializedName: "driverVersionExpiryDate", type: { - name: "Composite", - className: "EventProviderSpecificDetails" + name: "DateTime" } }, - eventSpecificDetails: { - serializedName: "eventSpecificDetails", + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", type: { - name: "Composite", - className: "EventSpecificDetails" + name: "DateTime" } }, - healthErrors: { - serializedName: "healthErrors", + reasonsBlockingUpgrade: { + readOnly: true, + serializedName: "reasonsBlockingUpgrade", 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", + }, + isUpgradeable: { + readOnly: true, + serializedName: "isUpgradeable", type: { - name: "Composite", - className: "EventProperties" + name: "String" } } } } }; -export const EventQueryParameter: msRest.CompositeMapper = { - serializedName: "EventQueryParameter", +export const InMageRcmNicDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmNicDetails", type: { name: "Composite", - className: "EventQueryParameter", + className: "InMageRcmNicDetails", modelProperties: { - eventCode: { - serializedName: "eventCode", + nicId: { + readOnly: true, + serializedName: "nicId", type: { name: "String" } }, - severity: { - serializedName: "severity", + isPrimaryNic: { + serializedName: "isPrimaryNic", type: { name: "String" } }, - eventType: { - serializedName: "eventType", + isSelectedForFailover: { + serializedName: "isSelectedForFailover", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + sourceIPAddress: { + readOnly: true, + serializedName: "sourceIPAddress", type: { name: "String" } }, - affectedObjectFriendlyName: { - serializedName: "affectedObjectFriendlyName", + sourceIPAddressType: { + readOnly: true, + serializedName: "sourceIPAddressType", type: { name: "String" } }, - startTime: { - serializedName: "startTime", + sourceNetworkId: { + readOnly: true, + serializedName: "sourceNetworkId", type: { - name: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", + sourceSubnetName: { + readOnly: true, + serializedName: "sourceSubnetName", type: { - name: "DateTime" + 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", + }, + targetIPAddress: { + serializedName: "targetIPAddress", type: { name: "String" } }, - sasToken: { - serializedName: "sasToken", + targetIPAddressType: { + serializedName: "targetIPAddressType", + type: { + name: "String" + } + }, + targetSubnetName: { + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + testSubnetName: { + serializedName: "testSubnetName", + type: { + name: "String" + } + }, + testIPAddress: { + serializedName: "testIPAddress", + type: { + name: "String" + } + }, + testIPAddressType: { + serializedName: "testIPAddressType", type: { name: "String" } @@ -3841,65 +12124,52 @@ export const ExportJobDetails: msRest.CompositeMapper = { } }; -export const FabricProperties: msRest.CompositeMapper = { - serializedName: "FabricProperties", +export const InMageRcmNicInput: msRest.CompositeMapper = { + serializedName: "InMageRcmNicInput", type: { name: "Composite", - className: "FabricProperties", + className: "InMageRcmNicInput", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + nicId: { + required: true, + serializedName: "nicId", type: { name: "String" } }, - encryptionDetails: { - serializedName: "encryptionDetails", - type: { - name: "Composite", - className: "EncryptionDetails" - } - }, - rolloverEncryptionDetails: { - serializedName: "rolloverEncryptionDetails", + isPrimaryNic: { + required: true, + serializedName: "isPrimaryNic", type: { - name: "Composite", - className: "EncryptionDetails" + name: "String" } }, - internalIdentifier: { - serializedName: "internalIdentifier", + isSelectedForFailover: { + serializedName: "isSelectedForFailover", type: { name: "String" } }, - bcdrState: { - serializedName: "bcdrState", + targetSubnetName: { + serializedName: "targetSubnetName", type: { name: "String" } }, - customDetails: { - serializedName: "customDetails", + targetStaticIPAddress: { + serializedName: "targetStaticIPAddress", type: { - name: "Composite", - className: "FabricSpecificDetails" + name: "String" } }, - healthErrorDetails: { - serializedName: "healthErrorDetails", + testSubnetName: { + serializedName: "testSubnetName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } }, - health: { - serializedName: "health", + testStaticIPAddress: { + serializedName: "testStaticIPAddress", type: { name: "String" } @@ -3908,761 +12178,704 @@ export const FabricProperties: msRest.CompositeMapper = { } }; -export const Fabric: msRest.CompositeMapper = { - serializedName: "Fabric", +export const InMageRcmPolicyCreationInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "Fabric", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "InMageRcmPolicyCreationInput", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { - name: "Composite", - className: "FabricProperties" + name: "Number" } - } - } - } -}; - -export const FabricCreationInputProperties: msRest.CompositeMapper = { - serializedName: "FabricCreationInputProperties", - type: { - name: "Composite", - className: "FabricCreationInputProperties", - modelProperties: { - customDetails: { - serializedName: "customDetails", + }, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "Composite", - className: "FabricSpecificCreationInput" + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + enableMultiVmSync: { + serializedName: "enableMultiVmSync", + type: { + name: "String" } } } } }; -export const FabricCreationInput: msRest.CompositeMapper = { - serializedName: "FabricCreationInput", +export const InMageRcmPolicyDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "FabricCreationInput", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "InMageRcmPolicyDetails", modelProperties: { - properties: { - serializedName: "properties", + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { - name: "Composite", - className: "FabricCreationInputProperties" + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + enableMultiVmSync: { + serializedName: "enableMultiVmSync", + type: { + name: "String" } } } } }; -export const JobEntity: msRest.CompositeMapper = { - serializedName: "JobEntity", +export const InMageRcmSyncDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmSyncDetails", type: { name: "Composite", - className: "JobEntity", + className: "InMageRcmSyncDetails", modelProperties: { - jobId: { - serializedName: "jobId", + progressHealth: { + readOnly: true, + serializedName: "progressHealth", type: { name: "String" } }, - jobFriendlyName: { - serializedName: "jobFriendlyName", + transferredBytes: { + readOnly: true, + serializedName: "transferredBytes", type: { - name: "String" + name: "Number" } }, - targetObjectId: { - serializedName: "targetObjectId", + last15MinutesTransferredBytes: { + readOnly: true, + serializedName: "last15MinutesTransferredBytes", type: { - name: "String" + name: "Number" } }, - targetObjectName: { - serializedName: "targetObjectName", + lastDataTransferTimeUtc: { + readOnly: true, + serializedName: "lastDataTransferTimeUtc", type: { name: "String" } }, - targetInstanceType: { - serializedName: "targetInstanceType", + processedBytes: { + readOnly: true, + serializedName: "processedBytes", type: { - name: "String" + name: "Number" } }, - jobScenarioName: { - serializedName: "jobScenarioName", - type: { - name: "String" - } - } - } - } -}; - -export const FabricReplicationGroupTaskDetails: msRest.CompositeMapper = { - serializedName: "FabricReplicationGroupTaskDetails", - type: { - name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "FabricReplicationGroupTaskDetails", - modelProperties: { - ...TaskTypeDetails.type.modelProperties, - skippedReason: { - serializedName: "skippedReason", + startTime: { + readOnly: true, + serializedName: "startTime", type: { name: "String" } }, - skippedReasonString: { - serializedName: "skippedReasonString", + lastRefreshTime: { + readOnly: true, + serializedName: "lastRefreshTime", type: { name: "String" } }, - jobTask: { - serializedName: "jobTask", + progressPercentage: { + readOnly: true, + serializedName: "progressPercentage", type: { - name: "Composite", - className: "JobEntity" + name: "Number" } } } } }; -export const FailoverReplicationProtectedItemDetails: msRest.CompositeMapper = { - serializedName: "FailoverReplicationProtectedItemDetails", +export const InMageRcmProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmProtectedDiskDetails", type: { name: "Composite", - className: "FailoverReplicationProtectedItemDetails", + className: "InMageRcmProtectedDiskDetails", modelProperties: { - name: { - serializedName: "name", + diskId: { + readOnly: true, + serializedName: "diskId", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + diskName: { + readOnly: true, + serializedName: "diskName", type: { name: "String" } }, - testVmName: { - serializedName: "testVmName", + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", type: { name: "String" } }, - testVmFriendlyName: { - serializedName: "testVmFriendlyName", + capacityInBytes: { + readOnly: true, + serializedName: "capacityInBytes", type: { - name: "String" + name: "Number" } }, - networkConnectionStatus: { - serializedName: "networkConnectionStatus", + logStorageAccountId: { + readOnly: true, + serializedName: "logStorageAccountId", type: { name: "String" } }, - networkFriendlyName: { - serializedName: "networkFriendlyName", + diskEncryptionSetId: { + readOnly: true, + serializedName: "diskEncryptionSetId", type: { name: "String" } }, - subnet: { - serializedName: "subnet", + seedManagedDiskId: { + readOnly: true, + serializedName: "seedManagedDiskId", type: { name: "String" } }, - recoveryPointId: { - serializedName: "recoveryPointId", + targetManagedDiskId: { + readOnly: true, + serializedName: "targetManagedDiskId", 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", + diskType: { + serializedName: "diskType", 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", + }, + dataPendingInLogDataStoreInMB: { + readOnly: true, + serializedName: "dataPendingInLogDataStoreInMB", type: { - name: "String" + name: "Number" } }, - sourceProcessServerId: { - serializedName: "sourceProcessServerId", + dataPendingAtSourceAgentInMB: { + readOnly: true, + serializedName: "dataPendingAtSourceAgentInMB", type: { - name: "String" + name: "Number" } }, - targetProcessServerId: { - serializedName: "targetProcessServerId", + isInitialReplicationComplete: { + readOnly: true, + serializedName: "isInitialReplicationComplete", type: { name: "String" } }, - vmsToMigrate: { - serializedName: "vmsToMigrate", + irDetails: { + serializedName: "irDetails", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "InMageRcmSyncDetails" } }, - updateType: { - serializedName: "updateType", + resyncDetails: { + serializedName: "resyncDetails", type: { - name: "String" + name: "Composite", + className: "InMageRcmSyncDetails" } } } } }; -export const FailoverProcessServerRequest: msRest.CompositeMapper = { - serializedName: "FailoverProcessServerRequest", +export const InMageRcmProtectionContainerMappingDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "FailoverProcessServerRequest", + polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionContainerMappingProviderSpecificDetails", + className: "InMageRcmProtectionContainerMappingDetails", modelProperties: { - properties: { - serializedName: "properties", + ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, + enableAgentAutoUpgrade: { + readOnly: true, + serializedName: "enableAgentAutoUpgrade", type: { - name: "Composite", - className: "FailoverProcessServerRequestProperties" + name: "String" } } } } }; -export const HealthErrorSummary: msRest.CompositeMapper = { - serializedName: "HealthErrorSummary", +export const InMageRcmRecoveryPointDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "HealthErrorSummary", + polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "InMageRcmRecoveryPointDetails", 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", + ...ProviderSpecificRecoveryPointDetails.type.modelProperties, + isMultiVmSyncPoint: { + readOnly: true, + serializedName: "isMultiVmSyncPoint", type: { name: "String" } - }, - affectedResourceCorrelationIds: { - serializedName: "affectedResourceCorrelationIds", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } } } } }; -export const HyperVReplica2012EventDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const InMageRcmReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "HyperVReplica2012EventDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageRcmReplicationDetails", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - containerName: { - serializedName: "containerName", + ...ReplicationProviderSpecificSettings.type.modelProperties, + internalIdentifier: { + readOnly: true, + serializedName: "internalIdentifier", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + fabricDiscoveryMachineId: { + readOnly: true, + serializedName: "fabricDiscoveryMachineId", type: { name: "String" } }, - remoteContainerName: { - serializedName: "remoteContainerName", + multiVmGroupName: { + readOnly: true, + serializedName: "multiVmGroupName", type: { name: "String" } }, - remoteFabricName: { - serializedName: "remoteFabricName", + discoveryType: { + readOnly: true, + serializedName: "discoveryType", 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", + }, + processServerId: { + readOnly: true, + serializedName: "processServerId", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + processorCoreCount: { + readOnly: true, + serializedName: "processorCoreCount", type: { - name: "String" + name: "Number" } }, - remoteContainerName: { - serializedName: "remoteContainerName", + allocatedMemoryInMB: { + readOnly: true, + serializedName: "allocatedMemoryInMB", + type: { + name: "Number" + } + }, + processServerName: { + readOnly: true, + serializedName: "processServerName", type: { name: "String" } }, - remoteFabricName: { - serializedName: "remoteFabricName", + runAsAccountId: { + readOnly: true, + serializedName: "runAsAccountId", type: { name: "String" } - } - } - } -}; - -export const HyperVReplicaAzureApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", - type: { - name: "Composite", - polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "HyperVReplicaAzureApplyRecoveryPointInput", - modelProperties: { - ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + }, + osType: { + readOnly: true, + serializedName: "osType", type: { name: "String" } }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", + firmwareType: { + readOnly: true, + serializedName: "firmwareType", type: { name: "String" } }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + primaryNicIpAddress: { + readOnly: true, + serializedName: "primaryNicIpAddress", 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", + }, + targetGeneration: { + readOnly: true, + serializedName: "targetGeneration", type: { name: "String" } }, - vmName: { - serializedName: "vmName", + licenseType: { + serializedName: "licenseType", type: { name: "String" } }, - osType: { - serializedName: "osType", + targetVmName: { + serializedName: "targetVmName", type: { name: "String" } }, - vhdId: { - serializedName: "vhdId", + targetVmSize: { + serializedName: "targetVmSize", type: { name: "String" } }, - targetStorageAccountId: { - serializedName: "targetStorageAccountId", + targetResourceGroupId: { + serializedName: "targetResourceGroupId", type: { name: "String" } }, - targetAzureNetworkId: { - serializedName: "targetAzureNetworkId", + targetLocation: { + serializedName: "targetLocation", type: { name: "String" } }, - targetAzureSubnetId: { - serializedName: "targetAzureSubnetId", + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", type: { name: "String" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - targetAzureVmName: { - serializedName: "targetAzureVmName", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + targetNetworkId: { + serializedName: "targetNetworkId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - targetAzureV1ResourceGroupId: { - serializedName: "targetAzureV1ResourceGroupId", + testNetworkId: { + serializedName: "testNetworkId", type: { name: "String" } }, - targetAzureV2ResourceGroupId: { - serializedName: "targetAzureV2ResourceGroupId", + failoverRecoveryPointId: { + readOnly: true, + serializedName: "failoverRecoveryPointId", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + lastRecoveryPointReceived: { + readOnly: true, + serializedName: "lastRecoveryPointReceived", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -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", + }, + 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" } - } - } - } -}; - -export const HyperVReplicaAzureFailbackProviderInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzureFailback", - type: { - name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "HyperVReplicaAzureFailbackProviderInput", - modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - dataSyncOption: { - serializedName: "dataSyncOption", + }, + initialReplicationProgressPercentage: { + readOnly: true, + serializedName: "initialReplicationProgressPercentage", type: { - name: "String" + name: "Number" } }, - recoveryVmCreationOption: { - serializedName: "recoveryVmCreationOption", + initialReplicationProcessedBytes: { + readOnly: true, + serializedName: "initialReplicationProcessedBytes", type: { - name: "String" + name: "Number" } }, - providerIdForAlternateRecovery: { - serializedName: "providerIdForAlternateRecovery", + initialReplicationTransferredBytes: { + readOnly: true, + serializedName: "initialReplicationTransferredBytes", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const HyperVReplicaAzureFailoverProviderInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", - type: { - name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "HyperVReplicaAzureFailoverProviderInput", - modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + }, + initialReplicationProgressHealth: { + readOnly: true, + serializedName: "initialReplicationProgressHealth", type: { name: "String" } }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", + resyncProgressPercentage: { + readOnly: true, + serializedName: "resyncProgressPercentage", type: { - name: "String" + name: "Number" } }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + resyncProcessedBytes: { + readOnly: true, + serializedName: "resyncProcessedBytes", + type: { + name: "Number" + } + }, + resyncTransferredBytes: { + readOnly: true, + serializedName: "resyncTransferredBytes", + type: { + name: "Number" + } + }, + resyncProgressHealth: { + readOnly: true, + serializedName: "resyncProgressHealth", type: { name: "String" } }, - recoveryPointId: { - serializedName: "recoveryPointId", + resyncRequired: { + readOnly: true, + serializedName: "resyncRequired", 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", + }, + resyncState: { + readOnly: true, + serializedName: "resyncState", type: { - name: "Number" + name: "String" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + agentUpgradeState: { + readOnly: true, + serializedName: "agentUpgradeState", type: { - name: "Number" + name: "String" } }, - replicationInterval: { - serializedName: "replicationInterval", + lastAgentUpgradeType: { + readOnly: true, + serializedName: "lastAgentUpgradeType", type: { - name: "Number" + name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + agentUpgradeJobId: { + readOnly: true, + serializedName: "agentUpgradeJobId", type: { name: "String" } }, - encryption: { - serializedName: "encryption", + agentUpgradeAttemptToVersion: { + readOnly: true, + serializedName: "agentUpgradeAttemptToVersion", type: { name: "String" } }, - activeStorageAccountId: { - serializedName: "activeStorageAccountId", + protectedDisks: { + serializedName: "protectedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmProtectedDiskDetails" + } + } + } + }, + isLastUpgradeSuccessful: { + readOnly: true, + serializedName: "isLastUpgradeSuccessful", 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", + }, + isAgentRegistrationSuccessfulAfterFailover: { + readOnly: true, + serializedName: "isAgentRegistrationSuccessfulAfterFailover", type: { - name: "Number" + name: "Boolean" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + mobilityAgentDetails: { + serializedName: "mobilityAgentDetails", type: { - name: "Number" + name: "Composite", + className: "InMageRcmMobilityAgentDetails" } }, - replicationInterval: { - serializedName: "replicationInterval", + lastAgentUpgradeErrorDetails: { + serializedName: "lastAgentUpgradeErrorDetails", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmLastAgentUpgradeErrorDetails" + } + } } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + agentUpgradeBlockingErrorDetails: { + serializedName: "agentUpgradeBlockingErrorDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmAgentUpgradeBlockingErrorDetails" + } + } } }, - storageAccounts: { - serializedName: "storageAccounts", + vmNics: { + serializedName: "vmNics", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "InMageRcmNicDetails" } } } + }, + discoveredVmDetails: { + serializedName: "discoveredVmDetails", + type: { + name: "Composite", + className: "InMageRcmDiscoveredProtectedVmDetails" + } } } } }; -export const InitialReplicationDetails: msRest.CompositeMapper = { - serializedName: "InitialReplicationDetails", +export const InMageRcmReprotectInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "InitialReplicationDetails", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "InMageRcmReprotectInput", modelProperties: { - initialReplicationType: { - serializedName: "initialReplicationType", + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + reprotectAgentId: { + required: true, + serializedName: "reprotectAgentId", type: { name: "String" } }, - initialReplicationProgressPercentage: { - serializedName: "initialReplicationProgressPercentage", + datastoreName: { + required: true, + serializedName: "datastoreName", + type: { + name: "String" + } + }, + logStorageAccountId: { + required: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + policyId: { + serializedName: "policyId", type: { name: "String" } @@ -4671,44 +12884,90 @@ export const InitialReplicationDetails: msRest.CompositeMapper = { } }; -export const OSDetails: msRest.CompositeMapper = { - serializedName: "OSDetails", +export const InMageRcmTestFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "OSDetails", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "InMageRcmTestFailoverInput", modelProperties: { - osType: { - serializedName: "osType", + ...TestFailoverProviderSpecificInput.type.modelProperties, + networkId: { + serializedName: "networkId", type: { name: "String" } }, - productType: { - serializedName: "productType", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } - }, - osEdition: { - serializedName: "osEdition", + } + } + } +}; + +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" } }, - oSVersion: { - serializedName: "oSVersion", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } - }, - oSMajorVersion: { - serializedName: "oSMajorVersion", + } + } + } +}; + +export const UpdateApplianceForReplicationProtectedItemProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "UpdateApplianceForReplicationProtectedItemProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "UpdateApplianceForReplicationProtectedItemProviderSpecificInput", + className: "UpdateApplianceForReplicationProtectedItemProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - oSMinorVersion: { - serializedName: "oSMinorVersion", + } + } + } +}; + +export const InMageRcmUpdateApplianceForReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: UpdateApplianceForReplicationProtectedItemProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UpdateApplianceForReplicationProtectedItemProviderSpecificInput", + className: "InMageRcmUpdateApplianceForReplicationProtectedItemInput", + modelProperties: { + ...UpdateApplianceForReplicationProtectedItemProviderSpecificInput.type.modelProperties, + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } @@ -4717,92 +12976,87 @@ export const OSDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzureReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const InMageRcmUpdateContainerMappingInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaAzureReplicationDetails", + polymorphicDiscriminator: ReplicationProviderSpecificUpdateContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", + className: "InMageRcmUpdateContainerMappingInput", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - azureVmDiskDetails: { - serializedName: "azureVmDiskDetails", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureVmDiskDetails" - } - } - } - }, - recoveryAzureVmName: { - serializedName: "recoveryAzureVmName", + ...ReplicationProviderSpecificUpdateContainerMappingInput.type.modelProperties, + enableAgentAutoUpgrade: { + required: true, + serializedName: "enableAgentAutoUpgrade", type: { name: "String" } - }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + } + } + } +}; + +export const InMageRcmUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "InMageRcmUpdateReplicationProtectedItemInput", + modelProperties: { + ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, + targetVmName: { + serializedName: "targetVmName", type: { name: "String" } }, - recoveryAzureStorageAccount: { - serializedName: "recoveryAzureStorageAccount", + targetVmSize: { + serializedName: "targetVmSize", type: { name: "String" } }, - recoveryAzureLogStorageAccountId: { - serializedName: "recoveryAzureLogStorageAccountId", + targetResourceGroupId: { + serializedName: "targetResourceGroupId", type: { name: "String" } }, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", - type: { - name: "DateTime" - } - }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", type: { - name: "Number" + name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { - name: "DateTime" + name: "String" } }, - vmId: { - serializedName: "vmId", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + targetNetworkId: { + serializedName: "targetNetworkId", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + testNetworkId: { + serializedName: "testNetworkId", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "String" } }, vmNics: { @@ -4812,40 +13066,62 @@ export const HyperVReplicaAzureReplicationDetails: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "VMNicDetails" + className: "InMageRcmNicInput" } } } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + licenseType: { + serializedName: "licenseType", type: { name: "String" } - }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", + } + } + } +}; + +export const OSDiskDetails: msRest.CompositeMapper = { + serializedName: "OSDiskDetails", + type: { + name: "Composite", + className: "OSDiskDetails", + modelProperties: { + osVhdId: { + serializedName: "osVhdId", type: { name: "String" } }, - encryption: { - serializedName: "encryption", + osType: { + serializedName: "osType", type: { name: "String" } }, - oSDetails: { - serializedName: "oSDetails", + vhdName: { + serializedName: "vhdName", type: { - name: "Composite", - className: "OSDetails" + name: "String" } - }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", + } + } + } +}; + +export const InMageReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageReplicationDetails", + modelProperties: { + ...ReplicationProviderSpecificSettings.type.modelProperties, + activeSiteType: { + serializedName: "activeSiteType", type: { - name: "Number" + name: "String" } }, sourceVmCpuCount: { @@ -4854,244 +13130,175 @@ export const HyperVReplicaAzureReplicationDetails: msRest.CompositeMapper = { name: "Number" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + sourceVmRamSizeInMB: { + serializedName: "sourceVmRamSizeInMB", type: { - name: "String" + name: "Number" } }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + osDetails: { + serializedName: "osDetails", type: { - name: "String" + name: "Composite", + className: "OSDiskDetails" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + protectionStage: { + serializedName: "protectionStage", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + vmId: { + serializedName: "vmId", type: { name: "String" } }, - licenseType: { - serializedName: "licenseType", - type: { - name: "String" - } - } - } - } -}; - -export const HyperVReplicaAzureReprotectInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", - type: { - name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "HyperVReplicaAzureReprotectInput", - modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - hvHostVmId: { - serializedName: "hvHostVmId", + vmProtectionState: { + serializedName: "vmProtectionState", type: { name: "String" } }, - vmName: { - serializedName: "vmName", + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", type: { name: "String" } }, - osType: { - serializedName: "osType", + resyncDetails: { + serializedName: "resyncDetails", type: { - name: "String" + name: "Composite", + className: "InitialReplicationDetails" } }, - vHDId: { - serializedName: "vHDId", + retentionWindowStart: { + serializedName: "retentionWindowStart", type: { - name: "String" + name: "DateTime" } }, - storageAccountId: { - serializedName: "storageAccountId", + retentionWindowEnd: { + serializedName: "retentionWindowEnd", type: { - name: "String" + name: "DateTime" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + compressedDataRateInMB: { + serializedName: "compressedDataRateInMB", type: { - name: "String" + name: "Number" } - } - } - } -}; - -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", + }, + uncompressedDataRateInMB: { + serializedName: "uncompressedDataRateInMB", type: { - name: "String" + name: "Number" } }, - recoveryAzureV2ResourceGroupId: { - serializedName: "recoveryAzureV2ResourceGroupId", + rpoInSeconds: { + serializedName: "rpoInSeconds", type: { - name: "String" + name: "Number" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + protectedDisks: { + serializedName: "protectedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageProtectedDiskDetails" + } + } } - } - } - } -}; - -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", + }, + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + lastHeartbeat: { + serializedName: "lastHeartbeat", type: { - name: "String" + name: "DateTime" } }, - remoteContainerName: { - serializedName: "remoteContainerName", + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - remoteFabricName: { - serializedName: "remoteFabricName", + masterTargetId: { + serializedName: "masterTargetId", 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", + consistencyPoints: { + serializedName: "consistencyPoints", type: { - name: "Number" + name: "Dictionary", + value: { + type: { + name: "DateTime" + } + } } }, - compression: { - serializedName: "compression", + diskResized: { + serializedName: "diskResized", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + rebootAfterUpdateStatus: { + serializedName: "rebootAfterUpdateStatus", type: { name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + multiVmGroupId: { + serializedName: "multiVmGroupId", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + agentDetails: { + serializedName: "agentDetails", type: { - name: "Number" + name: "Composite", + className: "InMageAgentDetails" } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + vCenterInfrastructureId: { + serializedName: "vCenterInfrastructureId", type: { - name: "Number" + name: "String" } }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + infrastructureVmId: { + serializedName: "infrastructureVmId", 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", @@ -5105,118 +13312,79 @@ export const HyperVReplicaBaseReplicationDetails: msRest.CompositeMapper = { } } }, - vmId: { - serializedName: "vmId", - type: { - name: "String" - } - }, - vmProtectionState: { - serializedName: "vmProtectionState", + discoveryType: { + serializedName: "discoveryType", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + azureStorageAccountId: { + serializedName: "azureStorageAccountId", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", - type: { - name: "Composite", - className: "InitialReplicationDetails" - } - }, - vMDiskDetails: { - serializedName: "vMDiskDetails", + datastores: { + serializedName: "datastores", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DiskDetails" + name: "String" } } } - } - } - } -}; - -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", + validationErrors: { + serializedName: "validationErrors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", type: { - name: "String" + name: "DateTime" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + lastUpdateReceivedTime: { + serializedName: "lastUpdateReceivedTime", type: { - name: "String" + name: "DateTime" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + replicaId: { + serializedName: "replicaId", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + osVersion: { + serializedName: "osVersion", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + isAdditionalStatsAvailable: { + serializedName: "isAdditionalStatsAvailable", type: { - name: "Number" + name: "Boolean" } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + totalDataTransferred: { + serializedName: "totalDataTransferred", type: { name: "Number" } }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + totalProgressHealth: { + serializedName: "totalProgressHealth", type: { name: "String" } @@ -5225,77 +13393,94 @@ export const HyperVReplicaBluePolicyDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaBluePolicyInput: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const InMageReprotectInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "HyperVReplicaBluePolicyInput", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "InMageReprotectInput", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - replicationFrequencyInSeconds: { - serializedName: "replicationFrequencyInSeconds", - type: { - name: "Number" - } - }, - recoveryPoints: { - serializedName: "recoveryPoints", + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + masterTargetId: { + required: true, + serializedName: "masterTargetId", type: { - name: "Number" + name: "String" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + processServerId: { + required: true, + serializedName: "processServerId", type: { - name: "Number" + name: "String" } }, - compression: { - serializedName: "compression", + retentionDrive: { + required: true, + serializedName: "retentionDrive", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + datastoreName: { + serializedName: "datastoreName", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + diskExclusionInput: { + serializedName: "diskExclusionInput", type: { - name: "String" + name: "Composite", + className: "InMageDiskExclusionInput" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + profileId: { + required: true, + serializedName: "profileId", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + disksToInclude: { + serializedName: "disksToInclude", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + } + } + } +}; + +export const InMageTestFailoverInput: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "InMageTestFailoverInput", + modelProperties: { + ...TestFailoverProviderSpecificInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", type: { - name: "Number" + name: "String" } }, - replicaDeletion: { - serializedName: "replicaDeletion", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } @@ -5304,212 +13489,199 @@ export const HyperVReplicaBluePolicyInput: msRest.CompositeMapper = { } }; -export const HyperVReplicaBlueReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const InMageUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaBlueReplicationDetails", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "InMageUnplannedFailoverInput", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", type: { - name: "DateTime" + name: "String" } }, - vmNics: { - serializedName: "vmNics", + recoveryPointId: { + serializedName: "recoveryPointId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "String" + } + } + } + } +}; + +export const JobProperties: msRest.CompositeMapper = { + serializedName: "JobProperties", + type: { + name: "Composite", + className: "JobProperties", + modelProperties: { + activityId: { + serializedName: "activityId", + type: { + name: "String" } }, - vmId: { - serializedName: "vmId", + scenarioName: { + serializedName: "scenarioName", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + state: { + serializedName: "state", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + stateDescription: { + serializedName: "stateDescription", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "String" } }, - vMDiskDetails: { - serializedName: "vMDiskDetails", + tasks: { + serializedName: "tasks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskDetails" + className: "ASRTask" } } } - } - } - } -}; - -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", + errors: { + serializedName: "errors", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobErrorDetails" + } + } } }, - compression: { - serializedName: "compression", + startTime: { + serializedName: "startTime", type: { - name: "String" + name: "DateTime" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + endTime: { + serializedName: "endTime", type: { - name: "String" + name: "DateTime" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + allowedActions: { + serializedName: "allowedActions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + targetObjectId: { + serializedName: "targetObjectId", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + targetObjectName: { + serializedName: "targetObjectName", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", - type: { - name: "Number" - } - }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + targetInstanceType: { + serializedName: "targetInstanceType", type: { - name: "Number" + name: "String" } }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + customDetails: { + serializedName: "customDetails", type: { - name: "String" + name: "Composite", + className: "JobDetails" } } } } }; -export const HyperVReplicaPolicyInput: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const Job: msRest.CompositeMapper = { + serializedName: "Job", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "HyperVReplicaPolicyInput", + className: "Job", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - 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" - } - }, - replicaDeletion: { - serializedName: "replicaDeletion", + jobScenarioName: { + serializedName: "jobScenarioName", type: { name: "String" } @@ -5518,141 +13690,93 @@ export const HyperVReplicaPolicyInput: msRest.CompositeMapper = { } }; -export const HyperVReplicaReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const JobQueryParameter: msRest.CompositeMapper = { + serializedName: "JobQueryParameter", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaReplicationDetails", + className: "JobQueryParameter", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", + startTime: { + serializedName: "startTime", type: { - name: "DateTime" + name: "String" } }, - vmNics: { - serializedName: "vmNics", + endTime: { + serializedName: "endTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "String" } }, - vmId: { - serializedName: "vmId", + fabricId: { + serializedName: "fabricId", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + affectedObjectTypes: { + serializedName: "affectedObjectTypes", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + jobStatus: { + serializedName: "jobStatus", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + jobOutputType: { + serializedName: "jobOutputType", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "String" } }, - vMDiskDetails: { - serializedName: "vMDiskDetails", + jobName: { + serializedName: "jobName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskDetails" - } - } + name: "String" + } + }, + timezoneOffset: { + serializedName: "timezoneOffset", + type: { + name: "Number" } } } } }; -export const HyperVSiteDetails: msRest.CompositeMapper = { - serializedName: "HyperVSite", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, - uberParent: "FabricSpecificDetails", - className: "HyperVSiteDetails", - modelProperties: { - ...FabricSpecificDetails.type.modelProperties - } - } -}; - -export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { - serializedName: "HyperVVirtualMachine", +export const JobStatusEventDetails: msRest.CompositeMapper = { + serializedName: "JobStatus", type: { name: "Composite", - polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, - uberParent: "ConfigurationSettings", - className: "HyperVVirtualMachineDetails", + polymorphicDiscriminator: EventSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventSpecificDetails", + className: "JobStatusEventDetails", modelProperties: { - ...ConfigurationSettings.type.modelProperties, - sourceItemId: { - serializedName: "sourceItemId", - type: { - name: "String" - } - }, - generation: { - serializedName: "generation", + ...EventSpecificDetails.type.modelProperties, + jobId: { + serializedName: "jobId", 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", + jobFriendlyName: { + serializedName: "jobFriendlyName", type: { name: "String" } }, - hasFibreChannelAdapter: { - serializedName: "hasFibreChannelAdapter", + jobStatus: { + serializedName: "jobStatus", type: { name: "String" } }, - hasSharedVhd: { - serializedName: "hasSharedVhd", + affectedObjectType: { + serializedName: "affectedObjectType", type: { name: "String" } @@ -5661,50 +13785,81 @@ export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { } }; -export const IdentityInformation: msRest.CompositeMapper = { - serializedName: "IdentityInformation", +export const LogicalNetworkProperties: msRest.CompositeMapper = { + serializedName: "LogicalNetworkProperties", type: { name: "Composite", - className: "IdentityInformation", + className: "LogicalNetworkProperties", modelProperties: { - identityProviderType: { - serializedName: "identityProviderType", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - tenantId: { - serializedName: "tenantId", + networkVirtualizationStatus: { + serializedName: "networkVirtualizationStatus", type: { name: "String" } }, - applicationId: { - serializedName: "applicationId", + logicalNetworkUsage: { + serializedName: "logicalNetworkUsage", type: { name: "String" } }, - objectId: { - serializedName: "objectId", + logicalNetworkDefinitionsStatus: { + serializedName: "logicalNetworkDefinitionsStatus", type: { name: "String" } - }, - audience: { - serializedName: "audience", + } + } + } +}; + +export const LogicalNetwork: msRest.CompositeMapper = { + serializedName: "LogicalNetwork", + type: { + name: "Composite", + className: "LogicalNetwork", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "LogicalNetworkProperties" + } + } + } + } +}; + +export const ManualActionTaskDetails: msRest.CompositeMapper = { + serializedName: "ManualActionTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "ManualActionTaskDetails", + modelProperties: { + ...TaskTypeDetails.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - aadAuthority: { - serializedName: "aadAuthority", + instructions: { + serializedName: "instructions", type: { name: "String" } }, - certificateThumbprint: { - serializedName: "certificateThumbprint", + observation: { + serializedName: "observation", type: { name: "String" } @@ -5713,76 +13868,46 @@ export const IdentityInformation: msRest.CompositeMapper = { } }; -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", +export const RetentionVolume: msRest.CompositeMapper = { + serializedName: "RetentionVolume", type: { name: "Composite", - className: "InMageAgentDetails", + className: "RetentionVolume", modelProperties: { - agentVersion: { - serializedName: "agentVersion", + volumeName: { + serializedName: "volumeName", type: { name: "String" } }, - agentUpdateStatus: { - serializedName: "agentUpdateStatus", + capacityInBytes: { + serializedName: "capacityInBytes", type: { - name: "String" + name: "Number" } }, - postUpdateRebootStatus: { - serializedName: "postUpdateRebootStatus", + freeSpaceInBytes: { + serializedName: "freeSpaceInBytes", type: { - name: "String" + name: "Number" } }, - agentExpiryDate: { - serializedName: "agentExpiryDate", + thresholdPercentage: { + serializedName: "thresholdPercentage", type: { - name: "DateTime" + name: "Number" } } } } }; -export const InMageAgentVersionDetails: msRest.CompositeMapper = { - serializedName: "InMageAgentVersionDetails", +export const VersionDetails: msRest.CompositeMapper = { + serializedName: "VersionDetails", type: { name: "Composite", - className: "InMageAgentVersionDetails", + className: "VersionDetails", modelProperties: { - postUpdateRebootStatus: { - serializedName: "postUpdateRebootStatus", - type: { - name: "String" - } - }, version: { serializedName: "version", type: { @@ -5805,181 +13930,164 @@ export const InMageAgentVersionDetails: msRest.CompositeMapper = { } }; -export const InMageAzureV2ApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const MasterTargetServer: msRest.CompositeMapper = { + serializedName: "MasterTargetServer", type: { name: "Composite", - polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "InMageAzureV2ApplyRecoveryPointInput", + className: "MasterTargetServer", modelProperties: { - ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + id: { + serializedName: "id", 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", + }, + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + name: { + serializedName: "name", type: { name: "String" } }, - storageAccountId: { - required: true, - serializedName: "storageAccountId", + osType: { + serializedName: "osType", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + agentVersion: { + serializedName: "agentVersion", type: { name: "String" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + lastHeartbeat: { + serializedName: "lastHeartbeat", type: { - name: "String" + name: "DateTime" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + versionStatus: { + serializedName: "versionStatus", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + retentionVolumes: { + serializedName: "retentionVolumes", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "RetentionVolume" } } } }, - targetAzureNetworkId: { - serializedName: "targetAzureNetworkId", + dataStores: { + serializedName: "dataStores", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataStore" + } + } } }, - targetAzureSubnetId: { - serializedName: "targetAzureSubnetId", + validationErrors: { + serializedName: "validationErrors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + healthErrors: { + serializedName: "healthErrors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - targetAzureVmName: { - serializedName: "targetAzureVmName", + diskCount: { + serializedName: "diskCount", type: { - name: "String" + name: "Number" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + osVersion: { + serializedName: "osVersion", type: { name: "String" } }, - targetAzureV1ResourceGroupId: { - serializedName: "targetAzureV1ResourceGroupId", + agentExpiryDate: { + serializedName: "agentExpiryDate", type: { - name: "String" + name: "DateTime" } }, - targetAzureV2ResourceGroupId: { - serializedName: "targetAzureV2ResourceGroupId", + marsAgentVersion: { + serializedName: "marsAgentVersion", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + marsAgentExpiryDate: { + serializedName: "marsAgentExpiryDate", type: { - name: "String" + name: "DateTime" + } + }, + agentVersionDetails: { + serializedName: "agentVersionDetails", + type: { + name: "Composite", + className: "VersionDetails" + } + }, + marsAgentVersionDetails: { + serializedName: "marsAgentVersionDetails", + type: { + name: "Composite", + className: "VersionDetails" } } } } }; -export const InMageAzureV2EventDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const MigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "MigrateProviderSpecificInput", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "InMageAzureV2EventDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrateProviderSpecificInput", + className: "MigrateProviderSpecificInput", 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", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -5988,110 +14096,56 @@ export const InMageAzureV2EventDetails: msRest.CompositeMapper = { } }; -export const InMageAzureV2FailoverProviderInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const MigrateInputProperties: msRest.CompositeMapper = { + serializedName: "MigrateInputProperties", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "InMageAzureV2FailoverProviderInput", + className: "MigrateInputProperties", modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", - type: { - name: "String" - } - }, - recoveryPointId: { - serializedName: "recoveryPointId", + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "MigrateProviderSpecificInput" } } } } }; -export const InMageAzureV2PolicyDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const MigrateInput: msRest.CompositeMapper = { + serializedName: "MigrateInput", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "InMageAzureV2PolicyDetails", + className: "MigrateInput", 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", + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "MigrateInputProperties" } } } } }; -export const InMageAzureV2PolicyInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const MigrationProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "MigrationProviderSpecificSettings", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "InMageAzureV2PolicyInput", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrationProviderSpecificSettings", + className: "MigrationProviderSpecificSettings", 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: { + instanceType: { required: true, - serializedName: "multiVmSyncStatus", + serializedName: "instanceType", type: { name: "String" } @@ -6100,803 +14154,921 @@ export const InMageAzureV2PolicyInput: msRest.CompositeMapper = { } }; -export const InMageAzureV2ProtectedDiskDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2ProtectedDiskDetails", +export const MigrationItemProperties: msRest.CompositeMapper = { + serializedName: "MigrationItemProperties", type: { name: "Composite", - className: "InMageAzureV2ProtectedDiskDetails", + className: "MigrationItemProperties", modelProperties: { - diskId: { - serializedName: "diskId", + machineName: { + readOnly: true, + serializedName: "machineName", type: { name: "String" } }, - diskName: { - serializedName: "diskName", + policyId: { + readOnly: true, + serializedName: "policyId", type: { name: "String" } }, - protectionStage: { - serializedName: "protectionStage", + policyFriendlyName: { + readOnly: true, + serializedName: "policyFriendlyName", type: { name: "String" } }, - healthErrorCode: { - serializedName: "healthErrorCode", + migrationState: { + readOnly: true, + serializedName: "migrationState", type: { name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + migrationStateDescription: { + readOnly: true, + serializedName: "migrationStateDescription", type: { - name: "Number" + name: "String" } }, - resyncRequired: { - serializedName: "resyncRequired", + lastTestMigrationTime: { + readOnly: true, + serializedName: "lastTestMigrationTime", type: { - name: "String" + name: "DateTime" } }, - resyncProgressPercentage: { - serializedName: "resyncProgressPercentage", + lastTestMigrationStatus: { + readOnly: true, + serializedName: "lastTestMigrationStatus", type: { - name: "Number" + name: "String" } }, - resyncDurationInSeconds: { - serializedName: "resyncDurationInSeconds", + testMigrateState: { + readOnly: true, + serializedName: "testMigrateState", type: { - name: "Number" + name: "String" } }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", + testMigrateStateDescription: { + readOnly: true, + serializedName: "testMigrateStateDescription", type: { - name: "Number" + name: "String" } }, - fileSystemCapacityInBytes: { - serializedName: "fileSystemCapacityInBytes", + health: { + readOnly: true, + serializedName: "health", type: { - name: "Number" + name: "String" } }, - sourceDataInMegaBytes: { - serializedName: "sourceDataInMegaBytes", + healthErrors: { + readOnly: true, + serializedName: "healthErrors", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - psDataInMegaBytes: { - serializedName: "psDataInMegaBytes", + allowedOperations: { + readOnly: true, + serializedName: "allowedOperations", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - targetDataInMegaBytes: { - serializedName: "targetDataInMegaBytes", + currentJob: { + readOnly: true, + serializedName: "currentJob", type: { - name: "Number" + name: "Composite", + className: "CurrentJobDetails" } }, - diskResized: { - serializedName: "diskResized", + eventCorrelationId: { + readOnly: true, + serializedName: "eventCorrelationId", type: { name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", - type: { - name: "DateTime" - } - } - } - } -}; - -export const InMageAzureV2RecoveryPointDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", - type: { - name: "Composite", - polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificRecoveryPointDetails", - className: "InMageAzureV2RecoveryPointDetails", - modelProperties: { - ...ProviderSpecificRecoveryPointDetails.type.modelProperties, - isMultiVmSyncPoint: { - serializedName: "isMultiVmSyncPoint", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "MigrationProviderSpecificSettings" } } } } }; -export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const MigrationItem: msRest.CompositeMapper = { + serializedName: "MigrationItem", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "InMageAzureV2ReplicationDetails", + className: "MigrationItem", 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", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "MigrationItemProperties" } - }, - uncompressedDataRateInMB: { - serializedName: "uncompressedDataRateInMB", + } + } + } +}; + +export const MigrationItemsQueryParameter: msRest.CompositeMapper = { + serializedName: "MigrationItemsQueryParameter", + type: { + name: "Composite", + className: "MigrationItemsQueryParameter", + modelProperties: { + sourceFabricName: { + serializedName: "sourceFabricName", type: { - name: "Number" + name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + sourceContainerName: { + serializedName: "sourceContainerName", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + instanceType: { + serializedName: "instanceType", type: { name: "String" } - }, - agentExpiryDate: { - serializedName: "agentExpiryDate", + } + } + } +}; + +export const MigrationRecoveryPointProperties: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPointProperties", + type: { + name: "Composite", + className: "MigrationRecoveryPointProperties", + modelProperties: { + recoveryPointTime: { + readOnly: true, + serializedName: "recoveryPointTime", type: { name: "DateTime" } }, - isAgentUpdateRequired: { - serializedName: "isAgentUpdateRequired", + recoveryPointType: { + readOnly: true, + serializedName: "recoveryPointType", type: { name: "String" } - }, - isRebootAfterUpdateRequired: { - serializedName: "isRebootAfterUpdateRequired", + } + } + } +}; + +export const MigrationRecoveryPoint: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPoint", + type: { + name: "Composite", + className: "MigrationRecoveryPoint", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "MigrationRecoveryPointProperties" + } + } + } + } +}; + +export const MobilityServiceUpdate: msRest.CompositeMapper = { + serializedName: "MobilityServiceUpdate", + type: { + name: "Composite", + className: "MobilityServiceUpdate", + modelProperties: { + version: { + serializedName: "version", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + rebootStatus: { + serializedName: "rebootStatus", type: { - name: "DateTime" + name: "String" } }, - processServerId: { - serializedName: "processServerId", + 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" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + addressList: { + serializedName: "addressList", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const NetworkProperties: msRest.CompositeMapper = { + serializedName: "NetworkProperties", + type: { + name: "Composite", + className: "NetworkProperties", + modelProperties: { + fabricType: { + serializedName: "fabricType", type: { name: "String" } }, - protectedDisks: { - serializedName: "protectedDisks", + subnets: { + serializedName: "subnets", type: { name: "Sequence", element: { type: { name: "Composite", - className: "InMageAzureV2ProtectedDiskDetails" + className: "Subnet" } } } }, - diskResized: { - serializedName: "diskResized", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - masterTargetId: { - serializedName: "masterTargetId", + networkType: { + serializedName: "networkType", type: { name: "String" } - }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", + } + } + } +}; + +export const Network: msRest.CompositeMapper = { + serializedName: "Network", + type: { + name: "Composite", + className: "Network", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "NetworkProperties" + } + } + } + } +}; + +export const NetworkMappingProperties: msRest.CompositeMapper = { + serializedName: "NetworkMappingProperties", + type: { + name: "Composite", + className: "NetworkMappingProperties", + modelProperties: { + state: { + serializedName: "state", + type: { + name: "String" } }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", + primaryNetworkFriendlyName: { + serializedName: "primaryNetworkFriendlyName", type: { - name: "Number" + name: "String" } }, - osType: { - serializedName: "osType", + primaryNetworkId: { + serializedName: "primaryNetworkId", type: { name: "String" } }, - vhdName: { - serializedName: "vhdName", + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } }, - osDiskId: { - serializedName: "osDiskId", + recoveryNetworkFriendlyName: { + serializedName: "recoveryNetworkFriendlyName", type: { name: "String" } }, - azureVMDiskDetails: { - serializedName: "azureVMDiskDetails", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureVmDiskDetails" - } - } + name: "String" } }, - recoveryAzureVMName: { - serializedName: "recoveryAzureVMName", + recoveryFabricArmId: { + serializedName: "recoveryFabricArmId", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", type: { name: "String" } }, - recoveryAzureStorageAccount: { - serializedName: "recoveryAzureStorageAccount", + fabricSpecificSettings: { + serializedName: "fabricSpecificSettings", + type: { + name: "Composite", + className: "NetworkMappingFabricSpecificSettings" + } + } + } + } +}; + +export const NetworkMapping: msRest.CompositeMapper = { + serializedName: "NetworkMapping", + type: { + name: "Composite", + className: "NetworkMapping", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "NetworkMappingProperties" + } + } + } + } +}; + +export const NewProtectionProfile: msRest.CompositeMapper = { + serializedName: "New", + type: { + name: "Composite", + polymorphicDiscriminator: ProtectionProfileCustomDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionProfileCustomDetails", + className: "NewProtectionProfile", + modelProperties: { + ...ProtectionProfileCustomDetails.type.modelProperties, + policyName: { + required: true, + serializedName: "policyName", type: { name: "String" } }, - recoveryAzureLogStorageAccountId: { - serializedName: "recoveryAzureLogStorageAccountId", + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" + } + }, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - vmNics: { - serializedName: "vmNics", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "Number" } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + multiVmSyncStatus: { + required: true, + serializedName: "multiVmSyncStatus", type: { name: "String" } - }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", + } + } + } +}; + +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" } }, - discoveryType: { - serializedName: "discoveryType", + recoveryVirtualNetworkName: { + serializedName: "recoveryVirtualNetworkName", type: { name: "String" } - }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + } + } + } +}; + +export const OperationsDiscovery: msRest.CompositeMapper = { + serializedName: "OperationsDiscovery", + type: { + name: "Composite", + className: "OperationsDiscovery", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - datastores: { - serializedName: "datastores", + display: { + serializedName: "display", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "Display" } }, - targetVmId: { - serializedName: "targetVmId", + origin: { + serializedName: "origin", type: { name: "String" } }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Object" } - }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + } + } + } +}; + +export const OSVersionWrapper: msRest.CompositeMapper = { + serializedName: "OSVersionWrapper", + type: { + name: "Composite", + className: "OSVersionWrapper", + modelProperties: { + version: { + serializedName: "version", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + servicePack: { + serializedName: "servicePack", type: { name: "String" } - }, - licenseType: { - serializedName: "licenseType", + } + } + } +}; + +export const PlannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "PlannedFailoverInputProperties", + type: { + name: "Composite", + className: "PlannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + serializedName: "failoverDirection", type: { name: "String" } }, - validationErrors: { - serializedName: "validationErrors", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "Composite", + className: "PlannedFailoverProviderSpecificFailoverInput" } - }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + } + } + } +}; + +export const PlannedFailoverInput: msRest.CompositeMapper = { + serializedName: "PlannedFailoverInput", + type: { + name: "Composite", + className: "PlannedFailoverInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "DateTime" + name: "Composite", + className: "PlannedFailoverInputProperties" } - }, - lastUpdateReceivedTime: { - serializedName: "lastUpdateReceivedTime", + } + } + } +}; + +export const PolicyProperties: msRest.CompositeMapper = { + serializedName: "PolicyProperties", + type: { + name: "Composite", + className: "PolicyProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { - name: "DateTime" + name: "String" } }, - replicaId: { - serializedName: "replicaId", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "PolicyProviderSpecificDetails" } - }, - osVersion: { - serializedName: "osVersion", + } + } + } +}; + +export const Policy: msRest.CompositeMapper = { + serializedName: "Policy", + type: { + name: "Composite", + className: "Policy", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "PolicyProperties" } } } } }; -export const InMageAzureV2ReprotectInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const ProcessServer: msRest.CompositeMapper = { + serializedName: "ProcessServer", type: { name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "InMageAzureV2ReprotectInput", + className: "ProcessServer", modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - masterTargetId: { - serializedName: "masterTargetId", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + id: { + serializedName: "id", type: { name: "String" } }, - storageAccountId: { - serializedName: "storageAccountId", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + osType: { + serializedName: "osType", type: { name: "String" } }, - policyId: { - serializedName: "policyId", + agentVersion: { + serializedName: "agentVersion", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + versionStatus: { + serializedName: "versionStatus", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + mobilityServiceUpdates: { + serializedName: "mobilityServiceUpdates", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "MobilityServiceUpdate" } } } - } - } - } -}; - -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", + }, + hostId: { + serializedName: "hostId", + type: { + name: "String" + } + }, + machineCount: { + serializedName: "machineCount", + type: { + name: "String" + } + }, + replicationPairCount: { + serializedName: "replicationPairCount", type: { name: "String" } }, - recoveryAzureV2ResourceGroupId: { - serializedName: "recoveryAzureV2ResourceGroupId", + systemLoad: { + serializedName: "systemLoad", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + systemLoadStatus: { + serializedName: "systemLoadStatus", 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", + }, + cpuLoad: { + serializedName: "cpuLoad", type: { - name: "Number" + name: "String" } }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + cpuLoadStatus: { + serializedName: "cpuLoadStatus", + type: { + name: "String" + } + }, + totalMemoryInBytes: { + serializedName: "totalMemoryInBytes", type: { name: "Number" } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + availableMemoryInBytes: { + serializedName: "availableMemoryInBytes", type: { name: "Number" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + memoryUsageStatus: { + serializedName: "memoryUsageStatus", 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", + }, + totalSpaceInBytes: { + serializedName: "totalSpaceInBytes", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const InMageDiskDetails: msRest.CompositeMapper = { - serializedName: "InMageDiskDetails", - type: { - name: "Composite", - className: "InMageDiskDetails", - modelProperties: { - diskId: { - serializedName: "diskId", + }, + availableSpaceInBytes: { + serializedName: "availableSpaceInBytes", type: { - name: "String" + name: "Number" } }, - diskName: { - serializedName: "diskName", + spaceUsageStatus: { + serializedName: "spaceUsageStatus", type: { name: "String" } }, - diskSizeInMB: { - serializedName: "diskSizeInMB", + psServiceStatus: { + serializedName: "psServiceStatus", type: { name: "String" } }, - diskType: { - serializedName: "diskType", + sslCertExpiryDate: { + serializedName: "sslCertExpiryDate", type: { - name: "String" + name: "DateTime" } }, - diskConfiguration: { - serializedName: "diskConfiguration", + sslCertExpiryRemainingDays: { + serializedName: "sslCertExpiryRemainingDays", + type: { + name: "Number" + } + }, + osVersion: { + serializedName: "osVersion", type: { name: "String" } }, - volumeList: { - serializedName: "volumeList", + healthErrors: { + serializedName: "healthErrors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskVolumeDetails" + className: "HealthError" } } } - } - } - } -}; - -export const InMageVolumeExclusionOptions: msRest.CompositeMapper = { - serializedName: "InMageVolumeExclusionOptions", - type: { - name: "Composite", - className: "InMageVolumeExclusionOptions", - modelProperties: { - volumeLabel: { - serializedName: "volumeLabel", + }, + agentExpiryDate: { + serializedName: "agentExpiryDate", type: { - name: "String" + name: "DateTime" } }, - onlyExcludeIfSingleVolume: { - serializedName: "onlyExcludeIfSingleVolume", + agentVersionDetails: { + serializedName: "agentVersionDetails", type: { - name: "String" + name: "Composite", + className: "VersionDetails" } - } - } - } -}; - -export const InMageDiskSignatureExclusionOptions: msRest.CompositeMapper = { - serializedName: "InMageDiskSignatureExclusionOptions", - type: { - name: "Composite", - className: "InMageDiskSignatureExclusionOptions", - modelProperties: { - diskSignature: { - serializedName: "diskSignature", + }, + health: { + readOnly: true, + serializedName: "health", type: { name: "String" } - } - } - } -}; - -export const InMageDiskExclusionInput: msRest.CompositeMapper = { - serializedName: "InMageDiskExclusionInput", - type: { - name: "Composite", - className: "InMageDiskExclusionInput", - modelProperties: { - volumeOptions: { - serializedName: "volumeOptions", + }, + psStatsRefreshTime: { + readOnly: true, + serializedName: "psStatsRefreshTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InMageVolumeExclusionOptions" - } - } + name: "DateTime" } }, - diskSignatureOptions: { - serializedName: "diskSignatureOptions", + throughputUploadPendingDataInBytes: { + readOnly: true, + serializedName: "throughputUploadPendingDataInBytes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InMageDiskSignatureExclusionOptions" - } - } + name: "Number" } - } - } - } -}; - -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", + }, + throughputInMBps: { + readOnly: true, + serializedName: "throughputInMBps", type: { - name: "String" + name: "Number" } }, - masterTargetId: { - required: true, - serializedName: "masterTargetId", + throughputInBytes: { + readOnly: true, + serializedName: "throughputInBytes", type: { - name: "String" + name: "Number" } }, - processServerId: { - required: true, - serializedName: "processServerId", + throughputStatus: { + readOnly: true, + serializedName: "throughputStatus", type: { name: "String" } }, - retentionDrive: { - required: true, - serializedName: "retentionDrive", + marsCommunicationStatus: { + readOnly: true, + serializedName: "marsCommunicationStatus", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + marsRegistrationStatus: { + readOnly: true, + serializedName: "marsRegistrationStatus", + type: { + name: "String" + } + } + } + } +}; + +export const ProtectableItemProperties: msRest.CompositeMapper = { + serializedName: "ProtectableItemProperties", + type: { + name: "Composite", + className: "ProtectableItemProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - multiVmGroupId: { - required: true, - serializedName: "multiVmGroupId", + protectionStatus: { + serializedName: "protectionStatus", type: { name: "String" } }, - multiVmGroupName: { - required: true, - serializedName: "multiVmGroupName", + replicationProtectedItemId: { + serializedName: "replicationProtectedItemId", type: { name: "String" } }, - datastoreName: { - serializedName: "datastoreName", + recoveryServicesProviderId: { + serializedName: "recoveryServicesProviderId", type: { name: "String" } }, - diskExclusionInput: { - serializedName: "diskExclusionInput", + protectionReadinessErrors: { + serializedName: "protectionReadinessErrors", type: { - name: "Composite", - className: "InMageDiskExclusionInput" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - disksToInclude: { - serializedName: "disksToInclude", + supportedReplicationProviders: { + serializedName: "supportedReplicationProviders", type: { name: "Sequence", element: { @@ -6905,103 +15077,44 @@ export const InMageEnableProtectionInput: msRest.CompositeMapper = { } } } - } - } - } -}; - -export const InMageFailoverProviderInput: msRest.CompositeMapper = { - serializedName: "InMage", - type: { - name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "InMageFailoverProviderInput", - modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { - serializedName: "recoveryPointType", - type: { - name: "String" - } }, - recoveryPointId: { - serializedName: "recoveryPointId", + customDetails: { + serializedName: "customDetails", type: { - name: "String" + name: "Composite", + className: "ConfigurationSettings" } } } } }; -export const InMagePolicyDetails: msRest.CompositeMapper = { - serializedName: "InMage", +export const ProtectableItem: msRest.CompositeMapper = { + serializedName: "ProtectableItem", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "InMagePolicyDetails", + className: "ProtectableItem", 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", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ProtectableItemProperties" } } } } }; -export const InMagePolicyInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const ProtectableItemQueryParameter: msRest.CompositeMapper = { + serializedName: "ProtectableItemQueryParameter", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "InMagePolicyInput", + className: "ProtectableItemQueryParameter", 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", + state: { + serializedName: "state", type: { name: "String" } @@ -7010,392 +15123,518 @@ export const InMagePolicyInput: msRest.CompositeMapper = { } }; -export const InMageProtectedDiskDetails: msRest.CompositeMapper = { - serializedName: "InMageProtectedDiskDetails", +export const ProtectedItemsQueryParameter: msRest.CompositeMapper = { + serializedName: "ProtectedItemsQueryParameter", type: { name: "Composite", - className: "InMageProtectedDiskDetails", + className: "ProtectedItemsQueryParameter", modelProperties: { - diskId: { - serializedName: "diskId", + sourceFabricName: { + serializedName: "sourceFabricName", type: { name: "String" } }, - diskName: { - serializedName: "diskName", + recoveryPlanName: { + serializedName: "recoveryPlanName", type: { name: "String" } }, - protectionStage: { - serializedName: "protectionStage", + sourceFabricLocation: { + serializedName: "sourceFabricLocation", type: { name: "String" } }, - healthErrorCode: { - serializedName: "healthErrorCode", + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + vCenterName: { + serializedName: "vCenterName", type: { - name: "Number" + name: "String" } }, - resyncRequired: { - serializedName: "resyncRequired", + instanceType: { + serializedName: "instanceType", type: { name: "String" } }, - resyncProgressPercentage: { - serializedName: "resyncProgressPercentage", + multiVmGroupCreateOption: { + serializedName: "multiVmGroupCreateOption", type: { - name: "Number" + name: "String" } }, - resyncDurationInSeconds: { - serializedName: "resyncDurationInSeconds", + processServerId: { + serializedName: "processServerId", type: { - name: "Number" + name: "String" } - }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", + } + } + } +}; + +export const ProtectionContainerFabricSpecificDetails: msRest.CompositeMapper = { + serializedName: "ProtectionContainerFabricSpecificDetails", + type: { + name: "Composite", + className: "ProtectionContainerFabricSpecificDetails", + modelProperties: { + instanceType: { + readOnly: true, + serializedName: "instanceType", type: { - name: "Number" + name: "String" + } + } + } + } +}; + +export const ProtectionContainerProperties: msRest.CompositeMapper = { + serializedName: "ProtectionContainerProperties", + type: { + name: "Composite", + className: "ProtectionContainerProperties", + modelProperties: { + fabricFriendlyName: { + serializedName: "fabricFriendlyName", + type: { + name: "String" } }, - fileSystemCapacityInBytes: { - serializedName: "fileSystemCapacityInBytes", + friendlyName: { + serializedName: "friendlyName", type: { - name: "Number" + name: "String" } }, - sourceDataInMB: { - serializedName: "sourceDataInMB", + fabricType: { + serializedName: "fabricType", type: { - name: "Number" + name: "String" } }, - psDataInMB: { - serializedName: "psDataInMB", + protectedItemCount: { + serializedName: "protectedItemCount", type: { name: "Number" } }, - targetDataInMB: { - serializedName: "targetDataInMB", + pairingStatus: { + serializedName: "pairingStatus", type: { - name: "Number" + name: "String" } }, - diskResized: { - serializedName: "diskResized", + role: { + serializedName: "role", type: { name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", type: { - name: "DateTime" + name: "Composite", + className: "ProtectionContainerFabricSpecificDetails" } } } } }; -export const OSDiskDetails: msRest.CompositeMapper = { - serializedName: "OSDiskDetails", +export const ProtectionContainer: msRest.CompositeMapper = { + serializedName: "ProtectionContainer", type: { name: "Composite", - className: "OSDiskDetails", + className: "ProtectionContainer", modelProperties: { - osVhdId: { - serializedName: "osVhdId", - type: { - name: "String" - } - }, - osType: { - serializedName: "osType", - type: { - name: "String" - } - }, - vhdName: { - serializedName: "vhdName", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ProtectionContainerProperties" } } } } }; -export const InMageReplicationDetails: msRest.CompositeMapper = { - serializedName: "InMage", +export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { + serializedName: "ProtectionContainerMappingProperties", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "InMageReplicationDetails", + className: "ProtectionContainerMappingProperties", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - activeSiteType: { - serializedName: "activeSiteType", + targetProtectionContainerId: { + serializedName: "targetProtectionContainerId", type: { name: "String" } }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", + targetProtectionContainerFriendlyName: { + serializedName: "targetProtectionContainerFriendlyName", type: { - name: "Number" + name: "String" } }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "Number" + name: "Composite", + className: "ProtectionContainerMappingProviderSpecificDetails" } }, - osDetails: { - serializedName: "osDetails", + health: { + serializedName: "health", type: { - name: "Composite", - className: "OSDiskDetails" + name: "String" } }, - protectionStage: { - serializedName: "protectionStage", + healthErrorDetails: { + serializedName: "healthErrorDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - vmId: { - serializedName: "vmId", + policyId: { + serializedName: "policyId", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + state: { + serializedName: "state", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + sourceProtectionContainerFriendlyName: { + serializedName: "sourceProtectionContainerFriendlyName", type: { name: "String" } }, - resyncDetails: { - serializedName: "resyncDetails", + sourceFabricFriendlyName: { + serializedName: "sourceFabricFriendlyName", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "String" } }, - retentionWindowStart: { - serializedName: "retentionWindowStart", + targetFabricFriendlyName: { + serializedName: "targetFabricFriendlyName", type: { - name: "DateTime" + name: "String" } }, - retentionWindowEnd: { - serializedName: "retentionWindowEnd", + policyFriendlyName: { + serializedName: "policyFriendlyName", type: { - name: "DateTime" + name: "String" } - }, - compressedDataRateInMB: { - serializedName: "compressedDataRateInMB", + } + } + } +}; + +export const ProtectionContainerMapping: msRest.CompositeMapper = { + serializedName: "ProtectionContainerMapping", + type: { + name: "Composite", + className: "ProtectionContainerMapping", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "ProtectionContainerMappingProperties" } - }, - uncompressedDataRateInMB: { - serializedName: "uncompressedDataRateInMB", + } + } + } +}; + +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: "Number" + name: "String" } - }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + } + } + } +}; + +export const RecoveryPlanProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProperties", + type: { + name: "Composite", + className: "RecoveryPlanProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { - name: "Number" + name: "String" } }, - protectedDisks: { - serializedName: "protectedDisks", + primaryFabricId: { + serializedName: "primaryFabricId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InMageProtectedDiskDetails" - } - } + name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + recoveryFabricId: { + serializedName: "recoveryFabricId", type: { - name: "DateTime" + name: "String" } }, - processServerId: { - serializedName: "processServerId", + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", type: { name: "String" } }, - masterTargetId: { - serializedName: "masterTargetId", + failoverDeploymentModel: { + serializedName: "failoverDeploymentModel", type: { name: "String" } }, - consistencyPoints: { - serializedName: "consistencyPoints", + replicationProviders: { + serializedName: "replicationProviders", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "DateTime" + name: "String" } } } }, - diskResized: { - serializedName: "diskResized", - type: { - name: "String" - } - }, - rebootAfterUpdateStatus: { - serializedName: "rebootAfterUpdateStatus", + allowedOperations: { + serializedName: "allowedOperations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + lastPlannedFailoverTime: { + serializedName: "lastPlannedFailoverTime", type: { - name: "String" + name: "DateTime" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + lastUnplannedFailoverTime: { + serializedName: "lastUnplannedFailoverTime", type: { - name: "String" + name: "DateTime" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + lastTestFailoverTime: { + serializedName: "lastTestFailoverTime", type: { - name: "String" + name: "DateTime" } }, - agentDetails: { - serializedName: "agentDetails", + currentScenario: { + serializedName: "currentScenario", type: { name: "Composite", - className: "InMageAgentDetails" + className: "CurrentScenarioDetails" } }, - vCenterInfrastructureId: { - serializedName: "vCenterInfrastructureId", + currentScenarioStatus: { + serializedName: "currentScenarioStatus", type: { name: "String" } }, - infrastructureVmId: { - serializedName: "infrastructureVmId", + currentScenarioStatusDescription: { + serializedName: "currentScenarioStatusDescription", type: { name: "String" } }, - vmNics: { - serializedName: "vmNics", + groups: { + serializedName: "groups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VMNicDetails" + className: "RecoveryPlanGroup" } } } }, - discoveryType: { - serializedName: "discoveryType", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificDetails" + } + } + } + } + } + } +}; + +export const RecoveryPlan: msRest.CompositeMapper = { + serializedName: "RecoveryPlan", + type: { + name: "Composite", + className: "RecoveryPlan", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RecoveryPlanProperties" + } + } + } + } +}; + +export const RecoveryPlanA2ADetails: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificDetails", + className: "RecoveryPlanA2ADetails", + modelProperties: { + ...RecoveryPlanProviderSpecificDetails.type.modelProperties, + primaryZone: { + serializedName: "primaryZone", type: { name: "String" } }, - azureStorageAccountId: { - serializedName: "azureStorageAccountId", + recoveryZone: { + serializedName: "recoveryZone", type: { name: "String" } - }, - datastores: { - serializedName: "datastores", + } + } + } +}; + +export const RecoveryPlanProviderSpecificFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProviderSpecificFailoverInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanProviderSpecificFailoverInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - }, - validationErrors: { - serializedName: "validationErrors", + } + } + } +}; + +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: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", type: { - name: "DateTime" + name: "String" } }, - lastUpdateReceivedTime: { - serializedName: "lastUpdateReceivedTime", + multiVmSyncPointOption: { + serializedName: "multiVmSyncPointOption", type: { - name: "DateTime" + name: "String" } - }, - replicaId: { - serializedName: "replicaId", + } + } + } +}; + +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" } }, - osVersion: { - serializedName: "osVersion", + recoveryZone: { + serializedName: "recoveryZone", type: { name: "String" } @@ -7404,523 +15643,614 @@ export const InMageReplicationDetails: msRest.CompositeMapper = { } }; -export const InMageReprotectInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const RecoveryPlanAutomationRunbookActionDetails: msRest.CompositeMapper = { + serializedName: "AutomationRunbookActionDetails", type: { name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "InMageReprotectInput", + polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanAutomationRunbookActionDetails", modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - masterTargetId: { - required: true, - serializedName: "masterTargetId", + ...RecoveryPlanActionDetails.type.modelProperties, + runbookId: { + serializedName: "runbookId", type: { name: "String" } }, - processServerId: { - required: true, - serializedName: "processServerId", + timeout: { + serializedName: "timeout", type: { name: "String" } }, - retentionDrive: { + fabricLocation: { required: true, - serializedName: "retentionDrive", + serializedName: "fabricLocation", type: { name: "String" } - }, - runAsAccountId: { - serializedName: "runAsAccountId", + } + } + } +}; + +export const RecoveryPlanGroupTaskDetails: msRest.CompositeMapper = { + serializedName: "RecoveryPlanGroupTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, + uberParent: "GroupTaskDetails", + className: "RecoveryPlanGroupTaskDetails", + modelProperties: { + ...GroupTaskDetails.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - datastoreName: { - serializedName: "datastoreName", + groupId: { + serializedName: "groupId", type: { name: "String" } }, - diskExclusionInput: { - serializedName: "diskExclusionInput", + rpGroupType: { + serializedName: "rpGroupType", type: { - name: "Composite", - className: "InMageDiskExclusionInput" + name: "String" } - }, - profileId: { + } + } + } +}; + +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: "profileId", + serializedName: "dataSyncOption", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + recoveryVmCreationOption: { + required: true, + serializedName: "recoveryVmCreationOption", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const JobProperties: msRest.CompositeMapper = { - serializedName: "JobProperties", +export const RecoveryPlanHyperVReplicaAzureFailoverInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", type: { name: "Composite", - className: "JobProperties", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanHyperVReplicaAzureFailoverInput", modelProperties: { - activityId: { - serializedName: "activityId", + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", type: { name: "String" } }, - scenarioName: { - serializedName: "scenarioName", + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + recoveryPointType: { + serializedName: "recoveryPointType", type: { name: "String" } - }, - state: { - serializedName: "state", + } + } + } +}; + +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: "String" } }, - stateDescription: { - serializedName: "stateDescription", + useMultiVmSyncPoint: { + serializedName: "useMultiVmSyncPoint", type: { name: "String" } - }, - tasks: { - serializedName: "tasks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ASRTask" - } - } - } - }, - errors: { - serializedName: "errors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobErrorDetails" - } - } + } + } + } +}; + +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: "String" } - }, - startTime: { - serializedName: "startTime", + } + } + } +}; + +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: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", + useMultiVmSyncPoint: { + serializedName: "useMultiVmSyncPoint", type: { - name: "DateTime" + name: "String" } - }, - allowedActions: { - serializedName: "allowedActions", + } + } + } +}; + +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: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - targetObjectId: { - serializedName: "targetObjectId", + useMultiVmSyncPoint: { + serializedName: "useMultiVmSyncPoint", type: { name: "String" } - }, - targetObjectName: { - serializedName: "targetObjectName", + } + } + } +}; + +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" } - }, - targetInstanceType: { - serializedName: "targetInstanceType", + } + } + } +}; + +export const RecoveryPlanPlannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanPlannedFailoverInputProperties", + type: { + name: "Composite", + className: "RecoveryPlanPlannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + required: true, + serializedName: "failoverDirection", type: { name: "String" } }, - customDetails: { - serializedName: "customDetails", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "Composite", - className: "JobDetails" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificFailoverInput" + } + } } } } } }; -export const Job: msRest.CompositeMapper = { - serializedName: "Job", +export const RecoveryPlanPlannedFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanPlannedFailoverInput", type: { name: "Composite", - className: "Job", + className: "RecoveryPlanPlannedFailoverInput", modelProperties: { - ...Resource.type.modelProperties, properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "JobProperties" + className: "RecoveryPlanPlannedFailoverInputProperties" } } } } }; -export const JobQueryParameter: msRest.CompositeMapper = { - serializedName: "JobQueryParameter", +export const RecoveryPlanScriptActionDetails: msRest.CompositeMapper = { + serializedName: "ScriptActionDetails", type: { name: "Composite", - className: "JobQueryParameter", + polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanScriptActionDetails", modelProperties: { - startTime: { - serializedName: "startTime", + ...RecoveryPlanActionDetails.type.modelProperties, + path: { + required: true, + serializedName: "path", type: { name: "String" } }, - endTime: { - serializedName: "endTime", + timeout: { + serializedName: "timeout", type: { name: "String" } }, - fabricId: { - serializedName: "fabricId", + fabricLocation: { + required: true, + serializedName: "fabricLocation", type: { name: "String" } - }, - affectedObjectTypes: { - serializedName: "affectedObjectTypes", + } + } + } +}; + +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" } - }, - jobStatus: { - serializedName: "jobStatus", + } + } + } +}; + +export const RecoveryPlanTestFailoverCleanupInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverCleanupInput", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverCleanupInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "RecoveryPlanTestFailoverCleanupInputProperties" } } } } }; -export const JobStatusEventDetails: msRest.CompositeMapper = { - serializedName: "JobStatus", +export const RecoveryPlanTestFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverInputProperties", type: { name: "Composite", - polymorphicDiscriminator: EventSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventSpecificDetails", - className: "JobStatusEventDetails", + className: "RecoveryPlanTestFailoverInputProperties", modelProperties: { - ...EventSpecificDetails.type.modelProperties, - jobId: { - serializedName: "jobId", + failoverDirection: { + required: true, + serializedName: "failoverDirection", type: { name: "String" } }, - jobFriendlyName: { - serializedName: "jobFriendlyName", + networkType: { + required: true, + serializedName: "networkType", type: { name: "String" } }, - jobStatus: { - serializedName: "jobStatus", + networkId: { + serializedName: "networkId", type: { name: "String" } }, - affectedObjectType: { - serializedName: "affectedObjectType", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificFailoverInput" + } + } } } } } }; -export const JobTaskDetails: msRest.CompositeMapper = { - serializedName: "JobTaskDetails", +export const RecoveryPlanTestFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverInput", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "JobTaskDetails", + className: "RecoveryPlanTestFailoverInput", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - jobTask: { - serializedName: "jobTask", + properties: { + required: true, + serializedName: "properties", type: { name: "Composite", - className: "JobEntity" + className: "RecoveryPlanTestFailoverInputProperties" } } } } }; -export const LogicalNetworkProperties: msRest.CompositeMapper = { - serializedName: "LogicalNetworkProperties", +export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanUnplannedFailoverInputProperties", type: { name: "Composite", - className: "LogicalNetworkProperties", + className: "RecoveryPlanUnplannedFailoverInputProperties", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - networkVirtualizationStatus: { - serializedName: "networkVirtualizationStatus", + failoverDirection: { + required: true, + serializedName: "failoverDirection", type: { name: "String" } }, - logicalNetworkUsage: { - serializedName: "logicalNetworkUsage", + sourceSiteOperations: { + required: true, + serializedName: "sourceSiteOperations", type: { name: "String" } }, - logicalNetworkDefinitionsStatus: { - serializedName: "logicalNetworkDefinitionsStatus", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificFailoverInput" + } + } } } } } }; -export const LogicalNetwork: msRest.CompositeMapper = { - serializedName: "LogicalNetwork", +export const RecoveryPlanUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanUnplannedFailoverInput", type: { name: "Composite", - className: "LogicalNetwork", + className: "RecoveryPlanUnplannedFailoverInput", modelProperties: { - ...Resource.type.modelProperties, properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "LogicalNetworkProperties" + className: "RecoveryPlanUnplannedFailoverInputProperties" } } } } }; -export const ManualActionTaskDetails: msRest.CompositeMapper = { - serializedName: "ManualActionTaskDetails", +export const RecoveryPointProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPointProperties", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "ManualActionTaskDetails", + className: "RecoveryPointProperties", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - name: { - serializedName: "name", + recoveryPointTime: { + serializedName: "recoveryPointTime", type: { - name: "String" + name: "DateTime" } }, - instructions: { - serializedName: "instructions", + recoveryPointType: { + serializedName: "recoveryPointType", type: { name: "String" } }, - observation: { - serializedName: "observation", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "ProviderSpecificRecoveryPointDetails" } } } } }; -export const RetentionVolume: msRest.CompositeMapper = { - serializedName: "RetentionVolume", +export const RecoveryPoint: msRest.CompositeMapper = { + serializedName: "RecoveryPoint", type: { name: "Composite", - className: "RetentionVolume", + className: "RecoveryPoint", modelProperties: { - volumeName: { - serializedName: "volumeName", - type: { - name: "String" - } - }, - capacityInBytes: { - serializedName: "capacityInBytes", - type: { - name: "Number" - } - }, - freeSpaceInBytes: { - serializedName: "freeSpaceInBytes", - type: { - name: "Number" - } - }, - thresholdPercentage: { - serializedName: "thresholdPercentage", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "RecoveryPointProperties" } } } } }; -export const VersionDetails: msRest.CompositeMapper = { - serializedName: "VersionDetails", +export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { + serializedName: "RecoveryServicesProviderProperties", type: { name: "Composite", - className: "VersionDetails", + className: "RecoveryServicesProviderProperties", modelProperties: { - version: { - serializedName: "version", + fabricType: { + serializedName: "fabricType", type: { name: "String" } }, - expiryDate: { - serializedName: "expiryDate", - type: { - name: "DateTime" - } - }, - status: { - serializedName: "status", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } - } - } - } -}; - -export const MasterTargetServer: msRest.CompositeMapper = { - serializedName: "MasterTargetServer", - type: { - name: "Composite", - className: "MasterTargetServer", - modelProperties: { - id: { - serializedName: "id", + }, + providerVersion: { + serializedName: "providerVersion", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + serverVersion: { + serializedName: "serverVersion", type: { name: "String" } }, - name: { - serializedName: "name", + providerVersionState: { + serializedName: "providerVersionState", type: { name: "String" } }, - osType: { - serializedName: "osType", + providerVersionExpiryDate: { + serializedName: "providerVersionExpiryDate", type: { - name: "String" + name: "DateTime" } }, - agentVersion: { - serializedName: "agentVersion", + fabricFriendlyName: { + serializedName: "fabricFriendlyName", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + lastHeartBeat: { + serializedName: "lastHeartBeat", type: { name: "DateTime" } }, - versionStatus: { - serializedName: "versionStatus", + connectionStatus: { + serializedName: "connectionStatus", type: { name: "String" } }, - retentionVolumes: { - serializedName: "retentionVolumes", + protectedItemCount: { + serializedName: "protectedItemCount", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RetentionVolume" - } - } + name: "Number" } }, - dataStores: { - serializedName: "dataStores", + allowedScenarios: { + serializedName: "allowedScenarios", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DataStore" + name: "String" } } } }, - validationErrors: { - serializedName: "validationErrors", + healthErrorDetails: { + serializedName: "healthErrorDetails", type: { name: "Sequence", element: { @@ -7931,57 +16261,53 @@ export const MasterTargetServer: msRest.CompositeMapper = { } } }, - healthErrors: { - serializedName: "healthErrors", + draIdentifier: { + serializedName: "draIdentifier", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } }, - diskCount: { - serializedName: "diskCount", + machineId: { + serializedName: "machineId", type: { - name: "Number" + name: "String" } }, - osVersion: { - serializedName: "osVersion", + machineName: { + serializedName: "machineName", type: { name: "String" } }, - agentExpiryDate: { - serializedName: "agentExpiryDate", + biosId: { + serializedName: "biosId", type: { - name: "DateTime" + name: "String" } }, - marsAgentVersion: { - serializedName: "marsAgentVersion", + authenticationIdentityDetails: { + serializedName: "authenticationIdentityDetails", type: { - name: "String" + name: "Composite", + className: "IdentityProviderDetails" } }, - marsAgentExpiryDate: { - serializedName: "marsAgentExpiryDate", + resourceAccessIdentityDetails: { + serializedName: "resourceAccessIdentityDetails", type: { - name: "DateTime" + name: "Composite", + className: "IdentityProviderDetails" } }, - agentVersionDetails: { - serializedName: "agentVersionDetails", + dataPlaneAuthenticationIdentityDetails: { + serializedName: "dataPlaneAuthenticationIdentityDetails", type: { name: "Composite", - className: "VersionDetails" + className: "IdentityProviderDetails" } }, - marsAgentVersionDetails: { - serializedName: "marsAgentVersionDetails", + providerVersionDetails: { + serializedName: "providerVersionDetails", type: { name: "Composite", className: "VersionDetails" @@ -7991,520 +16317,499 @@ export const MasterTargetServer: msRest.CompositeMapper = { } }; -export const MobilityServiceUpdate: msRest.CompositeMapper = { - serializedName: "MobilityServiceUpdate", +export const RecoveryServicesProvider: msRest.CompositeMapper = { + serializedName: "RecoveryServicesProvider", type: { name: "Composite", - className: "MobilityServiceUpdate", + className: "RecoveryServicesProvider", modelProperties: { - version: { - serializedName: "version", - type: { - name: "String" - } - }, - rebootStatus: { - serializedName: "rebootStatus", - type: { - name: "String" - } - }, - osType: { - serializedName: "osType", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "RecoveryServicesProviderProperties" } } } } }; -export const Subnet: msRest.CompositeMapper = { - serializedName: "Subnet", +export const RemoveDisksInputProperties: msRest.CompositeMapper = { + serializedName: "RemoveDisksInputProperties", type: { name: "Composite", - className: "Subnet", + className: "RemoveDisksInputProperties", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - addressList: { - serializedName: "addressList", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "RemoveDisksProviderSpecificInput" } } } } }; -export const NetworkProperties: msRest.CompositeMapper = { - serializedName: "NetworkProperties", +export const RemoveDisksInput: msRest.CompositeMapper = { + serializedName: "RemoveDisksInput", type: { name: "Composite", - className: "NetworkProperties", + className: "RemoveDisksInput", modelProperties: { - fabricType: { - serializedName: "fabricType", - type: { - name: "String" - } - }, - subnets: { - serializedName: "subnets", + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Subnet" - } - } + name: "Composite", + className: "RemoveDisksInputProperties" } - }, - friendlyName: { - serializedName: "friendlyName", + } + } + } +}; + +export const ReplicationProviderContainerUnmappingInput: msRest.CompositeMapper = { + serializedName: "ReplicationProviderContainerUnmappingInput", + type: { + name: "Composite", + className: "ReplicationProviderContainerUnmappingInput", + modelProperties: { + instanceType: { + serializedName: "instanceType", type: { name: "String" } - }, - networkType: { - serializedName: "networkType", + } + } + } +}; + +export const RemoveProtectionContainerMappingInputProperties: msRest.CompositeMapper = { + serializedName: "RemoveProtectionContainerMappingInputProperties", + type: { + name: "Composite", + className: "RemoveProtectionContainerMappingInputProperties", + modelProperties: { + providerSpecificInput: { + serializedName: "providerSpecificInput", type: { - name: "String" + name: "Composite", + className: "ReplicationProviderContainerUnmappingInput" } } } } }; -export const Network: msRest.CompositeMapper = { - serializedName: "Network", +export const RemoveProtectionContainerMappingInput: msRest.CompositeMapper = { + serializedName: "RemoveProtectionContainerMappingInput", type: { name: "Composite", - className: "Network", + className: "RemoveProtectionContainerMappingInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "NetworkProperties" + className: "RemoveProtectionContainerMappingInputProperties" } } } } }; -export const NetworkMappingProperties: msRest.CompositeMapper = { - serializedName: "NetworkMappingProperties", +export const RenewCertificateInputProperties: msRest.CompositeMapper = { + serializedName: "RenewCertificateInputProperties", type: { name: "Composite", - className: "NetworkMappingProperties", + className: "RenewCertificateInputProperties", 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", - type: { - name: "String" - } - }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + renewCertificateType: { + serializedName: "renewCertificateType", type: { name: "String" } - }, - fabricSpecificSettings: { - serializedName: "fabricSpecificSettings", - type: { - name: "Composite", - className: "NetworkMappingFabricSpecificSettings" - } } } } }; -export const NetworkMapping: msRest.CompositeMapper = { - serializedName: "NetworkMapping", +export const RenewCertificateInput: msRest.CompositeMapper = { + serializedName: "RenewCertificateInput", type: { name: "Composite", - className: "NetworkMapping", + className: "RenewCertificateInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "NetworkMappingProperties" + className: "RenewCertificateInputProperties" } } } } }; -export const OperationsDiscovery: msRest.CompositeMapper = { - serializedName: "OperationsDiscovery", +export const ReplicationEligibilityResultsErrorInfo: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsErrorInfo", type: { name: "Composite", - className: "OperationsDiscovery", + className: "ReplicationEligibilityResultsErrorInfo", modelProperties: { - name: { - serializedName: "name", + code: { + serializedName: "code", type: { name: "String" } }, - display: { - serializedName: "display", + message: { + serializedName: "message", type: { - name: "Composite", - className: "Display" + name: "String" } }, - origin: { - serializedName: "origin", + possibleCauses: { + serializedName: "possibleCauses", type: { name: "String" } }, - properties: { - serializedName: "properties", + recommendedAction: { + serializedName: "recommendedAction", type: { - name: "Object" + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" } } } } }; -export const PlannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInputProperties", +export const ReplicationEligibilityResultsProperties: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsProperties", type: { name: "Composite", - className: "PlannedFailoverInputProperties", + className: "ReplicationEligibilityResultsProperties", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", + clientRequestId: { + readOnly: true, + serializedName: "clientRequestId", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + errors: { + serializedName: "errors", type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationEligibilityResultsErrorInfo" + } + } } } } } }; -export const PlannedFailoverInput: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInput", +export const ReplicationEligibilityResults: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResults", type: { name: "Composite", - className: "PlannedFailoverInput", + className: "ReplicationEligibilityResults", modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, properties: { + readOnly: true, serializedName: "properties", type: { name: "Composite", - className: "PlannedFailoverInputProperties" + className: "ReplicationEligibilityResultsProperties" } } } } }; -export const PolicyProperties: msRest.CompositeMapper = { - serializedName: "PolicyProperties", +export const ReplicationEligibilityResultsCollection: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsCollection", type: { name: "Composite", - className: "PolicyProperties", + className: "ReplicationEligibilityResultsCollection", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + value: { + serializedName: "value", type: { - name: "Composite", - className: "PolicyProviderSpecificDetails" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationEligibilityResults" + } + } } } } } }; -export const Policy: msRest.CompositeMapper = { - serializedName: "Policy", +export const ReplicationGroupDetails: msRest.CompositeMapper = { + serializedName: "ReplicationGroupDetails", type: { name: "Composite", - className: "Policy", + polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, + uberParent: "ConfigurationSettings", + className: "ReplicationGroupDetails", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "PolicyProperties" - } - } + ...ConfigurationSettings.type.modelProperties } } }; -export const ProcessServer: msRest.CompositeMapper = { - serializedName: "ProcessServer", +export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { + serializedName: "ReplicationProtectedItemProperties", type: { name: "Composite", - className: "ProcessServer", + className: "ReplicationProtectedItemProperties", modelProperties: { friendlyName: { serializedName: "friendlyName", type: { name: "String" } - }, - id: { - serializedName: "id", + }, + protectedItemType: { + serializedName: "protectedItemType", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + protectableItemId: { + serializedName: "protectableItemId", type: { name: "String" } }, - osType: { - serializedName: "osType", + recoveryServicesProviderId: { + serializedName: "recoveryServicesProviderId", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + primaryFabricProvider: { + serializedName: "primaryFabricProvider", type: { - name: "DateTime" + name: "String" } }, - versionStatus: { - serializedName: "versionStatus", + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", type: { name: "String" } }, - mobilityServiceUpdates: { - serializedName: "mobilityServiceUpdates", + recoveryFabricId: { + serializedName: "recoveryFabricId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MobilityServiceUpdate" - } - } + name: "String" } }, - hostId: { - serializedName: "hostId", + primaryProtectionContainerFriendlyName: { + serializedName: "primaryProtectionContainerFriendlyName", type: { name: "String" } }, - machineCount: { - serializedName: "machineCount", + recoveryProtectionContainerFriendlyName: { + serializedName: "recoveryProtectionContainerFriendlyName", type: { name: "String" } }, - replicationPairCount: { - serializedName: "replicationPairCount", + protectionState: { + serializedName: "protectionState", type: { name: "String" } }, - systemLoad: { - serializedName: "systemLoad", + protectionStateDescription: { + serializedName: "protectionStateDescription", type: { name: "String" } }, - systemLoadStatus: { - serializedName: "systemLoadStatus", + activeLocation: { + serializedName: "activeLocation", type: { name: "String" } }, - cpuLoad: { - serializedName: "cpuLoad", + testFailoverState: { + serializedName: "testFailoverState", type: { name: "String" } }, - cpuLoadStatus: { - serializedName: "cpuLoadStatus", + testFailoverStateDescription: { + serializedName: "testFailoverStateDescription", type: { name: "String" } }, - totalMemoryInBytes: { - serializedName: "totalMemoryInBytes", + allowedOperations: { + serializedName: "allowedOperations", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - availableMemoryInBytes: { - serializedName: "availableMemoryInBytes", + replicationHealth: { + serializedName: "replicationHealth", type: { - name: "Number" + name: "String" } }, - memoryUsageStatus: { - serializedName: "memoryUsageStatus", + failoverHealth: { + serializedName: "failoverHealth", type: { name: "String" } }, - totalSpaceInBytes: { - serializedName: "totalSpaceInBytes", + healthErrors: { + serializedName: "healthErrors", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - availableSpaceInBytes: { - serializedName: "availableSpaceInBytes", + policyId: { + serializedName: "policyId", type: { - name: "Number" + name: "String" } }, - spaceUsageStatus: { - serializedName: "spaceUsageStatus", + policyFriendlyName: { + serializedName: "policyFriendlyName", type: { name: "String" } }, - psServiceStatus: { - serializedName: "psServiceStatus", + lastSuccessfulFailoverTime: { + serializedName: "lastSuccessfulFailoverTime", type: { - name: "String" + name: "DateTime" } }, - sslCertExpiryDate: { - serializedName: "sslCertExpiryDate", + lastSuccessfulTestFailoverTime: { + serializedName: "lastSuccessfulTestFailoverTime", type: { name: "DateTime" } }, - sslCertExpiryRemainingDays: { - serializedName: "sslCertExpiryRemainingDays", + currentScenario: { + serializedName: "currentScenario", type: { - name: "Number" + name: "Composite", + className: "CurrentScenarioDetails" } }, - osVersion: { - serializedName: "osVersion", + failoverRecoveryPointId: { + serializedName: "failoverRecoveryPointId", type: { name: "String" } }, - healthErrors: { - serializedName: "healthErrors", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "Composite", + className: "ReplicationProviderSpecificSettings" } }, - agentExpiryDate: { - serializedName: "agentExpiryDate", + recoveryContainerId: { + serializedName: "recoveryContainerId", type: { - name: "DateTime" + name: "String" } }, - agentVersionDetails: { - serializedName: "agentVersionDetails", + eventCorrelationId: { + serializedName: "eventCorrelationId", + 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: "VersionDetails" + className: "ReplicationProtectedItemProperties" } } } } }; -export const ProtectableItemProperties: msRest.CompositeMapper = { - serializedName: "ProtectableItemProperties", +export const ReplicationProtectionIntentProperties: msRest.CompositeMapper = { + serializedName: "ReplicationProtectionIntentProperties", type: { name: "Composite", - className: "ProtectableItemProperties", + className: "ReplicationProtectionIntentProperties", modelProperties: { friendlyName: { serializedName: "friendlyName", @@ -8512,83 +16817,204 @@ export const ProtectableItemProperties: msRest.CompositeMapper = { name: "String" } }, - protectionStatus: { - serializedName: "protectionStatus", + jobId: { + readOnly: true, + serializedName: "jobId", type: { name: "String" } }, - replicationProtectedItemId: { - serializedName: "replicationProtectedItemId", + jobState: { + readOnly: true, + serializedName: "jobState", type: { name: "String" } }, - recoveryServicesProviderId: { - serializedName: "recoveryServicesProviderId", + 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 ReplicationProtectionIntent: msRest.CompositeMapper = { + serializedName: "ReplicationProtectionIntent", + type: { + name: "Composite", + className: "ReplicationProtectionIntent", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ReplicationProtectionIntentProperties" + } + } + } + } +}; + +export const ResolveHealthError: msRest.CompositeMapper = { + serializedName: "ResolveHealthError", + type: { + name: "Composite", + className: "ResolveHealthError", + modelProperties: { + healthErrorId: { + serializedName: "healthErrorId", + type: { + name: "String" + } + } + } + } +}; + +export const ResolveHealthInputProperties: msRest.CompositeMapper = { + serializedName: "ResolveHealthInputProperties", + type: { + name: "Composite", + className: "ResolveHealthInputProperties", + modelProperties: { + healthErrors: { + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResolveHealthError" + } + } + } + } + } + } +}; + +export const ResolveHealthInput: msRest.CompositeMapper = { + serializedName: "ResolveHealthInput", + type: { + name: "Composite", + className: "ResolveHealthInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ResolveHealthInputProperties" + } + } + } + } +}; + +export const ResourceHealthSummary: msRest.CompositeMapper = { + serializedName: "ResourceHealthSummary", + type: { + name: "Composite", + className: "ResourceHealthSummary", + modelProperties: { + resourceCount: { + serializedName: "resourceCount", type: { - name: "String" + name: "Number" } }, - protectionReadinessErrors: { - serializedName: "protectionReadinessErrors", + issues: { + serializedName: "issues", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "HealthErrorSummary" } } } }, - supportedReplicationProviders: { - serializedName: "supportedReplicationProviders", + categorizedResourceCounts: { + serializedName: "categorizedResourceCounts", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { - name: "String" + name: "Number" } } } - }, - customDetails: { - serializedName: "customDetails", + } + } + } +}; + +export const ResumeJobParamsProperties: msRest.CompositeMapper = { + serializedName: "ResumeJobParamsProperties", + type: { + name: "Composite", + className: "ResumeJobParamsProperties", + modelProperties: { + comments: { + serializedName: "comments", type: { - name: "Composite", - className: "ConfigurationSettings" + name: "String" } } } } }; -export const ProtectableItem: msRest.CompositeMapper = { - serializedName: "ProtectableItem", +export const ResumeJobParams: msRest.CompositeMapper = { + serializedName: "ResumeJobParams", type: { name: "Composite", - className: "ProtectableItem", + className: "ResumeJobParams", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ProtectableItemProperties" + className: "ResumeJobParamsProperties" } } } } }; -export const ProtectableItemQueryParameter: msRest.CompositeMapper = { - serializedName: "ProtectableItemQueryParameter", +export const ResyncProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "ResyncProviderSpecificInput", type: { name: "Composite", - className: "ProtectableItemQueryParameter", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ResyncProviderSpecificInput", + className: "ResyncProviderSpecificInput", modelProperties: { - state: { - serializedName: "state", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -8597,209 +17023,114 @@ export const ProtectableItemQueryParameter: msRest.CompositeMapper = { } }; -export const ProtectedItemsQueryParameter: msRest.CompositeMapper = { - serializedName: "ProtectedItemsQueryParameter", +export const ResyncInputProperties: msRest.CompositeMapper = { + serializedName: "ResyncInputProperties", type: { name: "Composite", - className: "ProtectedItemsQueryParameter", + className: "ResyncInputProperties", modelProperties: { - sourceFabricName: { - serializedName: "sourceFabricName", - type: { - name: "String" - } - }, - recoveryPlanName: { - serializedName: "recoveryPlanName", - type: { - name: "String" - } - }, - vCenterName: { - serializedName: "vCenterName", - type: { - name: "String" - } - }, - instanceType: { - serializedName: "instanceType", - type: { - name: "String" - } - }, - multiVmGroupCreateOption: { - serializedName: "multiVmGroupCreateOption", + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "ResyncProviderSpecificInput" } } } } }; -export const ProtectionContainerFabricSpecificDetails: msRest.CompositeMapper = { - serializedName: "ProtectionContainerFabricSpecificDetails", +export const ResyncInput: msRest.CompositeMapper = { + serializedName: "ResyncInput", type: { name: "Composite", - className: "ProtectionContainerFabricSpecificDetails", + className: "ResyncInput", modelProperties: { - instanceType: { - readOnly: true, - serializedName: "instanceType", + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ResyncInputProperties" } } } } }; -export const ProtectionContainerProperties: msRest.CompositeMapper = { - serializedName: "ProtectionContainerProperties", +export const ReverseReplicationInputProperties: msRest.CompositeMapper = { + serializedName: "ReverseReplicationInputProperties", type: { name: "Composite", - className: "ProtectionContainerProperties", + className: "ReverseReplicationInputProperties", modelProperties: { - fabricFriendlyName: { - serializedName: "fabricFriendlyName", - type: { - name: "String" - } - }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - fabricType: { - serializedName: "fabricType", - type: { - name: "String" - } - }, - protectedItemCount: { - serializedName: "protectedItemCount", - type: { - name: "Number" - } - }, - pairingStatus: { - serializedName: "pairingStatus", - type: { - name: "String" - } - }, - role: { - serializedName: "role", + failoverDirection: { + serializedName: "failoverDirection", type: { name: "String" } }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "ProtectionContainerFabricSpecificDetails" + className: "ReverseReplicationProviderSpecificInput" } } } } }; -export const ProtectionContainer: msRest.CompositeMapper = { - serializedName: "ProtectionContainer", +export const ReverseReplicationInput: msRest.CompositeMapper = { + serializedName: "ReverseReplicationInput", type: { name: "Composite", - className: "ProtectionContainer", + className: "ReverseReplicationInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ProtectionContainerProperties" + className: "ReverseReplicationInputProperties" } } } } }; -export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMappingProperties", +export const RoleAssignment: msRest.CompositeMapper = { + serializedName: "RoleAssignment", type: { name: "Composite", - className: "ProtectionContainerMappingProperties", + className: "RoleAssignment", modelProperties: { - targetProtectionContainerId: { - serializedName: "targetProtectionContainerId", - type: { - name: "String" - } - }, - targetProtectionContainerFriendlyName: { - serializedName: "targetProtectionContainerFriendlyName", - type: { - name: "String" - } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", - type: { - name: "Composite", - className: "ProtectionContainerMappingProviderSpecificDetails" - } - }, - health: { - serializedName: "health", - type: { - name: "String" - } - }, - healthErrorDetails: { - serializedName: "healthErrorDetails", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } - } - }, - policyId: { - serializedName: "policyId", - type: { - name: "String" - } - }, - state: { - serializedName: "state", + id: { + serializedName: "id", type: { name: "String" } }, - sourceProtectionContainerFriendlyName: { - serializedName: "sourceProtectionContainerFriendlyName", + name: { + serializedName: "name", type: { name: "String" } }, - sourceFabricFriendlyName: { - serializedName: "sourceFabricFriendlyName", + scope: { + serializedName: "scope", type: { name: "String" } }, - targetFabricFriendlyName: { - serializedName: "targetFabricFriendlyName", + principalId: { + serializedName: "principalId", type: { name: "String" } }, - policyFriendlyName: { - serializedName: "policyFriendlyName", + roleDefinitionId: { + serializedName: "roleDefinitionId", type: { name: "String" } @@ -8808,122 +17139,109 @@ export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { } }; -export const ProtectionContainerMapping: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMapping", +export const RunAsAccount: msRest.CompositeMapper = { + serializedName: "RunAsAccount", type: { name: "Composite", - className: "ProtectionContainerMapping", + className: "RunAsAccount", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + accountId: { + serializedName: "accountId", type: { - name: "Composite", - className: "ProtectionContainerMappingProperties" + name: "String" + } + }, + accountName: { + serializedName: "accountName", + type: { + name: "String" } } } } }; -export const RcmAzureMigrationPolicyDetails: msRest.CompositeMapper = { - serializedName: "RcmAzureMigration", +export const ScriptActionTaskDetails: msRest.CompositeMapper = { + serializedName: "ScriptActionTaskDetails", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "RcmAzureMigrationPolicyDetails", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "ScriptActionTaskDetails", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + ...TaskTypeDetails.type.modelProperties, + name: { + serializedName: "name", type: { - name: "Number" + name: "String" } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + path: { + serializedName: "path", type: { - name: "Number" + name: "String" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + output: { + serializedName: "output", type: { name: "String" } }, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", + isPrimarySideScript: { + serializedName: "isPrimarySideScript", type: { - name: "Number" + name: "Boolean" } } } } }; -export const RecoveryPlanProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProperties", +export const IPConfigInputDetails: msRest.CompositeMapper = { + serializedName: "IPConfigInputDetails", type: { name: "Composite", - className: "RecoveryPlanProperties", + className: "IPConfigInputDetails", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + ipConfigName: { + serializedName: "ipConfigName", type: { name: "String" } }, - primaryFabricId: { - serializedName: "primaryFabricId", + isPrimary: { + serializedName: "isPrimary", type: { - name: "String" + name: "Boolean" } }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", + isSeletedForFailover: { + serializedName: "isSeletedForFailover", type: { - name: "String" + name: "Boolean" } }, - recoveryFabricId: { - serializedName: "recoveryFabricId", + recoverySubnetName: { + serializedName: "recoverySubnetName", type: { name: "String" } }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + recoveryStaticIPAddress: { + serializedName: "recoveryStaticIPAddress", type: { name: "String" } }, - failoverDeploymentModel: { - serializedName: "failoverDeploymentModel", + recoveryPublicIPAddressId: { + serializedName: "recoveryPublicIPAddressId", type: { name: "String" } }, - replicationProviders: { - serializedName: "replicationProviders", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - allowedOperations: { - serializedName: "allowedOperations", + recoveryLBBackendAddressPoolIds: { + serializedName: "recoveryLBBackendAddressPoolIds", type: { name: "Sequence", element: { @@ -8933,51 +17251,31 @@ export const RecoveryPlanProperties: msRest.CompositeMapper = { } } }, - lastPlannedFailoverTime: { - serializedName: "lastPlannedFailoverTime", - type: { - name: "DateTime" - } - }, - lastUnplannedFailoverTime: { - serializedName: "lastUnplannedFailoverTime", - type: { - name: "DateTime" - } - }, - lastTestFailoverTime: { - serializedName: "lastTestFailoverTime", - type: { - name: "DateTime" - } - }, - currentScenario: { - serializedName: "currentScenario", + tfoSubnetName: { + serializedName: "tfoSubnetName", type: { - name: "Composite", - className: "CurrentScenarioDetails" + name: "String" } }, - currentScenarioStatus: { - serializedName: "currentScenarioStatus", + tfoStaticIPAddress: { + serializedName: "tfoStaticIPAddress", type: { name: "String" } }, - currentScenarioStatusDescription: { - serializedName: "currentScenarioStatusDescription", + tfoPublicIPAddressId: { + serializedName: "tfoPublicIPAddressId", type: { name: "String" } }, - groups: { - serializedName: "groups", + tfoLBBackendAddressPoolIds: { + serializedName: "tfoLBBackendAddressPoolIds", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "RecoveryPlanGroup" + name: "String" } } } @@ -8986,38 +17284,48 @@ export const RecoveryPlanProperties: msRest.CompositeMapper = { } }; -export const RecoveryPlan: msRest.CompositeMapper = { - serializedName: "RecoveryPlan", +export const StorageClassificationProperties: msRest.CompositeMapper = { + serializedName: "StorageClassificationProperties", type: { name: "Composite", - className: "RecoveryPlan", + className: "StorageClassificationProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + } + } + } +}; + +export const StorageClassification: msRest.CompositeMapper = { + serializedName: "StorageClassification", + type: { + name: "Composite", + className: "StorageClassification", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanProperties" + className: "StorageClassificationProperties" } } } } }; -export const RecoveryPlanProviderSpecificFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProviderSpecificFailoverInput", +export const StorageClassificationMappingProperties: msRest.CompositeMapper = { + serializedName: "StorageClassificationMappingProperties", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanProviderSpecificFailoverInput", + className: "StorageClassificationMappingProperties", modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + targetStorageClassificationId: { + serializedName: "targetStorageClassificationId", type: { name: "String" } @@ -9026,120 +17334,210 @@ export const RecoveryPlanProviderSpecificFailoverInput: msRest.CompositeMapper = } }; -export const RecoveryPlanA2AFailoverInput: msRest.CompositeMapper = { - serializedName: "A2A", +export const StorageClassificationMapping: msRest.CompositeMapper = { + serializedName: "StorageClassificationMapping", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanA2AFailoverInput", + className: "StorageClassificationMapping", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { - required: true, - serializedName: "recoveryPointType", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "StorageClassificationMappingProperties" + } + } + } + } +}; + +export const StorageMappingInputProperties: msRest.CompositeMapper = { + serializedName: "StorageMappingInputProperties", + type: { + name: "Composite", + className: "StorageMappingInputProperties", + modelProperties: { + targetStorageClassificationId: { + serializedName: "targetStorageClassificationId", type: { name: "String" } - }, - cloudServiceCreationOption: { - serializedName: "cloudServiceCreationOption", + } + } + } +}; + +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" } }, - multiVmSyncPointOption: { - serializedName: "multiVmSyncPointOption", + osType: { + serializedName: "osType", type: { name: "String" } + }, + osVersions: { + serializedName: "osVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OSVersionWrapper" + } + } + } } } } }; -export const RecoveryPlanAutomationRunbookActionDetails: msRest.CompositeMapper = { - serializedName: "AutomationRunbookActionDetails", +export const SupportedOSProperty: msRest.CompositeMapper = { + serializedName: "SupportedOSProperty", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanAutomationRunbookActionDetails", + className: "SupportedOSProperty", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - runbookId: { - serializedName: "runbookId", + instanceType: { + serializedName: "instanceType", type: { name: "String" } }, - timeout: { - serializedName: "timeout", + supportedOs: { + serializedName: "supportedOs", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SupportedOSDetails" + } + } } - }, - fabricLocation: { - required: true, - serializedName: "fabricLocation", + } + } + } +}; + +export const SupportedOSProperties: msRest.CompositeMapper = { + serializedName: "SupportedOSProperties", + type: { + name: "Composite", + className: "SupportedOSProperties", + modelProperties: { + supportedOsList: { + serializedName: "supportedOsList", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SupportedOSProperty" + } + } + } + } + } + } +}; + +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" } } } } }; -export const RecoveryPlanGroupTaskDetails: msRest.CompositeMapper = { - serializedName: "RecoveryPlanGroupTaskDetails", +export const SwitchProtectionInputProperties: msRest.CompositeMapper = { + serializedName: "SwitchProtectionInputProperties", type: { name: "Composite", - polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, - uberParent: "GroupTaskDetails", - className: "RecoveryPlanGroupTaskDetails", + className: "SwitchProtectionInputProperties", modelProperties: { - ...GroupTaskDetails.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - groupId: { - serializedName: "groupId", + replicationProtectedItemName: { + serializedName: "replicationProtectedItemName", type: { name: "String" } }, - rpGroupType: { - serializedName: "rpGroupType", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "SwitchProtectionProviderSpecificInput" } } } } }; -export const RecoveryPlanHyperVReplicaAzureFailbackInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzureFailback", +export const SwitchProtectionInput: msRest.CompositeMapper = { + serializedName: "SwitchProtectionInput", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanHyperVReplicaAzureFailbackInput", + className: "SwitchProtectionInput", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - dataSyncOption: { - required: true, - serializedName: "dataSyncOption", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "SwitchProtectionInputProperties" } - }, - recoveryVmCreationOption: { - required: true, - serializedName: "recoveryVmCreationOption", + } + } + } +}; + +export const SwitchProtectionJobDetails: msRest.CompositeMapper = { + serializedName: "SwitchProtectionJobDetails", + type: { + name: "Composite", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "SwitchProtectionJobDetails", + modelProperties: { + ...JobDetails.type.modelProperties, + newReplicationProtectedItemId: { + serializedName: "newReplicationProtectedItemId", type: { name: "String" } @@ -9148,89 +17546,134 @@ export const RecoveryPlanHyperVReplicaAzureFailbackInput: msRest.CompositeMapper } }; -export const RecoveryPlanHyperVReplicaAzureFailoverInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const TargetComputeSizeProperties: msRest.CompositeMapper = { + serializedName: "TargetComputeSizeProperties", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanHyperVReplicaAzureFailoverInput", + className: "TargetComputeSizeProperties", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - required: true, - serializedName: "vaultLocation", + name: { + serializedName: "name", type: { name: "String" } }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + cpuCoresCount: { + serializedName: "cpuCoresCount", type: { - name: "String" + name: "Number" } }, - recoveryPointType: { - serializedName: "recoveryPointType", + vCPUsAvailable: { + readOnly: true, + serializedName: "vCPUsAvailable", + type: { + name: "Number" + } + }, + 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: "ComputeSizeErrorDetails" + } + } + } + }, + highIopsSupported: { + serializedName: "highIopsSupported", type: { name: "String" } + }, + hyperVGenerations: { + serializedName: "hyperVGenerations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } }; -export const RecoveryPlanInMageAzureV2FailoverInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const TargetComputeSize: msRest.CompositeMapper = { + serializedName: "TargetComputeSize", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanInMageAzureV2FailoverInput", + className: "TargetComputeSize", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - required: true, - serializedName: "vaultLocation", + id: { + serializedName: "id", type: { name: "String" } }, - recoveryPointType: { - required: true, - serializedName: "recoveryPointType", + name: { + serializedName: "name", type: { name: "String" } }, - useMultiVmSyncPoint: { - serializedName: "useMultiVmSyncPoint", + type: { + serializedName: "type", type: { name: "String" } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "TargetComputeSizeProperties" + } } } } }; -export const RecoveryPlanInMageFailoverInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const TestFailoverCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "TestFailoverCleanupInputProperties", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanInMageFailoverInput", + className: "TestFailoverCleanupInputProperties", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { - required: true, - serializedName: "recoveryPointType", + comments: { + serializedName: "comments", + constraints: { + MaxLength: 1024 + }, type: { name: "String" } @@ -9239,144 +17682,143 @@ export const RecoveryPlanInMageFailoverInput: msRest.CompositeMapper = { } }; -export const RecoveryPlanManualActionDetails: msRest.CompositeMapper = { - serializedName: "ManualActionDetails", +export const TestFailoverCleanupInput: msRest.CompositeMapper = { + serializedName: "TestFailoverCleanupInput", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanManualActionDetails", + className: "TestFailoverCleanupInput", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - description: { - serializedName: "description", + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "TestFailoverCleanupInputProperties" } } } } }; -export const RecoveryPlanPlannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanPlannedFailoverInputProperties", +export const TestFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "TestFailoverInputProperties", type: { name: "Composite", - className: "RecoveryPlanPlannedFailoverInputProperties", + className: "TestFailoverInputProperties", modelProperties: { failoverDirection: { - required: true, serializedName: "failoverDirection", type: { name: "String" } }, + networkType: { + serializedName: "networkType", + type: { + name: "String" + } + }, + networkId: { + serializedName: "networkId", + type: { + name: "String" + } + }, providerSpecificDetails: { serializedName: "providerSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanProviderSpecificFailoverInput" - } - } + name: "Composite", + className: "TestFailoverProviderSpecificInput" } } } } }; -export const RecoveryPlanPlannedFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanPlannedFailoverInput", +export const TestFailoverInput: msRest.CompositeMapper = { + serializedName: "TestFailoverInput", type: { name: "Composite", - className: "RecoveryPlanPlannedFailoverInput", + className: "TestFailoverInput", modelProperties: { properties: { required: true, serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanPlannedFailoverInputProperties" + className: "TestFailoverInputProperties" } } } } }; -export const RecoveryPlanScriptActionDetails: msRest.CompositeMapper = { - serializedName: "ScriptActionDetails", +export const TestFailoverJobDetails: msRest.CompositeMapper = { + serializedName: "TestFailoverJobDetails", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanScriptActionDetails", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "TestFailoverJobDetails", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - path: { - required: true, - serializedName: "path", + ...JobDetails.type.modelProperties, + testFailoverStatus: { + serializedName: "testFailoverStatus", type: { name: "String" } }, - timeout: { - serializedName: "timeout", + comments: { + serializedName: "comments", type: { name: "String" } }, - fabricLocation: { - required: true, - serializedName: "fabricLocation", + networkName: { + serializedName: "networkName", 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", + }, + networkFriendlyName: { + serializedName: "networkFriendlyName", type: { name: "String" } }, - groupId: { - serializedName: "groupId", + networkType: { + serializedName: "networkType", type: { name: "String" } }, - rpGroupType: { - serializedName: "rpGroupType", + protectedItemDetails: { + serializedName: "protectedItemDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FailoverReplicationProtectedItemDetails" + } + } } } } } }; -export const RecoveryPlanTestFailoverCleanupInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverCleanupInputProperties", +export const TestMigrateCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInputProperties", type: { name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInputProperties", + className: "TestMigrateCleanupInputProperties", modelProperties: { comments: { serializedName: "comments", + constraints: { + MaxLength: 1024 + }, type: { name: "String" } @@ -9385,105 +17827,95 @@ export const RecoveryPlanTestFailoverCleanupInputProperties: msRest.CompositeMap } }; -export const RecoveryPlanTestFailoverCleanupInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverCleanupInput", +export const TestMigrateCleanupInput: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInput", type: { name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInput", + className: "TestMigrateCleanupInput", modelProperties: { properties: { required: true, serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInputProperties" + className: "TestMigrateCleanupInputProperties" } } } } }; -export const RecoveryPlanTestFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverInputProperties", +export const TestMigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "TestMigrateProviderSpecificInput", type: { name: "Composite", - className: "RecoveryPlanTestFailoverInputProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "TestMigrateProviderSpecificInput", + className: "TestMigrateProviderSpecificInput", modelProperties: { - failoverDirection: { - required: true, - serializedName: "failoverDirection", - type: { - name: "String" - } - }, - networkType: { + instanceType: { required: true, - serializedName: "networkType", - type: { - name: "String" - } - }, - networkId: { - serializedName: "networkId", - type: { - name: "String" - } - }, - skipTestFailoverCleanup: { - serializedName: "skipTestFailoverCleanup", + serializedName: "instanceType", type: { name: "String" } - }, + } + } + } +}; + +export const TestMigrateInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateInputProperties", + type: { + name: "Composite", + className: "TestMigrateInputProperties", + modelProperties: { providerSpecificDetails: { + required: true, serializedName: "providerSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanProviderSpecificFailoverInput" - } - } + name: "Composite", + className: "TestMigrateProviderSpecificInput" } } } } }; -export const RecoveryPlanTestFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverInput", +export const TestMigrateInput: msRest.CompositeMapper = { + serializedName: "TestMigrateInput", type: { name: "Composite", - className: "RecoveryPlanTestFailoverInput", + className: "TestMigrateInput", modelProperties: { properties: { required: true, serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanTestFailoverInputProperties" + className: "TestMigrateInputProperties" } } } } }; -export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanUnplannedFailoverInputProperties", +export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInputProperties", type: { name: "Composite", - className: "RecoveryPlanUnplannedFailoverInputProperties", + className: "UnplannedFailoverInputProperties", modelProperties: { failoverDirection: { - required: true, serializedName: "failoverDirection", type: { name: "String" } }, sourceSiteOperations: { - required: true, serializedName: "sourceSiteOperations", type: { name: "String" @@ -9492,432 +17924,571 @@ export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMappe providerSpecificDetails: { serializedName: "providerSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanProviderSpecificFailoverInput" - } - } + name: "Composite", + className: "UnplannedFailoverProviderSpecificInput" } } } } }; -export const RecoveryPlanUnplannedFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanUnplannedFailoverInput", +export const UnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInput", type: { name: "Composite", - className: "RecoveryPlanUnplannedFailoverInput", + className: "UnplannedFailoverInput", modelProperties: { properties: { required: true, serializedName: "properties", type: { name: "Composite", - className: "RecoveryPlanUnplannedFailoverInputProperties" + className: "UnplannedFailoverInputProperties" } } } } }; -export const RecoveryPointProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPointProperties", +export const UpdateApplianceForReplicationProtectedItemInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateApplianceForReplicationProtectedItemInputProperties", type: { name: "Composite", - className: "RecoveryPointProperties", + className: "UpdateApplianceForReplicationProtectedItemInputProperties", modelProperties: { - recoveryPointTime: { - serializedName: "recoveryPointTime", - type: { - name: "DateTime" - } - }, - recoveryPointType: { - serializedName: "recoveryPointType", + targetApplianceId: { + required: true, + serializedName: "targetApplianceId", type: { name: "String" } }, providerSpecificDetails: { + required: true, serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "ProviderSpecificRecoveryPointDetails" + className: "UpdateApplianceForReplicationProtectedItemProviderSpecificInput" } } } } }; -export const RecoveryPoint: msRest.CompositeMapper = { - serializedName: "RecoveryPoint", +export const UpdateApplianceForReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "UpdateApplianceForReplicationProtectedItemInput", type: { name: "Composite", - className: "RecoveryPoint", + className: "UpdateApplianceForReplicationProtectedItemInput", modelProperties: { - ...Resource.type.modelProperties, properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "RecoveryPointProperties" + className: "UpdateApplianceForReplicationProtectedItemInputProperties" } } } } }; -export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { - serializedName: "RecoveryServicesProviderProperties", +export const UpdateMigrationItemProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemProviderSpecificInput", type: { name: "Composite", - className: "RecoveryServicesProviderProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "UpdateMigrationItemProviderSpecificInput", + className: "UpdateMigrationItemProviderSpecificInput", modelProperties: { - fabricType: { - serializedName: "fabricType", - type: { - name: "String" - } - }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - providerVersion: { - serializedName: "providerVersion", - type: { - name: "String" - } - }, - serverVersion: { - serializedName: "serverVersion", - type: { - name: "String" - } - }, - providerVersionState: { - serializedName: "providerVersionState", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - providerVersionExpiryDate: { - serializedName: "providerVersionExpiryDate", - type: { - name: "DateTime" - } - }, - fabricFriendlyName: { - serializedName: "fabricFriendlyName", + } + } + } +}; + +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" } - }, - lastHeartBeat: { - serializedName: "lastHeartBeat", + } + } + } +}; + +export const UpdateMigrationItemInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemInput", + type: { + name: "Composite", + className: "UpdateMigrationItemInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "DateTime" + name: "Composite", + className: "UpdateMigrationItemInputProperties" } - }, - connectionStatus: { - serializedName: "connectionStatus", + } + } + } +}; + +export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequestProperties", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequestProperties", + modelProperties: { + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } - }, - protectedItemCount: { - serializedName: "protectedItemCount", - type: { - name: "Number" - } - }, - allowedScenarios: { - serializedName: "allowedScenarios", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - healthErrorDetails: { - serializedName: "healthErrorDetails", + } + } + } +}; + +export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequest", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequest", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "Composite", + className: "UpdateMobilityServiceRequestProperties" } - }, - draIdentifier: { - serializedName: "draIdentifier", + } + } + } +}; + +export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateNetworkMappingInputProperties", + type: { + name: "Composite", + className: "UpdateNetworkMappingInputProperties", + modelProperties: { + recoveryFabricName: { + serializedName: "recoveryFabricName", type: { name: "String" } }, - identityDetails: { - serializedName: "identityDetails", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", type: { - name: "Composite", - className: "IdentityInformation" + name: "String" } }, - providerVersionDetails: { - serializedName: "providerVersionDetails", + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", type: { name: "Composite", - className: "VersionDetails" + className: "FabricSpecificUpdateNetworkMappingInput" } } } } }; -export const RecoveryServicesProvider: msRest.CompositeMapper = { - serializedName: "RecoveryServicesProvider", +export const UpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "UpdateNetworkMappingInput", type: { name: "Composite", - className: "RecoveryServicesProvider", + className: "UpdateNetworkMappingInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "RecoveryServicesProviderProperties" + className: "UpdateNetworkMappingInputProperties" } } } } }; -export const ReplicationProviderContainerUnmappingInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderContainerUnmappingInput", +export const UpdatePolicyInputProperties: msRest.CompositeMapper = { + serializedName: "UpdatePolicyInputProperties", type: { name: "Composite", - className: "ReplicationProviderContainerUnmappingInput", + className: "UpdatePolicyInputProperties", modelProperties: { - instanceType: { - serializedName: "instanceType", + replicationProviderSettings: { + serializedName: "replicationProviderSettings", type: { - name: "String" + name: "Composite", + className: "PolicyProviderSpecificInput" } } } } }; -export const RemoveProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "RemoveProtectionContainerMappingInputProperties", +export const UpdatePolicyInput: msRest.CompositeMapper = { + serializedName: "UpdatePolicyInput", type: { name: "Composite", - className: "RemoveProtectionContainerMappingInputProperties", + className: "UpdatePolicyInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "UpdatePolicyInputProperties" + } + } + } + } +}; + +export const UpdateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateProtectionContainerMappingInputProperties", + type: { + name: "Composite", + className: "UpdateProtectionContainerMappingInputProperties", modelProperties: { providerSpecificInput: { serializedName: "providerSpecificInput", type: { name: "Composite", - className: "ReplicationProviderContainerUnmappingInput" + className: "ReplicationProviderSpecificUpdateContainerMappingInput" } } } } }; -export const RemoveProtectionContainerMappingInput: msRest.CompositeMapper = { - serializedName: "RemoveProtectionContainerMappingInput", +export const UpdateProtectionContainerMappingInput: msRest.CompositeMapper = { + serializedName: "UpdateProtectionContainerMappingInput", type: { name: "Composite", - className: "RemoveProtectionContainerMappingInput", + className: "UpdateProtectionContainerMappingInput", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "RemoveProtectionContainerMappingInputProperties" + className: "UpdateProtectionContainerMappingInputProperties" } } } } }; -export const RenewCertificateInputProperties: msRest.CompositeMapper = { - serializedName: "RenewCertificateInputProperties", +export const UpdateRecoveryPlanInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateRecoveryPlanInputProperties", type: { name: "Composite", - className: "RenewCertificateInputProperties", + className: "UpdateRecoveryPlanInputProperties", modelProperties: { - renewCertificateType: { - serializedName: "renewCertificateType", + groups: { + serializedName: "groups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanGroup" + } + } } } } } }; -export const RenewCertificateInput: msRest.CompositeMapper = { - serializedName: "RenewCertificateInput", +export const UpdateRecoveryPlanInput: msRest.CompositeMapper = { + serializedName: "UpdateRecoveryPlanInput", type: { name: "Composite", - className: "RenewCertificateInput", + className: "UpdateRecoveryPlanInput", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "RenewCertificateInputProperties" + className: "UpdateRecoveryPlanInputProperties" } } } } }; -export const ReplicationGroupDetails: msRest.CompositeMapper = { - serializedName: "ReplicationGroupDetails", +export const VMNicInputDetails: msRest.CompositeMapper = { + serializedName: "VMNicInputDetails", type: { name: "Composite", - polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, - uberParent: "ConfigurationSettings", - className: "ReplicationGroupDetails", + className: "VMNicInputDetails", modelProperties: { - ...ConfigurationSettings.type.modelProperties + nicId: { + serializedName: "nicId", + type: { + name: "String" + } + }, + ipConfigs: { + serializedName: "ipConfigs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPConfigInputDetails" + } + } + } + }, + selectionType: { + serializedName: "selectionType", + type: { + name: "String" + } + }, + recoveryNetworkSecurityGroupId: { + serializedName: "recoveryNetworkSecurityGroupId", + type: { + name: "String" + } + }, + enableAcceleratedNetworkingOnRecovery: { + serializedName: "enableAcceleratedNetworkingOnRecovery", + type: { + name: "Boolean" + } + }, + tfoNetworkSecurityGroupId: { + serializedName: "tfoNetworkSecurityGroupId", + type: { + name: "String" + } + }, + enableAcceleratedNetworkingOnTfo: { + serializedName: "enableAcceleratedNetworkingOnTfo", + type: { + name: "Boolean" + } + }, + recoveryNicName: { + serializedName: "recoveryNicName", + type: { + name: "String" + } + }, + recoveryNicResourceGroupName: { + serializedName: "recoveryNicResourceGroupName", + type: { + name: "String" + } + }, + reuseExistingNic: { + serializedName: "reuseExistingNic", + type: { + name: "Boolean" + } + }, + tfoNicName: { + serializedName: "tfoNicName", + type: { + name: "String" + } + }, + tfoNicResourceGroupName: { + serializedName: "tfoNicResourceGroupName", + type: { + name: "String" + } + }, + tfoReuseExistingNic: { + serializedName: "tfoReuseExistingNic", + type: { + name: "Boolean" + } + } } } }; -export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { - serializedName: "ReplicationProtectedItemProperties", +export const UpdateReplicationProtectedItemInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemInputProperties", type: { name: "Composite", - className: "ReplicationProtectedItemProperties", + className: "UpdateReplicationProtectedItemInputProperties", modelProperties: { - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - protectedItemType: { - serializedName: "protectedItemType", + recoveryAzureVMName: { + serializedName: "recoveryAzureVMName", type: { name: "String" } }, - protectableItemId: { - serializedName: "protectableItemId", + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", type: { name: "String" } }, - recoveryServicesProviderId: { - serializedName: "recoveryServicesProviderId", + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", type: { name: "String" } }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", + selectedTfoAzureNetworkId: { + serializedName: "selectedTfoAzureNetworkId", type: { name: "String" } }, - primaryFabricProvider: { - serializedName: "primaryFabricProvider", + selectedSourceNicId: { + serializedName: "selectedSourceNicId", type: { name: "String" } }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", type: { name: "String" } }, - recoveryFabricId: { - serializedName: "recoveryFabricId", + vmNics: { + serializedName: "vmNics", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicInputDetails" + } + } } }, - primaryProtectionContainerFriendlyName: { - serializedName: "primaryProtectionContainerFriendlyName", + licenseType: { + serializedName: "licenseType", type: { name: "String" } }, - recoveryProtectionContainerFriendlyName: { - serializedName: "recoveryProtectionContainerFriendlyName", + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { name: "String" } }, - protectionState: { - serializedName: "protectionState", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "UpdateReplicationProtectedItemProviderInput" } - }, - protectionStateDescription: { - serializedName: "protectionStateDescription", + } + } + } +}; + +export const UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemInput", + type: { + name: "Composite", + className: "UpdateReplicationProtectedItemInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "UpdateReplicationProtectedItemInputProperties" } - }, - activeLocation: { - serializedName: "activeLocation", + } + } + } +}; + +export const UpdateVCenterRequestProperties: msRest.CompositeMapper = { + serializedName: "UpdateVCenterRequestProperties", + type: { + name: "Composite", + className: "UpdateVCenterRequestProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - testFailoverState: { - serializedName: "testFailoverState", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - testFailoverStateDescription: { - serializedName: "testFailoverStateDescription", + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - allowedOperations: { - serializedName: "allowedOperations", + port: { + serializedName: "port", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - replicationHealth: { - serializedName: "replicationHealth", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } - }, - failoverHealth: { - serializedName: "failoverHealth", + } + } + } +}; + +export const UpdateVCenterRequest: msRest.CompositeMapper = { + serializedName: "UpdateVCenterRequest", + type: { + name: "Composite", + className: "UpdateVCenterRequest", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "UpdateVCenterRequestProperties" } - }, - healthErrors: { - serializedName: "healthErrors", + } + } + } +}; + +export const VaultHealthProperties: msRest.CompositeMapper = { + serializedName: "VaultHealthProperties", + type: { + name: "Composite", + className: "VaultHealthProperties", + modelProperties: { + vaultErrors: { + serializedName: "vaultErrors", type: { name: "Sequence", element: { @@ -9928,52 +18499,63 @@ export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { } } }, - policyId: { - serializedName: "policyId", - type: { - name: "String" - } - }, - policyFriendlyName: { - serializedName: "policyFriendlyName", + protectedItemsHealth: { + serializedName: "protectedItemsHealth", type: { - name: "String" + name: "Composite", + className: "ResourceHealthSummary" } }, - lastSuccessfulFailoverTime: { - serializedName: "lastSuccessfulFailoverTime", + fabricsHealth: { + serializedName: "fabricsHealth", type: { - name: "DateTime" + name: "Composite", + className: "ResourceHealthSummary" } }, - lastSuccessfulTestFailoverTime: { - serializedName: "lastSuccessfulTestFailoverTime", + containersHealth: { + serializedName: "containersHealth", type: { - name: "DateTime" + name: "Composite", + className: "ResourceHealthSummary" } - }, - currentScenario: { - serializedName: "currentScenario", + } + } + } +}; + +export const VaultHealthDetails: msRest.CompositeMapper = { + serializedName: "VaultHealthDetails", + type: { + name: "Composite", + className: "VaultHealthDetails", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "CurrentScenarioDetails" + className: "VaultHealthProperties" } - }, - failoverRecoveryPointId: { - serializedName: "failoverRecoveryPointId", + } + } + } +}; + +export const VaultSettingProperties: msRest.CompositeMapper = { + serializedName: "VaultSettingProperties", + type: { + name: "Composite", + className: "VaultSettingProperties", + modelProperties: { + migrationSolutionId: { + serializedName: "migrationSolutionId", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", - type: { - name: "Composite", - className: "ReplicationProviderSpecificSettings" - } - }, - recoveryContainerId: { - serializedName: "recoveryContainerId", + vmwareToAzureProviderType: { + serializedName: "vmwareToAzureProviderType", type: { name: "String" } @@ -9982,273 +18564,316 @@ export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { } }; -export const ReplicationProtectedItem: msRest.CompositeMapper = { - serializedName: "ReplicationProtectedItem", +export const VaultSetting: msRest.CompositeMapper = { + serializedName: "VaultSetting", type: { name: "Composite", - className: "ReplicationProtectedItem", + className: "VaultSetting", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ReplicationProtectedItemProperties" + className: "VaultSettingProperties" } } } } }; -export const ResourceHealthSummary: msRest.CompositeMapper = { - serializedName: "ResourceHealthSummary", +export const VaultSettingCreationInputProperties: msRest.CompositeMapper = { + serializedName: "VaultSettingCreationInputProperties", type: { name: "Composite", - className: "ResourceHealthSummary", + className: "VaultSettingCreationInputProperties", modelProperties: { - resourceCount: { - serializedName: "resourceCount", + migrationSolutionId: { + serializedName: "migrationSolutionId", type: { - name: "Number" + name: "String" } }, - issues: { - serializedName: "issues", + vmwareToAzureProviderType: { + serializedName: "vmwareToAzureProviderType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthErrorSummary" - } - } + name: "String" } } } } }; -export const ResumeJobParamsProperties: msRest.CompositeMapper = { - serializedName: "ResumeJobParamsProperties", +export const VaultSettingCreationInput: msRest.CompositeMapper = { + serializedName: "VaultSettingCreationInput", type: { name: "Composite", - className: "ResumeJobParamsProperties", + className: "VaultSettingCreationInput", modelProperties: { - comments: { - serializedName: "comments", + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "VaultSettingCreationInputProperties" + } + } + } + } +}; + +export const VCenterProperties: msRest.CompositeMapper = { + serializedName: "VCenterProperties", + type: { + name: "Composite", + className: "VCenterProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + internalId: { + serializedName: "internalId", + type: { + name: "String" + } + }, + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + discoveryStatus: { + serializedName: "discoveryStatus", + type: { + name: "String" + } + }, + processServerId: { + serializedName: "processServerId", + type: { + name: "String" + } + }, + ipAddress: { + serializedName: "ipAddress", + type: { + name: "String" + } + }, + infrastructureId: { + serializedName: "infrastructureId", + type: { + name: "String" + } + }, + port: { + serializedName: "port", + type: { + name: "String" + } + }, + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + }, + 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 +18882,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 +18950,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 +20241,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 +20273,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 +20641,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 +21005,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 +21061,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 +21138,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 +21163,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 +21187,90 @@ 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, + 'UpdateApplianceForReplicationProtectedItemProviderSpecificInput.InMageRcm' : InMageRcmUpdateApplianceForReplicationProtectedItemInput, + '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, + 'UpdateApplianceForReplicationProtectedItemProviderSpecificInput' : UpdateApplianceForReplicationProtectedItemProviderSpecificInput, + 'UpdateMigrationItemProviderSpecificInput' : UpdateMigrationItemProviderSpecificInput, 'UpdateReplicationProtectedItemProviderInput' : UpdateReplicationProtectedItemProviderInput, 'TaskTypeDetails.VirtualMachineTaskDetails' : VirtualMachineTaskDetails, 'FabricSpecificDetails.VMM' : VmmDetails, @@ -12498,10 +21282,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..d0a57c5c32c9 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/migrationRecoveryPointsMappers.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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..786e990e93d2 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts @@ -1,169 +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, - 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..77195ed629a0 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts @@ -1,171 +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, - 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..1404a59bdbea 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts @@ -1,169 +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, - 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..a50817c3a2ec 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts @@ -1,178 +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, - 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricCreationInput, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..20e3147fecc7 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts @@ -1,172 +1,247 @@ /* - * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..0c110ed584d1 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts @@ -1,169 +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, - 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..eabf2fe48daa --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationMigrationItemsMappers.ts @@ -0,0 +1,269 @@ +/* + * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..1ce5278989ee 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts @@ -1,117 +1,238 @@ /* - * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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 +242,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..2622d651f1cb 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts @@ -1,169 +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, - 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..2ad7a31f80c9 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts @@ -1,181 +1,259 @@ /* - * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..dd4766c7a030 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts @@ -1,169 +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, - 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..bb1648f21372 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts @@ -1,226 +1,335 @@ /* - * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmDiskInput, + InMageRcmDisksDefaultInput, + InMageRcmEnableProtectionInput, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + InMageRcmFailbackEventDetails, + InMageRcmFailbackMobilityAgentDetails, + InMageRcmFailbackNicDetails, + InMageRcmFailbackPlannedFailoverProviderInput, + InMageRcmFailbackPolicyDetails, + InMageRcmFailbackProtectedDiskDetails, + InMageRcmFailbackReplicationDetails, + InMageRcmFailbackReprotectInput, + InMageRcmFailbackSyncDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmNicInput, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmProtectionContainerMappingDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmReprotectInput, + InMageRcmSyncDetails, + InMageRcmTestFailoverInput, + InMageRcmUnplannedFailoverInput, + InMageRcmUpdateApplianceForReplicationProtectedItemInput, + 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, + UpdateApplianceForReplicationProtectedItemInput, + UpdateApplianceForReplicationProtectedItemInputProperties, + UpdateApplianceForReplicationProtectedItemProviderSpecificInput, + 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..18f6fcd7d5ec 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts @@ -1,180 +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, - 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..b396f592d537 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts @@ -1,184 +1,258 @@ /* - * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..6259766e07bf --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionIntentsMappers.ts @@ -0,0 +1,248 @@ +/* + * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..50a0fc7e90ba 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts @@ -1,187 +1,266 @@ /* - * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..5169701dd00f 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts @@ -1,169 +1,247 @@ /* - * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..125645c99d74 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts @@ -1,171 +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, - 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..02494e5eb1ba 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts @@ -1,169 +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, - 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..e56470059d50 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts @@ -1,168 +1,243 @@ /* - * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..966efcc96d4f --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultSettingMappers.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, + 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..16dd6509b83b 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts @@ -1,173 +1,248 @@ /* - * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..e56470059d50 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/supportedOperatingSystemsOperationsMappers.ts @@ -0,0 +1,243 @@ +/* + * 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, + InMageRcmDiscoveredProtectedVmDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmFailbackDiscoveredProtectedVmDetails, + 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..7eaadc96dd93 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 */ @@ -278,6 +336,21 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * The operation to update appliance of an ASR replication protected item. + * @summary Updates appliance for replication protected Item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param applianceUpdateInput Appliance update protection input. + * @param [options] The optional parameters + * @returns Promise + */ + updateAppliance(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, applianceUpdateInput: Models.UpdateApplianceForReplicationProtectedItemInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateAppliance(fabricName,protectionContainerName,replicatedProtectedItemName,applianceUpdateInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * The operation to update(push update) the installed mobility service software on a replication * protected item to the latest available version. @@ -369,7 +442,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 +463,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 +509,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 +553,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 +598,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 +645,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 +737,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 */ @@ -595,6 +758,29 @@ export class ReplicationProtectedItems { options); } + /** + * The operation to update appliance of an ASR replication protected item. + * @summary Updates appliance for replication protected Item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param applianceUpdateInput Appliance update protection input. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateAppliance(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, applianceUpdateInput: Models.UpdateApplianceForReplicationProtectedItemInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + applianceUpdateInput, + options + }, + beginUpdateApplianceOperationSpec, + options); + } + /** * The operation to update(push update) the installed mobility service software on a replication * protected item to the latest available version. @@ -658,7 +844,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 +855,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 +871,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 +898,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 +926,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 +934,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.apiVersion, - Parameters.skipToken, + Parameters.skipToken0, Parameters.filter ], headerParameters: [ @@ -767,7 +953,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 +989,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 +1016,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 +1050,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 +1122,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 +1182,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 +1218,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 +1250,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 +1317,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 +1333,7 @@ const beginReprotectOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], requestBody: { - parameterPath: "rrInput", + parameterPath: "reprotectInput", mapper: { ...Mappers.ReverseReplicationInput, required: true @@ -1064,9 +1351,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 +1405,7 @@ const beginTestFailoverOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], requestBody: { - parameterPath: "failoverInput", + parameterPath: "testfailoverInput", mapper: { ...Mappers.TestFailoverInput, required: true @@ -1102,7 +1425,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 +1461,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, @@ -1172,9 +1495,45 @@ const beginUnplannedFailoverOperationSpec: msRest.OperationSpec = { serializer }; +const beginUpdateApplianceOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/updateAppliance", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "applianceUpdateInput", + mapper: { + ...Mappers.UpdateApplianceForReplicationProtectedItemInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + 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 +1574,9 @@ const listByReplicationProtectionContainersNextOperationSpec: msRest.OperationSp urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1236,6 +1598,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 5050254986bd..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 @@ -20,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; @@ -37,8 +39,11 @@ 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. @@ -58,12 +63,15 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { super(credentials, subscriptionId, resourceGroupName, resourceName, options); this.operations = new operations.Operations(this); this.replicationAlertSettings = new operations.ReplicationAlertSettings(this); + this.replicationEligibilityResults = new operations.ReplicationEligibilityResultsOperations(this); this.replicationEvents = new operations.ReplicationEvents(this); this.replicationFabrics = new operations.ReplicationFabrics(this); this.replicationLogicalNetworks = new operations.ReplicationLogicalNetworks(this); this.replicationNetworks = new operations.ReplicationNetworks(this); this.replicationNetworkMappings = new operations.ReplicationNetworkMappings(this); this.replicationProtectionContainers = new operations.ReplicationProtectionContainers(this); + this.replicationMigrationItems = new operations.ReplicationMigrationItems(this); + this.migrationRecoveryPoints = new operations.MigrationRecoveryPoints(this); this.replicationProtectableItems = new operations.ReplicationProtectableItems(this); this.replicationProtectedItems = new operations.ReplicationProtectedItems(this); this.recoveryPoints = new operations.RecoveryPoints(this); @@ -75,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 7296861ef671..a894e693a3d7 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 @@ -10,8 +9,8 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; -import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-recoveryservices-siterecovery"; const packageVersion = "3.3.0"; @@ -54,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-06-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; @@ -71,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