diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/LICENSE.txt b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/LICENSE.txt index a70e8cf66038..ea8fb1516028 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) 2020 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md index 330bfc2c296c..d93489ddf657 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for SiteRecoveryManagementClient. ### How to Install -``` +```bash npm install @azure/arm-recoveryservices-siterecovery ``` @@ -19,13 +19,14 @@ npm install @azure/arm-recoveryservices-siterecovery ##### Install @azure/ms-rest-nodeauth -``` -npm install @azure/ms-rest-nodeauth +- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +```bash +npm install @azure/ms-rest-nodeauth@"^3.0.0" ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -47,7 +48,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -95,5 +96,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Frecoveryservicessiterecovery%2Farm-recoveryservices-siterecovery%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.png) diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json index 2b7af5044dfc..ecb3b37bd1cb 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json @@ -4,9 +4,9 @@ "description": "SiteRecoveryManagementClient Library with typescript type definitions for node.js and browser.", "version": "3.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,18 +20,19 @@ "module": "./esm/siteRecoveryManagementClient.js", "types": "./esm/siteRecoveryManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" + "typescript": "^3.5.3", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-sourcemaps": "^0.4.2", + "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/rollup.config.js b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/rollup.config.js index 9c289477ee2a..82f92e2780ba 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", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * 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..57f6e81cbba1 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. + * Licensed under the MIT License. See License.txt in the project root for license information. * * 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,352 +11,345 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - -/** - * Contains the possible cases for ApplyRecoveryPointProviderSpecificInput. - */ -export type ApplyRecoveryPointProviderSpecificInputUnion = ApplyRecoveryPointProviderSpecificInput | A2AApplyRecoveryPointInput | HyperVReplicaAzureApplyRecoveryPointInput | InMageAzureV2ApplyRecoveryPointInput; - /** - * @interface - * An interface representing ApplyRecoveryPointProviderSpecificInput. - * Provider specific input for apply recovery point. - * + * Azure VM disk input details. */ -export interface ApplyRecoveryPointProviderSpecificInput { +export interface A2AVmDiskInputDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk Uri. */ - instanceType: "ApplyRecoveryPointProviderSpecificInput"; + diskUri?: string; + /** + * The recovery VHD storage account Id. + */ + recoveryAzureStorageAccountId?: string; + /** + * The primary staging storage account Id. + */ + primaryStagingAzureStorageAccountId?: string; } /** - * @interface - * An interface representing A2AApplyRecoveryPointInput. - * ApplyRecoveryPoint input specific to A2A provider. - * + * Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows). */ -export interface A2AApplyRecoveryPointInput { +export interface DiskEncryptionKeyInfo { /** - * @member {string} instanceType Polymorphic Discriminator + * The secret URL / identifier. */ - instanceType: "A2A"; + secretIdentifier?: string; + /** + * The KeyVault resource ARM Id for secret. + */ + keyVaultResourceArmId?: string; } /** - * Contains the possible cases for ReplicationProviderSpecificContainerCreationInput. + * Key Encryption Key (KEK) information. */ -export type ReplicationProviderSpecificContainerCreationInputUnion = ReplicationProviderSpecificContainerCreationInput | A2AContainerCreationInput; +export interface KeyEncryptionKeyInfo { + /** + * The key URL / identifier. + */ + keyIdentifier?: string; + /** + * The KeyVault resource ARM Id for key. + */ + keyVaultResourceArmId?: string; +} /** - * @interface - * An interface representing ReplicationProviderSpecificContainerCreationInput. - * Provider specific input for container creation operation. - * + * Recovery disk encryption info (BEK and KEK). */ -export interface ReplicationProviderSpecificContainerCreationInput { +export interface DiskEncryptionInfo { /** - * @member {string} instanceType Polymorphic Discriminator + * The recovery KeyVault reference for secret. */ - instanceType: "ReplicationProviderSpecificContainerCreationInput"; + diskEncryptionKeyInfo?: DiskEncryptionKeyInfo; + /** + * The recovery KeyVault reference for key. + */ + keyEncryptionKeyInfo?: KeyEncryptionKeyInfo; } /** - * @interface - * An interface representing A2AContainerCreationInput. - * A2A cloud creation input. - * + * Azure VM managed disk input details. */ -export interface A2AContainerCreationInput { +export interface A2AVmManagedDiskInputDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk Id. */ - instanceType: "A2A"; + 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 ReplicationProviderSpecificContainerMappingInput. + * Contains the possible cases for AddDisksProviderSpecificInput. */ -export type ReplicationProviderSpecificContainerMappingInputUnion = ReplicationProviderSpecificContainerMappingInput | A2AContainerMappingInput; +export type AddDisksProviderSpecificInputUnion = AddDisksProviderSpecificInput | A2AAddDisksInput; /** - * @interface - * An interface representing ReplicationProviderSpecificContainerMappingInput. - * Provider specific input for pairing operations. - * + * Add Disks provider specific input. */ -export interface ReplicationProviderSpecificContainerMappingInput { +export interface AddDisksProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "ReplicationProviderSpecificContainerMappingInput"; + instanceType: "AddDisksProviderSpecificInput"; } /** - * @interface - * An interface representing A2AContainerMappingInput. - * A2A container mapping input. - * + * A2A add disk(s) input. */ -export interface A2AContainerMappingInput { +export interface A2AAddDisksInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {AgentAutoUpdateStatus} [agentAutoUpdateStatus] A value indicating - * whether the auto update is enabled. Possible values include: 'Disabled', - * 'Enabled' + * The list of vm disk details. */ - agentAutoUpdateStatus?: AgentAutoUpdateStatus; + vmDisks?: A2AVmDiskInputDetails[]; /** - * @member {string} [automationAccountArmId] The automation account arm id. + * The list of vm managed disk details. */ - automationAccountArmId?: string; + vmManagedDisks?: A2AVmManagedDiskInputDetails[]; } /** - * @interface - * An interface representing A2AVmDiskInputDetails. - * Azure VM disk input details. - * + * Contains the possible cases for ApplyRecoveryPointProviderSpecificInput. */ -export interface A2AVmDiskInputDetails { - /** - * @member {string} [diskUri] The disk Uri. - */ - diskUri?: string; - /** - * @member {string} [recoveryAzureStorageAccountId] The recovery VHD storage - * account Id. - */ - recoveryAzureStorageAccountId?: string; +export type ApplyRecoveryPointProviderSpecificInputUnion = ApplyRecoveryPointProviderSpecificInput | A2AApplyRecoveryPointInput | HyperVReplicaAzureApplyRecoveryPointInput | InMageAzureV2ApplyRecoveryPointInput | InMageRcmApplyRecoveryPointInput; + +/** + * Provider specific input for apply recovery point. + */ +export interface ApplyRecoveryPointProviderSpecificInput { /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account Id. + * Polymorphic Discriminator */ - primaryStagingAzureStorageAccountId?: string; + instanceType: "ApplyRecoveryPointProviderSpecificInput"; } /** - * @interface - * An interface representing A2AVmManagedDiskInputDetails. - * Azure VM managed disk input details. - * + * ApplyRecoveryPoint input specific to A2A provider. */ -export interface A2AVmManagedDiskInputDetails { - /** - * @member {string} [diskId] The disk Id. - */ - diskId?: string; - /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account Arm Id. - */ - primaryStagingAzureStorageAccountId?: string; - /** - * @member {string} [recoveryResourceGroupId] The target resource group Arm - * Id. - */ - recoveryResourceGroupId?: string; - /** - * @member {string} [recoveryReplicaDiskAccountType] The replica disk type. - * Its an optional value and will be same as source disk type if not user - * provided. - */ - recoveryReplicaDiskAccountType?: string; +export interface A2AApplyRecoveryPointInput { /** - * @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. + * Polymorphic Discriminator */ - recoveryTargetDiskAccountType?: string; + instanceType: "A2A"; } /** - * @interface - * An interface representing DiskEncryptionKeyInfo. - * Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows). - * + * Contains the possible cases for ReplicationProviderSpecificContainerCreationInput. */ -export interface DiskEncryptionKeyInfo { - /** - * @member {string} [secretIdentifier] The secret url / identifier. - */ - secretIdentifier?: string; +export type ReplicationProviderSpecificContainerCreationInputUnion = ReplicationProviderSpecificContainerCreationInput | A2AContainerCreationInput | VMwareCbtContainerCreationInput; + +/** + * Provider specific input for container creation operation. + */ +export interface ReplicationProviderSpecificContainerCreationInput { /** - * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for - * secret. + * Polymorphic Discriminator */ - keyVaultResourceArmId?: string; + instanceType: "ReplicationProviderSpecificContainerCreationInput"; } /** - * @interface - * An interface representing KeyEncryptionKeyInfo. - * Key Encryption Key (KEK) information. - * + * A2A cloud creation input. */ -export interface KeyEncryptionKeyInfo { +export interface A2AContainerCreationInput { /** - * @member {string} [keyIdentifier] The key url / identifier. + * Polymorphic Discriminator */ - keyIdentifier?: string; + instanceType: "A2A"; +} + +/** + * Contains the possible cases for ReplicationProviderSpecificContainerMappingInput. + */ +export type ReplicationProviderSpecificContainerMappingInputUnion = ReplicationProviderSpecificContainerMappingInput | A2AContainerMappingInput | VMwareCbtContainerMappingInput; + +/** + * Provider specific input for pairing operations. + */ +export interface ReplicationProviderSpecificContainerMappingInput { /** - * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for - * key. + * Polymorphic Discriminator */ - keyVaultResourceArmId?: string; + instanceType: "ReplicationProviderSpecificContainerMappingInput"; } /** - * @interface - * An interface representing DiskEncryptionInfo. - * Recovery disk encryption info (BEK and KEK). - * + * A2A container mapping input. */ -export interface DiskEncryptionInfo { +export interface A2AContainerMappingInput { /** - * @member {DiskEncryptionKeyInfo} [diskEncryptionKeyInfo] The recovery - * KeyVault reference for secret. + * Polymorphic Discriminator */ - diskEncryptionKeyInfo?: DiskEncryptionKeyInfo; + instanceType: "A2A"; /** - * @member {KeyEncryptionKeyInfo} [keyEncryptionKeyInfo] The recovery - * KeyVault reference for key. + * A value indicating whether the auto update is enabled. Possible values include: 'Disabled', + * 'Enabled' */ - keyEncryptionKeyInfo?: KeyEncryptionKeyInfo; + agentAutoUpdateStatus?: AgentAutoUpdateStatus; + /** + * The automation account arm id. + */ + automationAccountArmId?: string; } /** * Contains the possible cases for EnableProtectionProviderSpecificInput. */ -export type EnableProtectionProviderSpecificInputUnion = EnableProtectionProviderSpecificInput | A2AEnableProtectionInput | HyperVReplicaAzureEnableProtectionInput | InMageAzureV2EnableProtectionInput | InMageEnableProtectionInput | SanEnableProtectionInput; +export type EnableProtectionProviderSpecificInputUnion = EnableProtectionProviderSpecificInput | A2AEnableProtectionInput | HyperVReplicaAzureEnableProtectionInput | InMageAzureV2EnableProtectionInput | InMageEnableProtectionInput | InMageRcmEnableProtectionInput | SanEnableProtectionInput; /** - * @interface - * An interface representing EnableProtectionProviderSpecificInput. * Enable protection provider specific input. - * */ export interface EnableProtectionProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "EnableProtectionProviderSpecificInput"; } /** - * @interface - * An interface representing A2AEnableProtectionInput. * A2A enable protection input. - * */ export interface A2AEnableProtectionInput { /** - * @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} [recoveryContainerId] The recovery container Id. + * The recovery container Id. */ recoveryContainerId?: string; /** - * @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 - * Id. + * The recovery availability set Id. */ recoveryAvailabilitySetId?: string; /** - * @member {A2AVmDiskInputDetails[]} [vmDisks] The list of vm disk details. + * The recovery proximity placement group Id. + */ + recoveryProximityPlacementGroupId?: string; + /** + * 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} [multiVmGroupName] The multi vm group name. + * The multi vm group name. */ multiVmGroupName?: 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 disk encryption information. */ diskEncryptionInfo?: DiskEncryptionInfo; + /** + * The recovery availability zone. + */ + recoveryAvailabilityZone?: string; + /** + * The recovery Azure virtual network ARM id. + */ + recoveryAzureNetworkId?: string; + /** + * The recovery subnet name. + */ + recoverySubnetName?: string; } /** * Contains the possible cases for EventProviderSpecificDetails. */ -export type EventProviderSpecificDetailsUnion = EventProviderSpecificDetails | A2AEventDetails | HyperVReplica2012EventDetails | HyperVReplica2012R2EventDetails | HyperVReplicaAzureEventDetails | HyperVReplicaBaseEventDetails | InMageAzureV2EventDetails; +export type EventProviderSpecificDetailsUnion = EventProviderSpecificDetails | A2AEventDetails | HyperVReplica2012EventDetails | HyperVReplica2012R2EventDetails | HyperVReplicaAzureEventDetails | HyperVReplicaBaseEventDetails | InMageAzureV2EventDetails | InMageRcmEventDetails; /** - * @interface - * An interface representing EventProviderSpecificDetails. * Model class for provider specific details for an event. - * */ export interface EventProviderSpecificDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "EventProviderSpecificDetails"; } /** - * @interface - * An interface representing A2AEventDetails. * Model class for event details of a A2A event. - * */ export interface A2AEventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [protectedItemName] The protected item arm name. + * The protected item arm name. */ protectedItemName?: string; /** - * @member {string} [fabricObjectId] The azure vm arm id. + * The azure vm arm id. */ fabricObjectId?: string; /** - * @member {string} [fabricName] Fabric arm name. + * Fabric arm name. */ fabricName?: string; /** - * @member {string} [fabricLocation] The fabric location. + * The fabric location. */ fabricLocation?: string; /** - * @member {string} [remoteFabricName] Remote fabric arm name. + * Remote fabric arm name. */ remoteFabricName?: string; /** - * @member {string} [remoteFabricLocation] Remote fabric location. + * Remote fabric location. */ remoteFabricLocation?: string; } @@ -369,38 +360,30 @@ export interface A2AEventDetails { export type ProviderSpecificFailoverInputUnion = ProviderSpecificFailoverInput | A2AFailoverProviderInput | HyperVReplicaAzureFailbackProviderInput | HyperVReplicaAzureFailoverProviderInput | InMageAzureV2FailoverProviderInput | InMageFailoverProviderInput; /** - * @interface - * An interface representing ProviderSpecificFailoverInput. * Provider specific failover input. - * */ export interface ProviderSpecificFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ProviderSpecificFailoverInput"; } /** - * @interface - * An interface representing A2AFailoverProviderInput. * A2A provider specific input for failover. - * */ export interface A2AFailoverProviderInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [recoveryPointId] The recovery point id to be passed to - * failover to a particular recovery point. In case of latest recovery point, - * null should be passed. + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ recoveryPointId?: string; /** - * @member {string} [cloudServiceCreationOption] A value indicating whether - * to use recovery cloud service for TFO or not. + * A value indicating whether to use recovery cloud service for TFO or not. */ cloudServiceCreationOption?: string; } @@ -408,50 +391,40 @@ export interface A2AFailoverProviderInput { /** * Contains the possible cases for PolicyProviderSpecificInput. */ -export type PolicyProviderSpecificInputUnion = PolicyProviderSpecificInput | A2APolicyCreationInput | HyperVReplicaAzurePolicyInput | HyperVReplicaBluePolicyInput | HyperVReplicaPolicyInput | InMageAzureV2PolicyInput | InMagePolicyInput | VMwareCbtPolicyCreationInput; +export type PolicyProviderSpecificInputUnion = PolicyProviderSpecificInput | A2APolicyCreationInput | HyperVReplicaAzurePolicyInput | HyperVReplicaBluePolicyInput | HyperVReplicaPolicyInput | InMageAzureV2PolicyInput | InMagePolicyInput | InMageRcmPolicyCreationInput | VMwareCbtPolicyCreationInput; /** - * @interface - * An interface representing PolicyProviderSpecificInput. * Base class for provider specific input - * */ export interface PolicyProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "PolicyProviderSpecificInput"; } /** - * @interface - * An interface representing A2APolicyCreationInput. * A2A Policy creation input. - * */ export interface A2APolicyCreationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The duration in minutes until which the recovery points need to be stored. */ recoveryPointHistory?: number; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency (in minutes). + * The crash consistent snapshot frequency (in minutes). */ crashConsistentFrequencyInMinutes?: number; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency (in minutes). + * The app consistent snapshot frequency (in minutes). */ appConsistentFrequencyInMinutes?: number; /** - * @member {SetMultiVmSyncStatus} multiVmSyncStatus A value indicating - * whether multi-VM sync has to be enabled. Value should be 'Enabled' or + * A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or * 'Disabled'. Possible values include: 'Enable', 'Disable' */ multiVmSyncStatus: SetMultiVmSyncStatus; @@ -460,311 +433,292 @@ export interface A2APolicyCreationInput { /** * Contains the possible cases for PolicyProviderSpecificDetails. */ -export type PolicyProviderSpecificDetailsUnion = PolicyProviderSpecificDetails | A2APolicyDetails | HyperVReplicaAzurePolicyDetails | HyperVReplicaBasePolicyDetails | HyperVReplicaBluePolicyDetails | HyperVReplicaPolicyDetails | InMageAzureV2PolicyDetails | InMageBasePolicyDetails | InMagePolicyDetails | RcmAzureMigrationPolicyDetails | VmwareCbtPolicyDetails; +export type PolicyProviderSpecificDetailsUnion = PolicyProviderSpecificDetails | A2APolicyDetails | HyperVReplicaAzurePolicyDetails | HyperVReplicaBasePolicyDetails | HyperVReplicaBluePolicyDetails | HyperVReplicaPolicyDetails | InMageAzureV2PolicyDetails | InMageBasePolicyDetails | InMagePolicyDetails | InMageRcmPolicyDetails | RcmAzureMigrationPolicyDetails | VmwareCbtPolicyDetails; /** - * @interface - * An interface representing PolicyProviderSpecificDetails. * Base class for Provider specific details for policies. - * */ export interface PolicyProviderSpecificDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "PolicyProviderSpecificDetails"; } /** - * @interface - * An interface representing A2APolicyDetails. * A2A specific policy details. - * */ export interface A2APolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * The recovery point threshold in minutes. */ recoveryPointThresholdInMinutes?: number; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The duration in minutes until which the recovery points need to be stored. */ recoveryPointHistory?: number; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The app consistent snapshot frequency in minutes. */ appConsistentFrequencyInMinutes?: number; /** - * @member {string} [multiVmSyncStatus] A value indicating whether multi-VM - * sync has to be enabled. + * A value indicating whether multi-VM sync has to be enabled. */ multiVmSyncStatus?: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The crash consistent snapshot frequency in minutes. */ crashConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing A2AProtectedDiskDetails. * A2A protected disk details. - * */ export interface A2AProtectedDiskDetails { /** - * @member {string} [diskUri] The disk uri. + * The disk uri. */ diskUri?: string; /** - * @member {string} [recoveryAzureStorageAccountId] The recovery disk storage - * account. + * The recovery disk storage account. */ recoveryAzureStorageAccountId?: string; /** - * @member {string} [primaryDiskAzureStorageAccountId] The primary disk - * storage account. + * The primary disk storage account. */ primaryDiskAzureStorageAccountId?: string; /** - * @member {string} [recoveryDiskUri] Recovery disk uri. + * Recovery disk uri. */ recoveryDiskUri?: string; /** - * @member {string} [diskName] The disk name. + * The disk name. */ diskName?: string; /** - * @member {number} [diskCapacityInBytes] The disk capacity in bytes. + * The disk capacity in bytes. */ diskCapacityInBytes?: number; /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account. + * The primary staging storage account. */ primaryStagingAzureStorageAccountId?: string; /** - * @member {string} [diskType] The type of disk. + * The type of disk. */ diskType?: string; /** - * @member {boolean} [resyncRequired] A value indicating whether resync is - * required for this disk. + * A value indicating whether resync is required for this disk. */ resyncRequired?: boolean; /** - * @member {number} [monitoringPercentageCompletion] The percentage of the - * monitoring job. The type of the monitoring job is defined by + * The percentage of the monitoring job. The type of the monitoring job is defined by * MonitoringJobType property. */ monitoringPercentageCompletion?: number; /** - * @member {string} [monitoringJobType] The type of the monitoring job. The - * progress is contained in MonitoringPercentageCompletion property. + * The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion + * property. */ monitoringJobType?: string; /** - * @member {number} [dataPendingInStagingStorageAccountInMB] The data pending - * for replication in MB at staging account. + * The data pending for replication in MB at staging account. */ dataPendingInStagingStorageAccountInMB?: number; /** - * @member {number} [dataPendingAtSourceAgentInMB] The data pending at source - * virtual machine in MB. + * The data pending at source virtual machine in MB. */ dataPendingAtSourceAgentInMB?: number; /** - * @member {boolean} [isDiskEncrypted] A value indicating whether vm has - * encrypted os disk or not. + * The disk state. + */ + diskState?: string; + /** + * The disk level operations list. + */ + allowedDiskLevelOperation?: string[]; + /** + * A value indicating whether vm has encrypted os disk or not. */ isDiskEncrypted?: boolean; /** - * @member {string} [secretIdentifier] The secret URL / identifier (BEK). + * The secret URL / identifier (BEK). */ secretIdentifier?: string; /** - * @member {string} [dekKeyVaultArmId] The KeyVault resource id for secret - * (BEK). + * The KeyVault resource id for secret (BEK). */ dekKeyVaultArmId?: string; /** - * @member {boolean} [isDiskKeyEncrypted] A value indicating whether disk key - * got encrypted or not. + * A value indicating whether disk key got encrypted or not. */ isDiskKeyEncrypted?: boolean; /** - * @member {string} [keyIdentifier] The key URL / identifier (KEK). + * The key URL / identifier (KEK). */ keyIdentifier?: string; /** - * @member {string} [kekKeyVaultArmId] The KeyVault resource id for key - * (KEK). + * The KeyVault resource id for key (KEK). */ kekKeyVaultArmId?: string; } /** - * @interface - * An interface representing A2AProtectedManagedDiskDetails. * A2A protected managed disk details. - * */ export interface A2AProtectedManagedDiskDetails { /** - * @member {string} [diskId] The managed disk Arm id. + * The managed disk Arm id. */ diskId?: string; /** - * @member {string} [recoveryResourceGroupId] The recovery disk resource - * group Arm Id. + * The recovery disk resource group Arm Id. */ recoveryResourceGroupId?: string; /** - * @member {string} [recoveryTargetDiskId] Recovery target disk Arm Id. + * Recovery target disk Arm Id. */ recoveryTargetDiskId?: string; /** - * @member {string} [recoveryReplicaDiskId] Recovery replica disk Arm Id. + * Recovery replica disk Arm Id. */ recoveryReplicaDiskId?: string; /** - * @member {string} [recoveryReplicaDiskAccountType] The replica disk type. - * Its an optional value and will be same as source disk type if not user + * The replica disk type. Its an optional value and will be same as source disk type if not user * provided. */ recoveryReplicaDiskAccountType?: string; /** - * @member {string} [recoveryTargetDiskAccountType] The target disk type - * after failover. Its an optional value and will be same as source disk type - * if not user provided. + * The target disk type after failover. Its an optional value and will be same as source disk + * type if not user provided. */ recoveryTargetDiskAccountType?: string; /** - * @member {string} [diskName] The disk name. + * The recovery disk encryption set Id. + */ + recoveryDiskEncryptionSetId?: string; + /** + * The disk name. */ diskName?: string; /** - * @member {number} [diskCapacityInBytes] The disk capacity in bytes. + * The disk capacity in bytes. */ diskCapacityInBytes?: number; /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account. + * The primary staging storage account. */ primaryStagingAzureStorageAccountId?: string; /** - * @member {string} [diskType] The type of disk. + * The type of disk. */ diskType?: string; /** - * @member {boolean} [resyncRequired] A value indicating whether resync is - * required for this disk. + * A value indicating whether resync is required for this disk. */ resyncRequired?: boolean; /** - * @member {number} [monitoringPercentageCompletion] The percentage of the - * monitoring job. The type of the monitoring job is defined by + * The percentage of the monitoring job. The type of the monitoring job is defined by * MonitoringJobType property. */ monitoringPercentageCompletion?: number; /** - * @member {string} [monitoringJobType] The type of the monitoring job. The - * progress is contained in MonitoringPercentageCompletion property. + * The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion + * property. */ monitoringJobType?: string; /** - * @member {number} [dataPendingInStagingStorageAccountInMB] The data pending - * for replication in MB at staging account. + * The data pending for replication in MB at staging account. */ dataPendingInStagingStorageAccountInMB?: number; /** - * @member {number} [dataPendingAtSourceAgentInMB] The data pending at source - * virtual machine in MB. + * The data pending at source virtual machine in MB. */ dataPendingAtSourceAgentInMB?: number; /** - * @member {boolean} [isDiskEncrypted] A value indicating whether vm has - * encrypted os disk or not. + * The disk state. + */ + diskState?: string; + /** + * The disk level operations list. + */ + allowedDiskLevelOperation?: string[]; + /** + * A value indicating whether vm has encrypted os disk or not. */ isDiskEncrypted?: boolean; /** - * @member {string} [secretIdentifier] The secret URL / identifier (BEK). + * The secret URL / identifier (BEK). */ secretIdentifier?: string; /** - * @member {string} [dekKeyVaultArmId] The KeyVault resource id for secret - * (BEK). + * The KeyVault resource id for secret (BEK). */ dekKeyVaultArmId?: string; /** - * @member {boolean} [isDiskKeyEncrypted] A value indicating whether disk key - * got encrypted or not. + * A value indicating whether disk key got encrypted or not. */ isDiskKeyEncrypted?: boolean; /** - * @member {string} [keyIdentifier] The key URL / identifier (KEK). + * The key URL / identifier (KEK). */ keyIdentifier?: string; /** - * @member {string} [kekKeyVaultArmId] The KeyVault resource id for key - * (KEK). + * The KeyVault resource id for key (KEK). */ kekKeyVaultArmId?: string; + /** + * The failover name for the managed disk. + */ + failoverDiskName?: string; + /** + * The test failover name for the managed disk. + */ + tfoDiskName?: string; } /** * Contains the possible cases for ProtectionContainerMappingProviderSpecificDetails. */ -export type ProtectionContainerMappingProviderSpecificDetailsUnion = ProtectionContainerMappingProviderSpecificDetails | A2AProtectionContainerMappingDetails; +export type ProtectionContainerMappingProviderSpecificDetailsUnion = ProtectionContainerMappingProviderSpecificDetails | A2AProtectionContainerMappingDetails | VMwareCbtProtectionContainerMappingDetails; /** - * @interface - * An interface representing ProtectionContainerMappingProviderSpecificDetails. * Container mapping provider specific details. - * */ export interface ProtectionContainerMappingProviderSpecificDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ProtectionContainerMappingProviderSpecificDetails"; } /** - * @interface - * An interface representing A2AProtectionContainerMappingDetails. * A2A provider specific settings. - * */ export interface A2AProtectionContainerMappingDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {AgentAutoUpdateStatus} [agentAutoUpdateStatus] A value indicating - * whether the auto update is enabled. Possible values include: 'Disabled', + * A value indicating whether the auto update is enabled. Possible values include: 'Disabled', * 'Enabled' */ agentAutoUpdateStatus?: AgentAutoUpdateStatus; /** - * @member {string} [automationAccountArmId] The automation account arm id. + * The automation account arm id. */ automationAccountArmId?: string; /** - * @member {string} [scheduleName] The schedule arm name. + * The schedule arm name. */ scheduleName?: string; /** - * @member {string} [jobScheduleName] The job schedule arm name. + * The job schedule arm name. */ jobScheduleName?: string; } @@ -772,176 +726,246 @@ export interface A2AProtectionContainerMappingDetails { /** * Contains the possible cases for ProviderSpecificRecoveryPointDetails. */ -export type ProviderSpecificRecoveryPointDetailsUnion = ProviderSpecificRecoveryPointDetails | A2ARecoveryPointDetails | InMageAzureV2RecoveryPointDetails; +export type ProviderSpecificRecoveryPointDetailsUnion = ProviderSpecificRecoveryPointDetails | A2ARecoveryPointDetails | InMageAzureV2RecoveryPointDetails | InMageRcmRecoveryPointDetails; /** - * @interface - * An interface representing ProviderSpecificRecoveryPointDetails. * Replication provider specific recovery point details. - * */ export interface ProviderSpecificRecoveryPointDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ProviderSpecificRecoveryPointDetails"; } /** - * @interface - * An interface representing A2ARecoveryPointDetails. * A2A provider specific recovery point details. - * */ export interface A2ARecoveryPointDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {RecoveryPointSyncType} [recoveryPointSyncType] A value indicating - * whether the recovery point is multi VM consistent. Possible values - * include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' + * A value indicating whether the recovery point is multi VM consistent. Possible values include: + * 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' */ recoveryPointSyncType?: RecoveryPointSyncType; + /** + * List of disk ids representing a recovery point. + */ + disks?: string[]; } /** - * @interface - * An interface representing VMNicDetails. - * Hyper V VM network details. - * + * Contains the possible cases for RemoveDisksProviderSpecificInput. */ -export interface VMNicDetails { +export type RemoveDisksProviderSpecificInputUnion = RemoveDisksProviderSpecificInput | A2ARemoveDisksInput; + +/** + * Remove Disk provider specific input. + */ +export interface RemoveDisksProviderSpecificInput { /** - * @member {string} [nicId] The nic Id. + * Polymorphic Discriminator */ - nicId?: string; + instanceType: "RemoveDisksProviderSpecificInput"; +} + +/** + * A2A remove disk(s) input. + */ +export interface A2ARemoveDisksInput { /** - * @member {string} [replicaNicId] The replica nic Id. + * Polymorphic Discriminator */ - replicaNicId?: string; + instanceType: "A2A"; /** - * @member {string} [sourceNicArmId] The source nic ARM Id. + * The list of vm disk vhd URIs. */ - sourceNicArmId?: string; + vmDisksUris?: string[]; /** - * @member {string} [vMSubnetName] VM subnet name. + * The list of vm managed disk Ids. */ - vMSubnetName?: string; + vmManagedDisksIds?: string[]; +} + +/** + * A2A unprotected disk details. + */ +export interface A2AUnprotectedDiskDetails { /** - * @member {string} [vMNetworkName] VM network name. + * The source lun Id for the data disk. + */ + diskLunId?: number; +} + +/** + * IP configuration details. + */ +export interface IPConfig { + /** + * The static IP address of the IP configuration. + */ + staticIPAddress?: string; + /** + * The Id of the public IP address associated with the IP configuration. + */ + publicIpAddressId?: string; + /** + * The backend address pools associated with the IP configuration. + */ + lBBackendAddressPoolIds?: string[]; +} + +/** + * Hyper V VM network details. + */ +export interface VMNicDetails { + /** + * The nic Id. + */ + nicId?: string; + /** + * The replica nic Id. + */ + replicaNicId?: string; + /** + * The source nic ARM Id. + */ + sourceNicArmId?: string; + /** + * VM subnet name. + */ + vMSubnetName?: string; + /** + * VM network name. */ vMNetworkName?: string; /** - * @member {string} [recoveryVMNetworkId] Recovery VM network Id. + * Recovery VM network Id. */ recoveryVMNetworkId?: string; /** - * @member {string} [recoveryVMSubnetName] Recovery VM subnet name. + * Recovery VM subnet name. */ recoveryVMSubnetName?: string; /** - * @member {string} [ipAddressType] Ip address type. + * Ip address type. */ ipAddressType?: string; /** - * @member {string} [primaryNicStaticIPAddress] Primary nic static IP - * address. + * Primary nic static IP address. */ primaryNicStaticIPAddress?: string; /** - * @member {string} [replicaNicStaticIPAddress] Replica nic static IP - * address. + * Replica nic static IP address. */ replicaNicStaticIPAddress?: string; /** - * @member {string} [selectionType] Selection type for failover. + * Selection type for failover. */ selectionType?: string; /** - * @member {string} [recoveryNicIpAddressType] IP allocation type for - * recovery VM. + * IP allocation type for recovery VM. */ recoveryNicIpAddressType?: string; /** - * @member {boolean} [enableAcceleratedNetworkingOnRecovery] A value - * indicating whether the NIC has accerated networking enabled. + * The id of the public IP address resource associated with the NIC. + */ + recoveryPublicIpAddressId?: string; + /** + * The id of the NSG associated with the NIC. + */ + recoveryNetworkSecurityGroupId?: string; + /** + * The target backend address pools for the NIC. + */ + recoveryLBBackendAddressPoolIds?: string[]; + /** + * A value indicating whether the NIC has accelerated networking enabled. */ enableAcceleratedNetworkingOnRecovery?: boolean; -} - -/** - * @interface - * An interface representing RoleAssignment. - * Azure role assignment details. - * - */ -export interface RoleAssignment { /** - * @member {string} [id] The ARM Id of the role assignment. + * The network to be used by NIC during test failover. */ - id?: string; + tfoVMNetworkId?: string; /** - * @member {string} [name] The name of the role assignment. + * The subnet to be used by NIC during test failover. */ - name?: string; + tfoVMSubnetName?: string; /** - * @member {string} [scope] Role assignment scope. + * The NSG to be used by NIC during test failover. */ - scope?: string; + tfoNetworkSecurityGroupId?: string; /** - * @member {string} [principalId] Principal Id. + * Whether the test failover NIC has accelerated networking enabled. */ - principalId?: string; + enableAcceleratedNetworkingOnTfo?: boolean; /** - * @member {string} [roleDefinitionId] Role definition id. + * The IP configurations to be used by NIC during test failover. */ - roleDefinitionId?: string; + tfoIPConfigs?: IPConfig[]; + /** + * The name of the NIC to be used when creating target NICs. + */ + recoveryNicName?: string; + /** + * The resource group of the NIC to be used when creating target NICs. + */ + recoveryNicResourceGroupName?: string; + /** + * A value indicating whether an existing NIC is allowed to be reused during failover subject to + * availability. Default value: false. + */ + reuseExistingNic?: boolean; + /** + * The name of the NIC to be used when creating target NICs in TFO. + */ + tfoRecoveryNicName?: string; + /** + * The resource group of the NIC to be used when creating target NICs in TFO. + */ + tfoRecoveryNicResourceGroupName?: string; + /** + * A value indicating whether an existing NIC is allowed to be reused during test failover + * subject to availability. Default value: false. + */ + tfoReuseExistingNic?: boolean; } /** - * @interface - * An interface representing InputEndpoint. * Azure VM input endpoint details. - * */ export interface InputEndpoint { /** - * @member {string} [endpointName] The input endpoint name. + * The input endpoint name. */ endpointName?: string; /** - * @member {number} [privatePort] The input endpoint private port. + * The input endpoint private port. */ privatePort?: number; /** - * @member {number} [publicPort] The input endpoint public port. + * The input endpoint public port. */ publicPort?: number; /** - * @member {string} [protocol] The input endpoint protocol. + * The input endpoint protocol. */ protocol?: string; } /** - * @interface - * An interface representing AzureToAzureVmSyncedConfigDetails. * Azure to Azure VM synced configuration details. - * */ export interface AzureToAzureVmSyncedConfigDetails { /** - * @member {{ [propertyName: string]: string }} [tags] The Azure VM tags. + * The Azure VM tags. */ tags?: { [propertyName: string]: string }; /** - * @member {RoleAssignment[]} [roleAssignments] The Azure role assignments. - */ - roleAssignments?: RoleAssignment[]; - /** - * @member {InputEndpoint[]} [inputEndpoints] The Azure VM input endpoints. + * The Azure VM input endpoints. */ inputEndpoints?: InputEndpoint[]; } @@ -949,179 +973,202 @@ export interface AzureToAzureVmSyncedConfigDetails { /** * Contains the possible cases for ReplicationProviderSpecificSettings. */ -export type ReplicationProviderSpecificSettingsUnion = ReplicationProviderSpecificSettings | A2AReplicationDetails | HyperVReplicaAzureReplicationDetails | HyperVReplicaBaseReplicationDetails | HyperVReplicaBlueReplicationDetails | HyperVReplicaReplicationDetails | InMageAzureV2ReplicationDetails | InMageReplicationDetails; +export type ReplicationProviderSpecificSettingsUnion = ReplicationProviderSpecificSettings | A2AReplicationDetails | HyperVReplicaAzureReplicationDetails | HyperVReplicaBaseReplicationDetails | HyperVReplicaBlueReplicationDetails | HyperVReplicaReplicationDetails | InMageAzureV2ReplicationDetails | InMageRcmReplicationDetails | InMageReplicationDetails; /** - * @interface - * An interface representing ReplicationProviderSpecificSettings. * Replication provider specific settings. - * */ export interface ReplicationProviderSpecificSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ReplicationProviderSpecificSettings"; } /** - * @interface - * An interface representing A2AReplicationDetails. * A2A provider specific settings. - * */ export interface A2AReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [fabricObjectId] The fabric specific object Id of the - * virtual machine. + * The fabric specific object Id of the virtual machine. */ fabricObjectId?: string; /** - * @member {string} [multiVmGroupId] The multi vm group Id. + * The initial primary fabric location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialPrimaryFabricLocation?: string; + /** + * The initial recovery fabric location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialRecoveryFabricLocation?: string; + /** + * The initial primary availability zone. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialPrimaryZone?: string; + /** + * The initial recovery availability zone. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly initialRecoveryZone?: string; + /** + * The multi vm group Id. */ multiVmGroupId?: string; /** - * @member {string} [multiVmGroupName] The multi vm group name. + * The multi vm group name. */ multiVmGroupName?: string; /** - * @member {MultiVmGroupCreateOption} [multiVmGroupCreateOption] Whether - * Multi VM group is auto created or specified by user. Possible values - * include: 'AutoCreated', 'UserSpecified' + * Whether Multi VM group is auto created or specified by user. Possible values include: + * 'AutoCreated', 'UserSpecified' */ multiVmGroupCreateOption?: MultiVmGroupCreateOption; /** - * @member {string} [managementId] The management Id. + * The management Id. */ managementId?: string; /** - * @member {A2AProtectedDiskDetails[]} [protectedDisks] The list of protected - * disks. + * The list of protected disks. */ protectedDisks?: A2AProtectedDiskDetails[]; /** - * @member {A2AProtectedManagedDiskDetails[]} [protectedManagedDisks] The - * list of protected managed disks. + * The list of unprotected disks. + */ + unprotectedDisks?: A2AUnprotectedDiskDetails[]; + /** + * The list of protected managed disks. */ protectedManagedDisks?: A2AProtectedManagedDiskDetails[]; /** - * @member {string} [recoveryBootDiagStorageAccountId] The recovery boot - * diagnostic storage account Arm Id. + * The recovery boot diagnostic storage account Arm Id. */ recoveryBootDiagStorageAccountId?: string; /** - * @member {string} [primaryFabricLocation] Primary fabric location. + * Primary fabric location. */ primaryFabricLocation?: string; /** - * @member {string} [recoveryFabricLocation] The recovery fabric location. + * The recovery fabric location. */ recoveryFabricLocation?: string; /** - * @member {string} [osType] The type of operating system. + * The type of operating system. */ osType?: string; /** - * @member {string} [recoveryAzureVMSize] The size of recovery virtual - * machine. + * The size of recovery virtual machine. */ recoveryAzureVMSize?: string; /** - * @member {string} [recoveryAzureVMName] The name of recovery virtual - * machine. + * The name of recovery virtual machine. */ recoveryAzureVMName?: string; /** - * @member {string} [recoveryAzureResourceGroupId] The recovery resource - * group. + * The recovery resource group. */ recoveryAzureResourceGroupId?: string; /** - * @member {string} [recoveryCloudService] The recovery cloud service. + * The recovery cloud service. */ recoveryCloudService?: string; /** - * @member {string} [recoveryAvailabilitySet] The recovery availability set. + * The recovery availability set. */ recoveryAvailabilitySet?: string; /** - * @member {string} [selectedRecoveryAzureNetworkId] The recovery virtual - * network. + * The recovery virtual network. */ selectedRecoveryAzureNetworkId?: string; /** - * @member {VMNicDetails[]} [vmNics] The virtual machine nic details. + * The test failover virtual network. + */ + selectedTfoAzureNetworkId?: string; + /** + * The virtual machine nic details. */ vmNics?: VMNicDetails[]; /** - * @member {AzureToAzureVmSyncedConfigDetails} [vmSyncedConfigDetails] The - * synced configuration details. + * The synced configuration details. */ vmSyncedConfigDetails?: AzureToAzureVmSyncedConfigDetails; /** - * @member {number} [monitoringPercentageCompletion] The percentage of the - * monitoring job. The type of the monitoring job is defined by + * The percentage of the monitoring job. The type of the monitoring job is defined by * MonitoringJobType property. */ monitoringPercentageCompletion?: number; /** - * @member {string} [monitoringJobType] The type of the monitoring job. The - * progress is contained in MonitoringPercentageCompletion property. + * The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion + * property. */ monitoringJobType?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the source - * server. + * The last heartbeat received from the source server. */ lastHeartbeat?: Date; /** - * @member {string} [agentVersion] The agent version. + * The agent version. */ agentVersion?: string; /** - * @member {boolean} [isReplicationAgentUpdateRequired] A value indicating - * whether replication agent update is required. + * A value indicating whether replication agent update is required. */ isReplicationAgentUpdateRequired?: boolean; /** - * @member {string} [recoveryFabricObjectId] The recovery fabric object Id. + * The recovery fabric object Id. */ recoveryFabricObjectId?: string; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * The protection state for the vm. */ vmProtectionState?: string; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The protection state description for the vm. */ vmProtectionStateDescription?: string; /** - * @member {string} [lifecycleId] An id associated with the PE that survives - * actions like switch protection which change the backing PE/CPE objects - * internally.The lifecycle id gets carried forward to have a link/continuity - * in being able to have an Id that denotes the "same" protected item even - * though other internal Ids/ARM Id might be changing. + * An id associated with the PE that survives actions like switch protection which change the + * backing PE/CPE objects internally.The lifecycle id gets carried forward to have a + * link/continuity in being able to have an Id that denotes the "same" protected item even though + * other internal Ids/ARM Id might be changing. */ lifecycleId?: string; /** - * @member {string} [testFailoverRecoveryFabricObjectId] The test failover - * fabric object Id. + * The test failover fabric object Id. */ testFailoverRecoveryFabricObjectId?: string; /** - * @member {number} [rpoInSeconds] The last RPO value in seconds. + * The last RPO value in seconds. */ rpoInSeconds?: number; /** - * @member {Date} [lastRpoCalculatedTime] The time (in UTC) when the last RPO - * value was calculated by Protection Service. + * The time (in UTC) when the last RPO value was calculated by Protection Service. */ lastRpoCalculatedTime?: Date; + /** + * The recovery availability zone. + */ + recoveryAvailabilityZone?: string; + /** + * The encryption type of the VM. Possible values include: 'NotEncrypted', 'OnePassEncrypted', + * 'TwoPassEncrypted' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vmEncryptionType?: VmEncryptionType; + /** + * The test failover VM name. + */ + tfoAzureVMName?: string; + /** + * The recovery proximity placement group Id. + */ + recoveryProximityPlacementGroupId?: string; } /** @@ -1130,54 +1177,45 @@ export interface A2AReplicationDetails { export type ReverseReplicationProviderSpecificInputUnion = ReverseReplicationProviderSpecificInput | A2AReprotectInput | HyperVReplicaAzureReprotectInput | InMageAzureV2ReprotectInput | 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,337 +1226,509 @@ 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 recovery proximity placement group Id. + */ + recoveryProximityPlacementGroupId?: string; + /** + * 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 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; /** - * @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. - * */ 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 disk encryption information (for one / single pass flows). + */ + diskEncryptionInfo?: DiskEncryptionInfo; + /** + * The target disk name for unplanned failover operation. + */ + failoverDiskName?: string; + /** + * The target disk name for test failover operation. + */ + tfoDiskName?: string; } /** * Contains the possible cases for 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; + /** + * The recovery proximity placement group Id. + */ + recoveryProximityPlacementGroupId?: string; + /** + * The user given name for test failover VM. + */ + tfoAzureVMName?: string; +} + +/** + * Add Disks input properties. + */ +export interface AddDisksInputProperties { + /** + * 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?: AddDisksProviderSpecificInputUnion; +} + +/** + * Input for add disk(s) operation. + */ +export interface AddDisksInput { + /** + * Add disks input properties. + */ + properties?: AddDisksInputProperties; +} + +/** + * Identity provider input. + */ +export interface IdentityProviderInput { + /** + * The tenant Id for the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. + */ + tenantId: string; + /** + * 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; + /** + * The object Id of the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. + */ + objectId: string; + /** + * The intended Audience of the service principal with which the on-premise management/data plane + * components would communicate with our Azure services. + */ + audience: string; + /** + * The base authority for Azure Active Directory authentication. + */ + aadAuthority: string; +} + +/** + * The properties of an add provider request. + */ +export interface AddRecoveryServicesProviderInputProperties { + /** + * The name of the machine where the provider is getting added. + */ + machineName: string; + /** + * The Id of the machine where the provider is getting added. + */ + machineId?: 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; } /** - * @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 friendly name of the vCenter. */ friendlyName?: string; /** - * @member {string} [ipAddress] The IP address of the vCenter to be - * discovered. + * The IP address of the vCenter to be discovered. */ ipAddress?: string; /** - * @member {string} [processServerId] The process server Id from where the - * discovery is orchestrated. + * The process server Id from where the discovery is orchestrated. */ processServerId?: string; /** - * @member {string} [port] The port number for discovery. + * The port number for discovery. */ port?: string; /** - * @member {string} [runAsAccountId] The account Id which has privileges to - * discover the vCenter. + * The account Id which has privileges to discover the vCenter. */ runAsAccountId?: string; } /** - * @interface - * An interface representing AddVCenterRequest. * Input required to add vCenter. - * */ export interface AddVCenterRequest { /** - * @member {AddVCenterRequestProperties} [properties] The properties of an - * add vCenter request. + * The properties of an add vCenter request. */ properties?: AddVCenterRequestProperties; } /** - * @interface - * An interface representing AlertProperties. - * The proprties of an alert. - * + * 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 details of agent 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 { /** - * @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 Resource. * Azure resource. - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] Resource Id - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Resource Name - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource Name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Resource Type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource Type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} [location] Resource Location + * Resource Location */ location?: string; } /** - * @interface - * An interface representing Alert. * Implements the Alert class. - * - * @extends Resource */ export interface Alert extends Resource { /** - * @member {AlertProperties} [properties] Alert related data. + * 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; } /** - * @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; } @@ -1529,39 +1739,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 }; } @@ -1572,14 +1774,11 @@ export interface AsrJobDetails { export type TaskTypeDetailsUnion = TaskTypeDetails | AutomationRunbookTaskDetails | ConsistencyCheckTaskDetails | FabricReplicationGroupTaskDetails | JobTaskDetails | ManualActionTaskDetails | ScriptActionTaskDetails | VirtualMachineTaskDetails | 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"; } @@ -1590,224 +1789,197 @@ export interface TaskTypeDetails { export type GroupTaskDetailsUnion = GroupTaskDetails | InlineWorkflowTaskDetails | RecoveryPlanGroupTaskDetails | RecoveryPlanShutdownGroupTaskDetails; /** - * @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 - * */ 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 +1987,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,38 +2016,32 @@ 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[]; } @@ -1892,32 +2052,25 @@ 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; } @@ -1928,35 +2081,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 +2114,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; } @@ -2057,243 +2199,185 @@ export interface ComputeSizeErrorDetails { export type ConfigurationSettingsUnion = ConfigurationSettings | HyperVVirtualMachineDetails | ReplicationGroupDetails | VmmVirtualMachineDetails | 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; /** - * @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; } /** - * @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. * 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 +2388,169 @@ 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. + */ + jobName?: string; + /** + * The ARM Id of the job being executed. + */ + jobId?: string; + /** + * The start time of the job. + */ + 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. - * + * The data store 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 +2561,9431 @@ 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; } /** - * @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. - * + * On-prem 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. - * - */ -export interface EnableProtectionInputProperties { - /** - * @member {string} [policyId] The Policy Id. - */ - policyId?: string; - /** - * @member {string} [protectableItemId] The protectable item Id. - */ - protectableItemId?: 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. - */ - providerSpecificDetails?: EnableProtectionProviderSpecificInputUnion; -} - -/** - * @interface - * An interface representing EnableProtectionInput. - * Enable protection input. - * - */ -export interface EnableProtectionInput { - /** - * @member {EnableProtectionInputProperties} [properties] Enable protection - * input properties. - */ - properties?: EnableProtectionInputProperties; -} - -/** - * @interface - * An interface representing EncryptionDetails. - * Encryption details for the fabric. - * - */ -export interface EncryptionDetails { - /** - * @member {string} [kekState] The key encryption key state for the Vmm. - */ - kekState?: string; - /** - * @member {string} [kekCertThumbprint] The key encryption key certificate - * thumbprint. - */ - kekCertThumbprint?: string; - /** - * @member {Date} [kekCertExpiryDate] The key encryption key certificate - * expiry date. - */ - 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 { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "EventSpecificDetails"; -} - -/** - * @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. - * + * 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 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; } /** - * @interface - * An interface representing HealthError. * Health Error - * */ export interface HealthError { /** - * @member {InnerHealthError[]} [innerHealthErrors] The inner health errors. - * HealthError having a list of HealthError as child errors is problematic. - * InnerHealthError is used because this will prevent an infinite loop of - * structures when Hydra tries to auto-generate the contract. We are exposing - * the related health errors as inner health errors and all API consumers can - * utilize this in the same fashion as Exception -> InnerException. + * 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; -} - -/** - * @interface - * An interface representing EventProperties. - * The properties of a monitoring event. - * - */ -export interface EventProperties { /** - * @member {string} [eventCode] The Id of the monitoring event. + * The health error unique id. */ - eventCode?: string; - /** - * @member {string} [description] The event name. - */ - description?: string; - /** - * @member {string} [eventType] The type of the event. for example: VM - * Health, Server Health, Job Failure etc. - */ - eventType?: string; + errorId?: string; /** - * @member {string} [affectedObjectFriendlyName] The friendly name of the - * source of the event on which it is raised (for example, VM, VMM etc). + * Value indicating whether the health error is customer resolvable. Possible values include: + * 'Allowed', 'NotAllowed' */ - affectedObjectFriendlyName?: string; + customerResolvability?: HealthErrorCustomerResolvability; +} + +/** + * DRA details. + */ +export interface DraDetails { /** - * @member {string} [severity] The severity of the event. + * The DRA Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - severity?: string; + readonly id?: string; /** - * @member {Date} [timeOfOccurrence] The time of occurence of the event. + * The DRA name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timeOfOccurrence?: Date; + readonly name?: string; /** - * @member {string} [fabricId] The ARM ID of the fabric. + * The DRA version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricId?: string; + readonly version?: string; /** - * @member {EventProviderSpecificDetailsUnion} [providerSpecificDetails] The - * provider specific settings. + * The last heartbeat received from the DRA. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: EventProviderSpecificDetailsUnion; + readonly lastHeartbeatUtc?: Date; /** - * @member {EventSpecificDetailsUnion} [eventSpecificDetails] The event - * specific settings. + * The health of the DRA. Possible values include: 'None', 'Normal', 'Warning', 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - eventSpecificDetails?: EventSpecificDetailsUnion; + readonly health?: ProtectionHealth; /** - * @member {HealthError[]} [healthErrors] The list of errors / warnings - * capturing details associated with the issue(s). + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing Event. - * Implements the Event class. - * - * @extends Resource + * Contains the possible cases for EnableMigrationProviderSpecificInput. */ -export interface Event extends Resource { +export type EnableMigrationProviderSpecificInputUnion = EnableMigrationProviderSpecificInput | VMwareCbtEnableMigrationInput; + +/** + * Enable migration provider specific input. + */ +export interface EnableMigrationProviderSpecificInput { /** - * @member {EventProperties} [properties] Event related data. + * Polymorphic Discriminator */ - properties?: EventProperties; + instanceType: "EnableMigrationProviderSpecificInput"; } /** - * @interface - * An interface representing EventQueryParameter. - * Implements the event query parameter. - * + * Enable migration input properties. */ -export interface EventQueryParameter { - /** - * @member {string} [eventCode] The source id of the events to be queried. - */ - eventCode?: string; +export interface EnableMigrationInputProperties { /** - * @member {string} [severity] The severity of the events to be queried. + * The policy Id. */ - severity?: string; + policyId: string; /** - * @member {string} [eventType] The type of the events to be queried. + * The provider specific details. */ - eventType?: string; + providerSpecificDetails: EnableMigrationProviderSpecificInputUnion; +} + +/** + * Enable migration input. + */ +export interface EnableMigrationInput { /** - * @member {string} [fabricName] The affected object server id of the events - * to be queried. + * Enable migration input properties. */ - fabricName?: string; + properties: EnableMigrationInputProperties; +} + +/** + * Enable protection input properties. + */ +export interface EnableProtectionInputProperties { /** - * @member {string} [affectedObjectFriendlyName] The affected object name of - * the events to be queried. + * The Policy Id. */ - affectedObjectFriendlyName?: string; + policyId?: string; /** - * @member {Date} [startTime] The start time of the time range within which - * the events are to be queried. + * The protectable item Id. */ - startTime?: Date; + protectableItemId?: string; /** - * @member {Date} [endTime] The end time of the time range within which the - * events are to be queried. + * 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. */ - endTime?: Date; + 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"; +} + +/** + * The properties of a monitoring event. + */ +export interface EventProperties { + /** + * The Id of the monitoring event. + */ + eventCode?: string; + /** + * The event name. + */ + description?: string; + /** + * The type of the event. for example: VM Health, Server Health, Job Failure etc. + */ + eventType?: string; + /** + * The friendly name of the source of the event on which it is raised (for example, VM, VMM etc). + */ + affectedObjectFriendlyName?: string; + /** + * The severity of the event. + */ + severity?: string; + /** + * The time of occurrence of the event. + */ + timeOfOccurrence?: Date; + /** + * The ARM ID of the fabric. + */ + fabricId?: string; + /** + * The provider specific settings. + */ + providerSpecificDetails?: EventProviderSpecificDetailsUnion; + /** + * The event specific settings. + */ + eventSpecificDetails?: EventSpecificDetailsUnion; + /** + * The list of errors / warnings capturing details associated with the issue(s). + */ + healthErrors?: HealthError[]; +} + +/** + * Implements the Event class. + */ +export interface Event extends Resource { + /** + * Event related data. + */ + properties?: EventProperties; +} + +/** + * Implements the event query parameter. + */ +export interface EventQueryParameter { + /** + * The source id of the events to be queried. + */ + eventCode?: string; + /** + * The severity of the events to be queried. + */ + severity?: string; + /** + * The type of the events to be queried. + */ + eventType?: string; + /** + * The affected object server id of the events to be queried. + */ + fabricName?: string; + /** + * The affected object name of the events to be queried. + */ + affectedObjectFriendlyName?: string; + /** + * The start time of the time range within which the events are to be queried. + */ + startTime?: Date; + /** + * The end time of the time range within which the events are to be queried. + */ + endTime?: Date; } /** - * @interface - * An interface representing ExportJobDetails. * This class represents details for export jobs workflow. - * */ 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 - * */ 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 - * */ 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. - * + * This class contains the minimal job details required to navigate to the desired drill down. */ export interface JobEntity { /** - * @member {string} [jobId] The job id. + * The job id. */ jobId?: string; /** - * @member {string} [jobFriendlyName] The job display name. + * The job display name. */ jobFriendlyName?: string; /** - * @member {string} [targetObjectId] The object id. + * The object id. */ targetObjectId?: string; /** - * @member {string} [targetObjectName] The object name. + * The object name. */ targetObjectName?: string; /** - * @member {string} [targetInstanceType] The workflow affected object type. + * The workflow affected object type. */ targetInstanceType?: string; /** - * @member {string} [jobScenarioName] The job name. Enum type ScenarioName. + * The job name. Enum type ScenarioName. */ jobScenarioName?: string; } /** - * @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 skipped reason. */ skippedReason?: string; /** - * @member {string} [skippedReasonString] The skipped reason string. + * The skipped reason string. */ skippedReasonString?: string; /** - * @member {JobEntity} [jobTask] The job entity. + * The job entity. */ jobTask?: JobEntity; } /** - * @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', 'AgentAutoUpdate' */ 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. * 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. + * 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. - * */ 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 name. */ 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 + * 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 zone. + */ + targetAvailabilityZone?: string; + /** + * The proximity placement group ARM Id. + */ + targetProximityPlacementGroupId?: 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. - * */ 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. - * */ export interface HyperVReplicaAzureFailoverProviderInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzure"; /** - * @member {string} [vaultLocation] Location of the vault. + * Location of the vault. */ vaultLocation?: string; /** - * @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 + * 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; } /** - * @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"; + /** + * Location of the vault. + */ + vaultLocation?: string; + /** + * 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"; + /** + * Location of the vault. + */ + vaultLocation?: string; + /** + * 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; } /** - * @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. - * */ export interface HyperVReplicaBluePolicyInput { /** - * @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} [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. - * */ export interface HyperVReplicaBlueReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplica2012R2"; /** - * @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 HyperVReplicaPolicyDetails. * Hyper-V Replica Blue specific protection profile details. - * */ 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} [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 HyperVReplicaPolicyInput. * Hyper-V Replica specific policy Input. - * */ export interface HyperVReplicaPolicyInput { /** - * @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. */ replicaDeletion?: 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"; } /** - * @interface - * An interface representing HyperVVirtualMachineDetails. * 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. - * */ export interface InMageAgentVersionDetails { /** - * @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 {string} [version] The agent version. + * The agent version. */ version?: string; /** - * @member {Date} [expiryDate] Version expiry date. + * Version expiry date. */ expiryDate?: Date; /** - * @member {AgentVersionStatus} [status] A value indicating whether security - * update required. Possible values include: 'Supported', 'NotSupported', - * 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' + * A value indicating whether security update required. Possible values include: 'Supported', + * 'NotSupported', 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' */ status?: AgentVersionStatus; } /** - * @interface - * An interface representing InMageAzureV2ApplyRecoveryPointInput. * ApplyRecoveryPoint input specific to InMageAzureV2 provider. - * */ export interface InMageAzureV2ApplyRecoveryPointInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} [vaultLocation] The vault location where the recovery Vm - * resides. + * The vault location where the recovery Vm resides. */ vaultLocation?: string; } /** - * @interface - * An interface representing InMageAzureV2EnableProtectionInput. - * VMware Azure specific enable protection input. - * + * Disk input details. */ -export interface InMageAzureV2EnableProtectionInput { +export interface InMageAzureV2DiskInputDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The DiskId. */ - instanceType: "InMageAzureV2"; + diskId?: string; /** - * @member {string} [masterTargetId] The Master target Id. + * The LogStorageAccountId. */ - masterTargetId?: string; + logStorageAccountId?: string; + /** + * The DiskType. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; + /** + * The DiskEncryptionSet ARM ID. + */ + diskEncryptionSetId?: string; +} + +/** + * VMware Azure specific enable protection input. + */ +export interface InMageAzureV2EnableProtectionInput { + /** + * Polymorphic Discriminator + */ + instanceType: "InMageAzureV2"; + /** + * 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 name. */ - 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 + * 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 DiskEncryptionSet ARM ID. + */ + diskEncryptionSetId?: string; + /** + * The target availability zone. + */ + targetAvailabilityZone?: string; + /** + * The proximity placement group ARM Id. + */ + targetProximityPlacementGroupId?: 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. - * */ export interface InMageAzureV2FailoverProviderInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} [vaultLocation] Location of the vault. + * Location of the vault. */ vaultLocation?: string; /** - * @member {string} [recoveryPointId] The recovery point id to be passed to - * failover to a particular recovery point. In case of latest recovery point, - * null should be passed. + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ recoveryPointId?: string; } /** - * @interface - * An interface representing InMageAzureV2PolicyDetails. + * InMageAzureV2 Managed disk details. + */ +export interface InMageAzureV2ManagedDiskDetails { + /** + * The disk id. + */ + diskId?: string; + /** + * Seed managed disk Id. + */ + seedManagedDiskId?: string; + /** + * The replica disk type. + */ + replicaDiskType?: string; +} + +/** * 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; } /** - * @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 - * */ 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. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly 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 + * 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 data stores of the on-premise machine. Value can be list of strings that contain data + * store 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 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[]; } /** - * @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"; + /** + * Location of the vault. + */ + vaultLocation?: 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; +} + +/** + * InMageAzureV2 provider specific input for unplanned failover. + */ +export interface InMageAzureV2UnplannedFailoverInput { + /** + * Polymorphic Discriminator + */ + instanceType: "InMageAzureV2"; + /** + * Location of the vault. + */ + vaultLocation?: string; + /** + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. + */ + recoveryPointId?: string; +} + +/** * 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; } /** - * @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 - * */ 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 data store 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 + * 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' + * 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. + * 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. - * + * InMageRcm source agent upgrade blocking error details. */ -export interface OSDiskDetails { +export interface InMageRcmAgentUpgradeBlockingErrorDetails { /** - * @member {string} [osVhdId] The id of the disk containing the OS. + * The error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osVhdId?: string; + readonly errorCode?: string; /** - * @member {string} [osType] The type of the OS on the VM. + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; + readonly errorMessage?: string; /** - * @member {string} [vhdName] The OS disk VHD name. + * The possible causes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vhdName?: string; -} - -/** - * @interface - * An interface representing InMageReplicationDetails. - * InMage provider specific settings - * - */ -export interface InMageReplicationDetails { + readonly possibleCauses?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The recommended action. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "InMage"; + readonly recommendedAction?: string; /** - * @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 message parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - activeSiteType?: string; + readonly errorMessageParameters?: { [propertyName: string]: string }; /** - * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary - * side. + * The error tags. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceVmCpuCount?: number; + readonly errorTags?: { [propertyName: string]: string }; +} + +/** + * ApplyRecoveryPoint input specific to InMageRcm provider. + */ +export interface InMageRcmApplyRecoveryPointInput { /** - * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the - * primary side. + * Polymorphic Discriminator */ - sourceVmRamSizeInMB?: number; + instanceType: "InMageRcm"; /** - * @member {OSDiskDetails} [osDetails] The OS details. + * The recovery point Id. */ - osDetails?: OSDiskDetails; + recoveryPointId?: string; +} + +/** + * InMageRcm disk input. + */ +export interface InMageRcmDiskInput { /** - * @member {string} [protectionStage] The protection stage. + * The disk Id. */ - protectionStage?: string; + diskId?: string; /** - * @member {string} [vmId] The virtual machine Id. + * The log storage account ARM Id. */ - vmId?: string; + logStorageAccountId?: string; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - vmProtectionState?: string; + diskType?: DiskAccountType; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The disk encryption set ARM Id. */ - vmProtectionStateDescription?: string; + diskEncryptionSetId?: string; +} + +/** + * InMageRcm disk input. + */ +export interface InMageRcmDisksDefaultInput { /** - * @member {InitialReplicationDetails} [resyncDetails] The resync details of - * the machine + * The log storage account ARM Id. */ - resyncDetails?: InitialReplicationDetails; + logStorageAccountId?: string; /** - * @member {Date} [retentionWindowStart] The retention window start time. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - retentionWindowStart?: Date; + diskType?: DiskAccountType; /** - * @member {Date} [retentionWindowEnd] The retention window end time. + * The disk encryption set ARM Id. */ - retentionWindowEnd?: Date; + diskEncryptionSetId?: string; +} + +/** + * InMageRcm specific enable protection input. + */ +export interface InMageRcmEnableProtectionInput { /** - * @member {number} [compressedDataRateInMB] The compressed data change rate - * in MB. + * Polymorphic Discriminator */ - compressedDataRateInMB?: number; + instanceType: "InMageRcm"; /** - * @member {number} [uncompressedDataRateInMB] The uncompressed data change - * rate in MB. + * The ARM Id of discovered machine. */ - uncompressedDataRateInMB?: number; + fabricDiscoveryMachineId?: string; /** - * @member {number} [rpoInSeconds] The RPO in seconds. + * The disks to include list. */ - rpoInSeconds?: number; + disksToInclude?: InMageRcmDiskInput[]; /** - * @member {InMageProtectedDiskDetails[]} [protectedDisks] The list of - * protected disks. + * The default disk input. */ - protectedDisks?: InMageProtectedDiskDetails[]; + disksDefault?: InMageRcmDisksDefaultInput; /** - * @member {string} [ipAddress] The source IP address. + * The target resource group ARM Id. */ - ipAddress?: string; + targetResourceGroupId?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the source - * server. + * The selected target network ARM Id. */ - lastHeartbeat?: Date; + targetNetworkId?: string; /** - * @member {string} [processServerId] The process server Id. + * The selected test network ARM Id. */ - processServerId?: string; + testNetworkId?: string; /** - * @member {string} [masterTargetId] The master target Id. + * The selected target subnet name. */ - masterTargetId?: string; + targetSubnetName?: string; /** - * @member {{ [propertyName: string]: Date } | { [propertyName: string]: - * string }} [consistencyPoints] The collection of Consistency points. + * The selected test subnet name. */ - consistencyPoints?: { [propertyName: string]: Date } | { [propertyName: string]: string }; + testSubnetName?: string; /** - * @member {string} [diskResized] A value indicating whether any disk is - * resized for this VM. + * The target VM name. */ - diskResized?: string; + targetVmName?: string; /** - * @member {string} [rebootAfterUpdateStatus] A value indicating whether the - * source server requires a restart after update. + * The target VM size. */ - rebootAfterUpdateStatus?: string; + targetVmSize?: string; /** - * @member {string} [multiVmGroupId] The multi vm group Id, if any. + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ - multiVmGroupId?: string; + licenseType?: LicenseType; /** - * @member {string} [multiVmGroupName] The multi vm group name, if any. + * The target availability set ARM Id. */ - multiVmGroupName?: string; + targetAvailabilitySetId?: string; /** - * @member {string} [multiVmSyncStatus] A value indicating whether the multi - * vm sync is enabled or disabled. + * The target availability zone. */ - multiVmSyncStatus?: string; + targetAvailabilityZone?: string; /** - * @member {InMageAgentDetails} [agentDetails] The agent details. + * The target proximity placement group Id. */ - agentDetails?: InMageAgentDetails; + targetProximityPlacementGroupId?: string; /** - * @member {string} [vCenterInfrastructureId] The vCenter infrastructure Id. + * The target boot diagnostics storage account ARM Id. */ - vCenterInfrastructureId?: string; + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {string} [infrastructureVmId] The infrastructure VM Id. + * The run-as account Id. */ - infrastructureVmId?: string; + runAsAccountId?: string; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The process server Id. */ - vmNics?: VMNicDetails[]; + processServerId?: string; /** - * @member {string} [discoveryType] A value indicating the discovery type of - * the machine. + * The multi VM group name. */ - discoveryType?: string; + multiVmGroupName?: string; +} + +/** + * Event details for InMageRcm provider. + */ +export interface InMageRcmEventDetails { /** - * @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. + * Polymorphic Discriminator */ - azureStorageAccountId?: string; + instanceType: "InMageRcm"; /** - * @member {string[]} [datastores] The datastores of the on-premise machine - * Value can be list of strings that contain datastore names + * The protected item name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - datastores?: string[]; + readonly protectedItemName?: string; +} + +/** + * InMageRcm fabric provider specific settings. + */ +export interface InMageRcmFabricCreationInput { /** - * @member {HealthError[]} [validationErrors] The validation errors of the - * on-premise machine Value can be list of validation errors + * Polymorphic Discriminator */ - validationErrors?: HealthError[]; + instanceType: "InMageRcm"; /** - * @member {Date} [lastRpoCalculatedTime] The last RPO calculated time. + * The ARM Id of the VMware site. */ - lastRpoCalculatedTime?: Date; + vmwareSiteId?: string; /** - * @member {Date} [lastUpdateReceivedTime] The last update time received from - * on-prem components. + * The ARM Id of the physical site. */ - lastUpdateReceivedTime?: Date; + physicalSiteId?: string; /** - * @member {string} [replicaId] The replica id of the protected item. + * The identity provider input for source agent authentication. */ - replicaId?: string; + sourceAgentIdentity?: IdentityProviderInput; /** - * @member {string} [osVersion] The OS Version of the protected item. + * The certificate to be used for AAD authentication. */ - osVersion?: string; + authCertificate?: string; } /** - * @interface - * An interface representing InMageReprotectInput. - * InMageAzureV2 specific provider input. - * + * Process server details. */ -export interface InMageReprotectInput { +export interface ProcessServerDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The process server Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "InMage"; + readonly id?: string; /** - * @member {string} masterTargetId The Master Target Id. + * The process server name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - masterTargetId: string; + readonly name?: string; /** - * @member {string} processServerId The Process Server Id. + * The process server version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - processServerId: string; + readonly version?: string; /** - * @member {string} retentionDrive The retention drive to use on the MT. + * The last heartbeat received from the process server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionDrive: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [runAsAccountId] The CS account Id. + * The total memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runAsAccountId?: string; + readonly totalMemoryInBytes?: number; /** - * @member {string} [datastoreName] The target datastore name. + * The available memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - datastoreName?: string; + readonly availableMemoryInBytes?: number; /** - * @member {InMageDiskExclusionInput} [diskExclusionInput] The enable disk - * exclusion input. + * The used memory. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - diskExclusionInput?: InMageDiskExclusionInput; + readonly usedMemoryInBytes?: number; /** - * @member {string} profileId The Policy Id. + * The memory usage percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - profileId: string; + readonly memoryUsagePercentage?: number; /** - * @member {string[]} [disksToInclude] The disks to include list. + * The total disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - disksToInclude?: string[]; -} - -/** - * @interface - * An interface representing JobProperties. - * Job custom data details. - * - */ -export interface JobProperties { + readonly totalSpaceInBytes?: number; /** - * @member {string} [activityId] The activity id. + * The available disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - activityId?: string; + readonly availableSpaceInBytes?: number; /** - * @member {string} [scenarioName] The ScenarioName. + * The used disk space. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - scenarioName?: string; + readonly usedSpaceInBytes?: number; /** - * @member {string} [friendlyName] The DisplayName. + * The free disk space percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly freeSpacePercentage?: number; /** - * @member {string} [state] The status of the Job. It is one of these values - * - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or - * Other. + * The uploading pending data in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state?: string; + readonly throughputUploadPendingDataInBytes?: number; /** - * @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 throughput in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - stateDescription?: string; + readonly throughputInBytes?: number; /** - * @member {ASRTask[]} [tasks] The tasks. + * The processor usage percentage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tasks?: ASRTask[]; + readonly processorUsagePercentage?: number; /** - * @member {JobErrorDetails[]} [errors] The errors. + * 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.** */ - errors?: JobErrorDetails[]; + readonly health?: ProtectionHealth; /** - * @member {Date} [startTime] The start time. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly healthErrors?: HealthError[]; /** - * @member {Date} [endTime] The end time. + * 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.** */ - endTime?: Date; + readonly historicHealth?: ProtectionHealth; +} + +/** + * RCM proxy details. + */ +export interface RcmProxyDetails { /** - * @member {string[]} [allowedActions] The Allowed action the job. + * The RCM proxy Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedActions?: string[]; + readonly id?: string; /** - * @member {string} [targetObjectId] The affected Object Id. + * The RCM proxy name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetObjectId?: string; + readonly name?: string; /** - * @member {string} [targetObjectName] The name of the affected object. + * The RCM proxy version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetObjectName?: string; + readonly version?: string; /** - * @member {string} [targetInstanceType] The type of the affected object - * which is of {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} - * class. + * The last heartbeat received from the RCM proxy. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetInstanceType?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {JobDetailsUnion} [customDetails] The custom job details like test - * failover job details. + * 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.** */ - customDetails?: JobDetailsUnion; + 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 Job. - * Job details. - * - * @extends Resource + * Push installer details. */ -export interface Job extends Resource { +export interface PushInstallerDetails { /** - * @member {JobProperties} [properties] The custom data. + * The push installer 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 push installer 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 push installer version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTime?: string; + readonly version?: string; /** - * @member {string} [fabricId] The Id of the fabric to search jobs under. + * The last heartbeat received from the push installer. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricId?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [affectedObjectTypes] The type of objects. + * 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.** */ - affectedObjectTypes?: string; + readonly health?: ProtectionHealth; /** - * @member {string} [jobStatus] The states of the job to be filtered can be - * in. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobStatus?: string; + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing JobStatusEventDetails. - * Model class for event details of a job status event. - * + * Replication agent details. */ -export interface JobStatusEventDetails { +export interface ReplicationAgentDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The replication agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "JobStatus"; + readonly id?: string; /** - * @member {string} [jobId] Job arm id for the event. + * The replication agent name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobId?: string; + readonly name?: string; /** - * @member {string} [jobFriendlyName] JobName for the Event. + * The replication agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobFriendlyName?: string; + readonly version?: string; /** - * @member {string} [jobStatus] JobStatus for the Event. + * The last heartbeat received from the replication agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobStatus?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [affectedObjectType] AffectedObjectType for the event. + * 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.** */ - affectedObjectType?: string; + readonly health?: ProtectionHealth; + /** + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing JobTaskDetails. - * This class represents a task which is actually a workflow so that one can - * navigate to its individual drill down. - * + * Reprotect agent details. */ -export interface JobTaskDetails { +export interface ReprotectAgentDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * The reprotect agent Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "JobTaskDetails"; + readonly id?: string; /** - * @member {JobEntity} [jobTask] The job entity. + * The reprotect agent name. + * **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 name?: string; /** - * @member {string} [friendlyName] The Friendly Name. + * The version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - friendlyName?: string; + readonly version?: string; /** - * @member {string} [networkVirtualizationStatus] A value indicating whether - * Network Virtualization is enabled for the logical network. + * The last heartbeat received from the reprotect agent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkVirtualizationStatus?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {string} [logicalNetworkUsage] A value indicating whether logical - * network is used as private test network by test failover. + * 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.** */ - logicalNetworkUsage?: string; + readonly health?: ProtectionHealth; /** - * @member {string} [logicalNetworkDefinitionsStatus] A value indicating - * whether logical network definitions are isolated. + * The health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - logicalNetworkDefinitionsStatus?: string; + readonly healthErrors?: HealthError[]; } /** - * @interface - * An interface representing LogicalNetwork. - * Logical network data model. - * - * @extends Resource + * InMageRcm fabric specific details. */ -export interface LogicalNetwork extends Resource { +export interface InMageRcmFabricSpecificDetails { /** - * @member {LogicalNetworkProperties} [properties] The Logical Network - * Properties. + * Polymorphic Discriminator */ - properties?: LogicalNetworkProperties; -} - -/** - * @interface - * An interface representing ManualActionTaskDetails. - * This class represents the manual action task details. - * - */ -export interface ManualActionTaskDetails { + instanceType: "InMageRcm"; /** - * @member {string} instanceType Polymorphic Discriminator + * The ARM Id of the VMware site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "ManualActionTaskDetails"; + readonly vmwareSiteId?: string; /** - * @member {string} [name] The name. + * The ARM Id of the physical site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly physicalSiteId?: string; /** - * @member {string} [instructions] The instructions. + * The service endpoint. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instructions?: string; + readonly serviceEndpoint?: string; /** - * @member {string} [observation] The observation. + * The service resource Id. + * **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 serviceResourceId?: string; /** - * @member {string} [volumeName] The volume name. + * The service container Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - volumeName?: string; + readonly serviceContainerId?: string; /** - * @member {number} [capacityInBytes] The volume capacity. + * The data plane Uri. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - capacityInBytes?: number; + readonly dataPlaneUri?: string; /** - * @member {number} [freeSpaceInBytes] The free space available in this - * volume. + * The control plane Uri. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - freeSpaceInBytes?: number; + readonly controlPlaneUri?: string; /** - * @member {number} [thresholdPercentage] The threshold percentage. + * The list of process servers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - thresholdPercentage?: number; + readonly processServers?: ProcessServerDetails[]; + /** + * The list of RCM proxies. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly rcmProxies?: RcmProxyDetails[]; + /** + * The list of push installers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly pushInstallers?: PushInstallerDetails[]; + /** + * The list of replication agents. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly replicationAgents?: ReplicationAgentDetails[]; + /** + * The list of reprotect agents. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly reprotectAgents?: ReprotectAgentDetails[]; + /** + * The list of DRAs. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dras?: DraDetails[]; + /** + * The list of agent details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly agentDetails?: AgentDetails[]; } /** - * @interface - * An interface representing VersionDetails. - * Version related details. - * + * InMageRcm last source agent upgrade error details. */ -export interface VersionDetails { +export interface InMageRcmLastAgentUpgradeErrorDetails { /** - * @member {string} [version] The agent version. + * The error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - version?: string; + readonly errorCode?: string; /** - * @member {Date} [expiryDate] Version expiry date. + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expiryDate?: Date; + readonly errorMessage?: string; /** - * @member {AgentVersionStatus} [status] A value indicating whether security - * update required. Possible values include: 'Supported', 'NotSupported', - * 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' + * The possible causes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - status?: AgentVersionStatus; + readonly possibleCauses?: string; + /** + * The recommended action. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly recommendedAction?: string; + /** + * The error message parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly errorMessageParameters?: { [propertyName: string]: string }; + /** + * The error tags. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly errorTags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing MasterTargetServer. - * Details of a Master Target Server. - * + * InMageRcm mobility agent details. */ -export interface MasterTargetServer { +export interface InMageRcmMobilityAgentDetails { /** - * @member {string} [id] The server Id. + * The agent version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: string; + readonly version?: string; /** - * @member {string} [ipAddress] The IP address of the server. + * The latest agent version available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ipAddress?: string; + readonly latestVersion?: string; /** - * @member {string} [name] The server name. + * The driver version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly driverVersion?: string; /** - * @member {string} [osType] The OS type of the server. + * The latest upgradeable version available without reboot. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; + readonly latestUpgradableVersionWithoutReboot?: string; /** - * @member {string} [agentVersion] The version of the scout component on the - * server. + * The agent version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentVersion?: string; + readonly agentVersionExpiryDate?: Date; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the - * server. + * The driver version expiry date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastHeartbeat?: Date; + readonly driverVersionExpiryDate?: Date; /** - * @member {string} [versionStatus] Version status + * 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.** */ - versionStatus?: string; + readonly lastHeartbeatUtc?: Date; /** - * @member {RetentionVolume[]} [retentionVolumes] The retention volumes of - * Master target Server. + * The whether update is possible or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionVolumes?: RetentionVolume[]; + readonly reasonsBlockingUpgrade?: AgentUpgradeBlockedReason[]; /** - * @member {DataStore[]} [dataStores] The list of data stores in the fabric. + * A value indicating whether agent is upgradeable or not. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dataStores?: DataStore[]; + readonly isUpgradeable?: string; +} + +/** + * InMageRcm NIC details. + */ +export interface InMageRcmNicDetails { /** - * @member {HealthError[]} [validationErrors] Validation errors. + * The NIC Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - validationErrors?: HealthError[]; + readonly nicId?: string; /** - * @member {HealthError[]} [healthErrors] Health errors. + * A value indicating whether this is the primary NIC. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly isPrimaryNic?: string; /** - * @member {number} [diskCount] Disk count of the master target. + * A value indicating whether this NIC is selected for failover. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - diskCount?: number; + readonly isSelectedForFailover?: string; /** - * @member {string} [osVersion] OS Version of the master target. + * The source IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osVersion?: string; + readonly sourceIPAddress?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * 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.** */ - agentExpiryDate?: Date; + readonly sourceIPAddressType?: EthernetAddressType; /** - * @member {string} [marsAgentVersion] MARS agent version. + * Source network Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - marsAgentVersion?: string; + readonly sourceNetworkId?: string; /** - * @member {Date} [marsAgentExpiryDate] MARS agent expiry date. + * Source subnet name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - marsAgentExpiryDate?: Date; + readonly sourceSubnetName?: string; /** - * @member {VersionDetails} [agentVersionDetails] Agent version details. + * The target IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentVersionDetails?: VersionDetails; + readonly targetIPAddress?: string; /** - * @member {VersionDetails} [marsAgentVersionDetails] Mars agent version - * details. + * The target IP address type. Possible values include: 'Dynamic', 'Static' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - marsAgentVersionDetails?: VersionDetails; -} - -/** - * @interface - * An interface representing MobilityServiceUpdate. - * The Mobility Service update details. - * - */ -export interface MobilityServiceUpdate { + readonly targetIPAddressType?: EthernetAddressType; /** - * @member {string} [version] The version of the latest update. + * Target subnet name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - version?: string; + readonly targetSubnetName?: string; /** - * @member {string} [rebootStatus] The reboot status of the update - whether - * it is required or not. + * Test subnet name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rebootStatus?: string; + readonly testSubnetName?: string; /** - * @member {string} [osType] The OS type. + * The test IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; + readonly testIPAddress?: string; + /** + * The test IP address type. Possible values include: 'Dynamic', 'Static' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly testIPAddressType?: EthernetAddressType; } /** - * @interface - * An interface representing Subnet. - * Subnets of the network. - * + * InMageRcm NIC input. */ -export interface Subnet { +export interface InMageRcmNicInput { /** - * @member {string} [name] The subnet name. + * The NIC Id. */ - name?: string; + nicId?: string; /** - * @member {string} [friendlyName] The subnet friendly name. + * A value indicating whether this is the primary NIC. */ - friendlyName?: string; + isPrimaryNic?: string; /** - * @member {string[]} [addressList] The list of addresses for the subnet. + * A value indicating whether this NIC is selected for failover. */ - addressList?: string[]; -} - -/** - * @interface - * An interface representing NetworkProperties. - * Network Properties - * - */ -export interface NetworkProperties { + isSelectedForFailover?: string; /** - * @member {string} [fabricType] The Fabric Type. + * Target subnet name. */ - fabricType?: string; + targetSubnetName?: string; /** - * @member {Subnet[]} [subnets] The List of subnets. + * The target static IP address. */ - subnets?: Subnet[]; + targetStaticIPAddress?: string; /** - * @member {string} [friendlyName] The Friendly Name. + * The test subnet name. */ - friendlyName?: string; + testSubnetName?: string; /** - * @member {string} [networkType] The Network Type. + * The test static IP address. */ - networkType?: string; + testStaticIPAddress?: string; } /** - * @interface - * An interface representing Network. - * Network model. - * - * @extends Resource + * InMageRcm policy creation input. */ -export interface Network extends Resource { +export interface InMageRcmPolicyCreationInput { /** - * @member {NetworkProperties} [properties] The Network Properties. + * Polymorphic Discriminator */ - properties?: NetworkProperties; -} - -/** - * @interface - * An interface representing NetworkMappingProperties. - * Network Mapping Properties. - * - */ -export interface NetworkMappingProperties { + instanceType: "InMageRcm"; /** - * @member {string} [state] The pairing state for network mapping. + * The duration in minutes until which the recovery points need to be stored. */ - state?: string; + recoveryPointHistoryInMinutes?: number; /** - * @member {string} [primaryNetworkFriendlyName] The primary network friendly - * name. + * The crash consistent snapshot frequency (in minutes). */ - primaryNetworkFriendlyName?: string; + crashConsistentFrequencyInMinutes?: number; /** - * @member {string} [primaryNetworkId] The primary network id for network - * mapping. + * The app consistent snapshot frequency (in minutes). */ - primaryNetworkId?: string; + appConsistentFrequencyInMinutes?: number; /** - * @member {string} [primaryFabricFriendlyName] The primary fabric friendly - * name. + * A value indicating whether multi-VM sync has to be enabled. */ - primaryFabricFriendlyName?: string; + enableMultiVmSync?: string; +} + +/** + * InMageRcm specific policy details. + */ +export interface InMageRcmPolicyDetails { /** - * @member {string} [recoveryNetworkFriendlyName] The recovery network - * friendly name. + * Polymorphic Discriminator */ - recoveryNetworkFriendlyName?: string; + instanceType: "InMageRcm"; /** - * @member {string} [recoveryNetworkId] The recovery network id for network - * mapping. + * The duration in minutes until which the recovery points need to be stored. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryNetworkId?: string; + readonly recoveryPointHistoryInMinutes?: number; /** - * @member {string} [recoveryFabricArmId] The recovery fabric ARM id. + * The app consistent snapshot frequency in minutes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricArmId?: string; + readonly appConsistentFrequencyInMinutes?: number; /** - * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly - * name. + * The crash consistent snapshot frequency in minutes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryFabricFriendlyName?: string; + readonly crashConsistentFrequencyInMinutes?: number; /** - * @member {NetworkMappingFabricSpecificSettingsUnion} - * [fabricSpecificSettings] The fabric specific settings. + * A value indicating whether multi-VM sync has to be enabled. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fabricSpecificSettings?: NetworkMappingFabricSpecificSettingsUnion; + readonly enableMultiVmSync?: string; } /** - * @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 + * InMageRcm protected disk details. */ -export interface NetworkMapping extends Resource { +export interface InMageRcmProtectedDiskDetails { /** - * @member {NetworkMappingProperties} [properties] The Network Mapping - * Properties. + * The disk Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: NetworkMappingProperties; -} - -/** - * @interface - * An interface representing OperationsDiscovery. - * Operations discovery class. - * - */ -export interface OperationsDiscovery { + readonly diskId?: string; /** - * @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 disk name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly diskName?: string; /** - * @member {Display} [display] Object type + * 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.** */ - display?: Display; + readonly isOSDisk?: 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 disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - origin?: string; + readonly capacityInBytes?: number; /** - * @member {any} [properties] Properties. Reserved for future use. + * The log storage account ARM 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 logStorageAccountId?: string; /** - * @member {string} [failoverDirection] Failover direction. + * The disk encryption set ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverDirection?: string; + readonly diskEncryptionSetId?: string; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The ARM Id of the seed managed disk. + * **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 seedManagedDiskId?: string; /** - * @member {PlannedFailoverInputProperties} [properties] Planned failover - * input properties + * The ARM Id of the target managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: PlannedFailoverInputProperties; + readonly targetManagedDiskId?: string; + /** + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly diskType?: DiskAccountType; } /** - * @interface - * An interface representing PolicyProperties. - * Protection profile custom data details. - * + * InMageRcm provider specific recovery point details. */ -export interface PolicyProperties { +export interface InMageRcmRecoveryPointDetails { /** - * @member {string} [friendlyName] The FriendlyName. + * Polymorphic Discriminator */ - friendlyName?: string; + instanceType: "InMageRcm"; /** - * @member {PolicyProviderSpecificDetailsUnion} [providerSpecificDetails] The - * ReplicationChannelSetting. + * 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.** */ - providerSpecificDetails?: PolicyProviderSpecificDetailsUnion; + readonly isMultiVmSyncPoint?: string; } /** - * @interface - * An interface representing Policy. - * Protection profile details. - * - * @extends Resource + * InMageRcm provider specific details. */ -export interface Policy extends Resource { +export interface InMageRcmReplicationDetails { /** - * @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 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} [id] The Process Server Id. + * The ARM Id of the discovered VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: string; + readonly fabricDiscoveryMachineId?: string; /** - * @member {string} [ipAddress] The IP address of the server. + * The multi VM group name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ipAddress?: string; + readonly multiVmGroupName?: string; /** - * @member {string} [osType] The OS type of the server. + * The type of the discovered VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osType?: string; + readonly discoveryType?: string; /** - * @member {string} [agentVersion] The version of the scout component on the - * server. + * The process server Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentVersion?: string; + readonly processServerId?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the - * server. + * The processor core count. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastHeartbeat?: Date; + readonly processorCoreCount?: number; /** - * @member {string} [versionStatus] Version status + * The allocated memory in MB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - versionStatus?: string; + readonly allocatedMemoryInMB?: number; /** - * @member {MobilityServiceUpdate[]} [mobilityServiceUpdates] The list of the - * mobility service updates available on the Process Server. + * The process server name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - mobilityServiceUpdates?: MobilityServiceUpdate[]; + readonly processServerName?: string; /** - * @member {string} [hostId] The agent generated Id. + * The run-as account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hostId?: string; + readonly runAsAccountId?: string; /** - * @member {string} [machineCount] The servers configured with this PS. + * The type of the OS on the VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - machineCount?: string; + readonly osType?: string; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this PS. + * The firmware type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicationPairCount?: string; + readonly firmwareType?: string; /** - * @member {string} [systemLoad] The percentage of the system load. + * The target generation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - systemLoad?: string; + readonly targetGeneration?: string; /** - * @member {string} [systemLoadStatus] The system load status. + * License Type of the VM to be used. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - systemLoadStatus?: string; + readonly licenseType?: string; /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * Target VM name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - cpuLoad?: string; + readonly targetVmName?: string; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * The target VM size. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - cpuLoadStatus?: string; + readonly targetVmSize?: string; /** - * @member {number} [totalMemoryInBytes] The total memory. + * The target resource group Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - totalMemoryInBytes?: number; + readonly targetResourceGroupId?: string; /** - * @member {number} [availableMemoryInBytes] The available memory. + * The target availability set Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - availableMemoryInBytes?: number; + readonly targetAvailabilitySetId?: string; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * The target availability zone. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - memoryUsageStatus?: string; + readonly targetAvailabilityZone?: string; /** - * @member {number} [totalSpaceInBytes] The total space. + * The target proximity placement group Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - totalSpaceInBytes?: number; + readonly targetProximityPlacementGroupId?: string; /** - * @member {number} [availableSpaceInBytes] The available space. + * The target boot diagnostics storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - availableSpaceInBytes?: number; + readonly targetBootDiagnosticsStorageAccountId?: string; /** - * @member {string} [spaceUsageStatus] The space usage status. + * The target network Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - spaceUsageStatus?: string; + readonly targetNetworkId?: string; /** - * @member {string} [psServiceStatus] The PS service status. + * The test network Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - psServiceStatus?: string; + readonly testNetworkId?: string; /** - * @member {Date} [sslCertExpiryDate] The PS SSL cert expiry date. + * 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.** */ - sslCertExpiryDate?: Date; + readonly failoverRecoveryPointId?: string; /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * The last recovery point received time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sslCertExpiryRemainingDays?: number; + readonly lastRecoveryPointReceived?: Date; /** - * @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 last recovery point objective value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - osVersion?: string; + readonly lastRpoInSeconds?: number; /** - * @member {HealthError[]} [healthErrors] Health errors. + * The last recovery point objective calculated time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly lastRpoCalculatedTime?: Date; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The last recovery point Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - agentExpiryDate?: Date; + readonly lastRecoveryPointId?: string; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * 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.** */ - agentVersionDetails?: VersionDetails; -} - -/** - * @interface - * An interface representing ProtectableItemProperties. - * Replication protected item custom data details. - * - */ -export interface ProtectableItemProperties { + readonly initialReplicationProgressPercentage?: number; /** - * @member {string} [friendlyName] The 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.** */ - friendlyName?: string; + readonly initialReplicationProcessedBytes?: number; /** - * @member {string} [protectionStatus] 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.** */ - protectionStatus?: string; + readonly initialReplicationTransferredBytes?: number; /** - * @member {string} [replicationProtectedItemId] The ARM resource of - * protected items. + * 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.** */ - replicationProtectedItemId?: string; + readonly resyncProgressPercentage?: number; /** - * @member {string} [recoveryServicesProviderId] The recovery provider ARM - * Id. + * 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.** */ - recoveryServicesProviderId?: string; + readonly resyncProcessedBytes?: number; /** - * @member {string[]} [protectionReadinessErrors] The Current protection - * readiness errors. + * 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.** */ - protectionReadinessErrors?: string[]; + readonly resyncTransferredBytes?: number; /** - * @member {string[]} [supportedReplicationProviders] The list of replication - * providers supported for the protectable item. + * A value indicating whether resync is required. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - supportedReplicationProviders?: string[]; + readonly resyncRequired?: string; /** - * @member {ConfigurationSettingsUnion} [customDetails] The Replication - * provider custom settings. + * The resync state. Possible values include: 'None', 'PreparedForResynchronization', + * 'StartedResynchronization' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - customDetails?: ConfigurationSettingsUnion; -} - -/** - * @interface - * An interface representing ProtectableItem. - * Replication protected item - * - * @extends Resource - */ -export interface ProtectableItem extends Resource { + readonly resyncState?: ResyncState; /** - * @member {ProtectableItemProperties} [properties] The custom data. + * 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.** */ - properties?: ProtectableItemProperties; -} - -/** - * @interface - * An interface representing ProtectableItemQueryParameter. - * Query parameter to enumerate Protectable items. - * - */ -export interface ProtectableItemQueryParameter { + readonly agentUpgradeState?: MobilityAgentUpgradeState; /** - * @member {string} [state] State of the Protectable item query filter. + * The last agent upgrade type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state?: string; -} - -/** - * @interface - * An interface representing ProtectedItemsQueryParameter. - * Query parameter to enumerate protected items. - * - */ -export interface ProtectedItemsQueryParameter { + readonly lastAgentUpgradeType?: string; /** - * @member {string} [sourceFabricName] The source fabric name filter. + * The last agent upgrade failed or cancelled job Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceFabricName?: string; + readonly lastAgentUpgradeFailedJobId?: string; /** - * @member {string} [recoveryPlanName] The recovery plan filter. + * The list of protected disks. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryPlanName?: string; + readonly protectedDisks?: InMageRcmProtectedDiskDetails[]; /** - * @member {string} [vCenterName] The vCenter name filter. + * 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.** */ - vCenterName?: string; + readonly isLastUpgradeSuccessful?: string; /** - * @member {string} [instanceType] The replication provider type. + * The mobility agent information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType?: string; + readonly mobilityAgentDetails?: InMageRcmMobilityAgentDetails; /** - * @member {MultiVmGroupCreateOption} [multiVmGroupCreateOption] Whether - * Multi VM group is auto created or specified by user. Possible values - * include: 'AutoCreated', 'UserSpecified' + * The last agent upgrade error information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - multiVmGroupCreateOption?: MultiVmGroupCreateOption; -} - -/** - * @interface - * An interface representing ProtectionContainerFabricSpecificDetails. - * Base class for fabric specific details of container. - * - */ -export interface ProtectionContainerFabricSpecificDetails { + readonly lastAgentUpgradeErrorDetails?: InMageRcmLastAgentUpgradeErrorDetails[]; /** - * @member {string} [instanceType] Gets the class type. Overriden in derived - * classes. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The agent upgrade blocking error information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly instanceType?: string; + readonly agentUpgradeBlockingErrorDetails?: InMageRcmAgentUpgradeBlockingErrorDetails[]; + /** + * The network details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vmNics?: InMageRcmNicDetails[]; } /** - * @interface - * An interface representing ProtectionContainerProperties. - * Protection profile custom data details. - * + * InMageRcm provider specific input for test failover. */ -export interface ProtectionContainerProperties { - /** - * @member {string} [fabricFriendlyName] Fabric friendly name. - */ - fabricFriendlyName?: string; +export interface InMageRcmTestFailoverInput { /** - * @member {string} [friendlyName] The name. + * Polymorphic Discriminator */ - friendlyName?: string; + instanceType: "InMageRcm"; /** - * @member {string} [fabricType] The fabric type. + * The test network Id. */ - fabricType?: string; + networkId?: string; /** - * @member {number} [protectedItemCount] Number of protected PEs + * 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. */ - protectedItemCount?: number; + recoveryPointId?: string; +} + +/** + * InMageRcm provider specific input for unplanned failover. + */ +export interface InMageRcmUnplannedFailoverInput { /** - * @member {string} [pairingStatus] The pairing status of this cloud. + * Polymorphic Discriminator */ - pairingStatus?: string; + instanceType: "InMageRcm"; /** - * @member {string} [role] The role of this cloud. + * A value indicating whether VM is to be shutdown. */ - role?: string; + performShutdown?: string; /** - * @member {ProtectionContainerFabricSpecificDetails} [fabricSpecificDetails] - * Fabric specific details. + * The recovery point id to be passed to failover to a particular recovery point. In case of + * latest recovery point, null should be passed. */ - fabricSpecificDetails?: ProtectionContainerFabricSpecificDetails; + recoveryPointId?: string; } /** - * @interface - * An interface representing ProtectionContainer. - * Protection container details. - * - * @extends Resource + * InMageRcm provider specific input to update replication protected item. */ -export interface ProtectionContainer extends Resource { +export interface InMageRcmUpdateReplicationProtectedItemInput { /** - * @member {ProtectionContainerProperties} [properties] The custom data. + * Polymorphic Discriminator */ - properties?: ProtectionContainerProperties; -} - -/** - * @interface - * An interface representing ProtectionContainerMappingProperties. - * Protection container mapping properties. - * - */ -export interface ProtectionContainerMappingProperties { + instanceType: "InMageRcm"; /** - * @member {string} [targetProtectionContainerId] Paired protection container - * ARM ID. + * The target VM name. */ - targetProtectionContainerId?: string; + targetVmName?: string; /** - * @member {string} [targetProtectionContainerFriendlyName] Friendly name of - * paired container. + * The target VM size. */ - targetProtectionContainerFriendlyName?: string; + targetVmSize?: string; /** - * @member {ProtectionContainerMappingProviderSpecificDetailsUnion} - * [providerSpecificDetails] Provider specific provider details. + * The target resource group ARM Id. */ - providerSpecificDetails?: ProtectionContainerMappingProviderSpecificDetailsUnion; + targetResourceGroupId?: string; /** - * @member {string} [health] Health of pairing. + * The target availability set ARM Id. */ - health?: string; + targetAvailabilitySetId?: string; /** - * @member {HealthError[]} [healthErrorDetails] Health error. + * The target availability zone. */ - healthErrorDetails?: HealthError[]; + targetAvailabilityZone?: string; /** - * @member {string} [policyId] Policy ARM Id. + * The target proximity placement group Id. */ - policyId?: string; + targetProximityPlacementGroupId?: string; /** - * @member {string} [state] Association Status + * The target boot diagnostics storage account ARM Id. */ - state?: string; + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {string} [sourceProtectionContainerFriendlyName] Friendly name of - * source protection container. + * The target network ARM Id. */ - sourceProtectionContainerFriendlyName?: string; + targetNetworkId?: string; /** - * @member {string} [sourceFabricFriendlyName] Friendly name of source - * fabric. + * The test network ARM Id. */ - sourceFabricFriendlyName?: string; + testNetworkId?: string; /** - * @member {string} [targetFabricFriendlyName] Friendly name of target - * fabric. + * The list of NIC details. */ - targetFabricFriendlyName?: string; + vmNics?: InMageRcmNicInput[]; /** - * @member {string} [policyFriendlyName] Friendly name of replication policy. + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ - policyFriendlyName?: string; + licenseType?: LicenseType; } /** - * @interface - * An interface representing ProtectionContainerMapping. - * Protection container mapping object. - * - * @extends Resource + * Details of the OS Disk. */ -export interface ProtectionContainerMapping extends Resource { +export interface OSDiskDetails { /** - * @member {ProtectionContainerMappingProperties} [properties] The custom - * data. + * The id of the disk containing the OS. */ - properties?: ProtectionContainerMappingProperties; + osVhdId?: string; + /** + * The type of the OS on the VM. + */ + osType?: string; + /** + * The OS disk VHD name. + */ + vhdName?: string; } /** - * @interface - * An interface representing RcmAzureMigrationPolicyDetails. - * RCM based Azure migration specific policy details. - * + * InMage provider specific settings */ -export interface RcmAzureMigrationPolicyDetails { +export interface InMageReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "RcmAzureMigration"; + instanceType: "InMage"; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * 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. */ - recoveryPointThresholdInMinutes?: number; + activeSiteType?: string; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The CPU count of the VM on the primary side. */ - recoveryPointHistory?: number; + sourceVmCpuCount?: number; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The RAM size of the VM on the primary side. */ - appConsistentFrequencyInMinutes?: number; + sourceVmRamSizeInMB?: number; /** - * @member {MultiVmSyncStatus} [multiVmSyncStatus] A value indicating whether - * multi-VM sync has to be enabled. Possible values include: 'Enabled', - * 'Disabled' + * The OS details. */ - multiVmSyncStatus?: MultiVmSyncStatus; + osDetails?: OSDiskDetails; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The protection stage. */ - crashConsistentFrequencyInMinutes?: number; -} - -/** - * @interface - * An interface representing RecoveryPlanProperties. - * Recovery plan custom details. - * - */ -export interface RecoveryPlanProperties { + protectionStage?: string; /** - * @member {string} [friendlyName] The friendly name. + * The virtual machine Id. */ - friendlyName?: string; + vmId?: string; /** - * @member {string} [primaryFabricId] The primary fabric Id. + * The protection state for the vm. */ - primaryFabricId?: string; + vmProtectionState?: string; /** - * @member {string} [primaryFabricFriendlyName] The primary fabric friendly - * name. + * The protection state description for the vm. */ - primaryFabricFriendlyName?: string; + vmProtectionStateDescription?: string; /** - * @member {string} [recoveryFabricId] The recovery fabric Id. + * The resync details of the machine */ - recoveryFabricId?: string; + resyncDetails?: InitialReplicationDetails; /** - * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly - * name. + * The retention window start time. */ - recoveryFabricFriendlyName?: string; + retentionWindowStart?: Date; /** - * @member {string} [failoverDeploymentModel] The failover deployment model. + * The retention window end time. */ - failoverDeploymentModel?: string; + retentionWindowEnd?: Date; /** - * @member {string[]} [replicationProviders] The list of replication - * providers. + * The compressed data change rate in MB. */ - replicationProviders?: string[]; + compressedDataRateInMB?: number; /** - * @member {string[]} [allowedOperations] The list of allowed operations. + * The uncompressed data change rate in MB. */ - allowedOperations?: string[]; + uncompressedDataRateInMB?: number; /** - * @member {Date} [lastPlannedFailoverTime] The start time of the last - * planned failover. + * The RPO in seconds. */ - lastPlannedFailoverTime?: Date; + rpoInSeconds?: number; /** - * @member {Date} [lastUnplannedFailoverTime] The start time of the last - * unplanned failover. + * The list of protected disks. */ - lastUnplannedFailoverTime?: Date; + protectedDisks?: InMageProtectedDiskDetails[]; /** - * @member {Date} [lastTestFailoverTime] The start time of the last test - * failover. + * The source IP address. */ - lastTestFailoverTime?: Date; + ipAddress?: string; /** - * @member {CurrentScenarioDetails} [currentScenario] The current scenario - * details. + * The last heartbeat received from the source server. */ - currentScenario?: CurrentScenarioDetails; + lastHeartbeat?: Date; /** - * @member {string} [currentScenarioStatus] The recovery plan status. + * The process server Id. */ - currentScenarioStatus?: string; + processServerId?: string; /** - * @member {string} [currentScenarioStatusDescription] The recovery plan - * status description. + * The master target Id. */ - currentScenarioStatusDescription?: string; + masterTargetId?: string; /** - * @member {RecoveryPlanGroup[]} [groups] The recovery plan groups. + * The collection of Consistency points. */ - groups?: RecoveryPlanGroup[]; -} - -/** - * @interface - * An interface representing RecoveryPlan. - * Recovery plan details. - * - * @extends Resource - */ -export interface RecoveryPlan extends Resource { + consistencyPoints?: { [propertyName: string]: Date } | { [propertyName: string]: string }; /** - * @member {RecoveryPlanProperties} [properties] The custom details. + * A value indicating whether any disk is resized for this VM. */ - 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 { + diskResized?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * A value indicating whether the source server requires a restart after update. */ - instanceType: "RecoveryPlanProviderSpecificFailoverInput"; -} - -/** - * @interface - * An interface representing RecoveryPlanA2AFailoverInput. - * Recovery plan A2A failover input. - * - */ -export interface RecoveryPlanA2AFailoverInput { + rebootAfterUpdateStatus?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The multi vm group Id, if any. */ - instanceType: "A2A"; + multiVmGroupId?: string; /** - * @member {A2ARpRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestCrashConsistent', 'LatestProcessed' + * The multi vm group name, if any. */ - recoveryPointType: A2ARpRecoveryPointType; + multiVmGroupName?: string; /** - * @member {string} [cloudServiceCreationOption] A value indicating whether - * to use recovery cloud service for TFO or not. + * A value indicating whether the multi vm sync is enabled or disabled. */ - cloudServiceCreationOption?: string; + multiVmSyncStatus?: string; /** - * @member {MultiVmSyncPointOption} [multiVmSyncPointOption] A value - * indicating whether multi VM sync enabled VMs should use multi VM sync - * points for failover. Possible values include: - * 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' + * The agent details. */ - multiVmSyncPointOption?: MultiVmSyncPointOption; -} - -/** - * @interface - * An interface representing RecoveryPlanAutomationRunbookActionDetails. - * Recovery plan Automation runbook action details. - * - */ -export interface RecoveryPlanAutomationRunbookActionDetails { + agentDetails?: InMageAgentDetails; /** - * @member {string} instanceType Polymorphic Discriminator + * The vCenter infrastructure Id. */ - instanceType: "AutomationRunbookActionDetails"; + vCenterInfrastructureId?: string; /** - * @member {string} [runbookId] The runbook ARM Id. + * The infrastructure VM Id. */ - runbookId?: string; + infrastructureVmId?: string; /** - * @member {string} [timeout] The runbook timeout. + * The PE Network details. */ - timeout?: string; + vmNics?: VMNicDetails[]; /** - * @member {RecoveryPlanActionLocation} fabricLocation The fabric location. - * Possible values include: 'Primary', 'Recovery' + * A value indicating the discovery type of the machine. */ - fabricLocation: RecoveryPlanActionLocation; -} - -/** - * @interface - * An interface representing RecoveryPlanGroupTaskDetails. - * This class represents the recovery plan group task. - * - */ -export interface RecoveryPlanGroupTaskDetails { + discoveryType?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * A value indicating the underlying Azure storage account. If the VM is not running in Azure, + * this value shall be set to null. */ - instanceType: "RecoveryPlanGroupTaskDetails"; - /** - * @member {ASRTask[]} [childTasks] The child tasks. - */ - childTasks?: ASRTask[]; + azureStorageAccountId?: string; /** - * @member {string} [name] The name. + * The data stores of the on-premise machine Value can be list of strings that contain data store + * names */ - name?: string; + datastores?: string[]; /** - * @member {string} [groupId] The group identifier. + * The validation errors of the on-premise machine Value can be list of validation errors */ - groupId?: string; + validationErrors?: HealthError[]; /** - * @member {string} [rpGroupType] The group type. + * The last RPO calculated time. */ - rpGroupType?: string; -} - -/** - * @interface - * An interface representing RecoveryPlanHyperVReplicaAzureFailbackInput. - * Recovery plan HVR Azure failback input. - * - */ -export interface RecoveryPlanHyperVReplicaAzureFailbackInput { + lastRpoCalculatedTime?: Date; /** - * @member {string} instanceType Polymorphic Discriminator + * The last update time received from on-prem components. */ - instanceType: "HyperVReplicaAzureFailback"; + lastUpdateReceivedTime?: Date; /** - * @member {DataSyncStatus} dataSyncOption The data sync option. Possible - * values include: 'ForDownTime', 'ForSynchronization' + * The replica id of the protected item. */ - dataSyncOption: DataSyncStatus; + replicaId?: string; /** - * @member {AlternateLocationRecoveryOption} recoveryVmCreationOption The ALR - * option. Possible values include: 'CreateVmIfNotFound', 'NoAction' + * The OS Version of the protected item. */ - recoveryVmCreationOption: AlternateLocationRecoveryOption; + osVersion?: string; } /** - * @interface - * An interface representing RecoveryPlanHyperVReplicaAzureFailoverInput. - * Recovery plan HVR Azure failover input. - * + * InMageAzureV2 specific provider input. */ -export interface RecoveryPlanHyperVReplicaAzureFailoverInput { +export interface InMageReprotectInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "HyperVReplicaAzure"; + instanceType: "InMage"; /** - * @member {string} vaultLocation The vault location. + * The Master Target Id. */ - vaultLocation: string; + masterTargetId: string; /** - * @member {string} [primaryKekCertificatePfx] The primary KEK certificate - * PFX. + * The Process Server Id. */ - primaryKekCertificatePfx?: string; + processServerId: string; /** - * @member {string} [secondaryKekCertificatePfx] The secondary KEK - * certificate PFX. + * The retention drive to use on the MT. */ - secondaryKekCertificatePfx?: string; + retentionDrive: string; /** - * @member {HyperVReplicaAzureRpRecoveryPointType} [recoveryPointType] The - * recovery point type. Possible values include: 'Latest', - * 'LatestApplicationConsistent', 'LatestProcessed' + * The CS account Id. */ - recoveryPointType?: HyperVReplicaAzureRpRecoveryPointType; -} - -/** - * @interface - * An interface representing RecoveryPlanInMageAzureV2FailoverInput. - * Recovery plan InMageAzureV2 failover input. - * - */ -export interface RecoveryPlanInMageAzureV2FailoverInput { + runAsAccountId?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The target data store name. */ - instanceType: "InMageAzureV2"; + datastoreName?: string; /** - * @member {string} vaultLocation The vault location. + * The enable disk exclusion input. */ - vaultLocation: string; + diskExclusionInput?: InMageDiskExclusionInput; /** - * @member {InMageV2RpRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'Latest', 'LatestApplicationConsistent', - * 'LatestCrashConsistent', 'LatestProcessed' + * The Policy Id. */ - recoveryPointType: InMageV2RpRecoveryPointType; + profileId: string; /** - * @member {string} [useMultiVmSyncPoint] A value indicating whether multi VM - * sync enabled VMs should use multi VM sync points for failover. + * The disks to include list. */ - useMultiVmSyncPoint?: string; + disksToInclude?: string[]; } /** - * @interface - * An interface representing RecoveryPlanInMageFailoverInput. - * Recovery plan InMage failover input. - * + * Provider specific input for InMage test failover. */ -export interface RecoveryPlanInMageFailoverInput { +export interface InMageTestFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMage"; /** - * @member {RpInMageRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * 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: RpInMageRecoveryPointType; + 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 RecoveryPlanManualActionDetails. - * Recovery plan manual action details. - * + * Provider specific input for InMage unplanned failover. */ -export interface RecoveryPlanManualActionDetails { +export interface InMageUnplannedFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "ManualActionDetails"; + instanceType: "InMage"; /** - * @member {string} [description] The manual action description. + * 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' */ - description?: string; + 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 RecoveryPlanPlannedFailoverInputProperties. - * Recovery plan planned failover input properties. - * + * Job custom data details. */ -export interface RecoveryPlanPlannedFailoverInputProperties { +export interface JobProperties { /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The activity id. */ - failoverDirection: PossibleOperationsDirections; + activityId?: string; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * The ScenarioName. */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; -} - -/** - * @interface - * An interface representing RecoveryPlanPlannedFailoverInput. - * Recovery plan planned failover input. - * - */ -export interface RecoveryPlanPlannedFailoverInput { + scenarioName?: string; /** - * @member {RecoveryPlanPlannedFailoverInputProperties} properties The - * recovery plan planned failover input properties. + * The DisplayName. */ - properties: RecoveryPlanPlannedFailoverInputProperties; -} - -/** - * @interface - * An interface representing RecoveryPlanScriptActionDetails. - * Recovery plan script action details. - * - */ -export interface RecoveryPlanScriptActionDetails { + friendlyName?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The status of the Job. It is one of these values - NotStarted, InProgress, Succeeded, Failed, + * Cancelled, Suspended or Other. */ - instanceType: "ScriptActionDetails"; + state?: string; /** - * @member {string} path The script path. + * The description of the state of the Job. For e.g. - For Succeeded state, description can be + * Completed, PartiallySucceeded, CompletedWithInformation or Skipped. */ - path: string; + stateDescription?: string; /** - * @member {string} [timeout] The script timeout. + * The tasks. */ - timeout?: string; + tasks?: ASRTask[]; /** - * @member {RecoveryPlanActionLocation} fabricLocation The fabric location. - * Possible values include: 'Primary', 'Recovery' + * The errors. */ - fabricLocation: RecoveryPlanActionLocation; -} - -/** - * @interface - * An interface representing RecoveryPlanShutdownGroupTaskDetails. - * This class represents the recovery plan shutdown group task details. - * - */ -export interface RecoveryPlanShutdownGroupTaskDetails { + errors?: JobErrorDetails[]; /** - * @member {string} instanceType Polymorphic Discriminator + * The start time. */ - instanceType: "RecoveryPlanShutdownGroupTaskDetails"; + startTime?: Date; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The end time. */ - childTasks?: ASRTask[]; + endTime?: Date; /** - * @member {string} [name] The name. + * The Allowed action the job. */ - name?: string; + allowedActions?: string[]; /** - * @member {string} [groupId] The group identifier. + * The affected Object Id. */ - groupId?: string; + targetObjectId?: string; /** - * @member {string} [rpGroupType] The group type. + * The name of the affected object. */ - rpGroupType?: string; -} - -/** - * @interface - * An interface representing RecoveryPlanTestFailoverCleanupInputProperties. - * Recovery plan test failover cleanup input properties. - * - */ -export interface RecoveryPlanTestFailoverCleanupInputProperties { + targetObjectName?: string; /** - * @member {string} [comments] The test failover cleanup comments. + * The type of the affected object which is of + * {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} class. */ - comments?: string; + targetInstanceType?: string; + /** + * The custom job details like test failover job details. + */ + customDetails?: JobDetailsUnion; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverCleanupInput. - * Recovery plan test failover cleanup input. - * + * Job details. */ -export interface RecoveryPlanTestFailoverCleanupInput { +export interface Job extends Resource { /** - * @member {RecoveryPlanTestFailoverCleanupInputProperties} properties The - * recovery plan test failover cleanup input properties. + * The custom data. */ - properties: RecoveryPlanTestFailoverCleanupInputProperties; + properties?: JobProperties; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverInputProperties. - * Recovery plan test failover input properties. - * + * Query parameter to enumerate jobs. */ -export interface RecoveryPlanTestFailoverInputProperties { +export interface JobQueryParameter { /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * Date time to get jobs from. */ - failoverDirection: PossibleOperationsDirections; + startTime?: string; /** - * @member {string} networkType The network type to be used for test - * failover. + * Date time to get jobs up to. */ - networkType: string; + endTime?: string; /** - * @member {string} [networkId] The Id of the network to be used for test - * failover. + * The Id of the fabric to search jobs under. */ - networkId?: string; + fabricId?: string; /** - * @member {string} [skipTestFailoverCleanup] A value indicating whether the - * test failover cleanup is to be skipped. + * The type of objects. */ - skipTestFailoverCleanup?: string; + affectedObjectTypes?: string; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * The states of the job to be filtered can be in. */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; + jobStatus?: string; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverInput. - * Recovery plan test failover input. - * + * Model class for event details of a job status event. */ -export interface RecoveryPlanTestFailoverInput { +export interface JobStatusEventDetails { /** - * @member {RecoveryPlanTestFailoverInputProperties} properties The recovery - * plan test failover input properties. + * Polymorphic Discriminator */ - properties: RecoveryPlanTestFailoverInputProperties; -} - -/** - * @interface - * An interface representing RecoveryPlanUnplannedFailoverInputProperties. - * Recovery plan unplanned failover input properties. - * - */ -export interface RecoveryPlanUnplannedFailoverInputProperties { + instanceType: "JobStatus"; /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * Job arm id for the event. */ - failoverDirection: PossibleOperationsDirections; + jobId?: string; /** - * @member {SourceSiteOperations} sourceSiteOperations A value indicating - * whether source site operations are required. Possible values include: - * 'Required', 'NotRequired' + * JobName for the Event. */ - sourceSiteOperations: SourceSiteOperations; + jobFriendlyName?: string; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * JobStatus for the Event. */ - providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; + jobStatus?: string; + /** + * AffectedObjectType for the event. + */ + affectedObjectType?: string; } /** - * @interface - * An interface representing RecoveryPlanUnplannedFailoverInput. - * Recovery plan unplanned failover input. - * + * This class represents a task which is actually a workflow so that one can navigate to its + * individual drill down. */ -export interface RecoveryPlanUnplannedFailoverInput { +export interface JobTaskDetails { /** - * @member {RecoveryPlanUnplannedFailoverInputProperties} properties The - * recovery plan unplanned failover input properties. + * Polymorphic Discriminator */ - properties: RecoveryPlanUnplannedFailoverInputProperties; + instanceType: "JobTaskDetails"; + /** + * The job entity. + */ + jobTask?: JobEntity; } /** - * @interface - * An interface representing RecoveryPointProperties. - * Recovery point properties. - * + * Logical Network Properties. */ -export interface RecoveryPointProperties { +export interface LogicalNetworkProperties { /** - * @member {Date} [recoveryPointTime] The recovery point time. + * The Friendly Name. */ - recoveryPointTime?: Date; + friendlyName?: string; /** - * @member {string} [recoveryPointType] The recovery point type: - * ApplicationConsistent, CrashConsistent. + * A value indicating whether Network Virtualization is enabled for the logical network. */ - recoveryPointType?: string; + networkVirtualizationStatus?: string; /** - * @member {ProviderSpecificRecoveryPointDetailsUnion} - * [providerSpecificDetails] The provider specific details for the recovery - * point. + * A value indicating whether logical network is used as private test network by test failover. */ - providerSpecificDetails?: ProviderSpecificRecoveryPointDetailsUnion; + logicalNetworkUsage?: string; + /** + * A value indicating whether logical network definitions are isolated. + */ + logicalNetworkDefinitionsStatus?: string; } /** - * @interface - * An interface representing RecoveryPoint. - * Base class representing a recovery point. - * - * @extends Resource + * Logical network data model. */ -export interface RecoveryPoint extends Resource { +export interface LogicalNetwork extends Resource { /** - * @member {RecoveryPointProperties} [properties] Recovery point related - * data. + * The Logical Network Properties. */ - properties?: RecoveryPointProperties; + properties?: LogicalNetworkProperties; } /** - * @interface - * An interface representing RecoveryServicesProviderProperties. - * Recovery services provider properties. - * + * This class represents the manual action task details. */ -export interface RecoveryServicesProviderProperties { +export interface ManualActionTaskDetails { /** - * @member {string} [fabricType] Type of the site. + * Polymorphic Discriminator */ - fabricType?: string; + instanceType: "ManualActionTaskDetails"; /** - * @member {string} [friendlyName] Friendly name of the DRA. + * The name. */ - friendlyName?: string; + name?: string; /** - * @member {string} [providerVersion] The provider version. + * The instructions. */ - providerVersion?: string; + instructions?: string; /** - * @member {string} [serverVersion] The fabric provider. + * The observation. */ - serverVersion?: string; + observation?: string; +} + +/** + * The retention details of the MT. + */ +export interface RetentionVolume { /** - * @member {string} [providerVersionState] DRA version status. + * The volume name. */ - providerVersionState?: string; + volumeName?: string; /** - * @member {Date} [providerVersionExpiryDate] Expiry date of the version. + * The volume capacity. */ - providerVersionExpiryDate?: Date; + capacityInBytes?: number; /** - * @member {string} [fabricFriendlyName] The fabric friendly name. + * The free space available in this volume. */ - fabricFriendlyName?: string; + freeSpaceInBytes?: number; /** - * @member {Date} [lastHeartBeat] Time when last heartbeat was sent by the - * DRA. + * The threshold percentage. */ - lastHeartBeat?: Date; - /** - * @member {string} [connectionStatus] A value indicating whether DRA is - * responsive. - */ - connectionStatus?: string; - /** - * @member {number} [protectedItemCount] Number of protected VMs currently - * managed by the DRA. - */ - protectedItemCount?: number; - /** - * @member {string[]} [allowedScenarios] The scenarios allowed on this - * provider. - */ - allowedScenarios?: string[]; - /** - * @member {HealthError[]} [healthErrorDetails] The recovery services - * provider health error details. - */ - healthErrorDetails?: HealthError[]; + thresholdPercentage?: number; +} + +/** + * Version related details. + */ +export interface VersionDetails { /** - * @member {string} [draIdentifier] The DRA Id. + * The agent version. */ - draIdentifier?: string; + version?: string; /** - * @member {IdentityInformation} [identityDetails] The identity details. + * Version expiry date. */ - identityDetails?: IdentityInformation; + expiryDate?: Date; /** - * @member {VersionDetails} [providerVersionDetails] The provider version - * details. + * A value indicating whether security update required. Possible values include: 'Supported', + * 'NotSupported', 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' */ - providerVersionDetails?: VersionDetails; + status?: AgentVersionStatus; } /** - * @interface - * An interface representing RecoveryServicesProvider. - * Provider details. - * - * @extends Resource + * Details of a Master Target Server. */ -export interface RecoveryServicesProvider extends Resource { +export interface MasterTargetServer { /** - * @member {RecoveryServicesProviderProperties} [properties] Provider - * properties. + * The server Id. */ - properties?: RecoveryServicesProviderProperties; -} - -/** - * @interface - * An interface representing ReplicationProviderContainerUnmappingInput. - * Provider specific input for unpairing operations. - * - */ -export interface ReplicationProviderContainerUnmappingInput { + id?: string; /** - * @member {string} [instanceType] The class type. + * The IP address of the server. */ - instanceType?: string; -} - -/** - * @interface - * An interface representing RemoveProtectionContainerMappingInputProperties. - * Unpairing input properties. - * - */ -export interface RemoveProtectionContainerMappingInputProperties { + ipAddress?: string; /** - * @member {ReplicationProviderContainerUnmappingInput} - * [providerSpecificInput] Provider specific input for unpairing. + * The server name. */ - providerSpecificInput?: ReplicationProviderContainerUnmappingInput; -} - -/** - * @interface - * An interface representing RemoveProtectionContainerMappingInput. - * Container unpairing input. - * - */ -export interface RemoveProtectionContainerMappingInput { + name?: string; /** - * @member {RemoveProtectionContainerMappingInputProperties} [properties] - * Configure protection input properties. + * The OS type of the server. */ - properties?: RemoveProtectionContainerMappingInputProperties; -} - -/** - * @interface - * An interface representing RenewCertificateInputProperties. - * Renew Certificate input properties. - * - */ -export interface RenewCertificateInputProperties { + osType?: string; /** - * @member {string} [renewCertificateType] Renew certificate type. + * The version of the scout component on the server. */ - renewCertificateType?: string; -} - -/** - * @interface - * An interface representing RenewCertificateInput. - * Certificate renewal input. - * - */ -export interface RenewCertificateInput { + agentVersion?: string; /** - * @member {RenewCertificateInputProperties} [properties] Renew certificate - * input properties. + * The last heartbeat received from the server. */ - properties?: RenewCertificateInputProperties; -} - -/** - * @interface - * An interface representing ReplicationGroupDetails. - * Replication group details. This will be used in case of San and Wvr. - * - */ -export interface ReplicationGroupDetails { + lastHeartbeat?: Date; /** - * @member {string} instanceType Polymorphic Discriminator + * Version status */ - instanceType: "ReplicationGroupDetails"; -} - -/** - * @interface - * An interface representing ReplicationProtectedItemProperties. - * Replication protected item custom data details. - * - */ -export interface ReplicationProtectedItemProperties { + versionStatus?: string; /** - * @member {string} [friendlyName] The name. + * The retention volumes of Master target Server. */ - friendlyName?: string; + retentionVolumes?: RetentionVolume[]; /** - * @member {string} [protectedItemType] The type of protected item type. + * The list of data stores in the fabric. */ - protectedItemType?: string; + dataStores?: DataStore[]; /** - * @member {string} [protectableItemId] The protected item ARM Id. + * Validation errors. */ - protectableItemId?: string; + validationErrors?: HealthError[]; /** - * @member {string} [recoveryServicesProviderId] The recovery provider ARM - * Id. + * Health errors. */ - recoveryServicesProviderId?: string; + healthErrors?: HealthError[]; /** - * @member {string} [primaryFabricFriendlyName] The friendly name of the - * primary fabric. + * Disk count of the master target. */ - primaryFabricFriendlyName?: string; + diskCount?: number; /** - * @member {string} [primaryFabricProvider] The fabric provider of the - * primary fabric. + * OS Version of the master target. */ - primaryFabricProvider?: string; + osVersion?: string; /** - * @member {string} [recoveryFabricFriendlyName] The friendly name of - * recovery fabric. + * Agent expiry date. */ - recoveryFabricFriendlyName?: string; + agentExpiryDate?: Date; /** - * @member {string} [recoveryFabricId] The Arm Id of recovery fabric. + * MARS agent version. */ - recoveryFabricId?: string; + marsAgentVersion?: string; /** - * @member {string} [primaryProtectionContainerFriendlyName] The name of - * primary protection container friendly name. + * MARS agent expiry date. */ - primaryProtectionContainerFriendlyName?: string; + marsAgentExpiryDate?: Date; /** - * @member {string} [recoveryProtectionContainerFriendlyName] The name of - * recovery container friendly name. + * Agent version details. */ - recoveryProtectionContainerFriendlyName?: string; + agentVersionDetails?: VersionDetails; /** - * @member {string} [protectionState] The protection status. + * Mars agent version details. */ - protectionState?: string; + marsAgentVersionDetails?: VersionDetails; +} + +/** + * Contains the possible cases for MigrateProviderSpecificInput. + */ +export type MigrateProviderSpecificInputUnion = MigrateProviderSpecificInput | VMwareCbtMigrateInput; + +/** + * Migrate provider specific input. + */ +export interface MigrateProviderSpecificInput { /** - * @member {string} [protectionStateDescription] The protection state - * description. + * Polymorphic Discriminator */ - protectionStateDescription?: string; + instanceType: "MigrateProviderSpecificInput"; +} + +/** + * Migrate input properties. + */ +export interface MigrateInputProperties { /** - * @member {string} [activeLocation] The Current active location of the PE. + * The provider specific details. */ - activeLocation?: string; + providerSpecificDetails: MigrateProviderSpecificInputUnion; +} + +/** + * Input for migrate. + */ +export interface MigrateInput { /** - * @member {string} [testFailoverState] The Test failover state. + * Migrate input properties. */ - testFailoverState?: string; + properties: MigrateInputProperties; +} + +/** + * Contains the possible cases for MigrationProviderSpecificSettings. + */ +export type MigrationProviderSpecificSettingsUnion = MigrationProviderSpecificSettings | VMwareCbtMigrationDetails; + +/** + * Migration provider specific settings. + */ +export interface MigrationProviderSpecificSettings { /** - * @member {string} [testFailoverStateDescription] The Test failover state - * description. + * Polymorphic Discriminator */ - testFailoverStateDescription?: string; + instanceType: "MigrationProviderSpecificSettings"; +} + +/** + * Migration item properties. + */ +export interface MigrationItemProperties { /** - * @member {string[]} [allowedOperations] The allowed operations on the - * Replication protected item. + * The on-premise virtual machine name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedOperations?: string[]; + readonly machineName?: string; /** - * @member {string} [replicationHealth] The consolidated protection health - * for the VM taking any issues with SRS as well as all the replication units - * associated with the VM's replication group into account. This is a string - * representation of the ProtectionHealth enumeration. + * The ARM Id of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicationHealth?: string; + readonly policyId?: string; /** - * @member {string} [failoverHealth] The consolidated failover health for the - * VM. + * The name of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverHealth?: string; + readonly policyFriendlyName?: string; /** - * @member {HealthError[]} [healthErrors] List of health errors. + * The recovery services provider ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly recoveryServicesProviderId?: string; /** - * @member {string} [policyId] The ID of Policy governing this PE. + * 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.** */ - policyId?: string; + readonly migrationState?: MigrationState; /** - * @member {string} [policyFriendlyName] The name of Policy governing this - * PE. + * The migration state description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - policyFriendlyName?: string; + readonly migrationStateDescription?: string; /** - * @member {Date} [lastSuccessfulFailoverTime] The Last successful failover - * time. + * The test migrate state. Possible values include: 'None', 'TestMigrationInProgress', + * 'TestMigrationSucceeded', 'TestMigrationFailed', 'TestMigrationCleanupInProgress' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastSuccessfulFailoverTime?: Date; + readonly testMigrateState?: TestMigrationState; /** - * @member {Date} [lastSuccessfulTestFailoverTime] The Last successful test - * failover time. + * The test migrate state description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastSuccessfulTestFailoverTime?: Date; + readonly testMigrateStateDescription?: string; /** - * @member {CurrentScenarioDetails} [currentScenario] The current scenario. + * The consolidated health. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - currentScenario?: CurrentScenarioDetails; + readonly health?: string; /** - * @member {string} [failoverRecoveryPointId] The recovery point ARM Id to - * which the Vm was failed over. + * The list of health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverRecoveryPointId?: string; + readonly healthErrors?: HealthError[]; /** - * @member {ReplicationProviderSpecificSettingsUnion} - * [providerSpecificDetails] The Replication provider custom settings. + * 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.** */ - providerSpecificDetails?: ReplicationProviderSpecificSettingsUnion; + readonly allowedOperations?: MigrationItemOperation[]; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The current job details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryContainerId?: string; + readonly currentJob?: CurrentJobDetails; + /** + * The migration provider custom settings. + */ + providerSpecificDetails?: MigrationProviderSpecificSettingsUnion; } /** - * @interface - * An interface representing ReplicationProtectedItem. - * Replication protected item. - * - * @extends Resource + * Migration item. */ -export interface ReplicationProtectedItem extends Resource { +export interface MigrationItem extends Resource { /** - * @member {ReplicationProtectedItemProperties} [properties] The custom data. + * The migration item properties. */ - properties?: ReplicationProtectedItemProperties; + properties?: MigrationItemProperties; } /** - * @interface - * An interface representing ResourceHealthSummary. - * Base class to define the health summary of the resources contained under an - * Arm resource. - * + * Query parameter to enumerate migration items. */ -export interface ResourceHealthSummary { +export interface MigrationItemsQueryParameter { /** - * @member {number} [resourceCount] The count of total resources umder the - * container. + * The source fabric name filter. */ - resourceCount?: number; + sourceFabricName?: string; /** - * @member {HealthErrorSummary[]} [issues] The list of summary of health - * errors across the resources under the container. + * The replication provider type. */ - issues?: HealthErrorSummary[]; + instanceType?: string; } /** - * @interface - * An interface representing ResumeJobParamsProperties. - * Resume job properties. - * + * Migration item recovery point properties. */ -export interface ResumeJobParamsProperties { +export interface MigrationRecoveryPointProperties { /** - * @member {string} [comments] Resume job comments. + * The recovery point time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - comments?: string; + readonly recoveryPointTime?: Date; + /** + * 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.** + */ + readonly recoveryPointType?: MigrationRecoveryPointType; } /** - * @interface - * An interface representing ResumeJobParams. - * Resume job params. - * + * Recovery point for a migration item. */ -export interface ResumeJobParams { +export interface MigrationRecoveryPoint extends Resource { /** - * @member {ResumeJobParamsProperties} [properties] Resume job properties. + * Recovery point properties. */ - properties?: ResumeJobParamsProperties; + properties?: MigrationRecoveryPointProperties; } /** - * @interface - * An interface representing ReverseReplicationInputProperties. - * Reverse replication input properties. - * + * The Mobility Service update details. */ -export interface ReverseReplicationInputProperties { +export interface MobilityServiceUpdate { /** - * @member {string} [failoverDirection] Failover direction. + * The version of the latest update. */ - failoverDirection?: string; + version?: string; /** - * @member {ReverseReplicationProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific reverse replication input. + * The reboot status of the update - whether it is required or not. */ - providerSpecificDetails?: ReverseReplicationProviderSpecificInputUnion; + rebootStatus?: string; + /** + * The OS type. + */ + osType?: string; } /** - * @interface - * An interface representing ReverseReplicationInput. - * Reverse replication input. - * + * Subnets of the network. */ -export interface ReverseReplicationInput { +export interface Subnet { /** - * @member {ReverseReplicationInputProperties} [properties] Reverse - * replication properties + * The subnet name. */ - properties?: ReverseReplicationInputProperties; + name?: string; + /** + * The subnet friendly name. + */ + friendlyName?: string; + /** + * The list of addresses for the subnet. + */ + addressList?: string[]; } /** - * @interface - * An interface representing RunAsAccount. - * CS Accounts Details. - * + * Network Properties */ -export interface RunAsAccount { +export interface NetworkProperties { /** - * @member {string} [accountId] The CS RunAs account Id. + * The Fabric Type. */ - accountId?: string; + fabricType?: string; /** - * @member {string} [accountName] The CS RunAs account name. + * The List of subnets. */ - accountName?: string; + subnets?: Subnet[]; + /** + * The Friendly Name. + */ + friendlyName?: string; + /** + * The Network Type. + */ + networkType?: string; } /** - * @interface - * An interface representing SanEnableProtectionInput. - * San enable protection provider specific input. - * + * Network model. */ -export interface SanEnableProtectionInput { +export interface Network extends Resource { /** - * @member {string} instanceType Polymorphic Discriminator + * The Network Properties. */ - instanceType: "San"; + properties?: NetworkProperties; } /** - * @interface - * An interface representing ScriptActionTaskDetails. - * This class represents the script action task details. - * + * Network Mapping Properties. */ -export interface ScriptActionTaskDetails { +export interface NetworkMappingProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * The pairing state for network mapping. */ - instanceType: "ScriptActionTaskDetails"; + state?: string; /** - * @member {string} [name] The name. + * The primary network friendly name. */ - name?: string; + primaryNetworkFriendlyName?: string; /** - * @member {string} [path] The path. + * The primary network id for network mapping. */ - path?: string; + primaryNetworkId?: string; /** - * @member {string} [output] The output. + * The primary fabric friendly name. */ - output?: string; + primaryFabricFriendlyName?: string; /** - * @member {boolean} [isPrimarySideScript] A value indicating whether it is a - * primary side script or not. + * The recovery network friendly name. */ - isPrimarySideScript?: boolean; -} - -/** - * @interface - * An interface representing StorageClassificationProperties. - * Storage object properties. - * - */ -export interface StorageClassificationProperties { + recoveryNetworkFriendlyName?: string; /** - * @member {string} [friendlyName] Friendly name of the Storage - * classification. + * The recovery network id for network mapping. */ - friendlyName?: string; + recoveryNetworkId?: string; + /** + * The recovery fabric ARM id. + */ + recoveryFabricArmId?: string; + /** + * The recovery fabric friendly name. + */ + recoveryFabricFriendlyName?: string; + /** + * The fabric specific settings. + */ + fabricSpecificSettings?: NetworkMappingFabricSpecificSettingsUnion; } /** - * @interface - * An interface representing StorageClassification. - * Storage object definition. - * - * @extends Resource + * 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 StorageClassification extends Resource { +export interface NetworkMapping extends Resource { /** - * @member {StorageClassificationProperties} [properties] Proprties of the - * storage object. + * The Network Mapping Properties. */ - properties?: StorageClassificationProperties; + properties?: NetworkMappingProperties; } /** - * @interface - * An interface representing StorageClassificationMappingProperties. - * Storage mapping properties. - * + * Operations discovery class. */ -export interface StorageClassificationMappingProperties { +export interface OperationsDiscovery { /** - * @member {string} [targetStorageClassificationId] Target storage object Id. + * 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) */ - targetStorageClassificationId?: string; + name?: string; + /** + * Object type + */ + display?: Display; + /** + * 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" + */ + origin?: string; + /** + * Properties. Reserved for future use. + */ + properties?: any; } /** - * @interface - * An interface representing StorageClassificationMapping. - * Storage mapping object. - * - * @extends Resource + * Wrapper model for OSVersion to include version and service pack info. */ -export interface StorageClassificationMapping extends Resource { +export interface OSVersionWrapper { /** - * @member {StorageClassificationMappingProperties} [properties] Proprties of - * the storage mappping object. + * The version. */ - properties?: StorageClassificationMappingProperties; + version?: string; + /** + * Service pack. + */ + servicePack?: string; } /** - * @interface - * An interface representing StorageMappingInputProperties. - * Storage mapping input properties. - * + * Input definition for planned failover input properties. */ -export interface StorageMappingInputProperties { +export interface PlannedFailoverInputProperties { /** - * @member {string} [targetStorageClassificationId] The ID of the storage - * object. + * Failover direction. */ - targetStorageClassificationId?: string; + failoverDirection?: string; + /** + * Provider specific settings + */ + providerSpecificDetails?: ProviderSpecificFailoverInputUnion; } /** - * @interface - * An interface representing StorageClassificationMappingInput. - * Storage mapping input. - * + * Input definition for planned failover. */ -export interface StorageClassificationMappingInput { +export interface PlannedFailoverInput { /** - * @member {StorageMappingInputProperties} [properties] Storage mapping input - * properties. + * Planned failover input properties */ - properties?: StorageMappingInputProperties; + properties?: PlannedFailoverInputProperties; } /** - * @interface - * An interface representing SwitchProtectionInputProperties. - * Switch protection input properties. - * + * Protection profile custom data details. */ -export interface SwitchProtectionInputProperties { +export interface PolicyProperties { /** - * @member {string} [replicationProtectedItemName] The unique replication - * protected item name. + * The FriendlyName. */ - replicationProtectedItemName?: string; + friendlyName?: string; /** - * @member {SwitchProtectionProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific switch protection input. + * The ReplicationChannelSetting. */ - providerSpecificDetails?: SwitchProtectionProviderSpecificInputUnion; + providerSpecificDetails?: PolicyProviderSpecificDetailsUnion; } /** - * @interface - * An interface representing SwitchProtectionInput. - * Switch protection input. - * + * Protection profile details. */ -export interface SwitchProtectionInput { +export interface Policy extends Resource { /** - * @member {SwitchProtectionInputProperties} [properties] Switch protection - * properties + * The custom data. */ - properties?: SwitchProtectionInputProperties; + properties?: PolicyProperties; } /** - * @interface - * An interface representing SwitchProtectionJobDetails. - * This class represents details for switch protection job. - * + * Details of the Process Server. */ -export interface SwitchProtectionJobDetails { +export interface ProcessServer { /** - * @member {string} instanceType Polymorphic Discriminator + * The Process Server's friendly name. */ - instanceType: "SwitchProtectionJobDetails"; + friendlyName?: 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 Process Server Id. */ - affectedObjectDetails?: { [propertyName: string]: string }; + id?: string; /** - * @member {string} [newReplicationProtectedItemId] ARM Id of the new - * replication protected item. + * The IP address of the server. */ - newReplicationProtectedItemId?: string; -} - -/** - * @interface - * An interface representing TargetComputeSizeProperties. - * Represents applicable recovery vm sizes properties. - * - */ -export interface TargetComputeSizeProperties { + ipAddress?: string; /** - * @member {string} [name] Target compute size name. + * The OS type of the server. */ - name?: string; + osType?: string; /** - * @member {string} [friendlyName] Target compute size display name. + * The version of the scout component on the server. */ - friendlyName?: string; + agentVersion?: string; /** - * @member {number} [cpuCoresCount] The maximum cpu cores count supported by - * target compute size. + * The last heartbeat received from the server. */ - cpuCoresCount?: number; + lastHeartbeat?: Date; /** - * @member {number} [memoryInGB] The maximum memory in GB supported by target - * compute size. + * Version status */ - memoryInGB?: number; + versionStatus?: string; /** - * @member {number} [maxDataDiskCount] The maximum data disks count supported - * by target compute size. + * The list of the mobility service updates available on the Process Server. */ - maxDataDiskCount?: number; + mobilityServiceUpdates?: MobilityServiceUpdate[]; /** - * @member {number} [maxNicsCount] The maximum Nics count supported by target - * compute size. + * The agent generated Id. */ - maxNicsCount?: number; + hostId?: string; /** - * @member {ComputeSizeErrorDetails[]} [errors] The reasons why the target - * compute size is not applicable for the protected item. + * The servers configured with this PS. */ - errors?: ComputeSizeErrorDetails[]; + machineCount?: string; /** - * @member {string} [highIopsSupported] The value indicating whether the - * target compute size supports high Iops. + * The number of replication pairs configured in this PS. */ - highIopsSupported?: string; -} - -/** - * @interface - * An interface representing TargetComputeSize. - * Represents applicable recovery vm sizes. - * - */ -export interface TargetComputeSize { + replicationPairCount?: string; /** - * @member {string} [id] The Id. + * The percentage of the system load. */ - id?: string; + systemLoad?: string; /** - * @member {string} [name] The name. + * The system load status. */ - name?: string; + systemLoadStatus?: string; /** - * @member {string} [type] The Type of the object. + * The percentage of the CPU load. */ - type?: string; + cpuLoad?: string; /** - * @member {TargetComputeSizeProperties} [properties] The custom data. + * The CPU load status. */ - properties?: TargetComputeSizeProperties; -} - -/** - * @interface - * An interface representing TestFailoverCleanupInputProperties. - * Input definition for test failover cleanup input properties. - * - */ -export interface TestFailoverCleanupInputProperties { + cpuLoadStatus?: string; /** - * @member {string} [comments] Test failover cleanup comments. + * The total memory. */ - comments?: string; -} - -/** - * @interface - * An interface representing TestFailoverCleanupInput. - * Input definition for test failover cleanup. - * - */ -export interface TestFailoverCleanupInput { + totalMemoryInBytes?: number; /** - * @member {TestFailoverCleanupInputProperties} properties Test failover - * cleanup input properties. + * The available memory. */ - properties: TestFailoverCleanupInputProperties; -} - -/** - * @interface - * An interface representing TestFailoverInputProperties. - * Input definition for planned failover input properties. - * - */ -export interface TestFailoverInputProperties { + availableMemoryInBytes?: number; /** - * @member {string} [failoverDirection] Failover direction. + * The memory usage status. */ - failoverDirection?: string; + memoryUsageStatus?: string; /** - * @member {string} [networkType] Network type to be used for test failover. + * The total space. */ - networkType?: string; + totalSpaceInBytes?: number; /** - * @member {string} [networkId] The id of the network to be used for test - * failover + * The available space. */ - networkId?: string; + availableSpaceInBytes?: number; /** - * @member {string} [skipTestFailoverCleanup] A value indicating whether the - * test failover cleanup is to be skipped. + * The space usage status. */ - skipTestFailoverCleanup?: string; + spaceUsageStatus?: string; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The PS service status. */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; -} - -/** - * @interface - * An interface representing TestFailoverInput. - * Input definition for planned failover. - * - */ -export interface TestFailoverInput { + psServiceStatus?: string; /** - * @member {TestFailoverInputProperties} [properties] Planned failover input - * properties + * The PS SSL cert expiry date. */ - properties?: TestFailoverInputProperties; -} - -/** - * @interface - * An interface representing TestFailoverJobDetails. - * This class represents the details for a test failover job. - * - */ -export interface TestFailoverJobDetails { + sslCertExpiryDate?: Date; /** - * @member {string} instanceType Polymorphic Discriminator + * CS SSL cert expiry date. */ - instanceType: "TestFailoverJobDetails"; + sslCertExpiryRemainingDays?: number; /** - * @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. + * OS Version of the process server. Note: This will get populated if user has CS version greater + * than 9.12.0.0. */ - affectedObjectDetails?: { [propertyName: string]: string }; + osVersion?: string; /** - * @member {string} [testFailoverStatus] The test failover status. + * Health errors. */ - testFailoverStatus?: string; + healthErrors?: HealthError[]; /** - * @member {string} [comments] The test failover comments. + * Agent expiry date. */ - comments?: string; + agentExpiryDate?: Date; /** - * @member {string} [networkName] The test network name. + * The agent version details. */ - networkName?: string; + agentVersionDetails?: VersionDetails; /** - * @member {string} [networkFriendlyName] The test network friendly name. + * The health of Process Server. Possible values include: 'None', 'Normal', 'Warning', 'Critical' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkFriendlyName?: string; + readonly health?: ProtectionHealth; /** - * @member {string} [networkType] The test network type (see - * TestFailoverInput enum for possible values). + * The process server stats refresh time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkType?: string; + readonly psStatsRefreshTime?: Date; /** - * @member {FailoverReplicationProtectedItemDetails[]} [protectedItemDetails] - * The test VM details. + * The uploading pending data in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; -} - -/** - * @interface - * An interface representing UnplannedFailoverInputProperties. - * Input definition for planned failover input properties. - * - */ -export interface UnplannedFailoverInputProperties { + readonly throughputUploadPendingDataInBytes?: number; /** - * @member {string} [failoverDirection] Failover direction. + * The throughput in MBps. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverDirection?: string; + readonly throughputInMBps?: number; /** - * @member {string} [sourceSiteOperations] Source site operations status + * The throughput in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceSiteOperations?: string; + readonly throughputInBytes?: number; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * The throughput status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; -} - -/** - * @interface - * An interface representing UnplannedFailoverInput. - * Input definition for planned failover. - * - */ -export interface UnplannedFailoverInput { + readonly throughputStatus?: string; /** - * @member {UnplannedFailoverInputProperties} [properties] Planned failover - * input properties + * The MARS communication status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: UnplannedFailoverInputProperties; -} - -/** - * @interface - * An interface representing UpdateMobilityServiceRequestProperties. - * The properties of an update mobility service request. - * - */ -export interface UpdateMobilityServiceRequestProperties { + readonly marsCommunicationStatus?: string; /** - * @member {string} [runAsAccountId] The CS run as account Id. + * The MARS registration status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runAsAccountId?: string; + readonly marsRegistrationStatus?: string; } /** - * @interface - * An interface representing UpdateMobilityServiceRequest. - * Request to update the mobility service on a protected item. - * + * Replication protected item custom data details. */ -export interface UpdateMobilityServiceRequest { +export interface ProtectableItemProperties { /** - * @member {UpdateMobilityServiceRequestProperties} [properties] The - * properties of the update mobility service request. + * The name. */ - properties?: UpdateMobilityServiceRequestProperties; -} - -/** - * @interface - * An interface representing UpdateNetworkMappingInputProperties. - * Common input details for network mapping operation. - * - */ -export interface UpdateNetworkMappingInputProperties { + friendlyName?: string; /** - * @member {string} [recoveryFabricName] Recovery fabric name. + * The protection status. */ - recoveryFabricName?: string; + protectionStatus?: string; /** - * @member {string} [recoveryNetworkId] Recovery network Id. + * The ARM resource of protected items. */ - recoveryNetworkId?: string; + replicationProtectedItemId?: string; /** - * @member {FabricSpecificUpdateNetworkMappingInputUnion} - * [fabricSpecificDetails] Fabrics specific input network Id. + * The recovery provider ARM Id. */ - fabricSpecificDetails?: FabricSpecificUpdateNetworkMappingInputUnion; -} - -/** - * @interface - * An interface representing UpdateNetworkMappingInput. - * Update network mapping input. - * - */ -export interface UpdateNetworkMappingInput { + recoveryServicesProviderId?: string; /** - * @member {UpdateNetworkMappingInputProperties} [properties] The input - * properties needed to update network mapping. + * The Current protection readiness errors. */ - properties?: UpdateNetworkMappingInputProperties; -} - -/** - * @interface - * An interface representing UpdatePolicyInputProperties. - * Policy update properties. - * - */ -export interface UpdatePolicyInputProperties { + protectionReadinessErrors?: string[]; /** - * @member {PolicyProviderSpecificInputUnion} [replicationProviderSettings] - * The ReplicationProviderSettings. + * The list of replication providers supported for the protectable item. */ - replicationProviderSettings?: PolicyProviderSpecificInputUnion; -} - -/** - * @interface - * An interface representing UpdatePolicyInput. - * Update policy input. - * - */ -export interface UpdatePolicyInput { + supportedReplicationProviders?: string[]; /** - * @member {UpdatePolicyInputProperties} [properties] The - * ReplicationProviderSettings. + * The Replication provider custom settings. */ - properties?: UpdatePolicyInputProperties; + customDetails?: ConfigurationSettingsUnion; } /** - * @interface - * An interface representing UpdateProtectionContainerMappingInputProperties. - * Container pairing update input. - * + * Replication protected item */ -export interface UpdateProtectionContainerMappingInputProperties { +export interface ProtectableItem extends Resource { /** - * @member {ReplicationProviderSpecificUpdateContainerMappingInputUnion} - * [providerSpecificInput] Provider specific input for updating protection - * container mapping. + * The custom data. */ - providerSpecificInput?: ReplicationProviderSpecificUpdateContainerMappingInputUnion; + properties?: ProtectableItemProperties; } /** - * @interface - * An interface representing UpdateProtectionContainerMappingInput. - * Container pairing update input. - * + * Query parameter to enumerate Protectable items. */ -export interface UpdateProtectionContainerMappingInput { +export interface ProtectableItemQueryParameter { /** - * @member {UpdateProtectionContainerMappingInputProperties} [properties] - * Update protection container mapping input properties. + * State of the Protectable item query filter. */ - properties?: UpdateProtectionContainerMappingInputProperties; + state?: string; } /** - * @interface - * An interface representing UpdateRecoveryPlanInputProperties. - * Recovery plan updation properties. - * + * Query parameter to enumerate protected items. */ -export interface UpdateRecoveryPlanInputProperties { +export interface ProtectedItemsQueryParameter { /** - * @member {RecoveryPlanGroup[]} [groups] The recovery plan groups. + * The source fabric name filter. */ - groups?: RecoveryPlanGroup[]; + sourceFabricName?: string; + /** + * The recovery plan filter. + */ + recoveryPlanName?: string; + /** + * The vCenter name filter. + */ + vCenterName?: string; + /** + * The replication provider type. + */ + instanceType?: string; + /** + * Whether Multi VM group is auto created or specified by user. Possible values include: + * 'AutoCreated', 'UserSpecified' + */ + multiVmGroupCreateOption?: MultiVmGroupCreateOption; } /** - * @interface - * An interface representing UpdateRecoveryPlanInput. - * Update recovery plan input class. - * + * Base class for fabric specific details of container. */ -export interface UpdateRecoveryPlanInput { +export interface ProtectionContainerFabricSpecificDetails { /** - * @member {UpdateRecoveryPlanInputProperties} [properties] Recovery plan - * update properties. + * Gets the class type. Overridden in derived classes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: UpdateRecoveryPlanInputProperties; + readonly instanceType?: string; } /** - * @interface - * An interface representing VMNicInputDetails. - * Hyper V VM network input details. - * + * Protection profile custom data details. */ -export interface VMNicInputDetails { +export interface ProtectionContainerProperties { /** - * @member {string} [nicId] The nic Id. + * Fabric friendly name. */ - nicId?: string; + fabricFriendlyName?: string; /** - * @member {string} [recoveryVMSubnetName] Recovery VM subnet name. + * The name. */ - recoveryVMSubnetName?: string; + friendlyName?: string; /** - * @member {string} [replicaNicStaticIPAddress] Replica nic static IP - * address. + * The fabric type. */ - replicaNicStaticIPAddress?: string; + fabricType?: string; /** - * @member {string} [selectionType] Selection type for failover. + * Number of protected PEs */ - selectionType?: string; + protectedItemCount?: number; /** - * @member {boolean} [enableAcceleratedNetworkingOnRecovery] Whether the NIC - * has accerated networking enabled. + * The pairing status of this cloud. */ - enableAcceleratedNetworkingOnRecovery?: boolean; + pairingStatus?: string; + /** + * The role of this cloud. + */ + role?: string; + /** + * Fabric specific details. + */ + fabricSpecificDetails?: ProtectionContainerFabricSpecificDetails; } /** - * @interface - * An interface representing UpdateReplicationProtectedItemInputProperties. - * Update protected item input properties. - * + * Protection container details. */ -export interface UpdateReplicationProtectedItemInputProperties { +export interface ProtectionContainer extends Resource { /** - * @member {string} [recoveryAzureVMName] Target azure VM name given by the - * user. + * The custom data. */ - recoveryAzureVMName?: string; + properties?: ProtectionContainerProperties; +} + +/** + * Protection container mapping properties. + */ +export interface ProtectionContainerMappingProperties { /** - * @member {string} [recoveryAzureVMSize] Target Azure Vm size. + * Paired protection container ARM ID. */ - recoveryAzureVMSize?: string; + targetProtectionContainerId?: string; /** - * @member {string} [selectedRecoveryAzureNetworkId] Target Azure Network Id. + * Friendly name of paired container. */ - selectedRecoveryAzureNetworkId?: string; + targetProtectionContainerFriendlyName?: string; /** - * @member {string} [selectedSourceNicId] The selected source nic Id which - * will be used as the primary nic during failover. + * Provider specific provider details. */ - selectedSourceNicId?: string; + providerSpecificDetails?: ProtectionContainerMappingProviderSpecificDetailsUnion; /** - * @member {string} [enableRdpOnTargetOption] The selected option to enable - * RDP\SSH on target vm after failover. String value of - * {SrsDataContract.EnableRDPOnTargetOption} enum. + * Health of pairing. */ - enableRdpOnTargetOption?: string; + health?: string; /** - * @member {VMNicInputDetails[]} [vmNics] The list of vm nic details. + * Health error. */ - vmNics?: VMNicInputDetails[]; + healthErrorDetails?: HealthError[]; /** - * @member {LicenseType} [licenseType] License type. Possible values include: - * 'NotSpecified', 'NoLicenseType', 'WindowsServer' + * Policy ARM Id. */ - licenseType?: LicenseType; + policyId?: string; /** - * @member {string} [recoveryAvailabilitySetId] The target availability set - * id. + * Association Status */ - recoveryAvailabilitySetId?: string; + state?: string; /** - * @member {UpdateReplicationProtectedItemProviderInputUnion} - * [providerSpecificDetails] The provider specific input to update - * replication protected item. + * Friendly name of source protection container. */ - providerSpecificDetails?: UpdateReplicationProtectedItemProviderInputUnion; + 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 UpdateReplicationProtectedItemInput. - * Update replication protected item input. - * + * Protection container mapping object. */ -export interface UpdateReplicationProtectedItemInput { +export interface ProtectionContainerMapping extends Resource { /** - * @member {UpdateReplicationProtectedItemInputProperties} [properties] - * Update replication protected item properties. + * The custom data. */ - properties?: UpdateReplicationProtectedItemInputProperties; + properties?: ProtectionContainerMappingProperties; } /** - * @interface - * An interface representing UpdateVCenterRequestProperties. - * The properties of an update vCenter request. - * + * RCM based Azure migration specific policy details. */ -export interface UpdateVCenterRequestProperties { +export interface RcmAzureMigrationPolicyDetails { /** - * @member {string} [friendlyName] The friendly name of the vCenter. + * Polymorphic Discriminator */ - friendlyName?: string; + instanceType: "RcmAzureMigration"; /** - * @member {string} [ipAddress] The IP address of the vCenter to be - * discovered. + * The recovery point threshold in minutes. */ - ipAddress?: string; + recoveryPointThresholdInMinutes?: number; /** - * @member {string} [processServerId] The process server Id from where the - * update can be orchestrated. + * The duration in minutes until which the recovery points need to be stored. */ - processServerId?: string; + recoveryPointHistory?: number; /** - * @member {string} [port] The port number for discovery. + * The app consistent snapshot frequency in minutes. */ - port?: string; + appConsistentFrequencyInMinutes?: number; /** - * @member {string} [runAsAccountId] The CS account Id which has priviliges - * to update the vCenter. + * A value indicating whether multi-VM sync has to be enabled. Possible values include: + * 'Enabled', 'Disabled' */ - runAsAccountId?: string; + multiVmSyncStatus?: MultiVmSyncStatus; + /** + * The crash consistent snapshot frequency in minutes. + */ + crashConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing UpdateVCenterRequest. - * Input required to update vCenter. - * + * Contains the possible cases for RecoveryPlanProviderSpecificDetails. */ -export interface UpdateVCenterRequest { +export type RecoveryPlanProviderSpecificDetailsUnion = RecoveryPlanProviderSpecificDetails | RecoveryPlanA2ADetails; + +/** + * Recovery plan provider specific details. + */ +export interface RecoveryPlanProviderSpecificDetails { /** - * @member {UpdateVCenterRequestProperties} [properties] The update VCenter - * Request Properties. + * Polymorphic Discriminator */ - properties?: UpdateVCenterRequestProperties; + instanceType: "RecoveryPlanProviderSpecificDetails"; } /** - * @interface - * An interface representing VaultHealthProperties. - * class to define the health summary of the Vault. - * + * Recovery plan custom details. */ -export interface VaultHealthProperties { +export interface RecoveryPlanProperties { /** - * @member {HealthError[]} [vaultErrors] The list of errors on the vault. + * The friendly name. */ - vaultErrors?: HealthError[]; + friendlyName?: string; /** - * @member {ResourceHealthSummary} [protectedItemsHealth] The list of the - * health detail of the protected items in the vault. + * The primary fabric Id. */ - protectedItemsHealth?: ResourceHealthSummary; + primaryFabricId?: string; /** - * @member {ResourceHealthSummary} [fabricsHealth] The list of the health - * detail of the fabrics in the vault. + * The primary fabric friendly name. */ - fabricsHealth?: ResourceHealthSummary; + primaryFabricFriendlyName?: string; /** - * @member {ResourceHealthSummary} [containersHealth] The list of the health - * detail of the containers in the vault. + * The recovery fabric Id. */ - containersHealth?: ResourceHealthSummary; -} - -/** - * @interface - * An interface representing VaultHealthDetails. - * Vault health details definition. - * - * @extends Resource - */ -export interface VaultHealthDetails extends Resource { + recoveryFabricId?: string; /** - * @member {VaultHealthProperties} [properties] The vault health related - * data. + * The recovery fabric friendly name. */ - properties?: VaultHealthProperties; -} - -/** - * @interface - * An interface representing VCenterProperties. - * vCenter properties. - * - */ -export interface VCenterProperties { + recoveryFabricFriendlyName?: string; /** - * @member {string} [friendlyName] Friendly name of the vCenter. + * The failover deployment model. */ - friendlyName?: string; + failoverDeploymentModel?: string; /** - * @member {string} [internalId] VCenter internal ID. + * The list of replication providers. */ - internalId?: string; + replicationProviders?: string[]; /** - * @member {Date} [lastHeartbeat] The time when the last heartbeat was - * reveived by vCenter. + * The list of allowed operations. */ - lastHeartbeat?: Date; + allowedOperations?: string[]; /** - * @member {string} [discoveryStatus] The VCenter discovery status. + * The start time of the last planned failover. */ - discoveryStatus?: string; + lastPlannedFailoverTime?: Date; /** - * @member {string} [processServerId] The process server Id. + * The start time of the last unplanned failover. */ - processServerId?: string; + lastUnplannedFailoverTime?: Date; /** - * @member {string} [ipAddress] The IP address of the vCenter. + * The start time of the last test failover. */ - ipAddress?: string; + lastTestFailoverTime?: Date; /** - * @member {string} [infrastructureId] The infrastructure Id of vCenter. + * The current scenario details. */ - infrastructureId?: string; + currentScenario?: CurrentScenarioDetails; /** - * @member {string} [port] The port number for discovery. + * The recovery plan status. */ - port?: string; + currentScenarioStatus?: string; /** - * @member {string} [runAsAccountId] The account Id which has privileges to - * discover the vCenter. + * The recovery plan status description. */ - runAsAccountId?: string; + currentScenarioStatusDescription?: string; /** - * @member {string} [fabricArmResourceName] The ARM resource name of the - * fabric containing this VCenter. + * The recovery plan groups. */ - fabricArmResourceName?: string; + groups?: RecoveryPlanGroup[]; /** - * @member {HealthError[]} [healthErrors] The health errors for this VCenter. + * The provider id and provider specific details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - healthErrors?: HealthError[]; + readonly providerSpecificDetails?: RecoveryPlanProviderSpecificDetailsUnion[]; } /** - * @interface - * An interface representing VCenter. - * vCenter definition. - * - * @extends Resource + * Recovery plan details. */ -export interface VCenter extends Resource { +export interface RecoveryPlan extends Resource { /** - * @member {VCenterProperties} [properties] VCenter related data. + * The custom details. */ - properties?: VCenterProperties; + properties?: RecoveryPlanProperties; } /** - * @interface - * An interface representing VirtualMachineTaskDetails. - * This class represents the virtual machine task details. - * + * Contains the possible cases for RecoveryPlanProviderSpecificFailoverInput. */ -export interface VirtualMachineTaskDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "VirtualMachineTaskDetails"; - /** - * @member {string} [skippedReason] The skipped reason. - */ - skippedReason?: string; - /** - * @member {string} [skippedReasonString] The skipped reason string. - */ - skippedReasonString?: string; - /** - * @member {JobEntity} [jobTask] The job entity. - */ - jobTask?: JobEntity; -} +export type RecoveryPlanProviderSpecificFailoverInputUnion = RecoveryPlanProviderSpecificFailoverInput | RecoveryPlanA2AFailoverInput | RecoveryPlanHyperVReplicaAzureFailbackInput | RecoveryPlanHyperVReplicaAzureFailoverInput | RecoveryPlanInMageAzureV2FailoverInput | RecoveryPlanInMageFailoverInput | RecoveryPlanInMageRcmFailoverInput; /** - * @interface - * An interface representing VmmDetails. - * VMM fabric specific details. - * + * Recovery plan provider specific failover input base class. */ -export interface VmmDetails { +export interface RecoveryPlanProviderSpecificFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VMM"; + instanceType: "RecoveryPlanProviderSpecificFailoverInput"; } /** - * @interface - * An interface representing VmmToAzureCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to Vmm to Azure - * Network mapping. - * + * Recovery plan A2A failover input. */ -export interface VmmToAzureCreateNetworkMappingInput { +export interface RecoveryPlanA2AFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmmToAzure"; -} - -/** - * @interface - * An interface representing VmmToAzureNetworkMappingSettings. - * E2A Network Mapping fabric specific settings. - * - */ -export interface VmmToAzureNetworkMappingSettings { + instanceType: "A2A"; /** - * @member {string} instanceType Polymorphic Discriminator + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * 'LatestCrashConsistent', 'LatestProcessed' */ - instanceType: "VmmToAzure"; -} - -/** - * @interface - * An interface representing VmmToAzureUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to azure. - * - */ -export interface VmmToAzureUpdateNetworkMappingInput { + recoveryPointType: A2ARpRecoveryPointType; /** - * @member {string} instanceType Polymorphic Discriminator + * A value indicating whether to use recovery cloud service for TFO or not. */ - instanceType: "VmmToAzure"; + 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 VmmToVmmCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to vmm to vmm - * Network mapping. - * + * Recovery plan A2A specific details. */ -export interface VmmToVmmCreateNetworkMappingInput { +export interface RecoveryPlanA2ADetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmmToVmm"; + instanceType: "A2A"; + /** + * The primary zone. + */ + primaryZone?: string; + /** + * The recovery zone. + */ + recoveryZone?: string; } /** - * @interface - * An interface representing VmmToVmmNetworkMappingSettings. - * E2E Network Mapping fabric specific settings. - * + * Recovery plan A2A input. */ -export interface VmmToVmmNetworkMappingSettings { +export interface RecoveryPlanA2AInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmmToVmm"; + instanceType: "A2A"; + /** + * The primary zone. + */ + primaryZone?: string; + /** + * The recovery zone. + */ + recoveryZone?: string; } /** - * @interface - * An interface representing VmmToVmmUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to vmm. - * + * Recovery plan Automation runbook action details. */ -export interface VmmToVmmUpdateNetworkMappingInput { +export interface RecoveryPlanAutomationRunbookActionDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmmToVmm"; + 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 VmmVirtualMachineDetails. - * VMM fabric provider specific VM settings. - * + * This class represents the recovery plan group task. */ -export interface VmmVirtualMachineDetails { +export interface RecoveryPlanGroupTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmmVirtualMachine"; + instanceType: "RecoveryPlanGroupTaskDetails"; /** - * @member {string} [sourceItemId] The source id of the object. + * The child tasks. */ - sourceItemId?: string; + childTasks?: ASRTask[]; /** - * @member {string} [generation] The id of the object in fabric. + * The name. */ - generation?: string; + name?: string; /** - * @member {OSDetails} [osDetails] The Last replication time. + * The group identifier. */ - osDetails?: OSDetails; + groupId?: string; /** - * @member {DiskDetails[]} [diskDetails] The Last successful failover time. + * The group type. */ - diskDetails?: DiskDetails[]; + rpGroupType?: string; +} + +/** + * Recovery plan HVR Azure failback input. + */ +export interface RecoveryPlanHyperVReplicaAzureFailbackInput { /** - * @member {PresenceStatus} [hasPhysicalDisk] A value indicating whether the - * VM has a physical disk attached. String value of - * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', - * 'Present', 'NotPresent' + * Polymorphic Discriminator */ - hasPhysicalDisk?: PresenceStatus; + instanceType: "HyperVReplicaAzureFailback"; /** - * @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 data sync option. Possible values include: 'ForDownTime', 'ForSynchronization' */ - hasFibreChannelAdapter?: PresenceStatus; + dataSyncOption: DataSyncStatus; /** - * @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 ALR option. Possible values include: 'CreateVmIfNotFound', 'NoAction' */ - hasSharedVhd?: PresenceStatus; + recoveryVmCreationOption: AlternateLocationRecoveryOption; } /** - * @interface - * An interface representing VmNicUpdatesTaskDetails. - * This class represents the vm NicUpdates task details. - * + * Recovery plan HVR Azure failover input. */ -export interface VmNicUpdatesTaskDetails { +export interface RecoveryPlanHyperVReplicaAzureFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VmNicUpdatesTaskDetails"; + instanceType: "HyperVReplicaAzure"; /** - * @member {string} [vmId] Virtual machine Id. + * The vault location. */ - vmId?: string; + vaultLocation?: string; /** - * @member {string} [nicId] Nic Id. + * The primary KEK certificate PFX. */ - nicId?: string; + primaryKekCertificatePfx?: string; /** - * @member {string} [name] Name of the Nic. + * The secondary KEK certificate PFX. */ - name?: string; + secondaryKekCertificatePfx?: string; + /** + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * 'LatestProcessed' + */ + recoveryPointType?: HyperVReplicaAzureRpRecoveryPointType; } /** - * @interface - * An interface representing VMwareCbtPolicyCreationInput. - * VMware Cbt Policy creation input. - * + * Recovery plan InMageAzureV2 failover input. */ -export interface VMwareCbtPolicyCreationInput { +export interface RecoveryPlanInMageAzureV2FailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VMwareCbt"; + instanceType: "InMageAzureV2"; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The vault location. */ - recoveryPointHistory?: number; + vaultLocation: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency (in minutes). + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * 'LatestCrashConsistent', 'LatestProcessed' */ - crashConsistentFrequencyInMinutes?: number; + recoveryPointType: InMageV2RpRecoveryPointType; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency (in minutes). + * A value indicating whether multi VM sync enabled VMs should use multi VM sync points for + * failover. */ - appConsistentFrequencyInMinutes?: number; + useMultiVmSyncPoint?: string; } /** - * @interface - * An interface representing VmwareCbtPolicyDetails. - * VMware Cbt specific policy details. - * + * Recovery plan InMage failover input. */ -export interface VmwareCbtPolicyDetails { +export interface RecoveryPlanInMageFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VMwareCbt"; + instanceType: "InMage"; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * The recovery point type. Possible values include: 'LatestTime', 'LatestTag', 'Custom' */ - recoveryPointThresholdInMinutes?: number; + recoveryPointType: RpInMageRecoveryPointType; +} + +/** + * Recovery plan InMageRcm failover input. + */ +export interface RecoveryPlanInMageRcmFailoverInput { /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * Polymorphic Discriminator */ - recoveryPointHistory?: number; + instanceType: "InMageRcm"; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * 'LatestCrashConsistent', 'LatestProcessed' */ - appConsistentFrequencyInMinutes?: number; + recoveryPointType?: RecoveryPlanPointType; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * A value indicating whether multi VM sync enabled VMs should use multi VM sync points for + * failover. */ - crashConsistentFrequencyInMinutes?: number; + useMultiVmSyncPoint?: string; } /** - * @interface - * An interface representing VMwareDetails. - * Store the fabric details specific to the VMware fabric. - * + * Recovery plan manual action details. */ -export interface VMwareDetails { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "VMware"; +export interface RecoveryPlanManualActionDetails { /** - * @member {ProcessServer[]} [processServers] The list of Process Servers - * associated with the fabric. + * Polymorphic Discriminator */ - processServers?: ProcessServer[]; + instanceType: "ManualActionDetails"; /** - * @member {MasterTargetServer[]} [masterTargetServers] The list of Master - * Target servers associated with the fabric. + * The manual action description. */ - masterTargetServers?: MasterTargetServer[]; + description?: string; +} + +/** + * Recovery plan planned failover input properties. + */ +export interface RecoveryPlanPlannedFailoverInputProperties { /** - * @member {RunAsAccount[]} [runAsAccounts] The list of run as accounts - * created on the server. + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' */ - runAsAccounts?: RunAsAccount[]; + failoverDirection: PossibleOperationsDirections; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this CS. + * The provider specific properties. */ - replicationPairCount?: string; + providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; +} + +/** + * Recovery plan planned failover input. + */ +export interface RecoveryPlanPlannedFailoverInput { /** - * @member {string} [processServerCount] The number of process servers. + * The recovery plan planned failover input properties. */ - processServerCount?: string; + properties: RecoveryPlanPlannedFailoverInputProperties; +} + +/** + * Recovery plan script action details. + */ +export interface RecoveryPlanScriptActionDetails { /** - * @member {string} [agentCount] The number of source and target servers - * configured to talk to this CS. + * Polymorphic Discriminator */ - agentCount?: string; + instanceType: "ScriptActionDetails"; /** - * @member {string} [protectedServers] The number of protected servers. + * The script path. */ - protectedServers?: string; + path: string; /** - * @member {string} [systemLoad] The percentage of the system load. + * The script timeout. */ - systemLoad?: string; + timeout?: string; /** - * @member {string} [systemLoadStatus] The system load status. + * The fabric location. Possible values include: 'Primary', 'Recovery' */ - systemLoadStatus?: string; + fabricLocation: RecoveryPlanActionLocation; +} + +/** + * This class represents the recovery plan shutdown group task details. + */ +export interface RecoveryPlanShutdownGroupTaskDetails { /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * Polymorphic Discriminator */ - cpuLoad?: string; + instanceType: "RecoveryPlanShutdownGroupTaskDetails"; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * The child tasks. */ - cpuLoadStatus?: string; + childTasks?: ASRTask[]; /** - * @member {number} [totalMemoryInBytes] The total memory. + * The name. */ - totalMemoryInBytes?: number; + name?: string; /** - * @member {number} [availableMemoryInBytes] The available memory. + * The group identifier. */ - availableMemoryInBytes?: number; + groupId?: string; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * The group type. */ - memoryUsageStatus?: string; + rpGroupType?: string; +} + +/** + * Recovery plan test failover cleanup input properties. + */ +export interface RecoveryPlanTestFailoverCleanupInputProperties { /** - * @member {number} [totalSpaceInBytes] The total space. + * The test failover cleanup comments. */ - totalSpaceInBytes?: number; + comments?: string; +} + +/** + * Recovery plan test failover cleanup input. + */ +export interface RecoveryPlanTestFailoverCleanupInput { /** - * @member {number} [availableSpaceInBytes] The available space. + * The recovery plan test failover cleanup input properties. */ - availableSpaceInBytes?: number; + properties: RecoveryPlanTestFailoverCleanupInputProperties; +} + +/** + * Recovery plan test failover input properties. + */ +export interface RecoveryPlanTestFailoverInputProperties { /** - * @member {string} [spaceUsageStatus] The space usage status. + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' */ - spaceUsageStatus?: string; + failoverDirection: PossibleOperationsDirections; /** - * @member {string} [webLoad] The web load. + * The network type to be used for test failover. */ - webLoad?: string; + networkType: string; /** - * @member {string} [webLoadStatus] The web load status. + * The Id of the network to be used for test failover. */ - webLoadStatus?: string; + networkId?: string; /** - * @member {string} [databaseServerLoad] The database server load. + * A value indicating whether the test failover cleanup is to be skipped. */ - databaseServerLoad?: string; + skipTestFailoverCleanup?: string; /** - * @member {string} [databaseServerLoadStatus] The database server load - * status. + * The provider specific properties. */ - databaseServerLoadStatus?: string; - /** - * @member {string} [csServiceStatus] The CS service status. - */ - csServiceStatus?: string; - /** - * @member {string} [ipAddress] The IP address. - */ - ipAddress?: string; - /** - * @member {string} [agentVersion] The agent Version. - */ - agentVersion?: string; + providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; +} + +/** + * Recovery plan test failover input. + */ +export interface RecoveryPlanTestFailoverInput { /** - * @member {string} [hostName] The host name. + * The recovery plan test failover input properties. */ - hostName?: string; + properties: RecoveryPlanTestFailoverInputProperties; +} + +/** + * Recovery plan unplanned failover input properties. + */ +export interface RecoveryPlanUnplannedFailoverInputProperties { /** - * @member {Date} [lastHeartbeat] The last heartbeat received from CS server. + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' */ - lastHeartbeat?: Date; + failoverDirection: PossibleOperationsDirections; /** - * @member {string} [versionStatus] Version status + * A value indicating whether source site operations are required. Possible values include: + * 'Required', 'NotRequired' */ - versionStatus?: string; + sourceSiteOperations: SourceSiteOperations; /** - * @member {Date} [sslCertExpiryDate] CS SSL cert expiry date. + * The provider specific properties. */ - sslCertExpiryDate?: Date; + providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; +} + +/** + * Recovery plan unplanned failover input. + */ +export interface RecoveryPlanUnplannedFailoverInput { /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * The recovery plan unplanned failover input properties. */ - sslCertExpiryRemainingDays?: number; + properties: RecoveryPlanUnplannedFailoverInputProperties; +} + +/** + * Recovery point properties. + */ +export interface RecoveryPointProperties { /** - * @member {string} [psTemplateVersion] PS template version. + * The recovery point time. */ - psTemplateVersion?: string; + recoveryPointTime?: Date; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The recovery point type: ApplicationConsistent, CrashConsistent. */ - agentExpiryDate?: Date; + recoveryPointType?: string; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * The provider specific details for the recovery point. */ - agentVersionDetails?: VersionDetails; + providerSpecificDetails?: ProviderSpecificRecoveryPointDetailsUnion; } /** - * @interface - * An interface representing VMwareV2FabricCreationInput. - * Fabric provider specific settings. - * + * Base class representing a recovery point. */ -export interface VMwareV2FabricCreationInput { - /** - * @member {string} instanceType Polymorphic Discriminator - */ - instanceType: "VMwareV2"; - /** - * @member {string} [keyVaultUrl] The Key Vault URL. - */ - keyVaultUrl?: string; +export interface RecoveryPoint extends Resource { /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * Recovery point related data. */ - keyVaultResourceArmId?: string; + properties?: RecoveryPointProperties; } /** - * @interface - * An interface representing VMwareV2FabricSpecificDetails. - * VMwareV2 fabric Specific Details. - * + * Recovery services provider properties. */ -export interface VMwareV2FabricSpecificDetails { +export interface RecoveryServicesProviderProperties { /** - * @member {string} instanceType Polymorphic Discriminator + * Type of the site. */ - instanceType: "VMwareV2"; + fabricType?: string; /** - * @member {string} [srsServiceEndpoint] The endpoint for making requests to - * the SRS Service. + * Friendly name of the DRA. */ - srsServiceEndpoint?: string; + friendlyName?: string; /** - * @member {string} [rcmServiceEndpoint] The endpoint for making requests to - * the RCM Service. + * The provider version. */ - rcmServiceEndpoint?: string; + providerVersion?: string; /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * The fabric provider. */ - keyVaultUrl?: string; + serverVersion?: string; /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * DRA version status. */ - keyVaultResourceArmId?: string; -} - -/** - * @interface - * An interface representing VMwareVirtualMachineDetails. - * VMware provider specific settings - * - */ -export interface VMwareVirtualMachineDetails { + providerVersionState?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * Expiry date of the version. */ - instanceType: "VMwareVirtualMachine"; + providerVersionExpiryDate?: Date; /** - * @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 fabric friendly name. */ - agentGeneratedId?: string; + fabricFriendlyName?: string; /** - * @member {string} [agentInstalled] The value indicating if InMage scout - * agent is installed on guest. + * Time when last heartbeat was sent by the DRA. */ - agentInstalled?: string; + lastHeartBeat?: Date; /** - * @member {string} [osType] The OsType installed on VM. + * A value indicating whether DRA is responsive. */ - osType?: string; + connectionStatus?: string; /** - * @member {string} [agentVersion] The agent version. + * Number of protected VMs currently managed by the DRA. */ - agentVersion?: string; + protectedItemCount?: number; /** - * @member {string} [ipAddress] The IP address. + * The scenarios allowed on this provider. */ - ipAddress?: string; + allowedScenarios?: string[]; /** - * @member {string} [poweredOn] The value indicating whether VM is powered - * on. + * The recovery services provider health error details. */ - poweredOn?: string; + healthErrorDetails?: HealthError[]; /** - * @member {string} [vCenterInfrastructureId] The VCenter infrastructure Id. + * The DRA Id. */ - vCenterInfrastructureId?: string; + draIdentifier?: string; /** - * @member {string} [discoveryType] A value inidicating the discovery type of - * the machine. Value can be vCenter or physical. + * The authentication identity details. */ - discoveryType?: string; + authenticationIdentityDetails?: IdentityProviderDetails; /** - * @member {InMageDiskDetails[]} [diskDetails] The disk details. + * The resource access identity details. */ - diskDetails?: InMageDiskDetails[]; + resourceAccessIdentityDetails?: IdentityProviderDetails; /** - * @member {HealthError[]} [validationErrors] The validation errors. + * The provider version details. */ - validationErrors?: HealthError[]; + providerVersionDetails?: VersionDetails; } /** - * @interface - * An interface representing ReplicationEventsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase + * Provider details. */ -export interface ReplicationEventsListOptionalParams extends msRest.RequestOptionsBase { +export interface RecoveryServicesProvider extends Resource { /** - * @member {string} [filter] OData filter options. + * Provider properties. */ - filter?: string; + properties?: RecoveryServicesProviderProperties; } /** - * @interface - * An interface representing ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase + * Remove Disk input properties. */ -export interface ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { +export interface RemoveDisksInputProperties { /** - * @member {string} [filter] OData filter options. + * 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. */ - filter?: string; + providerSpecificDetails?: RemoveDisksProviderSpecificInputUnion; } /** - * @interface - * An interface representing ReplicationProtectedItemsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase + * Input for remove disk(s) operation. */ -export interface ReplicationProtectedItemsListOptionalParams extends msRest.RequestOptionsBase { +export interface RemoveDisksInput { /** - * @member {string} [skipToken] The pagination token. Possible values: - * "FabricId" or "FabricId_CloudId" or null + * Remove disk input properties. */ - skipToken?: string; - /** - * @member {string} [filter] OData filter options. - */ - filter?: string; + properties?: RemoveDisksInputProperties; } /** - * @interface - * An interface representing ReplicationJobsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase + * Provider specific input for unpairing operations. */ -export interface ReplicationJobsListOptionalParams extends msRest.RequestOptionsBase { +export interface ReplicationProviderContainerUnmappingInput { /** - * @member {string} [filter] OData filter options. + * The class type. */ - filter?: string; + instanceType?: string; } /** - * @interface - * An interface representing SiteRecoveryManagementClientOptions. - * @extends AzureServiceClientOptions + * Unpairing input properties. */ -export interface SiteRecoveryManagementClientOptions extends AzureServiceClientOptions { +export interface RemoveProtectionContainerMappingInputProperties { /** - * @member {string} [baseUri] + * Provider specific input for unpairing. */ - baseUri?: string; + providerSpecificInput?: ReplicationProviderContainerUnmappingInput; } - /** - * @interface - * An interface representing the OperationsDiscoveryCollection. - * Collection of ClientDiscovery details. - * - * @extends Array + * Container unpairing input. */ -export interface OperationsDiscoveryCollection extends Array { +export interface RemoveProtectionContainerMappingInput { /** - * @member {string} [nextLink] The value of next link. + * Configure protection input properties. */ - nextLink?: string; + properties?: RemoveProtectionContainerMappingInputProperties; } /** - * @interface - * An interface representing the AlertCollection. - * Collection of alerts. - * - * @extends Array + * Renew Certificate input properties. */ -export interface AlertCollection extends Array { +export interface RenewCertificateInputProperties { /** - * @member {string} [nextLink] The value of next link. + * Renew certificate type. */ - nextLink?: string; + renewCertificateType?: string; } /** - * @interface - * An interface representing the EventCollection. - * Collection of fabric details. - * - * @extends Array + * Certificate renewal input. */ -export interface EventCollection extends Array { +export interface RenewCertificateInput { /** - * @member {string} [nextLink] The value of next link. + * Renew certificate input properties. */ - nextLink?: string; + properties?: RenewCertificateInputProperties; } /** - * @interface - * An interface representing the FabricCollection. - * Collection of fabric details. - * - * @extends Array + * Error model that can be exposed to the user. */ -export interface FabricCollection extends Array { +export interface ReplicationEligibilityResultsErrorInfo { /** - * @member {string} [nextLink] The value of next link. + * The error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the LogicalNetworkCollection. - * List of logical networks. - * - * @extends Array - */ -export interface LogicalNetworkCollection extends Array { + readonly code?: string; /** - * @member {string} [nextLink] The value of next link. + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the NetworkCollection. - * List of networks. - * - * @extends Array - */ -export interface NetworkCollection extends Array { + readonly message?: string; /** - * @member {string} [nextLink] The value of next link. + * The possible causes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the NetworkMappingCollection. - * List of network mappings. As with NetworkMapping, it should be possible to - * reuse a prev version of this class. It doesn't seem likely this class could - * be anything more than a slightly bespoke collection of NetworkMapping. Hence - * it makes sense to override Load with Base.NetworkMapping instead of existing - * CurrentVersion.NetworkMapping. - * - * @extends Array - */ -export interface NetworkMappingCollection extends Array { + readonly possibleCauses?: string; /** - * @member {string} [nextLink] The value of next link. + * The recommended action. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the ProtectionContainerCollection. - * Protection Container collection. - * - * @extends Array - */ -export interface ProtectionContainerCollection extends Array { + readonly recommendedAction?: string; /** - * @member {string} [nextLink] The value of next link. + * The error status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; + readonly status?: string; } /** - * @interface - * An interface representing the ProtectableItemCollection. - * Protectable item collection. - * - * @extends Array + * Properties model for replication eligibility results API. */ -export interface ProtectableItemCollection extends Array { +export interface ReplicationEligibilityResultsProperties { /** - * @member {string} [nextLink] The value of next link. + * The client request Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; + readonly clientRequestId?: string; + /** + * The error details. + */ + errors?: ReplicationEligibilityResultsErrorInfo[]; } /** - * @interface - * An interface representing the ReplicationProtectedItemCollection. - * Replication protected item collection. - * - * @extends Array + * Replication eligibility results response model. */ -export interface ReplicationProtectedItemCollection extends Array { +export interface ReplicationEligibilityResults { /** - * @member {string} [nextLink] The value of next link. + * Gets the name of this object. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; + 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; } /** - * @interface - * An interface representing the RecoveryPointCollection. - * Collection of recovery point details. - * - * @extends Array + * Replication eligibility results collection response model. */ -export interface RecoveryPointCollection extends Array { +export interface ReplicationEligibilityResultsCollection { /** - * @member {string} [nextLink] The value of next link. + * The replication eligibility results details. */ - nextLink?: string; + value?: ReplicationEligibilityResults[]; } /** - * @interface - * An interface representing the TargetComputeSizeCollection. - * Target compute size collection. - * - * @extends Array + * Replication group details. This will be used in case of San and Wvr. */ -export interface TargetComputeSizeCollection extends Array { +export interface ReplicationGroupDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + instanceType: "ReplicationGroupDetails"; } /** - * @interface - * An interface representing the ProtectionContainerMappingCollection. - * Protection container mapping collection class. - * - * @extends Array + * Replication protected item custom data details. */ -export interface ProtectionContainerMappingCollection extends Array { +export interface ReplicationProtectedItemProperties { /** - * @member {string} [nextLink] Link to fetch rest of the data. + * The name. */ - nextLink?: string; + 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; } /** - * @interface - * An interface representing the RecoveryServicesProviderCollection. - * Collection of providers. - * - * @extends Array + * Replication protected item. */ -export interface RecoveryServicesProviderCollection extends Array { +export interface ReplicationProtectedItem extends Resource { /** - * @member {string} [nextLink] The value of next link. + * The custom data. */ - nextLink?: string; + properties?: ReplicationProtectedItemProperties; } /** - * @interface - * An interface representing the StorageClassificationCollection. - * Collection of storage details. - * - * @extends Array + * Resolve health errors input properties. */ -export interface StorageClassificationCollection extends Array { +export interface ResolveHealthError { /** - * @member {string} [nextLink] The value of next link. + * Health error id. */ - nextLink?: string; + healthErrorId?: string; } /** - * @interface - * An interface representing the StorageClassificationMappingCollection. - * Collection of storage mapping details. - * - * @extends Array + * Resolve health input properties. */ -export interface StorageClassificationMappingCollection extends Array { +export interface ResolveHealthInputProperties { /** - * @member {string} [nextLink] The value of next link. + * Health errors. */ - nextLink?: string; + healthErrors?: ResolveHealthError[]; } /** - * @interface - * An interface representing the VCenterCollection. - * Collection of vCenter details. - * - * @extends Array + * Resolve health input. */ -export interface VCenterCollection extends Array { +export interface ResolveHealthInput { /** - * @member {string} [nextLink] The value of next link. + * Disable resolve health input properties. */ - nextLink?: string; + properties?: ResolveHealthInputProperties; } /** - * @interface - * An interface representing the JobCollection. - * Collection of jobs. - * - * @extends Array + * Base class to define the health summary of the resources contained under an Arm resource. */ -export interface JobCollection extends Array { +export interface ResourceHealthSummary { /** - * @member {string} [nextLink] The value of next link. + * The count of total resources under the container. */ - nextLink?: string; + resourceCount?: number; + /** + * The list of summary of health errors across the resources under the container. + */ + issues?: HealthErrorSummary[]; } /** - * @interface - * An interface representing the PolicyCollection. - * Protection Profile Collection details. - * - * @extends Array + * Resume job properties. */ -export interface PolicyCollection extends Array { +export interface ResumeJobParamsProperties { /** - * @member {string} [nextLink] The value of next link. + * Resume job comments. */ - nextLink?: string; + comments?: string; } /** - * @interface - * An interface representing the RecoveryPlanCollection. - * Recovery plan collection details. - * - * @extends Array + * Resume job params. */ -export interface RecoveryPlanCollection extends Array { +export interface ResumeJobParams { /** - * @member {string} [nextLink] The value of next link. + * Resume job properties. */ - nextLink?: string; + properties?: ResumeJobParamsProperties; } /** - * Defines values for AgentAutoUpdateStatus. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * Reverse replication input properties. */ -export type AgentAutoUpdateStatus = 'Disabled' | 'Enabled'; +export interface ReverseReplicationInputProperties { + /** + * Failover direction. + */ + failoverDirection?: string; + /** + * Provider specific reverse replication input. + */ + providerSpecificDetails?: ReverseReplicationProviderSpecificInputUnion; +} /** - * Defines values for SetMultiVmSyncStatus. - * Possible values include: 'Enable', 'Disable' - * @readonly - * @enum {string} + * Reverse replication input. */ -export type SetMultiVmSyncStatus = 'Enable' | 'Disable'; +export interface ReverseReplicationInput { + /** + * Reverse replication properties + */ + properties?: ReverseReplicationInputProperties; +} /** - * Defines values for RecoveryPointSyncType. - * Possible values include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' - * @readonly - * @enum {string} + * Azure role assignment details. */ -export type RecoveryPointSyncType = 'MultiVmSyncRecoveryPoint' | 'PerVmRecoveryPoint'; +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; +} /** - * Defines values for MultiVmGroupCreateOption. - * Possible values include: 'AutoCreated', 'UserSpecified' - * @readonly - * @enum {string} + * CS Accounts Details. */ -export type MultiVmGroupCreateOption = 'AutoCreated' | 'UserSpecified'; +export interface RunAsAccount { + /** + * The CS RunAs account Id. + */ + accountId?: string; + /** + * The CS RunAs account name. + */ + accountName?: string; +} /** - * Defines values for FailoverDeploymentModel. - * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager' - * @readonly - * @enum {string} + * San enable protection provider specific input. */ -export type FailoverDeploymentModel = 'NotApplicable' | 'Classic' | 'ResourceManager'; +export interface SanEnableProtectionInput { + /** + * Polymorphic Discriminator + */ + instanceType: "San"; +} /** - * Defines values for RecoveryPlanGroupType. - * Possible values include: 'Shutdown', 'Boot', 'Failover' - * @readonly - * @enum {string} + * This class represents the script action task details. */ -export type RecoveryPlanGroupType = 'Shutdown' | 'Boot' | 'Failover'; +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; +} /** - * Defines values for ReplicationProtectedItemOperation. - * Possible values include: 'ReverseReplicate', 'Commit', 'PlannedFailover', 'UnplannedFailover', - * 'DisableProtection', 'TestFailover', 'TestFailoverCleanup', 'Failback', 'FinalizeFailback', - * 'ChangePit', 'RepairReplication', 'SwitchProtection', 'CompleteMigration' - * @readonly - * @enum {string} + * Storage object properties. */ -export type ReplicationProtectedItemOperation = 'ReverseReplicate' | 'Commit' | 'PlannedFailover' | 'UnplannedFailover' | 'DisableProtection' | 'TestFailover' | 'TestFailoverCleanup' | 'Failback' | 'FinalizeFailback' | 'ChangePit' | 'RepairReplication' | 'SwitchProtection' | 'CompleteMigration'; +export interface StorageClassificationProperties { + /** + * Friendly name of the Storage classification. + */ + friendlyName?: string; +} /** - * Defines values for PossibleOperationsDirections. - * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' - * @readonly - * @enum {string} + * Storage object definition. */ -export type PossibleOperationsDirections = 'PrimaryToRecovery' | 'RecoveryToPrimary'; - -/** +export interface StorageClassification extends Resource { + /** + * Properties of the storage object. + */ + properties?: StorageClassificationProperties; +} + +/** + * Storage mapping properties. + */ +export interface StorageClassificationMappingProperties { + /** + * Target storage object Id. + */ + targetStorageClassificationId?: string; +} + +/** + * Storage mapping object. + */ +export interface StorageClassificationMapping extends Resource { + /** + * Properties of the storage mapping object. + */ + properties?: StorageClassificationMappingProperties; +} + +/** + * Storage mapping input properties. + */ +export interface StorageMappingInputProperties { + /** + * The ID of the storage object. + */ + targetStorageClassificationId?: string; +} + +/** + * Storage mapping input. + */ +export interface StorageClassificationMappingInput { + /** + * Storage mapping input properties. + */ + properties?: StorageMappingInputProperties; +} + +/** + * Supported Operating system details. + */ +export interface SupportedOSDetails { + /** + * The name. + */ + osName?: string; + /** + * The type. + */ + osType?: string; + /** + * List of version for OS. + */ + osVersions?: OSVersionWrapper[]; +} + +/** + * Property object for supported OS api. + */ +export interface SupportedOSProperty { + /** + * Gets the replication provider type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceType?: string; + /** + * List of supported OS. + */ + supportedOs?: SupportedOSDetails[]; +} + +/** + * Properties model for supported OS API. + */ +export interface SupportedOSProperties { + /** + * The supported OS List. + */ + supportedOsList?: SupportedOSProperty[]; +} + +/** + * Response object for supported operating systems API. + */ +export interface SupportedOperatingSystems extends Resource { + /** + * Properties model for supported OS API. + */ + properties?: SupportedOSProperties; +} + +/** + * Switch protection input properties. + */ +export interface SwitchProtectionInputProperties { + /** + * The unique replication protected item name. + */ + replicationProtectedItemName?: string; + /** + * Provider specific switch protection input. + */ + providerSpecificDetails?: SwitchProtectionProviderSpecificInputUnion; +} + +/** + * Switch protection input. + */ +export interface SwitchProtectionInput { + /** + * Switch protection properties + */ + properties?: SwitchProtectionInputProperties; +} + +/** + * This class represents details for switch protection job. + */ +export interface SwitchProtectionJobDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "SwitchProtectionJobDetails"; + /** + * The affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. + */ + affectedObjectDetails?: { [propertyName: string]: string }; + /** + * ARM Id of the new replication protected item. + */ + newReplicationProtectedItemId?: string; +} + +/** + * Represents applicable recovery vm sizes properties. + */ +export interface TargetComputeSizeProperties { + /** + * Target compute size name. + */ + name?: string; + /** + * Target compute size display name. + */ + friendlyName?: string; + /** + * The maximum cpu cores count supported by target compute size. + */ + cpuCoresCount?: number; + /** + * The Available vCPUs supported by target compute size. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vCPUsAvailable?: number; + /** + * The maximum memory in GB supported by target compute size. + */ + memoryInGB?: number; + /** + * The maximum data disks count supported by target compute size. + */ + maxDataDiskCount?: number; + /** + * The maximum Nics count supported by target compute size. + */ + maxNicsCount?: number; + /** + * The reasons why the target compute size is not applicable for the protected item. + */ + errors?: ComputeSizeErrorDetails[]; + /** + * The value indicating whether the target compute size supports high Iops. + */ + highIopsSupported?: string; + /** + * The supported HyperV Generations. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hyperVGenerations?: string[]; +} + +/** + * Represents applicable recovery vm sizes. + */ +export interface TargetComputeSize { + /** + * The Id. + */ + id?: string; + /** + * The name. + */ + name?: string; + /** + * The Type of the object. + */ + type?: string; + /** + * The custom data. + */ + properties?: TargetComputeSizeProperties; +} + +/** + * Input definition for test failover cleanup input properties. + */ +export interface TestFailoverCleanupInputProperties { + /** + * Test failover cleanup comments. + */ + comments?: string; +} + +/** + * Input definition for test failover cleanup. + */ +export interface TestFailoverCleanupInput { + /** + * Test failover cleanup input properties. + */ + properties: TestFailoverCleanupInputProperties; +} + +/** + * Input definition for test failover input properties. + */ +export interface TestFailoverInputProperties { + /** + * Test failover direction. + */ + failoverDirection?: string; + /** + * Network type to be used for test failover. + */ + networkType?: string; + /** + * The id of the network to be used for test failover + */ + networkId?: string; + /** + * A value indicating whether the test failover cleanup is to be skipped. + */ + skipTestFailoverCleanup?: string; + /** + * Provider specific settings + */ + providerSpecificDetails?: TestFailoverProviderSpecificInputUnion; +} + +/** + * Input definition for test failover. + */ +export interface TestFailoverInput { + /** + * test failover input properties + */ + properties?: TestFailoverInputProperties; +} + +/** + * This class represents the details for a test failover job. + */ +export interface TestFailoverJobDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "TestFailoverJobDetails"; + /** + * The affected object properties like source server, source cloud, target server, target cloud + * etc. based on the workflow object details. + */ + affectedObjectDetails?: { [propertyName: string]: string }; + /** + * The test failover status. + */ + testFailoverStatus?: string; + /** + * The test failover comments. + */ + comments?: string; + /** + * The test network name. + */ + networkName?: string; + /** + * The test network friendly name. + */ + networkFriendlyName?: string; + /** + * The test network type (see TestFailoverInput enum for possible values). + */ + networkType?: string; + /** + * The test VM details. + */ + protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; +} + +/** + * Test migrate cleanup input properties. + */ +export interface TestMigrateCleanupInputProperties { + /** + * Test migrate cleanup comments. + */ + comments?: string; +} + +/** + * Input for test migrate cleanup. + */ +export interface TestMigrateCleanupInput { + /** + * Test migrate cleanup input properties. + */ + properties: TestMigrateCleanupInputProperties; +} + +/** + * Contains the possible cases for TestMigrateProviderSpecificInput. + */ +export type TestMigrateProviderSpecificInputUnion = TestMigrateProviderSpecificInput | VMwareCbtTestMigrateInput; + +/** + * Test migrate provider specific input. + */ +export interface TestMigrateProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "TestMigrateProviderSpecificInput"; +} + +/** + * Test migrate input properties. + */ +export interface TestMigrateInputProperties { + /** + * The provider specific details. + */ + providerSpecificDetails: TestMigrateProviderSpecificInputUnion; +} + +/** + * Input for test migrate. + */ +export interface TestMigrateInput { + /** + * Test migrate input properties. + */ + properties: TestMigrateInputProperties; +} + +/** + * Input definition for unplanned failover input properties. + */ +export interface UnplannedFailoverInputProperties { + /** + * Failover direction. + */ + failoverDirection?: string; + /** + * Source site operations status + */ + sourceSiteOperations?: string; + /** + * Provider specific settings + */ + providerSpecificDetails?: UnplannedFailoverProviderSpecificInputUnion; +} + +/** + * Input definition for unplanned failover. + */ +export interface UnplannedFailoverInput { + /** + * Unplanned failover input properties. + */ + properties?: UnplannedFailoverInputProperties; +} + +/** + * Contains the possible cases for UpdateMigrationItemProviderSpecificInput. + */ +export type UpdateMigrationItemProviderSpecificInputUnion = UpdateMigrationItemProviderSpecificInput | VMwareCbtUpdateMigrationItemInput; + +/** + * Update migration item provider specific input. + */ +export interface UpdateMigrationItemProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "UpdateMigrationItemProviderSpecificInput"; +} + +/** + * Update migration item input properties. + */ +export interface UpdateMigrationItemInputProperties { + /** + * The provider specific input to update migration item. + */ + providerSpecificDetails: UpdateMigrationItemProviderSpecificInputUnion; +} + +/** + * Update migration item input. + */ +export interface UpdateMigrationItemInput { + /** + * Update migration item input properties. + */ + properties?: UpdateMigrationItemInputProperties; +} + +/** + * The properties of an update mobility service request. + */ +export interface UpdateMobilityServiceRequestProperties { + /** + * The CS run as account Id. + */ + runAsAccountId?: string; +} + +/** + * Request to update the mobility service on a protected item. + */ +export interface UpdateMobilityServiceRequest { + /** + * The properties of the update mobility service request. + */ + properties?: UpdateMobilityServiceRequestProperties; +} + +/** + * Common input details for network mapping operation. + */ +export interface UpdateNetworkMappingInputProperties { + /** + * Recovery fabric name. + */ + recoveryFabricName?: string; + /** + * Recovery network Id. + */ + recoveryNetworkId?: string; + /** + * Fabrics specific input network Id. + */ + fabricSpecificDetails?: FabricSpecificUpdateNetworkMappingInputUnion; +} + +/** + * Update network mapping input. + */ +export interface UpdateNetworkMappingInput { + /** + * The input properties needed to update network mapping. + */ + properties?: UpdateNetworkMappingInputProperties; +} + +/** + * Policy update properties. + */ +export interface UpdatePolicyInputProperties { + /** + * The ReplicationProviderSettings. + */ + replicationProviderSettings?: PolicyProviderSpecificInputUnion; +} + +/** + * Update policy input. + */ +export interface UpdatePolicyInput { + /** + * The ReplicationProviderSettings. + */ + properties?: UpdatePolicyInputProperties; +} + +/** + * Container pairing update input. + */ +export interface UpdateProtectionContainerMappingInputProperties { + /** + * Provider specific input for updating protection container mapping. + */ + providerSpecificInput?: ReplicationProviderSpecificUpdateContainerMappingInputUnion; +} + +/** + * Container pairing update input. + */ +export interface UpdateProtectionContainerMappingInput { + /** + * Update protection container mapping input properties. + */ + properties?: UpdateProtectionContainerMappingInputProperties; +} + +/** + * Recovery plan update properties. + */ +export interface UpdateRecoveryPlanInputProperties { + /** + * The recovery plan groups. + */ + groups?: RecoveryPlanGroup[]; +} + +/** + * Update recovery plan input class. + */ +export interface UpdateRecoveryPlanInput { + /** + * Recovery plan update properties. + */ + properties?: UpdateRecoveryPlanInputProperties; +} + +/** + * Hyper V VM network input details. + */ +export interface VMNicInputDetails { + /** + * The nic Id. + */ + nicId?: string; + /** + * Recovery VM subnet name. + */ + recoveryVMSubnetName?: string; + /** + * Replica nic static IP address. + */ + replicaNicStaticIPAddress?: string; + /** + * Selection type for failover. + */ + selectionType?: string; + /** + * The id of the public IP address resource associated with the NIC. + */ + recoveryPublicIpAddressId?: string; + /** + * The id of the NSG associated with the NIC. + */ + recoveryNetworkSecurityGroupId?: string; + /** + * The target backend address pools for the NIC. + */ + recoveryLBBackendAddressPoolIds?: string[]; + /** + * Whether the NIC has accelerated networking enabled. + */ + enableAcceleratedNetworkingOnRecovery?: boolean; + /** + * The subnet to be used by NIC during test failover. + */ + tfoVMSubnetName?: string; + /** + * The NSG to be used by NIC during test failover. + */ + tfoNetworkSecurityGroupId?: string; + /** + * Whether the test NIC has accelerated networking enabled. + */ + enableAcceleratedNetworkingOnTfo?: boolean; + /** + * The IP configurations to be used by NIC during test failover. + */ + tfoIPConfigs?: IPConfig[]; + /** + * The name of the NIC to be used when creating target NICs. + */ + recoveryNicName?: string; + /** + * The resource group of the NIC to be used when creating target NICs. + */ + recoveryNicResourceGroupName?: string; + /** + * A value indicating whether an existing NIC is allowed to be reused during failover subject to + * availability. Default value: false. + */ + reuseExistingNic?: boolean; + /** + * The name of the NIC to be used when creating target NICs in TFO. + */ + tfoNicName?: string; + /** + * The resource group of the NIC to be used when creating target NICs in TFO. + */ + tfoNicResourceGroupName?: string; + /** + * A value indicating whether an existing NIC is allowed to be reused during test failover + * subject to availability. Default value: false. + */ + tfoReuseExistingNic?: boolean; +} + +/** + * Update protected item input properties. + */ +export interface UpdateReplicationProtectedItemInputProperties { + /** + * Target azure VM name given by the user. + */ + recoveryAzureVMName?: string; + /** + * Target Azure Vm size. + */ + recoveryAzureVMSize?: string; + /** + * Target Azure Network Id. + */ + selectedRecoveryAzureNetworkId?: string; + /** + * The Azure Network Id for test failover. + */ + selectedTfoAzureNetworkId?: string; + /** + * The selected source nic Id which will be used as the primary nic during failover. + */ + selectedSourceNicId?: string; + /** + * The selected option to enable RDP\SSH on target vm after failover. String value of + * {SrsDataContract.EnableRDPOnTargetOption} enum. + */ + enableRdpOnTargetOption?: string; + /** + * The list of vm nic details. + */ + vmNics?: VMNicInputDetails[]; + /** + * License type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + */ + licenseType?: LicenseType; + /** + * The target availability set id. + */ + recoveryAvailabilitySetId?: string; + /** + * The provider specific input to update replication protected item. + */ + providerSpecificDetails?: UpdateReplicationProtectedItemProviderInputUnion; +} + +/** + * Update replication protected item input. + */ +export interface UpdateReplicationProtectedItemInput { + /** + * Update replication protected item properties. + */ + properties?: UpdateReplicationProtectedItemInputProperties; +} + +/** + * The properties of an update vCenter request. + */ +export interface UpdateVCenterRequestProperties { + /** + * The friendly name of the vCenter. + */ + friendlyName?: string; + /** + * The IP address of the vCenter to be discovered. + */ + ipAddress?: string; + /** + * The process server Id from where the update can be orchestrated. + */ + processServerId?: string; + /** + * The port number for discovery. + */ + port?: string; + /** + * The CS account Id which has privileges to update the vCenter. + */ + runAsAccountId?: string; +} + +/** + * Input required to update vCenter. + */ +export interface UpdateVCenterRequest { + /** + * The update VCenter Request Properties. + */ + properties?: UpdateVCenterRequestProperties; +} + +/** + * class to define the health summary of the Vault. + */ +export interface VaultHealthProperties { + /** + * The list of errors on the vault. + */ + vaultErrors?: HealthError[]; + /** + * The list of the health detail of the protected items in the vault. + */ + protectedItemsHealth?: ResourceHealthSummary; + /** + * The list of the health detail of the fabrics in the vault. + */ + fabricsHealth?: ResourceHealthSummary; + /** + * The list of the health detail of the containers in the vault. + */ + containersHealth?: ResourceHealthSummary; +} + +/** + * Vault health details definition. + */ +export interface VaultHealthDetails extends Resource { + /** + * The vault health related data. + */ + properties?: VaultHealthProperties; +} + +/** + * Vault setting properties. + */ +export interface VaultSettingProperties { + /** + * The migration solution ARM Id. + */ + migrationSolutionId?: string; +} + +/** + * Vault setting. + */ +export interface VaultSetting extends Resource { + /** + * The vault setting properties. + */ + properties?: VaultSettingProperties; +} + +/** + * Input to create vault setting. + */ +export interface VaultSettingCreationInputProperties { + /** + * The migration solution Id. + */ + migrationSolutionId: string; +} + +/** + * Input to create vault setting. + */ +export interface VaultSettingCreationInput { + /** + * Vault setting creation input properties. + */ + properties: VaultSettingCreationInputProperties; +} + +/** + * vCenter properties. + */ +export interface VCenterProperties { + /** + * Friendly name of the vCenter. + */ + friendlyName?: string; + /** + * VCenter internal ID. + */ + internalId?: string; + /** + * The time when the last heartbeat was received by vCenter. + */ + lastHeartbeat?: Date; + /** + * The VCenter discovery status. + */ + discoveryStatus?: string; + /** + * The process server Id. + */ + processServerId?: string; + /** + * The IP address of the vCenter. + */ + ipAddress?: string; + /** + * The infrastructure Id of vCenter. + */ + infrastructureId?: string; + /** + * The port number for discovery. + */ + port?: string; + /** + * The account Id which has privileges to discover the vCenter. + */ + runAsAccountId?: string; + /** + * The ARM resource name of the fabric containing this VCenter. + */ + fabricArmResourceName?: string; + /** + * The health errors for this VCenter. + */ + healthErrors?: HealthError[]; +} + +/** + * vCenter definition. + */ +export interface VCenter extends Resource { + /** + * VCenter related data. + */ + properties?: VCenterProperties; +} + +/** + * This class represents the virtual machine task details. + */ +export interface VirtualMachineTaskDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VirtualMachineTaskDetails"; + /** + * The skipped reason. + */ + skippedReason?: string; + /** + * The skipped reason string. + */ + skippedReasonString?: string; + /** + * The job entity. + */ + jobTask?: JobEntity; +} + +/** + * VMM fabric specific details. + */ +export interface VmmDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMM"; +} + +/** + * Create network mappings input properties/behavior specific to Vmm to Azure Network mapping. + */ +export interface VmmToAzureCreateNetworkMappingInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToAzure"; +} + +/** + * E2A Network Mapping fabric specific settings. + */ +export interface VmmToAzureNetworkMappingSettings { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToAzure"; +} + +/** + * Update network mappings input properties/behavior specific to vmm to azure. + */ +export interface VmmToAzureUpdateNetworkMappingInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToAzure"; +} + +/** + * Create network mappings input properties/behavior specific to vmm to vmm Network mapping. + */ +export interface VmmToVmmCreateNetworkMappingInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToVmm"; +} + +/** + * E2E Network Mapping fabric specific settings. + */ +export interface VmmToVmmNetworkMappingSettings { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToVmm"; +} + +/** + * Update network mappings input properties/behavior specific to vmm to vmm. + */ +export interface VmmToVmmUpdateNetworkMappingInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmToVmm"; +} + +/** + * VMM fabric provider specific VM settings. + */ +export interface VmmVirtualMachineDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VmmVirtualMachine"; + /** + * The source id of the object. + */ + sourceItemId?: string; + /** + * The id of the object in fabric. + */ + generation?: string; + /** + * The Last replication time. + */ + osDetails?: OSDetails; + /** + * The Last successful failover time. + */ + diskDetails?: DiskDetails[]; + /** + * A value indicating whether the VM has a physical disk attached. String value of + * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', 'Present', + * 'NotPresent' + */ + hasPhysicalDisk?: PresenceStatus; + /** + * A value indicating whether the VM has a fibre channel adapter attached. String value of + * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', 'Present', + * 'NotPresent' + */ + hasFibreChannelAdapter?: PresenceStatus; + /** + * A value indicating whether the VM has a shared VHD attached. String value of + * {SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown', 'Present', + * 'NotPresent' + */ + hasSharedVhd?: PresenceStatus; +} + +/** + * This class represents the vm NicUpdates task details. + */ +export interface VmNicUpdatesTaskDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VmNicUpdatesTaskDetails"; + /** + * Virtual machine Id. + */ + vmId?: string; + /** + * Nic Id. + */ + nicId?: string; + /** + * Name of the Nic. + */ + name?: string; +} + +/** + * VMwareCbt container creation input. + */ +export interface VMwareCbtContainerCreationInput { + /** + * Polymorphic Discriminator + */ + instanceType: "6c7da455-506f-43ff-a16a-8eb101aebb70"; +} + +/** + * VMwareCbt container mapping input. + */ +export interface VMwareCbtContainerMappingInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The target key vault ARM Id. + */ + keyVaultId: string; + /** + * The target key vault URL. + */ + keyVaultUri: string; + /** + * The storage account ARM Id. + */ + storageAccountId: string; + /** + * The secret name of the storage account. + */ + storageAccountSasSecretName: string; + /** + * The secret name of the service bus connection string. + */ + serviceBusConnectionStringSecretName: string; + /** + * The target location. + */ + targetLocation: string; +} + +/** + * VMwareCbt disk input. + */ +export interface VMwareCbtDiskInput { + /** + * The disk Id. + */ + diskId: string; + /** + * A value indicating whether the disk is the OS disk. + */ + isOSDisk: string; + /** + * The log storage account ARM Id. + */ + logStorageAccountId: string; + /** + * The key vault secret name of the log storage account. + */ + logStorageAccountSasSecretName: string; + /** + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; +} + +/** + * VMwareCbt specific enable migration input. + */ +export interface VMwareCbtEnableMigrationInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The ARM Id of the VM discovered in VMware. + */ + vmwareMachineId: string; + /** + * The disks to include list. + */ + disksToInclude: VMwareCbtDiskInput[]; + /** + * License type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + */ + licenseType?: LicenseType; + /** + * The data mover RunAs account Id. + */ + dataMoverRunAsAccountId: string; + /** + * The snapshot RunAs account Id. + */ + snapshotRunAsAccountId: string; + /** + * The target VM name. + */ + targetVmName?: string; + /** + * The target VM size. + */ + targetVmSize?: string; + /** + * The target resource group ARM Id. + */ + targetResourceGroupId: string; + /** + * The target network ARM Id. + */ + targetNetworkId: string; + /** + * The target subnet name. + */ + targetSubnetName?: string; + /** + * The target availability set ARM Id. + */ + targetAvailabilitySetId?: string; + /** + * The target boot diagnostics storage account ARM Id. + */ + targetBootDiagnosticsStorageAccountId?: string; +} + +/** + * VMwareCbt specific migrate input. + */ +export interface VMwareCbtMigrateInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * A value indicating whether VM is to be shutdown. + */ + performShutdown: string; +} + +/** + * VMwareCbt protected disk details. + */ +export interface VMwareCbtProtectedDiskDetails { + /** + * The disk id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly diskId?: string; + /** + * The disk name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly diskName?: string; + /** + * The disk path. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly diskPath?: string; + /** + * A value indicating whether the disk is the OS disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isOSDisk?: string; + /** + * The disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly capacityInBytes?: number; + /** + * The log storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly logStorageAccountId?: string; + /** + * The key vault secret name of the log storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly logStorageAccountSasSecretName?: string; + /** + * The ARM Id of the seed managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly seedManagedDiskId?: string; + /** + * The ARM Id of the target managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly targetManagedDiskId?: string; + /** + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskType; +} + +/** + * VMwareCbt NIC details. + */ +export interface VMwareCbtNicDetails { + /** + * The NIC Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nicId?: string; + /** + * A value indicating whether this is the primary NIC. + */ + isPrimaryNic?: string; + /** + * The source IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceIPAddress?: string; + /** + * The source IP address type. Possible values include: 'Dynamic', 'Static' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceIPAddressType?: EthernetAddressType; + /** + * Source network Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceNetworkId?: string; + /** + * The target IP address. + */ + targetIPAddress?: string; + /** + * The target IP address type. Possible values include: 'Dynamic', 'Static' + */ + targetIPAddressType?: EthernetAddressType; + /** + * Target subnet name. + */ + targetSubnetName?: string; + /** + * A value indicating whether this NIC is selected for migration. + */ + isSelectedForMigration?: string; +} + +/** + * VMwareCbt provider specific settings + */ +export interface VMwareCbtMigrationDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The ARM Id of the VM discovered in VMware. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vmwareMachineId?: string; + /** + * The type of the OS on the VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly osType?: string; + /** + * License Type of the VM to be used. + */ + licenseType?: string; + /** + * The data mover RunAs account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dataMoverRunAsAccountId?: string; + /** + * The snapshot RunAs account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly snapshotRunAsAccountId?: string; + /** + * Target VM name. + */ + targetVmName?: string; + /** + * The target VM size. + */ + targetVmSize?: string; + /** + * The target location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly targetLocation?: string; + /** + * The target resource group Id. + */ + targetResourceGroupId?: string; + /** + * The target availability set Id. + */ + targetAvailabilitySetId?: string; + /** + * The target boot diagnostics storage account ARM Id. + */ + targetBootDiagnosticsStorageAccountId?: string; + /** + * The list of protected disks. + */ + protectedDisks?: VMwareCbtProtectedDiskDetails[]; + /** + * The target network Id. + */ + targetNetworkId?: string; + /** + * The network details. + */ + vmNics?: VMwareCbtNicDetails[]; + /** + * The recovery point Id to which the VM was migrated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly migrationRecoveryPointId?: string; + /** + * The last recovery point received time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastRecoveryPointReceived?: Date; +} + +/** + * VMwareCbt NIC input. + */ +export interface VMwareCbtNicInput { + /** + * The NIC Id. + */ + nicId: string; + /** + * A value indicating whether this is the primary NIC. + */ + isPrimaryNic: string; + /** + * Target subnet name. + */ + targetSubnetName?: string; + /** + * The static IP address. + */ + targetStaticIPAddress?: string; + /** + * A value indicating whether this NIC is selected for migration. + */ + isSelectedForMigration?: string; +} + +/** + * VMware Cbt policy creation input. + */ +export interface VMwareCbtPolicyCreationInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The duration in minutes until which the recovery points need to be stored. + */ + recoveryPointHistoryInMinutes?: number; + /** + * The crash consistent snapshot frequency (in minutes). + */ + crashConsistentFrequencyInMinutes?: number; + /** + * The app consistent snapshot frequency (in minutes). + */ + appConsistentFrequencyInMinutes?: number; +} + +/** + * VMware Cbt specific policy details. + */ +export interface VmwareCbtPolicyDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The duration in minutes until which the recovery points need to be stored. + */ + recoveryPointHistoryInMinutes?: number; + /** + * The app consistent snapshot frequency in minutes. + */ + appConsistentFrequencyInMinutes?: number; + /** + * The crash consistent snapshot frequency in minutes. + */ + crashConsistentFrequencyInMinutes?: number; +} + +/** + * VMwareCbt provider specific container mapping details. + */ +export interface VMwareCbtProtectionContainerMappingDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The target key vault ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly keyVaultId?: string; + /** + * The target key vault URI. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly keyVaultUri?: string; + /** + * The storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly storageAccountId?: string; + /** + * The secret name of the storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly storageAccountSasSecretName?: string; + /** + * The secret name of the service bus connection string. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serviceBusConnectionStringSecretName?: string; + /** + * The target location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly targetLocation?: string; +} + +/** + * VMwareCbt specific test migrate input. + */ +export interface VMwareCbtTestMigrateInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The recovery point Id. + */ + recoveryPointId: string; + /** + * The test network Id. + */ + networkId: string; +} + +/** + * VMwareCbt specific update migration item input. + */ +export interface VMwareCbtUpdateMigrationItemInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareCbt"; + /** + * The target VM name. + */ + targetVmName?: string; + /** + * The target VM size. + */ + targetVmSize?: string; + /** + * The target resource group ARM Id. + */ + targetResourceGroupId?: string; + /** + * The target availability set ARM Id. + */ + targetAvailabilitySetId?: string; + /** + * The target boot diagnostics storage account ARM Id. + */ + targetBootDiagnosticsStorageAccountId?: string; + /** + * The target network ARM Id. + */ + targetNetworkId?: string; + /** + * The list of NIC details. + */ + vmNics?: VMwareCbtNicInput[]; + /** + * The license type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + */ + licenseType?: LicenseType; +} + +/** + * Store the fabric details specific to the VMware fabric. + */ +export interface VMwareDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMware"; + /** + * The list of Process Servers associated with the fabric. + */ + processServers?: ProcessServer[]; + /** + * The list of Master Target servers associated with the fabric. + */ + masterTargetServers?: MasterTargetServer[]; + /** + * The list of run as accounts created on the server. + */ + runAsAccounts?: RunAsAccount[]; + /** + * The number of replication pairs configured in this CS. + */ + replicationPairCount?: string; + /** + * The number of process servers. + */ + processServerCount?: string; + /** + * The number of source and target servers configured to talk to this CS. + */ + agentCount?: string; + /** + * The number of protected servers. + */ + protectedServers?: string; + /** + * The percentage of the system load. + */ + systemLoad?: string; + /** + * The system load status. + */ + systemLoadStatus?: string; + /** + * The percentage of the CPU load. + */ + cpuLoad?: string; + /** + * The CPU load status. + */ + cpuLoadStatus?: string; + /** + * The total memory. + */ + totalMemoryInBytes?: number; + /** + * The available memory. + */ + availableMemoryInBytes?: number; + /** + * The memory usage status. + */ + memoryUsageStatus?: string; + /** + * The total space. + */ + totalSpaceInBytes?: number; + /** + * The available space. + */ + availableSpaceInBytes?: number; + /** + * The space usage status. + */ + spaceUsageStatus?: string; + /** + * The web load. + */ + webLoad?: string; + /** + * The web load status. + */ + webLoadStatus?: string; + /** + * The database server load. + */ + databaseServerLoad?: string; + /** + * The database server load status. + */ + databaseServerLoadStatus?: string; + /** + * The CS service status. + */ + csServiceStatus?: string; + /** + * The IP address. + */ + ipAddress?: string; + /** + * The agent Version. + */ + agentVersion?: string; + /** + * The host name. + */ + hostName?: string; + /** + * The last heartbeat received from CS server. + */ + lastHeartbeat?: Date; + /** + * Version status + */ + versionStatus?: string; + /** + * CS SSL cert expiry date. + */ + sslCertExpiryDate?: Date; + /** + * CS SSL cert expiry date. + */ + sslCertExpiryRemainingDays?: number; + /** + * PS template version. + */ + psTemplateVersion?: string; + /** + * Agent expiry date. + */ + agentExpiryDate?: Date; + /** + * The agent version details. + */ + agentVersionDetails?: VersionDetails; +} + +/** + * VMwareV2 fabric provider specific settings. + */ +export interface VMwareV2FabricCreationInput { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareV2"; + /** + * The ARM Id of the VMware site. + */ + vmwareSiteId: string; + /** + * The ARM Id of the migration solution. + */ + migrationSolutionId: string; +} + +/** + * VMwareV2 fabric specific details. + */ +export interface VMwareV2FabricSpecificDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareV2"; + /** + * The ARM Id of the VMware site. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vmwareSiteId?: string; + /** + * The Migration solution ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly migrationSolutionId?: string; + /** + * The service endpoint. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serviceEndpoint?: string; + /** + * The service resource Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serviceResourceId?: string; +} + +/** + * VMware provider specific settings + */ +export interface VMwareVirtualMachineDetails { + /** + * Polymorphic Discriminator + */ + instanceType: "VMwareVirtualMachine"; + /** + * The ID generated by the InMage agent after it gets installed on guest. This is the ID to be + * used during InMage CreateProtection. + */ + agentGeneratedId?: string; + /** + * The value indicating if InMage scout agent is installed on guest. + */ + agentInstalled?: string; + /** + * The OsType installed on VM. + */ + osType?: string; + /** + * The agent version. + */ + agentVersion?: string; + /** + * The IP address. + */ + ipAddress?: string; + /** + * The value indicating whether VM is powered on. + */ + poweredOn?: string; + /** + * The VCenter infrastructure Id. + */ + vCenterInfrastructureId?: string; + /** + * A value indicating the discovery type of the machine. Value can be vCenter or physical. + */ + discoveryType?: string; + /** + * The disk details. + */ + diskDetails?: InMageDiskDetails[]; + /** + * The validation errors. + */ + validationErrors?: HealthError[]; +} + +/** + * Optional Parameters. + */ +export interface ReplicationEventsListOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + /** + * The delete option. + */ + deleteOption?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsListOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. + */ + skipToken?: string; + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationMigrationItemsBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + /** + * The delete option. + */ + deleteOption?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationProtectedItemsListOptionalParams extends msRest.RequestOptionsBase { + /** + * The pagination token. Possible values: "FabricId" or "FabricId_CloudId" or null + */ + skipToken?: string; + /** + * OData filter options. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ReplicationJobsListOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter options. + */ + filter?: string; +} + +/** + * An interface representing SiteRecoveryManagementClientOptions. + */ +export interface SiteRecoveryManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * @interface + * Collection of ClientDiscovery details. + * @extends Array + */ +export interface OperationsDiscoveryCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of alerts. + * @extends Array + */ +export interface AlertCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of fabric details. + * @extends Array + */ +export interface EventCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of fabric details. + * @extends Array + */ +export interface FabricCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * List of logical networks. + * @extends Array + */ +export interface LogicalNetworkCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * List of networks. + * @extends Array + */ +export interface NetworkCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * List of network mappings. As with NetworkMapping, it should be possible to reuse a prev version + * of this class. It doesn't seem likely this class could be anything more than a slightly bespoke + * collection of NetworkMapping. Hence it makes sense to override Load with Base.NetworkMapping + * instead of existing CurrentVersion.NetworkMapping. + * @extends Array + */ +export interface NetworkMappingCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Protection Container collection. + * @extends Array + */ +export interface ProtectionContainerCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Migration item collection. + * @extends Array + */ +export interface MigrationItemCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of migration recovery points. + * @extends Array + */ +export interface MigrationRecoveryPointCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Protectable item collection. + * @extends Array + */ +export interface ProtectableItemCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Replication protected item collection. + * @extends Array + */ +export interface ReplicationProtectedItemCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of recovery point details. + * @extends Array + */ +export interface RecoveryPointCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Target compute size collection. + * @extends Array + */ +export interface TargetComputeSizeCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Protection container mapping collection class. + * @extends Array + */ +export interface ProtectionContainerMappingCollection extends Array { + /** + * Link to fetch rest of the data. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of providers. + * @extends Array + */ +export interface RecoveryServicesProviderCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of storage details. + * @extends Array + */ +export interface StorageClassificationCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of storage mapping details. + * @extends Array + */ +export interface StorageClassificationMappingCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of vCenter details. + * @extends Array + */ +export interface VCenterCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Collection of jobs. + * @extends Array + */ +export interface JobCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Protection Profile Collection details. + * @extends Array + */ +export interface PolicyCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Recovery plan collection details. + * @extends Array + */ +export interface RecoveryPlanCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * Vault setting collection. + * @extends Array + */ +export interface VaultSettingCollection extends Array { + /** + * The value of next link. + */ + nextLink?: string; +} + +/** + * Defines values for AgentAutoUpdateStatus. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type AgentAutoUpdateStatus = 'Disabled' | 'Enabled'; + +/** + * Defines values for 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', + * 'ChangePit', 'RepairReplication', 'SwitchProtection', 'CompleteMigration' + * @readonly + * @enum {string} + */ +export type ReplicationProtectedItemOperation = 'ReverseReplicate' | 'Commit' | 'PlannedFailover' | 'UnplannedFailover' | 'DisableProtection' | 'TestFailover' | 'TestFailoverCleanup' | 'Failback' | 'FinalizeFailback' | 'ChangePit' | 'RepairReplication' | 'SwitchProtection' | 'CompleteMigration'; + +/** + * Defines values for PossibleOperationsDirections. + * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' + * @readonly + * @enum {string} + */ +export type PossibleOperationsDirections = 'PrimaryToRecovery' | 'RecoveryToPrimary'; + +/** * Defines values for DisableProtectionReason. * Possible values include: 'NotSpecified', 'MigrationComplete' * @readonly * @enum {string} */ -export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; +export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; + +/** + * Defines values for ProtectionHealth. + * Possible values include: 'None', 'Normal', 'Warning', 'Critical' + * @readonly + * @enum {string} + */ +export type ProtectionHealth = 'None' | 'Normal' | 'Warning' | 'Critical'; + +/** + * Defines values for HealthErrorCustomerResolvability. + * Possible values include: 'Allowed', 'NotAllowed' + * @readonly + * @enum {string} + */ +export type HealthErrorCustomerResolvability = 'Allowed' | 'NotAllowed'; + +/** + * Defines values for HealthErrorCategory. + * Possible values include: 'None', 'Replication', 'TestFailover', 'Configuration', + * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' + * @readonly + * @enum {string} + */ +export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdate'; + +/** + * Defines values for Severity. + * Possible values include: 'NONE', 'Warning', 'Error', 'Info' + * @readonly + * @enum {string} + */ +export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; + +/** + * Defines values for PresenceStatus. + * Possible values include: 'Unknown', 'Present', 'NotPresent' + * @readonly + * @enum {string} + */ +export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; + +/** + * Defines values for AgentVersionStatus. + * Possible values include: 'Supported', 'NotSupported', 'Deprecated', 'UpdateRequired', + * 'SecurityUpdateRequired' + * @readonly + * @enum {string} + */ +export type AgentVersionStatus = 'Supported' | 'NotSupported' | 'Deprecated' | 'UpdateRequired' | 'SecurityUpdateRequired'; + +/** + * Defines values for DiskAccountType. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * @readonly + * @enum {string} + */ +export type DiskAccountType = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS'; + +/** + * Defines values for RecoveryPointType. + * Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * @readonly + * @enum {string} + */ +export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; + +/** + * Defines values for LicenseType. + * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + * @readonly + * @enum {string} + */ +export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; + +/** + * Defines values for AgentUpgradeBlockedReason. + * Possible values include: 'AlreadyOnLatestVersion', 'RebootRequired', 'AgentNoHeartbeat', + * 'RcmProxyNoHeartbeat', 'ProcessServerNoHeartbeat', 'IncompatibleApplianceVersion', + * 'NotProtected', 'UnsupportedProtectionScenario', 'DistroIsNotReported', + * 'DistroNotSupportedForUpgrade', 'MissingUpgradePath', 'InvalidAgentVersion', + * 'InvalidDriverVersion', 'Unknown' + * @readonly + * @enum {string} + */ +export type AgentUpgradeBlockedReason = 'AlreadyOnLatestVersion' | 'RebootRequired' | 'AgentNoHeartbeat' | 'RcmProxyNoHeartbeat' | 'ProcessServerNoHeartbeat' | 'IncompatibleApplianceVersion' | 'NotProtected' | 'UnsupportedProtectionScenario' | 'DistroIsNotReported' | 'DistroNotSupportedForUpgrade' | 'MissingUpgradePath' | 'InvalidAgentVersion' | 'InvalidDriverVersion' | 'Unknown'; + +/** + * Defines values for EthernetAddressType. + * Possible values include: 'Dynamic', 'Static' + * @readonly + * @enum {string} + */ +export type EthernetAddressType = 'Dynamic' | 'Static'; + +/** + * Defines values for ResyncState. + * Possible values include: 'None', 'PreparedForResynchronization', 'StartedResynchronization' + * @readonly + * @enum {string} + */ +export type ResyncState = 'None' | 'PreparedForResynchronization' | 'StartedResynchronization'; + +/** + * Defines values for MobilityAgentUpgradeState. + * Possible values include: 'None', 'Started', 'Completed', 'Commit' + * @readonly + * @enum {string} + */ +export type MobilityAgentUpgradeState = 'None' | 'Started' | 'Completed' | 'Commit'; + +/** + * Defines values for MigrationState. + * Possible values include: 'None', 'EnableMigrationInProgress', 'EnableMigrationFailed', + * 'DisableMigrationInProgress', 'DisableMigrationFailed', 'InitialSeedingInProgress', + * 'InitialSeedingFailed', 'Replicating', 'MigrationInProgress', 'MigrationSucceeded', + * 'MigrationFailed' + * @readonly + * @enum {string} + */ +export type MigrationState = 'None' | 'EnableMigrationInProgress' | 'EnableMigrationFailed' | 'DisableMigrationInProgress' | 'DisableMigrationFailed' | 'InitialSeedingInProgress' | 'InitialSeedingFailed' | 'Replicating' | 'MigrationInProgress' | 'MigrationSucceeded' | 'MigrationFailed'; + +/** + * Defines values for TestMigrationState. + * Possible values include: 'None', 'TestMigrationInProgress', 'TestMigrationSucceeded', + * 'TestMigrationFailed', 'TestMigrationCleanupInProgress' + * @readonly + * @enum {string} + */ +export type TestMigrationState = 'None' | 'TestMigrationInProgress' | 'TestMigrationSucceeded' | 'TestMigrationFailed' | 'TestMigrationCleanupInProgress'; + +/** + * Defines values for MigrationItemOperation. + * Possible values include: 'DisableMigration', 'TestMigrate', 'TestMigrateCleanup', 'Migrate' + * @readonly + * @enum {string} + */ +export type MigrationItemOperation = 'DisableMigration' | 'TestMigrate' | 'TestMigrateCleanup' | 'Migrate'; + +/** + * Defines values for MigrationRecoveryPointType. + * Possible values include: 'NotSpecified', 'ApplicationConsistent', 'CrashConsistent' + * @readonly + * @enum {string} + */ +export type MigrationRecoveryPointType = 'NotSpecified' | 'ApplicationConsistent' | 'CrashConsistent'; + +/** + * Defines values for MultiVmSyncStatus. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type MultiVmSyncStatus = 'Enabled' | 'Disabled'; + +/** + * Defines values for A2ARpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type A2ARpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; + +/** + * Defines values for MultiVmSyncPointOption. + * Possible values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' + * @readonly + * @enum {string} + */ +export type MultiVmSyncPointOption = 'UseMultiVmSyncRecoveryPoint' | 'UsePerVmRecoveryPoint'; + +/** + * Defines values for RecoveryPlanActionLocation. + * Possible values include: 'Primary', 'Recovery' + * @readonly + * @enum {string} + */ +export type RecoveryPlanActionLocation = 'Primary' | 'Recovery'; + +/** + * Defines values for DataSyncStatus. + * Possible values include: 'ForDownTime', 'ForSynchronization' + * @readonly + * @enum {string} + */ +export type DataSyncStatus = 'ForDownTime' | 'ForSynchronization'; + +/** + * Defines values for AlternateLocationRecoveryOption. + * Possible values include: 'CreateVmIfNotFound', 'NoAction' + * @readonly + * @enum {string} + */ +export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; + +/** + * Defines values for HyperVReplicaAzureRpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type HyperVReplicaAzureRpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestProcessed'; + +/** + * Defines values for InMageV2RpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type InMageV2RpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; + +/** + * Defines values for RpInMageRecoveryPointType. + * Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * @readonly + * @enum {string} + */ +export type RpInMageRecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; + +/** + * Defines values for RecoveryPlanPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type RecoveryPlanPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; + +/** + * Defines values for SourceSiteOperations. + * Possible values include: 'Required', 'NotRequired' + * @readonly + * @enum {string} + */ +export type SourceSiteOperations = 'Required' | 'NotRequired'; + +/** + * Defines values for DiskType. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * @readonly + * @enum {string} + */ +export type DiskType = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS'; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = OperationsDiscoveryCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationsDiscoveryCollection; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type OperationsListNextResponse = OperationsDiscoveryCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationsDiscoveryCollection; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ReplicationAlertSettingsListResponse = AlertCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AlertCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationAlertSettingsGetResponse = Alert & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Alert; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type ReplicationAlertSettingsCreateResponse = Alert & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Alert; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ReplicationAlertSettingsListNextResponse = AlertCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AlertCollection; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ReplicationEligibilityResultsListResponse = ReplicationEligibilityResultsCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationEligibilityResultsCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationEligibilityResultsGetResponse = ReplicationEligibilityResults & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationEligibilityResults; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ReplicationEventsListResponse = EventCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: EventCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationEventsGetResponse = Event & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Event; + }; +}; /** - * Defines values for HealthErrorCategory. - * Possible values include: 'None', 'Replication', 'TestFailover', 'Configuration', - * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdate'; +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; + }; +}; /** - * Defines values for Severity. - * Possible values include: 'NONE', 'Warning', 'Error', 'Info' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; +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; + }; +}; /** - * Defines values for PresenceStatus. - * Possible values include: 'Unknown', 'Present', 'NotPresent' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; +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; + }; +}; /** - * Defines values for IdentityProviderType. - * Possible values include: 'RecoveryServicesActiveDirectory' - * @readonly - * @enum {string} + * Contains response data for the create operation. */ -export type IdentityProviderType = 'RecoveryServicesActiveDirectory'; +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; + }; +}; /** - * Defines values for AgentVersionStatus. - * Possible values include: 'Supported', 'NotSupported', 'Deprecated', 'UpdateRequired', - * 'SecurityUpdateRequired' - * @readonly - * @enum {string} + * Contains response data for the checkConsistency operation. */ -export type AgentVersionStatus = 'Supported' | 'NotSupported' | 'Deprecated' | 'UpdateRequired' | 'SecurityUpdateRequired'; +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; + }; +}; /** - * Defines values for RecoveryPointType. - * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * @readonly - * @enum {string} + * Contains response data for the reassociateGateway operation. */ -export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; +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; + }; +}; /** - * Defines values for MultiVmSyncStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the renewCertificate operation. */ -export type MultiVmSyncStatus = 'Enabled' | 'Disabled'; +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; + }; +}; + +/** + * Contains response data for the beginRenewCertificate operation. + */ +export type ReplicationFabricsBeginRenewCertificateResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for A2ARpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', - * 'LatestProcessed' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type A2ARpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; +export type ReplicationFabricsListNextResponse = FabricCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for MultiVmSyncPointOption. - * Possible values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' - * @readonly - * @enum {string} - */ -export type MultiVmSyncPointOption = 'UseMultiVmSyncRecoveryPoint' | 'UsePerVmRecoveryPoint'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: FabricCollection; + }; +}; /** - * Defines values for RecoveryPlanActionLocation. - * Possible values include: 'Primary', 'Recovery' - * @readonly - * @enum {string} + * Contains response data for the listByReplicationFabrics operation. */ -export type RecoveryPlanActionLocation = 'Primary' | 'Recovery'; +export type ReplicationLogicalNetworksListByReplicationFabricsResponse = LogicalNetworkCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for DataSyncStatus. - * Possible values include: 'ForDownTime', 'ForSynchronization' - * @readonly - * @enum {string} - */ -export type DataSyncStatus = 'ForDownTime' | 'ForSynchronization'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: LogicalNetworkCollection; + }; +}; /** - * Defines values for AlternateLocationRecoveryOption. - * Possible values include: 'CreateVmIfNotFound', 'NoAction' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; +export type ReplicationLogicalNetworksGetResponse = LogicalNetwork & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for HyperVReplicaAzureRpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestProcessed' - * @readonly - * @enum {string} - */ -export type HyperVReplicaAzureRpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestProcessed'; + /** + * 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; -/** - * Defines values for RpInMageRecoveryPointType. - * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * @readonly - * @enum {string} - */ -export type RpInMageRecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: LogicalNetworkCollection; + }; +}; /** - * Defines values for SourceSiteOperations. - * Possible values include: 'Required', 'NotRequired' - * @readonly - * @enum {string} + * Contains response data for the listByReplicationFabrics operation. */ -export type SourceSiteOperations = 'Required' | 'NotRequired'; +export type ReplicationNetworksListByReplicationFabricsResponse = NetworkCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for LicenseType. - * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' - * @readonly - * @enum {string} - */ -export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: NetworkCollection; + }; +}; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type OperationsListResponse = OperationsDiscoveryCollection & { +export type ReplicationNetworksGetResponse = Network & { /** * The underlying HTTP response. */ @@ -9707,17 +11994,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: Network; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type OperationsListNextResponse = OperationsDiscoveryCollection & { +export type ReplicationNetworksListResponse = NetworkCollection & { /** * The underlying HTTP response. */ @@ -9726,17 +12014,18 @@ export type OperationsListNextResponse = OperationsDiscoveryCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: OperationsDiscoveryCollection; + parsedBody: NetworkCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByReplicationFabricsNext operation. */ -export type ReplicationAlertSettingsListResponse = AlertCollection & { +export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCollection & { /** * The underlying HTTP response. */ @@ -9745,17 +12034,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: NetworkCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type ReplicationAlertSettingsGetResponse = Alert & { +export type ReplicationNetworksListNextResponse = NetworkCollection & { /** * The underlying HTTP response. */ @@ -9764,17 +12054,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: NetworkCollection; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByReplicationNetworks operation. */ -export type ReplicationAlertSettingsCreateResponse = Alert & { +export type ReplicationNetworkMappingsListByReplicationNetworksResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9783,17 +12074,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: NetworkMappingCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type ReplicationAlertSettingsListNextResponse = AlertCollection & { +export type ReplicationNetworkMappingsGetResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9802,17 +12094,18 @@ export type ReplicationAlertSettingsListNextResponse = AlertCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: AlertCollection; + parsedBody: NetworkMapping; }; }; /** - * Contains response data for the list operation. + * Contains response data for the create operation. */ -export type ReplicationEventsListResponse = EventCollection & { +export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9821,17 +12114,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: NetworkMapping; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ReplicationEventsGetResponse = Event & { +export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9840,17 +12134,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: NetworkMapping; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type ReplicationEventsListNextResponse = EventCollection & { +export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9859,17 +12154,18 @@ export type ReplicationEventsListNextResponse = EventCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: EventCollection; + parsedBody: NetworkMappingCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationFabricsListResponse = FabricCollection & { +export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9878,17 +12174,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: NetworkMapping; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type ReplicationFabricsGetResponse = Fabric & { +export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9897,17 +12194,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: NetworkMapping; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByReplicationNetworksNext operation. */ -export type ReplicationFabricsCreateResponse = Fabric & { +export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9916,17 +12214,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: NetworkMappingCollection; }; }; /** - * Contains response data for the checkConsistency operation. + * Contains response data for the listNext operation. */ -export type ReplicationFabricsCheckConsistencyResponse = Fabric & { +export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9935,17 +12234,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: NetworkMappingCollection; }; }; /** - * Contains response data for the reassociateGateway operation. + * Contains response data for the listByReplicationFabrics operation. */ -export type ReplicationFabricsReassociateGatewayResponse = Fabric & { +export type ReplicationProtectionContainersListByReplicationFabricsResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -9954,17 +12254,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: ProtectionContainerCollection; }; }; /** - * Contains response data for the renewCertificate operation. + * Contains response data for the get operation. */ -export type ReplicationFabricsRenewCertificateResponse = Fabric & { +export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9973,17 +12274,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 create operation. */ -export type ReplicationFabricsBeginCreateResponse = Fabric & { +export type ReplicationProtectionContainersCreateResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -9992,17 +12294,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 discoverProtectableItem operation. */ -export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { +export type ReplicationProtectionContainersDiscoverProtectableItemResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10011,17 +12314,18 @@ export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the beginReassociateGateway operation. + * Contains response data for the switchProtection operation. */ -export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { +export type ReplicationProtectionContainersSwitchProtectionResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10030,17 +12334,18 @@ export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the beginRenewCertificate operation. + * Contains response data for the list operation. */ -export type ReplicationFabricsBeginRenewCertificateResponse = Fabric & { +export type ReplicationProtectionContainersListResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10049,17 +12354,18 @@ export type ReplicationFabricsBeginRenewCertificateResponse = Fabric & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: ProtectionContainerCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationFabricsListNextResponse = FabricCollection & { +export type ReplicationProtectionContainersBeginCreateResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10068,17 +12374,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: ProtectionContainer; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the beginDiscoverProtectableItem operation. */ -export type ReplicationLogicalNetworksListByReplicationFabricsResponse = LogicalNetworkCollection & { +export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10087,17 +12394,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: ProtectionContainer; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginSwitchProtection operation. */ -export type ReplicationLogicalNetworksGetResponse = LogicalNetwork & { +export type ReplicationProtectionContainersBeginSwitchProtectionResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10106,17 +12414,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: ProtectionContainer; }; }; /** * Contains response data for the listByReplicationFabricsNext operation. */ -export type ReplicationLogicalNetworksListByReplicationFabricsNextResponse = LogicalNetworkCollection & { +export type ReplicationProtectionContainersListByReplicationFabricsNextResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10125,17 +12434,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: ProtectionContainerCollection; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the listNext operation. */ -export type ReplicationNetworksListByReplicationFabricsResponse = NetworkCollection & { +export type ReplicationProtectionContainersListNextResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10144,17 +12454,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: ProtectionContainerCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationNetworksGetResponse = Network & { +export type ReplicationMigrationItemsListByReplicationProtectionContainersResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10163,17 +12474,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: MigrationItemCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type ReplicationNetworksListResponse = NetworkCollection & { +export type ReplicationMigrationItemsGetResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10182,17 +12494,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 create operation. */ -export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCollection & { +export type ReplicationMigrationItemsCreateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10201,17 +12514,18 @@ export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCol * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the update operation. */ -export type ReplicationNetworksListNextResponse = NetworkCollection & { +export type ReplicationMigrationItemsUpdateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10220,17 +12534,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 migrate operation. */ -export type ReplicationNetworkMappingsListByReplicationNetworksResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10239,17 +12554,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 testMigrate operation. */ -export type ReplicationNetworkMappingsGetResponse = NetworkMapping & { +export type ReplicationMigrationItemsTestMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10258,17 +12574,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 testMigrateCleanup operation. */ -export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { +export type ReplicationMigrationItemsTestMigrateCleanupResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10277,17 +12594,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 list operation. */ -export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { +export type ReplicationMigrationItemsListResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10296,17 +12614,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: MigrationItemCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsBeginCreateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10315,17 +12634,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 beginUpdate operation. */ -export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginUpdateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10334,17 +12654,18 @@ export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginMigrate operation. */ -export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { +export type ReplicationMigrationItemsBeginMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10353,17 +12674,18 @@ export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the listByReplicationNetworksNext operation. + * Contains response data for the beginTestMigrate operation. */ -export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsBeginTestMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10372,17 +12694,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: MigrationItem; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginTestMigrateCleanup operation. */ -export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsBeginTestMigrateCleanupResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10391,17 +12714,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: MigrationItem; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationProtectionContainersListByReplicationFabricsResponse = ProtectionContainerCollection & { +export type ReplicationMigrationItemsListByReplicationProtectionContainersNextResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10410,17 +12734,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: MigrationItemCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { +export type ReplicationMigrationItemsListNextResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10429,17 +12754,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: MigrationItemCollection; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByReplicationMigrationItems operation. */ -export type ReplicationProtectionContainersCreateResponse = ProtectionContainer & { +export type MigrationRecoveryPointsListByReplicationMigrationItemsResponse = MigrationRecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -10448,17 +12774,18 @@ export type ReplicationProtectionContainersCreateResponse = ProtectionContainer * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: MigrationRecoveryPointCollection; }; }; /** - * Contains response data for the discoverProtectableItem operation. + * Contains response data for the get operation. */ -export type ReplicationProtectionContainersDiscoverProtectableItemResponse = ProtectionContainer & { +export type MigrationRecoveryPointsGetResponse = MigrationRecoveryPoint & { /** * The underlying HTTP response. */ @@ -10467,17 +12794,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: MigrationRecoveryPoint; }; }; /** - * Contains response data for the switchProtection operation. + * Contains response data for the listByReplicationMigrationItemsNext operation. */ -export type ReplicationProtectionContainersSwitchProtectionResponse = ProtectionContainer & { +export type MigrationRecoveryPointsListByReplicationMigrationItemsNextResponse = MigrationRecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -10486,17 +12814,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: MigrationRecoveryPointCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationProtectionContainersListResponse = ProtectionContainerCollection & { +export type ReplicationProtectableItemsListByReplicationProtectionContainersResponse = ProtectableItemCollection & { /** * The underlying HTTP response. */ @@ -10505,17 +12834,18 @@ export type ReplicationProtectionContainersListResponse = ProtectionContainerCol * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerCollection; + parsedBody: ProtectableItemCollection; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the get operation. */ -export type ReplicationProtectionContainersBeginCreateResponse = ProtectionContainer & { +export type ReplicationProtectableItemsGetResponse = ProtectableItem & { /** * The underlying HTTP response. */ @@ -10524,17 +12854,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: ProtectableItem; }; }; /** - * Contains response data for the beginDiscoverProtectableItem operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse = ProtectionContainer & { +export type ReplicationProtectableItemsListByReplicationProtectionContainersNextResponse = ProtectableItemCollection & { /** * The underlying HTTP response. */ @@ -10543,17 +12874,18 @@ export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse * 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 beginSwitchProtection operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationProtectionContainersBeginSwitchProtectionResponse = ProtectionContainer & { +export type ReplicationProtectedItemsListByReplicationProtectionContainersResponse = ReplicationProtectedItemCollection & { /** * The underlying HTTP response. */ @@ -10562,17 +12894,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: ReplicationProtectedItemCollection; }; }; /** - * Contains response data for the listByReplicationFabricsNext operation. + * Contains response data for the get operation. */ -export type ReplicationProtectionContainersListByReplicationFabricsNextResponse = ProtectionContainerCollection & { +export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10581,17 +12914,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 create operation. */ -export type ReplicationProtectionContainersListNextResponse = ProtectionContainerCollection & { +export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10600,17 +12934,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 update operation. */ -export type ReplicationProtectableItemsListByReplicationProtectionContainersResponse = ProtectableItemCollection & { +export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10619,17 +12954,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 addDisks operation. */ -export type ReplicationProtectableItemsGetResponse = ProtectableItem & { +export type ReplicationProtectedItemsAddDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10638,17 +12974,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 applyRecoveryPoint operation. */ -export type ReplicationProtectableItemsListByReplicationProtectionContainersNextResponse = ProtectableItemCollection & { +export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10657,17 +12994,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 failoverCommit operation. */ -export type ReplicationProtectedItemsListByReplicationProtectionContainersResponse = ReplicationProtectedItemCollection & { +export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10676,17 +13014,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 plannedFailover operation. */ -export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10695,6 +13034,7 @@ export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10703,9 +13043,9 @@ export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { }; /** - * Contains response data for the create operation. + * Contains response data for the removeDisks operation. */ -export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsRemoveDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10714,6 +13054,7 @@ export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10722,9 +13063,9 @@ export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & }; /** - * Contains response data for the update operation. + * Contains response data for the repairReplication operation. */ -export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10733,6 +13074,7 @@ export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10741,9 +13083,9 @@ export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & }; /** - * Contains response data for the applyRecoveryPoint operation. + * Contains response data for the reprotect operation. */ -export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10752,6 +13094,7 @@ export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationPro * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10760,9 +13103,9 @@ export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationPro }; /** - * Contains response data for the failoverCommit operation. + * Contains response data for the resolveHealthErrors operation. */ -export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsResolveHealthErrorsResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10771,6 +13114,7 @@ export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10779,9 +13123,9 @@ export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtect }; /** - * Contains response data for the plannedFailover operation. + * Contains response data for the testFailover operation. */ -export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10790,6 +13134,7 @@ export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtec * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10798,9 +13143,9 @@ export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtec }; /** - * Contains response data for the repairReplication operation. + * Contains response data for the testFailoverCleanup operation. */ -export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10809,6 +13154,7 @@ export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10817,9 +13163,9 @@ export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProt }; /** - * Contains response data for the reprotect operation. + * Contains response data for the unplannedFailover operation. */ -export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10828,6 +13174,7 @@ export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedIte * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10836,9 +13183,9 @@ export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedIte }; /** - * Contains response data for the testFailover operation. + * Contains response data for the updateMobilityService operation. */ -export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsUpdateMobilityServiceResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10847,6 +13194,7 @@ export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtected * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10855,9 +13203,9 @@ export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtected }; /** - * Contains response data for the testFailoverCleanup operation. + * Contains response data for the list operation. */ -export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsListResponse = ReplicationProtectedItemCollection & { /** * The underlying HTTP response. */ @@ -10866,17 +13214,18 @@ export type ReplicationProtectedItemsTestFailoverCleanupResponse = ReplicationPr * 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 unplannedFailover operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10885,6 +13234,7 @@ export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10893,9 +13243,9 @@ export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProt }; /** - * Contains response data for the updateMobilityService operation. + * Contains response data for the beginUpdate operation. */ -export type ReplicationProtectedItemsUpdateMobilityServiceResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10904,6 +13254,7 @@ export type ReplicationProtectedItemsUpdateMobilityServiceResponse = Replication * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10912,9 +13263,9 @@ export type ReplicationProtectedItemsUpdateMobilityServiceResponse = Replication }; /** - * Contains response data for the list operation. + * Contains response data for the beginAddDisks operation. */ -export type ReplicationProtectedItemsListResponse = ReplicationProtectedItemCollection & { +export type ReplicationProtectedItemsBeginAddDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10923,17 +13274,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 beginApplyRecoveryPoint operation. */ -export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10942,6 +13294,7 @@ export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedI * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10950,9 +13303,9 @@ export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedI }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginFailoverCommit operation. */ -export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10961,6 +13314,7 @@ export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedI * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10969,9 +13323,9 @@ export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedI }; /** - * Contains response data for the beginApplyRecoveryPoint operation. + * Contains response data for the beginPlannedFailover operation. */ -export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10980,6 +13334,7 @@ export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = Replicati * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10988,9 +13343,9 @@ export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = Replicati }; /** - * Contains response data for the beginFailoverCommit operation. + * Contains response data for the beginRemoveDisks operation. */ -export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginRemoveDisksResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -10999,6 +13354,7 @@ export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationPr * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11007,9 +13363,9 @@ export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationPr }; /** - * Contains response data for the beginPlannedFailover operation. + * Contains response data for the beginRepairReplication operation. */ -export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginRepairReplicationResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11018,6 +13374,7 @@ export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11026,9 +13383,9 @@ export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationP }; /** - * Contains response data for the beginRepairReplication operation. + * Contains response data for the beginReprotect operation. */ -export type ReplicationProtectedItemsBeginRepairReplicationResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11037,6 +13394,7 @@ export type ReplicationProtectedItemsBeginRepairReplicationResponse = Replicatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11045,9 +13403,9 @@ export type ReplicationProtectedItemsBeginRepairReplicationResponse = Replicatio }; /** - * Contains response data for the beginReprotect operation. + * Contains response data for the beginResolveHealthErrors operation. */ -export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtectedItem & { +export type ReplicationProtectedItemsBeginResolveHealthErrorsResponse = ReplicationProtectedItem & { /** * The underlying HTTP response. */ @@ -11056,6 +13414,7 @@ export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11075,6 +13434,7 @@ export type ReplicationProtectedItemsBeginTestFailoverResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11094,6 +13454,7 @@ export type ReplicationProtectedItemsBeginTestFailoverCleanupResponse = Replicat * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11113,6 +13474,7 @@ export type ReplicationProtectedItemsBeginUnplannedFailoverResponse = Replicatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11132,6 +13494,7 @@ export type ReplicationProtectedItemsBeginUpdateMobilityServiceResponse = Replic * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11151,6 +13514,7 @@ export type ReplicationProtectedItemsListByReplicationProtectionContainersNextRe * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11170,6 +13534,7 @@ export type ReplicationProtectedItemsListNextResponse = ReplicationProtectedItem * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11189,6 +13554,7 @@ export type RecoveryPointsListByReplicationProtectedItemsResponse = RecoveryPoin * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11208,6 +13574,7 @@ export type RecoveryPointsGetResponse = RecoveryPoint & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11227,6 +13594,7 @@ export type RecoveryPointsListByReplicationProtectedItemsNextResponse = Recovery * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11246,6 +13614,7 @@ export type TargetComputeSizesListByReplicationProtectedItemsResponse = TargetCo * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11265,6 +13634,7 @@ export type TargetComputeSizesListByReplicationProtectedItemsNextResponse = Targ * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11284,6 +13654,7 @@ export type ReplicationProtectionContainerMappingsListByReplicationProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11303,6 +13674,7 @@ export type ReplicationProtectionContainerMappingsGetResponse = ProtectionContai * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11322,6 +13694,7 @@ export type ReplicationProtectionContainerMappingsCreateResponse = ProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11341,6 +13714,7 @@ export type ReplicationProtectionContainerMappingsUpdateResponse = ProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11360,6 +13734,7 @@ export type ReplicationProtectionContainerMappingsListResponse = ProtectionConta * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11379,6 +13754,7 @@ export type ReplicationProtectionContainerMappingsBeginCreateResponse = Protecti * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11398,6 +13774,7 @@ export type ReplicationProtectionContainerMappingsBeginUpdateResponse = Protecti * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11417,6 +13794,7 @@ export type ReplicationProtectionContainerMappingsListByReplicationProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11436,6 +13814,7 @@ export type ReplicationProtectionContainerMappingsListNextResponse = ProtectionC * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11455,6 +13834,7 @@ export type ReplicationRecoveryServicesProvidersListByReplicationFabricsResponse * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11474,6 +13854,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 +13894,7 @@ export type ReplicationRecoveryServicesProvidersRefreshProviderResponse = Recove * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11512,6 +13914,7 @@ export type ReplicationRecoveryServicesProvidersListResponse = RecoveryServicesP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11519,6 +13922,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 +13954,7 @@ export type ReplicationRecoveryServicesProvidersBeginRefreshProviderResponse = R * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11550,6 +13974,7 @@ export type ReplicationRecoveryServicesProvidersListByReplicationFabricsNextResp * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11569,6 +13994,7 @@ export type ReplicationRecoveryServicesProvidersListNextResponse = RecoveryServi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11588,6 +14014,7 @@ export type ReplicationStorageClassificationsListByReplicationFabricsResponse = * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11607,6 +14034,7 @@ export type ReplicationStorageClassificationsGetResponse = StorageClassification * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11626,6 +14054,7 @@ export type ReplicationStorageClassificationsListResponse = StorageClassificatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11645,6 +14074,7 @@ export type ReplicationStorageClassificationsListByReplicationFabricsNextRespons * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11664,6 +14094,7 @@ export type ReplicationStorageClassificationsListNextResponse = StorageClassific * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11683,6 +14114,7 @@ export type ReplicationStorageClassificationMappingsListByReplicationStorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11702,6 +14134,7 @@ export type ReplicationStorageClassificationMappingsGetResponse = StorageClassif * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11721,6 +14154,7 @@ export type ReplicationStorageClassificationMappingsCreateResponse = StorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11740,6 +14174,7 @@ export type ReplicationStorageClassificationMappingsListResponse = StorageClassi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11759,6 +14194,7 @@ export type ReplicationStorageClassificationMappingsBeginCreateResponse = Storag * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11778,6 +14214,7 @@ export type ReplicationStorageClassificationMappingsListByReplicationStorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11797,6 +14234,7 @@ export type ReplicationStorageClassificationMappingsListNextResponse = StorageCl * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11816,6 +14254,7 @@ export type ReplicationvCentersListByReplicationFabricsResponse = VCenterCollect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11835,6 +14274,7 @@ export type ReplicationvCentersGetResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11854,6 +14294,7 @@ export type ReplicationvCentersCreateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11873,6 +14314,7 @@ export type ReplicationvCentersUpdateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11892,6 +14334,7 @@ export type ReplicationvCentersListResponse = VCenterCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11911,6 +14354,7 @@ export type ReplicationvCentersBeginCreateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11930,6 +14374,7 @@ export type ReplicationvCentersBeginUpdateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11949,6 +14394,7 @@ export type ReplicationvCentersListByReplicationFabricsNextResponse = VCenterCol * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11968,6 +14414,7 @@ export type ReplicationvCentersListNextResponse = VCenterCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11987,6 +14434,7 @@ export type ReplicationJobsListResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12006,6 +14454,7 @@ export type ReplicationJobsGetResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12025,6 +14474,7 @@ export type ReplicationJobsCancelResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12044,6 +14494,7 @@ export type ReplicationJobsRestartResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12063,6 +14514,7 @@ export type ReplicationJobsResumeResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12082,6 +14534,7 @@ export type ReplicationJobsExportMethodResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12101,6 +14554,7 @@ export type ReplicationJobsBeginCancelResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12120,6 +14574,7 @@ export type ReplicationJobsBeginRestartResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12139,6 +14594,7 @@ export type ReplicationJobsBeginResumeResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12158,6 +14614,7 @@ export type ReplicationJobsBeginExportMethodResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12177,6 +14634,7 @@ export type ReplicationJobsListNextResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12196,6 +14654,7 @@ export type ReplicationPoliciesListResponse = PolicyCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12215,6 +14674,7 @@ export type ReplicationPoliciesGetResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12234,6 +14694,7 @@ export type ReplicationPoliciesCreateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12253,6 +14714,7 @@ export type ReplicationPoliciesUpdateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12272,6 +14734,7 @@ export type ReplicationPoliciesBeginCreateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12291,6 +14754,7 @@ export type ReplicationPoliciesBeginUpdateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12310,6 +14774,7 @@ export type ReplicationPoliciesListNextResponse = PolicyCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12329,6 +14794,7 @@ export type ReplicationRecoveryPlansListResponse = RecoveryPlanCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12348,6 +14814,7 @@ export type ReplicationRecoveryPlansGetResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12367,6 +14834,7 @@ export type ReplicationRecoveryPlansCreateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12386,6 +14854,7 @@ export type ReplicationRecoveryPlansUpdateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12405,6 +14874,7 @@ export type ReplicationRecoveryPlansFailoverCommitResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12424,6 +14894,7 @@ export type ReplicationRecoveryPlansPlannedFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12443,6 +14914,7 @@ export type ReplicationRecoveryPlansReprotectResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12462,6 +14934,7 @@ export type ReplicationRecoveryPlansTestFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12481,6 +14954,7 @@ export type ReplicationRecoveryPlansTestFailoverCleanupResponse = RecoveryPlan & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12500,6 +14974,7 @@ export type ReplicationRecoveryPlansUnplannedFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12519,6 +14994,7 @@ export type ReplicationRecoveryPlansBeginCreateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12538,6 +15014,7 @@ export type ReplicationRecoveryPlansBeginUpdateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12557,6 +15034,7 @@ export type ReplicationRecoveryPlansBeginFailoverCommitResponse = RecoveryPlan & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12576,6 +15054,7 @@ export type ReplicationRecoveryPlansBeginPlannedFailoverResponse = RecoveryPlan * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12595,6 +15074,7 @@ export type ReplicationRecoveryPlansBeginReprotectResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12614,6 +15094,7 @@ export type ReplicationRecoveryPlansBeginTestFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12633,6 +15114,7 @@ export type ReplicationRecoveryPlansBeginTestFailoverCleanupResponse = RecoveryP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12652,6 +15134,7 @@ export type ReplicationRecoveryPlansBeginUnplannedFailoverResponse = RecoveryPla * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12671,6 +15154,7 @@ export type ReplicationRecoveryPlansListNextResponse = RecoveryPlanCollection & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12678,6 +15162,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 +15194,7 @@ export type ReplicationVaultHealthGetResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12709,6 +15214,7 @@ export type ReplicationVaultHealthRefreshResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12728,9 +15234,90 @@ export type ReplicationVaultHealthBeginRefreshResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ parsedBody: VaultHealthDetails; }; }; + +/** + * Contains response data for the list operation. + */ +export type ReplicationVaultSettingListResponse = VaultSettingCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VaultSettingCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationVaultSettingGetResponse = VaultSetting & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VaultSetting; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type ReplicationVaultSettingCreateResponse = VaultSetting & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VaultSetting; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ReplicationVaultSettingListNextResponse = VaultSettingCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VaultSettingCollection; + }; +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/mappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/mappers.ts index 334f3b50b4ba..c806a203a2a1 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. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -14,123 +12,6 @@ import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; -export const ApplyRecoveryPointProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "ApplyRecoveryPointProviderSpecificInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "ApplyRecoveryPointProviderSpecificInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", - type: { - name: "String" - } - } - } - } -}; - -export const A2AApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "A2AApplyRecoveryPointInput", - modelProperties: { - ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties - } - } -}; - -export const ReplicationProviderSpecificContainerCreationInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderSpecificContainerCreationInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReplicationProviderSpecificContainerCreationInput", - className: "ReplicationProviderSpecificContainerCreationInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", - type: { - name: "String" - } - } - } - } -}; - -export const A2AContainerCreationInput: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificContainerCreationInput", - className: "A2AContainerCreationInput", - modelProperties: { - ...ReplicationProviderSpecificContainerCreationInput.type.modelProperties - } - } -}; - -export const ReplicationProviderSpecificContainerMappingInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderSpecificContainerMappingInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReplicationProviderSpecificContainerMappingInput", - className: "ReplicationProviderSpecificContainerMappingInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", - type: { - name: "String" - } - } - } - } -}; - -export const A2AContainerMappingInput: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificContainerMappingInput", - className: "A2AContainerMappingInput", - modelProperties: { - ...ReplicationProviderSpecificContainerMappingInput.type.modelProperties, - agentAutoUpdateStatus: { - serializedName: "agentAutoUpdateStatus", - type: { - name: "String" - } - }, - automationAccountArmId: { - serializedName: "automationAccountArmId", - type: { - name: "String" - } - } - } - } -}; - export const A2AVmDiskInputDetails: msRest.CompositeMapper = { serializedName: "A2AVmDiskInputDetails", type: { @@ -159,46 +40,6 @@ export const A2AVmDiskInputDetails: msRest.CompositeMapper = { } }; -export const A2AVmManagedDiskInputDetails: msRest.CompositeMapper = { - serializedName: "A2AVmManagedDiskInputDetails", - type: { - name: "Composite", - className: "A2AVmManagedDiskInputDetails", - modelProperties: { - diskId: { - serializedName: "diskId", - type: { - name: "String" - } - }, - primaryStagingAzureStorageAccountId: { - serializedName: "primaryStagingAzureStorageAccountId", - type: { - name: "String" - } - }, - recoveryResourceGroupId: { - serializedName: "recoveryResourceGroupId", - type: { - name: "String" - } - }, - recoveryReplicaDiskAccountType: { - serializedName: "recoveryReplicaDiskAccountType", - type: { - name: "String" - } - }, - recoveryTargetDiskAccountType: { - serializedName: "recoveryTargetDiskAccountType", - type: { - name: "String" - } - } - } - } -}; - export const DiskEncryptionKeyInfo: msRest.CompositeMapper = { serializedName: "DiskEncryptionKeyInfo", type: { @@ -267,45 +108,20 @@ export const DiskEncryptionInfo: msRest.CompositeMapper = { } }; -export const EnableProtectionProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "EnableProtectionProviderSpecificInput", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "EnableProtectionProviderSpecificInput", - className: "EnableProtectionProviderSpecificInput", - modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", - type: { - name: "String" - } - } - } - } -}; - -export const A2AEnableProtectionInput: msRest.CompositeMapper = { - serializedName: "A2A", +export const A2AVmManagedDiskInputDetails: msRest.CompositeMapper = { + serializedName: "A2AVmManagedDiskInputDetails", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "A2AEnableProtectionInput", + className: "A2AVmManagedDiskInputDetails", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - fabricObjectId: { - serializedName: "fabricObjectId", + diskId: { + serializedName: "diskId", type: { name: "String" } }, - recoveryContainerId: { - serializedName: "recoveryContainerId", + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", type: { name: "String" } @@ -316,50 +132,20 @@ export const A2AEnableProtectionInput: msRest.CompositeMapper = { name: "String" } }, - recoveryCloudServiceId: { - serializedName: "recoveryCloudServiceId", - type: { - name: "String" - } - }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + recoveryReplicaDiskAccountType: { + serializedName: "recoveryReplicaDiskAccountType", type: { name: "String" } }, - vmDisks: { - serializedName: "vmDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AVmDiskInputDetails" - } - } - } - }, - vmManagedDisks: { - serializedName: "vmManagedDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AVmManagedDiskInputDetails" - } - } - } - }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", type: { name: "String" } }, - recoveryBootDiagStorageAccountId: { - serializedName: "recoveryBootDiagStorageAccountId", + recoveryDiskEncryptionSetId: { + serializedName: "recoveryDiskEncryptionSetId", type: { name: "String" } @@ -375,16 +161,16 @@ export const A2AEnableProtectionInput: msRest.CompositeMapper = { } }; -export const EventProviderSpecificDetails: msRest.CompositeMapper = { - serializedName: "EventProviderSpecificDetails", +export const AddDisksProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "AddDisksProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "EventProviderSpecificDetails", - className: "EventProviderSpecificDetails", + uberParent: "AddDisksProviderSpecificInput", + className: "AddDisksProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -397,65 +183,53 @@ export const EventProviderSpecificDetails: msRest.CompositeMapper = { } }; -export const A2AEventDetails: msRest.CompositeMapper = { +export const A2AAddDisksInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "A2AEventDetails", + polymorphicDiscriminator: AddDisksProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "AddDisksProviderSpecificInput", + className: "A2AAddDisksInput", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - protectedItemName: { - serializedName: "protectedItemName", - type: { - name: "String" - } - }, - fabricObjectId: { - serializedName: "fabricObjectId", + ...AddDisksProviderSpecificInput.type.modelProperties, + vmDisks: { + serializedName: "vmDisks", type: { - name: "String" - } - }, - fabricName: { - serializedName: "fabricName", - type: { - name: "String" - } - }, - fabricLocation: { - serializedName: "fabricLocation", - type: { - name: "String" - } - }, - remoteFabricName: { - serializedName: "remoteFabricName", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmDiskInputDetails" + } + } } }, - remoteFabricLocation: { - serializedName: "remoteFabricLocation", + vmManagedDisks: { + serializedName: "vmManagedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmManagedDiskInputDetails" + } + } } } } } }; -export const ProviderSpecificFailoverInput: msRest.CompositeMapper = { - serializedName: "ProviderSpecificFailoverInput", +export const ApplyRecoveryPointProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "ApplyRecoveryPointProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ProviderSpecificFailoverInput", - className: "ProviderSpecificFailoverInput", + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "ApplyRecoveryPointProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -468,41 +242,29 @@ 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", - type: { - name: "String" - } - } + ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties } } }; -export const PolicyProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "PolicyProviderSpecificInput", +export const ReplicationProviderSpecificContainerCreationInput: msRest.CompositeMapper = { + serializedName: "ReplicationProviderSpecificContainerCreationInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "PolicyProviderSpecificInput", - className: "PolicyProviderSpecificInput", + uberParent: "ReplicationProviderSpecificContainerCreationInput", + className: "ReplicationProviderSpecificContainerCreationInput", modelProperties: { instanceType: { required: true, @@ -515,54 +277,29 @@ export const PolicyProviderSpecificInput: msRest.CompositeMapper = { } }; -export const A2APolicyCreationInput: msRest.CompositeMapper = { +export const A2AContainerCreationInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "A2APolicyCreationInput", + polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerCreationInput", + className: "A2AContainerCreationInput", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - 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" - } - } + ...ReplicationProviderSpecificContainerCreationInput.type.modelProperties } } }; -export const PolicyProviderSpecificDetails: msRest.CompositeMapper = { - serializedName: "PolicyProviderSpecificDetails", +export const ReplicationProviderSpecificContainerMappingInput: msRest.CompositeMapper = { + serializedName: "ReplicationProviderSpecificContainerMappingInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "PolicyProviderSpecificDetails", - className: "PolicyProviderSpecificDetails", + uberParent: "ReplicationProviderSpecificContainerMappingInput", + className: "ReplicationProviderSpecificContainerMappingInput", modelProperties: { instanceType: { required: true, @@ -575,165 +312,155 @@ export const PolicyProviderSpecificDetails: msRest.CompositeMapper = { } }; -export const A2APolicyDetails: msRest.CompositeMapper = { +export const A2AContainerMappingInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "A2APolicyDetails", + polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerMappingInput", + className: "A2AContainerMappingInput", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", - type: { - name: "Number" - } - }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + ...ReplicationProviderSpecificContainerMappingInput.type.modelProperties, + agentAutoUpdateStatus: { + serializedName: "agentAutoUpdateStatus", type: { - name: "Number" + name: "String" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + automationAccountArmId: { + serializedName: "automationAccountArmId", type: { name: "String" } - }, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", + } + } + } +}; + +export const EnableProtectionProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "EnableProtectionProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "EnableProtectionProviderSpecificInput", + className: "EnableProtectionProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Number" + name: "String" } } } } }; -export const A2AProtectedDiskDetails: msRest.CompositeMapper = { - serializedName: "A2AProtectedDiskDetails", +export const A2AEnableProtectionInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "A2AProtectedDiskDetails", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "A2AEnableProtectionInput", modelProperties: { - diskUri: { - serializedName: "diskUri", + ...EnableProtectionProviderSpecificInput.type.modelProperties, + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } }, - recoveryAzureStorageAccountId: { - serializedName: "recoveryAzureStorageAccountId", + recoveryContainerId: { + serializedName: "recoveryContainerId", type: { name: "String" } }, - primaryDiskAzureStorageAccountId: { - serializedName: "primaryDiskAzureStorageAccountId", + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", type: { name: "String" } }, - recoveryDiskUri: { - serializedName: "recoveryDiskUri", + recoveryCloudServiceId: { + serializedName: "recoveryCloudServiceId", type: { name: "String" } }, - diskName: { - serializedName: "diskName", + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { name: "String" } }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", type: { - name: "Number" + name: "String" } }, - primaryStagingAzureStorageAccountId: { - serializedName: "primaryStagingAzureStorageAccountId", + vmDisks: { + serializedName: "vmDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmDiskInputDetails" + } + } } }, - diskType: { - serializedName: "diskType", + vmManagedDisks: { + serializedName: "vmManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmManagedDiskInputDetails" + } + } + } + }, + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { name: "String" } }, - resyncRequired: { - serializedName: "resyncRequired", + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", type: { - name: "Boolean" + name: "String" } }, - monitoringPercentageCompletion: { - serializedName: "monitoringPercentageCompletion", + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", type: { - name: "Number" + name: "Composite", + className: "DiskEncryptionInfo" } }, - monitoringJobType: { - serializedName: "monitoringJobType", + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", type: { name: "String" } }, - dataPendingInStagingStorageAccountInMB: { - serializedName: "dataPendingInStagingStorageAccountInMB", + recoveryAzureNetworkId: { + serializedName: "recoveryAzureNetworkId", type: { - name: "Number" + name: "String" } }, - 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", - type: { - name: "String" - } - }, - kekKeyVaultArmId: { - serializedName: "kekKeyVaultArmId", + recoverySubnetName: { + serializedName: "recoverySubnetName", type: { name: "String" } @@ -742,134 +469,116 @@ export const A2AProtectedDiskDetails: msRest.CompositeMapper = { } }; -export const A2AProtectedManagedDiskDetails: msRest.CompositeMapper = { - serializedName: "A2AProtectedManagedDiskDetails", +export const EventProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "EventProviderSpecificDetails", type: { name: "Composite", - className: "A2AProtectedManagedDiskDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "EventProviderSpecificDetails", + className: "EventProviderSpecificDetails", modelProperties: { - diskId: { - serializedName: "diskId", - type: { - name: "String" - } - }, - recoveryResourceGroupId: { - serializedName: "recoveryResourceGroupId", - type: { - name: "String" - } - }, - recoveryTargetDiskId: { - serializedName: "recoveryTargetDiskId", - type: { - name: "String" - } - }, - recoveryReplicaDiskId: { - serializedName: "recoveryReplicaDiskId", - type: { - name: "String" - } - }, - recoveryReplicaDiskAccountType: { - serializedName: "recoveryReplicaDiskAccountType", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - recoveryTargetDiskAccountType: { - serializedName: "recoveryTargetDiskAccountType", + } + } + } +}; + +export const A2AEventDetails: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "A2AEventDetails", + modelProperties: { + ...EventProviderSpecificDetails.type.modelProperties, + protectedItemName: { + serializedName: "protectedItemName", type: { name: "String" } }, - diskName: { - serializedName: "diskName", + fabricObjectId: { + serializedName: "fabricObjectId", type: { name: "String" } }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", - type: { - name: "Number" - } - }, - primaryStagingAzureStorageAccountId: { - serializedName: "primaryStagingAzureStorageAccountId", + fabricName: { + serializedName: "fabricName", type: { name: "String" } }, - diskType: { - serializedName: "diskType", + fabricLocation: { + serializedName: "fabricLocation", type: { name: "String" } }, - resyncRequired: { - serializedName: "resyncRequired", - type: { - name: "Boolean" - } - }, - monitoringPercentageCompletion: { - serializedName: "monitoringPercentageCompletion", - type: { - name: "Number" - } - }, - monitoringJobType: { - serializedName: "monitoringJobType", + remoteFabricName: { + serializedName: "remoteFabricName", type: { name: "String" } }, - dataPendingInStagingStorageAccountInMB: { - serializedName: "dataPendingInStagingStorageAccountInMB", - type: { - name: "Number" - } - }, - dataPendingAtSourceAgentInMB: { - serializedName: "dataPendingAtSourceAgentInMB", - type: { - name: "Number" - } - }, - isDiskEncrypted: { - serializedName: "isDiskEncrypted", - type: { - name: "Boolean" - } - }, - secretIdentifier: { - serializedName: "secretIdentifier", + remoteFabricLocation: { + serializedName: "remoteFabricLocation", type: { name: "String" } - }, - dekKeyVaultArmId: { - serializedName: "dekKeyVaultArmId", + } + } + } +}; + +export const ProviderSpecificFailoverInput: msRest.CompositeMapper = { + serializedName: "ProviderSpecificFailoverInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ProviderSpecificFailoverInput", + className: "ProviderSpecificFailoverInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - isDiskKeyEncrypted: { - serializedName: "isDiskKeyEncrypted", - type: { - name: "Boolean" - } - }, - keyIdentifier: { - serializedName: "keyIdentifier", + } + } + } +}; + +export const A2AFailoverProviderInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificFailoverInput", + className: "A2AFailoverProviderInput", + modelProperties: { + ...ProviderSpecificFailoverInput.type.modelProperties, + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } }, - kekKeyVaultArmId: { - serializedName: "kekKeyVaultArmId", + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", type: { name: "String" } @@ -878,16 +587,16 @@ export const A2AProtectedManagedDiskDetails: msRest.CompositeMapper = { } }; -export const ProtectionContainerMappingProviderSpecificDetails: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMappingProviderSpecificDetails", +export const PolicyProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "PolicyProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ProtectionContainerMappingProviderSpecificDetails", - className: "ProtectionContainerMappingProviderSpecificDetails", + uberParent: "PolicyProviderSpecificInput", + className: "PolicyProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -900,35 +609,36 @@ export const ProtectionContainerMappingProviderSpecificDetails: msRest.Composite } }; -export const A2AProtectionContainerMappingDetails: msRest.CompositeMapper = { +export const A2APolicyCreationInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "ProtectionContainerMappingProviderSpecificDetails", - className: "A2AProtectionContainerMappingDetails", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "A2APolicyCreationInput", modelProperties: { - ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, - agentAutoUpdateStatus: { - serializedName: "agentAutoUpdateStatus", + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointHistory: { + serializedName: "recoveryPointHistory", type: { - name: "String" + name: "Number" } }, - automationAccountArmId: { - serializedName: "automationAccountArmId", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - scheduleName: { - serializedName: "scheduleName", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - jobScheduleName: { - serializedName: "jobScheduleName", + multiVmSyncStatus: { + required: true, + serializedName: "multiVmSyncStatus", type: { name: "String" } @@ -937,16 +647,16 @@ export const A2AProtectionContainerMappingDetails: msRest.CompositeMapper = { } }; -export const ProviderSpecificRecoveryPointDetails: msRest.CompositeMapper = { - serializedName: "ProviderSpecificRecoveryPointDetails", +export const PolicyProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "PolicyProviderSpecificDetails", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ProviderSpecificRecoveryPointDetails", - className: "ProviderSpecificRecoveryPointDetails", + uberParent: "PolicyProviderSpecificDetails", + className: "PolicyProviderSpecificDetails", modelProperties: { instanceType: { required: true, @@ -959,179 +669,182 @@ export const ProviderSpecificRecoveryPointDetails: msRest.CompositeMapper = { } }; -export const A2ARecoveryPointDetails: msRest.CompositeMapper = { +export const A2APolicyDetails: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificRecoveryPointDetails", - className: "A2ARecoveryPointDetails", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "A2APolicyDetails", modelProperties: { - ...ProviderSpecificRecoveryPointDetails.type.modelProperties, - recoveryPointSyncType: { - serializedName: "recoveryPointSyncType", + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", + type: { + name: "Number" + } + }, + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", type: { name: "String" } + }, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } } } } }; -export const VMNicDetails: msRest.CompositeMapper = { - serializedName: "VMNicDetails", +export const A2AProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AProtectedDiskDetails", type: { name: "Composite", - className: "VMNicDetails", + className: "A2AProtectedDiskDetails", modelProperties: { - nicId: { - serializedName: "nicId", + diskUri: { + serializedName: "diskUri", type: { name: "String" } }, - replicaNicId: { - serializedName: "replicaNicId", + recoveryAzureStorageAccountId: { + serializedName: "recoveryAzureStorageAccountId", type: { name: "String" } }, - sourceNicArmId: { - serializedName: "sourceNicArmId", + primaryDiskAzureStorageAccountId: { + serializedName: "primaryDiskAzureStorageAccountId", type: { name: "String" } }, - vMSubnetName: { - serializedName: "vMSubnetName", + recoveryDiskUri: { + serializedName: "recoveryDiskUri", type: { name: "String" } }, - vMNetworkName: { - serializedName: "vMNetworkName", + diskName: { + serializedName: "diskName", type: { name: "String" } }, - recoveryVMNetworkId: { - serializedName: "recoveryVMNetworkId", + diskCapacityInBytes: { + serializedName: "diskCapacityInBytes", type: { - name: "String" + name: "Number" } }, - recoveryVMSubnetName: { - serializedName: "recoveryVMSubnetName", + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", type: { name: "String" } }, - ipAddressType: { - serializedName: "ipAddressType", + diskType: { + serializedName: "diskType", type: { name: "String" } }, - primaryNicStaticIPAddress: { - serializedName: "primaryNicStaticIPAddress", + resyncRequired: { + serializedName: "resyncRequired", type: { - name: "String" + name: "Boolean" } }, - replicaNicStaticIPAddress: { - serializedName: "replicaNicStaticIPAddress", + monitoringPercentageCompletion: { + serializedName: "monitoringPercentageCompletion", type: { - name: "String" + name: "Number" } }, - selectionType: { - serializedName: "selectionType", + monitoringJobType: { + serializedName: "monitoringJobType", type: { name: "String" } }, - recoveryNicIpAddressType: { - serializedName: "recoveryNicIpAddressType", + dataPendingInStagingStorageAccountInMB: { + serializedName: "dataPendingInStagingStorageAccountInMB", type: { - name: "String" + name: "Number" } }, - enableAcceleratedNetworkingOnRecovery: { - serializedName: "enableAcceleratedNetworkingOnRecovery", - type: { - name: "Boolean" - } - } - } - } -}; - -export const RoleAssignment: msRest.CompositeMapper = { - serializedName: "RoleAssignment", - type: { - name: "Composite", - className: "RoleAssignment", - modelProperties: { - id: { - serializedName: "id", + dataPendingAtSourceAgentInMB: { + serializedName: "dataPendingAtSourceAgentInMB", type: { - name: "String" + name: "Number" } }, - name: { - serializedName: "name", + diskState: { + serializedName: "diskState", type: { name: "String" } }, - scope: { - serializedName: "scope", + allowedDiskLevelOperation: { + serializedName: "allowedDiskLevelOperation", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - principalId: { - serializedName: "principalId", + isDiskEncrypted: { + serializedName: "isDiskEncrypted", type: { - name: "String" + name: "Boolean" } }, - roleDefinitionId: { - serializedName: "roleDefinitionId", + secretIdentifier: { + serializedName: "secretIdentifier", type: { name: "String" } - } - } - } -}; - -export const InputEndpoint: msRest.CompositeMapper = { - serializedName: "InputEndpoint", - type: { - name: "Composite", - className: "InputEndpoint", - modelProperties: { - endpointName: { - serializedName: "endpointName", + }, + dekKeyVaultArmId: { + serializedName: "dekKeyVaultArmId", type: { name: "String" } }, - privatePort: { - serializedName: "privatePort", + isDiskKeyEncrypted: { + serializedName: "isDiskKeyEncrypted", type: { - name: "Number" + name: "Boolean" } }, - publicPort: { - serializedName: "publicPort", + keyIdentifier: { + serializedName: "keyIdentifier", type: { - name: "Number" + name: "String" } }, - protocol: { - serializedName: "protocol", + kekKeyVaultArmId: { + serializedName: "kekKeyVaultArmId", type: { name: "String" } @@ -1140,301 +853,246 @@ export const InputEndpoint: msRest.CompositeMapper = { } }; -export const AzureToAzureVmSyncedConfigDetails: msRest.CompositeMapper = { - serializedName: "AzureToAzureVmSyncedConfigDetails", +export const A2AProtectedManagedDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AProtectedManagedDiskDetails", type: { name: "Composite", - className: "AzureToAzureVmSyncedConfigDetails", + className: "A2AProtectedManagedDiskDetails", modelProperties: { - tags: { - serializedName: "tags", + diskId: { + serializedName: "diskId", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } }, - roleAssignments: { - serializedName: "roleAssignments", + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RoleAssignment" - } - } + name: "String" } }, - inputEndpoints: { - serializedName: "inputEndpoints", + recoveryTargetDiskId: { + serializedName: "recoveryTargetDiskId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InputEndpoint" - } - } + name: "String" } - } - } - } -}; - -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", + }, + recoveryReplicaDiskId: { + serializedName: "recoveryReplicaDiskId", type: { name: "String" } - } - } - } -}; - -export const A2AReplicationDetails: msRest.CompositeMapper = { - serializedName: "A2A", - type: { - name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "A2AReplicationDetails", - modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - fabricObjectId: { - serializedName: "fabricObjectId", + }, + recoveryReplicaDiskAccountType: { + serializedName: "recoveryReplicaDiskAccountType", type: { name: "String" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", type: { name: "String" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + recoveryDiskEncryptionSetId: { + serializedName: "recoveryDiskEncryptionSetId", type: { name: "String" } }, - multiVmGroupCreateOption: { - serializedName: "multiVmGroupCreateOption", - type: { - name: "String" - } - }, - managementId: { - serializedName: "managementId", - type: { - name: "String" - } - }, - protectedDisks: { - serializedName: "protectedDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AProtectedDiskDetails" - } - } - } - }, - protectedManagedDisks: { - serializedName: "protectedManagedDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AProtectedManagedDiskDetails" - } - } - } - }, - recoveryBootDiagStorageAccountId: { - serializedName: "recoveryBootDiagStorageAccountId", + diskName: { + serializedName: "diskName", type: { name: "String" } }, - primaryFabricLocation: { - serializedName: "primaryFabricLocation", + diskCapacityInBytes: { + serializedName: "diskCapacityInBytes", type: { - name: "String" + name: "Number" } }, - recoveryFabricLocation: { - serializedName: "recoveryFabricLocation", + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", type: { name: "String" } }, - osType: { - serializedName: "osType", + diskType: { + serializedName: "diskType", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + resyncRequired: { + serializedName: "resyncRequired", type: { - name: "String" + name: "Boolean" } }, - recoveryAzureVMName: { - serializedName: "recoveryAzureVMName", + monitoringPercentageCompletion: { + serializedName: "monitoringPercentageCompletion", type: { - name: "String" + name: "Number" } }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + monitoringJobType: { + serializedName: "monitoringJobType", type: { name: "String" } }, - recoveryCloudService: { - serializedName: "recoveryCloudService", + dataPendingInStagingStorageAccountInMB: { + serializedName: "dataPendingInStagingStorageAccountInMB", type: { - name: "String" + name: "Number" } }, - recoveryAvailabilitySet: { - serializedName: "recoveryAvailabilitySet", + dataPendingAtSourceAgentInMB: { + serializedName: "dataPendingAtSourceAgentInMB", type: { - name: "String" + name: "Number" } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + diskState: { + serializedName: "diskState", type: { name: "String" } }, - vmNics: { - serializedName: "vmNics", + allowedDiskLevelOperation: { + serializedName: "allowedDiskLevelOperation", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VMNicDetails" + name: "String" } } } }, - vmSyncedConfigDetails: { - serializedName: "vmSyncedConfigDetails", + isDiskEncrypted: { + serializedName: "isDiskEncrypted", type: { - name: "Composite", - className: "AzureToAzureVmSyncedConfigDetails" + name: "Boolean" } }, - monitoringPercentageCompletion: { - serializedName: "monitoringPercentageCompletion", + secretIdentifier: { + serializedName: "secretIdentifier", type: { - name: "Number" + name: "String" } }, - monitoringJobType: { - serializedName: "monitoringJobType", + dekKeyVaultArmId: { + serializedName: "dekKeyVaultArmId", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + isDiskKeyEncrypted: { + serializedName: "isDiskKeyEncrypted", type: { - name: "DateTime" + name: "Boolean" } }, - agentVersion: { - serializedName: "agentVersion", + keyIdentifier: { + serializedName: "keyIdentifier", type: { name: "String" } }, - isReplicationAgentUpdateRequired: { - serializedName: "isReplicationAgentUpdateRequired", + kekKeyVaultArmId: { + serializedName: "kekKeyVaultArmId", type: { - name: "Boolean" + name: "String" } }, - recoveryFabricObjectId: { - serializedName: "recoveryFabricObjectId", + failoverDiskName: { + serializedName: "failoverDiskName", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + tfoDiskName: { + serializedName: "tfoDiskName", type: { name: "String" } - }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + } + } + } +}; + +export const ProtectionContainerMappingProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "ProtectionContainerMappingProviderSpecificDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ProtectionContainerMappingProviderSpecificDetails", + className: "ProtectionContainerMappingProviderSpecificDetails", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - lifecycleId: { - serializedName: "lifecycleId", + } + } + } +}; + +export const A2AProtectionContainerMappingDetails: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionContainerMappingProviderSpecificDetails", + className: "A2AProtectionContainerMappingDetails", + modelProperties: { + ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, + agentAutoUpdateStatus: { + serializedName: "agentAutoUpdateStatus", type: { name: "String" } }, - testFailoverRecoveryFabricObjectId: { - serializedName: "testFailoverRecoveryFabricObjectId", + automationAccountArmId: { + serializedName: "automationAccountArmId", type: { name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + scheduleName: { + serializedName: "scheduleName", type: { - name: "Number" + name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + jobScheduleName: { + serializedName: "jobScheduleName", type: { - name: "DateTime" + name: "String" } } } } }; -export const ReverseReplicationProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "ReverseReplicationProviderSpecificInput", +export const ProviderSpecificRecoveryPointDetails: msRest.CompositeMapper = { + serializedName: "ProviderSpecificRecoveryPointDetails", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "ReverseReplicationProviderSpecificInput", + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "ProviderSpecificRecoveryPointDetails", modelProperties: { instanceType: { required: true, @@ -1447,71 +1105,46 @@ export const ReverseReplicationProviderSpecificInput: msRest.CompositeMapper = { } }; -export const A2AReprotectInput: msRest.CompositeMapper = { +export const A2ARecoveryPointDetails: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "A2AReprotectInput", + polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "A2ARecoveryPointDetails", modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - recoveryContainerId: { - serializedName: "recoveryContainerId", + ...ProviderSpecificRecoveryPointDetails.type.modelProperties, + recoveryPointSyncType: { + serializedName: "recoveryPointSyncType", type: { name: "String" } }, - vmDisks: { - serializedName: "vmDisks", + disks: { + serializedName: "disks", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "A2AVmDiskInputDetails" + name: "String" } } } - }, - 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", +export const RemoveDisksProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "RemoveDisksProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "SwitchProtectionProviderSpecificInput", - className: "SwitchProtectionProviderSpecificInput", + uberParent: "RemoveDisksProviderSpecificInput", + className: "RemoveDisksProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -1524,304 +1157,182 @@ export const SwitchProtectionProviderSpecificInput: msRest.CompositeMapper = { } }; -export const A2ASwitchProtectionInput: msRest.CompositeMapper = { +export const A2ARemoveDisksInput: msRest.CompositeMapper = { serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: SwitchProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "SwitchProtectionProviderSpecificInput", - className: "A2ASwitchProtectionInput", + polymorphicDiscriminator: RemoveDisksProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "RemoveDisksProviderSpecificInput", + className: "A2ARemoveDisksInput", modelProperties: { - ...SwitchProtectionProviderSpecificInput.type.modelProperties, - recoveryContainerId: { - serializedName: "recoveryContainerId", - type: { - name: "String" - } - }, - vmDisks: { - serializedName: "vmDisks", + ...RemoveDisksProviderSpecificInput.type.modelProperties, + vmDisksUris: { + serializedName: "vmDisksUris", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "A2AVmDiskInputDetails" + name: "String" } } } }, - vmManagedDisks: { - serializedName: "vmManagedDisks", + vmManagedDisksIds: { + serializedName: "vmManagedDisksIds", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "A2AVmManagedDiskInputDetails" + name: "String" } } } - }, - 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" - } - }, - diskEncryptionInfo: { - serializedName: "diskEncryptionInfo", - type: { - name: "Composite", - className: "DiskEncryptionInfo" - } } } } }; -export const ReplicationProviderSpecificUpdateContainerMappingInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderSpecificUpdateContainerMappingInput", +export const A2AUnprotectedDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AUnprotectedDiskDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", - className: "ReplicationProviderSpecificUpdateContainerMappingInput", + className: "A2AUnprotectedDiskDetails", modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + diskLunId: { + serializedName: "diskLunId", type: { - name: "String" + name: "Number" } } } } }; -export const A2AUpdateContainerMappingInput: msRest.CompositeMapper = { - serializedName: "A2A", +export const IPConfig: msRest.CompositeMapper = { + serializedName: "IPConfig", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificUpdateContainerMappingInput.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", - className: "A2AUpdateContainerMappingInput", + className: "IPConfig", modelProperties: { - ...ReplicationProviderSpecificUpdateContainerMappingInput.type.modelProperties, - agentAutoUpdateStatus: { - serializedName: "agentAutoUpdateStatus", + staticIPAddress: { + serializedName: "staticIPAddress", type: { name: "String" } }, - automationAccountArmId: { - serializedName: "automationAccountArmId", + publicIpAddressId: { + serializedName: "publicIpAddressId", type: { name: "String" } + }, + lBBackendAddressPoolIds: { + serializedName: "lBBackendAddressPoolIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } }; -export const A2AVmManagedDiskUpdateDetails: msRest.CompositeMapper = { - serializedName: "A2AVmManagedDiskUpdateDetails", +export const VMNicDetails: msRest.CompositeMapper = { + serializedName: "VMNicDetails", type: { name: "Composite", - className: "A2AVmManagedDiskUpdateDetails", + className: "VMNicDetails", modelProperties: { - diskId: { - serializedName: "diskId", + nicId: { + serializedName: "nicId", type: { name: "String" } }, - recoveryTargetDiskAccountType: { - serializedName: "recoveryTargetDiskAccountType", + replicaNicId: { + serializedName: "replicaNicId", type: { name: "String" } }, - recoveryReplicaDiskAccountType: { - serializedName: "recoveryReplicaDiskAccountType", + sourceNicArmId: { + serializedName: "sourceNicArmId", 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", + }, + vMSubnetName: { + serializedName: "vMSubnetName", 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", + }, + vMNetworkName: { + serializedName: "vMNetworkName", type: { name: "String" } }, - recoveryResourceGroupId: { - serializedName: "recoveryResourceGroupId", + recoveryVMNetworkId: { + serializedName: "recoveryVMNetworkId", type: { name: "String" } }, - managedDiskUpdateDetails: { - serializedName: "managedDiskUpdateDetails", + recoveryVMSubnetName: { + serializedName: "recoveryVMSubnetName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "A2AVmManagedDiskUpdateDetails" - } - } + name: "String" } }, - recoveryBootDiagStorageAccountId: { - serializedName: "recoveryBootDiagStorageAccountId", + ipAddressType: { + serializedName: "ipAddressType", type: { name: "String" } }, - diskEncryptionInfo: { - serializedName: "diskEncryptionInfo", - type: { - name: "Composite", - className: "DiskEncryptionInfo" - } - } - } - } -}; - -export const AddVCenterRequestProperties: msRest.CompositeMapper = { - serializedName: "AddVCenterRequestProperties", - type: { - name: "Composite", - className: "AddVCenterRequestProperties", - modelProperties: { - friendlyName: { - serializedName: "friendlyName", + primaryNicStaticIPAddress: { + serializedName: "primaryNicStaticIPAddress", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + replicaNicStaticIPAddress: { + serializedName: "replicaNicStaticIPAddress", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + selectionType: { + serializedName: "selectionType", type: { name: "String" } }, - port: { - serializedName: "port", + recoveryNicIpAddressType: { + serializedName: "recoveryNicIpAddressType", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + recoveryPublicIpAddressId: { + serializedName: "recoveryPublicIpAddressId", 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 AlertProperties: msRest.CompositeMapper = { - serializedName: "AlertProperties", - type: { - name: "Composite", - className: "AlertProperties", - modelProperties: { - sendToOwners: { - serializedName: "sendToOwners", + }, + recoveryNetworkSecurityGroupId: { + serializedName: "recoveryNetworkSecurityGroupId", type: { name: "String" } }, - customEmailAddresses: { - serializedName: "customEmailAddresses", + recoveryLBBackendAddressPoolIds: { + serializedName: "recoveryLBBackendAddressPoolIds", type: { name: "Sequence", element: { @@ -1831,124 +1342,132 @@ export const AlertProperties: msRest.CompositeMapper = { } } }, - locale: { - serializedName: "locale", + enableAcceleratedNetworkingOnRecovery: { + serializedName: "enableAcceleratedNetworkingOnRecovery", type: { - name: "String" + name: "Boolean" } - } - } - } -}; - -export const Resource: msRest.CompositeMapper = { - serializedName: "Resource", - type: { - name: "Composite", - className: "Resource", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", + }, + tfoVMNetworkId: { + serializedName: "tfoVMNetworkId", type: { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + tfoVMSubnetName: { + serializedName: "tfoVMSubnetName", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + tfoNetworkSecurityGroupId: { + serializedName: "tfoNetworkSecurityGroupId", type: { name: "String" } }, - location: { - serializedName: "location", + enableAcceleratedNetworkingOnTfo: { + serializedName: "enableAcceleratedNetworkingOnTfo", type: { - name: "String" + name: "Boolean" } - } - } - } -}; - -export const Alert: msRest.CompositeMapper = { - serializedName: "Alert", - type: { - name: "Composite", - className: "Alert", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + tfoIPConfigs: { + serializedName: "tfoIPConfigs", type: { - name: "Composite", - className: "AlertProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPConfig" + } + } } - } - } - } -}; - -export const ApplyRecoveryPointInputProperties: msRest.CompositeMapper = { - serializedName: "ApplyRecoveryPointInputProperties", - type: { - name: "Composite", - className: "ApplyRecoveryPointInputProperties", - modelProperties: { - recoveryPointId: { - serializedName: "recoveryPointId", + }, + recoveryNicName: { + serializedName: "recoveryNicName", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + recoveryNicResourceGroupName: { + serializedName: "recoveryNicResourceGroupName", type: { - name: "Composite", - className: "ApplyRecoveryPointProviderSpecificInput" + name: "String" + } + }, + reuseExistingNic: { + serializedName: "reuseExistingNic", + defaultValue: false, + type: { + name: "Boolean" + } + }, + tfoRecoveryNicName: { + serializedName: "tfoRecoveryNicName", + type: { + name: "String" + } + }, + tfoRecoveryNicResourceGroupName: { + serializedName: "tfoRecoveryNicResourceGroupName", + type: { + name: "String" + } + }, + tfoReuseExistingNic: { + serializedName: "tfoReuseExistingNic", + defaultValue: false, + type: { + name: "Boolean" } } } } }; -export const ApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "ApplyRecoveryPointInput", +export const InputEndpoint: msRest.CompositeMapper = { + serializedName: "InputEndpoint", type: { name: "Composite", - className: "ApplyRecoveryPointInput", + className: "InputEndpoint", modelProperties: { - properties: { - serializedName: "properties", + endpointName: { + serializedName: "endpointName", type: { - name: "Composite", - className: "ApplyRecoveryPointInputProperties" + name: "String" + } + }, + privatePort: { + serializedName: "privatePort", + type: { + name: "Number" + } + }, + publicPort: { + serializedName: "publicPort", + type: { + name: "Number" + } + }, + protocol: { + serializedName: "protocol", + type: { + name: "String" } } } } }; -export const JobDetails: msRest.CompositeMapper = { - serializedName: "JobDetails", +export const AzureToAzureVmSyncedConfigDetails: msRest.CompositeMapper = { + serializedName: "AzureToAzureVmSyncedConfigDetails", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "JobDetails", - className: "JobDetails", + className: "AzureToAzureVmSyncedConfigDetails", modelProperties: { - affectedObjectDetails: { - serializedName: "affectedObjectDetails", + tags: { + serializedName: "tags", type: { name: "Dictionary", value: { @@ -1958,40 +1477,32 @@ export const JobDetails: msRest.CompositeMapper = { } } }, - instanceType: { - required: true, - serializedName: "instanceType", + inputEndpoints: { + serializedName: "inputEndpoints", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InputEndpoint" + } + } } } } } }; -export const AsrJobDetails: msRest.CompositeMapper = { - serializedName: "AsrJobDetails", - type: { - name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "AsrJobDetails", - modelProperties: { - ...JobDetails.type.modelProperties - } - } -}; - -export const TaskTypeDetails: msRest.CompositeMapper = { - serializedName: "TaskTypeDetails", +export const ReplicationProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "ReplicationProviderSpecificSettings", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "TaskTypeDetails", - className: "TaskTypeDetails", + uberParent: "ReplicationProviderSpecificSettings", + className: "ReplicationProviderSpecificSettings", modelProperties: { instanceType: { required: true, @@ -2004,334 +1515,305 @@ export const TaskTypeDetails: msRest.CompositeMapper = { } }; -export const GroupTaskDetails: msRest.CompositeMapper = { - serializedName: "GroupTaskDetails", +export const A2AReplicationDetails: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "GroupTaskDetails", - className: "GroupTaskDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "A2AReplicationDetails", modelProperties: { - childTasks: { - serializedName: "childTasks", + ...ReplicationProviderSpecificSettings.type.modelProperties, + fabricObjectId: { + serializedName: "fabricObjectId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ASRTask" - } - } + name: "String" } }, - instanceType: { - required: true, - serializedName: "instanceType", + initialPrimaryFabricLocation: { + readOnly: true, + serializedName: "initialPrimaryFabricLocation", type: { name: "String" } - } - } - } -}; - -export const ServiceError: msRest.CompositeMapper = { - serializedName: "ServiceError", - type: { - name: "Composite", - className: "ServiceError", - modelProperties: { - code: { - serializedName: "code", + }, + initialRecoveryFabricLocation: { + readOnly: true, + serializedName: "initialRecoveryFabricLocation", type: { name: "String" } }, - message: { - serializedName: "message", + initialPrimaryZone: { + readOnly: true, + serializedName: "initialPrimaryZone", type: { name: "String" } }, - possibleCauses: { - serializedName: "possibleCauses", + initialRecoveryZone: { + readOnly: true, + serializedName: "initialRecoveryZone", type: { name: "String" } }, - recommendedAction: { - serializedName: "recommendedAction", + multiVmGroupId: { + serializedName: "multiVmGroupId", type: { name: "String" } }, - activityId: { - serializedName: "activityId", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { name: "String" } - } - } - } -}; - -export const ProviderError: msRest.CompositeMapper = { - serializedName: "ProviderError", - type: { - name: "Composite", - className: "ProviderError", - modelProperties: { - errorCode: { - serializedName: "errorCode", + }, + multiVmGroupCreateOption: { + serializedName: "multiVmGroupCreateOption", type: { - name: "Number" + name: "String" } }, - errorMessage: { - serializedName: "errorMessage", + managementId: { + serializedName: "managementId", type: { name: "String" } }, - errorId: { - serializedName: "errorId", + protectedDisks: { + serializedName: "protectedDisks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AProtectedDiskDetails" + } + } } }, - possibleCauses: { - serializedName: "possibleCauses", + 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" } }, - recommendedAction: { - serializedName: "recommendedAction", + primaryFabricLocation: { + serializedName: "primaryFabricLocation", type: { name: "String" } - } - } - } -}; - -export const JobErrorDetails: msRest.CompositeMapper = { - serializedName: "JobErrorDetails", - type: { - name: "Composite", - className: "JobErrorDetails", - modelProperties: { - serviceErrorDetails: { - serializedName: "serviceErrorDetails", + }, + recoveryFabricLocation: { + serializedName: "recoveryFabricLocation", type: { - name: "Composite", - className: "ServiceError" + name: "String" } }, - providerErrorDetails: { - serializedName: "providerErrorDetails", + osType: { + serializedName: "osType", type: { - name: "Composite", - className: "ProviderError" + name: "String" } }, - errorLevel: { - serializedName: "errorLevel", + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", type: { name: "String" } }, - creationTime: { - serializedName: "creationTime", + recoveryAzureVMName: { + serializedName: "recoveryAzureVMName", type: { - name: "DateTime" + name: "String" } }, - taskId: { - serializedName: "taskId", + recoveryAzureResourceGroupId: { + serializedName: "recoveryAzureResourceGroupId", type: { name: "String" } - } - } - } -}; - -export const ASRTask: msRest.CompositeMapper = { - serializedName: "ASRTask", - type: { - name: "Composite", - className: "ASRTask", - modelProperties: { - taskId: { - serializedName: "taskId", + }, + recoveryCloudService: { + serializedName: "recoveryCloudService", type: { name: "String" } }, - name: { - serializedName: "name", + recoveryAvailabilitySet: { + serializedName: "recoveryAvailabilitySet", type: { name: "String" } }, - startTime: { - serializedName: "startTime", + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", type: { - name: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", + selectedTfoAzureNetworkId: { + serializedName: "selectedTfoAzureNetworkId", type: { - name: "DateTime" + name: "String" } }, - allowedActions: { - serializedName: "allowedActions", + vmNics: { + serializedName: "vmNics", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "VMNicDetails" } } } }, - friendlyName: { - serializedName: "friendlyName", + vmSyncedConfigDetails: { + serializedName: "vmSyncedConfigDetails", type: { - name: "String" + name: "Composite", + className: "AzureToAzureVmSyncedConfigDetails" } }, - state: { - serializedName: "state", + monitoringPercentageCompletion: { + serializedName: "monitoringPercentageCompletion", type: { - name: "String" + name: "Number" } }, - stateDescription: { - serializedName: "stateDescription", + monitoringJobType: { + serializedName: "monitoringJobType", type: { name: "String" } }, - taskType: { - serializedName: "taskType", + lastHeartbeat: { + serializedName: "lastHeartbeat", type: { - name: "String" + name: "DateTime" } }, - customDetails: { - serializedName: "customDetails", + agentVersion: { + serializedName: "agentVersion", type: { - name: "Composite", - className: "TaskTypeDetails" + name: "String" } }, - groupTaskCustomDetails: { - serializedName: "groupTaskCustomDetails", + isReplicationAgentUpdateRequired: { + serializedName: "isReplicationAgentUpdateRequired", type: { - name: "Composite", - className: "GroupTaskDetails" + name: "Boolean" } }, - errors: { - serializedName: "errors", + recoveryFabricObjectId: { + serializedName: "recoveryFabricObjectId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobErrorDetails" - } - } + name: "String" } - } - } - } -}; - -export const AutomationRunbookTaskDetails: msRest.CompositeMapper = { - serializedName: "AutomationRunbookTaskDetails", - type: { - name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "AutomationRunbookTaskDetails", - modelProperties: { - ...TaskTypeDetails.type.modelProperties, - name: { - serializedName: "name", + }, + vmProtectionState: { + serializedName: "vmProtectionState", type: { name: "String" } }, - cloudServiceName: { - serializedName: "cloudServiceName", + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", type: { name: "String" } }, - subscriptionId: { - serializedName: "subscriptionId", + lifecycleId: { + serializedName: "lifecycleId", type: { name: "String" } }, - accountName: { - serializedName: "accountName", + testFailoverRecoveryFabricObjectId: { + serializedName: "testFailoverRecoveryFabricObjectId", type: { name: "String" } }, - runbookId: { - serializedName: "runbookId", + rpoInSeconds: { + serializedName: "rpoInSeconds", type: { - name: "String" + name: "Number" } }, - runbookName: { - serializedName: "runbookName", + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", + type: { + name: "DateTime" + } + }, + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", type: { name: "String" } }, - jobId: { - serializedName: "jobId", + vmEncryptionType: { + readOnly: true, + serializedName: "vmEncryptionType", type: { name: "String" } }, - jobOutput: { - serializedName: "jobOutput", + tfoAzureVMName: { + serializedName: "tfoAzureVMName", type: { name: "String" } }, - isPrimarySideScript: { - serializedName: "isPrimarySideScript", + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", type: { - name: "Boolean" + name: "String" } } } } }; -export const FabricSpecificCreationInput: msRest.CompositeMapper = { - serializedName: "FabricSpecificCreationInput", +export const ReverseReplicationProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "ReverseReplicationProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "FabricSpecificCreationInput", - className: "FabricSpecificCreationInput", + uberParent: "ReverseReplicationProviderSpecificInput", + className: "ReverseReplicationProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -2344,17 +1826,53 @@ export const FabricSpecificCreationInput: msRest.CompositeMapper = { } }; -export const AzureFabricCreationInput: msRest.CompositeMapper = { - serializedName: "Azure", +export const A2AReprotectInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreationInput", - className: "AzureFabricCreationInput", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "A2AReprotectInput", modelProperties: { - ...FabricSpecificCreationInput.type.modelProperties, - location: { - serializedName: "location", + ...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" } @@ -2363,16 +1881,16 @@ export const AzureFabricCreationInput: msRest.CompositeMapper = { } }; -export const FabricSpecificDetails: msRest.CompositeMapper = { - serializedName: "FabricSpecificDetails", +export const SwitchProtectionProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "SwitchProtectionProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "FabricSpecificDetails", - className: "FabricSpecificDetails", + uberParent: "SwitchProtectionProviderSpecificInput", + className: "SwitchProtectionProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -2385,46 +1903,102 @@ export const FabricSpecificDetails: msRest.CompositeMapper = { } }; -export const AzureFabricSpecificDetails: msRest.CompositeMapper = { - serializedName: "Azure", +export const A2ASwitchProtectionInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, - uberParent: "FabricSpecificDetails", - className: "AzureFabricSpecificDetails", + polymorphicDiscriminator: SwitchProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "SwitchProtectionProviderSpecificInput", + className: "A2ASwitchProtectionInput", modelProperties: { - ...FabricSpecificDetails.type.modelProperties, - location: { - serializedName: "location", + ...SwitchProtectionProviderSpecificInput.type.modelProperties, + recoveryContainerId: { + serializedName: "recoveryContainerId", type: { name: "String" } }, - containerIds: { - serializedName: "containerIds", + vmDisks: { + serializedName: "vmDisks", type: { name: "Sequence", element: { type: { - name: "String" + 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" + } + }, + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", + type: { + name: "String" + } + }, + policyId: { + serializedName: "policyId", + type: { + name: "String" + } + }, + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", + type: { + name: "String" + } + }, + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", + type: { + name: "Composite", + className: "DiskEncryptionInfo" + } } } } }; -export const FabricSpecificCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "FabricSpecificCreateNetworkMappingInput", +export const TestFailoverProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "TestFailoverProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "FabricSpecificCreateNetworkMappingInput", + uberParent: "TestFailoverProviderSpecificInput", + className: "TestFailoverProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -2437,17 +2011,23 @@ export const FabricSpecificCreateNetworkMappingInput: msRest.CompositeMapper = { } }; -export const AzureToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "AzureToAzure", +export const A2ATestFailoverInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "AzureToAzureCreateNetworkMappingInput", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "A2ATestFailoverInput", modelProperties: { - ...FabricSpecificCreateNetworkMappingInput.type.modelProperties, - primaryNetworkId: { - serializedName: "primaryNetworkId", + ...TestFailoverProviderSpecificInput.type.modelProperties, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + }, + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", type: { name: "String" } @@ -2456,16 +2036,16 @@ export const AzureToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { } }; -export const NetworkMappingFabricSpecificSettings: msRest.CompositeMapper = { - serializedName: "NetworkMappingFabricSpecificSettings", +export const UnplannedFailoverProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverProviderSpecificInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "NetworkMappingFabricSpecificSettings", + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "UnplannedFailoverProviderSpecificInput", modelProperties: { instanceType: { required: true, @@ -2478,23 +2058,23 @@ export const NetworkMappingFabricSpecificSettings: msRest.CompositeMapper = { } }; -export const AzureToAzureNetworkMappingSettings: msRest.CompositeMapper = { - serializedName: "AzureToAzure", +export const A2AUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "AzureToAzureNetworkMappingSettings", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "A2AUnplannedFailoverInput", modelProperties: { - ...NetworkMappingFabricSpecificSettings.type.modelProperties, - primaryFabricLocation: { - serializedName: "primaryFabricLocation", + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } }, - recoveryFabricLocation: { - serializedName: "recoveryFabricLocation", + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", type: { name: "String" } @@ -2503,16 +2083,16 @@ export const AzureToAzureNetworkMappingSettings: msRest.CompositeMapper = { } }; -export const FabricSpecificUpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "FabricSpecificUpdateNetworkMappingInput", +export const ReplicationProviderSpecificUpdateContainerMappingInput: msRest.CompositeMapper = { + serializedName: "ReplicationProviderSpecificUpdateContainerMappingInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "FabricSpecificUpdateNetworkMappingInput", - className: "FabricSpecificUpdateNetworkMappingInput", + uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", + className: "ReplicationProviderSpecificUpdateContainerMappingInput", modelProperties: { instanceType: { required: true, @@ -2525,17 +2105,23 @@ export const FabricSpecificUpdateNetworkMappingInput: msRest.CompositeMapper = { } }; -export const AzureToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "AzureToAzure", +export const A2AUpdateContainerMappingInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificUpdateNetworkMappingInput", - className: "AzureToAzureUpdateNetworkMappingInput", + polymorphicDiscriminator: ReplicationProviderSpecificUpdateContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput", + className: "A2AUpdateContainerMappingInput", modelProperties: { - ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties, - primaryNetworkId: { - serializedName: "primaryNetworkId", + ...ReplicationProviderSpecificUpdateContainerMappingInput.type.modelProperties, + agentAutoUpdateStatus: { + serializedName: "agentAutoUpdateStatus", + type: { + name: "String" + } + }, + automationAccountArmId: { + serializedName: "automationAccountArmId", type: { name: "String" } @@ -2544,72 +2130,45 @@ export const AzureToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { } }; -export const AzureVmDiskDetails: msRest.CompositeMapper = { - serializedName: "AzureVmDiskDetails", +export const A2AVmManagedDiskUpdateDetails: msRest.CompositeMapper = { + serializedName: "A2AVmManagedDiskUpdateDetails", type: { name: "Composite", - className: "AzureVmDiskDetails", + className: "A2AVmManagedDiskUpdateDetails", modelProperties: { - vhdType: { - serializedName: "vhdType", - type: { - name: "String" - } - }, - vhdId: { - serializedName: "vhdId", - type: { - name: "String" - } - }, - vhdName: { - serializedName: "vhdName", + diskId: { + serializedName: "diskId", type: { name: "String" } }, - maxSizeMB: { - serializedName: "maxSizeMB", + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", type: { name: "String" } }, - targetDiskLocation: { - serializedName: "targetDiskLocation", + recoveryReplicaDiskAccountType: { + serializedName: "recoveryReplicaDiskAccountType", type: { name: "String" } }, - targetDiskName: { - serializedName: "targetDiskName", + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", type: { - name: "String" + name: "Composite", + className: "DiskEncryptionInfo" } }, - lunId: { - serializedName: "lunId", - type: { - name: "String" - } - } - } - } -}; - -export const ComputeSizeErrorDetails: msRest.CompositeMapper = { - serializedName: "ComputeSizeErrorDetails", - type: { - name: "Composite", - className: "ComputeSizeErrorDetails", - modelProperties: { - message: { - serializedName: "message", + failoverDiskName: { + serializedName: "failoverDiskName", type: { name: "String" } }, - severity: { - serializedName: "severity", + tfoDiskName: { + serializedName: "tfoDiskName", type: { name: "String" } @@ -2618,16 +2177,16 @@ export const ComputeSizeErrorDetails: msRest.CompositeMapper = { } }; -export const ConfigurationSettings: msRest.CompositeMapper = { - serializedName: "ConfigurationSettings", +export const UpdateReplicationProtectedItemProviderInput: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemProviderInput", type: { name: "Composite", polymorphicDiscriminator: { serializedName: "instanceType", clientName: "instanceType" }, - uberParent: "ConfigurationSettings", - className: "ConfigurationSettings", + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "UpdateReplicationProtectedItemProviderInput", modelProperties: { instanceType: { required: true, @@ -2640,31 +2199,60 @@ export const ConfigurationSettings: msRest.CompositeMapper = { } }; -export const ConfigureAlertRequestProperties: msRest.CompositeMapper = { - serializedName: "ConfigureAlertRequestProperties", +export const A2AUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "A2A", type: { name: "Composite", - className: "ConfigureAlertRequestProperties", + polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "A2AUpdateReplicationProtectedItemInput", modelProperties: { - sendToOwners: { - serializedName: "sendToOwners", + ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, + recoveryCloudServiceId: { + serializedName: "recoveryCloudServiceId", type: { name: "String" } }, - customEmailAddresses: { - serializedName: "customEmailAddresses", + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", + type: { + name: "String" + } + }, + managedDiskUpdateDetails: { + serializedName: "managedDiskUpdateDetails", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "A2AVmManagedDiskUpdateDetails" } } } }, - locale: { - serializedName: "locale", + recoveryBootDiagStorageAccountId: { + serializedName: "recoveryBootDiagStorageAccountId", + type: { + name: "String" + } + }, + diskEncryptionInfo: { + serializedName: "diskEncryptionInfo", + type: { + name: "Composite", + className: "DiskEncryptionInfo" + } + }, + recoveryProximityPlacementGroupId: { + serializedName: "recoveryProximityPlacementGroupId", + type: { + name: "String" + } + }, + tfoAzureVMName: { + serializedName: "tfoAzureVMName", type: { name: "String" } @@ -2673,524 +2261,455 @@ export const ConfigureAlertRequestProperties: msRest.CompositeMapper = { } }; -export const ConfigureAlertRequest: msRest.CompositeMapper = { - serializedName: "ConfigureAlertRequest", +export const AddDisksInputProperties: msRest.CompositeMapper = { + serializedName: "AddDisksInputProperties", type: { name: "Composite", - className: "ConfigureAlertRequest", + className: "AddDisksInputProperties", modelProperties: { - properties: { - serializedName: "properties", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "ConfigureAlertRequestProperties" + className: "AddDisksProviderSpecificInput" } } } } }; -export const InconsistentVmDetails: msRest.CompositeMapper = { - serializedName: "InconsistentVmDetails", +export const AddDisksInput: msRest.CompositeMapper = { + serializedName: "AddDisksInput", type: { name: "Composite", - className: "InconsistentVmDetails", + className: "AddDisksInput", modelProperties: { - vmName: { - serializedName: "vmName", + 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" } }, - cloudName: { - serializedName: "cloudName", + applicationId: { + required: true, + serializedName: "applicationId", type: { name: "String" } }, - details: { - serializedName: "details", + objectId: { + required: true, + serializedName: "objectId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - errorIds: { - serializedName: "errorIds", + audience: { + required: true, + serializedName: "audience", 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", + }, + aadAuthority: { + required: true, + serializedName: "aadAuthority", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InconsistentVmDetails" - } - } + name: "String" } } } } }; -export const CreateNetworkMappingInputProperties: msRest.CompositeMapper = { - serializedName: "CreateNetworkMappingInputProperties", +export const AddRecoveryServicesProviderInputProperties: msRest.CompositeMapper = { + serializedName: "AddRecoveryServicesProviderInputProperties", type: { name: "Composite", - className: "CreateNetworkMappingInputProperties", + className: "AddRecoveryServicesProviderInputProperties", modelProperties: { - recoveryFabricName: { - serializedName: "recoveryFabricName", + machineName: { + required: true, + serializedName: "machineName", type: { name: "String" } }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", + machineId: { + serializedName: "machineId", type: { name: "String" } }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", + authenticationIdentityInput: { + required: true, + serializedName: "authenticationIdentityInput", type: { name: "Composite", - className: "FabricSpecificCreateNetworkMappingInput" + className: "IdentityProviderInput" } - } - } - } -}; - -export const CreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "CreateNetworkMappingInput", - type: { - name: "Composite", - className: "CreateNetworkMappingInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + resourceAccessIdentityInput: { + required: true, + serializedName: "resourceAccessIdentityInput", type: { name: "Composite", - className: "CreateNetworkMappingInputProperties" + className: "IdentityProviderInput" } - } - } - } -}; - -export const CreatePolicyInputProperties: msRest.CompositeMapper = { - serializedName: "CreatePolicyInputProperties", - type: { - name: "Composite", - className: "CreatePolicyInputProperties", - modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + }, + dataPlaneAuthenticationIdentityInput: { + serializedName: "dataPlaneAuthenticationIdentityInput", type: { name: "Composite", - className: "PolicyProviderSpecificInput" + className: "IdentityProviderInput" } } } } }; -export const CreatePolicyInput: msRest.CompositeMapper = { - serializedName: "CreatePolicyInput", +export const AddRecoveryServicesProviderInput: msRest.CompositeMapper = { + serializedName: "AddRecoveryServicesProviderInput", type: { name: "Composite", - className: "CreatePolicyInput", + className: "AddRecoveryServicesProviderInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "CreatePolicyInputProperties" + className: "AddRecoveryServicesProviderInputProperties" } } } } }; -export const CreateProtectionContainerInputProperties: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerInputProperties", +export const AddVCenterRequestProperties: msRest.CompositeMapper = { + serializedName: "AddVCenterRequestProperties", type: { name: "Composite", - className: "CreateProtectionContainerInputProperties", + className: "AddVCenterRequestProperties", modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + friendlyName: { + serializedName: "friendlyName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ReplicationProviderSpecificContainerCreationInput" - } - } + name: "String" } - } - } - } -}; - -export const CreateProtectionContainerInput: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerInput", - type: { - name: "Composite", - className: "CreateProtectionContainerInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + ipAddress: { + serializedName: "ipAddress", type: { - name: "Composite", - className: "CreateProtectionContainerInputProperties" + name: "String" } - } - } - } -}; - -export const CreateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerMappingInputProperties", - type: { - name: "Composite", - className: "CreateProtectionContainerMappingInputProperties", - modelProperties: { - targetProtectionContainerId: { - serializedName: "targetProtectionContainerId", + }, + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - policyId: { - serializedName: "policyId", + port: { + serializedName: "port", type: { name: "String" } }, - providerSpecificInput: { - serializedName: "providerSpecificInput", + runAsAccountId: { + serializedName: "runAsAccountId", type: { - name: "Composite", - className: "ReplicationProviderSpecificContainerMappingInput" + name: "String" } } } } }; -export const CreateProtectionContainerMappingInput: msRest.CompositeMapper = { - serializedName: "CreateProtectionContainerMappingInput", +export const AddVCenterRequest: msRest.CompositeMapper = { + serializedName: "AddVCenterRequest", type: { name: "Composite", - className: "CreateProtectionContainerMappingInput", + className: "AddVCenterRequest", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "CreateProtectionContainerMappingInputProperties" + className: "AddVCenterRequestProperties" } } } } }; -export const RecoveryPlanProtectedItem: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProtectedItem", +export const AgentDiskDetails: msRest.CompositeMapper = { + serializedName: "AgentDiskDetails", type: { name: "Composite", - className: "RecoveryPlanProtectedItem", + className: "AgentDiskDetails", modelProperties: { - id: { - serializedName: "id", + diskId: { + readOnly: true, + serializedName: "diskId", type: { name: "String" } }, - virtualMachineId: { - serializedName: "virtualMachineId", + diskName: { + readOnly: true, + serializedName: "diskName", 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", + }, + 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 RecoveryPlanAction: msRest.CompositeMapper = { - serializedName: "RecoveryPlanAction", +export const AgentDetails: msRest.CompositeMapper = { + serializedName: "AgentDetails", type: { name: "Composite", - className: "RecoveryPlanAction", + className: "AgentDetails", modelProperties: { - actionName: { - required: true, - serializedName: "actionName", + agentId: { + readOnly: true, + serializedName: "agentId", type: { name: "String" } }, - failoverTypes: { - required: true, - serializedName: "failoverTypes", + machineId: { + readOnly: true, + serializedName: "machineId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - failoverDirections: { - required: true, - serializedName: "failoverDirections", + 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: "String" + name: "Composite", + className: "AgentDiskDetails" } } } - }, - customDetails: { - required: true, - serializedName: "customDetails", - type: { - name: "Composite", - className: "RecoveryPlanActionDetails" - } } } } }; -export const RecoveryPlanGroup: msRest.CompositeMapper = { - serializedName: "RecoveryPlanGroup", +export const AlertProperties: msRest.CompositeMapper = { + serializedName: "AlertProperties", type: { name: "Composite", - className: "RecoveryPlanGroup", + className: "AlertProperties", modelProperties: { - groupType: { - required: true, - serializedName: "groupType", + sendToOwners: { + serializedName: "sendToOwners", type: { name: "String" } }, - replicationProtectedItems: { - serializedName: "replicationProtectedItems", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanProtectedItem" - } - } - } - }, - startGroupActions: { - serializedName: "startGroupActions", + customEmailAddresses: { + serializedName: "customEmailAddresses", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "RecoveryPlanAction" + name: "String" } } } }, - endGroupActions: { - serializedName: "endGroupActions", + locale: { + serializedName: "locale", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanAction" - } - } + name: "String" } } } } }; -export const CreateRecoveryPlanInputProperties: msRest.CompositeMapper = { - serializedName: "CreateRecoveryPlanInputProperties", +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", type: { name: "Composite", - className: "CreateRecoveryPlanInputProperties", + className: "Resource", modelProperties: { - primaryFabricId: { - required: true, - serializedName: "primaryFabricId", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - recoveryFabricId: { - required: true, - serializedName: "recoveryFabricId", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - failoverDeploymentModel: { - serializedName: "failoverDeploymentModel", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - groups: { - required: true, - serializedName: "groups", + location: { + serializedName: "location", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanGroup" - } - } + name: "String" } } } } }; -export const CreateRecoveryPlanInput: msRest.CompositeMapper = { - serializedName: "CreateRecoveryPlanInput", +export const Alert: msRest.CompositeMapper = { + serializedName: "Alert", type: { name: "Composite", - className: "CreateRecoveryPlanInput", + className: "Alert", modelProperties: { + ...Resource.type.modelProperties, properties: { - required: true, serializedName: "properties", type: { name: "Composite", - className: "CreateRecoveryPlanInputProperties" + className: "AlertProperties" } } } } }; -export const CurrentScenarioDetails: msRest.CompositeMapper = { - serializedName: "CurrentScenarioDetails", +export const ApplyRecoveryPointInputProperties: msRest.CompositeMapper = { + serializedName: "ApplyRecoveryPointInputProperties", type: { name: "Composite", - className: "CurrentScenarioDetails", + className: "ApplyRecoveryPointInputProperties", modelProperties: { - scenarioName: { - serializedName: "scenarioName", - type: { - name: "String" - } - }, - jobId: { - serializedName: "jobId", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } }, - startTime: { - serializedName: "startTime", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "DateTime" + name: "Composite", + className: "ApplyRecoveryPointProviderSpecificInput" } } } } }; -export const DataStore: msRest.CompositeMapper = { - serializedName: "DataStore", +export const ApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "ApplyRecoveryPointInput", type: { name: "Composite", - className: "DataStore", + className: "ApplyRecoveryPointInput", modelProperties: { - symbolicName: { - serializedName: "symbolicName", - type: { - name: "String" - } - }, - uuid: { - serializedName: "uuid", - type: { - name: "String" - } - }, - capacity: { - serializedName: "capacity", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ApplyRecoveryPointInputProperties" } - }, - freeSpace: { - serializedName: "freeSpace", + } + } + } +}; + +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: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - type: { - serializedName: "type", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -3199,16 +2718,29 @@ export const DataStore: msRest.CompositeMapper = { } }; -export const DisableProtectionProviderSpecificInput: msRest.CompositeMapper = { - serializedName: "DisableProtectionProviderSpecificInput", +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: "DisableProtectionProviderSpecificInput", - className: "DisableProtectionProviderSpecificInput", + uberParent: "TaskTypeDetails", + className: "TaskTypeDetails", modelProperties: { instanceType: { required: true, @@ -3221,139 +2753,112 @@ export const DisableProtectionProviderSpecificInput: msRest.CompositeMapper = { } }; -export const DisableProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "DisableProtectionInputProperties", +export const GroupTaskDetails: msRest.CompositeMapper = { + serializedName: "GroupTaskDetails", type: { name: "Composite", - className: "DisableProtectionInputProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "GroupTaskDetails", + className: "GroupTaskDetails", modelProperties: { - disableProtectionReason: { - serializedName: "disableProtectionReason", + childTasks: { + serializedName: "childTasks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ASRTask" + } + } } }, - replicationProviderInput: { - serializedName: "replicationProviderInput", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "DisableProtectionProviderSpecificInput" + name: "String" } } } } }; -export const DisableProtectionInput: msRest.CompositeMapper = { - serializedName: "DisableProtectionInput", +export const ServiceError: msRest.CompositeMapper = { + serializedName: "ServiceError", type: { name: "Composite", - className: "DisableProtectionInput", + className: "ServiceError", modelProperties: { - properties: { - serializedName: "properties", + code: { + serializedName: "code", type: { - name: "Composite", - className: "DisableProtectionInputProperties" + name: "String" } - } - } - } -}; - -export const DiscoverProtectableItemRequestProperties: msRest.CompositeMapper = { - serializedName: "DiscoverProtectableItemRequestProperties", - type: { - name: "Composite", - className: "DiscoverProtectableItemRequestProperties", - modelProperties: { - friendlyName: { - serializedName: "friendlyName", + }, + message: { + serializedName: "message", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + possibleCauses: { + serializedName: "possibleCauses", type: { name: "String" } }, - osType: { - serializedName: "osType", + recommendedAction: { + serializedName: "recommendedAction", type: { name: "String" } - } - } - } -}; - -export const DiscoverProtectableItemRequest: msRest.CompositeMapper = { - serializedName: "DiscoverProtectableItemRequest", - type: { - name: "Composite", - className: "DiscoverProtectableItemRequest", - modelProperties: { - properties: { - serializedName: "properties", + }, + activityId: { + serializedName: "activityId", type: { - name: "Composite", - className: "DiscoverProtectableItemRequestProperties" + name: "String" } } } } }; -export const DiskDetails: msRest.CompositeMapper = { - serializedName: "DiskDetails", +export const ProviderError: msRest.CompositeMapper = { + serializedName: "ProviderError", type: { name: "Composite", - className: "DiskDetails", + className: "ProviderError", modelProperties: { - maxSizeMB: { - serializedName: "maxSizeMB", + errorCode: { + serializedName: "errorCode", type: { name: "Number" } }, - vhdType: { - serializedName: "vhdType", + errorMessage: { + serializedName: "errorMessage", type: { name: "String" } }, - vhdId: { - serializedName: "vhdId", + errorId: { + serializedName: "errorId", 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", + possibleCauses: { + serializedName: "possibleCauses", type: { name: "String" } }, - name: { - serializedName: "name", + recommendedAction: { + serializedName: "recommendedAction", type: { name: "String" } @@ -3362,382 +2867,295 @@ export const DiskVolumeDetails: msRest.CompositeMapper = { } }; -export const Display: msRest.CompositeMapper = { - serializedName: "Display", +export const JobErrorDetails: msRest.CompositeMapper = { + serializedName: "JobErrorDetails", type: { name: "Composite", - className: "Display", + className: "JobErrorDetails", modelProperties: { - provider: { - serializedName: "provider", + serviceErrorDetails: { + serializedName: "serviceErrorDetails", type: { - name: "String" + name: "Composite", + className: "ServiceError" } }, - resource: { - serializedName: "resource", + providerErrorDetails: { + serializedName: "providerErrorDetails", type: { - name: "String" + name: "Composite", + className: "ProviderError" } }, - operation: { - serializedName: "operation", + errorLevel: { + serializedName: "errorLevel", type: { name: "String" } }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - -export const EnableProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "EnableProtectionInputProperties", - type: { - name: "Composite", - className: "EnableProtectionInputProperties", - modelProperties: { - policyId: { - serializedName: "policyId", + creationTime: { + serializedName: "creationTime", type: { - name: "String" + name: "DateTime" } }, - protectableItemId: { - serializedName: "protectableItemId", + taskId: { + serializedName: "taskId", 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", +export const ASRTask: msRest.CompositeMapper = { + serializedName: "ASRTask", type: { name: "Composite", - className: "EncryptionDetails", + className: "ASRTask", modelProperties: { - kekState: { - serializedName: "kekState", + taskId: { + serializedName: "taskId", type: { name: "String" } }, - kekCertThumbprint: { - serializedName: "kekCertThumbprint", + name: { + serializedName: "name", type: { name: "String" } }, - kekCertExpiryDate: { - serializedName: "kekCertExpiryDate", + startTime: { + serializedName: "startTime", 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", + }, + endTime: { + serializedName: "endTime", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -export const InnerHealthError: msRest.CompositeMapper = { - serializedName: "InnerHealthError", - type: { - name: "Composite", - className: "InnerHealthError", - modelProperties: { - errorSource: { - serializedName: "errorSource", + }, + allowedActions: { + serializedName: "allowedActions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - errorType: { - serializedName: "errorType", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - errorLevel: { - serializedName: "errorLevel", + state: { + serializedName: "state", type: { name: "String" } }, - errorCategory: { - serializedName: "errorCategory", + stateDescription: { + serializedName: "stateDescription", type: { name: "String" } }, - errorCode: { - serializedName: "errorCode", + taskType: { + serializedName: "taskType", type: { name: "String" } }, - summaryMessage: { - serializedName: "summaryMessage", + customDetails: { + serializedName: "customDetails", type: { - name: "String" + name: "Composite", + className: "TaskTypeDetails" } }, - 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", + groupTaskCustomDetails: { + serializedName: "groupTaskCustomDetails", type: { - name: "String" + name: "Composite", + className: "GroupTaskDetails" } }, - entityId: { - serializedName: "entityId", + errors: { + serializedName: "errors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobErrorDetails" + } + } } } } } }; -export const HealthError: msRest.CompositeMapper = { - serializedName: "HealthError", +export const AutomationRunbookTaskDetails: msRest.CompositeMapper = { + serializedName: "AutomationRunbookTaskDetails", type: { name: "Composite", - className: "HealthError", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "AutomationRunbookTaskDetails", 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", + ...TaskTypeDetails.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - errorCategory: { - serializedName: "errorCategory", + cloudServiceName: { + serializedName: "cloudServiceName", type: { name: "String" } }, - errorCode: { - serializedName: "errorCode", + subscriptionId: { + serializedName: "subscriptionId", type: { name: "String" } }, - summaryMessage: { - serializedName: "summaryMessage", + accountName: { + serializedName: "accountName", type: { name: "String" } }, - errorMessage: { - serializedName: "errorMessage", + runbookId: { + serializedName: "runbookId", type: { name: "String" } }, - possibleCauses: { - serializedName: "possibleCauses", + runbookName: { + serializedName: "runbookName", type: { name: "String" } }, - recommendedAction: { - serializedName: "recommendedAction", + jobId: { + serializedName: "jobId", type: { name: "String" } }, - creationTimeUtc: { - serializedName: "creationTimeUtc", - type: { - name: "DateTime" - } - }, - recoveryProviderErrorMessage: { - serializedName: "recoveryProviderErrorMessage", + jobOutput: { + serializedName: "jobOutput", type: { name: "String" } }, - entityId: { - serializedName: "entityId", + isPrimarySideScript: { + serializedName: "isPrimarySideScript", type: { - name: "String" + name: "Boolean" } } } } }; -export const EventProperties: msRest.CompositeMapper = { - serializedName: "EventProperties", +export const FabricSpecificCreationInput: msRest.CompositeMapper = { + serializedName: "FabricSpecificCreationInput", type: { name: "Composite", - className: "EventProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "FabricSpecificCreationInput", + className: "FabricSpecificCreationInput", modelProperties: { - eventCode: { - serializedName: "eventCode", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - }, - eventType: { - serializedName: "eventType", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - affectedObjectFriendlyName: { - serializedName: "affectedObjectFriendlyName", + } + } + } +}; + +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" } - }, - severity: { - serializedName: "severity", + } + } + } +}; + +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" } - }, - timeOfOccurrence: { - serializedName: "timeOfOccurrence", - type: { - name: "DateTime" - } - }, - fabricId: { - serializedName: "fabricId", + } + } + } +}; + +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" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", - type: { - name: "Composite", - className: "EventProviderSpecificDetails" - } - }, - eventSpecificDetails: { - serializedName: "eventSpecificDetails", - type: { - name: "Composite", - className: "EventSpecificDetails" - } - }, - healthErrors: { - serializedName: "healthErrors", + containerIds: { + serializedName: "containerIds", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "HealthError" + name: "String" } } } @@ -3746,93 +3164,61 @@ export const EventProperties: msRest.CompositeMapper = { } }; -export const Event: msRest.CompositeMapper = { - serializedName: "Event", +export const FabricSpecificCreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "FabricSpecificCreateNetworkMappingInput", type: { name: "Composite", - className: "Event", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "FabricSpecificCreateNetworkMappingInput", + className: "FabricSpecificCreateNetworkMappingInput", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "EventProperties" + name: "String" } } } } }; -export const EventQueryParameter: msRest.CompositeMapper = { - serializedName: "EventQueryParameter", - type: { +export const AzureToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "AzureToAzure", + type: { name: "Composite", - className: "EventQueryParameter", + polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreateNetworkMappingInput", + className: "AzureToAzureCreateNetworkMappingInput", 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", + ...FabricSpecificCreateNetworkMappingInput.type.modelProperties, + primaryNetworkId: { + serializedName: "primaryNetworkId", type: { name: "String" } - }, - startTime: { - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - serializedName: "endTime", - type: { - name: "DateTime" - } } } } }; -export const ExportJobDetails: msRest.CompositeMapper = { - serializedName: "ExportJobDetails", +export const NetworkMappingFabricSpecificSettings: msRest.CompositeMapper = { + serializedName: "NetworkMappingFabricSpecificSettings", type: { name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "ExportJobDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "NetworkMappingFabricSpecificSettings", modelProperties: { - ...JobDetails.type.modelProperties, - blobUri: { - serializedName: "blobUri", - type: { - name: "String" - } - }, - sasToken: { - serializedName: "sasToken", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -3841,65 +3227,23 @@ export const ExportJobDetails: msRest.CompositeMapper = { } }; -export const FabricProperties: msRest.CompositeMapper = { - serializedName: "FabricProperties", +export const AzureToAzureNetworkMappingSettings: msRest.CompositeMapper = { + serializedName: "AzureToAzure", type: { name: "Composite", - className: "FabricProperties", + polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "AzureToAzureNetworkMappingSettings", 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", + ...NetworkMappingFabricSpecificSettings.type.modelProperties, + primaryFabricLocation: { + serializedName: "primaryFabricLocation", 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", + recoveryFabricLocation: { + serializedName: "recoveryFabricLocation", type: { name: "String" } @@ -3908,251 +3252,169 @@ export const FabricProperties: msRest.CompositeMapper = { } }; -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", +export const FabricSpecificUpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "FabricSpecificUpdateNetworkMappingInput", type: { name: "Composite", - className: "FabricCreationInputProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "FabricSpecificUpdateNetworkMappingInput", + className: "FabricSpecificUpdateNetworkMappingInput", modelProperties: { - customDetails: { - serializedName: "customDetails", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "FabricSpecificCreationInput" + name: "String" } } } } }; -export const FabricCreationInput: msRest.CompositeMapper = { - serializedName: "FabricCreationInput", +export const AzureToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "AzureToAzure", type: { name: "Composite", - className: "FabricCreationInput", + polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificUpdateNetworkMappingInput", + className: "AzureToAzureUpdateNetworkMappingInput", modelProperties: { - properties: { - serializedName: "properties", + ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties, + primaryNetworkId: { + serializedName: "primaryNetworkId", type: { - name: "Composite", - className: "FabricCreationInputProperties" + name: "String" } } } } }; -export const JobEntity: msRest.CompositeMapper = { - serializedName: "JobEntity", +export const AzureVmDiskDetails: msRest.CompositeMapper = { + serializedName: "AzureVmDiskDetails", type: { name: "Composite", - className: "JobEntity", + className: "AzureVmDiskDetails", modelProperties: { - jobId: { - serializedName: "jobId", + vhdType: { + serializedName: "vhdType", type: { name: "String" } }, - jobFriendlyName: { - serializedName: "jobFriendlyName", + vhdId: { + serializedName: "vhdId", type: { name: "String" } }, - targetObjectId: { - serializedName: "targetObjectId", + diskId: { + serializedName: "diskId", type: { name: "String" } }, - targetObjectName: { - serializedName: "targetObjectName", + vhdName: { + serializedName: "vhdName", type: { name: "String" } }, - targetInstanceType: { - serializedName: "targetInstanceType", + maxSizeMB: { + serializedName: "maxSizeMB", type: { name: "String" } }, - jobScenarioName: { - serializedName: "jobScenarioName", + targetDiskLocation: { + serializedName: "targetDiskLocation", 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", + }, + targetDiskName: { + serializedName: "targetDiskName", type: { name: "String" } }, - skippedReasonString: { - serializedName: "skippedReasonString", + lunId: { + serializedName: "lunId", type: { name: "String" } }, - jobTask: { - serializedName: "jobTask", + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", type: { - name: "Composite", - className: "JobEntity" + name: "String" } } } } }; -export const FailoverReplicationProtectedItemDetails: msRest.CompositeMapper = { - serializedName: "FailoverReplicationProtectedItemDetails", +export const ComputeSizeErrorDetails: msRest.CompositeMapper = { + serializedName: "ComputeSizeErrorDetails", type: { name: "Composite", - className: "FailoverReplicationProtectedItemDetails", + className: "ComputeSizeErrorDetails", modelProperties: { - name: { - serializedName: "name", + message: { + serializedName: "message", 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", + severity: { + serializedName: "severity", type: { name: "String" } - }, - recoveryPointTime: { - serializedName: "recoveryPointTime", - type: { - name: "DateTime" - } } } } }; -export const FailoverJobDetails: msRest.CompositeMapper = { - serializedName: "FailoverJobDetails", +export const ConfigurationSettings: msRest.CompositeMapper = { + serializedName: "ConfigurationSettings", type: { name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "FailoverJobDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "ConfigurationSettings", + className: "ConfigurationSettings", modelProperties: { - ...JobDetails.type.modelProperties, - protectedItemDetails: { - serializedName: "protectedItemDetails", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FailoverReplicationProtectedItemDetails" - } - } + name: "String" } } } } }; -export const FailoverProcessServerRequestProperties: msRest.CompositeMapper = { - serializedName: "FailoverProcessServerRequestProperties", +export const ConfigureAlertRequestProperties: msRest.CompositeMapper = { + serializedName: "ConfigureAlertRequestProperties", type: { name: "Composite", - className: "FailoverProcessServerRequestProperties", + className: "ConfigureAlertRequestProperties", modelProperties: { - containerName: { - serializedName: "containerName", - type: { - name: "String" - } - }, - sourceProcessServerId: { - serializedName: "sourceProcessServerId", - type: { - name: "String" - } - }, - targetProcessServerId: { - serializedName: "targetProcessServerId", + sendToOwners: { + serializedName: "sendToOwners", type: { name: "String" } }, - vmsToMigrate: { - serializedName: "vmsToMigrate", + customEmailAddresses: { + serializedName: "customEmailAddresses", type: { name: "Sequence", element: { @@ -4162,8 +3424,8 @@ export const FailoverProcessServerRequestProperties: msRest.CompositeMapper = { } } }, - updateType: { - serializedName: "updateType", + locale: { + serializedName: "locale", type: { name: "String" } @@ -4172,67 +3434,54 @@ export const FailoverProcessServerRequestProperties: msRest.CompositeMapper = { } }; -export const FailoverProcessServerRequest: msRest.CompositeMapper = { - serializedName: "FailoverProcessServerRequest", +export const ConfigureAlertRequest: msRest.CompositeMapper = { + serializedName: "ConfigureAlertRequest", type: { name: "Composite", - className: "FailoverProcessServerRequest", + className: "ConfigureAlertRequest", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "FailoverProcessServerRequestProperties" + className: "ConfigureAlertRequestProperties" } } } } }; -export const HealthErrorSummary: msRest.CompositeMapper = { - serializedName: "HealthErrorSummary", +export const InconsistentVmDetails: msRest.CompositeMapper = { + serializedName: "InconsistentVmDetails", type: { name: "Composite", - className: "HealthErrorSummary", + className: "InconsistentVmDetails", modelProperties: { - summaryCode: { - serializedName: "summaryCode", - type: { - name: "String" - } - }, - category: { - serializedName: "category", - type: { - name: "String" - } - }, - severity: { - serializedName: "severity", - type: { - name: "String" - } - }, - summaryMessage: { - serializedName: "summaryMessage", + vmName: { + serializedName: "vmName", type: { name: "String" } }, - affectedResourceType: { - serializedName: "affectedResourceType", + cloudName: { + serializedName: "cloudName", type: { name: "String" } }, - affectedResourceSubtype: { - serializedName: "affectedResourceSubtype", + details: { + serializedName: "details", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - affectedResourceCorrelationIds: { - serializedName: "affectedResourceCorrelationIds", + errorIds: { + serializedName: "errorIds", type: { name: "Sequence", element: { @@ -4246,182 +3495,256 @@ export const HealthErrorSummary: msRest.CompositeMapper = { } }; -export const HyperVReplica2012EventDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const ConsistencyCheckTaskDetails: msRest.CompositeMapper = { + serializedName: "ConsistencyCheckTaskDetails", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "HyperVReplica2012EventDetails", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "ConsistencyCheckTaskDetails", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - containerName: { - serializedName: "containerName", - type: { - name: "String" - } - }, - fabricName: { - serializedName: "fabricName", - type: { - name: "String" - } - }, - remoteContainerName: { - serializedName: "remoteContainerName", - type: { - name: "String" - } - }, - remoteFabricName: { - serializedName: "remoteFabricName", + ...TaskTypeDetails.type.modelProperties, + vmDetails: { + serializedName: "vmDetails", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InconsistentVmDetails" + } + } } } } } }; -export const HyperVReplica2012R2EventDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const CreateNetworkMappingInputProperties: msRest.CompositeMapper = { + serializedName: "CreateNetworkMappingInputProperties", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "HyperVReplica2012R2EventDetails", + className: "CreateNetworkMappingInputProperties", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - containerName: { - serializedName: "containerName", + recoveryFabricName: { + serializedName: "recoveryFabricName", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", type: { name: "String" } }, - remoteContainerName: { - serializedName: "remoteContainerName", + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", type: { - name: "String" + name: "Composite", + className: "FabricSpecificCreateNetworkMappingInput" } - }, - remoteFabricName: { - serializedName: "remoteFabricName", + } + } + } +}; + +export const CreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "CreateNetworkMappingInput", + type: { + name: "Composite", + className: "CreateNetworkMappingInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "CreateNetworkMappingInputProperties" } } } } }; -export const HyperVReplicaAzureApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const CreatePolicyInputProperties: msRest.CompositeMapper = { + serializedName: "CreatePolicyInputProperties", type: { name: "Composite", - polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "HyperVReplicaAzureApplyRecoveryPointInput", + className: "CreatePolicyInputProperties", modelProperties: { - ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + providerSpecificInput: { + serializedName: "providerSpecificInput", type: { - name: "String" - } - }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", - type: { - name: "String" + name: "Composite", + className: "PolicyProviderSpecificInput" } - }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + } + } + } +}; + +export const CreatePolicyInput: msRest.CompositeMapper = { + serializedName: "CreatePolicyInput", + type: { + name: "Composite", + className: "CreatePolicyInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "CreatePolicyInputProperties" } } } } }; -export const HyperVReplicaAzureEnableProtectionInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const CreateProtectionContainerInputProperties: msRest.CompositeMapper = { + serializedName: "CreateProtectionContainerInputProperties", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "HyperVReplicaAzureEnableProtectionInput", + className: "CreateProtectionContainerInputProperties", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - hvHostVmId: { - serializedName: "hvHostVmId", + providerSpecificInput: { + serializedName: "providerSpecificInput", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationProviderSpecificContainerCreationInput" + } + } } - }, - vmName: { - serializedName: "vmName", + } + } + } +}; + +export const CreateProtectionContainerInput: msRest.CompositeMapper = { + serializedName: "CreateProtectionContainerInput", + type: { + name: "Composite", + className: "CreateProtectionContainerInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "CreateProtectionContainerInputProperties" } - }, - osType: { - serializedName: "osType", + } + } + } +}; + +export const CreateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { + serializedName: "CreateProtectionContainerMappingInputProperties", + type: { + name: "Composite", + className: "CreateProtectionContainerMappingInputProperties", + modelProperties: { + targetProtectionContainerId: { + serializedName: "targetProtectionContainerId", type: { name: "String" } }, - vhdId: { - serializedName: "vhdId", + policyId: { + serializedName: "policyId", type: { name: "String" } }, - targetStorageAccountId: { - serializedName: "targetStorageAccountId", + providerSpecificInput: { + serializedName: "providerSpecificInput", type: { - name: "String" + name: "Composite", + className: "ReplicationProviderSpecificContainerMappingInput" } - }, - targetAzureNetworkId: { - serializedName: "targetAzureNetworkId", + } + } + } +}; + +export const CreateProtectionContainerMappingInput: msRest.CompositeMapper = { + serializedName: "CreateProtectionContainerMappingInput", + type: { + name: "Composite", + className: "CreateProtectionContainerMappingInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "CreateProtectionContainerMappingInputProperties" } - }, - targetAzureSubnetId: { - serializedName: "targetAzureSubnetId", + } + } + } +}; + +export const RecoveryPlanProtectedItem: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProtectedItem", + type: { + name: "Composite", + className: "RecoveryPlanProtectedItem", + modelProperties: { + id: { + serializedName: "id", type: { name: "String" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + virtualMachineId: { + serializedName: "virtualMachineId", type: { name: "String" } - }, - targetAzureVmName: { - serializedName: "targetAzureVmName", + } + } + } +}; + +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" } - }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + } + } + } +}; + +export const RecoveryPlanAction: msRest.CompositeMapper = { + serializedName: "RecoveryPlanAction", + type: { + name: "Composite", + className: "RecoveryPlanAction", + modelProperties: { + actionName: { + required: true, + serializedName: "actionName", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + failoverTypes: { + required: true, + serializedName: "failoverTypes", type: { name: "Sequence", element: { @@ -4431,82 +3754,97 @@ export const HyperVReplicaAzureEnableProtectionInput: msRest.CompositeMapper = { } } }, - targetAzureV1ResourceGroupId: { - serializedName: "targetAzureV1ResourceGroupId", - type: { - name: "String" - } - }, - targetAzureV2ResourceGroupId: { - serializedName: "targetAzureV2ResourceGroupId", + failoverDirections: { + required: true, + serializedName: "failoverDirections", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - useManagedDisks: { - serializedName: "useManagedDisks", + customDetails: { + required: true, + serializedName: "customDetails", type: { - name: "String" + name: "Composite", + className: "RecoveryPlanActionDetails" } } } } }; -export const HyperVReplicaAzureEventDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const RecoveryPlanGroup: msRest.CompositeMapper = { + serializedName: "RecoveryPlanGroup", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "HyperVReplicaAzureEventDetails", + className: "RecoveryPlanGroup", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - containerName: { - serializedName: "containerName", + groupType: { + required: true, + serializedName: "groupType", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + replicationProtectedItems: { + serializedName: "replicationProtectedItems", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProtectedItem" + } + } } }, - remoteContainerName: { - serializedName: "remoteContainerName", + startGroupActions: { + serializedName: "startGroupActions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanAction" + } + } + } + }, + endGroupActions: { + serializedName: "endGroupActions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanAction" + } + } } } } } }; -export const HyperVReplicaAzureFailbackProviderInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzureFailback", +export const RecoveryPlanProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProviderSpecificInput", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "HyperVReplicaAzureFailbackProviderInput", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RecoveryPlanProviderSpecificInput", + className: "RecoveryPlanProviderSpecificInput", modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - dataSyncOption: { - serializedName: "dataSyncOption", - type: { - name: "String" - } - }, - recoveryVmCreationOption: { - serializedName: "recoveryVmCreationOption", - type: { - name: "String" - } - }, - providerIdForAlternateRecovery: { - serializedName: "providerIdForAlternateRecovery", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -4515,200 +3853,189 @@ export const HyperVReplicaAzureFailbackProviderInput: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzureFailoverProviderInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const CreateRecoveryPlanInputProperties: msRest.CompositeMapper = { + serializedName: "CreateRecoveryPlanInputProperties", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "HyperVReplicaAzureFailoverProviderInput", + className: "CreateRecoveryPlanInputProperties", modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + primaryFabricId: { + required: true, + serializedName: "primaryFabricId", type: { name: "String" } }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", + recoveryFabricId: { + required: true, + serializedName: "recoveryFabricId", type: { name: "String" } }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + failoverDeploymentModel: { + serializedName: "failoverDeploymentModel", type: { name: "String" } }, - recoveryPointId: { - serializedName: "recoveryPointId", + groups: { + required: true, + serializedName: "groups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanGroup" + } + } + } + }, + providerSpecificInput: { + serializedName: "providerSpecificInput", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificInput" + } + } } } } } }; -export const HyperVReplicaAzurePolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const CreateRecoveryPlanInput: msRest.CompositeMapper = { + serializedName: "CreateRecoveryPlanInput", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaAzurePolicyDetails", + className: "CreateRecoveryPlanInput", 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", + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "CreateRecoveryPlanInputProperties" } } } } }; -export const HyperVReplicaAzurePolicyInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const CurrentJobDetails: msRest.CompositeMapper = { + serializedName: "CurrentJobDetails", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "HyperVReplicaAzurePolicyInput", + className: "CurrentJobDetails", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointHistoryDuration: { - serializedName: "recoveryPointHistoryDuration", - type: { - name: "Number" - } - }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", - type: { - name: "Number" - } - }, - replicationInterval: { - serializedName: "replicationInterval", + jobName: { + serializedName: "jobName", type: { - name: "Number" + name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + jobId: { + serializedName: "jobId", type: { name: "String" } }, - storageAccounts: { - serializedName: "storageAccounts", + startTime: { + serializedName: "startTime", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" } } } } }; -export const InitialReplicationDetails: msRest.CompositeMapper = { - serializedName: "InitialReplicationDetails", +export const CurrentScenarioDetails: msRest.CompositeMapper = { + serializedName: "CurrentScenarioDetails", type: { name: "Composite", - className: "InitialReplicationDetails", + className: "CurrentScenarioDetails", modelProperties: { - initialReplicationType: { - serializedName: "initialReplicationType", + scenarioName: { + serializedName: "scenarioName", type: { name: "String" } }, - initialReplicationProgressPercentage: { - serializedName: "initialReplicationProgressPercentage", + jobId: { + serializedName: "jobId", type: { name: "String" } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } } } } }; -export const OSDetails: msRest.CompositeMapper = { - serializedName: "OSDetails", +export const DataStore: msRest.CompositeMapper = { + serializedName: "DataStore", type: { name: "Composite", - className: "OSDetails", + className: "DataStore", modelProperties: { - osType: { - serializedName: "osType", + symbolicName: { + serializedName: "symbolicName", type: { name: "String" } }, - productType: { - serializedName: "productType", + uuid: { + serializedName: "uuid", type: { name: "String" } }, - osEdition: { - serializedName: "osEdition", + capacity: { + serializedName: "capacity", type: { name: "String" } }, - oSVersion: { - serializedName: "oSVersion", + freeSpace: { + serializedName: "freeSpace", type: { name: "String" } }, - oSMajorVersion: { - serializedName: "oSMajorVersion", + type: { + serializedName: "type", type: { name: "String" } - }, - oSMinorVersion: { - serializedName: "oSMinorVersion", + } + } + } +}; + +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" } @@ -4717,169 +4044,255 @@ export const OSDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzureReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const DisableProtectionInputProperties: msRest.CompositeMapper = { + serializedName: "DisableProtectionInputProperties", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaAzureReplicationDetails", + className: "DisableProtectionInputProperties", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - azureVmDiskDetails: { - serializedName: "azureVmDiskDetails", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureVmDiskDetails" - } - } - } - }, - recoveryAzureVmName: { - serializedName: "recoveryAzureVmName", + disableProtectionReason: { + serializedName: "disableProtectionReason", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + replicationProviderInput: { + serializedName: "replicationProviderInput", type: { - name: "String" + name: "Composite", + className: "DisableProtectionProviderSpecificInput" } - }, - recoveryAzureStorageAccount: { - serializedName: "recoveryAzureStorageAccount", + } + } + } +}; + +export const DisableProtectionInput: msRest.CompositeMapper = { + serializedName: "DisableProtectionInput", + type: { + name: "Composite", + className: "DisableProtectionInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DisableProtectionInputProperties" + } + } + } + } +}; + +export const DiscoverProtectableItemRequestProperties: msRest.CompositeMapper = { + serializedName: "DiscoverProtectableItemRequestProperties", + type: { + name: "Composite", + className: "DiscoverProtectableItemRequestProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - recoveryAzureLogStorageAccountId: { - serializedName: "recoveryAzureLogStorageAccountId", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", + osType: { + serializedName: "osType", type: { - name: "DateTime" + name: "String" } - }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + } + } + } +}; + +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" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + vhdType: { + serializedName: "vhdType", type: { - name: "DateTime" + name: "String" } }, - vmId: { - serializedName: "vmId", + vhdId: { + serializedName: "vhdId", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + 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" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + 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" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + resource: { + serializedName: "resource", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "String" } }, - vmNics: { - serializedName: "vmNics", + operation: { + serializedName: "operation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "String" } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + 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" } }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", + errorType: { + serializedName: "errorType", type: { name: "String" } }, - encryption: { - serializedName: "encryption", + errorLevel: { + serializedName: "errorLevel", type: { name: "String" } }, - oSDetails: { - serializedName: "oSDetails", + errorCategory: { + serializedName: "errorCategory", type: { - name: "Composite", - className: "OSDetails" + name: "String" } }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", + errorCode: { + serializedName: "errorCode", type: { - name: "Number" + name: "String" } }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", + summaryMessage: { + serializedName: "summaryMessage", type: { - name: "Number" + name: "String" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + errorMessage: { + serializedName: "errorMessage", type: { name: "String" } }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + possibleCauses: { + serializedName: "possibleCauses", type: { name: "String" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + recommendedAction: { + serializedName: "recommendedAction", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + creationTimeUtc: { + serializedName: "creationTimeUtc", + type: { + name: "DateTime" + } + }, + recoveryProviderErrorMessage: { + serializedName: "recoveryProviderErrorMessage", type: { name: "String" } }, - licenseType: { - serializedName: "licenseType", + entityId: { + serializedName: "entityId", type: { name: "String" } @@ -4888,115 +4301,104 @@ export const HyperVReplicaAzureReplicationDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaAzureReprotectInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", +export const HealthError: msRest.CompositeMapper = { + serializedName: "HealthError", type: { name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "HyperVReplicaAzureReprotectInput", + className: "HealthError", modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - hvHostVmId: { - serializedName: "hvHostVmId", + innerHealthErrors: { + serializedName: "innerHealthErrors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InnerHealthError" + } + } } }, - vmName: { - serializedName: "vmName", + errorSource: { + serializedName: "errorSource", type: { name: "String" } }, - osType: { - serializedName: "osType", + errorType: { + serializedName: "errorType", type: { name: "String" } }, - vHDId: { - serializedName: "vHDId", + errorLevel: { + serializedName: "errorLevel", type: { name: "String" } }, - storageAccountId: { - serializedName: "storageAccountId", + errorCategory: { + serializedName: "errorCategory", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + errorCode: { + serializedName: "errorCode", 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", + }, + summaryMessage: { + serializedName: "summaryMessage", type: { name: "String" } }, - recoveryAzureV2ResourceGroupId: { - serializedName: "recoveryAzureV2ResourceGroupId", + errorMessage: { + serializedName: "errorMessage", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + possibleCauses: { + serializedName: "possibleCauses", 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", + }, + recommendedAction: { + serializedName: "recommendedAction", type: { name: "String" } }, - fabricName: { - serializedName: "fabricName", + creationTimeUtc: { + serializedName: "creationTimeUtc", + type: { + name: "DateTime" + } + }, + recoveryProviderErrorMessage: { + serializedName: "recoveryProviderErrorMessage", type: { name: "String" } }, - remoteContainerName: { - serializedName: "remoteContainerName", + entityId: { + serializedName: "entityId", type: { name: "String" } }, - remoteFabricName: { - serializedName: "remoteFabricName", + errorId: { + serializedName: "errorId", + type: { + name: "String" + } + }, + customerResolvability: { + serializedName: "customerResolvability", type: { name: "String" } @@ -5005,71 +4407,78 @@ export const HyperVReplicaBaseEventDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaBasePolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaBasePolicyDetails", +export const DraDetails: msRest.CompositeMapper = { + serializedName: "DraDetails", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaBasePolicyDetails", + className: "DraDetails", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPoints: { - serializedName: "recoveryPoints", - type: { - name: "Number" - } - }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", - type: { - name: "Number" - } - }, - compression: { - serializedName: "compression", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", type: { - name: "String" + name: "DateTime" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + health: { + readOnly: true, + serializedName: "health", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", - type: { - name: "Number" - } - }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + healthErrors: { + readOnly: true, + serializedName: "healthErrors", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } - }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + } + } + } +}; + +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" } @@ -5078,145 +4487,137 @@ export const HyperVReplicaBasePolicyDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaBaseReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplicaBaseReplicationDetails", +export const EnableMigrationInputProperties: msRest.CompositeMapper = { + serializedName: "EnableMigrationInputProperties", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaBaseReplicationDetails", + className: "EnableMigrationInputProperties", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", + policyId: { + required: true, + serializedName: "policyId", type: { - name: "DateTime" + name: "String" } }, - vmNics: { - serializedName: "vmNics", + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "Composite", + className: "EnableMigrationProviderSpecificInput" } - }, - vmId: { - serializedName: "vmId", + } + } + } +}; + +export const EnableMigrationInput: msRest.CompositeMapper = { + serializedName: "EnableMigrationInput", + type: { + name: "Composite", + className: "EnableMigrationInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "EnableMigrationInputProperties" } - }, - vmProtectionState: { - serializedName: "vmProtectionState", + } + } + } +}; + +export const EnableProtectionInputProperties: msRest.CompositeMapper = { + serializedName: "EnableProtectionInputProperties", + type: { + name: "Composite", + className: "EnableProtectionInputProperties", + modelProperties: { + policyId: { + serializedName: "policyId", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + protectableItemId: { + serializedName: "protectableItemId", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "InitialReplicationDetails" - } - }, - vMDiskDetails: { - serializedName: "vMDiskDetails", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskDetails" - } - } + className: "EnableProtectionProviderSpecificInput" } } } } }; -export const HyperVReplicaBluePolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const EnableProtectionInput: msRest.CompositeMapper = { + serializedName: "EnableProtectionInput", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaBluePolicyDetails", + className: "EnableProtectionInput", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - replicationFrequencyInSeconds: { - serializedName: "replicationFrequencyInSeconds", - type: { - name: "Number" - } - }, - recoveryPoints: { - serializedName: "recoveryPoints", + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "EnableProtectionInputProperties" } - }, - 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", + } + } + } +}; + +export const EncryptionDetails: msRest.CompositeMapper = { + serializedName: "EncryptionDetails", + type: { + name: "Composite", + className: "EncryptionDetails", + modelProperties: { + kekState: { + serializedName: "kekState", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + kekCertThumbprint: { + serializedName: "kekCertThumbprint", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", - type: { - name: "Number" - } - }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + kekCertExpiryDate: { + serializedName: "kekCertExpiryDate", type: { - name: "Number" + name: "DateTime" } - }, - replicaDeletionOption: { - serializedName: "replicaDeletionOption", + } + } + } +}; + +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" } @@ -5225,218 +4626,171 @@ export const HyperVReplicaBluePolicyDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaBluePolicyInput: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const EventProperties: msRest.CompositeMapper = { + serializedName: "EventProperties", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "HyperVReplicaBluePolicyInput", + className: "EventProperties", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - replicationFrequencyInSeconds: { - serializedName: "replicationFrequencyInSeconds", + eventCode: { + serializedName: "eventCode", type: { - name: "Number" + name: "String" } }, - recoveryPoints: { - serializedName: "recoveryPoints", + description: { + serializedName: "description", type: { - name: "Number" + name: "String" } }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", + eventType: { + serializedName: "eventType", type: { - name: "Number" + name: "String" } }, - compression: { - serializedName: "compression", + affectedObjectFriendlyName: { + serializedName: "affectedObjectFriendlyName", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + severity: { + serializedName: "severity", type: { name: "String" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + timeOfOccurrence: { + serializedName: "timeOfOccurrence", type: { - name: "String" + name: "DateTime" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + fabricId: { + serializedName: "fabricId", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "EventProviderSpecificDetails" } }, - replicationPort: { - serializedName: "replicationPort", + eventSpecificDetails: { + serializedName: "eventSpecificDetails", type: { - name: "Number" + name: "Composite", + className: "EventSpecificDetails" } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + healthErrors: { + serializedName: "healthErrors", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } - }, - replicaDeletion: { - serializedName: "replicaDeletion", + } + } + } +}; + +export const Event: msRest.CompositeMapper = { + serializedName: "Event", + type: { + name: "Composite", + className: "Event", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "EventProperties" } } } } }; -export const HyperVReplicaBlueReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012R2", +export const EventQueryParameter: msRest.CompositeMapper = { + serializedName: "EventQueryParameter", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaBlueReplicationDetails", + className: "EventQueryParameter", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - lastReplicatedTime: { - serializedName: "lastReplicatedTime", + eventCode: { + serializedName: "eventCode", type: { - name: "DateTime" + name: "String" } }, - vmNics: { - serializedName: "vmNics", + severity: { + serializedName: "severity", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "String" } }, - vmId: { - serializedName: "vmId", + eventType: { + serializedName: "eventType", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + fabricName: { + serializedName: "fabricName", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + affectedObjectFriendlyName: { + serializedName: "affectedObjectFriendlyName", type: { name: "String" } }, - initialReplicationDetails: { - serializedName: "initialReplicationDetails", + startTime: { + serializedName: "startTime", type: { - name: "Composite", - className: "InitialReplicationDetails" + name: "DateTime" } }, - vMDiskDetails: { - serializedName: "vMDiskDetails", + endTime: { + serializedName: "endTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskDetails" - } - } + name: "DateTime" } } } } }; -export const HyperVReplicaPolicyDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const ExportJobDetails: msRest.CompositeMapper = { + serializedName: "ExportJobDetails", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificDetails", - className: "HyperVReplicaPolicyDetails", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "ExportJobDetails", modelProperties: { - ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPoints: { - serializedName: "recoveryPoints", - type: { - name: "Number" - } - }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", - type: { - name: "Number" - } - }, - compression: { - serializedName: "compression", + ...JobDetails.type.modelProperties, + blobUri: { + serializedName: "blobUri", 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", + sasToken: { + serializedName: "sasToken", type: { name: "String" } @@ -5445,71 +4799,65 @@ export const HyperVReplicaPolicyDetails: msRest.CompositeMapper = { } }; -export const HyperVReplicaPolicyInput: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const FabricProperties: msRest.CompositeMapper = { + serializedName: "FabricProperties", type: { name: "Composite", - polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "PolicyProviderSpecificInput", - className: "HyperVReplicaPolicyInput", + className: "FabricProperties", modelProperties: { - ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPoints: { - serializedName: "recoveryPoints", - type: { - name: "Number" - } - }, - applicationConsistentSnapshotFrequencyInHours: { - serializedName: "applicationConsistentSnapshotFrequencyInHours", - type: { - name: "Number" - } - }, - compression: { - serializedName: "compression", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - initialReplicationMethod: { - serializedName: "initialReplicationMethod", + encryptionDetails: { + serializedName: "encryptionDetails", type: { - name: "String" + name: "Composite", + className: "EncryptionDetails" } }, - onlineReplicationStartTime: { - serializedName: "onlineReplicationStartTime", + rolloverEncryptionDetails: { + serializedName: "rolloverEncryptionDetails", type: { - name: "String" + name: "Composite", + className: "EncryptionDetails" } }, - offlineReplicationImportPath: { - serializedName: "offlineReplicationImportPath", + internalIdentifier: { + serializedName: "internalIdentifier", type: { name: "String" } }, - offlineReplicationExportPath: { - serializedName: "offlineReplicationExportPath", + bcdrState: { + serializedName: "bcdrState", type: { name: "String" } }, - replicationPort: { - serializedName: "replicationPort", + customDetails: { + serializedName: "customDetails", type: { - name: "Number" + name: "Composite", + className: "FabricSpecificDetails" } }, - allowedAuthenticationType: { - serializedName: "allowedAuthenticationType", + healthErrorDetails: { + serializedName: "healthErrorDetails", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - replicaDeletion: { - serializedName: "replicaDeletion", + health: { + serializedName: "health", type: { name: "String" } @@ -5518,141 +4866,96 @@ export const HyperVReplicaPolicyInput: msRest.CompositeMapper = { } }; -export const HyperVReplicaReplicationDetails: msRest.CompositeMapper = { - serializedName: "HyperVReplica2012", +export const Fabric: msRest.CompositeMapper = { + serializedName: "Fabric", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "HyperVReplicaReplicationDetails", + className: "Fabric", 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", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "InitialReplicationDetails" + className: "FabricProperties" } - }, - vMDiskDetails: { - serializedName: "vMDiskDetails", + } + } + } +}; + +export const FabricCreationInputProperties: msRest.CompositeMapper = { + serializedName: "FabricCreationInputProperties", + type: { + name: "Composite", + className: "FabricCreationInputProperties", + modelProperties: { + customDetails: { + serializedName: "customDetails", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskDetails" - } - } + name: "Composite", + className: "FabricSpecificCreationInput" } } } } }; -export const HyperVSiteDetails: msRest.CompositeMapper = { - serializedName: "HyperVSite", +export const FabricCreationInput: msRest.CompositeMapper = { + serializedName: "FabricCreationInput", type: { name: "Composite", - polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, - uberParent: "FabricSpecificDetails", - className: "HyperVSiteDetails", + className: "FabricCreationInput", modelProperties: { - ...FabricSpecificDetails.type.modelProperties + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FabricCreationInputProperties" + } + } } } }; -export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { - serializedName: "HyperVVirtualMachine", +export const JobEntity: msRest.CompositeMapper = { + serializedName: "JobEntity", type: { name: "Composite", - polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, - uberParent: "ConfigurationSettings", - className: "HyperVVirtualMachineDetails", + className: "JobEntity", modelProperties: { - ...ConfigurationSettings.type.modelProperties, - sourceItemId: { - serializedName: "sourceItemId", + jobId: { + serializedName: "jobId", type: { name: "String" } }, - generation: { - serializedName: "generation", + jobFriendlyName: { + serializedName: "jobFriendlyName", type: { name: "String" } }, - osDetails: { - serializedName: "osDetails", - type: { - name: "Composite", - className: "OSDetails" - } - }, - diskDetails: { - serializedName: "diskDetails", + targetObjectId: { + serializedName: "targetObjectId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskDetails" - } - } + name: "String" } }, - hasPhysicalDisk: { - serializedName: "hasPhysicalDisk", + targetObjectName: { + serializedName: "targetObjectName", type: { name: "String" } }, - hasFibreChannelAdapter: { - serializedName: "hasFibreChannelAdapter", + targetInstanceType: { + serializedName: "targetInstanceType", type: { name: "String" } }, - hasSharedVhd: { - serializedName: "hasSharedVhd", + jobScenarioName: { + serializedName: "jobScenarioName", type: { name: "String" } @@ -5661,74 +4964,119 @@ export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { } }; -export const IdentityInformation: msRest.CompositeMapper = { - serializedName: "IdentityInformation", +export const FabricReplicationGroupTaskDetails: msRest.CompositeMapper = { + serializedName: "FabricReplicationGroupTaskDetails", type: { name: "Composite", - className: "IdentityInformation", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "FabricReplicationGroupTaskDetails", modelProperties: { - identityProviderType: { - serializedName: "identityProviderType", + ...TaskTypeDetails.type.modelProperties, + skippedReason: { + serializedName: "skippedReason", type: { name: "String" } }, - tenantId: { - serializedName: "tenantId", + skippedReasonString: { + serializedName: "skippedReasonString", type: { name: "String" } }, - applicationId: { - serializedName: "applicationId", + jobTask: { + serializedName: "jobTask", + type: { + name: "Composite", + className: "JobEntity" + } + } + } + } +}; + +export const FailoverReplicationProtectedItemDetails: msRest.CompositeMapper = { + serializedName: "FailoverReplicationProtectedItemDetails", + type: { + name: "Composite", + className: "FailoverReplicationProtectedItemDetails", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - objectId: { - serializedName: "objectId", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - audience: { - serializedName: "audience", + testVmName: { + serializedName: "testVmName", type: { name: "String" } }, - aadAuthority: { - serializedName: "aadAuthority", + testVmFriendlyName: { + serializedName: "testVmFriendlyName", + type: { + name: "String" + } + }, + networkConnectionStatus: { + serializedName: "networkConnectionStatus", + type: { + name: "String" + } + }, + networkFriendlyName: { + serializedName: "networkFriendlyName", type: { name: "String" } }, - certificateThumbprint: { - serializedName: "certificateThumbprint", + subnet: { + serializedName: "subnet", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } + }, + recoveryPointTime: { + serializedName: "recoveryPointTime", + type: { + name: "DateTime" + } } } } }; -export const InlineWorkflowTaskDetails: msRest.CompositeMapper = { - serializedName: "InlineWorkflowTaskDetails", +export const FailoverJobDetails: msRest.CompositeMapper = { + serializedName: "FailoverJobDetails", type: { name: "Composite", - polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, - uberParent: "GroupTaskDetails", - className: "InlineWorkflowTaskDetails", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "FailoverJobDetails", modelProperties: { - ...GroupTaskDetails.type.modelProperties, - workflowIds: { - serializedName: "workflowIds", + ...JobDetails.type.modelProperties, + protectedItemDetails: { + serializedName: "protectedItemDetails", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "FailoverReplicationProtectedItemDetails" } } } @@ -5737,66 +5085,43 @@ export const InlineWorkflowTaskDetails: msRest.CompositeMapper = { } }; -export const InMageAgentDetails: msRest.CompositeMapper = { - serializedName: "InMageAgentDetails", +export const FailoverProcessServerRequestProperties: msRest.CompositeMapper = { + serializedName: "FailoverProcessServerRequestProperties", type: { name: "Composite", - className: "InMageAgentDetails", + className: "FailoverProcessServerRequestProperties", modelProperties: { - agentVersion: { - serializedName: "agentVersion", - type: { - name: "String" - } - }, - agentUpdateStatus: { - serializedName: "agentUpdateStatus", - type: { - name: "String" - } - }, - postUpdateRebootStatus: { - serializedName: "postUpdateRebootStatus", + containerName: { + serializedName: "containerName", type: { name: "String" } }, - agentExpiryDate: { - serializedName: "agentExpiryDate", - type: { - name: "DateTime" - } - } - } - } -}; - -export const InMageAgentVersionDetails: msRest.CompositeMapper = { - serializedName: "InMageAgentVersionDetails", - type: { - name: "Composite", - className: "InMageAgentVersionDetails", - modelProperties: { - postUpdateRebootStatus: { - serializedName: "postUpdateRebootStatus", + sourceProcessServerId: { + serializedName: "sourceProcessServerId", type: { name: "String" } }, - version: { - serializedName: "version", + targetProcessServerId: { + serializedName: "targetProcessServerId", type: { name: "String" } }, - expiryDate: { - serializedName: "expiryDate", + vmsToMigrate: { + serializedName: "vmsToMigrate", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - status: { - serializedName: "status", + updateType: { + serializedName: "updateType", type: { name: "String" } @@ -5805,73 +5130,67 @@ export const InMageAgentVersionDetails: msRest.CompositeMapper = { } }; -export const InMageAzureV2ApplyRecoveryPointInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const FailoverProcessServerRequest: msRest.CompositeMapper = { + serializedName: "FailoverProcessServerRequest", type: { name: "Composite", - polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ApplyRecoveryPointProviderSpecificInput", - className: "InMageAzureV2ApplyRecoveryPointInput", + className: "FailoverProcessServerRequest", modelProperties: { - ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "FailoverProcessServerRequestProperties" } } } } }; -export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const HealthErrorSummary: msRest.CompositeMapper = { + serializedName: "HealthErrorSummary", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "InMageAzureV2EnableProtectionInput", + className: "HealthErrorSummary", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - masterTargetId: { - serializedName: "masterTargetId", + summaryCode: { + serializedName: "summaryCode", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + category: { + serializedName: "category", type: { name: "String" } }, - storageAccountId: { - required: true, - serializedName: "storageAccountId", + severity: { + serializedName: "severity", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + summaryMessage: { + serializedName: "summaryMessage", type: { name: "String" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + affectedResourceType: { + serializedName: "affectedResourceType", type: { name: "String" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + affectedResourceSubtype: { + serializedName: "affectedResourceSubtype", type: { name: "String" } }, - disksToInclude: { - serializedName: "disksToInclude", + affectedResourceCorrelationIds: { + serializedName: "affectedResourceCorrelationIds", type: { name: "Sequence", element: { @@ -5880,51 +5199,77 @@ export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { } } } - }, - targetAzureNetworkId: { - serializedName: "targetAzureNetworkId", + } + } + } +}; + +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" } }, - targetAzureSubnetId: { - serializedName: "targetAzureSubnetId", + fabricName: { + serializedName: "fabricName", type: { name: "String" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + remoteContainerName: { + serializedName: "remoteContainerName", type: { name: "String" } }, - targetAzureVmName: { - serializedName: "targetAzureVmName", + remoteFabricName: { + serializedName: "remoteFabricName", type: { name: "String" } - }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + } + } + } +}; + +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" } }, - targetAzureV1ResourceGroupId: { - serializedName: "targetAzureV1ResourceGroupId", + fabricName: { + serializedName: "fabricName", type: { name: "String" } }, - targetAzureV2ResourceGroupId: { - serializedName: "targetAzureV2ResourceGroupId", + remoteContainerName: { + serializedName: "remoteContainerName", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + remoteFabricName: { + serializedName: "remoteFabricName", type: { name: "String" } @@ -5933,165 +5278,143 @@ export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { } }; -export const InMageAzureV2EventDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const HyperVReplicaAzureApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", type: { name: "Composite", - polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventProviderSpecificDetails", - className: "InMageAzureV2EventDetails", + polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "HyperVReplicaAzureApplyRecoveryPointInput", modelProperties: { - ...EventProviderSpecificDetails.type.modelProperties, - eventType: { - serializedName: "eventType", + ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", type: { name: "String" } }, - category: { - serializedName: "category", + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", type: { name: "String" } }, - component: { - serializedName: "component", + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", type: { name: "String" } - }, - correctiveAction: { - serializedName: "correctiveAction", + } + } + } +}; + +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" } }, - details: { - serializedName: "details", + vmName: { + serializedName: "vmName", type: { name: "String" } }, - summary: { - serializedName: "summary", + osType: { + serializedName: "osType", type: { name: "String" } }, - siteName: { - serializedName: "siteName", + vhdId: { + serializedName: "vhdId", type: { name: "String" } - } - } - } -}; - -export const InMageAzureV2FailoverProviderInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", - type: { - name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "InMageAzureV2FailoverProviderInput", - modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - serializedName: "vaultLocation", + }, + targetStorageAccountId: { + serializedName: "targetStorageAccountId", type: { name: "String" } }, - recoveryPointId: { - serializedName: "recoveryPointId", + targetAzureNetworkId: { + serializedName: "targetAzureNetworkId", 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", + }, + targetAzureSubnetId: { + serializedName: "targetAzureSubnetId", type: { - name: "Number" + name: "String" } }, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", type: { - name: "Number" + name: "String" } }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + targetAzureVmName: { + serializedName: "targetAzureVmName", type: { - name: "Number" + name: "String" } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + logStorageAccountId: { + serializedName: "logStorageAccountId", type: { - name: "Number" + name: "String" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + disksToInclude: { + serializedName: "disksToInclude", type: { - name: "String" + name: "Sequence", + element: { + 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", + }, + targetAzureV1ResourceGroupId: { + serializedName: "targetAzureV1ResourceGroupId", type: { - name: "Number" + name: "String" } }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + targetAzureV2ResourceGroupId: { + serializedName: "targetAzureV2ResourceGroupId", type: { - name: "Number" + name: "String" } }, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", + useManagedDisks: { + serializedName: "useManagedDisks", type: { - name: "Number" + name: "String" } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { - name: "Number" + name: "String" } }, - multiVmSyncStatus: { - required: true, - serializedName: "multiVmSyncStatus", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } @@ -6100,453 +5423,568 @@ export const InMageAzureV2PolicyInput: msRest.CompositeMapper = { } }; -export const InMageAzureV2ProtectedDiskDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2ProtectedDiskDetails", +export const HyperVReplicaAzureEventDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", type: { name: "Composite", - className: "InMageAzureV2ProtectedDiskDetails", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "HyperVReplicaAzureEventDetails", modelProperties: { - diskId: { - serializedName: "diskId", + ...EventProviderSpecificDetails.type.modelProperties, + containerName: { + serializedName: "containerName", type: { name: "String" } }, - diskName: { - serializedName: "diskName", + fabricName: { + serializedName: "fabricName", type: { name: "String" } }, - protectionStage: { - serializedName: "protectionStage", + remoteContainerName: { + serializedName: "remoteContainerName", type: { name: "String" } - }, - healthErrorCode: { - serializedName: "healthErrorCode", + } + } + } +}; + +export const HyperVReplicaAzureFailbackProviderInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzureFailback", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificFailoverInput", + className: "HyperVReplicaAzureFailbackProviderInput", + modelProperties: { + ...ProviderSpecificFailoverInput.type.modelProperties, + dataSyncOption: { + serializedName: "dataSyncOption", type: { name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + recoveryVmCreationOption: { + serializedName: "recoveryVmCreationOption", type: { - name: "Number" + name: "String" } }, - resyncRequired: { - serializedName: "resyncRequired", + providerIdForAlternateRecovery: { + serializedName: "providerIdForAlternateRecovery", type: { name: "String" } - }, - resyncProgressPercentage: { - serializedName: "resyncProgressPercentage", + } + } + } +}; + +export const HyperVReplicaAzureFailoverProviderInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificFailoverInput", + className: "HyperVReplicaAzureFailoverProviderInput", + modelProperties: { + ...ProviderSpecificFailoverInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", type: { - name: "Number" + name: "String" } }, - resyncDurationInSeconds: { - serializedName: "resyncDurationInSeconds", + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", type: { - name: "Number" + name: "String" } }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", type: { - name: "Number" + name: "String" } }, - fileSystemCapacityInBytes: { - serializedName: "fileSystemCapacityInBytes", - type: { + 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" } }, - sourceDataInMegaBytes: { - serializedName: "sourceDataInMegaBytes", + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", type: { name: "Number" } }, - psDataInMegaBytes: { - serializedName: "psDataInMegaBytes", + replicationInterval: { + serializedName: "replicationInterval", type: { name: "Number" } }, - targetDataInMegaBytes: { - serializedName: "targetDataInMegaBytes", + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", type: { - name: "Number" + name: "String" } }, - diskResized: { - serializedName: "diskResized", + encryption: { + serializedName: "encryption", type: { name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + activeStorageAccountId: { + serializedName: "activeStorageAccountId", type: { - name: "DateTime" + name: "String" } } } } }; -export const InMageAzureV2RecoveryPointDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const HyperVReplicaAzurePolicyInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificRecoveryPointDetails", - className: "InMageAzureV2RecoveryPointDetails", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "HyperVReplicaAzurePolicyInput", modelProperties: { - ...ProviderSpecificRecoveryPointDetails.type.modelProperties, - isMultiVmSyncPoint: { - serializedName: "isMultiVmSyncPoint", + ...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 InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const InitialReplicationDetails: msRest.CompositeMapper = { + serializedName: "InitialReplicationDetails", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "InMageAzureV2ReplicationDetails", + className: "InitialReplicationDetails", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - infrastructureVmId: { - serializedName: "infrastructureVmId", + initialReplicationType: { + serializedName: "initialReplicationType", type: { name: "String" } }, - vCenterInfrastructureId: { - serializedName: "vCenterInfrastructureId", + initialReplicationProgressPercentage: { + serializedName: "initialReplicationProgressPercentage", type: { name: "String" } - }, - protectionStage: { - serializedName: "protectionStage", + } + } + } +}; + +export const OSDetails: msRest.CompositeMapper = { + serializedName: "OSDetails", + type: { + name: "Composite", + className: "OSDetails", + modelProperties: { + osType: { + serializedName: "osType", type: { name: "String" } }, - vmId: { - serializedName: "vmId", + productType: { + serializedName: "productType", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + osEdition: { + serializedName: "osEdition", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + oSVersion: { + serializedName: "oSVersion", type: { name: "String" } }, - resyncProgressPercentage: { - serializedName: "resyncProgressPercentage", + oSMajorVersion: { + serializedName: "oSMajorVersion", type: { - name: "Number" + name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + oSMinorVersion: { + serializedName: "oSMinorVersion", type: { - name: "Number" + name: "String" } - }, - compressedDataRateInMB: { - serializedName: "compressedDataRateInMB", + } + } + } +}; + +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: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureVmDiskDetails" + } + } } }, - uncompressedDataRateInMB: { - serializedName: "uncompressedDataRateInMB", + recoveryAzureVmName: { + serializedName: "recoveryAzureVmName", type: { - name: "Number" + name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + recoveryAzureStorageAccount: { + serializedName: "recoveryAzureStorageAccount", type: { name: "String" } }, - agentExpiryDate: { - serializedName: "agentExpiryDate", + recoveryAzureLogStorageAccountId: { + serializedName: "recoveryAzureLogStorageAccountId", type: { - name: "DateTime" + name: "String" } }, - isAgentUpdateRequired: { - serializedName: "isAgentUpdateRequired", + lastReplicatedTime: { + serializedName: "lastReplicatedTime", type: { - name: "String" + name: "DateTime" } }, - isRebootAfterUpdateRequired: { - serializedName: "isRebootAfterUpdateRequired", + rpoInSeconds: { + serializedName: "rpoInSeconds", type: { - name: "String" + name: "Number" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", type: { name: "DateTime" } }, - processServerId: { - serializedName: "processServerId", + vmId: { + serializedName: "vmId", type: { name: "String" } }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + vmProtectionState: { + serializedName: "vmProtectionState", type: { name: "String" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", type: { name: "String" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + initialReplicationDetails: { + serializedName: "initialReplicationDetails", type: { - name: "String" + name: "Composite", + className: "InitialReplicationDetails" } }, - protectedDisks: { - serializedName: "protectedDisks", + vmNics: { + serializedName: "vmNics", type: { name: "Sequence", element: { type: { name: "Composite", - className: "InMageAzureV2ProtectedDiskDetails" + className: "VMNicDetails" } } } }, - diskResized: { - serializedName: "diskResized", + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", type: { name: "String" } }, - masterTargetId: { - serializedName: "masterTargetId", + selectedSourceNicId: { + serializedName: "selectedSourceNicId", type: { name: "String" } }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", + encryption: { + serializedName: "encryption", type: { - name: "Number" + name: "String" } }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", + oSDetails: { + serializedName: "oSDetails", type: { - name: "Number" - } - }, - osType: { - serializedName: "osType", - type: { - name: "String" + name: "Composite", + className: "OSDetails" } }, - vhdName: { - serializedName: "vhdName", + sourceVmRamSizeInMB: { + serializedName: "sourceVmRamSizeInMB", type: { - name: "String" + name: "Number" } }, - osDiskId: { - serializedName: "osDiskId", + sourceVmCpuCount: { + serializedName: "sourceVmCpuCount", type: { - name: "String" + name: "Number" } }, - azureVMDiskDetails: { - serializedName: "azureVMDiskDetails", + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureVmDiskDetails" - } - } + name: "String" } }, - recoveryAzureVMName: { - serializedName: "recoveryAzureVMName", + recoveryAzureResourceGroupId: { + serializedName: "recoveryAzureResourceGroupId", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { name: "String" } }, - recoveryAzureStorageAccount: { - serializedName: "recoveryAzureStorageAccount", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - recoveryAzureLogStorageAccountId: { - serializedName: "recoveryAzureLogStorageAccountId", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } }, - vmNics: { - serializedName: "vmNics", + useManagedDisks: { + serializedName: "useManagedDisks", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VMNicDetails" - } - } + name: "String" } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + licenseType: { + serializedName: "licenseType", type: { name: "String" } - }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", + } + } + } +}; + +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" } }, - discoveryType: { - serializedName: "discoveryType", + vmName: { + serializedName: "vmName", type: { name: "String" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + osType: { + serializedName: "osType", type: { name: "String" } }, - datastores: { - serializedName: "datastores", + vHDId: { + serializedName: "vHDId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - targetVmId: { - serializedName: "targetVmId", + storageAccountId: { + serializedName: "storageAccountId", type: { name: "String" } }, - recoveryAzureResourceGroupId: { - serializedName: "recoveryAzureResourceGroupId", + logStorageAccountId: { + serializedName: "logStorageAccountId", type: { name: "String" } - }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + } + } + } +}; + +export const HyperVReplicaAzureTestFailoverInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "HyperVReplicaAzureTestFailoverInput", + modelProperties: { + ...TestFailoverProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", type: { name: "String" } }, - licenseType: { - serializedName: "licenseType", + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", type: { name: "String" } }, - validationErrors: { - serializedName: "validationErrors", + recoveryPointId: { + serializedName: "recoveryPointId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } - }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + } + } + } +}; + +export const HyperVReplicaAzureUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "HyperVReplicaAzureUnplannedFailoverInput", + modelProperties: { + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", type: { - name: "DateTime" + name: "String" } }, - lastUpdateReceivedTime: { - serializedName: "lastUpdateReceivedTime", + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", type: { - name: "DateTime" + name: "String" } }, - replicaId: { - serializedName: "replicaId", + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", type: { name: "String" } }, - osVersion: { - serializedName: "osVersion", + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } @@ -6555,89 +5993,89 @@ export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { } }; -export const InMageAzureV2ReprotectInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const HyperVReplicaAzureUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", type: { name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "InMageAzureV2ReprotectInput", + polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "HyperVReplicaAzureUpdateReplicationProtectedItemInput", modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - masterTargetId: { - serializedName: "masterTargetId", + ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, + recoveryAzureV1ResourceGroupId: { + serializedName: "recoveryAzureV1ResourceGroupId", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + recoveryAzureV2ResourceGroupId: { + serializedName: "recoveryAzureV2ResourceGroupId", type: { name: "String" } }, - storageAccountId: { - serializedName: "storageAccountId", + useManagedDisks: { + serializedName: "useManagedDisks", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + diskIdToDiskEncryptionMap: { + serializedName: "diskIdToDiskEncryptionMap", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - policyId: { - serializedName: "policyId", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } }, - logStorageAccountId: { - serializedName: "logStorageAccountId", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } - }, - disksToInclude: { - serializedName: "disksToInclude", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } } } } }; -export const InMageAzureV2UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const HyperVReplicaBaseEventDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaBaseEventDetails", type: { name: "Composite", - polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, - uberParent: "UpdateReplicationProtectedItemProviderInput", - className: "InMageAzureV2UpdateReplicationProtectedItemInput", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "HyperVReplicaBaseEventDetails", modelProperties: { - ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, - recoveryAzureV1ResourceGroupId: { - serializedName: "recoveryAzureV1ResourceGroupId", + ...EventProviderSpecificDetails.type.modelProperties, + containerName: { + serializedName: "containerName", type: { name: "String" } }, - recoveryAzureV2ResourceGroupId: { - serializedName: "recoveryAzureV2ResourceGroupId", + fabricName: { + serializedName: "fabricName", type: { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + remoteContainerName: { + serializedName: "remoteContainerName", + type: { + name: "String" + } + }, + remoteFabricName: { + serializedName: "remoteFabricName", type: { name: "String" } @@ -6646,128 +6084,71 @@ export const InMageAzureV2UpdateReplicationProtectedItemInput: msRest.CompositeM } }; -export const InMageBasePolicyDetails: msRest.CompositeMapper = { - serializedName: "InMageBasePolicyDetails", +export const HyperVReplicaBasePolicyDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaBasePolicyDetails", type: { name: "Composite", polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, uberParent: "PolicyProviderSpecificDetails", - className: "InMageBasePolicyDetails", + className: "HyperVReplicaBasePolicyDetails", modelProperties: { ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + recoveryPoints: { + serializedName: "recoveryPoints", type: { name: "Number" } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", 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", + compression: { + serializedName: "compression", type: { name: "String" } }, - diskName: { - serializedName: "diskName", + initialReplicationMethod: { + serializedName: "initialReplicationMethod", type: { name: "String" } }, - diskSizeInMB: { - serializedName: "diskSizeInMB", + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", type: { name: "String" } }, - diskType: { - serializedName: "diskType", + offlineReplicationImportPath: { + serializedName: "offlineReplicationImportPath", type: { name: "String" } }, - diskConfiguration: { - serializedName: "diskConfiguration", + offlineReplicationExportPath: { + serializedName: "offlineReplicationExportPath", type: { name: "String" } }, - volumeList: { - serializedName: "volumeList", + replicationPort: { + serializedName: "replicationPort", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiskVolumeDetails" - } - } + name: "Number" } - } - } - } -}; - -export const InMageVolumeExclusionOptions: msRest.CompositeMapper = { - serializedName: "InMageVolumeExclusionOptions", - type: { - name: "Composite", - className: "InMageVolumeExclusionOptions", - modelProperties: { - volumeLabel: { - serializedName: "volumeLabel", + }, + allowedAuthenticationType: { + serializedName: "allowedAuthenticationType", type: { - name: "String" + name: "Number" } }, - onlyExcludeIfSingleVolume: { - serializedName: "onlyExcludeIfSingleVolume", + replicaDeletionOption: { + serializedName: "replicaDeletionOption", type: { name: "String" } @@ -6776,48 +6157,66 @@ export const InMageVolumeExclusionOptions: msRest.CompositeMapper = { } }; -export const InMageDiskSignatureExclusionOptions: msRest.CompositeMapper = { - serializedName: "InMageDiskSignatureExclusionOptions", +export const HyperVReplicaBaseReplicationDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplicaBaseReplicationDetails", type: { name: "Composite", - className: "InMageDiskSignatureExclusionOptions", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "HyperVReplicaBaseReplicationDetails", modelProperties: { - diskSignature: { - serializedName: "diskSignature", + ...ReplicationProviderSpecificSettings.type.modelProperties, + lastReplicatedTime: { + serializedName: "lastReplicatedTime", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -export const InMageDiskExclusionInput: msRest.CompositeMapper = { - serializedName: "InMageDiskExclusionInput", - type: { - name: "Composite", - className: "InMageDiskExclusionInput", - modelProperties: { - volumeOptions: { - serializedName: "volumeOptions", + }, + vmNics: { + serializedName: "vmNics", type: { name: "Sequence", element: { type: { name: "Composite", - className: "InMageVolumeExclusionOptions" + className: "VMNicDetails" } } } }, - diskSignatureOptions: { - serializedName: "diskSignatureOptions", + 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: "InMageDiskSignatureExclusionOptions" + className: "DiskDetails" } } } @@ -6826,182 +6225,156 @@ export const InMageDiskExclusionInput: msRest.CompositeMapper = { } }; -export const InMageEnableProtectionInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const HyperVReplicaBluePolicyDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012R2", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "InMageEnableProtectionInput", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "HyperVReplicaBluePolicyDetails", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - vmFriendlyName: { - serializedName: "vmFriendlyName", + ...PolicyProviderSpecificDetails.type.modelProperties, + replicationFrequencyInSeconds: { + serializedName: "replicationFrequencyInSeconds", type: { - name: "String" + name: "Number" } }, - masterTargetId: { - required: true, - serializedName: "masterTargetId", + recoveryPoints: { + serializedName: "recoveryPoints", type: { - name: "String" + name: "Number" } }, - processServerId: { - required: true, - serializedName: "processServerId", + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", type: { - name: "String" + name: "Number" } }, - retentionDrive: { - required: true, - serializedName: "retentionDrive", + compression: { + serializedName: "compression", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + initialReplicationMethod: { + serializedName: "initialReplicationMethod", type: { name: "String" } }, - multiVmGroupId: { - required: true, - serializedName: "multiVmGroupId", + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", type: { name: "String" } }, - multiVmGroupName: { - required: true, - serializedName: "multiVmGroupName", + offlineReplicationImportPath: { + serializedName: "offlineReplicationImportPath", type: { name: "String" } }, - datastoreName: { - serializedName: "datastoreName", + offlineReplicationExportPath: { + serializedName: "offlineReplicationExportPath", type: { name: "String" } }, - diskExclusionInput: { - serializedName: "diskExclusionInput", + replicationPort: { + serializedName: "replicationPort", type: { - name: "Composite", - className: "InMageDiskExclusionInput" + name: "Number" } }, - disksToInclude: { - serializedName: "disksToInclude", + allowedAuthenticationType: { + serializedName: "allowedAuthenticationType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" + } + }, + replicaDeletionOption: { + serializedName: "replicaDeletionOption", + type: { + name: "String" } } } } }; -export const InMageFailoverProviderInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const HyperVReplicaBluePolicyInput: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012R2", type: { name: "Composite", - polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "ProviderSpecificFailoverInput", - className: "InMageFailoverProviderInput", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "HyperVReplicaBluePolicyInput", modelProperties: { - ...ProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { - serializedName: "recoveryPointType", + ...PolicyProviderSpecificInput.type.modelProperties, + replicationFrequencyInSeconds: { + serializedName: "replicationFrequencyInSeconds", type: { - name: "String" + name: "Number" } }, - recoveryPointId: { - serializedName: "recoveryPointId", + recoveryPoints: { + serializedName: "recoveryPoints", type: { - name: "String" + name: "Number" } - } - } - } -}; - -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", + }, + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", type: { name: "Number" } }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + compression: { + serializedName: "compression", type: { - name: "Number" + name: "String" } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + initialReplicationMethod: { + serializedName: "initialReplicationMethod", type: { - name: "Number" + name: "String" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", 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", + }, + offlineReplicationImportPath: { + serializedName: "offlineReplicationImportPath", type: { - name: "Number" + name: "String" } }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + offlineReplicationExportPath: { + serializedName: "offlineReplicationExportPath", + type: { + name: "String" + } + }, + replicationPort: { + serializedName: "replicationPort", type: { name: "Number" } }, - appConsistentFrequencyInMinutes: { - serializedName: "appConsistentFrequencyInMinutes", + allowedAuthenticationType: { + serializedName: "allowedAuthenticationType", type: { name: "Number" } }, - multiVmSyncStatus: { - required: true, - serializedName: "multiVmSyncStatus", + replicaDeletion: { + serializedName: "replicaDeletion", type: { name: "String" } @@ -7010,126 +6383,139 @@ export const InMagePolicyInput: msRest.CompositeMapper = { } }; -export const InMageProtectedDiskDetails: msRest.CompositeMapper = { - serializedName: "InMageProtectedDiskDetails", +export const HyperVReplicaBlueReplicationDetails: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012R2", type: { name: "Composite", - className: "InMageProtectedDiskDetails", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "HyperVReplicaBlueReplicationDetails", modelProperties: { - diskId: { - serializedName: "diskId", + ...ReplicationProviderSpecificSettings.type.modelProperties, + lastReplicatedTime: { + serializedName: "lastReplicatedTime", type: { - name: "String" + name: "DateTime" } }, - diskName: { - serializedName: "diskName", + vmNics: { + serializedName: "vmNics", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicDetails" + } + } } }, - protectionStage: { - serializedName: "protectionStage", + vmId: { + serializedName: "vmId", type: { name: "String" } }, - healthErrorCode: { - serializedName: "healthErrorCode", + vmProtectionState: { + serializedName: "vmProtectionState", type: { name: "String" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", - type: { - name: "Number" - } - }, - resyncRequired: { - serializedName: "resyncRequired", + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", type: { name: "String" } }, - resyncProgressPercentage: { - serializedName: "resyncProgressPercentage", + initialReplicationDetails: { + serializedName: "initialReplicationDetails", type: { - name: "Number" + name: "Composite", + className: "InitialReplicationDetails" } }, - resyncDurationInSeconds: { - serializedName: "resyncDurationInSeconds", + vMDiskDetails: { + serializedName: "vMDiskDetails", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskDetails" + } + } } - }, - diskCapacityInBytes: { - serializedName: "diskCapacityInBytes", + } + } + } +}; + +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" } }, - fileSystemCapacityInBytes: { - serializedName: "fileSystemCapacityInBytes", + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", type: { name: "Number" } }, - sourceDataInMB: { - serializedName: "sourceDataInMB", + compression: { + serializedName: "compression", type: { - name: "Number" + name: "String" } }, - psDataInMB: { - serializedName: "psDataInMB", + initialReplicationMethod: { + serializedName: "initialReplicationMethod", type: { - name: "Number" + name: "String" } }, - targetDataInMB: { - serializedName: "targetDataInMB", + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", type: { - name: "Number" + name: "String" } }, - diskResized: { - serializedName: "diskResized", + offlineReplicationImportPath: { + serializedName: "offlineReplicationImportPath", type: { name: "String" } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", + offlineReplicationExportPath: { + serializedName: "offlineReplicationExportPath", type: { - name: "DateTime" + name: "String" } - } - } - } -}; - -export const OSDiskDetails: msRest.CompositeMapper = { - serializedName: "OSDiskDetails", - type: { - name: "Composite", - className: "OSDiskDetails", - modelProperties: { - osVhdId: { - serializedName: "osVhdId", + }, + replicationPort: { + serializedName: "replicationPort", type: { - name: "String" + name: "Number" } }, - osType: { - serializedName: "osType", + allowedAuthenticationType: { + serializedName: "allowedAuthenticationType", type: { - name: "String" + name: "Number" } }, - vhdName: { - serializedName: "vhdName", + replicaDeletionOption: { + serializedName: "replicaDeletionOption", type: { name: "String" } @@ -7138,264 +6524,214 @@ export const OSDiskDetails: msRest.CompositeMapper = { } }; -export const InMageReplicationDetails: msRest.CompositeMapper = { - serializedName: "InMage", +export const HyperVReplicaPolicyInput: msRest.CompositeMapper = { + serializedName: "HyperVReplica2012", type: { name: "Composite", - polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, - uberParent: "ReplicationProviderSpecificSettings", - className: "InMageReplicationDetails", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "HyperVReplicaPolicyInput", modelProperties: { - ...ReplicationProviderSpecificSettings.type.modelProperties, - activeSiteType: { - serializedName: "activeSiteType", - type: { - name: "String" - } - }, - sourceVmCpuCount: { - serializedName: "sourceVmCpuCount", + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPoints: { + serializedName: "recoveryPoints", type: { name: "Number" } }, - sourceVmRamSizeInMB: { - serializedName: "sourceVmRamSizeInMB", + applicationConsistentSnapshotFrequencyInHours: { + serializedName: "applicationConsistentSnapshotFrequencyInHours", type: { name: "Number" } }, - osDetails: { - serializedName: "osDetails", - type: { - name: "Composite", - className: "OSDiskDetails" - } - }, - protectionStage: { - serializedName: "protectionStage", + compression: { + serializedName: "compression", type: { name: "String" } }, - vmId: { - serializedName: "vmId", + initialReplicationMethod: { + serializedName: "initialReplicationMethod", type: { name: "String" } }, - vmProtectionState: { - serializedName: "vmProtectionState", + onlineReplicationStartTime: { + serializedName: "onlineReplicationStartTime", type: { name: "String" } }, - vmProtectionStateDescription: { - serializedName: "vmProtectionStateDescription", + offlineReplicationImportPath: { + serializedName: "offlineReplicationImportPath", type: { name: "String" } }, - resyncDetails: { - serializedName: "resyncDetails", - type: { - name: "Composite", - className: "InitialReplicationDetails" - } - }, - retentionWindowStart: { - serializedName: "retentionWindowStart", - type: { - name: "DateTime" - } - }, - retentionWindowEnd: { - serializedName: "retentionWindowEnd", - type: { - name: "DateTime" - } - }, - compressedDataRateInMB: { - serializedName: "compressedDataRateInMB", + offlineReplicationExportPath: { + serializedName: "offlineReplicationExportPath", type: { - name: "Number" + name: "String" } }, - uncompressedDataRateInMB: { - serializedName: "uncompressedDataRateInMB", + replicationPort: { + serializedName: "replicationPort", type: { name: "Number" } }, - rpoInSeconds: { - serializedName: "rpoInSeconds", + allowedAuthenticationType: { + serializedName: "allowedAuthenticationType", type: { name: "Number" } }, - protectedDisks: { - serializedName: "protectedDisks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InMageProtectedDiskDetails" - } - } - } - }, - ipAddress: { - serializedName: "ipAddress", + replicaDeletion: { + serializedName: "replicaDeletion", type: { name: "String" } - }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + } + } + } +}; + +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" } }, - processServerId: { - serializedName: "processServerId", - type: { - name: "String" - } - }, - masterTargetId: { - serializedName: "masterTargetId", - type: { - name: "String" - } - }, - consistencyPoints: { - serializedName: "consistencyPoints", + vmNics: { + serializedName: "vmNics", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "DateTime" + name: "Composite", + className: "VMNicDetails" } } } }, - diskResized: { - serializedName: "diskResized", - type: { - name: "String" - } - }, - rebootAfterUpdateStatus: { - serializedName: "rebootAfterUpdateStatus", - type: { - name: "String" - } - }, - multiVmGroupId: { - serializedName: "multiVmGroupId", + vmId: { + serializedName: "vmId", type: { name: "String" } }, - multiVmGroupName: { - serializedName: "multiVmGroupName", + vmProtectionState: { + serializedName: "vmProtectionState", type: { name: "String" } }, - multiVmSyncStatus: { - serializedName: "multiVmSyncStatus", + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", type: { name: "String" } }, - agentDetails: { - serializedName: "agentDetails", + initialReplicationDetails: { + serializedName: "initialReplicationDetails", type: { name: "Composite", - className: "InMageAgentDetails" - } - }, - vCenterInfrastructureId: { - serializedName: "vCenterInfrastructureId", - type: { - name: "String" - } - }, - infrastructureVmId: { - serializedName: "infrastructureVmId", - type: { - name: "String" + className: "InitialReplicationDetails" } }, - vmNics: { - serializedName: "vmNics", + vMDiskDetails: { + serializedName: "vMDiskDetails", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VMNicDetails" + className: "DiskDetails" } } } - }, - discoveryType: { - serializedName: "discoveryType", + } + } + } +}; + +export const HyperVSiteDetails: msRest.CompositeMapper = { + serializedName: "HyperVSite", + type: { + name: "Composite", + polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, + uberParent: "FabricSpecificDetails", + className: "HyperVSiteDetails", + modelProperties: { + ...FabricSpecificDetails.type.modelProperties + } + } +}; + +export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { + serializedName: "HyperVVirtualMachine", + type: { + name: "Composite", + polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, + uberParent: "ConfigurationSettings", + className: "HyperVVirtualMachineDetails", + modelProperties: { + ...ConfigurationSettings.type.modelProperties, + sourceItemId: { + serializedName: "sourceItemId", type: { name: "String" } }, - azureStorageAccountId: { - serializedName: "azureStorageAccountId", + generation: { + serializedName: "generation", type: { name: "String" } }, - datastores: { - serializedName: "datastores", + osDetails: { + serializedName: "osDetails", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "OSDetails" } }, - validationErrors: { - serializedName: "validationErrors", + diskDetails: { + serializedName: "diskDetails", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HealthError" + className: "DiskDetails" } } } }, - lastRpoCalculatedTime: { - serializedName: "lastRpoCalculatedTime", - type: { - name: "DateTime" - } - }, - lastUpdateReceivedTime: { - serializedName: "lastUpdateReceivedTime", + hasPhysicalDisk: { + serializedName: "hasPhysicalDisk", type: { - name: "DateTime" + name: "String" } }, - replicaId: { - serializedName: "replicaId", + hasFibreChannelAdapter: { + serializedName: "hasFibreChannelAdapter", type: { name: "String" } }, - osVersion: { - serializedName: "osVersion", + hasSharedVhd: { + serializedName: "hasSharedVhd", type: { name: "String" } @@ -7404,64 +6740,57 @@ export const InMageReplicationDetails: msRest.CompositeMapper = { } }; -export const InMageReprotectInput: msRest.CompositeMapper = { - serializedName: "InMage", +export const IdentityProviderDetails: msRest.CompositeMapper = { + serializedName: "IdentityProviderDetails", type: { name: "Composite", - polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "ReverseReplicationProviderSpecificInput", - className: "InMageReprotectInput", + className: "IdentityProviderDetails", modelProperties: { - ...ReverseReplicationProviderSpecificInput.type.modelProperties, - masterTargetId: { - required: true, - serializedName: "masterTargetId", + tenantId: { + serializedName: "tenantId", type: { name: "String" } }, - processServerId: { - required: true, - serializedName: "processServerId", + applicationId: { + serializedName: "applicationId", type: { name: "String" } }, - retentionDrive: { - required: true, - serializedName: "retentionDrive", + objectId: { + serializedName: "objectId", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", - type: { - name: "String" - } - }, - datastoreName: { - serializedName: "datastoreName", + audience: { + serializedName: "audience", type: { name: "String" } }, - diskExclusionInput: { - serializedName: "diskExclusionInput", - type: { - name: "Composite", - className: "InMageDiskExclusionInput" - } - }, - profileId: { - required: true, - serializedName: "profileId", + aadAuthority: { + serializedName: "aadAuthority", type: { name: "String" } - }, - disksToInclude: { - serializedName: "disksToInclude", + } + } + } +}; + +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: { @@ -7475,168 +6804,119 @@ export const InMageReprotectInput: msRest.CompositeMapper = { } }; -export const JobProperties: msRest.CompositeMapper = { - serializedName: "JobProperties", +export const InMageAgentDetails: msRest.CompositeMapper = { + serializedName: "InMageAgentDetails", type: { name: "Composite", - className: "JobProperties", + className: "InMageAgentDetails", modelProperties: { - activityId: { - serializedName: "activityId", - type: { - name: "String" - } - }, - scenarioName: { - serializedName: "scenarioName", - type: { - name: "String" - } - }, - friendlyName: { - serializedName: "friendlyName", + agentVersion: { + serializedName: "agentVersion", type: { name: "String" } }, - state: { - serializedName: "state", + agentUpdateStatus: { + serializedName: "agentUpdateStatus", type: { name: "String" } }, - stateDescription: { - serializedName: "stateDescription", + postUpdateRebootStatus: { + serializedName: "postUpdateRebootStatus", 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" - } - } - } - }, - startTime: { - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - serializedName: "endTime", + agentExpiryDate: { + serializedName: "agentExpiryDate", type: { name: "DateTime" } - }, - allowedActions: { - serializedName: "allowedActions", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - targetObjectId: { - serializedName: "targetObjectId", + } + } + } +}; + +export const InMageAgentVersionDetails: msRest.CompositeMapper = { + serializedName: "InMageAgentVersionDetails", + type: { + name: "Composite", + className: "InMageAgentVersionDetails", + modelProperties: { + postUpdateRebootStatus: { + serializedName: "postUpdateRebootStatus", type: { name: "String" } }, - targetObjectName: { - serializedName: "targetObjectName", + version: { + serializedName: "version", type: { name: "String" } }, - targetInstanceType: { - serializedName: "targetInstanceType", + expiryDate: { + serializedName: "expiryDate", type: { - name: "String" + name: "DateTime" } }, - customDetails: { - serializedName: "customDetails", + status: { + serializedName: "status", type: { - name: "Composite", - className: "JobDetails" + name: "String" } } } } }; -export const Job: msRest.CompositeMapper = { - serializedName: "Job", +export const InMageAzureV2ApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - className: "Job", + polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "InMageAzureV2ApplyRecoveryPointInput", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", type: { - name: "Composite", - className: "JobProperties" + name: "String" } } } } }; -export const JobQueryParameter: msRest.CompositeMapper = { - serializedName: "JobQueryParameter", +export const InMageAzureV2DiskInputDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2DiskInputDetails", type: { name: "Composite", - className: "JobQueryParameter", + className: "InMageAzureV2DiskInputDetails", modelProperties: { - startTime: { - serializedName: "startTime", - type: { - name: "String" - } - }, - endTime: { - serializedName: "endTime", + diskId: { + serializedName: "diskId", type: { name: "String" } }, - fabricId: { - serializedName: "fabricId", + logStorageAccountId: { + serializedName: "logStorageAccountId", type: { name: "String" } }, - affectedObjectTypes: { - serializedName: "affectedObjectTypes", + diskType: { + serializedName: "diskType", type: { name: "String" } }, - jobStatus: { - serializedName: "jobStatus", + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", type: { name: "String" } @@ -7645,89 +6925,125 @@ export const JobQueryParameter: msRest.CompositeMapper = { } }; -export const JobStatusEventDetails: msRest.CompositeMapper = { - serializedName: "JobStatus", +export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - polymorphicDiscriminator: EventSpecificDetails.type.polymorphicDiscriminator, - uberParent: "EventSpecificDetails", - className: "JobStatusEventDetails", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "InMageAzureV2EnableProtectionInput", modelProperties: { - ...EventSpecificDetails.type.modelProperties, - jobId: { - serializedName: "jobId", + ...EnableProtectionProviderSpecificInput.type.modelProperties, + masterTargetId: { + serializedName: "masterTargetId", type: { name: "String" } }, - jobFriendlyName: { - serializedName: "jobFriendlyName", + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - jobStatus: { - serializedName: "jobStatus", + storageAccountId: { + serializedName: "storageAccountId", type: { name: "String" } }, - affectedObjectType: { - serializedName: "affectedObjectType", + runAsAccountId: { + serializedName: "runAsAccountId", 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", + }, + multiVmGroupId: { + serializedName: "multiVmGroupId", type: { - name: "Composite", - className: "JobEntity" + name: "String" } - } - } - } -}; - -export const LogicalNetworkProperties: msRest.CompositeMapper = { - serializedName: "LogicalNetworkProperties", - type: { - name: "Composite", - className: "LogicalNetworkProperties", - modelProperties: { - friendlyName: { - serializedName: "friendlyName", + }, + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { name: "String" } }, - networkVirtualizationStatus: { - serializedName: "networkVirtualizationStatus", + disksToInclude: { + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageAzureV2DiskInputDetails" + } + } + } + }, + targetAzureNetworkId: { + serializedName: "targetAzureNetworkId", type: { name: "String" } }, - logicalNetworkUsage: { - serializedName: "logicalNetworkUsage", + targetAzureSubnetId: { + serializedName: "targetAzureSubnetId", type: { name: "String" } }, - logicalNetworkDefinitionsStatus: { - serializedName: "logicalNetworkDefinitionsStatus", + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", + type: { + name: "String" + } + }, + targetAzureVmName: { + serializedName: "targetAzureVmName", + type: { + name: "String" + } + }, + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + targetAzureV1ResourceGroupId: { + serializedName: "targetAzureV1ResourceGroupId", + type: { + name: "String" + } + }, + targetAzureV2ResourceGroupId: { + serializedName: "targetAzureV2ResourceGroupId", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + }, + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } @@ -7736,47 +7052,106 @@ export const LogicalNetworkProperties: msRest.CompositeMapper = { } }; -export const LogicalNetwork: msRest.CompositeMapper = { - serializedName: "LogicalNetwork", +export const InMageAzureV2EventDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - className: "LogicalNetwork", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "InMageAzureV2EventDetails", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...EventProviderSpecificDetails.type.modelProperties, + eventType: { + serializedName: "eventType", type: { - name: "Composite", - className: "LogicalNetworkProperties" + 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 ManualActionTaskDetails: msRest.CompositeMapper = { - serializedName: "ManualActionTaskDetails", +export const InMageAzureV2FailoverProviderInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "ManualActionTaskDetails", + polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificFailoverInput", + className: "InMageAzureV2FailoverProviderInput", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - name: { - serializedName: "name", + ...ProviderSpecificFailoverInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", type: { name: "String" } }, - instructions: { - serializedName: "instructions", + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2ManagedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2ManagedDiskDetails", + type: { + name: "Composite", + className: "InMageAzureV2ManagedDiskDetails", + modelProperties: { + diskId: { + serializedName: "diskId", type: { name: "String" } }, - observation: { - serializedName: "observation", + seedManagedDiskId: { + serializedName: "seedManagedDiskId", + type: { + name: "String" + } + }, + replicaDiskType: { + serializedName: "replicaDiskType", type: { name: "String" } @@ -7785,60 +7160,85 @@ export const ManualActionTaskDetails: msRest.CompositeMapper = { } }; -export const RetentionVolume: msRest.CompositeMapper = { - serializedName: "RetentionVolume", +export const InMageAzureV2PolicyDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - className: "RetentionVolume", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "InMageAzureV2PolicyDetails", modelProperties: { - volumeName: { - serializedName: "volumeName", + ...PolicyProviderSpecificDetails.type.modelProperties, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", type: { - name: "String" + name: "Number" } }, - capacityInBytes: { - serializedName: "capacityInBytes", + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", type: { name: "Number" } }, - freeSpaceInBytes: { - serializedName: "freeSpaceInBytes", + recoveryPointHistory: { + serializedName: "recoveryPointHistory", type: { name: "Number" } }, - thresholdPercentage: { - serializedName: "thresholdPercentage", + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { name: "Number" } + }, + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } } } } }; -export const VersionDetails: msRest.CompositeMapper = { - serializedName: "VersionDetails", +export const InMageAzureV2PolicyInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - className: "VersionDetails", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "InMageAzureV2PolicyInput", modelProperties: { - version: { - serializedName: "version", + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", type: { - name: "String" + name: "Number" } }, - expiryDate: { - serializedName: "expiryDate", + recoveryPointHistory: { + serializedName: "recoveryPointHistory", type: { - name: "DateTime" + name: "Number" } }, - status: { - serializedName: "status", + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + multiVmSyncStatus: { + required: true, + serializedName: "multiVmSyncStatus", type: { name: "String" } @@ -7847,170 +7247,117 @@ export const VersionDetails: msRest.CompositeMapper = { } }; -export const MasterTargetServer: msRest.CompositeMapper = { - serializedName: "MasterTargetServer", +export const InMageAzureV2ProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2ProtectedDiskDetails", type: { name: "Composite", - className: "MasterTargetServer", + className: "InMageAzureV2ProtectedDiskDetails", modelProperties: { - id: { - serializedName: "id", + diskId: { + serializedName: "diskId", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + diskName: { + serializedName: "diskName", type: { name: "String" } }, - name: { - serializedName: "name", + protectionStage: { + serializedName: "protectionStage", type: { name: "String" } }, - osType: { - serializedName: "osType", + healthErrorCode: { + serializedName: "healthErrorCode", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + rpoInSeconds: { + serializedName: "rpoInSeconds", type: { - name: "String" + name: "Number" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", - type: { - name: "DateTime" - } - }, - versionStatus: { - serializedName: "versionStatus", + resyncRequired: { + serializedName: "resyncRequired", type: { name: "String" } }, - retentionVolumes: { - serializedName: "retentionVolumes", + resyncProgressPercentage: { + serializedName: "resyncProgressPercentage", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RetentionVolume" - } - } + name: "Number" } }, - dataStores: { - serializedName: "dataStores", + resyncDurationInSeconds: { + serializedName: "resyncDurationInSeconds", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataStore" - } - } + name: "Number" } }, - validationErrors: { - serializedName: "validationErrors", + diskCapacityInBytes: { + serializedName: "diskCapacityInBytes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "Number" } }, - healthErrors: { - serializedName: "healthErrors", + fileSystemCapacityInBytes: { + serializedName: "fileSystemCapacityInBytes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "Number" } }, - diskCount: { - serializedName: "diskCount", + sourceDataInMegaBytes: { + serializedName: "sourceDataInMegaBytes", type: { name: "Number" } }, - osVersion: { - serializedName: "osVersion", + psDataInMegaBytes: { + serializedName: "psDataInMegaBytes", type: { - name: "String" + name: "Number" } }, - agentExpiryDate: { - serializedName: "agentExpiryDate", + targetDataInMegaBytes: { + serializedName: "targetDataInMegaBytes", type: { - name: "DateTime" + name: "Number" } }, - marsAgentVersion: { - serializedName: "marsAgentVersion", + diskResized: { + serializedName: "diskResized", type: { name: "String" } }, - marsAgentExpiryDate: { - serializedName: "marsAgentExpiryDate", + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", type: { name: "DateTime" } - }, - agentVersionDetails: { - serializedName: "agentVersionDetails", - type: { - name: "Composite", - className: "VersionDetails" - } - }, - marsAgentVersionDetails: { - serializedName: "marsAgentVersionDetails", - type: { - name: "Composite", - className: "VersionDetails" - } } } } }; -export const MobilityServiceUpdate: msRest.CompositeMapper = { - serializedName: "MobilityServiceUpdate", +export const InMageAzureV2RecoveryPointDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - className: "MobilityServiceUpdate", + polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "InMageAzureV2RecoveryPointDetails", modelProperties: { - version: { - serializedName: "version", - type: { - name: "String" - } - }, - rebootStatus: { - serializedName: "rebootStatus", - type: { - name: "String" - } - }, - osType: { - serializedName: "osType", + ...ProviderSpecificRecoveryPointDetails.type.modelProperties, + isMultiVmSyncPoint: { + serializedName: "isMultiVmSyncPoint", type: { name: "String" } @@ -8019,450 +7366,355 @@ export const MobilityServiceUpdate: msRest.CompositeMapper = { } }; -export const Subnet: msRest.CompositeMapper = { - serializedName: "Subnet", +export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - className: "Subnet", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageAzureV2ReplicationDetails", modelProperties: { - name: { - serializedName: "name", + ...ReplicationProviderSpecificSettings.type.modelProperties, + infrastructureVmId: { + serializedName: "infrastructureVmId", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + vCenterInfrastructureId: { + serializedName: "vCenterInfrastructureId", type: { name: "String" } }, - 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", + protectionStage: { + serializedName: "protectionStage", type: { name: "String" } }, - subnets: { - serializedName: "subnets", + vmId: { + serializedName: "vmId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Subnet" - } - } + name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + vmProtectionState: { + serializedName: "vmProtectionState", type: { name: "String" } }, - networkType: { - serializedName: "networkType", + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", type: { name: "String" } - } - } - } -}; - -export const Network: msRest.CompositeMapper = { - serializedName: "Network", - type: { - name: "Composite", - className: "Network", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + resyncProgressPercentage: { + serializedName: "resyncProgressPercentage", type: { - name: "Composite", - className: "NetworkProperties" + name: "Number" } - } - } - } -}; - -export const NetworkMappingProperties: msRest.CompositeMapper = { - serializedName: "NetworkMappingProperties", - type: { - name: "Composite", - className: "NetworkMappingProperties", - modelProperties: { - state: { - serializedName: "state", + }, + rpoInSeconds: { + serializedName: "rpoInSeconds", type: { - name: "String" + name: "Number" } }, - primaryNetworkFriendlyName: { - serializedName: "primaryNetworkFriendlyName", + compressedDataRateInMB: { + serializedName: "compressedDataRateInMB", type: { - name: "String" + name: "Number" } }, - primaryNetworkId: { - serializedName: "primaryNetworkId", + uncompressedDataRateInMB: { + serializedName: "uncompressedDataRateInMB", type: { - name: "String" + name: "Number" } }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - recoveryNetworkFriendlyName: { - serializedName: "recoveryNetworkFriendlyName", + agentVersion: { + serializedName: "agentVersion", type: { name: "String" } }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", + agentExpiryDate: { + serializedName: "agentExpiryDate", type: { - name: "String" + name: "DateTime" } }, - recoveryFabricArmId: { - serializedName: "recoveryFabricArmId", + isAgentUpdateRequired: { + serializedName: "isAgentUpdateRequired", type: { name: "String" } }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + isRebootAfterUpdateRequired: { + serializedName: "isRebootAfterUpdateRequired", type: { name: "String" } }, - 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", + lastHeartbeat: { + serializedName: "lastHeartbeat", type: { - name: "Composite", - className: "NetworkMappingProperties" + name: "DateTime" } - } - } - } -}; - -export const OperationsDiscovery: msRest.CompositeMapper = { - serializedName: "OperationsDiscovery", - type: { - name: "Composite", - className: "OperationsDiscovery", - modelProperties: { - name: { - serializedName: "name", + }, + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - display: { - serializedName: "display", + processServerName: { + readOnly: true, + serializedName: "processServerName", type: { - name: "Composite", - className: "Display" + name: "String" } }, - origin: { - serializedName: "origin", + multiVmGroupId: { + serializedName: "multiVmGroupId", type: { name: "String" } }, - properties: { - serializedName: "properties", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { - name: "Object" + name: "String" } - } - } - } -}; - -export const PlannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInputProperties", - type: { - name: "Composite", - className: "PlannedFailoverInputProperties", - modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", + }, + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + protectedDisks: { + serializedName: "protectedDisks", type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageAzureV2ProtectedDiskDetails" + } + } } - } - } - } -}; - -export const PlannedFailoverInput: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInput", - type: { - name: "Composite", - className: "PlannedFailoverInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + diskResized: { + serializedName: "diskResized", type: { - name: "Composite", - className: "PlannedFailoverInputProperties" + name: "String" } - } - } - } -}; - -export const PolicyProperties: msRest.CompositeMapper = { - serializedName: "PolicyProperties", - type: { - name: "Composite", - className: "PolicyProperties", - modelProperties: { - friendlyName: { - serializedName: "friendlyName", + }, + masterTargetId: { + serializedName: "masterTargetId", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + sourceVmCpuCount: { + serializedName: "sourceVmCpuCount", type: { - name: "Composite", - className: "PolicyProviderSpecificDetails" + name: "Number" } - } - } - } -}; - -export const Policy: msRest.CompositeMapper = { - serializedName: "Policy", - type: { - name: "Composite", - className: "Policy", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + sourceVmRamSizeInMB: { + serializedName: "sourceVmRamSizeInMB", type: { - name: "Composite", - className: "PolicyProperties" + name: "Number" } - } - } - } -}; - -export const ProcessServer: msRest.CompositeMapper = { - serializedName: "ProcessServer", - type: { - name: "Composite", - className: "ProcessServer", - modelProperties: { - friendlyName: { - serializedName: "friendlyName", + }, + osType: { + serializedName: "osType", type: { name: "String" } }, - id: { - serializedName: "id", + vhdName: { + serializedName: "vhdName", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + osDiskId: { + serializedName: "osDiskId", type: { name: "String" } }, - osType: { - serializedName: "osType", + azureVMDiskDetails: { + serializedName: "azureVMDiskDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureVmDiskDetails" + } + } + } + }, + recoveryAzureVMName: { + serializedName: "recoveryAzureVMName", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + recoveryAzureStorageAccount: { + serializedName: "recoveryAzureStorageAccount", type: { - name: "DateTime" + name: "String" } }, - versionStatus: { - serializedName: "versionStatus", + recoveryAzureLogStorageAccountId: { + serializedName: "recoveryAzureLogStorageAccountId", type: { name: "String" } }, - mobilityServiceUpdates: { - serializedName: "mobilityServiceUpdates", + vmNics: { + serializedName: "vmNics", type: { name: "Sequence", element: { type: { name: "Composite", - className: "MobilityServiceUpdate" + className: "VMNicDetails" } } } }, - hostId: { - serializedName: "hostId", + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", type: { name: "String" } }, - machineCount: { - serializedName: "machineCount", + selectedTfoAzureNetworkId: { + serializedName: "selectedTfoAzureNetworkId", type: { name: "String" } }, - replicationPairCount: { - serializedName: "replicationPairCount", + selectedSourceNicId: { + serializedName: "selectedSourceNicId", type: { name: "String" } }, - systemLoad: { - serializedName: "systemLoad", + discoveryType: { + serializedName: "discoveryType", type: { name: "String" } }, - systemLoadStatus: { - serializedName: "systemLoadStatus", + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", type: { name: "String" } }, - cpuLoad: { - serializedName: "cpuLoad", + datastores: { + serializedName: "datastores", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - cpuLoadStatus: { - serializedName: "cpuLoadStatus", + targetVmId: { + serializedName: "targetVmId", type: { name: "String" } }, - totalMemoryInBytes: { - serializedName: "totalMemoryInBytes", + recoveryAzureResourceGroupId: { + serializedName: "recoveryAzureResourceGroupId", type: { - name: "Number" + name: "String" } }, - availableMemoryInBytes: { - serializedName: "availableMemoryInBytes", + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { - name: "Number" + name: "String" } }, - memoryUsageStatus: { - serializedName: "memoryUsageStatus", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - totalSpaceInBytes: { - serializedName: "totalSpaceInBytes", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { - name: "Number" + name: "String" } }, - availableSpaceInBytes: { - serializedName: "availableSpaceInBytes", + useManagedDisks: { + serializedName: "useManagedDisks", type: { - name: "Number" + name: "String" } }, - spaceUsageStatus: { - serializedName: "spaceUsageStatus", + licenseType: { + serializedName: "licenseType", type: { name: "String" } }, - psServiceStatus: { - serializedName: "psServiceStatus", + validationErrors: { + serializedName: "validationErrors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } }, - sslCertExpiryDate: { - serializedName: "sslCertExpiryDate", + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", type: { name: "DateTime" } }, - sslCertExpiryRemainingDays: { - serializedName: "sslCertExpiryRemainingDays", + lastUpdateReceivedTime: { + serializedName: "lastUpdateReceivedTime", type: { - name: "Number" + name: "DateTime" + } + }, + replicaId: { + serializedName: "replicaId", + type: { + name: "String" } }, osVersion: { @@ -8471,78 +7723,69 @@ export const ProcessServer: msRest.CompositeMapper = { name: "String" } }, - healthErrors: { - serializedName: "healthErrors", + protectedManagedDisks: { + serializedName: "protectedManagedDisks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HealthError" + className: "InMageAzureV2ManagedDiskDetails" } } } - }, - agentExpiryDate: { - serializedName: "agentExpiryDate", - type: { - name: "DateTime" - } - }, - agentVersionDetails: { - serializedName: "agentVersionDetails", - type: { - name: "Composite", - className: "VersionDetails" - } } } } }; -export const ProtectableItemProperties: msRest.CompositeMapper = { - serializedName: "ProtectableItemProperties", +export const InMageAzureV2ReprotectInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - className: "ProtectableItemProperties", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "InMageAzureV2ReprotectInput", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + masterTargetId: { + serializedName: "masterTargetId", type: { name: "String" } }, - protectionStatus: { - serializedName: "protectionStatus", + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - replicationProtectedItemId: { - serializedName: "replicationProtectedItemId", + storageAccountId: { + serializedName: "storageAccountId", type: { name: "String" } }, - recoveryServicesProviderId: { - serializedName: "recoveryServicesProviderId", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } }, - protectionReadinessErrors: { - serializedName: "protectionReadinessErrors", + policyId: { + serializedName: "policyId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - supportedReplicationProviders: { - serializedName: "supportedReplicationProviders", + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + disksToInclude: { + serializedName: "disksToInclude", type: { name: "Sequence", element: { @@ -8551,44 +7794,53 @@ export const ProtectableItemProperties: msRest.CompositeMapper = { } } } - }, - customDetails: { - serializedName: "customDetails", - type: { - name: "Composite", - className: "ConfigurationSettings" - } } } } }; -export const ProtectableItem: msRest.CompositeMapper = { - serializedName: "ProtectableItem", +export const InMageAzureV2TestFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - className: "ProtectableItem", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "InMageAzureV2TestFailoverInput", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...TestFailoverProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", type: { - name: "Composite", - className: "ProtectableItemProperties" + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" } } } } }; -export const ProtectableItemQueryParameter: msRest.CompositeMapper = { - serializedName: "ProtectableItemQueryParameter", +export const InMageAzureV2UnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - className: "ProtectableItemQueryParameter", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "InMageAzureV2UnplannedFailoverInput", modelProperties: { - state: { - serializedName: "state", + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } @@ -8597,38 +7849,41 @@ export const ProtectableItemQueryParameter: msRest.CompositeMapper = { } }; -export const ProtectedItemsQueryParameter: msRest.CompositeMapper = { - serializedName: "ProtectedItemsQueryParameter", +export const InMageAzureV2UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", type: { name: "Composite", - className: "ProtectedItemsQueryParameter", + polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator, + uberParent: "UpdateReplicationProtectedItemProviderInput", + className: "InMageAzureV2UpdateReplicationProtectedItemInput", modelProperties: { - sourceFabricName: { - serializedName: "sourceFabricName", + ...UpdateReplicationProtectedItemProviderInput.type.modelProperties, + recoveryAzureV1ResourceGroupId: { + serializedName: "recoveryAzureV1ResourceGroupId", type: { name: "String" } }, - recoveryPlanName: { - serializedName: "recoveryPlanName", + recoveryAzureV2ResourceGroupId: { + serializedName: "recoveryAzureV2ResourceGroupId", type: { name: "String" } }, - vCenterName: { - serializedName: "vCenterName", + useManagedDisks: { + serializedName: "useManagedDisks", type: { name: "String" } }, - instanceType: { - serializedName: "instanceType", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } }, - multiVmGroupCreateOption: { - serializedName: "multiVmGroupCreateOption", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } @@ -8637,15 +7892,35 @@ export const ProtectedItemsQueryParameter: msRest.CompositeMapper = { } }; -export const ProtectionContainerFabricSpecificDetails: msRest.CompositeMapper = { - serializedName: "ProtectionContainerFabricSpecificDetails", +export const InMageBasePolicyDetails: msRest.CompositeMapper = { + serializedName: "InMageBasePolicyDetails", type: { name: "Composite", - className: "ProtectionContainerFabricSpecificDetails", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "InMageBasePolicyDetails", modelProperties: { - instanceType: { - readOnly: true, - serializedName: "instanceType", + ...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" } @@ -8654,185 +7929,265 @@ export const ProtectionContainerFabricSpecificDetails: msRest.CompositeMapper = } }; -export const ProtectionContainerProperties: msRest.CompositeMapper = { - serializedName: "ProtectionContainerProperties", +export const InMageDisableProtectionProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - className: "ProtectionContainerProperties", + polymorphicDiscriminator: DisableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "DisableProtectionProviderSpecificInput", + className: "InMageDisableProtectionProviderSpecificInput", modelProperties: { - fabricFriendlyName: { - serializedName: "fabricFriendlyName", + ...DisableProtectionProviderSpecificInput.type.modelProperties, + replicaVmDeletionStatus: { + serializedName: "replicaVmDeletionStatus", type: { name: "String" } - }, - friendlyName: { - serializedName: "friendlyName", + } + } + } +}; + +export const InMageDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageDiskDetails", + type: { + name: "Composite", + className: "InMageDiskDetails", + modelProperties: { + diskId: { + serializedName: "diskId", type: { name: "String" } }, - fabricType: { - serializedName: "fabricType", + diskName: { + serializedName: "diskName", type: { name: "String" } }, - protectedItemCount: { - serializedName: "protectedItemCount", + diskSizeInMB: { + serializedName: "diskSizeInMB", type: { - name: "Number" + name: "String" } }, - pairingStatus: { - serializedName: "pairingStatus", + diskType: { + serializedName: "diskType", type: { name: "String" } }, - role: { - serializedName: "role", + diskConfiguration: { + serializedName: "diskConfiguration", type: { name: "String" } }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", + volumeList: { + serializedName: "volumeList", type: { - name: "Composite", - className: "ProtectionContainerFabricSpecificDetails" - } - } - } - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskVolumeDetails" + } + } + } + } + } + } }; -export const ProtectionContainer: msRest.CompositeMapper = { - serializedName: "ProtectionContainer", +export const InMageVolumeExclusionOptions: msRest.CompositeMapper = { + serializedName: "InMageVolumeExclusionOptions", type: { name: "Composite", - className: "ProtectionContainer", + className: "InMageVolumeExclusionOptions", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + volumeLabel: { + serializedName: "volumeLabel", type: { - name: "Composite", - className: "ProtectionContainerProperties" + name: "String" + } + }, + onlyExcludeIfSingleVolume: { + serializedName: "onlyExcludeIfSingleVolume", + type: { + name: "String" } } } } }; -export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMappingProperties", +export const InMageDiskSignatureExclusionOptions: msRest.CompositeMapper = { + serializedName: "InMageDiskSignatureExclusionOptions", type: { name: "Composite", - className: "ProtectionContainerMappingProperties", + className: "InMageDiskSignatureExclusionOptions", modelProperties: { - targetProtectionContainerId: { - serializedName: "targetProtectionContainerId", + 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" + } + } + } }, - targetProtectionContainerFriendlyName: { - serializedName: "targetProtectionContainerFriendlyName", + 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" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + masterTargetId: { + required: true, + serializedName: "masterTargetId", type: { - name: "Composite", - className: "ProtectionContainerMappingProviderSpecificDetails" + name: "String" } }, - health: { - serializedName: "health", + processServerId: { + required: true, + serializedName: "processServerId", type: { name: "String" } }, - healthErrorDetails: { - serializedName: "healthErrorDetails", + retentionDrive: { + required: true, + serializedName: "retentionDrive", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } }, - policyId: { - serializedName: "policyId", + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } }, - state: { - serializedName: "state", + multiVmGroupId: { + required: true, + serializedName: "multiVmGroupId", type: { name: "String" } }, - sourceProtectionContainerFriendlyName: { - serializedName: "sourceProtectionContainerFriendlyName", + multiVmGroupName: { + required: true, + serializedName: "multiVmGroupName", type: { name: "String" } }, - sourceFabricFriendlyName: { - serializedName: "sourceFabricFriendlyName", + datastoreName: { + serializedName: "datastoreName", type: { name: "String" } }, - targetFabricFriendlyName: { - serializedName: "targetFabricFriendlyName", + diskExclusionInput: { + serializedName: "diskExclusionInput", type: { - name: "String" + name: "Composite", + className: "InMageDiskExclusionInput" } }, - policyFriendlyName: { - serializedName: "policyFriendlyName", + disksToInclude: { + serializedName: "disksToInclude", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const ProtectionContainerMapping: msRest.CompositeMapper = { - serializedName: "ProtectionContainerMapping", +export const InMageFailoverProviderInput: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", - className: "ProtectionContainerMapping", + polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificFailoverInput", + className: "InMageFailoverProviderInput", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...ProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", type: { - name: "Composite", - className: "ProtectionContainerMappingProperties" + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" } } } } }; -export const RcmAzureMigrationPolicyDetails: msRest.CompositeMapper = { - serializedName: "RcmAzureMigration", +export const InMagePolicyDetails: msRest.CompositeMapper = { + serializedName: "InMage", type: { name: "Composite", polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, uberParent: "PolicyProviderSpecificDetails", - className: "RcmAzureMigrationPolicyDetails", + className: "InMagePolicyDetails", modelProperties: { ...PolicyProviderSpecificDetails.type.modelProperties, recoveryPointThresholdInMinutes: { @@ -8858,166 +8213,222 @@ export const RcmAzureMigrationPolicyDetails: msRest.CompositeMapper = { 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" + } }, - crashConsistentFrequencyInMinutes: { - serializedName: "crashConsistentFrequencyInMinutes", + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", type: { name: "Number" } + }, + multiVmSyncStatus: { + required: true, + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } } } } }; -export const RecoveryPlanProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProperties", +export const InMageProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageProtectedDiskDetails", type: { name: "Composite", - className: "RecoveryPlanProperties", + className: "InMageProtectedDiskDetails", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + diskId: { + serializedName: "diskId", type: { name: "String" } }, - primaryFabricId: { - serializedName: "primaryFabricId", + diskName: { + serializedName: "diskName", type: { name: "String" } }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", + protectionStage: { + serializedName: "protectionStage", type: { name: "String" } }, - recoveryFabricId: { - serializedName: "recoveryFabricId", + healthErrorCode: { + serializedName: "healthErrorCode", type: { name: "String" } }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + rpoInSeconds: { + serializedName: "rpoInSeconds", type: { - name: "String" + name: "Number" } }, - failoverDeploymentModel: { - serializedName: "failoverDeploymentModel", + resyncRequired: { + serializedName: "resyncRequired", type: { name: "String" } }, - replicationProviders: { - serializedName: "replicationProviders", + resyncProgressPercentage: { + serializedName: "resyncProgressPercentage", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - allowedOperations: { - serializedName: "allowedOperations", + resyncDurationInSeconds: { + serializedName: "resyncDurationInSeconds", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - lastPlannedFailoverTime: { - serializedName: "lastPlannedFailoverTime", + diskCapacityInBytes: { + serializedName: "diskCapacityInBytes", type: { - name: "DateTime" + name: "Number" } }, - lastUnplannedFailoverTime: { - serializedName: "lastUnplannedFailoverTime", + fileSystemCapacityInBytes: { + serializedName: "fileSystemCapacityInBytes", type: { - name: "DateTime" + name: "Number" } }, - lastTestFailoverTime: { - serializedName: "lastTestFailoverTime", + sourceDataInMB: { + serializedName: "sourceDataInMB", type: { - name: "DateTime" + name: "Number" } }, - currentScenario: { - serializedName: "currentScenario", + psDataInMB: { + serializedName: "psDataInMB", type: { - name: "Composite", - className: "CurrentScenarioDetails" + name: "Number" } }, - currentScenarioStatus: { - serializedName: "currentScenarioStatus", + targetDataInMB: { + serializedName: "targetDataInMB", type: { - name: "String" + name: "Number" } }, - currentScenarioStatusDescription: { - serializedName: "currentScenarioStatusDescription", + diskResized: { + serializedName: "diskResized", type: { name: "String" } }, - groups: { - serializedName: "groups", + lastRpoCalculatedTime: { + serializedName: "lastRpoCalculatedTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanGroup" - } - } + name: "DateTime" } } } } }; -export const RecoveryPlan: msRest.CompositeMapper = { - serializedName: "RecoveryPlan", +export const InMageRcmAgentUpgradeBlockingErrorDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmAgentUpgradeBlockingErrorDetails", type: { name: "Composite", - className: "RecoveryPlan", + className: "InMageRcmAgentUpgradeBlockingErrorDetails", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + errorCode: { + readOnly: true, + serializedName: "errorCode", type: { - name: "Composite", - className: "RecoveryPlanProperties" + 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 RecoveryPlanProviderSpecificFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanProviderSpecificFailoverInput", +export const InMageRcmApplyRecoveryPointInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "instanceType", - clientName: "instanceType" - }, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanProviderSpecificFailoverInput", + polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ApplyRecoveryPointProviderSpecificInput", + className: "InMageRcmApplyRecoveryPointInput", modelProperties: { - instanceType: { - required: true, - serializedName: "instanceType", + ...ApplyRecoveryPointProviderSpecificInput.type.modelProperties, + recoveryPointId: { + serializedName: "recoveryPointId", type: { name: "String" } @@ -9026,30 +8437,32 @@ export const RecoveryPlanProviderSpecificFailoverInput: msRest.CompositeMapper = } }; -export const RecoveryPlanA2AFailoverInput: msRest.CompositeMapper = { - serializedName: "A2A", +export const InMageRcmDiskInput: msRest.CompositeMapper = { + serializedName: "InMageRcmDiskInput", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanA2AFailoverInput", + className: "InMageRcmDiskInput", modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - recoveryPointType: { - required: true, - serializedName: "recoveryPointType", + diskId: { + serializedName: "diskId", type: { name: "String" } }, - cloudServiceCreationOption: { - serializedName: "cloudServiceCreationOption", + logStorageAccountId: { + serializedName: "logStorageAccountId", type: { name: "String" } }, - multiVmSyncPointOption: { - serializedName: "multiVmSyncPointOption", + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + }, + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", type: { name: "String" } @@ -9058,30 +8471,26 @@ export const RecoveryPlanA2AFailoverInput: msRest.CompositeMapper = { } }; -export const RecoveryPlanAutomationRunbookActionDetails: msRest.CompositeMapper = { - serializedName: "AutomationRunbookActionDetails", +export const InMageRcmDisksDefaultInput: msRest.CompositeMapper = { + serializedName: "InMageRcmDisksDefaultInput", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanAutomationRunbookActionDetails", + className: "InMageRcmDisksDefaultInput", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - runbookId: { - serializedName: "runbookId", + logStorageAccountId: { + serializedName: "logStorageAccountId", type: { name: "String" } }, - timeout: { - serializedName: "timeout", + diskType: { + serializedName: "diskType", type: { name: "String" } }, - fabricLocation: { - required: true, - serializedName: "fabricLocation", + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", type: { name: "String" } @@ -9090,246 +8499,184 @@ export const RecoveryPlanAutomationRunbookActionDetails: msRest.CompositeMapper } }; -export const RecoveryPlanGroupTaskDetails: msRest.CompositeMapper = { - serializedName: "RecoveryPlanGroupTaskDetails", +export const InMageRcmEnableProtectionInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, - uberParent: "GroupTaskDetails", - className: "RecoveryPlanGroupTaskDetails", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "InMageRcmEnableProtectionInput", modelProperties: { - ...GroupTaskDetails.type.modelProperties, - name: { - serializedName: "name", + ...EnableProtectionProviderSpecificInput.type.modelProperties, + fabricDiscoveryMachineId: { + serializedName: "fabricDiscoveryMachineId", type: { name: "String" } }, - groupId: { - serializedName: "groupId", + disksToInclude: { + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmDiskInput" + } + } + } + }, + disksDefault: { + serializedName: "disksDefault", + type: { + name: "Composite", + className: "InMageRcmDisksDefaultInput" + } + }, + targetResourceGroupId: { + serializedName: "targetResourceGroupId", type: { name: "String" } }, - rpGroupType: { - serializedName: "rpGroupType", + targetNetworkId: { + serializedName: "targetNetworkId", type: { name: "String" } - } - } - } -}; - -export const RecoveryPlanHyperVReplicaAzureFailbackInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzureFailback", - type: { - name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanHyperVReplicaAzureFailbackInput", - modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - dataSyncOption: { - required: true, - serializedName: "dataSyncOption", + }, + testNetworkId: { + serializedName: "testNetworkId", type: { name: "String" } }, - recoveryVmCreationOption: { - required: true, - serializedName: "recoveryVmCreationOption", + targetSubnetName: { + serializedName: "targetSubnetName", type: { name: "String" } - } - } - } -}; - -export const RecoveryPlanHyperVReplicaAzureFailoverInput: msRest.CompositeMapper = { - serializedName: "HyperVReplicaAzure", - type: { - name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanHyperVReplicaAzureFailoverInput", - modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - required: true, - serializedName: "vaultLocation", + }, + testSubnetName: { + serializedName: "testSubnetName", type: { name: "String" } }, - primaryKekCertificatePfx: { - serializedName: "primaryKekCertificatePfx", + targetVmName: { + serializedName: "targetVmName", type: { name: "String" } }, - secondaryKekCertificatePfx: { - serializedName: "secondaryKekCertificatePfx", + targetVmSize: { + serializedName: "targetVmSize", type: { name: "String" } }, - recoveryPointType: { - serializedName: "recoveryPointType", + licenseType: { + serializedName: "licenseType", type: { name: "String" } - } - } - } -}; - -export const RecoveryPlanInMageAzureV2FailoverInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", - type: { - name: "Composite", - polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanProviderSpecificFailoverInput", - className: "RecoveryPlanInMageAzureV2FailoverInput", - modelProperties: { - ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, - vaultLocation: { - required: true, - serializedName: "vaultLocation", + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", type: { name: "String" } }, - recoveryPointType: { - required: true, - serializedName: "recoveryPointType", + targetAvailabilityZone: { + serializedName: "targetAvailabilityZone", type: { name: "String" } }, - useMultiVmSyncPoint: { - serializedName: "useMultiVmSyncPoint", + targetProximityPlacementGroupId: { + serializedName: "targetProximityPlacementGroupId", type: { name: "String" } - } - } - } -}; - -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", + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", type: { name: "String" } - } - } - } -}; - -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", + }, + runAsAccountId: { + serializedName: "runAsAccountId", type: { name: "String" } - } - } - } -}; - -export const RecoveryPlanPlannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanPlannedFailoverInputProperties", - type: { - name: "Composite", - className: "RecoveryPlanPlannedFailoverInputProperties", - modelProperties: { - failoverDirection: { - required: true, - serializedName: "failoverDirection", + }, + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + multiVmGroupName: { + serializedName: "multiVmGroupName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanProviderSpecificFailoverInput" - } - } + name: "String" } } } } }; -export const RecoveryPlanPlannedFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanPlannedFailoverInput", +export const InMageRcmEventDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - className: "RecoveryPlanPlannedFailoverInput", + polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventProviderSpecificDetails", + className: "InMageRcmEventDetails", modelProperties: { - properties: { - required: true, - serializedName: "properties", + ...EventProviderSpecificDetails.type.modelProperties, + protectedItemName: { + readOnly: true, + serializedName: "protectedItemName", type: { - name: "Composite", - className: "RecoveryPlanPlannedFailoverInputProperties" + name: "String" } } } } }; -export const RecoveryPlanScriptActionDetails: msRest.CompositeMapper = { - serializedName: "ScriptActionDetails", +export const InMageRcmFabricCreationInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", type: { name: "Composite", - polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, - uberParent: "RecoveryPlanActionDetails", - className: "RecoveryPlanScriptActionDetails", + polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreationInput", + className: "InMageRcmFabricCreationInput", modelProperties: { - ...RecoveryPlanActionDetails.type.modelProperties, - path: { - required: true, - serializedName: "path", + ...FabricSpecificCreationInput.type.modelProperties, + vmwareSiteId: { + serializedName: "vmwareSiteId", type: { name: "String" } }, - timeout: { - serializedName: "timeout", + physicalSiteId: { + serializedName: "physicalSiteId", type: { name: "String" } }, - fabricLocation: { - required: true, - serializedName: "fabricLocation", + sourceAgentIdentity: { + serializedName: "sourceAgentIdentity", + type: { + name: "Composite", + className: "IdentityProviderInput" + } + }, + authCertificate: { + serializedName: "authCertificate", type: { name: "String" } @@ -9338,165 +8685,198 @@ export const RecoveryPlanScriptActionDetails: msRest.CompositeMapper = { } }; -export const RecoveryPlanShutdownGroupTaskDetails: msRest.CompositeMapper = { - serializedName: "RecoveryPlanShutdownGroupTaskDetails", +export const ProcessServerDetails: msRest.CompositeMapper = { + serializedName: "ProcessServerDetails", type: { name: "Composite", - polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator, - uberParent: "GroupTaskDetails", - className: "RecoveryPlanShutdownGroupTaskDetails", + className: "ProcessServerDetails", modelProperties: { - ...GroupTaskDetails.type.modelProperties, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, name: { + readOnly: true, serializedName: "name", type: { name: "String" } }, - groupId: { - serializedName: "groupId", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - rpGroupType: { - serializedName: "rpGroupType", + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -export const RecoveryPlanTestFailoverCleanupInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverCleanupInputProperties", - type: { - name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInputProperties", - modelProperties: { - comments: { - serializedName: "comments", + }, + totalMemoryInBytes: { + readOnly: true, + serializedName: "totalMemoryInBytes", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const RecoveryPlanTestFailoverCleanupInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverCleanupInput", - type: { - name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInput", - modelProperties: { - properties: { - required: true, - serializedName: "properties", + }, + availableMemoryInBytes: { + readOnly: true, + serializedName: "availableMemoryInBytes", type: { - name: "Composite", - className: "RecoveryPlanTestFailoverCleanupInputProperties" + name: "Number" } - } - } - } -}; - -export const RecoveryPlanTestFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverInputProperties", - type: { - name: "Composite", - className: "RecoveryPlanTestFailoverInputProperties", - modelProperties: { - failoverDirection: { - required: true, - serializedName: "failoverDirection", + }, + usedMemoryInBytes: { + readOnly: true, + serializedName: "usedMemoryInBytes", type: { - name: "String" + name: "Number" } }, - networkType: { - required: true, - serializedName: "networkType", + memoryUsagePercentage: { + readOnly: true, + serializedName: "memoryUsagePercentage", type: { - name: "String" + name: "Number" } }, - networkId: { - serializedName: "networkId", + totalSpaceInBytes: { + readOnly: true, + serializedName: "totalSpaceInBytes", type: { - name: "String" + name: "Number" } }, - skipTestFailoverCleanup: { - serializedName: "skipTestFailoverCleanup", + availableSpaceInBytes: { + readOnly: true, + serializedName: "availableSpaceInBytes", + type: { + name: "Number" + } + }, + usedSpaceInBytes: { + readOnly: true, + serializedName: "usedSpaceInBytes", + type: { + name: "Number" + } + }, + freeSpacePercentage: { + readOnly: true, + serializedName: "freeSpacePercentage", + type: { + name: "Number" + } + }, + throughputUploadPendingDataInBytes: { + readOnly: true, + serializedName: "throughputUploadPendingDataInBytes", + type: { + name: "Number" + } + }, + throughputInBytes: { + readOnly: true, + serializedName: "throughputInBytes", + type: { + name: "Number" + } + }, + processorUsagePercentage: { + readOnly: true, + serializedName: "processorUsagePercentage", + type: { + name: "Number" + } + }, + health: { + readOnly: true, + serializedName: "health", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + healthErrors: { + readOnly: true, + serializedName: "healthErrors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecoveryPlanProviderSpecificFailoverInput" + className: "HealthError" } } } - } - } - } -}; - -export const RecoveryPlanTestFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanTestFailoverInput", - type: { - name: "Composite", - className: "RecoveryPlanTestFailoverInput", - modelProperties: { - properties: { - required: true, - serializedName: "properties", + }, + historicHealth: { + readOnly: true, + serializedName: "historicHealth", type: { - name: "Composite", - className: "RecoveryPlanTestFailoverInputProperties" + name: "String" } } } } }; -export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPlanUnplannedFailoverInputProperties", +export const RcmProxyDetails: msRest.CompositeMapper = { + serializedName: "RcmProxyDetails", type: { name: "Composite", - className: "RecoveryPlanUnplannedFailoverInputProperties", + className: "RcmProxyDetails", modelProperties: { - failoverDirection: { - required: true, - serializedName: "failoverDirection", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - sourceSiteOperations: { - required: true, - serializedName: "sourceSiteOperations", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + 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: "RecoveryPlanProviderSpecificFailoverInput" + className: "HealthError" } } } @@ -9505,150 +8885,166 @@ export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMappe } }; -export const RecoveryPlanUnplannedFailoverInput: msRest.CompositeMapper = { - serializedName: "RecoveryPlanUnplannedFailoverInput", +export const PushInstallerDetails: msRest.CompositeMapper = { + serializedName: "PushInstallerDetails", type: { name: "Composite", - className: "RecoveryPlanUnplannedFailoverInput", + className: "PushInstallerDetails", modelProperties: { - properties: { - required: true, - serializedName: "properties", + id: { + readOnly: true, + serializedName: "id", type: { - name: "Composite", - className: "RecoveryPlanUnplannedFailoverInputProperties" + name: "String" } - } - } - } -}; - -export const RecoveryPointProperties: msRest.CompositeMapper = { - serializedName: "RecoveryPointProperties", - type: { - name: "Composite", - className: "RecoveryPointProperties", - modelProperties: { - recoveryPointTime: { - serializedName: "recoveryPointTime", + }, + name: { + readOnly: true, + serializedName: "name", type: { - name: "DateTime" + name: "String" } }, - recoveryPointType: { - serializedName: "recoveryPointType", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", type: { - name: "Composite", - className: "ProviderSpecificRecoveryPointDetails" + name: "DateTime" } - } - } - } -}; - -export const RecoveryPoint: msRest.CompositeMapper = { - serializedName: "RecoveryPoint", - type: { - name: "Composite", - className: "RecoveryPoint", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + health: { + readOnly: true, + serializedName: "health", type: { - name: "Composite", - className: "RecoveryPointProperties" + name: "String" + } + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } } } } }; -export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { - serializedName: "RecoveryServicesProviderProperties", +export const ReplicationAgentDetails: msRest.CompositeMapper = { + serializedName: "ReplicationAgentDetails", type: { name: "Composite", - className: "RecoveryServicesProviderProperties", + className: "ReplicationAgentDetails", modelProperties: { - fabricType: { - serializedName: "fabricType", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - providerVersion: { - serializedName: "providerVersion", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - serverVersion: { - serializedName: "serverVersion", + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", type: { - name: "String" + name: "DateTime" } }, - providerVersionState: { - serializedName: "providerVersionState", + health: { + readOnly: true, + serializedName: "health", type: { name: "String" } }, - providerVersionExpiryDate: { - serializedName: "providerVersionExpiryDate", + healthErrors: { + readOnly: true, + serializedName: "healthErrors", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } } - }, - fabricFriendlyName: { - serializedName: "fabricFriendlyName", + } + } + } +}; + +export const ReprotectAgentDetails: msRest.CompositeMapper = { + serializedName: "ReprotectAgentDetails", + type: { + name: "Composite", + className: "ReprotectAgentDetails", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - lastHeartBeat: { - serializedName: "lastHeartBeat", + name: { + readOnly: true, + serializedName: "name", type: { - name: "DateTime" + name: "String" } }, - connectionStatus: { - serializedName: "connectionStatus", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - protectedItemCount: { - serializedName: "protectedItemCount", + lastHeartbeatUtc: { + readOnly: true, + serializedName: "lastHeartbeatUtc", type: { - name: "Number" + name: "DateTime" } }, - allowedScenarios: { - serializedName: "allowedScenarios", + health: { + readOnly: true, + serializedName: "health", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - healthErrorDetails: { - serializedName: "healthErrorDetails", + healthErrors: { + readOnly: true, + serializedName: "healthErrors", type: { name: "Sequence", element: { @@ -9658,107 +9054,5344 @@ export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { } } } + } + } + } +}; + +export const InMageRcmFabricSpecificDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, + uberParent: "FabricSpecificDetails", + className: "InMageRcmFabricSpecificDetails", + modelProperties: { + ...FabricSpecificDetails.type.modelProperties, + vmwareSiteId: { + readOnly: true, + serializedName: "vmwareSiteId", + type: { + name: "String" + } }, - draIdentifier: { - serializedName: "draIdentifier", + physicalSiteId: { + readOnly: true, + serializedName: "physicalSiteId", type: { name: "String" } }, - identityDetails: { - serializedName: "identityDetails", + serviceEndpoint: { + readOnly: true, + serializedName: "serviceEndpoint", type: { - name: "Composite", - className: "IdentityInformation" + name: "String" } }, - providerVersionDetails: { - serializedName: "providerVersionDetails", + serviceResourceId: { + readOnly: true, + serializedName: "serviceResourceId", type: { - name: "Composite", - className: "VersionDetails" + name: "String" } - } - } + }, + serviceContainerId: { + readOnly: true, + serializedName: "serviceContainerId", + type: { + name: "String" + } + }, + dataPlaneUri: { + readOnly: true, + serializedName: "dataPlaneUri", + type: { + name: "String" + } + }, + controlPlaneUri: { + readOnly: true, + serializedName: "controlPlaneUri", + type: { + name: "String" + } + }, + processServers: { + readOnly: true, + serializedName: "processServers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ProcessServerDetails" + } + } + } + }, + rcmProxies: { + readOnly: true, + serializedName: "rcmProxies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RcmProxyDetails" + } + } + } + }, + pushInstallers: { + readOnly: true, + serializedName: "pushInstallers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PushInstallerDetails" + } + } + } + }, + replicationAgents: { + readOnly: true, + serializedName: "replicationAgents", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationAgentDetails" + } + } + } + }, + reprotectAgents: { + readOnly: true, + serializedName: "reprotectAgents", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReprotectAgentDetails" + } + } + } + }, + dras: { + readOnly: true, + serializedName: "dras", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DraDetails" + } + } + } + }, + agentDetails: { + readOnly: true, + serializedName: "agentDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AgentDetails" + } + } + } + } + } + } +}; + +export const InMageRcmLastAgentUpgradeErrorDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmLastAgentUpgradeErrorDetails", + type: { + name: "Composite", + className: "InMageRcmLastAgentUpgradeErrorDetails", + modelProperties: { + errorCode: { + readOnly: true, + serializedName: "errorCode", + type: { + name: "String" + } + }, + errorMessage: { + readOnly: true, + serializedName: "errorMessage", + type: { + name: "String" + } + }, + possibleCauses: { + readOnly: true, + serializedName: "possibleCauses", + type: { + name: "String" + } + }, + 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 InMageRcmMobilityAgentDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmMobilityAgentDetails", + type: { + name: "Composite", + className: "InMageRcmMobilityAgentDetails", + modelProperties: { + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + latestVersion: { + readOnly: true, + serializedName: "latestVersion", + type: { + name: "String" + } + }, + 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 InMageRcmNicDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmNicDetails", + type: { + name: "Composite", + className: "InMageRcmNicDetails", + modelProperties: { + nicId: { + readOnly: true, + serializedName: "nicId", + type: { + name: "String" + } + }, + isPrimaryNic: { + readOnly: true, + serializedName: "isPrimaryNic", + type: { + name: "String" + } + }, + isSelectedForFailover: { + readOnly: true, + serializedName: "isSelectedForFailover", + type: { + name: "String" + } + }, + sourceIPAddress: { + readOnly: true, + serializedName: "sourceIPAddress", + type: { + name: "String" + } + }, + sourceIPAddressType: { + readOnly: true, + serializedName: "sourceIPAddressType", + type: { + name: "String" + } + }, + sourceNetworkId: { + readOnly: true, + serializedName: "sourceNetworkId", + type: { + name: "String" + } + }, + sourceSubnetName: { + readOnly: true, + serializedName: "sourceSubnetName", + type: { + name: "String" + } + }, + targetIPAddress: { + readOnly: true, + serializedName: "targetIPAddress", + type: { + name: "String" + } + }, + targetIPAddressType: { + readOnly: true, + serializedName: "targetIPAddressType", + type: { + name: "String" + } + }, + targetSubnetName: { + readOnly: true, + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + testSubnetName: { + readOnly: true, + serializedName: "testSubnetName", + type: { + name: "String" + } + }, + testIPAddress: { + readOnly: true, + serializedName: "testIPAddress", + type: { + name: "String" + } + }, + testIPAddressType: { + readOnly: true, + serializedName: "testIPAddressType", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmNicInput: msRest.CompositeMapper = { + serializedName: "InMageRcmNicInput", + type: { + name: "Composite", + className: "InMageRcmNicInput", + modelProperties: { + nicId: { + serializedName: "nicId", + type: { + name: "String" + } + }, + isPrimaryNic: { + serializedName: "isPrimaryNic", + type: { + name: "String" + } + }, + isSelectedForFailover: { + serializedName: "isSelectedForFailover", + type: { + name: "String" + } + }, + targetSubnetName: { + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + targetStaticIPAddress: { + serializedName: "targetStaticIPAddress", + type: { + name: "String" + } + }, + testSubnetName: { + serializedName: "testSubnetName", + type: { + name: "String" + } + }, + testStaticIPAddress: { + serializedName: "testStaticIPAddress", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmPolicyCreationInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificInput", + className: "InMageRcmPolicyCreationInput", + modelProperties: { + ...PolicyProviderSpecificInput.type.modelProperties, + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", + type: { + name: "Number" + } + }, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + enableMultiVmSync: { + serializedName: "enableMultiVmSync", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmPolicyDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "InMageRcmPolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointHistoryInMinutes: { + readOnly: true, + serializedName: "recoveryPointHistoryInMinutes", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + readOnly: true, + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + crashConsistentFrequencyInMinutes: { + readOnly: true, + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + enableMultiVmSync: { + readOnly: true, + serializedName: "enableMultiVmSync", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageRcmProtectedDiskDetails", + type: { + name: "Composite", + className: "InMageRcmProtectedDiskDetails", + 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" + } + }, + logStorageAccountId: { + readOnly: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + diskEncryptionSetId: { + readOnly: true, + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + }, + seedManagedDiskId: { + readOnly: true, + serializedName: "seedManagedDiskId", + type: { + name: "String" + } + }, + targetManagedDiskId: { + readOnly: true, + serializedName: "targetManagedDiskId", + type: { + name: "String" + } + }, + diskType: { + readOnly: true, + serializedName: "diskType", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmRecoveryPointDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator, + uberParent: "ProviderSpecificRecoveryPointDetails", + className: "InMageRcmRecoveryPointDetails", + modelProperties: { + ...ProviderSpecificRecoveryPointDetails.type.modelProperties, + isMultiVmSyncPoint: { + readOnly: true, + serializedName: "isMultiVmSyncPoint", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageRcmReplicationDetails", + modelProperties: { + ...ReplicationProviderSpecificSettings.type.modelProperties, + internalIdentifier: { + readOnly: true, + serializedName: "internalIdentifier", + type: { + name: "String" + } + }, + fabricDiscoveryMachineId: { + readOnly: true, + serializedName: "fabricDiscoveryMachineId", + type: { + name: "String" + } + }, + multiVmGroupName: { + readOnly: true, + serializedName: "multiVmGroupName", + type: { + name: "String" + } + }, + discoveryType: { + readOnly: true, + serializedName: "discoveryType", + type: { + name: "String" + } + }, + processServerId: { + readOnly: true, + serializedName: "processServerId", + type: { + name: "String" + } + }, + processorCoreCount: { + readOnly: true, + serializedName: "processorCoreCount", + type: { + name: "Number" + } + }, + allocatedMemoryInMB: { + readOnly: true, + serializedName: "allocatedMemoryInMB", + type: { + name: "Number" + } + }, + processServerName: { + readOnly: true, + serializedName: "processServerName", + type: { + name: "String" + } + }, + runAsAccountId: { + readOnly: true, + serializedName: "runAsAccountId", + type: { + name: "String" + } + }, + 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: { + readOnly: true, + serializedName: "licenseType", + type: { + name: "String" + } + }, + targetVmName: { + readOnly: true, + serializedName: "targetVmName", + type: { + name: "String" + } + }, + targetVmSize: { + readOnly: true, + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + targetResourceGroupId: { + readOnly: true, + serializedName: "targetResourceGroupId", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + readOnly: true, + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetAvailabilityZone: { + readOnly: true, + serializedName: "targetAvailabilityZone", + type: { + name: "String" + } + }, + targetProximityPlacementGroupId: { + readOnly: true, + serializedName: "targetProximityPlacementGroupId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + readOnly: true, + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + targetNetworkId: { + readOnly: true, + serializedName: "targetNetworkId", + type: { + name: "String" + } + }, + testNetworkId: { + readOnly: true, + serializedName: "testNetworkId", + type: { + name: "String" + } + }, + failoverRecoveryPointId: { + readOnly: true, + serializedName: "failoverRecoveryPointId", + type: { + name: "String" + } + }, + lastRecoveryPointReceived: { + readOnly: true, + serializedName: "lastRecoveryPointReceived", + type: { + name: "DateTime" + } + }, + lastRpoInSeconds: { + readOnly: true, + serializedName: "lastRpoInSeconds", + type: { + name: "Number" + } + }, + lastRpoCalculatedTime: { + readOnly: true, + serializedName: "lastRpoCalculatedTime", + type: { + name: "DateTime" + } + }, + lastRecoveryPointId: { + readOnly: true, + serializedName: "lastRecoveryPointId", + type: { + name: "String" + } + }, + initialReplicationProgressPercentage: { + readOnly: true, + serializedName: "initialReplicationProgressPercentage", + type: { + name: "Number" + } + }, + initialReplicationProcessedBytes: { + readOnly: true, + serializedName: "initialReplicationProcessedBytes", + type: { + name: "Number" + } + }, + initialReplicationTransferredBytes: { + readOnly: true, + serializedName: "initialReplicationTransferredBytes", + type: { + name: "Number" + } + }, + resyncProgressPercentage: { + readOnly: true, + serializedName: "resyncProgressPercentage", + type: { + name: "Number" + } + }, + resyncProcessedBytes: { + readOnly: true, + serializedName: "resyncProcessedBytes", + type: { + name: "Number" + } + }, + resyncTransferredBytes: { + readOnly: true, + serializedName: "resyncTransferredBytes", + type: { + name: "Number" + } + }, + resyncRequired: { + readOnly: true, + serializedName: "resyncRequired", + type: { + name: "String" + } + }, + resyncState: { + readOnly: true, + serializedName: "resyncState", + type: { + name: "String" + } + }, + agentUpgradeState: { + readOnly: true, + serializedName: "agentUpgradeState", + type: { + name: "String" + } + }, + lastAgentUpgradeType: { + readOnly: true, + serializedName: "lastAgentUpgradeType", + type: { + name: "String" + } + }, + lastAgentUpgradeFailedJobId: { + readOnly: true, + serializedName: "lastAgentUpgradeFailedJobId", + type: { + name: "String" + } + }, + protectedDisks: { + readOnly: true, + serializedName: "protectedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmProtectedDiskDetails" + } + } + } + }, + isLastUpgradeSuccessful: { + readOnly: true, + serializedName: "isLastUpgradeSuccessful", + type: { + name: "String" + } + }, + mobilityAgentDetails: { + readOnly: true, + serializedName: "mobilityAgentDetails", + type: { + name: "Composite", + className: "InMageRcmMobilityAgentDetails" + } + }, + lastAgentUpgradeErrorDetails: { + readOnly: true, + serializedName: "lastAgentUpgradeErrorDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmLastAgentUpgradeErrorDetails" + } + } + } + }, + agentUpgradeBlockingErrorDetails: { + readOnly: true, + serializedName: "agentUpgradeBlockingErrorDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmAgentUpgradeBlockingErrorDetails" + } + } + } + }, + vmNics: { + readOnly: true, + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmNicDetails" + } + } + } + } + } + } +}; + +export const InMageRcmTestFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: TestFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestFailoverProviderSpecificInput", + className: "InMageRcmTestFailoverInput", + modelProperties: { + ...TestFailoverProviderSpecificInput.type.modelProperties, + networkId: { + serializedName: "networkId", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageRcmUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "InMageRcmUnplannedFailoverInput", + modelProperties: { + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + performShutdown: { + serializedName: "performShutdown", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +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" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + targetResourceGroupId: { + serializedName: "targetResourceGroupId", + 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" + } + }, + targetNetworkId: { + serializedName: "targetNetworkId", + type: { + name: "String" + } + }, + testNetworkId: { + serializedName: "testNetworkId", + type: { + name: "String" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageRcmNicInput" + } + } + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + } + } + } +}; + +export const OSDiskDetails: msRest.CompositeMapper = { + serializedName: "OSDiskDetails", + type: { + name: "Composite", + className: "OSDiskDetails", + modelProperties: { + osVhdId: { + serializedName: "osVhdId", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + vhdName: { + serializedName: "vhdName", + type: { + name: "String" + } + } + } + } +}; + +export const InMageReplicationDetails: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificSettings", + className: "InMageReplicationDetails", + modelProperties: { + ...ReplicationProviderSpecificSettings.type.modelProperties, + activeSiteType: { + serializedName: "activeSiteType", + type: { + name: "String" + } + }, + sourceVmCpuCount: { + serializedName: "sourceVmCpuCount", + type: { + name: "Number" + } + }, + sourceVmRamSizeInMB: { + serializedName: "sourceVmRamSizeInMB", + type: { + name: "Number" + } + }, + osDetails: { + serializedName: "osDetails", + type: { + name: "Composite", + className: "OSDiskDetails" + } + }, + protectionStage: { + serializedName: "protectionStage", + type: { + name: "String" + } + }, + vmId: { + serializedName: "vmId", + type: { + name: "String" + } + }, + vmProtectionState: { + serializedName: "vmProtectionState", + type: { + name: "String" + } + }, + vmProtectionStateDescription: { + serializedName: "vmProtectionStateDescription", + type: { + name: "String" + } + }, + resyncDetails: { + serializedName: "resyncDetails", + type: { + name: "Composite", + className: "InitialReplicationDetails" + } + }, + retentionWindowStart: { + serializedName: "retentionWindowStart", + type: { + name: "DateTime" + } + }, + retentionWindowEnd: { + serializedName: "retentionWindowEnd", + type: { + name: "DateTime" + } + }, + compressedDataRateInMB: { + serializedName: "compressedDataRateInMB", + type: { + name: "Number" + } + }, + uncompressedDataRateInMB: { + serializedName: "uncompressedDataRateInMB", + type: { + name: "Number" + } + }, + rpoInSeconds: { + serializedName: "rpoInSeconds", + type: { + name: "Number" + } + }, + protectedDisks: { + serializedName: "protectedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageProtectedDiskDetails" + } + } + } + }, + ipAddress: { + serializedName: "ipAddress", + type: { + name: "String" + } + }, + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + processServerId: { + serializedName: "processServerId", + type: { + name: "String" + } + }, + masterTargetId: { + serializedName: "masterTargetId", + type: { + name: "String" + } + }, + consistencyPoints: { + serializedName: "consistencyPoints", + type: { + name: "Dictionary", + value: { + type: { + name: "DateTime" + } + } + } + }, + diskResized: { + serializedName: "diskResized", + type: { + name: "String" + } + }, + rebootAfterUpdateStatus: { + serializedName: "rebootAfterUpdateStatus", + type: { + name: "String" + } + }, + multiVmGroupId: { + serializedName: "multiVmGroupId", + type: { + name: "String" + } + }, + multiVmGroupName: { + serializedName: "multiVmGroupName", + type: { + name: "String" + } + }, + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } + }, + agentDetails: { + serializedName: "agentDetails", + type: { + name: "Composite", + className: "InMageAgentDetails" + } + }, + vCenterInfrastructureId: { + serializedName: "vCenterInfrastructureId", + type: { + name: "String" + } + }, + infrastructureVmId: { + serializedName: "infrastructureVmId", + type: { + name: "String" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicDetails" + } + } + } + }, + discoveryType: { + serializedName: "discoveryType", + type: { + name: "String" + } + }, + azureStorageAccountId: { + serializedName: "azureStorageAccountId", + type: { + name: "String" + } + }, + datastores: { + serializedName: "datastores", + type: { + name: "Sequence", + element: { + 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" + } + } + } + } +}; + +export const InMageReprotectInput: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "ReverseReplicationProviderSpecificInput", + className: "InMageReprotectInput", + modelProperties: { + ...ReverseReplicationProviderSpecificInput.type.modelProperties, + 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" + } + }, + datastoreName: { + serializedName: "datastoreName", + type: { + name: "String" + } + }, + diskExclusionInput: { + serializedName: "diskExclusionInput", + type: { + name: "Composite", + className: "InMageDiskExclusionInput" + } + }, + profileId: { + required: true, + serializedName: "profileId", + type: { + name: "String" + } + }, + disksToInclude: { + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const 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: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const InMageUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "InMage", + type: { + name: "Composite", + polymorphicDiscriminator: UnplannedFailoverProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UnplannedFailoverProviderSpecificInput", + className: "InMageUnplannedFailoverInput", + modelProperties: { + ...UnplannedFailoverProviderSpecificInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", + type: { + name: "String" + } + }, + recoveryPointId: { + serializedName: "recoveryPointId", + type: { + name: "String" + } + } + } + } +}; + +export const JobProperties: msRest.CompositeMapper = { + serializedName: "JobProperties", + type: { + name: "Composite", + className: "JobProperties", + modelProperties: { + activityId: { + serializedName: "activityId", + type: { + name: "String" + } + }, + scenarioName: { + serializedName: "scenarioName", + type: { + name: "String" + } + }, + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + state: { + serializedName: "state", + type: { + name: "String" + } + }, + stateDescription: { + serializedName: "stateDescription", + 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" + } + } + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + allowedActions: { + serializedName: "allowedActions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + targetObjectId: { + serializedName: "targetObjectId", + type: { + name: "String" + } + }, + targetObjectName: { + serializedName: "targetObjectName", + type: { + name: "String" + } + }, + targetInstanceType: { + serializedName: "targetInstanceType", + type: { + name: "String" + } + }, + customDetails: { + serializedName: "customDetails", + type: { + name: "Composite", + className: "JobDetails" + } + } + } + } +}; + +export const Job: msRest.CompositeMapper = { + serializedName: "Job", + type: { + name: "Composite", + className: "Job", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "JobProperties" + } + } + } + } +}; + +export const JobQueryParameter: msRest.CompositeMapper = { + serializedName: "JobQueryParameter", + type: { + name: "Composite", + className: "JobQueryParameter", + modelProperties: { + startTime: { + serializedName: "startTime", + type: { + name: "String" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "String" + } + }, + fabricId: { + serializedName: "fabricId", + type: { + name: "String" + } + }, + affectedObjectTypes: { + serializedName: "affectedObjectTypes", + type: { + name: "String" + } + }, + jobStatus: { + serializedName: "jobStatus", + type: { + name: "String" + } + } + } + } +}; + +export const JobStatusEventDetails: msRest.CompositeMapper = { + serializedName: "JobStatus", + type: { + name: "Composite", + polymorphicDiscriminator: EventSpecificDetails.type.polymorphicDiscriminator, + uberParent: "EventSpecificDetails", + className: "JobStatusEventDetails", + modelProperties: { + ...EventSpecificDetails.type.modelProperties, + jobId: { + serializedName: "jobId", + type: { + name: "String" + } + }, + jobFriendlyName: { + serializedName: "jobFriendlyName", + type: { + name: "String" + } + }, + jobStatus: { + serializedName: "jobStatus", + type: { + name: "String" + } + }, + affectedObjectType: { + serializedName: "affectedObjectType", + 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 LogicalNetworkProperties: msRest.CompositeMapper = { + serializedName: "LogicalNetworkProperties", + type: { + name: "Composite", + className: "LogicalNetworkProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + networkVirtualizationStatus: { + serializedName: "networkVirtualizationStatus", + type: { + name: "String" + } + }, + logicalNetworkUsage: { + serializedName: "logicalNetworkUsage", + type: { + name: "String" + } + }, + logicalNetworkDefinitionsStatus: { + serializedName: "logicalNetworkDefinitionsStatus", + type: { + name: "String" + } + } + } + } +}; + +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" + } + }, + instructions: { + serializedName: "instructions", + type: { + name: "String" + } + }, + observation: { + serializedName: "observation", + type: { + name: "String" + } + } + } + } +}; + +export const RetentionVolume: msRest.CompositeMapper = { + serializedName: "RetentionVolume", + type: { + name: "Composite", + className: "RetentionVolume", + modelProperties: { + volumeName: { + serializedName: "volumeName", + type: { + name: "String" + } + }, + capacityInBytes: { + serializedName: "capacityInBytes", + type: { + name: "Number" + } + }, + freeSpaceInBytes: { + serializedName: "freeSpaceInBytes", + type: { + name: "Number" + } + }, + thresholdPercentage: { + serializedName: "thresholdPercentage", + type: { + name: "Number" + } + } + } + } +}; + +export const VersionDetails: msRest.CompositeMapper = { + serializedName: "VersionDetails", + type: { + name: "Composite", + className: "VersionDetails", + modelProperties: { + version: { + serializedName: "version", + type: { + name: "String" + } + }, + expiryDate: { + serializedName: "expiryDate", + type: { + name: "DateTime" + } + }, + status: { + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const MasterTargetServer: msRest.CompositeMapper = { + serializedName: "MasterTargetServer", + type: { + name: "Composite", + className: "MasterTargetServer", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + ipAddress: { + serializedName: "ipAddress", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + agentVersion: { + serializedName: "agentVersion", + type: { + name: "String" + } + }, + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + versionStatus: { + serializedName: "versionStatus", + type: { + name: "String" + } + }, + retentionVolumes: { + serializedName: "retentionVolumes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RetentionVolume" + } + } + } + }, + dataStores: { + serializedName: "dataStores", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataStore" + } + } + } + }, + validationErrors: { + serializedName: "validationErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + healthErrors: { + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + diskCount: { + serializedName: "diskCount", + type: { + name: "Number" + } + }, + osVersion: { + serializedName: "osVersion", + type: { + name: "String" + } + }, + agentExpiryDate: { + serializedName: "agentExpiryDate", + type: { + name: "DateTime" + } + }, + marsAgentVersion: { + serializedName: "marsAgentVersion", + type: { + name: "String" + } + }, + marsAgentExpiryDate: { + serializedName: "marsAgentExpiryDate", + type: { + name: "DateTime" + } + }, + agentVersionDetails: { + serializedName: "agentVersionDetails", + type: { + name: "Composite", + className: "VersionDetails" + } + }, + marsAgentVersionDetails: { + serializedName: "marsAgentVersionDetails", + type: { + name: "Composite", + className: "VersionDetails" + } + } + } + } +}; + +export const MigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "MigrateProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrateProviderSpecificInput", + className: "MigrateProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const MigrateInputProperties: msRest.CompositeMapper = { + serializedName: "MigrateInputProperties", + type: { + name: "Composite", + className: "MigrateInputProperties", + modelProperties: { + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "MigrateProviderSpecificInput" + } + } + } + } +}; + +export const MigrateInput: msRest.CompositeMapper = { + serializedName: "MigrateInput", + type: { + name: "Composite", + className: "MigrateInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "MigrateInputProperties" + } + } + } + } +}; + +export const MigrationProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "MigrationProviderSpecificSettings", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrationProviderSpecificSettings", + className: "MigrationProviderSpecificSettings", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const MigrationItemProperties: msRest.CompositeMapper = { + serializedName: "MigrationItemProperties", + type: { + name: "Composite", + className: "MigrationItemProperties", + modelProperties: { + machineName: { + readOnly: true, + serializedName: "machineName", + type: { + name: "String" + } + }, + policyId: { + readOnly: true, + serializedName: "policyId", + type: { + name: "String" + } + }, + policyFriendlyName: { + readOnly: true, + serializedName: "policyFriendlyName", + type: { + name: "String" + } + }, + recoveryServicesProviderId: { + readOnly: true, + serializedName: "recoveryServicesProviderId", + type: { + name: "String" + } + }, + migrationState: { + readOnly: true, + serializedName: "migrationState", + type: { + name: "String" + } + }, + migrationStateDescription: { + readOnly: true, + serializedName: "migrationStateDescription", + type: { + name: "String" + } + }, + testMigrateState: { + readOnly: true, + serializedName: "testMigrateState", + type: { + name: "String" + } + }, + testMigrateStateDescription: { + readOnly: true, + serializedName: "testMigrateStateDescription", + type: { + name: "String" + } + }, + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" + } + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + allowedOperations: { + readOnly: true, + serializedName: "allowedOperations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + currentJob: { + readOnly: true, + serializedName: "currentJob", + type: { + name: "Composite", + className: "CurrentJobDetails" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "MigrationProviderSpecificSettings" + } + } + } + } +}; + +export const MigrationItem: msRest.CompositeMapper = { + serializedName: "MigrationItem", + type: { + name: "Composite", + className: "MigrationItem", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "MigrationItemProperties" + } + } + } + } +}; + +export const MigrationItemsQueryParameter: msRest.CompositeMapper = { + serializedName: "MigrationItemsQueryParameter", + type: { + name: "Composite", + className: "MigrationItemsQueryParameter", + modelProperties: { + sourceFabricName: { + serializedName: "sourceFabricName", + type: { + name: "String" + } + }, + instanceType: { + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const MigrationRecoveryPointProperties: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPointProperties", + type: { + name: "Composite", + className: "MigrationRecoveryPointProperties", + modelProperties: { + recoveryPointTime: { + readOnly: true, + serializedName: "recoveryPointTime", + type: { + name: "DateTime" + } + }, + recoveryPointType: { + readOnly: true, + serializedName: "recoveryPointType", + type: { + name: "String" + } + } + } + } +}; + +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" + } + }, + rebootStatus: { + serializedName: "rebootStatus", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + } + } + } +}; + +export const Subnet: msRest.CompositeMapper = { + serializedName: "Subnet", + type: { + name: "Composite", + className: "Subnet", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + 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" + } + }, + subnets: { + serializedName: "subnets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Subnet" + } + } + } + }, + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + networkType: { + serializedName: "networkType", + type: { + name: "String" + } + } + } + } +}; + +export const Network: msRest.CompositeMapper = { + serializedName: "Network", + type: { + name: "Composite", + className: "Network", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "NetworkProperties" + } + } + } + } +}; + +export const NetworkMappingProperties: msRest.CompositeMapper = { + serializedName: "NetworkMappingProperties", + type: { + name: "Composite", + className: "NetworkMappingProperties", + modelProperties: { + state: { + serializedName: "state", + type: { + name: "String" + } + }, + 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", + type: { + name: "String" + } + }, + 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 OperationsDiscovery: msRest.CompositeMapper = { + serializedName: "OperationsDiscovery", + type: { + name: "Composite", + className: "OperationsDiscovery", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "Display" + } + }, + origin: { + serializedName: "origin", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Object" + } + } + } + } +}; + +export const OSVersionWrapper: msRest.CompositeMapper = { + serializedName: "OSVersionWrapper", + type: { + name: "Composite", + className: "OSVersionWrapper", + modelProperties: { + version: { + serializedName: "version", + type: { + name: "String" + } + }, + servicePack: { + serializedName: "servicePack", + type: { + name: "String" + } + } + } + } +}; + +export const PlannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "PlannedFailoverInputProperties", + type: { + name: "Composite", + className: "PlannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + serializedName: "failoverDirection", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "ProviderSpecificFailoverInput" + } + } + } + } +}; + +export const PlannedFailoverInput: msRest.CompositeMapper = { + serializedName: "PlannedFailoverInput", + type: { + name: "Composite", + className: "PlannedFailoverInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "PlannedFailoverInputProperties" + } + } + } + } +}; + +export const PolicyProperties: msRest.CompositeMapper = { + serializedName: "PolicyProperties", + type: { + name: "Composite", + className: "PolicyProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "PolicyProviderSpecificDetails" + } + } + } + } +}; + +export const Policy: msRest.CompositeMapper = { + serializedName: "Policy", + type: { + name: "Composite", + className: "Policy", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "PolicyProperties" + } + } + } + } +}; + +export const ProcessServer: msRest.CompositeMapper = { + serializedName: "ProcessServer", + type: { + name: "Composite", + className: "ProcessServer", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + id: { + serializedName: "id", + type: { + name: "String" + } + }, + ipAddress: { + serializedName: "ipAddress", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + agentVersion: { + serializedName: "agentVersion", + type: { + name: "String" + } + }, + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + versionStatus: { + serializedName: "versionStatus", + type: { + name: "String" + } + }, + mobilityServiceUpdates: { + serializedName: "mobilityServiceUpdates", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MobilityServiceUpdate" + } + } + } + }, + hostId: { + serializedName: "hostId", + type: { + name: "String" + } + }, + machineCount: { + serializedName: "machineCount", + type: { + name: "String" + } + }, + replicationPairCount: { + serializedName: "replicationPairCount", + type: { + name: "String" + } + }, + systemLoad: { + serializedName: "systemLoad", + type: { + name: "String" + } + }, + systemLoadStatus: { + serializedName: "systemLoadStatus", + type: { + name: "String" + } + }, + cpuLoad: { + serializedName: "cpuLoad", + type: { + name: "String" + } + }, + cpuLoadStatus: { + serializedName: "cpuLoadStatus", + type: { + name: "String" + } + }, + totalMemoryInBytes: { + serializedName: "totalMemoryInBytes", + type: { + name: "Number" + } + }, + availableMemoryInBytes: { + serializedName: "availableMemoryInBytes", + type: { + name: "Number" + } + }, + memoryUsageStatus: { + serializedName: "memoryUsageStatus", + type: { + name: "String" + } + }, + totalSpaceInBytes: { + serializedName: "totalSpaceInBytes", + type: { + name: "Number" + } + }, + availableSpaceInBytes: { + serializedName: "availableSpaceInBytes", + type: { + name: "Number" + } + }, + spaceUsageStatus: { + serializedName: "spaceUsageStatus", + type: { + name: "String" + } + }, + psServiceStatus: { + serializedName: "psServiceStatus", + type: { + name: "String" + } + }, + sslCertExpiryDate: { + serializedName: "sslCertExpiryDate", + type: { + name: "DateTime" + } + }, + sslCertExpiryRemainingDays: { + serializedName: "sslCertExpiryRemainingDays", + type: { + name: "Number" + } + }, + osVersion: { + serializedName: "osVersion", + type: { + name: "String" + } + }, + healthErrors: { + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + agentExpiryDate: { + serializedName: "agentExpiryDate", + type: { + name: "DateTime" + } + }, + agentVersionDetails: { + serializedName: "agentVersionDetails", + type: { + name: "Composite", + className: "VersionDetails" + } + }, + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" + } + }, + psStatsRefreshTime: { + readOnly: true, + serializedName: "psStatsRefreshTime", + type: { + name: "DateTime" + } + }, + throughputUploadPendingDataInBytes: { + readOnly: true, + serializedName: "throughputUploadPendingDataInBytes", + type: { + name: "Number" + } + }, + throughputInMBps: { + readOnly: true, + serializedName: "throughputInMBps", + type: { + name: "Number" + } + }, + throughputInBytes: { + readOnly: true, + serializedName: "throughputInBytes", + type: { + name: "Number" + } + }, + throughputStatus: { + readOnly: true, + serializedName: "throughputStatus", + type: { + name: "String" + } + }, + marsCommunicationStatus: { + readOnly: true, + serializedName: "marsCommunicationStatus", + type: { + name: "String" + } + }, + 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" + } + }, + protectionStatus: { + serializedName: "protectionStatus", + type: { + name: "String" + } + }, + replicationProtectedItemId: { + serializedName: "replicationProtectedItemId", + type: { + name: "String" + } + }, + recoveryServicesProviderId: { + serializedName: "recoveryServicesProviderId", + type: { + name: "String" + } + }, + protectionReadinessErrors: { + serializedName: "protectionReadinessErrors", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + supportedReplicationProviders: { + serializedName: "supportedReplicationProviders", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + customDetails: { + serializedName: "customDetails", + type: { + name: "Composite", + className: "ConfigurationSettings" + } + } + } + } +}; + +export const ProtectableItem: msRest.CompositeMapper = { + serializedName: "ProtectableItem", + type: { + name: "Composite", + className: "ProtectableItem", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ProtectableItemProperties" + } + } + } + } +}; + +export const ProtectableItemQueryParameter: msRest.CompositeMapper = { + serializedName: "ProtectableItemQueryParameter", + type: { + name: "Composite", + className: "ProtectableItemQueryParameter", + modelProperties: { + state: { + serializedName: "state", + type: { + name: "String" + } + } + } + } +}; + +export const ProtectedItemsQueryParameter: msRest.CompositeMapper = { + serializedName: "ProtectedItemsQueryParameter", + type: { + name: "Composite", + className: "ProtectedItemsQueryParameter", + modelProperties: { + sourceFabricName: { + serializedName: "sourceFabricName", + type: { + name: "String" + } + }, + recoveryPlanName: { + serializedName: "recoveryPlanName", + type: { + name: "String" + } + }, + vCenterName: { + serializedName: "vCenterName", + type: { + name: "String" + } + }, + instanceType: { + serializedName: "instanceType", + type: { + name: "String" + } + }, + multiVmGroupCreateOption: { + serializedName: "multiVmGroupCreateOption", + type: { + name: "String" + } + } + } + } +}; + +export const ProtectionContainerFabricSpecificDetails: msRest.CompositeMapper = { + serializedName: "ProtectionContainerFabricSpecificDetails", + type: { + name: "Composite", + className: "ProtectionContainerFabricSpecificDetails", + modelProperties: { + instanceType: { + readOnly: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const ProtectionContainerProperties: msRest.CompositeMapper = { + serializedName: "ProtectionContainerProperties", + type: { + name: "Composite", + className: "ProtectionContainerProperties", + 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", + type: { + name: "String" + } + }, + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", + type: { + name: "Composite", + className: "ProtectionContainerFabricSpecificDetails" + } + } + } + } +}; + +export const ProtectionContainer: msRest.CompositeMapper = { + serializedName: "ProtectionContainer", + type: { + name: "Composite", + className: "ProtectionContainer", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ProtectionContainerProperties" + } + } + } + } +}; + +export const ProtectionContainerMappingProperties: msRest.CompositeMapper = { + serializedName: "ProtectionContainerMappingProperties", + type: { + name: "Composite", + className: "ProtectionContainerMappingProperties", + 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", + type: { + name: "String" + } + }, + sourceProtectionContainerFriendlyName: { + serializedName: "sourceProtectionContainerFriendlyName", + type: { + name: "String" + } + }, + sourceFabricFriendlyName: { + serializedName: "sourceFabricFriendlyName", + type: { + name: "String" + } + }, + targetFabricFriendlyName: { + serializedName: "targetFabricFriendlyName", + type: { + name: "String" + } + }, + policyFriendlyName: { + serializedName: "policyFriendlyName", + type: { + name: "String" + } + } + } + } +}; + +export const ProtectionContainerMapping: msRest.CompositeMapper = { + serializedName: "ProtectionContainerMapping", + type: { + name: "Composite", + className: "ProtectionContainerMapping", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ProtectionContainerMappingProperties" + } + } + } + } +}; + +export const RcmAzureMigrationPolicyDetails: msRest.CompositeMapper = { + serializedName: "RcmAzureMigration", + type: { + name: "Composite", + polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "PolicyProviderSpecificDetails", + className: "RcmAzureMigrationPolicyDetails", + modelProperties: { + ...PolicyProviderSpecificDetails.type.modelProperties, + recoveryPointThresholdInMinutes: { + serializedName: "recoveryPointThresholdInMinutes", + type: { + name: "Number" + } + }, + recoveryPointHistory: { + serializedName: "recoveryPointHistory", + type: { + name: "Number" + } + }, + appConsistentFrequencyInMinutes: { + serializedName: "appConsistentFrequencyInMinutes", + type: { + name: "Number" + } + }, + multiVmSyncStatus: { + serializedName: "multiVmSyncStatus", + type: { + name: "String" + } + }, + crashConsistentFrequencyInMinutes: { + serializedName: "crashConsistentFrequencyInMinutes", + type: { + name: "Number" + } + } + } + } +}; + +export const RecoveryPlanProviderSpecificDetails: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProviderSpecificDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RecoveryPlanProviderSpecificDetails", + className: "RecoveryPlanProviderSpecificDetails", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const RecoveryPlanProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanProperties", + type: { + name: "Composite", + className: "RecoveryPlanProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + primaryFabricId: { + serializedName: "primaryFabricId", + type: { + name: "String" + } + }, + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", + type: { + name: "String" + } + }, + recoveryFabricId: { + serializedName: "recoveryFabricId", + type: { + name: "String" + } + }, + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", + type: { + name: "String" + } + }, + failoverDeploymentModel: { + serializedName: "failoverDeploymentModel", + type: { + name: "String" + } + }, + replicationProviders: { + serializedName: "replicationProviders", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + allowedOperations: { + serializedName: "allowedOperations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + lastPlannedFailoverTime: { + serializedName: "lastPlannedFailoverTime", + type: { + name: "DateTime" + } + }, + lastUnplannedFailoverTime: { + serializedName: "lastUnplannedFailoverTime", + type: { + name: "DateTime" + } + }, + lastTestFailoverTime: { + serializedName: "lastTestFailoverTime", + type: { + name: "DateTime" + } + }, + currentScenario: { + serializedName: "currentScenario", + type: { + name: "Composite", + className: "CurrentScenarioDetails" + } + }, + currentScenarioStatus: { + serializedName: "currentScenarioStatus", + type: { + name: "String" + } + }, + currentScenarioStatusDescription: { + serializedName: "currentScenarioStatusDescription", + type: { + name: "String" + } + }, + groups: { + serializedName: "groups", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanGroup" + } + } + } + }, + providerSpecificDetails: { + readOnly: true, + 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 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: "String" + } + } + } + } +}; + +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: "String" + } + }, + cloudServiceCreationOption: { + serializedName: "cloudServiceCreationOption", + type: { + name: "String" + } + }, + multiVmSyncPointOption: { + serializedName: "multiVmSyncPointOption", + type: { + name: "String" + } + } + } + } +}; + +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" + } + }, + recoveryZone: { + serializedName: "recoveryZone", + type: { + name: "String" + } + } + } + } +}; + +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" + } + }, + recoveryZone: { + serializedName: "recoveryZone", + type: { + name: "String" + } + } + } + } +}; + +export const RecoveryPlanAutomationRunbookActionDetails: msRest.CompositeMapper = { + serializedName: "AutomationRunbookActionDetails", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanAutomationRunbookActionDetails", + modelProperties: { + ...RecoveryPlanActionDetails.type.modelProperties, + runbookId: { + serializedName: "runbookId", + type: { + name: "String" + } + }, + timeout: { + serializedName: "timeout", + type: { + name: "String" + } + }, + fabricLocation: { + required: true, + serializedName: "fabricLocation", + type: { + name: "String" + } + } + } + } +}; + +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" + } + }, + groupId: { + serializedName: "groupId", + type: { + name: "String" + } + }, + rpGroupType: { + serializedName: "rpGroupType", + type: { + name: "String" + } + } + } + } +}; + +export const RecoveryPlanHyperVReplicaAzureFailbackInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzureFailback", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanHyperVReplicaAzureFailbackInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + dataSyncOption: { + required: true, + serializedName: "dataSyncOption", + type: { + name: "String" + } + }, + recoveryVmCreationOption: { + required: true, + serializedName: "recoveryVmCreationOption", + type: { + name: "String" + } + } + } + } +}; + +export const RecoveryPlanHyperVReplicaAzureFailoverInput: msRest.CompositeMapper = { + serializedName: "HyperVReplicaAzure", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanHyperVReplicaAzureFailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + vaultLocation: { + serializedName: "vaultLocation", + type: { + name: "String" + } + }, + primaryKekCertificatePfx: { + serializedName: "primaryKekCertificatePfx", + type: { + name: "String" + } + }, + secondaryKekCertificatePfx: { + serializedName: "secondaryKekCertificatePfx", + type: { + name: "String" + } + }, + recoveryPointType: { + serializedName: "recoveryPointType", + type: { + name: "String" + } + } + } + } +}; + +export const RecoveryPlanInMageAzureV2FailoverInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanInMageAzureV2FailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + vaultLocation: { + required: true, + serializedName: "vaultLocation", + type: { + name: "String" + } + }, + recoveryPointType: { + required: true, + serializedName: "recoveryPointType", + type: { + name: "String" + } + }, + useMultiVmSyncPoint: { + serializedName: "useMultiVmSyncPoint", + type: { + name: "String" + } + } + } + } +}; + +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" + } + } + } + } +}; + +export const RecoveryPlanInMageRcmFailoverInput: msRest.CompositeMapper = { + serializedName: "InMageRcm", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanProviderSpecificFailoverInput", + className: "RecoveryPlanInMageRcmFailoverInput", + modelProperties: { + ...RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, + recoveryPointType: { + serializedName: "recoveryPointType", + type: { + name: "String" + } + }, + useMultiVmSyncPoint: { + serializedName: "useMultiVmSyncPoint", + type: { + name: "String" + } + } + } + } +}; + +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" + } + } + } + } +}; + +export const RecoveryPlanPlannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanPlannedFailoverInputProperties", + type: { + name: "Composite", + className: "RecoveryPlanPlannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + required: true, + serializedName: "failoverDirection", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificFailoverInput" + } + } + } + } + } + } +}; + +export const RecoveryPlanPlannedFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanPlannedFailoverInput", + type: { + name: "Composite", + className: "RecoveryPlanPlannedFailoverInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "RecoveryPlanPlannedFailoverInputProperties" + } + } + } + } +}; + +export const RecoveryPlanScriptActionDetails: msRest.CompositeMapper = { + serializedName: "ScriptActionDetails", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator, + uberParent: "RecoveryPlanActionDetails", + className: "RecoveryPlanScriptActionDetails", + modelProperties: { + ...RecoveryPlanActionDetails.type.modelProperties, + path: { + required: true, + serializedName: "path", + type: { + name: "String" + } + }, + timeout: { + serializedName: "timeout", + type: { + name: "String" + } + }, + fabricLocation: { + required: true, + serializedName: "fabricLocation", + 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", + type: { + name: "String" + } + }, + groupId: { + serializedName: "groupId", + type: { + name: "String" + } + }, + rpGroupType: { + serializedName: "rpGroupType", + type: { + name: "String" + } + } + } + } +}; + +export const RecoveryPlanTestFailoverCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverCleanupInputProperties", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverCleanupInputProperties", + modelProperties: { + comments: { + serializedName: "comments", + type: { + name: "String" + } + } + } + } +}; + +export const RecoveryPlanTestFailoverCleanupInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverCleanupInput", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverCleanupInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverCleanupInputProperties" + } + } + } + } +}; + +export const RecoveryPlanTestFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverInputProperties", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverInputProperties", + modelProperties: { + failoverDirection: { + required: true, + serializedName: "failoverDirection", + type: { + name: "String" + } + }, + networkType: { + required: true, + serializedName: "networkType", + type: { + name: "String" + } + }, + networkId: { + serializedName: "networkId", + type: { + name: "String" + } + }, + skipTestFailoverCleanup: { + serializedName: "skipTestFailoverCleanup", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificFailoverInput" + } + } + } + } + } + } +}; + +export const RecoveryPlanTestFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanTestFailoverInput", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "RecoveryPlanTestFailoverInputProperties" + } + } + } + } +}; + +export const RecoveryPlanUnplannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPlanUnplannedFailoverInputProperties", + type: { + name: "Composite", + className: "RecoveryPlanUnplannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + required: true, + serializedName: "failoverDirection", + type: { + name: "String" + } + }, + sourceSiteOperations: { + required: true, + serializedName: "sourceSiteOperations", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanProviderSpecificFailoverInput" + } + } + } + } + } + } +}; + +export const RecoveryPlanUnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "RecoveryPlanUnplannedFailoverInput", + type: { + name: "Composite", + className: "RecoveryPlanUnplannedFailoverInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "RecoveryPlanUnplannedFailoverInputProperties" + } + } + } + } +}; + +export const RecoveryPointProperties: msRest.CompositeMapper = { + serializedName: "RecoveryPointProperties", + type: { + name: "Composite", + className: "RecoveryPointProperties", + modelProperties: { + recoveryPointTime: { + serializedName: "recoveryPointTime", + type: { + name: "DateTime" + } + }, + recoveryPointType: { + serializedName: "recoveryPointType", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "ProviderSpecificRecoveryPointDetails" + } + } + } + } +}; + +export const RecoveryPoint: msRest.CompositeMapper = { + serializedName: "RecoveryPoint", + type: { + name: "Composite", + className: "RecoveryPoint", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RecoveryPointProperties" + } + } + } + } +}; + +export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { + serializedName: "RecoveryServicesProviderProperties", + type: { + name: "Composite", + className: "RecoveryServicesProviderProperties", + 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", + type: { + name: "String" + } + }, + providerVersionExpiryDate: { + serializedName: "providerVersionExpiryDate", + type: { + name: "DateTime" + } + }, + fabricFriendlyName: { + serializedName: "fabricFriendlyName", + type: { + name: "String" + } + }, + lastHeartBeat: { + serializedName: "lastHeartBeat", + type: { + name: "DateTime" + } + }, + connectionStatus: { + serializedName: "connectionStatus", + type: { + name: "String" + } + }, + protectedItemCount: { + serializedName: "protectedItemCount", + type: { + name: "Number" + } + }, + allowedScenarios: { + serializedName: "allowedScenarios", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + healthErrorDetails: { + serializedName: "healthErrorDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + draIdentifier: { + serializedName: "draIdentifier", + type: { + name: "String" + } + }, + authenticationIdentityDetails: { + serializedName: "authenticationIdentityDetails", + type: { + name: "Composite", + className: "IdentityProviderDetails" + } + }, + resourceAccessIdentityDetails: { + serializedName: "resourceAccessIdentityDetails", + type: { + name: "Composite", + className: "IdentityProviderDetails" + } + }, + providerVersionDetails: { + serializedName: "providerVersionDetails", + type: { + name: "Composite", + className: "VersionDetails" + } + } + } + } +}; + +export const RecoveryServicesProvider: msRest.CompositeMapper = { + serializedName: "RecoveryServicesProvider", + type: { + name: "Composite", + className: "RecoveryServicesProvider", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RecoveryServicesProviderProperties" + } + } + } + } +}; + +export const RemoveDisksInputProperties: msRest.CompositeMapper = { + serializedName: "RemoveDisksInputProperties", + type: { + name: "Composite", + className: "RemoveDisksInputProperties", + modelProperties: { + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "RemoveDisksProviderSpecificInput" + } + } + } + } +}; + +export const RemoveDisksInput: msRest.CompositeMapper = { + serializedName: "RemoveDisksInput", + type: { + name: "Composite", + className: "RemoveDisksInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RemoveDisksInputProperties" + } + } + } + } +}; + +export const ReplicationProviderContainerUnmappingInput: msRest.CompositeMapper = { + serializedName: "ReplicationProviderContainerUnmappingInput", + type: { + name: "Composite", + className: "ReplicationProviderContainerUnmappingInput", + modelProperties: { + instanceType: { + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const RemoveProtectionContainerMappingInputProperties: msRest.CompositeMapper = { + serializedName: "RemoveProtectionContainerMappingInputProperties", + type: { + name: "Composite", + className: "RemoveProtectionContainerMappingInputProperties", + modelProperties: { + providerSpecificInput: { + serializedName: "providerSpecificInput", + type: { + name: "Composite", + className: "ReplicationProviderContainerUnmappingInput" + } + } + } + } +}; + +export const RemoveProtectionContainerMappingInput: msRest.CompositeMapper = { + serializedName: "RemoveProtectionContainerMappingInput", + type: { + name: "Composite", + className: "RemoveProtectionContainerMappingInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RemoveProtectionContainerMappingInputProperties" + } + } + } + } +}; + +export const RenewCertificateInputProperties: msRest.CompositeMapper = { + serializedName: "RenewCertificateInputProperties", + type: { + name: "Composite", + className: "RenewCertificateInputProperties", + modelProperties: { + renewCertificateType: { + serializedName: "renewCertificateType", + type: { + name: "String" + } + } + } + } +}; + +export const RenewCertificateInput: msRest.CompositeMapper = { + serializedName: "RenewCertificateInput", + type: { + name: "Composite", + className: "RenewCertificateInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RenewCertificateInputProperties" + } + } + } + } +}; + +export const ReplicationEligibilityResultsErrorInfo: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsErrorInfo", + type: { + name: "Composite", + className: "ReplicationEligibilityResultsErrorInfo", + modelProperties: { + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + }, + possibleCauses: { + readOnly: true, + serializedName: "possibleCauses", + type: { + name: "String" + } + }, + recommendedAction: { + readOnly: true, + serializedName: "recommendedAction", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const ReplicationEligibilityResultsProperties: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsProperties", + type: { + name: "Composite", + className: "ReplicationEligibilityResultsProperties", + modelProperties: { + clientRequestId: { + readOnly: true, + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + errors: { + serializedName: "errors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationEligibilityResultsErrorInfo" + } + } + } + } + } + } +}; + +export const ReplicationEligibilityResults: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResults", + type: { + name: "Composite", + 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: "ReplicationEligibilityResultsProperties" + } + } + } + } +}; + +export const ReplicationEligibilityResultsCollection: msRest.CompositeMapper = { + serializedName: "ReplicationEligibilityResultsCollection", + type: { + name: "Composite", + className: "ReplicationEligibilityResultsCollection", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationEligibilityResults" + } + } + } + } + } + } +}; + +export const ReplicationGroupDetails: msRest.CompositeMapper = { + serializedName: "ReplicationGroupDetails", + type: { + name: "Composite", + polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, + uberParent: "ConfigurationSettings", + className: "ReplicationGroupDetails", + modelProperties: { + ...ConfigurationSettings.type.modelProperties + } + } +}; + +export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { + serializedName: "ReplicationProtectedItemProperties", + type: { + name: "Composite", + className: "ReplicationProtectedItemProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + protectedItemType: { + serializedName: "protectedItemType", + type: { + name: "String" + } + }, + protectableItemId: { + serializedName: "protectableItemId", + type: { + name: "String" + } + }, + recoveryServicesProviderId: { + serializedName: "recoveryServicesProviderId", + type: { + name: "String" + } + }, + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", + type: { + name: "String" + } + }, + primaryFabricProvider: { + serializedName: "primaryFabricProvider", + type: { + name: "String" + } + }, + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", + type: { + name: "String" + } + }, + recoveryFabricId: { + serializedName: "recoveryFabricId", + type: { + name: "String" + } + }, + primaryProtectionContainerFriendlyName: { + serializedName: "primaryProtectionContainerFriendlyName", + type: { + name: "String" + } + }, + recoveryProtectionContainerFriendlyName: { + serializedName: "recoveryProtectionContainerFriendlyName", + type: { + name: "String" + } + }, + protectionState: { + serializedName: "protectionState", + type: { + name: "String" + } + }, + protectionStateDescription: { + serializedName: "protectionStateDescription", + type: { + name: "String" + } + }, + activeLocation: { + serializedName: "activeLocation", + type: { + name: "String" + } + }, + testFailoverState: { + serializedName: "testFailoverState", + type: { + name: "String" + } + }, + testFailoverStateDescription: { + serializedName: "testFailoverStateDescription", + type: { + name: "String" + } + }, + allowedOperations: { + serializedName: "allowedOperations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + replicationHealth: { + serializedName: "replicationHealth", + type: { + name: "String" + } + }, + failoverHealth: { + serializedName: "failoverHealth", + type: { + name: "String" + } + }, + healthErrors: { + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + policyId: { + serializedName: "policyId", + type: { + name: "String" + } + }, + policyFriendlyName: { + serializedName: "policyFriendlyName", + type: { + name: "String" + } + }, + lastSuccessfulFailoverTime: { + serializedName: "lastSuccessfulFailoverTime", + type: { + name: "DateTime" + } + }, + lastSuccessfulTestFailoverTime: { + serializedName: "lastSuccessfulTestFailoverTime", + type: { + name: "DateTime" + } + }, + currentScenario: { + serializedName: "currentScenario", + type: { + name: "Composite", + className: "CurrentScenarioDetails" + } + }, + failoverRecoveryPointId: { + serializedName: "failoverRecoveryPointId", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "ReplicationProviderSpecificSettings" + } + }, + recoveryContainerId: { + serializedName: "recoveryContainerId", + type: { + name: "String" + } + } + } + } +}; + +export const ReplicationProtectedItem: msRest.CompositeMapper = { + serializedName: "ReplicationProtectedItem", + type: { + name: "Composite", + className: "ReplicationProtectedItem", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ReplicationProtectedItemProperties" + } + } + } + } +}; + +export const 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: "Number" + } + }, + issues: { + serializedName: "issues", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthErrorSummary" + } + } + } + } + } + } +}; + +export const ResumeJobParamsProperties: msRest.CompositeMapper = { + serializedName: "ResumeJobParamsProperties", + type: { + name: "Composite", + className: "ResumeJobParamsProperties", + modelProperties: { + comments: { + serializedName: "comments", + type: { + name: "String" + } + } + } + } +}; + +export const ResumeJobParams: msRest.CompositeMapper = { + serializedName: "ResumeJobParams", + type: { + name: "Composite", + className: "ResumeJobParams", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ResumeJobParamsProperties" + } + } + } + } +}; + +export const ReverseReplicationInputProperties: msRest.CompositeMapper = { + serializedName: "ReverseReplicationInputProperties", + type: { + name: "Composite", + className: "ReverseReplicationInputProperties", + modelProperties: { + failoverDirection: { + serializedName: "failoverDirection", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "ReverseReplicationProviderSpecificInput" + } + } + } + } +}; + +export const ReverseReplicationInput: msRest.CompositeMapper = { + serializedName: "ReverseReplicationInput", + type: { + name: "Composite", + className: "ReverseReplicationInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ReverseReplicationInputProperties" + } + } + } + } +}; + +export const RoleAssignment: msRest.CompositeMapper = { + serializedName: "RoleAssignment", + type: { + name: "Composite", + className: "RoleAssignment", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + scope: { + serializedName: "scope", + type: { + name: "String" + } + }, + principalId: { + serializedName: "principalId", + type: { + name: "String" + } + }, + roleDefinitionId: { + serializedName: "roleDefinitionId", + type: { + name: "String" + } + } + } + } +}; + +export const RunAsAccount: msRest.CompositeMapper = { + serializedName: "RunAsAccount", + type: { + name: "Composite", + className: "RunAsAccount", + modelProperties: { + accountId: { + serializedName: "accountId", + type: { + name: "String" + } + }, + accountName: { + serializedName: "accountName", + type: { + name: "String" + } + } + } + } +}; + +export const SanEnableProtectionInput: msRest.CompositeMapper = { + serializedName: "San", + type: { + name: "Composite", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "SanEnableProtectionInput", + modelProperties: { + ...EnableProtectionProviderSpecificInput.type.modelProperties + } + } +}; + +export const ScriptActionTaskDetails: msRest.CompositeMapper = { + serializedName: "ScriptActionTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "ScriptActionTaskDetails", + modelProperties: { + ...TaskTypeDetails.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + path: { + serializedName: "path", + type: { + name: "String" + } + }, + output: { + serializedName: "output", + type: { + name: "String" + } + }, + isPrimarySideScript: { + serializedName: "isPrimarySideScript", + type: { + name: "Boolean" + } + } + } + } +}; + +export const StorageClassificationProperties: msRest.CompositeMapper = { + serializedName: "StorageClassificationProperties", + type: { + name: "Composite", + 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: "StorageClassificationProperties" + } + } + } } }; -export const RecoveryServicesProvider: msRest.CompositeMapper = { - serializedName: "RecoveryServicesProvider", +export const StorageClassificationMappingProperties: msRest.CompositeMapper = { + serializedName: "StorageClassificationMappingProperties", type: { name: "Composite", - className: "RecoveryServicesProvider", + className: "StorageClassificationMappingProperties", + modelProperties: { + targetStorageClassificationId: { + serializedName: "targetStorageClassificationId", + type: { + name: "String" + } + } + } + } +}; + +export const StorageClassificationMapping: msRest.CompositeMapper = { + serializedName: "StorageClassificationMapping", + type: { + name: "Composite", + className: "StorageClassificationMapping", + modelProperties: { + ...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" + } + } + } + } +}; + +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" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + osVersions: { + serializedName: "osVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OSVersionWrapper" + } + } + } + } + } + } +}; + +export const SupportedOSProperty: msRest.CompositeMapper = { + serializedName: "SupportedOSProperty", + type: { + name: "Composite", + className: "SupportedOSProperty", + modelProperties: { + instanceType: { + readOnly: true, + serializedName: "instanceType", + type: { + name: "String" + } + }, + supportedOs: { + serializedName: "supportedOs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SupportedOSDetails" + } + } + } + } + } + } +}; + +export const 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: "Composite", - className: "RecoveryServicesProviderProperties" + name: "Composite", + className: "SupportedOSProperties" + } + } + } + } +}; + +export const SwitchProtectionInputProperties: msRest.CompositeMapper = { + serializedName: "SwitchProtectionInputProperties", + type: { + name: "Composite", + className: "SwitchProtectionInputProperties", + modelProperties: { + replicationProtectedItemName: { + serializedName: "replicationProtectedItemName", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "SwitchProtectionProviderSpecificInput" + } + } + } + } +}; + +export const SwitchProtectionInput: msRest.CompositeMapper = { + serializedName: "SwitchProtectionInput", + type: { + name: "Composite", + className: "SwitchProtectionInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "SwitchProtectionInputProperties" + } + } + } + } +}; + +export const SwitchProtectionJobDetails: msRest.CompositeMapper = { + serializedName: "SwitchProtectionJobDetails", + type: { + name: "Composite", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "SwitchProtectionJobDetails", + modelProperties: { + ...JobDetails.type.modelProperties, + newReplicationProtectedItemId: { + serializedName: "newReplicationProtectedItemId", + type: { + name: "String" + } + } + } + } +}; + +export const TargetComputeSizeProperties: msRest.CompositeMapper = { + serializedName: "TargetComputeSizeProperties", + type: { + name: "Composite", + className: "TargetComputeSizeProperties", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + cpuCoresCount: { + serializedName: "cpuCoresCount", + type: { + name: "Number" + } + }, + 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" + } + } } - } - } - } -}; - -export const ReplicationProviderContainerUnmappingInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderContainerUnmappingInput", - type: { - name: "Composite", - className: "ReplicationProviderContainerUnmappingInput", - modelProperties: { - instanceType: { - serializedName: "instanceType", + }, + highIopsSupported: { + serializedName: "highIopsSupported", type: { name: "String" } - } - } - } -}; - -export const RemoveProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "RemoveProtectionContainerMappingInputProperties", - type: { - name: "Composite", - className: "RemoveProtectionContainerMappingInputProperties", - modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + }, + hyperVGenerations: { + readOnly: true, + serializedName: "hyperVGenerations", type: { - name: "Composite", - className: "ReplicationProviderContainerUnmappingInput" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const RemoveProtectionContainerMappingInput: msRest.CompositeMapper = { - serializedName: "RemoveProtectionContainerMappingInput", +export const TargetComputeSize: msRest.CompositeMapper = { + serializedName: "TargetComputeSize", type: { name: "Composite", - className: "RemoveProtectionContainerMappingInput", + className: "TargetComputeSize", modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + }, properties: { serializedName: "properties", type: { name: "Composite", - className: "RemoveProtectionContainerMappingInputProperties" + className: "TargetComputeSizeProperties" } } } } }; -export const RenewCertificateInputProperties: msRest.CompositeMapper = { - serializedName: "RenewCertificateInputProperties", +export const TestFailoverCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "TestFailoverCleanupInputProperties", type: { name: "Composite", - className: "RenewCertificateInputProperties", + className: "TestFailoverCleanupInputProperties", modelProperties: { - renewCertificateType: { - serializedName: "renewCertificateType", + comments: { + serializedName: "comments", type: { name: "String" } @@ -9767,521 +14400,711 @@ export const RenewCertificateInputProperties: msRest.CompositeMapper = { } }; -export const RenewCertificateInput: msRest.CompositeMapper = { - serializedName: "RenewCertificateInput", +export const TestFailoverCleanupInput: msRest.CompositeMapper = { + serializedName: "TestFailoverCleanupInput", type: { name: "Composite", - className: "RenewCertificateInput", + className: "TestFailoverCleanupInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "RenewCertificateInputProperties" + className: "TestFailoverCleanupInputProperties" } } } } }; -export const ReplicationGroupDetails: msRest.CompositeMapper = { - serializedName: "ReplicationGroupDetails", - type: { - name: "Composite", - polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, - uberParent: "ConfigurationSettings", - className: "ReplicationGroupDetails", - modelProperties: { - ...ConfigurationSettings.type.modelProperties - } - } -}; - -export const ReplicationProtectedItemProperties: msRest.CompositeMapper = { - serializedName: "ReplicationProtectedItemProperties", +export const TestFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "TestFailoverInputProperties", type: { name: "Composite", - className: "ReplicationProtectedItemProperties", + className: "TestFailoverInputProperties", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + failoverDirection: { + serializedName: "failoverDirection", type: { name: "String" } }, - protectedItemType: { - serializedName: "protectedItemType", + networkType: { + serializedName: "networkType", type: { name: "String" } }, - protectableItemId: { - serializedName: "protectableItemId", + networkId: { + serializedName: "networkId", type: { name: "String" } }, - recoveryServicesProviderId: { - serializedName: "recoveryServicesProviderId", + skipTestFailoverCleanup: { + serializedName: "skipTestFailoverCleanup", type: { name: "String" } }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "TestFailoverProviderSpecificInput" } - }, - primaryFabricProvider: { - serializedName: "primaryFabricProvider", + } + } + } +}; + +export const TestFailoverInput: msRest.CompositeMapper = { + serializedName: "TestFailoverInput", + type: { + name: "Composite", + className: "TestFailoverInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "TestFailoverInputProperties" } - }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + } + } + } +}; + +export const TestFailoverJobDetails: msRest.CompositeMapper = { + serializedName: "TestFailoverJobDetails", + type: { + name: "Composite", + polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, + uberParent: "JobDetails", + className: "TestFailoverJobDetails", + modelProperties: { + ...JobDetails.type.modelProperties, + testFailoverStatus: { + serializedName: "testFailoverStatus", type: { name: "String" } }, - recoveryFabricId: { - serializedName: "recoveryFabricId", + comments: { + serializedName: "comments", type: { name: "String" } }, - primaryProtectionContainerFriendlyName: { - serializedName: "primaryProtectionContainerFriendlyName", + networkName: { + serializedName: "networkName", type: { name: "String" } }, - recoveryProtectionContainerFriendlyName: { - serializedName: "recoveryProtectionContainerFriendlyName", + networkFriendlyName: { + serializedName: "networkFriendlyName", type: { name: "String" } }, - protectionState: { - serializedName: "protectionState", + networkType: { + serializedName: "networkType", type: { name: "String" } }, - protectionStateDescription: { - serializedName: "protectionStateDescription", + protectedItemDetails: { + serializedName: "protectedItemDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FailoverReplicationProtectedItemDetails" + } + } + } + } + } + } +}; + +export const TestMigrateCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInputProperties", + type: { + name: "Composite", + className: "TestMigrateCleanupInputProperties", + modelProperties: { + comments: { + serializedName: "comments", type: { name: "String" } - }, - activeLocation: { - serializedName: "activeLocation", + } + } + } +}; + +export const TestMigrateCleanupInput: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInput", + type: { + name: "Composite", + className: "TestMigrateCleanupInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "TestMigrateCleanupInputProperties" + } + } + } + } +}; + +export const TestMigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "TestMigrateProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "TestMigrateProviderSpecificInput", + className: "TestMigrateProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - testFailoverState: { - serializedName: "testFailoverState", + } + } + } +}; + +export const TestMigrateInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateInputProperties", + type: { + name: "Composite", + className: "TestMigrateInputProperties", + modelProperties: { + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "TestMigrateProviderSpecificInput" } - }, - testFailoverStateDescription: { - serializedName: "testFailoverStateDescription", + } + } + } +}; + +export const TestMigrateInput: msRest.CompositeMapper = { + serializedName: "TestMigrateInput", + type: { + name: "Composite", + className: "TestMigrateInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "TestMigrateInputProperties" } - }, - allowedOperations: { - serializedName: "allowedOperations", + } + } + } +}; + +export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInputProperties", + type: { + name: "Composite", + className: "UnplannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + serializedName: "failoverDirection", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - replicationHealth: { - serializedName: "replicationHealth", + sourceSiteOperations: { + serializedName: "sourceSiteOperations", type: { name: "String" } }, - failoverHealth: { - serializedName: "failoverHealth", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "UnplannedFailoverProviderSpecificInput" } - }, - healthErrors: { - serializedName: "healthErrors", + } + } + } +}; + +export const UnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInput", + type: { + name: "Composite", + className: "UnplannedFailoverInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "Composite", + className: "UnplannedFailoverInputProperties" } - }, - policyId: { - serializedName: "policyId", + } + } + } +}; + +export const UpdateMigrationItemProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "UpdateMigrationItemProviderSpecificInput", + className: "UpdateMigrationItemProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - policyFriendlyName: { - serializedName: "policyFriendlyName", + } + } + } +}; + +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" } - }, - lastSuccessfulFailoverTime: { - serializedName: "lastSuccessfulFailoverTime", + } + } + } +}; + +export const UpdateMigrationItemInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemInput", + type: { + name: "Composite", + className: "UpdateMigrationItemInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "DateTime" + name: "Composite", + className: "UpdateMigrationItemInputProperties" } - }, - lastSuccessfulTestFailoverTime: { - serializedName: "lastSuccessfulTestFailoverTime", + } + } + } +}; + +export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequestProperties", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequestProperties", + modelProperties: { + runAsAccountId: { + serializedName: "runAsAccountId", type: { - name: "DateTime" + name: "String" } - }, - currentScenario: { - serializedName: "currentScenario", + } + } + } +}; + +export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequest", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequest", + modelProperties: { + properties: { + serializedName: "properties", type: { name: "Composite", - className: "CurrentScenarioDetails" + className: "UpdateMobilityServiceRequestProperties" } - }, - failoverRecoveryPointId: { - serializedName: "failoverRecoveryPointId", + } + } + } +}; + +export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateNetworkMappingInputProperties", + type: { + name: "Composite", + className: "UpdateNetworkMappingInputProperties", + modelProperties: { + recoveryFabricName: { + serializedName: "recoveryFabricName", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", type: { - name: "Composite", - className: "ReplicationProviderSpecificSettings" + name: "String" } }, - recoveryContainerId: { - serializedName: "recoveryContainerId", + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", type: { - name: "String" + name: "Composite", + className: "FabricSpecificUpdateNetworkMappingInput" } } } } }; -export const ReplicationProtectedItem: msRest.CompositeMapper = { - serializedName: "ReplicationProtectedItem", +export const UpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "UpdateNetworkMappingInput", type: { name: "Composite", - className: "ReplicationProtectedItem", + className: "UpdateNetworkMappingInput", modelProperties: { - ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ReplicationProtectedItemProperties" + className: "UpdateNetworkMappingInputProperties" } } } } }; -export const ResourceHealthSummary: msRest.CompositeMapper = { - serializedName: "ResourceHealthSummary", +export const UpdatePolicyInputProperties: msRest.CompositeMapper = { + serializedName: "UpdatePolicyInputProperties", type: { name: "Composite", - className: "ResourceHealthSummary", + className: "UpdatePolicyInputProperties", modelProperties: { - resourceCount: { - serializedName: "resourceCount", + replicationProviderSettings: { + serializedName: "replicationProviderSettings", type: { - name: "Number" + name: "Composite", + className: "PolicyProviderSpecificInput" } - }, - issues: { - serializedName: "issues", + } + } + } +}; + +export const UpdatePolicyInput: msRest.CompositeMapper = { + serializedName: "UpdatePolicyInput", + type: { + name: "Composite", + className: "UpdatePolicyInput", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthErrorSummary" - } - } + name: "Composite", + className: "UpdatePolicyInputProperties" } } } } }; -export const ResumeJobParamsProperties: msRest.CompositeMapper = { - serializedName: "ResumeJobParamsProperties", +export const UpdateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateProtectionContainerMappingInputProperties", type: { name: "Composite", - className: "ResumeJobParamsProperties", + className: "UpdateProtectionContainerMappingInputProperties", modelProperties: { - comments: { - serializedName: "comments", + providerSpecificInput: { + serializedName: "providerSpecificInput", type: { - name: "String" + name: "Composite", + className: "ReplicationProviderSpecificUpdateContainerMappingInput" } } } } }; -export const ResumeJobParams: msRest.CompositeMapper = { - serializedName: "ResumeJobParams", +export const UpdateProtectionContainerMappingInput: msRest.CompositeMapper = { + serializedName: "UpdateProtectionContainerMappingInput", type: { name: "Composite", - className: "ResumeJobParams", + className: "UpdateProtectionContainerMappingInput", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "ResumeJobParamsProperties" + className: "UpdateProtectionContainerMappingInputProperties" } } } } }; -export const ReverseReplicationInputProperties: msRest.CompositeMapper = { - serializedName: "ReverseReplicationInputProperties", +export const UpdateRecoveryPlanInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateRecoveryPlanInputProperties", type: { name: "Composite", - className: "ReverseReplicationInputProperties", + className: "UpdateRecoveryPlanInputProperties", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", - type: { - name: "String" - } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + groups: { + serializedName: "groups", type: { - name: "Composite", - className: "ReverseReplicationProviderSpecificInput" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoveryPlanGroup" + } + } } } } } }; -export const ReverseReplicationInput: msRest.CompositeMapper = { - serializedName: "ReverseReplicationInput", +export const UpdateRecoveryPlanInput: msRest.CompositeMapper = { + serializedName: "UpdateRecoveryPlanInput", type: { name: "Composite", - className: "ReverseReplicationInput", + className: "UpdateRecoveryPlanInput", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "ReverseReplicationInputProperties" + className: "UpdateRecoveryPlanInputProperties" } } } } }; -export const RunAsAccount: msRest.CompositeMapper = { - serializedName: "RunAsAccount", +export const VMNicInputDetails: msRest.CompositeMapper = { + serializedName: "VMNicInputDetails", type: { name: "Composite", - className: "RunAsAccount", + className: "VMNicInputDetails", modelProperties: { - accountId: { - serializedName: "accountId", + nicId: { + serializedName: "nicId", type: { name: "String" } }, - accountName: { - serializedName: "accountName", + recoveryVMSubnetName: { + serializedName: "recoveryVMSubnetName", type: { name: "String" } - } - } - } -}; - -export const SanEnableProtectionInput: msRest.CompositeMapper = { - serializedName: "San", - type: { - name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "SanEnableProtectionInput", - modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties - } - } -}; - -export const ScriptActionTaskDetails: msRest.CompositeMapper = { - serializedName: "ScriptActionTaskDetails", - type: { - name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "ScriptActionTaskDetails", - modelProperties: { - ...TaskTypeDetails.type.modelProperties, - name: { - serializedName: "name", + }, + replicaNicStaticIPAddress: { + serializedName: "replicaNicStaticIPAddress", type: { name: "String" } }, - path: { - serializedName: "path", + selectionType: { + serializedName: "selectionType", type: { name: "String" } }, - output: { - serializedName: "output", + recoveryPublicIpAddressId: { + serializedName: "recoveryPublicIpAddressId", type: { name: "String" } }, - isPrimarySideScript: { - serializedName: "isPrimarySideScript", + recoveryNetworkSecurityGroupId: { + serializedName: "recoveryNetworkSecurityGroupId", + type: { + name: "String" + } + }, + recoveryLBBackendAddressPoolIds: { + serializedName: "recoveryLBBackendAddressPoolIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + enableAcceleratedNetworkingOnRecovery: { + serializedName: "enableAcceleratedNetworkingOnRecovery", type: { name: "Boolean" } - } - } - } -}; - -export const StorageClassificationProperties: msRest.CompositeMapper = { - serializedName: "StorageClassificationProperties", - type: { - name: "Composite", - className: "StorageClassificationProperties", - modelProperties: { - friendlyName: { - serializedName: "friendlyName", + }, + tfoVMSubnetName: { + serializedName: "tfoVMSubnetName", type: { name: "String" } - } - } - } -}; - -export const StorageClassification: msRest.CompositeMapper = { - serializedName: "StorageClassification", - type: { - name: "Composite", - className: "StorageClassification", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + tfoNetworkSecurityGroupId: { + serializedName: "tfoNetworkSecurityGroupId", type: { - name: "Composite", - className: "StorageClassificationProperties" + name: "String" } - } - } - } -}; - -export const StorageClassificationMappingProperties: msRest.CompositeMapper = { - serializedName: "StorageClassificationMappingProperties", - type: { - name: "Composite", - className: "StorageClassificationMappingProperties", - modelProperties: { - targetStorageClassificationId: { - serializedName: "targetStorageClassificationId", + }, + enableAcceleratedNetworkingOnTfo: { + serializedName: "enableAcceleratedNetworkingOnTfo", + type: { + name: "Boolean" + } + }, + tfoIPConfigs: { + serializedName: "tfoIPConfigs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPConfig" + } + } + } + }, + recoveryNicName: { + serializedName: "recoveryNicName", type: { name: "String" } - } - } - } -}; - -export const StorageClassificationMapping: msRest.CompositeMapper = { - serializedName: "StorageClassificationMapping", - type: { - name: "Composite", - className: "StorageClassificationMapping", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + recoveryNicResourceGroupName: { + serializedName: "recoveryNicResourceGroupName", type: { - name: "Composite", - className: "StorageClassificationMappingProperties" + name: "String" + } + }, + reuseExistingNic: { + serializedName: "reuseExistingNic", + defaultValue: false, + type: { + name: "Boolean" + } + }, + tfoNicName: { + serializedName: "tfoNicName", + type: { + name: "String" + } + }, + tfoNicResourceGroupName: { + serializedName: "tfoNicResourceGroupName", + type: { + name: "String" + } + }, + tfoReuseExistingNic: { + serializedName: "tfoReuseExistingNic", + defaultValue: false, + type: { + name: "Boolean" } } } } }; -export const StorageMappingInputProperties: msRest.CompositeMapper = { - serializedName: "StorageMappingInputProperties", +export const UpdateReplicationProtectedItemInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemInputProperties", type: { name: "Composite", - className: "StorageMappingInputProperties", + className: "UpdateReplicationProtectedItemInputProperties", modelProperties: { - targetStorageClassificationId: { - serializedName: "targetStorageClassificationId", + recoveryAzureVMName: { + serializedName: "recoveryAzureVMName", + type: { + name: "String" + } + }, + recoveryAzureVMSize: { + serializedName: "recoveryAzureVMSize", + type: { + name: "String" + } + }, + selectedRecoveryAzureNetworkId: { + serializedName: "selectedRecoveryAzureNetworkId", + type: { + name: "String" + } + }, + selectedTfoAzureNetworkId: { + serializedName: "selectedTfoAzureNetworkId", + type: { + name: "String" + } + }, + selectedSourceNicId: { + serializedName: "selectedSourceNicId", + type: { + name: "String" + } + }, + enableRdpOnTargetOption: { + serializedName: "enableRdpOnTargetOption", + type: { + name: "String" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMNicInputDetails" + } + } + } + }, + licenseType: { + serializedName: "licenseType", type: { name: "String" } - } - } - } -}; - -export const StorageClassificationMappingInput: msRest.CompositeMapper = { - serializedName: "StorageClassificationMappingInput", - type: { - name: "Composite", - className: "StorageClassificationMappingInput", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "StorageMappingInputProperties" - } - } - } - } -}; - -export const SwitchProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "SwitchProtectionInputProperties", - type: { - name: "Composite", - className: "SwitchProtectionInputProperties", - modelProperties: { - replicationProtectedItemName: { - serializedName: "replicationProtectedItemName", + }, + recoveryAvailabilitySetId: { + serializedName: "recoveryAvailabilitySetId", type: { name: "String" } @@ -10290,156 +15113,156 @@ export const SwitchProtectionInputProperties: msRest.CompositeMapper = { serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "SwitchProtectionProviderSpecificInput" + className: "UpdateReplicationProtectedItemProviderInput" } } } } }; -export const SwitchProtectionInput: msRest.CompositeMapper = { - serializedName: "SwitchProtectionInput", +export const UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { + serializedName: "UpdateReplicationProtectedItemInput", type: { name: "Composite", - className: "SwitchProtectionInput", + className: "UpdateReplicationProtectedItemInput", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "SwitchProtectionInputProperties" - } - } - } - } -}; - -export const SwitchProtectionJobDetails: msRest.CompositeMapper = { - serializedName: "SwitchProtectionJobDetails", - type: { - name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "SwitchProtectionJobDetails", - modelProperties: { - ...JobDetails.type.modelProperties, - newReplicationProtectedItemId: { - serializedName: "newReplicationProtectedItemId", - type: { - name: "String" + className: "UpdateReplicationProtectedItemInputProperties" } } } } }; -export const TargetComputeSizeProperties: msRest.CompositeMapper = { - serializedName: "TargetComputeSizeProperties", +export const UpdateVCenterRequestProperties: msRest.CompositeMapper = { + serializedName: "UpdateVCenterRequestProperties", type: { name: "Composite", - className: "TargetComputeSizeProperties", + className: "UpdateVCenterRequestProperties", modelProperties: { - name: { - serializedName: "name", + friendlyName: { + serializedName: "friendlyName", type: { name: "String" } }, - friendlyName: { - serializedName: "friendlyName", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - cpuCoresCount: { - serializedName: "cpuCoresCount", + processServerId: { + serializedName: "processServerId", type: { - name: "Number" + name: "String" } }, - memoryInGB: { - serializedName: "memoryInGB", + port: { + serializedName: "port", type: { - name: "Number" + name: "String" } }, - maxDataDiskCount: { - serializedName: "maxDataDiskCount", + runAsAccountId: { + serializedName: "runAsAccountId", type: { - name: "Number" + name: "String" } - }, - maxNicsCount: { - serializedName: "maxNicsCount", + } + } + } +}; + +export const UpdateVCenterRequest: msRest.CompositeMapper = { + serializedName: "UpdateVCenterRequest", + type: { + name: "Composite", + className: "UpdateVCenterRequest", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "UpdateVCenterRequestProperties" } - }, - errors: { - serializedName: "errors", + } + } + } +}; + +export const VaultHealthProperties: msRest.CompositeMapper = { + serializedName: "VaultHealthProperties", + type: { + name: "Composite", + className: "VaultHealthProperties", + modelProperties: { + vaultErrors: { + serializedName: "vaultErrors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComputeSizeErrorDetails" + className: "HealthError" } } } }, - highIopsSupported: { - serializedName: "highIopsSupported", + protectedItemsHealth: { + serializedName: "protectedItemsHealth", type: { - name: "String" + name: "Composite", + className: "ResourceHealthSummary" + } + }, + fabricsHealth: { + serializedName: "fabricsHealth", + type: { + name: "Composite", + className: "ResourceHealthSummary" + } + }, + containersHealth: { + serializedName: "containersHealth", + type: { + name: "Composite", + className: "ResourceHealthSummary" } } } } }; -export const TargetComputeSize: msRest.CompositeMapper = { - serializedName: "TargetComputeSize", +export const VaultHealthDetails: msRest.CompositeMapper = { + serializedName: "VaultHealthDetails", type: { name: "Composite", - className: "TargetComputeSize", + className: "VaultHealthDetails", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - type: { - serializedName: "type", - type: { - name: "String" - } - }, + ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "TargetComputeSizeProperties" + className: "VaultHealthProperties" } } } } }; -export const TestFailoverCleanupInputProperties: msRest.CompositeMapper = { - serializedName: "TestFailoverCleanupInputProperties", +export const VaultSettingProperties: msRest.CompositeMapper = { + serializedName: "VaultSettingProperties", type: { name: "Composite", - className: "TestFailoverCleanupInputProperties", + className: "VaultSettingProperties", modelProperties: { - comments: { - serializedName: "comments", + migrationSolutionId: { + serializedName: "migrationSolutionId", type: { name: "String" } @@ -10448,129 +15271,133 @@ export const TestFailoverCleanupInputProperties: msRest.CompositeMapper = { } }; -export const TestFailoverCleanupInput: msRest.CompositeMapper = { - serializedName: "TestFailoverCleanupInput", +export const VaultSetting: msRest.CompositeMapper = { + serializedName: "VaultSetting", type: { name: "Composite", - className: "TestFailoverCleanupInput", + className: "VaultSetting", modelProperties: { + ...Resource.type.modelProperties, properties: { - required: true, serializedName: "properties", type: { name: "Composite", - className: "TestFailoverCleanupInputProperties" + className: "VaultSettingProperties" } } } } }; -export const TestFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "TestFailoverInputProperties", +export const VaultSettingCreationInputProperties: msRest.CompositeMapper = { + serializedName: "VaultSettingCreationInputProperties", type: { name: "Composite", - className: "TestFailoverInputProperties", + className: "VaultSettingCreationInputProperties", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", - type: { - name: "String" - } - }, - networkType: { - serializedName: "networkType", - type: { - name: "String" - } - }, - networkId: { - serializedName: "networkId", - type: { - name: "String" - } - }, - skipTestFailoverCleanup: { - serializedName: "skipTestFailoverCleanup", + migrationSolutionId: { + required: true, + serializedName: "migrationSolutionId", type: { name: "String" } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", - type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" - } } } } }; -export const TestFailoverInput: msRest.CompositeMapper = { - serializedName: "TestFailoverInput", +export const VaultSettingCreationInput: msRest.CompositeMapper = { + serializedName: "VaultSettingCreationInput", type: { name: "Composite", - className: "TestFailoverInput", + className: "VaultSettingCreationInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "TestFailoverInputProperties" + className: "VaultSettingCreationInputProperties" } } } } }; -export const TestFailoverJobDetails: msRest.CompositeMapper = { - serializedName: "TestFailoverJobDetails", +export const VCenterProperties: msRest.CompositeMapper = { + serializedName: "VCenterProperties", type: { name: "Composite", - polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator, - uberParent: "JobDetails", - className: "TestFailoverJobDetails", + className: "VCenterProperties", modelProperties: { - ...JobDetails.type.modelProperties, - testFailoverStatus: { - serializedName: "testFailoverStatus", + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + internalId: { + serializedName: "internalId", + type: { + name: "String" + } + }, + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + discoveryStatus: { + serializedName: "discoveryStatus", type: { name: "String" } }, - comments: { - serializedName: "comments", + processServerId: { + serializedName: "processServerId", type: { name: "String" } }, - networkName: { - serializedName: "networkName", + ipAddress: { + serializedName: "ipAddress", type: { name: "String" } }, - networkFriendlyName: { - serializedName: "networkFriendlyName", + infrastructureId: { + serializedName: "infrastructureId", type: { name: "String" } }, - networkType: { - serializedName: "networkType", + port: { + serializedName: "port", type: { name: "String" } }, - protectedItemDetails: { - serializedName: "protectedItemDetails", + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + }, + fabricArmResourceName: { + serializedName: "fabricArmResourceName", + type: { + name: "String" + } + }, + healthErrors: { + serializedName: "healthErrors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FailoverReplicationProtectedItemDetails" + className: "HealthError" } } } @@ -10579,322 +15406,377 @@ export const TestFailoverJobDetails: msRest.CompositeMapper = { } }; -export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "UnplannedFailoverInputProperties", +export const VCenter: msRest.CompositeMapper = { + serializedName: "VCenter", type: { name: "Composite", - className: "UnplannedFailoverInputProperties", + className: "VCenter", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "VCenterProperties" + } + } + } + } +}; + +export const VirtualMachineTaskDetails: msRest.CompositeMapper = { + serializedName: "VirtualMachineTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "VirtualMachineTaskDetails", + modelProperties: { + ...TaskTypeDetails.type.modelProperties, + skippedReason: { + serializedName: "skippedReason", type: { name: "String" } }, - sourceSiteOperations: { - serializedName: "sourceSiteOperations", + skippedReasonString: { + serializedName: "skippedReasonString", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + jobTask: { + serializedName: "jobTask", type: { name: "Composite", - className: "ProviderSpecificFailoverInput" + className: "JobEntity" } } } } }; -export const UnplannedFailoverInput: msRest.CompositeMapper = { - serializedName: "UnplannedFailoverInput", +export const VmmDetails: msRest.CompositeMapper = { + serializedName: "VMM", type: { name: "Composite", - className: "UnplannedFailoverInput", + polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, + uberParent: "FabricSpecificDetails", + className: "VmmDetails", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "UnplannedFailoverInputProperties" - } - } + ...FabricSpecificDetails.type.modelProperties } } }; -export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { - serializedName: "UpdateMobilityServiceRequestProperties", +export const VmmToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToAzure", type: { name: "Composite", - className: "UpdateMobilityServiceRequestProperties", + polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreateNetworkMappingInput", + className: "VmmToAzureCreateNetworkMappingInput", modelProperties: { - runAsAccountId: { - serializedName: "runAsAccountId", - type: { - name: "String" - } - } + ...FabricSpecificCreateNetworkMappingInput.type.modelProperties } } }; -export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { - serializedName: "UpdateMobilityServiceRequest", +export const VmmToAzureNetworkMappingSettings: msRest.CompositeMapper = { + serializedName: "VmmToAzure", type: { name: "Composite", - className: "UpdateMobilityServiceRequest", + polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "VmmToAzureNetworkMappingSettings", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "UpdateMobilityServiceRequestProperties" - } - } + ...NetworkMappingFabricSpecificSettings.type.modelProperties } } }; -export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateNetworkMappingInputProperties", +export const VmmToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToAzure", type: { name: "Composite", - className: "UpdateNetworkMappingInputProperties", + polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificUpdateNetworkMappingInput", + className: "VmmToAzureUpdateNetworkMappingInput", modelProperties: { - recoveryFabricName: { - serializedName: "recoveryFabricName", - type: { - name: "String" - } - }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", - type: { - name: "String" - } - }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", - type: { - name: "Composite", - className: "FabricSpecificUpdateNetworkMappingInput" - } - } + ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties } } }; -export const UpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "UpdateNetworkMappingInput", +export const VmmToVmmCreateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToVmm", type: { name: "Composite", - className: "UpdateNetworkMappingInput", + polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificCreateNetworkMappingInput", + className: "VmmToVmmCreateNetworkMappingInput", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "UpdateNetworkMappingInputProperties" - } - } + ...FabricSpecificCreateNetworkMappingInput.type.modelProperties } } }; -export const UpdatePolicyInputProperties: msRest.CompositeMapper = { - serializedName: "UpdatePolicyInputProperties", +export const VmmToVmmNetworkMappingSettings: msRest.CompositeMapper = { + serializedName: "VmmToVmm", type: { name: "Composite", - className: "UpdatePolicyInputProperties", + polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, + uberParent: "NetworkMappingFabricSpecificSettings", + className: "VmmToVmmNetworkMappingSettings", modelProperties: { - replicationProviderSettings: { - serializedName: "replicationProviderSettings", - type: { - name: "Composite", - className: "PolicyProviderSpecificInput" - } - } + ...NetworkMappingFabricSpecificSettings.type.modelProperties } } }; -export const UpdatePolicyInput: msRest.CompositeMapper = { - serializedName: "UpdatePolicyInput", +export const VmmToVmmUpdateNetworkMappingInput: msRest.CompositeMapper = { + serializedName: "VmmToVmm", type: { name: "Composite", - className: "UpdatePolicyInput", + polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, + uberParent: "FabricSpecificUpdateNetworkMappingInput", + className: "VmmToVmmUpdateNetworkMappingInput", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "UpdatePolicyInputProperties" - } - } + ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties } } }; -export const UpdateProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateProtectionContainerMappingInputProperties", +export const VmmVirtualMachineDetails: msRest.CompositeMapper = { + serializedName: "VmmVirtualMachine", type: { name: "Composite", - className: "UpdateProtectionContainerMappingInputProperties", + polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, + uberParent: "ConfigurationSettings", + className: "VmmVirtualMachineDetails", modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + ...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: "Composite", - className: "ReplicationProviderSpecificUpdateContainerMappingInput" + name: "String" } } } } }; -export const UpdateProtectionContainerMappingInput: msRest.CompositeMapper = { - serializedName: "UpdateProtectionContainerMappingInput", +export const VmNicUpdatesTaskDetails: msRest.CompositeMapper = { + serializedName: "VmNicUpdatesTaskDetails", type: { name: "Composite", - className: "UpdateProtectionContainerMappingInput", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "VmNicUpdatesTaskDetails", modelProperties: { - properties: { - serializedName: "properties", + ...TaskTypeDetails.type.modelProperties, + vmId: { + serializedName: "vmId", type: { - name: "Composite", - className: "UpdateProtectionContainerMappingInputProperties" + name: "String" } - } - } - } -}; - -export const UpdateRecoveryPlanInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateRecoveryPlanInputProperties", - type: { - name: "Composite", - className: "UpdateRecoveryPlanInputProperties", - modelProperties: { - groups: { - serializedName: "groups", + }, + nicId: { + serializedName: "nicId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecoveryPlanGroup" - } - } + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" } } } } }; -export const UpdateRecoveryPlanInput: msRest.CompositeMapper = { - serializedName: "UpdateRecoveryPlanInput", +export const VMwareCbtContainerCreationInput: msRest.CompositeMapper = { + serializedName: "6c7da455-506f-43ff-a16a-8eb101aebb70", type: { name: "Composite", - className: "UpdateRecoveryPlanInput", + polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerCreationInput", + className: "VMwareCbtContainerCreationInput", modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "UpdateRecoveryPlanInputProperties" - } - } + ...ReplicationProviderSpecificContainerCreationInput.type.modelProperties } } }; -export const VMNicInputDetails: msRest.CompositeMapper = { - serializedName: "VMNicInputDetails", +export const VMwareCbtContainerMappingInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "VMNicInputDetails", + polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerMappingInput", + className: "VMwareCbtContainerMappingInput", modelProperties: { - nicId: { - serializedName: "nicId", + ...ReplicationProviderSpecificContainerMappingInput.type.modelProperties, + keyVaultId: { + required: true, + serializedName: "keyVaultId", type: { name: "String" } }, - recoveryVMSubnetName: { - serializedName: "recoveryVMSubnetName", + keyVaultUri: { + required: true, + serializedName: "keyVaultUri", type: { name: "String" } }, - replicaNicStaticIPAddress: { - serializedName: "replicaNicStaticIPAddress", + storageAccountId: { + required: true, + serializedName: "storageAccountId", type: { name: "String" } }, - selectionType: { - serializedName: "selectionType", + storageAccountSasSecretName: { + required: true, + serializedName: "storageAccountSasSecretName", type: { name: "String" } }, - enableAcceleratedNetworkingOnRecovery: { - serializedName: "enableAcceleratedNetworkingOnRecovery", + serviceBusConnectionStringSecretName: { + required: true, + serializedName: "serviceBusConnectionStringSecretName", type: { - name: "Boolean" + name: "String" + } + }, + targetLocation: { + required: true, + serializedName: "targetLocation", + type: { + name: "String" } } } } }; -export const UpdateReplicationProtectedItemInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateReplicationProtectedItemInputProperties", +export const VMwareCbtDiskInput: msRest.CompositeMapper = { + serializedName: "VMwareCbtDiskInput", type: { name: "Composite", - className: "UpdateReplicationProtectedItemInputProperties", + className: "VMwareCbtDiskInput", modelProperties: { - recoveryAzureVMName: { - serializedName: "recoveryAzureVMName", + diskId: { + required: true, + serializedName: "diskId", type: { name: "String" } }, - recoveryAzureVMSize: { - serializedName: "recoveryAzureVMSize", + isOSDisk: { + required: true, + serializedName: "isOSDisk", type: { name: "String" } }, - selectedRecoveryAzureNetworkId: { - serializedName: "selectedRecoveryAzureNetworkId", + logStorageAccountId: { + required: true, + serializedName: "logStorageAccountId", type: { name: "String" } }, - selectedSourceNicId: { - serializedName: "selectedSourceNicId", + logStorageAccountSasSecretName: { + required: true, + serializedName: "logStorageAccountSasSecretName", type: { name: "String" } }, - enableRdpOnTargetOption: { - serializedName: "enableRdpOnTargetOption", + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtEnableMigrationInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: EnableMigrationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableMigrationProviderSpecificInput", + className: "VMwareCbtEnableMigrationInput", + modelProperties: { + ...EnableMigrationProviderSpecificInput.type.modelProperties, + vmwareMachineId: { + required: true, + serializedName: "vmwareMachineId", type: { name: "String" } }, - vmNics: { - serializedName: "vmNics", + disksToInclude: { + required: true, + serializedName: "disksToInclude", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VMNicInputDetails" + className: "VMwareCbtDiskInput" } } } @@ -10905,72 +15787,60 @@ export const UpdateReplicationProtectedItemInputProperties: msRest.CompositeMapp name: "String" } }, - recoveryAvailabilitySetId: { - serializedName: "recoveryAvailabilitySetId", + dataMoverRunAsAccountId: { + required: true, + serializedName: "dataMoverRunAsAccountId", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + snapshotRunAsAccountId: { + required: true, + serializedName: "snapshotRunAsAccountId", type: { - name: "Composite", - className: "UpdateReplicationProtectedItemProviderInput" + name: "String" } - } - } - } -}; - -export const UpdateReplicationProtectedItemInput: msRest.CompositeMapper = { - serializedName: "UpdateReplicationProtectedItemInput", - type: { - name: "Composite", - className: "UpdateReplicationProtectedItemInput", - modelProperties: { - properties: { - serializedName: "properties", + }, + targetVmName: { + serializedName: "targetVmName", type: { - name: "Composite", - className: "UpdateReplicationProtectedItemInputProperties" + name: "String" } - } - } - } -}; - -export const UpdateVCenterRequestProperties: msRest.CompositeMapper = { - serializedName: "UpdateVCenterRequestProperties", - type: { - name: "Composite", - className: "UpdateVCenterRequestProperties", - modelProperties: { - friendlyName: { - serializedName: "friendlyName", + }, + targetVmSize: { + serializedName: "targetVmSize", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + targetResourceGroupId: { + required: true, + serializedName: "targetResourceGroupId", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + targetNetworkId: { + required: true, + serializedName: "targetNetworkId", type: { name: "String" } }, - port: { - serializedName: "port", + targetSubnetName: { + serializedName: "targetSubnetName", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", type: { name: "String" } @@ -10979,392 +15849,335 @@ export const UpdateVCenterRequestProperties: msRest.CompositeMapper = { } }; -export const UpdateVCenterRequest: msRest.CompositeMapper = { - serializedName: "UpdateVCenterRequest", +export const VMwareCbtMigrateInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "UpdateVCenterRequest", + polymorphicDiscriminator: MigrateProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "MigrateProviderSpecificInput", + className: "VMwareCbtMigrateInput", modelProperties: { - properties: { - serializedName: "properties", + ...MigrateProviderSpecificInput.type.modelProperties, + performShutdown: { + required: true, + serializedName: "performShutdown", type: { - name: "Composite", - className: "UpdateVCenterRequestProperties" + name: "String" } } } } }; -export const VaultHealthProperties: msRest.CompositeMapper = { - serializedName: "VaultHealthProperties", +export const VMwareCbtProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbtProtectedDiskDetails", type: { name: "Composite", - className: "VaultHealthProperties", + className: "VMwareCbtProtectedDiskDetails", modelProperties: { - vaultErrors: { - serializedName: "vaultErrors", + diskId: { + readOnly: true, + serializedName: "diskId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } + name: "String" } }, - protectedItemsHealth: { - serializedName: "protectedItemsHealth", + diskName: { + readOnly: true, + serializedName: "diskName", type: { - name: "Composite", - className: "ResourceHealthSummary" + name: "String" } }, - fabricsHealth: { - serializedName: "fabricsHealth", + diskPath: { + readOnly: true, + serializedName: "diskPath", type: { - name: "Composite", - className: "ResourceHealthSummary" + name: "String" + } + }, + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", + type: { + name: "String" + } + }, + capacityInBytes: { + readOnly: true, + serializedName: "capacityInBytes", + type: { + name: "Number" + } + }, + logStorageAccountId: { + readOnly: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + logStorageAccountSasSecretName: { + readOnly: true, + serializedName: "logStorageAccountSasSecretName", + type: { + name: "String" + } + }, + seedManagedDiskId: { + readOnly: true, + serializedName: "seedManagedDiskId", + type: { + name: "String" } }, - containersHealth: { - serializedName: "containersHealth", + targetManagedDiskId: { + readOnly: true, + serializedName: "targetManagedDiskId", 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", + }, + diskType: { + serializedName: "diskType", type: { - name: "Composite", - className: "VaultHealthProperties" + name: "String" } } } } }; -export const VCenterProperties: msRest.CompositeMapper = { - serializedName: "VCenterProperties", +export const VMwareCbtNicDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbtNicDetails", type: { name: "Composite", - className: "VCenterProperties", + className: "VMwareCbtNicDetails", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + nicId: { + readOnly: true, + serializedName: "nicId", type: { name: "String" } }, - internalId: { - serializedName: "internalId", + isPrimaryNic: { + serializedName: "isPrimaryNic", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", - type: { - name: "DateTime" - } - }, - discoveryStatus: { - serializedName: "discoveryStatus", + sourceIPAddress: { + readOnly: true, + serializedName: "sourceIPAddress", type: { name: "String" } }, - processServerId: { - serializedName: "processServerId", + sourceIPAddressType: { + readOnly: true, + serializedName: "sourceIPAddressType", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + sourceNetworkId: { + readOnly: true, + serializedName: "sourceNetworkId", type: { name: "String" } }, - infrastructureId: { - serializedName: "infrastructureId", + targetIPAddress: { + serializedName: "targetIPAddress", type: { name: "String" } }, - port: { - serializedName: "port", + targetIPAddressType: { + serializedName: "targetIPAddressType", type: { name: "String" } }, - runAsAccountId: { - serializedName: "runAsAccountId", + targetSubnetName: { + serializedName: "targetSubnetName", type: { name: "String" } }, - fabricArmResourceName: { - serializedName: "fabricArmResourceName", + isSelectedForMigration: { + serializedName: "isSelectedForMigration", type: { name: "String" } - }, - healthErrors: { - serializedName: "healthErrors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthError" - } - } - } } } } }; -export const VCenter: msRest.CompositeMapper = { - serializedName: "VCenter", +export const VMwareCbtMigrationDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", type: { name: "Composite", - className: "VCenter", + polymorphicDiscriminator: MigrationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "MigrationProviderSpecificSettings", + className: "VMwareCbtMigrationDetails", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...MigrationProviderSpecificSettings.type.modelProperties, + vmwareMachineId: { + readOnly: true, + serializedName: "vmwareMachineId", type: { - name: "Composite", - className: "VCenterProperties" + name: "String" } - } - } - } -}; - -export const VirtualMachineTaskDetails: msRest.CompositeMapper = { - serializedName: "VirtualMachineTaskDetails", - type: { - name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "VirtualMachineTaskDetails", - modelProperties: { - ...TaskTypeDetails.type.modelProperties, - skippedReason: { - serializedName: "skippedReason", + }, + osType: { + readOnly: true, + serializedName: "osType", type: { name: "String" } }, - skippedReasonString: { - serializedName: "skippedReasonString", + licenseType: { + serializedName: "licenseType", type: { name: "String" } }, - jobTask: { - serializedName: "jobTask", + dataMoverRunAsAccountId: { + readOnly: true, + serializedName: "dataMoverRunAsAccountId", type: { - name: "Composite", - className: "JobEntity" + name: "String" } - } - } - } -}; - -export const VmmDetails: msRest.CompositeMapper = { - serializedName: "VMM", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator, - uberParent: "FabricSpecificDetails", - className: "VmmDetails", - modelProperties: { - ...FabricSpecificDetails.type.modelProperties - } - } -}; - -export const VmmToAzureCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "VmmToAzure", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "VmmToAzureCreateNetworkMappingInput", - modelProperties: { - ...FabricSpecificCreateNetworkMappingInput.type.modelProperties - } - } -}; - -export const VmmToAzureNetworkMappingSettings: msRest.CompositeMapper = { - serializedName: "VmmToAzure", - type: { - name: "Composite", - polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "VmmToAzureNetworkMappingSettings", - modelProperties: { - ...NetworkMappingFabricSpecificSettings.type.modelProperties - } - } -}; - -export const VmmToAzureUpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "VmmToAzure", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificUpdateNetworkMappingInput", - className: "VmmToAzureUpdateNetworkMappingInput", - modelProperties: { - ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties - } - } -}; - -export const VmmToVmmCreateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "VmmToVmm", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificCreateNetworkMappingInput", - className: "VmmToVmmCreateNetworkMappingInput", - modelProperties: { - ...FabricSpecificCreateNetworkMappingInput.type.modelProperties - } - } -}; - -export const VmmToVmmNetworkMappingSettings: msRest.CompositeMapper = { - serializedName: "VmmToVmm", - type: { - name: "Composite", - polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator, - uberParent: "NetworkMappingFabricSpecificSettings", - className: "VmmToVmmNetworkMappingSettings", - modelProperties: { - ...NetworkMappingFabricSpecificSettings.type.modelProperties - } - } -}; - -export const VmmToVmmUpdateNetworkMappingInput: msRest.CompositeMapper = { - serializedName: "VmmToVmm", - type: { - name: "Composite", - polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator, - uberParent: "FabricSpecificUpdateNetworkMappingInput", - className: "VmmToVmmUpdateNetworkMappingInput", - modelProperties: { - ...FabricSpecificUpdateNetworkMappingInput.type.modelProperties - } - } -}; - -export const VmmVirtualMachineDetails: msRest.CompositeMapper = { - serializedName: "VmmVirtualMachine", - type: { - name: "Composite", - polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator, - uberParent: "ConfigurationSettings", - className: "VmmVirtualMachineDetails", - modelProperties: { - ...ConfigurationSettings.type.modelProperties, - sourceItemId: { - serializedName: "sourceItemId", + }, + snapshotRunAsAccountId: { + readOnly: true, + serializedName: "snapshotRunAsAccountId", type: { name: "String" } }, - generation: { - serializedName: "generation", + targetVmName: { + serializedName: "targetVmName", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + targetLocation: { + readOnly: true, + serializedName: "targetLocation", + type: { + name: "String" + } + }, + targetResourceGroupId: { + serializedName: "targetResourceGroupId", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", type: { name: "String" } }, - osDetails: { - serializedName: "osDetails", + protectedDisks: { + serializedName: "protectedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtProtectedDiskDetails" + } + } + } + }, + targetNetworkId: { + serializedName: "targetNetworkId", type: { - name: "Composite", - className: "OSDetails" + name: "String" } }, - diskDetails: { - serializedName: "diskDetails", + vmNics: { + serializedName: "vmNics", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskDetails" + className: "VMwareCbtNicDetails" } } } }, - hasPhysicalDisk: { - serializedName: "hasPhysicalDisk", - type: { - name: "String" - } - }, - hasFibreChannelAdapter: { - serializedName: "hasFibreChannelAdapter", + migrationRecoveryPointId: { + readOnly: true, + serializedName: "migrationRecoveryPointId", type: { name: "String" } }, - hasSharedVhd: { - serializedName: "hasSharedVhd", + lastRecoveryPointReceived: { + readOnly: true, + serializedName: "lastRecoveryPointReceived", type: { - name: "String" + name: "DateTime" } } } } }; -export const VmNicUpdatesTaskDetails: msRest.CompositeMapper = { - serializedName: "VmNicUpdatesTaskDetails", +export const VMwareCbtNicInput: msRest.CompositeMapper = { + serializedName: "VMwareCbtNicInput", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "VmNicUpdatesTaskDetails", + className: "VMwareCbtNicInput", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - vmId: { - serializedName: "vmId", + nicId: { + required: true, + serializedName: "nicId", type: { name: "String" } }, - nicId: { - serializedName: "nicId", + isPrimaryNic: { + required: true, + serializedName: "isPrimaryNic", type: { name: "String" } }, - name: { - serializedName: "name", + targetSubnetName: { + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + targetStaticIPAddress: { + serializedName: "targetStaticIPAddress", + type: { + name: "String" + } + }, + isSelectedForMigration: { + serializedName: "isSelectedForMigration", type: { name: "String" } @@ -11382,8 +16195,8 @@ export const VMwareCbtPolicyCreationInput: msRest.CompositeMapper = { className: "VMwareCbtPolicyCreationInput", modelProperties: { ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { name: "Number" } @@ -11413,14 +16226,8 @@ export const VmwareCbtPolicyDetails: msRest.CompositeMapper = { className: "VmwareCbtPolicyDetails", modelProperties: { ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { name: "Number" } @@ -11441,6 +16248,155 @@ export const VmwareCbtPolicyDetails: msRest.CompositeMapper = { } }; +export const VMwareCbtProtectionContainerMappingDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionContainerMappingProviderSpecificDetails", + className: "VMwareCbtProtectionContainerMappingDetails", + modelProperties: { + ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, + keyVaultId: { + readOnly: true, + serializedName: "keyVaultId", + type: { + name: "String" + } + }, + keyVaultUri: { + readOnly: true, + serializedName: "keyVaultUri", + type: { + name: "String" + } + }, + storageAccountId: { + readOnly: true, + serializedName: "storageAccountId", + type: { + name: "String" + } + }, + storageAccountSasSecretName: { + readOnly: true, + serializedName: "storageAccountSasSecretName", + type: { + name: "String" + } + }, + serviceBusConnectionStringSecretName: { + readOnly: true, + serializedName: "serviceBusConnectionStringSecretName", + type: { + name: "String" + } + }, + targetLocation: { + readOnly: true, + serializedName: "targetLocation", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtTestMigrateInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: TestMigrateProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestMigrateProviderSpecificInput", + className: "VMwareCbtTestMigrateInput", + modelProperties: { + ...TestMigrateProviderSpecificInput.type.modelProperties, + recoveryPointId: { + required: true, + serializedName: "recoveryPointId", + type: { + name: "String" + } + }, + networkId: { + required: true, + serializedName: "networkId", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtUpdateMigrationItemInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: UpdateMigrationItemProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UpdateMigrationItemProviderSpecificInput", + className: "VMwareCbtUpdateMigrationItemInput", + modelProperties: { + ...UpdateMigrationItemProviderSpecificInput.type.modelProperties, + targetVmName: { + serializedName: "targetVmName", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + targetResourceGroupId: { + serializedName: "targetResourceGroupId", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + targetNetworkId: { + serializedName: "targetNetworkId", + type: { + name: "String" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtNicInput" + } + } + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + } + } + } +}; + export const VMwareDetails: msRest.CompositeMapper = { serializedName: "VMware", type: { @@ -11674,14 +16630,16 @@ export const VMwareV2FabricCreationInput: msRest.CompositeMapper = { className: "VMwareV2FabricCreationInput", modelProperties: { ...FabricSpecificCreationInput.type.modelProperties, - keyVaultUrl: { - serializedName: "keyVaultUrl", + vmwareSiteId: { + required: true, + serializedName: "vmwareSiteId", type: { name: "String" } }, - keyVaultResourceArmId: { - serializedName: "keyVaultResourceArmId", + migrationSolutionId: { + required: true, + serializedName: "migrationSolutionId", type: { name: "String" } @@ -11699,26 +16657,30 @@ export const VMwareV2FabricSpecificDetails: msRest.CompositeMapper = { className: "VMwareV2FabricSpecificDetails", modelProperties: { ...FabricSpecificDetails.type.modelProperties, - srsServiceEndpoint: { - serializedName: "srsServiceEndpoint", + vmwareSiteId: { + readOnly: true, + serializedName: "vmwareSiteId", type: { name: "String" } }, - rcmServiceEndpoint: { - serializedName: "rcmServiceEndpoint", + migrationSolutionId: { + readOnly: true, + serializedName: "migrationSolutionId", type: { name: "String" } }, - keyVaultUrl: { - serializedName: "keyVaultUrl", + serviceEndpoint: { + readOnly: true, + serializedName: "serviceEndpoint", type: { name: "String" } }, - keyVaultResourceArmId: { - serializedName: "keyVaultResourceArmId", + serviceResourceId: { + readOnly: true, + serializedName: "serviceResourceId", type: { name: "String" } @@ -12036,6 +16998,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: { @@ -12372,7 +17390,36 @@ 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, @@ -12383,11 +17430,15 @@ export const discriminators = { 'PolicyProviderSpecificDetails.A2A' : A2APolicyDetails, 'ProtectionContainerMappingProviderSpecificDetails.A2A' : A2AProtectionContainerMappingDetails, 'ProviderSpecificRecoveryPointDetails.A2A' : A2ARecoveryPointDetails, + 'RemoveDisksProviderSpecificInput.A2A' : A2ARemoveDisksInput, 'ReplicationProviderSpecificSettings.A2A' : A2AReplicationDetails, '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, @@ -12405,7 +17456,9 @@ export const discriminators = { 'ReplicationProviderSpecificContainerCreationInput' : ReplicationProviderSpecificContainerCreationInput, 'ReplicationProviderSpecificContainerMappingInput' : ReplicationProviderSpecificContainerMappingInput, 'RecoveryPlanActionDetails' : RecoveryPlanActionDetails, + 'RecoveryPlanProviderSpecificInput' : RecoveryPlanProviderSpecificInput, 'DisableProtectionProviderSpecificInput' : DisableProtectionProviderSpecificInput, + 'EnableMigrationProviderSpecificInput' : EnableMigrationProviderSpecificInput, 'EnableProtectionProviderSpecificInput' : EnableProtectionProviderSpecificInput, 'EventProviderSpecificDetails' : EventProviderSpecificDetails, 'EventSpecificDetails' : EventSpecificDetails, @@ -12426,6 +17479,8 @@ export const discriminators = { 'PolicyProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzurePolicyInput, 'ReplicationProviderSpecificSettings.HyperVReplicaAzure' : HyperVReplicaAzureReplicationDetails, 'ReverseReplicationProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureReprotectInput, + 'TestFailoverProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureTestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.HyperVReplicaAzure' : HyperVReplicaAzureUnplannedFailoverInput, 'UpdateReplicationProtectedItemProviderInput.HyperVReplicaAzure' : HyperVReplicaAzureUpdateReplicationProtectedItemInput, 'EventProviderSpecificDetails.HyperVReplicaBaseEventDetails' : HyperVReplicaBaseEventDetails, 'PolicyProviderSpecificDetails.HyperVReplicaBasePolicyDetails' : HyperVReplicaBasePolicyDetails, @@ -12448,6 +17503,8 @@ export const discriminators = { 'ProviderSpecificRecoveryPointDetails.InMageAzureV2' : InMageAzureV2RecoveryPointDetails, 'ReplicationProviderSpecificSettings.InMageAzureV2' : InMageAzureV2ReplicationDetails, 'ReverseReplicationProviderSpecificInput.InMageAzureV2' : InMageAzureV2ReprotectInput, + 'TestFailoverProviderSpecificInput.InMageAzureV2' : InMageAzureV2TestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.InMageAzureV2' : InMageAzureV2UnplannedFailoverInput, 'UpdateReplicationProtectedItemProviderInput.InMageAzureV2' : InMageAzureV2UpdateReplicationProtectedItemInput, 'PolicyProviderSpecificDetails.InMageBasePolicyDetails' : InMageBasePolicyDetails, 'DisableProtectionProviderSpecificInput.InMage' : InMageDisableProtectionProviderSpecificInput, @@ -12455,29 +17512,50 @@ export const discriminators = { 'ProviderSpecificFailoverInput.InMage' : InMageFailoverProviderInput, 'PolicyProviderSpecificDetails.InMage' : InMagePolicyDetails, 'PolicyProviderSpecificInput.InMage' : InMagePolicyInput, + 'ApplyRecoveryPointProviderSpecificInput.InMageRcm' : InMageRcmApplyRecoveryPointInput, + 'EnableProtectionProviderSpecificInput.InMageRcm' : InMageRcmEnableProtectionInput, + 'EventProviderSpecificDetails.InMageRcm' : InMageRcmEventDetails, + 'FabricSpecificCreationInput.InMageRcm' : InMageRcmFabricCreationInput, + 'FabricSpecificDetails.InMageRcm' : InMageRcmFabricSpecificDetails, + 'PolicyProviderSpecificInput.InMageRcm' : InMageRcmPolicyCreationInput, + 'PolicyProviderSpecificDetails.InMageRcm' : InMageRcmPolicyDetails, + 'ProviderSpecificRecoveryPointDetails.InMageRcm' : InMageRcmRecoveryPointDetails, + 'ReplicationProviderSpecificSettings.InMageRcm' : InMageRcmReplicationDetails, + 'TestFailoverProviderSpecificInput.InMageRcm' : InMageRcmTestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.InMageRcm' : InMageRcmUnplannedFailoverInput, + 'UpdateReplicationProtectedItemProviderInput.InMageRcm' : InMageRcmUpdateReplicationProtectedItemInput, 'ReplicationProviderSpecificSettings.InMage' : InMageReplicationDetails, 'ReverseReplicationProviderSpecificInput.InMage' : InMageReprotectInput, + 'TestFailoverProviderSpecificInput.InMage' : InMageTestFailoverInput, + 'UnplannedFailoverProviderSpecificInput.InMage' : InMageUnplannedFailoverInput, 'JobDetails' : JobDetails, 'EventSpecificDetails.JobStatus' : JobStatusEventDetails, 'TaskTypeDetails.JobTaskDetails' : JobTaskDetails, 'TaskTypeDetails.ManualActionTaskDetails' : ManualActionTaskDetails, + 'MigrateProviderSpecificInput' : MigrateProviderSpecificInput, + 'MigrationProviderSpecificSettings' : MigrationProviderSpecificSettings, 'NetworkMappingFabricSpecificSettings' : NetworkMappingFabricSpecificSettings, 'ProviderSpecificFailoverInput' : ProviderSpecificFailoverInput, 'PolicyProviderSpecificDetails' : PolicyProviderSpecificDetails, 'ProtectionContainerMappingProviderSpecificDetails' : ProtectionContainerMappingProviderSpecificDetails, 'ProviderSpecificRecoveryPointDetails' : ProviderSpecificRecoveryPointDetails, 'PolicyProviderSpecificDetails.RcmAzureMigration' : RcmAzureMigrationPolicyDetails, + 'RecoveryPlanProviderSpecificDetails' : RecoveryPlanProviderSpecificDetails, 'RecoveryPlanProviderSpecificFailoverInput.A2A' : RecoveryPlanA2AFailoverInput, + 'RecoveryPlanProviderSpecificDetails.A2A' : RecoveryPlanA2ADetails, + 'RecoveryPlanProviderSpecificInput.A2A' : RecoveryPlanA2AInput, 'RecoveryPlanActionDetails.AutomationRunbookActionDetails' : RecoveryPlanAutomationRunbookActionDetails, 'GroupTaskDetails.RecoveryPlanGroupTaskDetails' : RecoveryPlanGroupTaskDetails, 'RecoveryPlanProviderSpecificFailoverInput.HyperVReplicaAzureFailback' : RecoveryPlanHyperVReplicaAzureFailbackInput, 'RecoveryPlanProviderSpecificFailoverInput.HyperVReplicaAzure' : RecoveryPlanHyperVReplicaAzureFailoverInput, 'RecoveryPlanProviderSpecificFailoverInput.InMageAzureV2' : RecoveryPlanInMageAzureV2FailoverInput, 'RecoveryPlanProviderSpecificFailoverInput.InMage' : RecoveryPlanInMageFailoverInput, + 'RecoveryPlanProviderSpecificFailoverInput.InMageRcm' : RecoveryPlanInMageRcmFailoverInput, 'RecoveryPlanActionDetails.ManualActionDetails' : RecoveryPlanManualActionDetails, 'RecoveryPlanProviderSpecificFailoverInput' : RecoveryPlanProviderSpecificFailoverInput, 'RecoveryPlanActionDetails.ScriptActionDetails' : RecoveryPlanScriptActionDetails, 'GroupTaskDetails.RecoveryPlanShutdownGroupTaskDetails' : RecoveryPlanShutdownGroupTaskDetails, + 'RemoveDisksProviderSpecificInput' : RemoveDisksProviderSpecificInput, 'ConfigurationSettings.ReplicationGroupDetails' : ReplicationGroupDetails, 'ReplicationProviderSpecificSettings' : ReplicationProviderSpecificSettings, 'ReplicationProviderSpecificUpdateContainerMappingInput' : ReplicationProviderSpecificUpdateContainerMappingInput, @@ -12486,7 +17564,11 @@ export const discriminators = { 'TaskTypeDetails.ScriptActionTaskDetails' : ScriptActionTaskDetails, 'SwitchProtectionProviderSpecificInput' : SwitchProtectionProviderSpecificInput, 'JobDetails.SwitchProtectionJobDetails' : SwitchProtectionJobDetails, + 'TestFailoverProviderSpecificInput' : TestFailoverProviderSpecificInput, 'JobDetails.TestFailoverJobDetails' : TestFailoverJobDetails, + 'TestMigrateProviderSpecificInput' : TestMigrateProviderSpecificInput, + 'UnplannedFailoverProviderSpecificInput' : UnplannedFailoverProviderSpecificInput, + 'UpdateMigrationItemProviderSpecificInput' : UpdateMigrationItemProviderSpecificInput, 'UpdateReplicationProtectedItemProviderInput' : UpdateReplicationProtectedItemProviderInput, 'TaskTypeDetails.VirtualMachineTaskDetails' : VirtualMachineTaskDetails, 'FabricSpecificDetails.VMM' : VmmDetails, @@ -12498,10 +17580,19 @@ export const discriminators = { 'FabricSpecificUpdateNetworkMappingInput.VmmToVmm' : VmmToVmmUpdateNetworkMappingInput, 'ConfigurationSettings.VmmVirtualMachine' : VmmVirtualMachineDetails, 'TaskTypeDetails.VmNicUpdatesTaskDetails' : VmNicUpdatesTaskDetails, + 'ReplicationProviderSpecificContainerCreationInput.6c7da455-506f-43ff-a16a-8eb101aebb70' : VMwareCbtContainerCreationInput, + 'ReplicationProviderSpecificContainerMappingInput.VMwareCbt' : VMwareCbtContainerMappingInput, + 'EnableMigrationProviderSpecificInput.VMwareCbt' : VMwareCbtEnableMigrationInput, + 'MigrateProviderSpecificInput.VMwareCbt' : VMwareCbtMigrateInput, + 'MigrationProviderSpecificSettings.VMwareCbt' : VMwareCbtMigrationDetails, 'PolicyProviderSpecificInput.VMwareCbt' : VMwareCbtPolicyCreationInput, 'PolicyProviderSpecificDetails.VMwareCbt' : VmwareCbtPolicyDetails, + 'ProtectionContainerMappingProviderSpecificDetails.VMwareCbt' : VMwareCbtProtectionContainerMappingDetails, + 'TestMigrateProviderSpecificInput.VMwareCbt' : VMwareCbtTestMigrateInput, + 'UpdateMigrationItemProviderSpecificInput.VMwareCbt' : VMwareCbtUpdateMigrationItemInput, 'FabricSpecificDetails.VMware' : VMwareDetails, 'FabricSpecificCreationInput.VMwareV2' : VMwareV2FabricCreationInput, 'FabricSpecificDetails.VMwareV2' : VMwareV2FabricSpecificDetails, 'ConfigurationSettings.VMwareVirtualMachine' : VMwareVirtualMachineDetails + }; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/migrationRecoveryPointsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/migrationRecoveryPointsMappers.ts new file mode 100644 index 000000000000..8d1494d8e379 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/migrationRecoveryPointsMappers.ts @@ -0,0 +1,205 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, + InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointCollection, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkMapping, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationAgentDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, + ScriptActionTaskDetails, + ServiceError, + StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverJobDetails, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingProperties, + VCenter, + VCenterProperties, + VersionDetails, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + VMNicDetails, + VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, + VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareDetails, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails +} from "../models/mappers"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/operationsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/operationsMappers.ts index c542566c0253..b38e84d4333e 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. + * Licensed under the MIT License. See License.txt in the project root for license information. * * 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..1702f2642a04 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/parameters.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/parameters.ts @@ -40,6 +40,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: { @@ -102,6 +114,26 @@ export const mappingName: msRest.OperationURLParameter = { } } }; +export const migrationItemName: msRest.OperationURLParameter = { + parameterPath: "migrationItemName", + mapper: { + required: true, + serializedName: "migrationItemName", + type: { + name: "String" + } + } +}; +export const migrationRecoveryPointName: msRest.OperationURLParameter = { + parameterPath: "migrationRecoveryPointName", + mapper: { + required: true, + serializedName: "migrationRecoveryPointName", + type: { + name: "String" + } + } +}; export const networkMappingName: msRest.OperationURLParameter = { parameterPath: "networkMappingName", mapper: { @@ -275,6 +307,16 @@ export const subscriptionId: msRest.OperationURLParameter = { } } }; +export const vaultSettingName: msRest.OperationURLParameter = { + parameterPath: "vaultSettingName", + mapper: { + required: true, + serializedName: "vaultSettingName", + type: { + name: "String" + } + } +}; export const vCenterName: msRest.OperationURLParameter = { parameterPath: "vCenterName", mapper: { @@ -285,3 +327,13 @@ export const vCenterName: msRest.OperationURLParameter = { } } }; +export const virtualMachineName: msRest.OperationURLParameter = { + parameterPath: "virtualMachineName", + mapper: { + required: true, + serializedName: "virtualMachineName", + type: { + name: "String" + } + } +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts index e30a369bf270..f64472a207f0 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts @@ -1,169 +1,205 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - RecoveryPointCollection, - RecoveryPoint, - Resource, - BaseResource, - RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointCollection, + RecoveryPointProperties, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts index 9dce3b118fae..5a232a058b9d 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts @@ -1,171 +1,207 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - AlertCollection, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, - Resource, - BaseResource, + AlertCollection, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, CloudError, + ConfigurationSettings, ConfigureAlertRequest, ConfigureAlertRequestProperties, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEligibilityResultsOperationsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEligibilityResultsOperationsMappers.ts new file mode 100644 index 000000000000..e566b4f4c318 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEligibilityResultsOperationsMappers.ts @@ -0,0 +1,16 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * 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..8809a3a8dfca 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts @@ -1,169 +1,205 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - EventCollection, - Event, - Resource, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, + Event, + EventCollection, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, - CloudError, - A2AEventDetails, - Alert, - AlertProperties, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts index eda4dd1cd69e..8ca02f7e4e68 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts @@ -1,178 +1,216 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - FabricCollection, - Fabric, - Resource, - BaseResource, - FabricProperties, - EncryptionDetails, - FabricSpecificDetails, - HealthError, - InnerHealthError, - CloudError, - FabricCreationInput, - FabricCreationInputProperties, - FabricSpecificCreationInput, - FailoverProcessServerRequest, - FailoverProcessServerRequestProperties, - RenewCertificateInput, - RenewCertificateInputProperties, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, AzureFabricCreationInput, AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, + Fabric, + FabricCollection, + FabricCreationInput, + FabricCreationInputProperties, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificCreationInput, + FabricSpecificDetails, + FailoverJobDetails, + FailoverProcessServerRequest, + FailoverProcessServerRequestProperties, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + IdentityProviderInput, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricCreationInput, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RenewCertificateInput, + RenewCertificateInputProperties, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricCreationInput, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts index 4c9ce01a06ba..57e4177cb6df 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts @@ -1,172 +1,208 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - JobCollection, - Job, - Resource, - BaseResource, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, - JobDetails, - CloudError, - ResumeJobParams, - ResumeJobParamsProperties, - JobQueryParameter, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, AsrJobDetails, + ASRTask, AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, ConsistencyCheckTaskDetails, - InconsistentVmDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, - FabricSpecificDetails, FabricReplicationGroupTaskDetails, - JobEntity, + FabricSpecificDetails, FailoverJobDetails, FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobCollection, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobQueryParameter, JobStatusEventDetails, JobTaskDetails, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + ResumeJobParams, + ResumeJobParamsProperties, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts index 6a85fc7ad5b1..88d7ff1d6b50 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts @@ -1,169 +1,205 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - LogicalNetworkCollection, - LogicalNetwork, - Resource, - BaseResource, - LogicalNetworkProperties, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + LogicalNetwork, + LogicalNetworkCollection, + LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationMigrationItemsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationMigrationItemsMappers.ts new file mode 100644 index 000000000000..5b2331d0f4e0 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationMigrationItemsMappers.ts @@ -0,0 +1,225 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EnableMigrationInput, + EnableMigrationInputProperties, + EnableMigrationProviderSpecificInput, + EncryptionDetails, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, + InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MasterTargetServer, + MigrateInput, + MigrateInputProperties, + MigrateProviderSpecificInput, + MigrationItem, + MigrationItemCollection, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkMapping, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationAgentDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, + ScriptActionTaskDetails, + ServiceError, + StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverJobDetails, + TestMigrateCleanupInput, + TestMigrateCleanupInputProperties, + TestMigrateInput, + TestMigrateInputProperties, + TestMigrateProviderSpecificInput, + UpdateMigrationItemInput, + UpdateMigrationItemInputProperties, + UpdateMigrationItemProviderSpecificInput, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingProperties, + VCenter, + VCenterProperties, + VersionDetails, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + VMNicDetails, + VmNicUpdatesTaskDetails, + VMwareCbtDiskInput, + VMwareCbtEnableMigrationInput, + VMwareCbtMigrateInput, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, + VMwareCbtNicInput, + VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareCbtTestMigrateInput, + VMwareCbtUpdateMigrationItemInput, + VMwareDetails, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails +} from "../models/mappers"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts index 11655d1ad2bc..82f9c9fc9475 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts @@ -1,117 +1,200 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - NetworkMappingCollection, - NetworkMapping, - Resource, - BaseResource, - NetworkMappingProperties, - NetworkMappingFabricSpecificSettings, - CloudError, - CreateNetworkMappingInput, - CreateNetworkMappingInputProperties, - FabricSpecificCreateNetworkMappingInput, - UpdateNetworkMappingInput, - UpdateNetworkMappingInputProperties, - FabricSpecificUpdateNetworkMappingInput, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, AzureToAzureCreateNetworkMappingInput, AzureToAzureNetworkMappingSettings, AzureToAzureUpdateNetworkMappingInput, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CreateNetworkMappingInput, + CreateNetworkMappingInputProperties, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, + FabricSpecificCreateNetworkMappingInput, FabricSpecificDetails, + FabricSpecificUpdateNetworkMappingInput, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, + NetworkMapping, + NetworkMappingCollection, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, NetworkProperties, - Subnet, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + UpdateNetworkMappingInput, + UpdateNetworkMappingInputProperties, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureCreateNetworkMappingInput, @@ -121,61 +204,14 @@ export { VmmToVmmNetworkMappingSettings, VmmToVmmUpdateNetworkMappingInput, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts index 07da42c72cfb..3f449df5c50b 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts @@ -1,169 +1,205 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - NetworkCollection, - Network, - Resource, - BaseResource, - NetworkProperties, - Subnet, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkCollection, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts index a524c39491c2..1d794956ed54 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts @@ -1,181 +1,218 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - PolicyCollection, - Policy, - Resource, - BaseResource, - PolicyProperties, - PolicyProviderSpecificDetails, - CloudError, - CreatePolicyInput, - CreatePolicyInputProperties, - PolicyProviderSpecificInput, - UpdatePolicyInput, - UpdatePolicyInputProperties, + A2AEventDetails, A2APolicyCreationInput, A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CreatePolicyInput, + CreatePolicyInputProperties, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzurePolicyInput, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBluePolicyInput, + HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaPolicyInput, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, InMageAzureV2PolicyDetails, InMageAzureV2PolicyInput, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, InMageBasePolicyDetails, + InMageDiskDetails, InMagePolicyDetails, InMagePolicyInput, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyCreationInput, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyCollection, + PolicyProperties, + PolicyProviderSpecificDetails, + PolicyProviderSpecificInput, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + UpdatePolicyInput, + UpdatePolicyInputProperties, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VMwareCbtPolicyCreationInput, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts index b12ec224ec54..73be9c6a457d 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts @@ -1,169 +1,205 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - ProtectableItemCollection, - ProtectableItem, - Resource, - BaseResource, - ProtectableItemProperties, - ConfigurationSettings, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, HyperVVirtualMachineDetails, - OSDetails, - DiskDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemCollection, + ProtectableItemProperties, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts index 9fb7bd5bfa83..b51ce31fd9ed 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts @@ -1,80 +1,83 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - ReplicationProtectedItemCollection, - ReplicationProtectedItem, - Resource, - BaseResource, - ReplicationProtectedItemProperties, - HealthError, - InnerHealthError, - CurrentScenarioDetails, - ReplicationProviderSpecificSettings, - CloudError, - EnableProtectionInput, - EnableProtectionInputProperties, - EnableProtectionProviderSpecificInput, - UpdateReplicationProtectedItemInput, - UpdateReplicationProtectedItemInputProperties, - VMNicInputDetails, - UpdateReplicationProtectedItemProviderInput, - ApplyRecoveryPointInput, - ApplyRecoveryPointInputProperties, - ApplyRecoveryPointProviderSpecificInput, - PlannedFailoverInput, - PlannedFailoverInputProperties, - ProviderSpecificFailoverInput, - DisableProtectionInput, - DisableProtectionInputProperties, - DisableProtectionProviderSpecificInput, - ReverseReplicationInput, - ReverseReplicationInputProperties, - ReverseReplicationProviderSpecificInput, - TestFailoverInput, - TestFailoverInputProperties, - TestFailoverCleanupInput, - TestFailoverCleanupInputProperties, - UnplannedFailoverInput, - UnplannedFailoverInputProperties, - UpdateMobilityServiceRequest, - UpdateMobilityServiceRequestProperties, + A2AAddDisksInput, A2AApplyRecoveryPointInput, A2AEnableProtectionInput, - A2AVmDiskInputDetails, - A2AVmManagedDiskInputDetails, - DiskEncryptionInfo, - DiskEncryptionKeyInfo, - KeyEncryptionKeyInfo, + A2AEventDetails, A2AFailoverProviderInput, - A2AReplicationDetails, + A2APolicyDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2ARemoveDisksInput, + A2AReplicationDetails, A2AReprotectInput, + A2ATestFailoverInput, + A2AUnplannedFailoverInput, + A2AUnprotectedDiskDetails, A2AUpdateReplicationProtectedItemInput, + A2AVmDiskInputDetails, + A2AVmManagedDiskInputDetails, A2AVmManagedDiskUpdateDetails, + AddDisksInput, + AddDisksInputProperties, + AddDisksProviderSpecificInput, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + ApplyRecoveryPointInput, + ApplyRecoveryPointInputProperties, + ApplyRecoveryPointProviderSpecificInput, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DisableProtectionInput, + DisableProtectionInputProperties, + DisableProtectionProviderSpecificInput, + DiskDetails, + DiskEncryptionInfo, + DiskEncryptionKeyInfo, + DiskVolumeDetails, + DraDetails, + EnableProtectionInput, + EnableProtectionInputProperties, + EnableProtectionProviderSpecificInput, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureApplyRecoveryPointInput, @@ -82,145 +85,208 @@ export { HyperVReplicaAzureEventDetails, HyperVReplicaAzureFailbackProviderInput, HyperVReplicaAzureFailoverProviderInput, + HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - OSDetails, HyperVReplicaAzureReprotectInput, + HyperVReplicaAzureTestFailoverInput, + HyperVReplicaAzureUnplannedFailoverInput, HyperVReplicaAzureUpdateReplicationProtectedItemInput, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, - DiskDetails, + HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2ApplyRecoveryPointInput, + InMageAzureV2DiskInputDetails, InMageAzureV2EnableProtectionInput, InMageAzureV2EventDetails, InMageAzureV2FailoverProviderInput, - InMageAzureV2ReplicationDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, InMageAzureV2ReprotectInput, + InMageAzureV2TestFailoverInput, + InMageAzureV2UnplannedFailoverInput, InMageAzureV2UpdateReplicationProtectedItemInput, + InMageBasePolicyDetails, InMageDisableProtectionProviderSpecificInput, - InMageEnableProtectionInput, + InMageDiskDetails, InMageDiskExclusionInput, - InMageVolumeExclusionOptions, InMageDiskSignatureExclusionOptions, + InMageEnableProtectionInput, InMageFailoverProviderInput, - InMageReplicationDetails, - OSDiskDetails, + InMagePolicyDetails, InMageProtectedDiskDetails, - InMageAgentDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmApplyRecoveryPointInput, + InMageRcmDiskInput, + InMageRcmDisksDefaultInput, + InMageRcmEnableProtectionInput, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmNicInput, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageRcmTestFailoverInput, + InMageRcmUnplannedFailoverInput, + InMageRcmUpdateReplicationProtectedItemInput, + InMageReplicationDetails, InMageReprotectInput, + InMageTestFailoverInput, + InMageUnplannedFailoverInput, + InMageVolumeExclusionOptions, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + PlannedFailoverInput, + PlannedFailoverInputProperties, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificFailoverInput, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RemoveDisksInput, + RemoveDisksInputProperties, + RemoveDisksProviderSpecificInput, + ReplicationAgentDetails, ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemCollection, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + ResolveHealthError, + ResolveHealthInput, + ResolveHealthInputProperties, + Resource, + ResourceHealthSummary, + RetentionVolume, + ReverseReplicationInput, + ReverseReplicationInputProperties, + ReverseReplicationProviderSpecificInput, + RunAsAccount, SanEnableProtectionInput, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverCleanupInput, + TestFailoverCleanupInputProperties, + TestFailoverInput, + TestFailoverInputProperties, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + TestFailoverProviderSpecificInput, + UnplannedFailoverInput, + UnplannedFailoverInputProperties, + UnplannedFailoverProviderSpecificInput, + UpdateMobilityServiceRequest, + UpdateMobilityServiceRequestProperties, + UpdateReplicationProtectedItemInput, + UpdateReplicationProtectedItemInputProperties, + UpdateReplicationProtectedItemProviderInput, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, + VMNicDetails, + VMNicInputDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaPolicyDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageBasePolicyDetails, - InMagePolicyDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts index 0d6ad5eff961..1abc23a2de1f 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts @@ -1,180 +1,217 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - ProtectionContainerMappingCollection, - ProtectionContainerMapping, - Resource, - BaseResource, - ProtectionContainerMappingProperties, - ProtectionContainerMappingProviderSpecificDetails, - HealthError, - InnerHealthError, - CloudError, - CreateProtectionContainerMappingInput, - CreateProtectionContainerMappingInputProperties, - ReplicationProviderSpecificContainerMappingInput, - UpdateProtectionContainerMappingInput, - UpdateProtectionContainerMappingInputProperties, - ReplicationProviderSpecificUpdateContainerMappingInput, - RemoveProtectionContainerMappingInput, - RemoveProtectionContainerMappingInputProperties, - ReplicationProviderContainerUnmappingInput, A2AContainerMappingInput, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, A2AUpdateContainerMappingInput, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CreateProtectionContainerMappingInput, + CreateProtectionContainerMappingInputProperties, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingCollection, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RemoveProtectionContainerMappingInput, + RemoveProtectionContainerMappingInputProperties, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProviderContainerUnmappingInput, + ReplicationProviderSpecificContainerMappingInput, ReplicationProviderSpecificSettings, + ReplicationProviderSpecificUpdateContainerMappingInput, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + UpdateProtectionContainerMappingInput, + UpdateProtectionContainerMappingInputProperties, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtContainerMappingInput, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts index dd8441a0c5f2..cc812cf3704c 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts @@ -1,184 +1,221 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - ProtectionContainerCollection, - ProtectionContainer, - Resource, + A2AContainerCreationInput, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2ASwitchProtectionInput, + A2AUnprotectedDiskDetails, + A2AVmDiskInputDetails, + A2AVmManagedDiskInputDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, BaseResource, - ProtectionContainerProperties, - ProtectionContainerFabricSpecificDetails, CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, CreateProtectionContainerInput, CreateProtectionContainerInputProperties, - ReplicationProviderSpecificContainerCreationInput, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, DiscoverProtectableItemRequest, DiscoverProtectableItemRequestProperties, - SwitchProtectionInput, - SwitchProtectionInputProperties, - SwitchProtectionProviderSpecificInput, - A2AContainerCreationInput, - A2ASwitchProtectionInput, - A2AVmDiskInputDetails, - A2AVmManagedDiskInputDetails, + DiskDetails, DiskEncryptionInfo, DiskEncryptionKeyInfo, - KeyEncryptionKeyInfo, - Alert, - AlertProperties, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, + KeyEncryptionKeyInfo, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, + ProtectionContainer, + ProtectionContainerCollection, + ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProviderSpecificContainerCreationInput, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionInput, + SwitchProtectionInputProperties, SwitchProtectionJobDetails, + SwitchProtectionProviderSpecificInput, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtContainerCreationInput, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts index 083318f00636..ff89d190e1ec 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts @@ -1,187 +1,226 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - RecoveryPlanCollection, - RecoveryPlan, - Resource, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + 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, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, RecoveryPlanA2AFailoverInput, + RecoveryPlanA2AInput, + RecoveryPlanAction, + RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanCollection, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanHyperVReplicaAzureFailbackInput, RecoveryPlanHyperVReplicaAzureFailoverInput, RecoveryPlanInMageAzureV2FailoverInput, RecoveryPlanInMageFailoverInput, + RecoveryPlanInMageRcmFailoverInput, RecoveryPlanManualActionDetails, + RecoveryPlanPlannedFailoverInput, + RecoveryPlanPlannedFailoverInputProperties, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanProviderSpecificFailoverInput, + RecoveryPlanProviderSpecificInput, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, + RecoveryPlanTestFailoverCleanupInput, + RecoveryPlanTestFailoverCleanupInputProperties, + RecoveryPlanTestFailoverInput, + RecoveryPlanTestFailoverInputProperties, + RecoveryPlanUnplannedFailoverInput, + RecoveryPlanUnplannedFailoverInputProperties, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + UpdateRecoveryPlanInput, + UpdateRecoveryPlanInputProperties, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts index 261676593e7f..991d005f098a 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts @@ -1,169 +1,208 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - RecoveryServicesProviderCollection, - RecoveryServicesProvider, - Resource, - BaseResource, - RecoveryServicesProviderProperties, - HealthError, - InnerHealthError, - IdentityInformation, - VersionDetails, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AddRecoveryServicesProviderInput, + AddRecoveryServicesProviderInputProperties, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + IdentityProviderInput, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryServicesProvider, + RecoveryServicesProviderCollection, + RecoveryServicesProviderProperties, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts index d5b74ec1fea5..25613fdf0879 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts @@ -1,171 +1,207 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - StorageClassificationMappingCollection, - StorageClassificationMapping, - Resource, - BaseResource, - StorageClassificationMappingProperties, - CloudError, - StorageClassificationMappingInput, - StorageMappingInputProperties, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingCollection, + StorageClassificationMappingInput, + StorageClassificationMappingProperties, StorageClassificationProperties, + StorageMappingInputProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts index a9cacac31c2f..a8eeb0784909 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts @@ -1,169 +1,205 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - StorageClassificationCollection, - StorageClassification, - Resource, - BaseResource, - StorageClassificationProperties, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, - HealthError, - InnerHealthError, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, + StorageClassification, + StorageClassificationCollection, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts index 7885552c73a6..bca5db797b2e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts @@ -1,168 +1,204 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - VaultHealthDetails, - Resource, - BaseResource, - VaultHealthProperties, - HealthError, - InnerHealthError, - ResourceHealthSummary, - HealthErrorSummary, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingProperties, VCenter, VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultSettingMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultSettingMappers.ts new file mode 100644 index 000000000000..1e611786f7a6 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultSettingMappers.ts @@ -0,0 +1,207 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, + InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkMapping, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationAgentDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, + ScriptActionTaskDetails, + ServiceError, + StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverJobDetails, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingCollection, + VaultSettingCreationInput, + VaultSettingCreationInputProperties, + VaultSettingProperties, + VCenter, + VCenterProperties, + VersionDetails, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + VMNicDetails, + VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, + VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareDetails, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails +} from "../models/mappers"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts index c3861efe7369..33c363cd7d41 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts @@ -1,173 +1,209 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - VCenterCollection, - VCenter, - Resource, - BaseResource, - VCenterProperties, - HealthError, - InnerHealthError, - CloudError, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, AddVCenterRequest, AddVCenterRequestProperties, - UpdateVCenterRequest, - UpdateVCenterRequestProperties, + AgentDetails, + AgentDiskDetails, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, Job, - JobProperties, - ASRTask, - TaskTypeDetails, - GroupTaskDetails, - JobErrorDetails, - ServiceError, - ProviderError, JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, JobStatusEventDetails, JobTaskDetails, - JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, Network, - NetworkProperties, - Subnet, NetworkMapping, - NetworkMappingProperties, NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, Policy, PolicyProperties, PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, RcmAzureMigrationPolicyDetails, + RcmProxyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, + RecoveryPlanA2ADetails, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + ReplicationAgentDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, ScriptActionTaskDetails, + ServiceError, StorageClassification, - StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, SwitchProtectionJobDetails, + TaskTypeDetails, TestFailoverJobDetails, - FailoverReplicationProtectedItemDetails, + UpdateVCenterRequest, + UpdateVCenterRequestProperties, VaultHealthDetails, VaultHealthProperties, - ResourceHealthSummary, - HealthErrorSummary, + VaultSetting, + VaultSettingProperties, + VCenter, + VCenterCollection, + VCenterProperties, + VersionDetails, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, - OSDetails, - DiskDetails, + VMNicDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, - ProcessServer, - MobilityServiceUpdate, - MasterTargetServer, - RetentionVolume, - DataStore, - RunAsAccount, VMwareV2FabricSpecificDetails, - VMwareVirtualMachineDetails, - InMageDiskDetails, - DiskVolumeDetails, - A2AEventDetails, - A2APolicyDetails, - A2AProtectionContainerMappingDetails, - A2ARecoveryPointDetails, - A2AReplicationDetails, - A2AProtectedDiskDetails, - A2AProtectedManagedDiskDetails, - VMNicDetails, - AzureToAzureVmSyncedConfigDetails, - RoleAssignment, - InputEndpoint, - AsrJobDetails, - AutomationRunbookTaskDetails, - AzureFabricSpecificDetails, - AzureToAzureNetworkMappingSettings, - ConsistencyCheckTaskDetails, - InconsistentVmDetails, - ExportJobDetails, - FabricReplicationGroupTaskDetails, - FailoverJobDetails, - HyperVReplicaAzurePolicyDetails, - HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - HyperVReplicaBasePolicyDetails, - HyperVReplicaBaseReplicationDetails, - HyperVReplicaBluePolicyDetails, - HyperVReplicaBlueReplicationDetails, - HyperVReplicaPolicyDetails, - HyperVReplicaReplicationDetails, - HyperVVirtualMachineDetails, - InlineWorkflowTaskDetails, - InMageAzureV2PolicyDetails, - InMageAzureV2RecoveryPointDetails, - InMageAzureV2ReplicationDetails, - InMageAzureV2ProtectedDiskDetails, - InMageBasePolicyDetails, - InMagePolicyDetails, - InMageReplicationDetails, - OSDiskDetails, - InMageProtectedDiskDetails, - InMageAgentDetails + VMwareVirtualMachineDetails } from "../models/mappers"; - diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/supportedOperatingSystemsOperationsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/supportedOperatingSystemsOperationsMappers.ts new file mode 100644 index 000000000000..bca5db797b2e --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/supportedOperatingSystemsOperationsMappers.ts @@ -0,0 +1,204 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AUnprotectedDiskDetails, + AgentDetails, + AgentDiskDetails, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + DraDetails, + EncryptionDetails, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + ExportJobDetails, + Fabric, + FabricProperties, + FabricReplicationGroupTaskDetails, + FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + HyperVReplicaBaseEventDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVSiteDetails, + HyperVVirtualMachineDetails, + IdentityProviderDetails, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, + InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageRcmAgentUpgradeBlockingErrorDetails, + InMageRcmEventDetails, + InMageRcmFabricSpecificDetails, + InMageRcmLastAgentUpgradeErrorDetails, + InMageRcmMobilityAgentDetails, + InMageRcmNicDetails, + InMageRcmPolicyDetails, + InMageRcmProtectedDiskDetails, + InMageRcmRecoveryPointDetails, + InMageRcmReplicationDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + IPConfig, + Job, + JobDetails, + JobEntity, + JobErrorDetails, + JobProperties, + JobStatusEventDetails, + JobTaskDetails, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MasterTargetServer, + MigrationItem, + MigrationItemProperties, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + MobilityServiceUpdate, + Network, + NetworkMapping, + NetworkMappingFabricSpecificSettings, + NetworkMappingProperties, + NetworkProperties, + OSDetails, + OSDiskDetails, + OSVersionWrapper, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProcessServer, + ProcessServerDetails, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + PushInstallerDetails, + RcmAzureMigrationPolicyDetails, + RcmProxyDetails, + RecoveryPlan, + RecoveryPlanA2ADetails, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationAgentDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + ReprotectAgentDetails, + Resource, + ResourceHealthSummary, + RetentionVolume, + RunAsAccount, + ScriptActionTaskDetails, + ServiceError, + StorageClassification, + StorageClassificationMapping, + StorageClassificationMappingProperties, + StorageClassificationProperties, + Subnet, + SupportedOperatingSystems, + SupportedOSDetails, + SupportedOSProperties, + SupportedOSProperty, + SwitchProtectionJobDetails, + TaskTypeDetails, + TestFailoverJobDetails, + VaultHealthDetails, + VaultHealthProperties, + VaultSetting, + VaultSettingProperties, + VCenter, + VCenterProperties, + VersionDetails, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + VMNicDetails, + VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtNicDetails, + VmwareCbtPolicyDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareDetails, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails +} from "../models/mappers"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/targetComputeSizesMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/targetComputeSizesMappers.ts index 0b4374cffa7b..9602fd073587 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. + * Licensed under the MIT License. See License.txt in the project root for license information. * * 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..f1d5afae480f 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/index.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/index.ts @@ -10,12 +10,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"; @@ -28,4 +31,6 @@ export * from "./replicationvCenters"; export * from "./replicationJobs"; export * from "./replicationPolicies"; export * from "./replicationRecoveryPlans"; +export * from "./supportedOperatingSystemsOperations"; export * from "./replicationVaultHealth"; +export * from "./replicationVaultSetting"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/migrationRecoveryPoints.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/migrationRecoveryPoints.ts new file mode 100644 index 000000000000..b0239f2939bc --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/migrationRecoveryPoints.ts @@ -0,0 +1,212 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationRecoveryPointCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; 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..2c4da22430a8 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationEligibilityResultsOperations.ts @@ -0,0 +1,138 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/replicationJobs.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationJobs.ts index fb2ac84965b2..ecf20a14e699 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationJobs.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationJobs.ts @@ -84,7 +84,7 @@ export class ReplicationJobs { /** * The operation to cancel an Azure Site Recovery job. * @summary Cancels the specified job. - * @param jobName Job indentifier. + * @param jobName Job identifier. * @param [options] The optional parameters * @returns Promise */ @@ -133,7 +133,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 */ 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..586e45b8d8c0 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationMigrationItems.ts @@ -0,0 +1,739 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/replicationMigrationItemsMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a ReplicationMigrationItems. */ +export class ReplicationMigrationItems { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a ReplicationMigrationItems. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * Gets the list of ASR migration items in the protection container. + * @summary Gets the list of migration items in the protection container. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param [options] The optional parameters + * @returns Promise + */ + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param callback The callback + */ + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, callback: msRest.ServiceCallback): void; + /** + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param options The optional parameters + * @param callback The callback + */ + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + fabricName, + protectionContainerName, + options + }, + listByReplicationProtectionContainersOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the details of a migration item. + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param callback The callback + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, callback: msRest.ServiceCallback): void; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param options The optional parameters + * @param callback The callback + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + fabricName, + protectionContainerName, + migrationItemName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * The operation to create an ASR migration item (enable migration). + * @summary Enables migration. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Enable migration input. + * @param [options] The optional parameters + * @returns Promise + */ + create(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.EnableMigrationInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(fabricName,protectionContainerName,migrationItemName,input,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to delete an ASR migration item. + * @summary Delete the migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: Models.ReplicationMigrationItemsDeleteMethodOptionalParams): Promise { + return this.beginDeleteMethod(fabricName,protectionContainerName,migrationItemName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The operation to update the recovery settings of an ASR migration item. + * @summary Updates migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Update migration item input. + * @param [options] The optional parameters + * @returns Promise + */ + update(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.UpdateMigrationItemInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(fabricName,protectionContainerName,migrationItemName,input,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to initiate migration of the item. + * @summary Migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrateInput Migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + migrate(fabricName: string, protectionContainerName: string, migrationItemName: string, migrateInput: Models.MigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrate(fabricName,protectionContainerName,migrationItemName,migrateInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to initiate test migration of the item. + * @summary Test migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateInput Test migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + testMigrate(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateInput: Models.TestMigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginTestMigrate(fabricName,protectionContainerName,migrationItemName,testMigrateInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to initiate test migrate cleanup. + * @summary Test migrate cleanup. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateCleanupInput Test migrate cleanup input. + * @param [options] The optional parameters + * @returns Promise + */ + testMigrateCleanup(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateCleanupInput: Models.TestMigrateCleanupInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginTestMigrateCleanup(fabricName,protectionContainerName,migrationItemName,testMigrateCleanupInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Gets the list of migration items in the vault. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: Models.ReplicationMigrationItemsListOptionalParams): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: Models.ReplicationMigrationItemsListOptionalParams, callback: msRest.ServiceCallback): void; + list(options?: Models.ReplicationMigrationItemsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * The operation to create an ASR migration item (enable migration). + * @summary Enables migration. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Enable migration input. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreate(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.EnableMigrationInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + input, + options + }, + beginCreateOperationSpec, + options); + } + + /** + * The operation to delete an ASR migration item. + * @summary Delete the migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: Models.ReplicationMigrationItemsBeginDeleteMethodOptionalParams): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * The operation to update the recovery settings of an ASR migration item. + * @summary Updates migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Update migration item input. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.UpdateMigrationItemInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + input, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * The operation to initiate migration of the item. + * @summary Migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrateInput Migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + beginMigrate(fabricName: string, protectionContainerName: string, migrationItemName: string, migrateInput: Models.MigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + migrateInput, + options + }, + beginMigrateOperationSpec, + options); + } + + /** + * The operation to initiate test migration of the item. + * @summary Test migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateInput Test migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + beginTestMigrate(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateInput: Models.TestMigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + testMigrateInput, + options + }, + beginTestMigrateOperationSpec, + options); + } + + /** + * The operation to initiate test migrate cleanup. + * @summary Test migrate cleanup. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateCleanupInput Test migrate cleanup input. + * @param [options] The optional parameters + * @returns Promise + */ + beginTestMigrateCleanup(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateCleanupInput: Models.TestMigrateCleanupInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + testMigrateCleanupInput, + options + }, + beginTestMigrateCleanupOperationSpec, + options); + } + + /** + * Gets the list of ASR migration items in the protection container. + * @summary Gets the list of migration items in the protection container. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByReplicationProtectionContainersNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByReplicationProtectionContainersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByReplicationProtectionContainersNextOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the list of migration items in the vault. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: 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 listByReplicationProtectionContainersOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "input", + mapper: { + ...Mappers.EnableMigrationInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.deleteOption + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "input", + mapper: { + ...Mappers.UpdateMigrationItemInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginMigrateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrate", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "migrateInput", + mapper: { + ...Mappers.MigrateInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginTestMigrateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrate", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "testMigrateInput", + mapper: { + ...Mappers.TestMigrateInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginTestMigrateCleanupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrateCleanup", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "testMigrateCleanupInput", + mapper: { + ...Mappers.TestMigrateCleanupInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByReplicationProtectionContainersNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + 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 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectedItems.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectedItems.ts index 8d142df82139..26956fae9751 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectedItems.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationProtectedItems.ts @@ -143,6 +143,21 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Operation to add disks(s) to the replication protected item. + * @summary Add disk(s) for protection. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param addDisksInput Add disks input. + * @param [options] The optional parameters + * @returns Promise + */ + addDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, addDisksInput: Models.AddDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginAddDisks(fabricName,protectionContainerName,replicatedProtectedItemName,addDisksInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * The operation to change the recovery point of a failed over replication protected item. * @summary Change or apply recovery point. @@ -203,6 +218,21 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()); } + /** + * Operation to remove disk(s) from the replication protected item. + * @summary Removes disk(s). + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param removeDisksInput Remove disks input. + * @param [options] The optional parameters + * @returns Promise + */ + removeDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, removeDisksInput: Models.RemoveDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginRemoveDisks(fabricName,protectionContainerName,replicatedProtectedItemName,removeDisksInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * The operation to start resynchronize/repair replication for a replication protected item * requiring resynchronization. @@ -233,6 +263,21 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Operation to resolve health issues of the replication protected item. + * @summary Resolve health errors. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param resolveHealthInput Health issue input object. + * @param [options] The optional parameters + * @returns Promise + */ + resolveHealthErrors(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, resolveHealthInput: Models.ResolveHealthInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginResolveHealthErrors(fabricName,protectionContainerName,replicatedProtectedItemName,resolveHealthInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Operation to perform a test failover of the replication protected item. * @summary Execute test failover @@ -390,6 +435,29 @@ export class ReplicationProtectedItems { options); } + /** + * Operation to add disks(s) to the replication protected item. + * @summary Add disk(s) for protection. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param addDisksInput Add disks input. + * @param [options] The optional parameters + * @returns Promise + */ + beginAddDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, addDisksInput: Models.AddDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + addDisksInput, + options + }, + beginAddDisksOperationSpec, + options); + } + /** * The operation to change the recovery point of a failed over replication protected item. * @summary Change or apply recovery point. @@ -481,6 +549,29 @@ export class ReplicationProtectedItems { options); } + /** + * Operation to remove disk(s) from the replication protected item. + * @summary Removes disk(s). + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param removeDisksInput Remove disks input. + * @param [options] The optional parameters + * @returns Promise + */ + beginRemoveDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, removeDisksInput: Models.RemoveDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + removeDisksInput, + options + }, + beginRemoveDisksOperationSpec, + options); + } + /** * The operation to start resynchronize/repair replication for a replication protected item * requiring resynchronization. @@ -526,6 +617,29 @@ export class ReplicationProtectedItems { options); } + /** + * Operation to resolve health issues of the replication protected item. + * @summary Resolve health errors. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param resolveHealthInput Health issue input object. + * @param [options] The optional parameters + * @returns Promise + */ + beginResolveHealthErrors(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, resolveHealthInput: Models.ResolveHealthInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + resolveHealthInput, + options + }, + beginResolveHealthErrorsOperationSpec, + options); + } + /** * Operation to perform a test failover of the replication protected item. * @summary Execute test failover @@ -864,6 +978,42 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginAddDisksOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/addDisks", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "addDisksInput", + mapper: { + ...Mappers.AddDisksInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginApplyRecoveryPointOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint", @@ -999,6 +1149,42 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; +const beginRemoveDisksOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/removeDisks", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "removeDisksInput", + mapper: { + ...Mappers.RemoveDisksInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginRepairReplicationOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication", @@ -1064,6 +1250,42 @@ const beginReprotectOperationSpec: msRest.OperationSpec = { serializer }; +const beginResolveHealthErrorsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/ResolveHealthErrors", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "resolveHealthInput", + mapper: { + ...Mappers.ResolveHealthInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginTestFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover", diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryServicesProviders.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryServicesProviders.ts index 804dbd4a710c..bba4b6593f65 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryServicesProviders.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationRecoveryServicesProviders.ts @@ -89,6 +89,20 @@ export class ReplicationRecoveryServicesProviders { callback) as Promise; } + /** + * The operation to add a recovery services provider. + * @summary Adds a recovery services provider. + * @param fabricName Fabric name. + * @param providerName Recovery services provider name. + * @param addProviderInput Add provider input. + * @param [options] The optional parameters + * @returns Promise + */ + create(fabricName: string, providerName: string, addProviderInput: Models.AddRecoveryServicesProviderInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(fabricName,providerName,addProviderInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * The operation to purge(force delete) a recovery services provider from the vault. * @summary Purges recovery service provider from fabric @@ -157,6 +171,27 @@ export class ReplicationRecoveryServicesProviders { callback) as Promise; } + /** + * The operation to add a recovery services provider. + * @summary Adds a recovery services provider. + * @param fabricName Fabric name. + * @param providerName Recovery services provider name. + * @param addProviderInput Add provider input. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreate(fabricName: string, providerName: string, addProviderInput: Models.AddRecoveryServicesProviderInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + providerName, + addProviderInput, + options + }, + beginCreateOperationSpec, + options); + } + /** * The operation to purge(force delete) a recovery services provider from the vault. * @summary Purges recovery service provider from fabric @@ -358,6 +393,41 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const beginCreateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.providerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "addProviderInput", + mapper: { + ...Mappers.AddRecoveryServicesProviderInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RecoveryServicesProvider + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginPurgeOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}", diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassificationMappings.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassificationMappings.ts index e2e925e8f5e4..e49dfbd970fe 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassificationMappings.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationStorageClassificationMappings.ts @@ -31,7 +31,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 +39,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 */ 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..a54cf369d8d6 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationVaultSetting.ts @@ -0,0 +1,252 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/replicationVaultSettingMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a ReplicationVaultSetting. */ +export class ReplicationVaultSetting { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a ReplicationVaultSetting. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * Gets the list of vault setting. This includes the Migration Hub connection settings. + * @summary Gets the list of vault setting. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets the vault setting. This includes the Migration Hub connection settings. + * @summary Gets the vault setting. + * @param vaultSettingName Vault setting name. + * @param [options] The optional parameters + * @returns Promise + */ + get(vaultSettingName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param vaultSettingName Vault setting name. + * @param callback The callback + */ + get(vaultSettingName: string, callback: msRest.ServiceCallback): void; + /** + * @param vaultSettingName Vault setting name. + * @param options The optional parameters + * @param callback The callback + */ + get(vaultSettingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(vaultSettingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultSettingName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * The operation to configure vault setting. + * @summary Updates vault setting. A vault setting object is a singleton per vault and it is always + * present by default. + * @param vaultSettingName Vault setting name. + * @param input Vault setting creation input. + * @param [options] The optional parameters + * @returns Promise + */ + create(vaultSettingName: string, input: Models.VaultSettingCreationInput, options?: msRest.RequestOptionsBase): Promise; + /** + * @param vaultSettingName Vault setting name. + * @param input Vault setting creation input. + * @param callback The callback + */ + create(vaultSettingName: string, input: Models.VaultSettingCreationInput, callback: msRest.ServiceCallback): void; + /** + * @param vaultSettingName Vault setting name. + * @param input Vault setting creation input. + * @param options The optional parameters + * @param callback The callback + */ + create(vaultSettingName: string, input: Models.VaultSettingCreationInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(vaultSettingName: string, input: Models.VaultSettingCreationInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultSettingName, + input, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Gets the list of vault setting. This includes the Migration Hub connection settings. + * @summary Gets the list of vault setting. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VaultSettingCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.vaultSettingName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VaultSetting + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.vaultSettingName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "input", + mapper: { + ...Mappers.VaultSettingCreationInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VaultSetting + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + 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..5c9d8831e527 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationvCenters.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/replicationvCenters.ts @@ -120,7 +120,7 @@ export class ReplicationvCenters { * The operation to update a registered vCenter. * @summary Update vCenter operation. * @param fabricName Fabric name. - * @param vCenterName vCeneter name + * @param vCenterName vCenter name * @param updateVCenterRequest The input to the update vCenter operation. * @param [options] The optional parameters * @returns Promise @@ -199,7 +199,7 @@ export class ReplicationvCenters { * The operation to update a registered vCenter. * @summary Update vCenter operation. * @param fabricName Fabric name. - * @param vCenterName vCeneter name + * @param vCenterName vCenter name * @param updateVCenterRequest The input to the update vCenter operation. * @param [options] The optional parameters * @returns Promise 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..a98983b3de4c --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/supportedOperatingSystemsOperations.ts @@ -0,0 +1,79 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/supportedOperatingSystemsOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a SupportedOperatingSystemsOperations. */ +export class SupportedOperatingSystemsOperations { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a SupportedOperatingSystemsOperations. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * @summary Gets the data of supported OSes by SRS. + * @param [options] The optional parameters + * @returns Promise + */ + get(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + get(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationSupportedOperatingSystems", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SupportedOperatingSystems + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts index 8bfa137ac28f..1ed8dfee504b 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts @@ -19,12 +19,15 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { // Operation groups operations: operations.Operations; replicationAlertSettings: operations.ReplicationAlertSettings; + replicationEligibilityResults: operations.ReplicationEligibilityResultsOperations; replicationEvents: operations.ReplicationEvents; replicationFabrics: operations.ReplicationFabrics; replicationLogicalNetworks: operations.ReplicationLogicalNetworks; replicationNetworks: operations.ReplicationNetworks; replicationNetworkMappings: operations.ReplicationNetworkMappings; replicationProtectionContainers: operations.ReplicationProtectionContainers; + replicationMigrationItems: operations.ReplicationMigrationItems; + migrationRecoveryPoints: operations.MigrationRecoveryPoints; replicationProtectableItems: operations.ReplicationProtectableItems; replicationProtectedItems: operations.ReplicationProtectedItems; recoveryPoints: operations.RecoveryPoints; @@ -37,7 +40,9 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { replicationJobs: operations.ReplicationJobs; replicationPolicies: operations.ReplicationPolicies; replicationRecoveryPlans: operations.ReplicationRecoveryPlans; + supportedOperatingSystems: operations.SupportedOperatingSystemsOperations; replicationVaultHealth: operations.ReplicationVaultHealth; + replicationVaultSetting: operations.ReplicationVaultSetting; /** * Initializes a new instance of the SiteRecoveryManagementClient class. @@ -52,12 +57,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); @@ -70,7 +78,9 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { this.replicationJobs = new operations.ReplicationJobs(this); this.replicationPolicies = new operations.ReplicationPolicies(this); this.replicationRecoveryPlans = new operations.ReplicationRecoveryPlans(this); + this.supportedOperatingSystems = new operations.SupportedOperatingSystemsOperations(this); this.replicationVaultHealth = new operations.ReplicationVaultHealth(this); + this.replicationVaultSetting = new operations.ReplicationVaultSetting(this); } } diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts index 23d375cb660f..b65ae15c27a7 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-recoveryservices-siterecovery"; -const packageVersion = "0.1.0"; +const packageVersion = "3.2.0"; export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -55,7 +55,7 @@ export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServic super(credentials, options); - this.apiVersion = '2018-01-10'; + this.apiVersion = '2018-07-10'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/tsconfig.json b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/tsconfig.json +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true