diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/LICENSE.txt b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/LICENSE.txt index a70e8cf66038..b73b4a1293c3 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) 2019 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 1f8cb8ba9029..83f01cc8096a 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,13 @@ npm install @azure/arm-recoveryservices-siterecovery ##### Install @azure/ms-rest-nodeauth -``` +```bash npm install @azure/ms-rest-nodeauth ``` ##### 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 +47,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -94,6 +94,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [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/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 ae0d7d576844..b4724bfd52b7 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json @@ -4,8 +4,8 @@ "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", + "@azure/ms-rest-azure-js": "^1.3.2", + "@azure/ms-rest-js": "^1.8.1", "tslib": "^1.9.3" }, "keywords": [ @@ -23,9 +23,10 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "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", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], @@ -52,5 +54,5 @@ "prepack": "npm install && npm run build" }, "sideEffects": false, - "authPublish": true + "autoPublish": true } diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/rollup.config.js b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/rollup.config.js index 9c289477ee2a..5df849471e97 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({ module: true }), + 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..e081a938aabb 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,6 +11,84 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; +/** + * Azure VM disk input details. + */ +export interface A2AVmDiskInputDetails { + /** + * The disk Uri. + */ + diskUri?: string; + /** + * The recovery VHD storage account Id. + */ + recoveryAzureStorageAccountId?: string; + /** + * The primary staging storage account Id. + */ + primaryStagingAzureStorageAccountId?: string; +} + +/** + * Azure VM managed disk input details. + */ +export interface A2AVmManagedDiskInputDetails { + /** + * The disk Id. + */ + diskId?: string; + /** + * The primary staging storage account Arm Id. + */ + primaryStagingAzureStorageAccountId?: string; + /** + * The target resource group Arm Id. + */ + recoveryResourceGroupId?: string; + /** + * The replica disk type. Its an optional value and will be same as source disk type if not user + * provided. + */ + recoveryReplicaDiskAccountType?: string; + /** + * The target disk type after failover. Its an optional value and will be same as source disk + * type if not user provided. + */ + recoveryTargetDiskAccountType?: string; +} + +/** + * Contains the possible cases for AddDisksProviderSpecificInput. + */ +export type AddDisksProviderSpecificInputUnion = AddDisksProviderSpecificInput | A2AAddDisksInput; + +/** + * Add Disks provider specific input. + */ +export interface AddDisksProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "AddDisksProviderSpecificInput"; +} + +/** + * A2A add disk(s) input. + */ +export interface A2AAddDisksInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * The list of vm disk details. + */ + vmDisks?: A2AVmDiskInputDetails[]; + /** + * The list of vm managed disk details. + */ + vmManagedDisks?: A2AVmManagedDiskInputDetails[]; +} /** * Contains the possible cases for ApplyRecoveryPointProviderSpecificInput. @@ -20,27 +96,21 @@ export { BaseResource, CloudError }; export type ApplyRecoveryPointProviderSpecificInputUnion = ApplyRecoveryPointProviderSpecificInput | A2AApplyRecoveryPointInput | HyperVReplicaAzureApplyRecoveryPointInput | InMageAzureV2ApplyRecoveryPointInput; /** - * @interface - * An interface representing ApplyRecoveryPointProviderSpecificInput. * Provider specific input for apply recovery point. - * */ export interface ApplyRecoveryPointProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ApplyRecoveryPointProviderSpecificInput"; } /** - * @interface - * An interface representing A2AApplyRecoveryPointInput. * ApplyRecoveryPoint input specific to A2A provider. - * */ export interface A2AApplyRecoveryPointInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; } @@ -48,30 +118,24 @@ export interface A2AApplyRecoveryPointInput { /** * Contains the possible cases for ReplicationProviderSpecificContainerCreationInput. */ -export type ReplicationProviderSpecificContainerCreationInputUnion = ReplicationProviderSpecificContainerCreationInput | A2AContainerCreationInput; +export type ReplicationProviderSpecificContainerCreationInputUnion = ReplicationProviderSpecificContainerCreationInput | A2AContainerCreationInput | VMwareCbtContainerCreationInput; /** - * @interface - * An interface representing ReplicationProviderSpecificContainerCreationInput. * Provider specific input for container creation operation. - * */ export interface ReplicationProviderSpecificContainerCreationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ReplicationProviderSpecificContainerCreationInput"; } /** - * @interface - * An interface representing A2AContainerCreationInput. * A2A cloud creation input. - * */ export interface A2AContainerCreationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; } @@ -79,153 +143,75 @@ export interface A2AContainerCreationInput { /** * Contains the possible cases for ReplicationProviderSpecificContainerMappingInput. */ -export type ReplicationProviderSpecificContainerMappingInputUnion = ReplicationProviderSpecificContainerMappingInput | A2AContainerMappingInput; +export type ReplicationProviderSpecificContainerMappingInputUnion = ReplicationProviderSpecificContainerMappingInput | A2AContainerMappingInput | VMwareCbtContainerMappingInput; /** - * @interface - * An interface representing ReplicationProviderSpecificContainerMappingInput. * Provider specific input for pairing operations. - * */ export interface ReplicationProviderSpecificContainerMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ReplicationProviderSpecificContainerMappingInput"; } /** - * @interface - * An interface representing A2AContainerMappingInput. * A2A container mapping input. - * */ export interface A2AContainerMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {AgentAutoUpdateStatus} [agentAutoUpdateStatus] A value indicating - * whether the auto update is enabled. Possible values include: 'Disabled', + * A value indicating whether the auto update is enabled. Possible values include: 'Disabled', * 'Enabled' */ agentAutoUpdateStatus?: AgentAutoUpdateStatus; /** - * @member {string} [automationAccountArmId] The automation account arm id. + * The automation account arm id. */ automationAccountArmId?: string; } /** - * @interface - * An interface representing A2AVmDiskInputDetails. - * Azure VM disk input details. - * - */ -export interface A2AVmDiskInputDetails { - /** - * @member {string} [diskUri] The disk Uri. - */ - diskUri?: string; - /** - * @member {string} [recoveryAzureStorageAccountId] The recovery VHD storage - * account Id. - */ - recoveryAzureStorageAccountId?: string; - /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account Id. - */ - primaryStagingAzureStorageAccountId?: string; -} - -/** - * @interface - * An interface representing A2AVmManagedDiskInputDetails. - * Azure VM managed disk input details. - * - */ -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; - /** - * @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. - */ - recoveryTargetDiskAccountType?: string; -} - -/** - * @interface - * An interface representing DiskEncryptionKeyInfo. * Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows). - * */ export interface DiskEncryptionKeyInfo { /** - * @member {string} [secretIdentifier] The secret url / identifier. + * The secret url / identifier. */ secretIdentifier?: string; /** - * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for - * secret. + * The KeyVault resource ARM id for secret. */ keyVaultResourceArmId?: string; } /** - * @interface - * An interface representing KeyEncryptionKeyInfo. * Key Encryption Key (KEK) information. - * */ export interface KeyEncryptionKeyInfo { /** - * @member {string} [keyIdentifier] The key url / identifier. + * The key url / identifier. */ keyIdentifier?: string; /** - * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for - * key. + * The KeyVault resource ARM id for key. */ keyVaultResourceArmId?: string; } /** - * @interface - * An interface representing DiskEncryptionInfo. * Recovery disk encryption info (BEK and KEK). - * */ export interface DiskEncryptionInfo { /** - * @member {DiskEncryptionKeyInfo} [diskEncryptionKeyInfo] The recovery - * KeyVault reference for secret. + * The recovery KeyVault reference for secret. */ diskEncryptionKeyInfo?: DiskEncryptionKeyInfo; /** - * @member {KeyEncryptionKeyInfo} [keyEncryptionKeyInfo] The recovery - * KeyVault reference for key. + * The recovery KeyVault reference for key. */ keyEncryptionKeyInfo?: KeyEncryptionKeyInfo; } @@ -236,76 +222,75 @@ export interface DiskEncryptionInfo { export type EnableProtectionProviderSpecificInputUnion = EnableProtectionProviderSpecificInput | A2AEnableProtectionInput | HyperVReplicaAzureEnableProtectionInput | InMageAzureV2EnableProtectionInput | InMageEnableProtectionInput | 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 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; } /** @@ -314,51 +299,45 @@ export interface A2AEnableProtectionInput { export type EventProviderSpecificDetailsUnion = EventProviderSpecificDetails | A2AEventDetails | HyperVReplica2012EventDetails | HyperVReplica2012R2EventDetails | HyperVReplicaAzureEventDetails | HyperVReplicaBaseEventDetails | InMageAzureV2EventDetails; /** - * @interface - * An interface representing EventProviderSpecificDetails. * Model class for provider specific details for an event. - * */ export interface EventProviderSpecificDetails { /** - * @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 +348,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; } @@ -411,47 +382,37 @@ export interface A2AFailoverProviderInput { export type PolicyProviderSpecificInputUnion = PolicyProviderSpecificInput | A2APolicyCreationInput | HyperVReplicaAzurePolicyInput | HyperVReplicaBluePolicyInput | HyperVReplicaPolicyInput | InMageAzureV2PolicyInput | InMagePolicyInput | 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; @@ -463,259 +424,235 @@ export interface A2APolicyCreationInput { export type PolicyProviderSpecificDetailsUnion = PolicyProviderSpecificDetails | A2APolicyDetails | HyperVReplicaAzurePolicyDetails | HyperVReplicaBasePolicyDetails | HyperVReplicaBluePolicyDetails | HyperVReplicaPolicyDetails | InMageAzureV2PolicyDetails | InMageBasePolicyDetails | InMagePolicyDetails | 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 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; } @@ -723,48 +660,41 @@ export interface A2AProtectedManagedDiskDetails { /** * 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; } @@ -775,173 +705,167 @@ export interface A2AProtectionContainerMappingDetails { export type ProviderSpecificRecoveryPointDetailsUnion = ProviderSpecificRecoveryPointDetails | A2ARecoveryPointDetails | InMageAzureV2RecoveryPointDetails; /** - * @interface - * An interface representing ProviderSpecificRecoveryPointDetails. * Replication provider specific recovery point details. - * */ export interface ProviderSpecificRecoveryPointDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ProviderSpecificRecoveryPointDetails"; } /** - * @interface - * An interface representing A2ARecoveryPointDetails. * A2A provider specific recovery point details. - * */ export interface A2ARecoveryPointDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {RecoveryPointSyncType} [recoveryPointSyncType] A value indicating - * whether the recovery point is multi VM consistent. Possible values - * include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' + * A value indicating whether the recovery point is multi VM consistent. Possible values include: + * 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' */ recoveryPointSyncType?: RecoveryPointSyncType; + /** + * List of disk ids representing a recovery point. + */ + disks?: string[]; +} + +/** + * Contains the possible cases for RemoveDisksProviderSpecificInput. + */ +export type RemoveDisksProviderSpecificInputUnion = RemoveDisksProviderSpecificInput | A2ARemoveDisksInput; + +/** + * Remove Disk provider specific input. + */ +export interface RemoveDisksProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "RemoveDisksProviderSpecificInput"; +} + +/** + * A2A remove disk(s) input. + */ +export interface A2ARemoveDisksInput { + /** + * Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * The list of vm disk vhd URIs. + */ + vmDisksUris?: string[]; + /** + * The list of vm managed disk Ids. + */ + vmManagedDisksIds?: string[]; +} + +/** + * A2A unprotected disk details. + */ +export interface A2AUnprotectedDiskDetails { + /** + * The source lun Id for the data disk. + */ + diskLunId?: number; } /** - * @interface - * An interface representing VMNicDetails. * Hyper V VM network details. - * */ export interface VMNicDetails { /** - * @member {string} [nicId] The nic Id. + * The nic Id. */ nicId?: string; /** - * @member {string} [replicaNicId] The replica nic Id. + * The replica nic Id. */ replicaNicId?: string; /** - * @member {string} [sourceNicArmId] The source nic ARM Id. + * The source nic ARM Id. */ sourceNicArmId?: string; /** - * @member {string} [vMSubnetName] VM subnet name. + * VM subnet name. */ vMSubnetName?: string; /** - * @member {string} [vMNetworkName] VM network name. + * VM network name. */ vMNetworkName?: string; /** - * @member {string} [recoveryVMNetworkId] Recovery VM network Id. + * Recovery VM network Id. */ recoveryVMNetworkId?: string; /** - * @member {string} [recoveryVMSubnetName] Recovery VM subnet name. + * Recovery VM subnet name. */ recoveryVMSubnetName?: string; /** - * @member {string} [ipAddressType] Ip address type. + * Ip address type. */ ipAddressType?: string; /** - * @member {string} [primaryNicStaticIPAddress] Primary nic static IP - * address. + * Primary nic static IP address. */ primaryNicStaticIPAddress?: string; /** - * @member {string} [replicaNicStaticIPAddress] Replica nic static IP - * address. + * Replica nic static IP address. */ replicaNicStaticIPAddress?: string; /** - * @member {string} [selectionType] Selection type for failover. + * Selection type for failover. */ selectionType?: string; /** - * @member {string} [recoveryNicIpAddressType] IP allocation type for - * recovery VM. + * IP allocation type for recovery VM. */ recoveryNicIpAddressType?: string; /** - * @member {boolean} [enableAcceleratedNetworkingOnRecovery] A value - * indicating whether the NIC has accerated networking enabled. + * 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. - */ - id?: string; - /** - * @member {string} [name] The name of the role assignment. - */ - name?: string; - /** - * @member {string} [scope] Role assignment scope. - */ - scope?: string; - /** - * @member {string} [principalId] Principal Id. - */ - principalId?: string; - /** - * @member {string} [roleDefinitionId] Role definition id. - */ - roleDefinitionId?: string; -} - -/** - * @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[]; } @@ -952,176 +876,161 @@ export interface AzureToAzureVmSyncedConfigDetails { export type ReplicationProviderSpecificSettingsUnion = ReplicationProviderSpecificSettings | A2AReplicationDetails | HyperVReplicaAzureReplicationDetails | HyperVReplicaBaseReplicationDetails | HyperVReplicaBlueReplicationDetails | HyperVReplicaReplicationDetails | InMageAzureV2ReplicationDetails | InMageReplicationDetails; /** - * @interface - * An interface representing ReplicationProviderSpecificSettings. * Replication provider specific settings. - * */ export interface ReplicationProviderSpecificSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * 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 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 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; } /** @@ -1130,54 +1039,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,69 +1088,57 @@ export interface A2AReprotectInput { export type SwitchProtectionProviderSpecificInputUnion = SwitchProtectionProviderSpecificInput | A2ASwitchProtectionInput; /** - * @interface - * An interface representing SwitchProtectionProviderSpecificInput. * Provider specific switch protection input. - * */ export interface SwitchProtectionProviderSpecificInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "SwitchProtectionProviderSpecificInput"; } /** - * @interface - * An interface representing A2ASwitchProtectionInput. * A2A specific switch protection input. - * */ export interface A2ASwitchProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The recovery container Id. */ recoveryContainerId?: string; /** - * @member {A2AVmDiskInputDetails[]} [vmDisks] The list of vm disk details. + * The list of vm disk details. */ vmDisks?: A2AVmDiskInputDetails[]; /** - * @member {A2AVmManagedDiskInputDetails[]} [vmManagedDisks] The list of vm - * managed disk details. + * The list of vm managed disk details. */ vmManagedDisks?: A2AVmManagedDiskInputDetails[]; /** - * @member {string} [recoveryResourceGroupId] The recovery resource group Id. - * Valid for V2 scenarios. + * The recovery resource group Id. Valid for V2 scenarios. */ recoveryResourceGroupId?: string; /** - * @member {string} [recoveryCloudServiceId] The recovery cloud service Id. - * Valid for V1 scenarios. + * The recovery cloud service Id. Valid for V1 scenarios. */ recoveryCloudServiceId?: string; /** - * @member {string} [recoveryAvailabilitySetId] The recovery availability - * set. + * The recovery availability set. */ recoveryAvailabilitySetId?: string; /** - * @member {string} [policyId] The Policy Id. + * The Policy Id. */ policyId?: string; /** - * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic - * storage account. + * The boot diagnostic storage account. */ recoveryBootDiagStorageAccountId?: string; /** - * @member {DiskEncryptionInfo} [diskEncryptionInfo] The recovery disk - * encryption information. + * The recovery disk encryption information. */ diskEncryptionInfo?: DiskEncryptionInfo; } @@ -1261,60 +1149,48 @@ export interface A2ASwitchProtectionInput { 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; } @@ -1325,200 +1201,234 @@ export interface A2AVmManagedDiskUpdateDetails { export type UpdateReplicationProtectedItemProviderInputUnion = UpdateReplicationProtectedItemProviderInput | A2AUpdateReplicationProtectedItemInput | HyperVReplicaAzureUpdateReplicationProtectedItemInput | InMageAzureV2UpdateReplicationProtectedItemInput; /** - * @interface - * An interface representing UpdateReplicationProtectedItemProviderInput. * Update replication protected item provider specific input. - * */ export interface UpdateReplicationProtectedItemProviderInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "UpdateReplicationProtectedItemProviderInput"; } /** - * @interface - * An interface representing A2AUpdateReplicationProtectedItemInput. * InMage Azure V2 input to update replication protected item. - * */ export interface A2AUpdateReplicationProtectedItemInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {string} [recoveryCloudServiceId] The target cloud service ARM Id - * (for V1). + * The target cloud service ARM Id (for V1). */ recoveryCloudServiceId?: string; /** - * @member {string} [recoveryResourceGroupId] The target resource group ARM - * Id (for V2). + * The target resource group ARM Id (for V2). */ recoveryResourceGroupId?: string; /** - * @member {A2AVmManagedDiskUpdateDetails[]} [managedDiskUpdateDetails] * Managed disk update details. */ managedDiskUpdateDetails?: A2AVmManagedDiskUpdateDetails[]; /** - * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic - * storage account. + * The boot diagnostic storage account. */ recoveryBootDiagStorageAccountId?: string; /** - * @member {DiskEncryptionInfo} [diskEncryptionInfo] The recovery os disk - * encryption information. + * The recovery os disk encryption information. */ diskEncryptionInfo?: DiskEncryptionInfo; } /** - * @interface - * An interface representing AddVCenterRequestProperties. - * The properties of an add vCenter request. - * + * Add Disks input properties. */ -export interface AddVCenterRequestProperties { +export interface AddDisksInputProperties { /** - * @member {string} [friendlyName] The friendly name of the vCenter. + * 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. */ - friendlyName?: string; - /** - * @member {string} [ipAddress] The IP address of the vCenter to be - * discovered. - */ - ipAddress?: string; + 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 identity provider input for DRA authentication. + */ + authenticationIdentityInput: IdentityProviderInput; + /** + * The identity provider input for resource access. + */ + resourceAccessIdentityInput: IdentityProviderInput; +} + +/** + * Input required to add a provider. + */ +export interface AddRecoveryServicesProviderInput { + /** + * The properties of an add provider request. + */ + properties: AddRecoveryServicesProviderInputProperties; +} + +/** + * The properties of an add vCenter request. + */ +export interface AddVCenterRequestProperties { + /** + * The friendly name of the vCenter. + */ + friendlyName?: string; + /** + * The IP address of the vCenter to be discovered. + */ + ipAddress?: string; /** - * @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. - * + * 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 +1439,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 +1474,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 +1489,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; } @@ -1818,31 +1690,25 @@ export interface AutomationRunbookTaskDetails { export type FabricSpecificCreationInputUnion = FabricSpecificCreationInput | AzureFabricCreationInput | 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; } @@ -1853,35 +1719,29 @@ export interface AzureFabricCreationInput { export type FabricSpecificDetailsUnion = FabricSpecificDetails | AzureFabricSpecificDetails | HyperVSiteDetails | 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 +1752,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 +1781,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 +1814,73 @@ 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. + * 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; } /** - * @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 +1891,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 +2080,150 @@ 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. * 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[]; } /** - * @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,238 +2234,226 @@ 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. + * Contains the possible cases for EnableMigrationProviderSpecificInput. + */ +export type EnableMigrationProviderSpecificInputUnion = EnableMigrationProviderSpecificInput | VMwareCbtEnableMigrationInput; + +/** + * Enable migration provider specific input. + */ +export interface EnableMigrationProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "EnableMigrationProviderSpecificInput"; +} + +/** + * Enable migration input properties. + */ +export interface EnableMigrationInputProperties { + /** + * The policy Id. + */ + policyId: string; + /** + * The provider specific details. + */ + providerSpecificDetails: EnableMigrationProviderSpecificInputUnion; +} + +/** + * Enable migration input. + */ +export interface EnableMigrationInput { + /** + * Enable migration input properties. + */ + properties: EnableMigrationInputProperties; +} + +/** * Enable protection input properties. - * */ export interface EnableProtectionInputProperties { /** - * @member {string} [policyId] The Policy Id. + * The Policy Id. */ policyId?: string; /** - * @member {string} [protectableItemId] The protectable item Id. + * 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. + * 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. + * 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. + * The key encryption key state for the Vmm. */ kekState?: string; /** - * @member {string} [kekCertThumbprint] The key encryption key certificate - * thumbprint. + * The key encryption key certificate thumbprint. */ kekCertThumbprint?: string; /** - * @member {Date} [kekCertExpiryDate] The key encryption key certificate - * expiry date. + * The key encryption key certificate expiry date. */ kekCertExpiryDate?: Date; } @@ -2710,4207 +2464,3802 @@ export interface EncryptionDetails { 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 + * 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; + /** + * The health error unique id. + */ + errorId?: string; + /** + * Value indicating whether the health error is customer resolvable. Possible values include: + * 'Allowed', 'NotAllowed' + */ + customerResolvability?: HealthErrorCustomerResolvability; } /** - * @interface - * An interface representing EventProperties. * The properties of a monitoring event. - * */ export interface EventProperties { /** - * @member {string} [eventCode] The Id of the monitoring event. + * The Id of the monitoring event. */ eventCode?: string; /** - * @member {string} [description] The event name. + * The event name. */ description?: string; /** - * @member {string} [eventType] The type of the event. for example: VM - * Health, Server Health, Job Failure etc. + * The type of the event. for example: VM Health, Server Health, Job Failure etc. */ eventType?: string; /** - * @member {string} [affectedObjectFriendlyName] The friendly name of the - * source of the event on which it is raised (for example, VM, VMM etc). + * The friendly name of the source of the event on which it is raised (for example, VM, VMM etc). */ affectedObjectFriendlyName?: string; /** - * @member {string} [severity] The severity of the event. + * The severity of the event. */ severity?: string; /** - * @member {Date} [timeOfOccurrence] The time of occurence of the event. + * The time of occurrence of the event. */ timeOfOccurrence?: Date; /** - * @member {string} [fabricId] The ARM ID of the fabric. + * The ARM ID of the fabric. */ fabricId?: string; /** - * @member {EventProviderSpecificDetailsUnion} [providerSpecificDetails] The - * provider specific settings. + * The provider specific settings. */ providerSpecificDetails?: EventProviderSpecificDetailsUnion; /** - * @member {EventSpecificDetailsUnion} [eventSpecificDetails] The event - * specific settings. + * The event specific settings. */ eventSpecificDetails?: EventSpecificDetailsUnion; /** - * @member {HealthError[]} [healthErrors] The list of errors / warnings - * capturing details associated with the issue(s). + * The list of errors / warnings capturing details associated with the issue(s). */ healthErrors?: HealthError[]; } /** - * @interface - * An interface representing Event. * Implements the Event class. - * - * @extends Resource */ export interface Event extends Resource { /** - * @member {EventProperties} [properties] Event related data. + * Event related data. */ properties?: EventProperties; } /** - * @interface - * An interface representing EventQueryParameter. * Implements the event query parameter. - * */ export interface EventQueryParameter { /** - * @member {string} [eventCode] The source id of the events to be queried. + * The source id of the events to be queried. */ eventCode?: string; /** - * @member {string} [severity] The severity of the events to be queried. + * The severity of the events to be queried. */ severity?: string; /** - * @member {string} [eventType] The type of the events to be queried. + * The type of the events to be queried. */ eventType?: string; /** - * @member {string} [fabricName] The affected object server id of the events - * to be queried. + * The affected object server id of the events to be queried. */ fabricName?: string; /** - * @member {string} [affectedObjectFriendlyName] The affected object name of - * the events to be queried. + * The affected object name of the events to be queried. */ affectedObjectFriendlyName?: string; /** - * @member {Date} [startTime] The start time of the time range within which - * the events are to be queried. + * The start time of the time range within which the events are to be queried. */ startTime?: Date; /** - * @member {Date} [endTime] The end time of the time range within which the - * events are to be queried. + * The end time of the time range within which the events are to be queried. */ endTime?: Date; } /** - * @interface - * An interface representing ExportJobDetails. * 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; } /** - * @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. + * 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. * 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; } /** - * @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. + * Disk input details. + */ +export interface InMageAzureV2DiskInputDetails { + /** + * The DiskId. + */ + diskId?: string; + /** + * The LogStorageAccountId. + */ + logStorageAccountId?: string; + /** + * The DiskType. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; +} + +/** * VMware Azure specific enable protection input. - * */ export interface InMageAzureV2EnableProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} [masterTargetId] The Master target Id. + * The Master target Id. */ masterTargetId?: string; /** - * @member {string} [processServerId] The Process Server Id. + * The Process Server Id. */ processServerId?: string; /** - * @member {string} storageAccountId The storage account name. + * The storage account 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; } /** - * @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 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 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. + * 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. * 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; } /** - * @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. - * */ export interface OSDiskDetails { /** - * @member {string} [osVhdId] The id of the disk containing the OS. + * The id of the disk containing the OS. */ osVhdId?: string; /** - * @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; } /** - * @interface - * An interface representing InMageReplicationDetails. * InMage provider specific settings - * */ export interface InMageReplicationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMage"; /** - * @member {string} [activeSiteType] The active location of the VM. If the VM - * is being protected from Azure, this field will take values from { Azure, - * OnPrem }. If the VM is being protected between two data-centers, this + * The active location of the VM. If the VM is being protected from Azure, this field will take + * values from { Azure, OnPrem }. If the VM is being protected between two data-centers, this * field will be OnPrem always. */ activeSiteType?: string; /** - * @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 {OSDiskDetails} [osDetails] The OS details. + * The OS details. */ osDetails?: OSDiskDetails; /** - * @member {string} [protectionStage] The protection stage. + * The protection stage. */ protectionStage?: string; /** - * @member {string} [vmId] The virtual machine Id. + * The virtual machine Id. */ vmId?: string; /** - * @member {string} [vmProtectionState] The protection state for the vm. + * The protection state for the vm. */ vmProtectionState?: string; /** - * @member {string} [vmProtectionStateDescription] The protection state - * description for the vm. + * The protection state description for the vm. */ vmProtectionStateDescription?: string; /** - * @member {InitialReplicationDetails} [resyncDetails] The resync details of - * the machine + * The resync details of the machine */ resyncDetails?: InitialReplicationDetails; /** - * @member {Date} [retentionWindowStart] The retention window start time. + * The retention window start time. */ retentionWindowStart?: Date; /** - * @member {Date} [retentionWindowEnd] The retention window end time. + * The retention window end time. */ retentionWindowEnd?: Date; /** - * @member {number} [compressedDataRateInMB] The compressed data change rate - * in MB. + * The compressed data change rate in MB. */ compressedDataRateInMB?: number; /** - * @member {number} [uncompressedDataRateInMB] The uncompressed data change - * rate in MB. + * The uncompressed data change rate in MB. */ uncompressedDataRateInMB?: number; /** - * @member {number} [rpoInSeconds] The RPO in seconds. + * The RPO in seconds. */ rpoInSeconds?: number; /** - * @member {InMageProtectedDiskDetails[]} [protectedDisks] The list of - * protected disks. + * The list of protected disks. */ protectedDisks?: InMageProtectedDiskDetails[]; /** - * @member {string} [ipAddress] The source IP address. + * The source IP address. */ ipAddress?: 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} [masterTargetId] The master target Id. + * The master target Id. */ masterTargetId?: string; /** - * @member {{ [propertyName: string]: Date } | { [propertyName: string]: - * string }} [consistencyPoints] The collection of Consistency points. + * The collection of Consistency points. */ consistencyPoints?: { [propertyName: string]: Date } | { [propertyName: string]: string }; /** - * @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} [rebootAfterUpdateStatus] A value indicating whether the - * source server requires a restart after update. + * A value indicating whether the source server requires a restart after update. */ rebootAfterUpdateStatus?: string; /** - * @member {string} [multiVmGroupId] The multi vm group Id, if any. + * The multi vm group Id, if any. */ multiVmGroupId?: string; /** - * @member {string} [multiVmGroupName] The multi vm group name, if any. + * The multi vm group name, if any. */ multiVmGroupName?: string; /** - * @member {string} [multiVmSyncStatus] A value indicating whether the multi - * vm sync is enabled or disabled. + * A value indicating whether the multi vm sync is enabled or disabled. */ multiVmSyncStatus?: string; /** - * @member {InMageAgentDetails} [agentDetails] The agent details. + * The agent details. */ agentDetails?: InMageAgentDetails; /** - * @member {string} [vCenterInfrastructureId] The vCenter infrastructure Id. + * The vCenter infrastructure Id. */ vCenterInfrastructureId?: string; /** - * @member {string} [infrastructureVmId] The infrastructure VM Id. + * The infrastructure VM Id. */ infrastructureVmId?: string; /** - * @member {VMNicDetails[]} [vmNics] The PE Network details. + * The PE Network details. */ vmNics?: VMNicDetails[]; /** - * @member {string} [discoveryType] A value indicating the discovery type of - * the machine. + * A value indicating the discovery type of the machine. */ discoveryType?: string; /** - * @member {string} [azureStorageAccountId] A value indicating the underlying - * Azure storage account. If the VM is not running in Azure, this value shall - * be set to null. + * A value indicating the underlying Azure storage account. If the VM is not running in Azure, + * this value shall be set to null. */ azureStorageAccountId?: 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 {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; } /** - * @interface - * An interface representing InMageReprotectInput. * InMageAzureV2 specific provider input. - * */ export interface InMageReprotectInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMage"; /** - * @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} [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} profileId The Policy Id. + * The Policy Id. */ profileId: string; /** - * @member {string[]} [disksToInclude] The disks to include list. + * The disks to include list. */ disksToInclude?: string[]; } /** - * @interface - * An interface representing JobProperties. * Job custom data details. - * */ export interface JobProperties { /** - * @member {string} [activityId] The activity id. + * The activity id. */ activityId?: string; /** - * @member {string} [scenarioName] The ScenarioName. + * The ScenarioName. */ scenarioName?: string; /** - * @member {string} [friendlyName] The DisplayName. + * The DisplayName. */ friendlyName?: string; /** - * @member {string} [state] The status of the Job. It is one of these values - * - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or - * Other. + * The status of the Job. It is one of these values - NotStarted, InProgress, Succeeded, Failed, + * Cancelled, Suspended or Other. */ state?: string; /** - * @member {string} [stateDescription] The description of the state of the - * Job. For e.g. - For Succeeded state, description can be Completed, - * PartiallySucceeded, CompletedWithInformation or Skipped. + * The description of the state of the Job. For e.g. - For Succeeded state, description can be + * Completed, PartiallySucceeded, CompletedWithInformation or Skipped. */ stateDescription?: string; /** - * @member {ASRTask[]} [tasks] The tasks. + * The tasks. */ tasks?: ASRTask[]; /** - * @member {JobErrorDetails[]} [errors] The errors. + * The errors. */ errors?: JobErrorDetails[]; /** - * @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 Allowed action the job. + * The Allowed action the job. */ allowedActions?: string[]; /** - * @member {string} [targetObjectId] The affected Object Id. + * The affected Object Id. */ targetObjectId?: string; /** - * @member {string} [targetObjectName] The name of the affected object. + * The name of the affected object. */ targetObjectName?: string; /** - * @member {string} [targetInstanceType] The type of the affected object - * which is of {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} - * class. + * The type of the affected object which is of + * {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} class. */ targetInstanceType?: string; /** - * @member {JobDetailsUnion} [customDetails] The custom job details like test - * failover job details. + * The custom job details like test failover job details. */ customDetails?: JobDetailsUnion; } /** - * @interface - * An interface representing Job. * Job details. - * - * @extends Resource */ export interface Job extends Resource { /** - * @member {JobProperties} [properties] The custom data. + * The custom data. */ properties?: JobProperties; } /** - * @interface - * An interface representing JobQueryParameter. * Query parameter to enumerate jobs. - * */ export interface JobQueryParameter { /** - * @member {string} [startTime] Date time to get jobs from. + * Date time to get jobs from. */ startTime?: string; /** - * @member {string} [endTime] Date time to get jobs upto. + * Date time to get jobs up to. */ endTime?: string; /** - * @member {string} [fabricId] The Id of the fabric to search jobs under. + * The Id of the fabric to search jobs under. */ fabricId?: string; /** - * @member {string} [affectedObjectTypes] The type of objects. + * The type of objects. */ affectedObjectTypes?: string; /** - * @member {string} [jobStatus] The states of the job to be filtered can be - * in. + * The states of the job to be filtered can be in. */ jobStatus?: string; } /** - * @interface - * An interface representing JobStatusEventDetails. * Model class for event details of a job status event. - * */ export interface JobStatusEventDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "JobStatus"; /** - * @member {string} [jobId] Job arm id for the event. + * Job arm id for the event. */ jobId?: string; /** - * @member {string} [jobFriendlyName] JobName for the Event. + * JobName for the Event. */ jobFriendlyName?: string; /** - * @member {string} [jobStatus] JobStatus for the Event. + * JobStatus for the Event. */ jobStatus?: string; /** - * @member {string} [affectedObjectType] AffectedObjectType for the event. + * AffectedObjectType for the event. */ affectedObjectType?: string; } /** - * @interface - * An interface representing JobTaskDetails. - * This class represents a task which is actually a workflow so that one can - * navigate to its individual drill down. - * + * This class represents a task which is actually a workflow so that one can navigate to its + * individual drill down. */ export interface JobTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "JobTaskDetails"; /** - * @member {JobEntity} [jobTask] The job entity. + * The job entity. */ jobTask?: JobEntity; } /** - * @interface - * An interface representing LogicalNetworkProperties. * Logical Network Properties. - * */ export interface LogicalNetworkProperties { /** - * @member {string} [friendlyName] The Friendly Name. + * The Friendly Name. */ friendlyName?: string; /** - * @member {string} [networkVirtualizationStatus] A value indicating whether - * Network Virtualization is enabled for the logical network. + * A value indicating whether Network Virtualization is enabled for the logical network. */ networkVirtualizationStatus?: string; /** - * @member {string} [logicalNetworkUsage] A value indicating whether logical - * network is used as private test network by test failover. + * A value indicating whether logical network is used as private test network by test failover. */ logicalNetworkUsage?: string; /** - * @member {string} [logicalNetworkDefinitionsStatus] A value indicating - * whether logical network definitions are isolated. + * A value indicating whether logical network definitions are isolated. */ logicalNetworkDefinitionsStatus?: string; } /** - * @interface - * An interface representing LogicalNetwork. * Logical network data model. - * - * @extends Resource */ export interface LogicalNetwork extends Resource { /** - * @member {LogicalNetworkProperties} [properties] The Logical Network - * Properties. + * The Logical Network Properties. */ properties?: LogicalNetworkProperties; } /** - * @interface - * An interface representing ManualActionTaskDetails. * This class represents the manual action task details. - * */ export interface ManualActionTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ManualActionTaskDetails"; /** - * @member {string} [name] The name. + * The name. */ name?: string; /** - * @member {string} [instructions] The instructions. + * The instructions. */ instructions?: string; /** - * @member {string} [observation] The observation. + * The observation. */ observation?: string; } /** - * @interface - * An interface representing RetentionVolume. * The retention details of the MT. - * */ export interface RetentionVolume { /** - * @member {string} [volumeName] The volume name. + * The volume name. */ volumeName?: string; /** - * @member {number} [capacityInBytes] The volume capacity. + * The volume capacity. */ capacityInBytes?: number; /** - * @member {number} [freeSpaceInBytes] The free space available in this - * volume. + * The free space available in this volume. */ freeSpaceInBytes?: number; /** - * @member {number} [thresholdPercentage] The threshold percentage. + * The threshold percentage. */ thresholdPercentage?: number; } /** - * @interface - * An interface representing VersionDetails. * Version related details. - * */ export interface VersionDetails { /** - * @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 MasterTargetServer. * Details of a Master Target Server. - * */ export interface MasterTargetServer { /** - * @member {string} [id] The server Id. + * The server Id. */ id?: string; /** - * @member {string} [ipAddress] The IP address of the server. + * The IP address of the server. */ ipAddress?: string; /** - * @member {string} [name] The server name. + * The server name. */ name?: string; /** - * @member {string} [osType] The OS type of the server. + * The OS type of the server. */ osType?: string; /** - * @member {string} [agentVersion] The version of the scout component on the - * server. + * The version of the scout component on the server. */ agentVersion?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the - * server. + * The last heartbeat received from the server. */ lastHeartbeat?: Date; /** - * @member {string} [versionStatus] Version status + * Version status */ versionStatus?: string; /** - * @member {RetentionVolume[]} [retentionVolumes] The retention volumes of - * Master target Server. + * The retention volumes of Master target Server. */ retentionVolumes?: RetentionVolume[]; /** - * @member {DataStore[]} [dataStores] The list of data stores in the fabric. + * The list of data stores in the fabric. */ dataStores?: DataStore[]; /** - * @member {HealthError[]} [validationErrors] Validation errors. + * Validation errors. */ validationErrors?: HealthError[]; /** - * @member {HealthError[]} [healthErrors] Health errors. + * Health errors. */ healthErrors?: HealthError[]; /** - * @member {number} [diskCount] Disk count of the master target. + * Disk count of the master target. */ diskCount?: number; /** - * @member {string} [osVersion] OS Version of the master target. + * OS Version of the master target. */ osVersion?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * Agent expiry date. */ agentExpiryDate?: Date; /** - * @member {string} [marsAgentVersion] MARS agent version. + * MARS agent version. */ marsAgentVersion?: string; /** - * @member {Date} [marsAgentExpiryDate] MARS agent expiry date. + * MARS agent expiry date. */ marsAgentExpiryDate?: Date; /** - * @member {VersionDetails} [agentVersionDetails] Agent version details. + * Agent version details. */ agentVersionDetails?: VersionDetails; /** - * @member {VersionDetails} [marsAgentVersionDetails] Mars agent version - * details. + * Mars agent version details. */ marsAgentVersionDetails?: VersionDetails; } /** - * @interface - * An interface representing MobilityServiceUpdate. + * Contains the possible cases for MigrateProviderSpecificInput. + */ +export type MigrateProviderSpecificInputUnion = MigrateProviderSpecificInput | VMwareCbtMigrateInput; + +/** + * Migrate provider specific input. + */ +export interface MigrateProviderSpecificInput { + /** + * Polymorphic Discriminator + */ + instanceType: "MigrateProviderSpecificInput"; +} + +/** + * Migrate input properties. + */ +export interface MigrateInputProperties { + /** + * The provider specific details. + */ + providerSpecificDetails: MigrateProviderSpecificInputUnion; +} + +/** + * Input for migrate. + */ +export interface MigrateInput { + /** + * Migrate input properties. + */ + properties: MigrateInputProperties; +} + +/** + * Contains the possible cases for MigrationProviderSpecificSettings. + */ +export type MigrationProviderSpecificSettingsUnion = MigrationProviderSpecificSettings | VMwareCbtMigrationDetails; + +/** + * Migration provider specific settings. + */ +export interface MigrationProviderSpecificSettings { + /** + * Polymorphic Discriminator + */ + instanceType: "MigrationProviderSpecificSettings"; +} + +/** + * Migration item properties. + */ +export interface MigrationItemProperties { + /** + * The on-premise virtual machine name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly machineName?: string; + /** + * The ARM Id of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly policyId?: string; + /** + * The name of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly policyFriendlyName?: string; + /** + * The recovery services provider ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly recoveryServicesProviderId?: string; + /** + * 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.** + */ + readonly migrationState?: MigrationState; + /** + * The migration state description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly migrationStateDescription?: string; + /** + * 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.** + */ + readonly testMigrateState?: TestMigrationState; + /** + * The test migrate state description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly testMigrateStateDescription?: string; + /** + * The consolidated health. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly health?: string; + /** + * The list of health errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly healthErrors?: HealthError[]; + /** + * 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.** + */ + readonly allowedOperations?: MigrationItemOperation[]; + /** + * The current job details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentJob?: CurrentJobDetails; + /** + * The migration provider custom settings. + */ + providerSpecificDetails?: MigrationProviderSpecificSettingsUnion; +} + +/** + * Migration item. + */ +export interface MigrationItem extends Resource { + /** + * The migration item properties. + */ + properties?: MigrationItemProperties; +} + +/** + * Query parameter to enumerate migration items. + */ +export interface MigrationItemsQueryParameter { + /** + * The source fabric name filter. + */ + sourceFabricName?: string; + /** + * The replication provider type. + */ + instanceType?: string; +} + +/** + * Migration item recovery point properties. + */ +export interface MigrationRecoveryPointProperties { + /** + * The recovery point time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + 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; +} + +/** + * Recovery point for a migration item. + */ +export interface MigrationRecoveryPoint extends Resource { + /** + * Recovery point properties. + */ + properties?: MigrationRecoveryPointProperties; +} + +/** * The Mobility Service update details. - * */ export interface MobilityServiceUpdate { /** - * @member {string} [version] The version of the latest update. + * The version of the latest update. */ version?: string; /** - * @member {string} [rebootStatus] The reboot status of the update - whether - * it is required or not. + * The reboot status of the update - whether it is required or not. */ rebootStatus?: string; /** - * @member {string} [osType] The OS type. + * The OS type. */ osType?: string; } /** - * @interface - * An interface representing Subnet. * Subnets of the network. - * */ export interface Subnet { /** - * @member {string} [name] The subnet name. + * The subnet name. */ name?: string; /** - * @member {string} [friendlyName] The subnet friendly name. + * The subnet friendly name. */ friendlyName?: string; /** - * @member {string[]} [addressList] The list of addresses for the subnet. + * The list of addresses for the subnet. */ addressList?: string[]; } /** - * @interface - * An interface representing NetworkProperties. * Network Properties - * */ export interface NetworkProperties { /** - * @member {string} [fabricType] The Fabric Type. + * The Fabric Type. */ fabricType?: string; /** - * @member {Subnet[]} [subnets] The List of subnets. + * The List of subnets. */ subnets?: Subnet[]; /** - * @member {string} [friendlyName] The Friendly Name. + * The Friendly Name. */ friendlyName?: string; /** - * @member {string} [networkType] The Network Type. + * The Network Type. */ networkType?: string; } /** - * @interface - * An interface representing Network. * Network model. - * - * @extends Resource */ export interface Network extends Resource { /** - * @member {NetworkProperties} [properties] The Network Properties. + * The Network Properties. */ properties?: NetworkProperties; } /** - * @interface - * An interface representing NetworkMappingProperties. * Network Mapping Properties. - * */ export interface NetworkMappingProperties { /** - * @member {string} [state] The pairing state for network mapping. + * The pairing state for network mapping. */ state?: string; /** - * @member {string} [primaryNetworkFriendlyName] The primary network friendly - * name. + * The primary network friendly name. */ primaryNetworkFriendlyName?: string; /** - * @member {string} [primaryNetworkId] The primary network id for network - * mapping. + * The primary network id for network mapping. */ primaryNetworkId?: string; /** - * @member {string} [primaryFabricFriendlyName] The primary fabric friendly - * name. + * The primary fabric friendly name. */ primaryFabricFriendlyName?: string; /** - * @member {string} [recoveryNetworkFriendlyName] The recovery network - * friendly name. + * The recovery network friendly name. */ recoveryNetworkFriendlyName?: string; /** - * @member {string} [recoveryNetworkId] The recovery network id for network - * mapping. + * The recovery network id for network mapping. */ recoveryNetworkId?: string; /** - * @member {string} [recoveryFabricArmId] The recovery fabric ARM id. + * The recovery fabric ARM id. */ recoveryFabricArmId?: string; /** - * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly - * name. + * The recovery fabric friendly name. */ recoveryFabricFriendlyName?: string; /** - * @member {NetworkMappingFabricSpecificSettingsUnion} - * [fabricSpecificSettings] The fabric specific settings. + * The fabric specific settings. */ fabricSpecificSettings?: NetworkMappingFabricSpecificSettingsUnion; } /** - * @interface - * An interface representing NetworkMapping. - * Network Mapping model. Ideally it should have been possible to inherit this - * class from prev version in InheritedModels as long as there is no difference - * in structure or method signature. Since there were no base Models for - * certain fields and methods viz NetworkMappingProperties and Load with - * required return type, the class has been introduced in its entirety with - * references to base models to facilitate exensions in subsequent versions. - * - * @extends Resource + * Network Mapping model. Ideally it should have been possible to inherit this class from prev + * version in InheritedModels as long as there is no difference in structure or method signature. + * Since there were no base Models for certain fields and methods viz NetworkMappingProperties and + * Load with required return type, the class has been introduced in its entirety with references to + * base models to facilitate extensions in subsequent versions. */ export interface NetworkMapping extends Resource { /** - * @member {NetworkMappingProperties} [properties] The Network Mapping - * Properties. + * The Network Mapping Properties. */ properties?: NetworkMappingProperties; } /** - * @interface - * An interface representing OperationsDiscovery. * Operations discovery class. - * */ export interface OperationsDiscovery { /** - * @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 + * 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) */ name?: string; /** - * @member {Display} [display] Object type + * Object type */ display?: Display; /** - * @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" + * 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; /** - * @member {any} [properties] Properties. Reserved for future use. + * Properties. Reserved for future use. */ properties?: any; } /** - * @interface - * An interface representing PlannedFailoverInputProperties. - * Input definition for planned failover input properties. - * + * Wrapper model for OSVersion to include version and service pack info. + */ +export interface OSVersionWrapper { + /** + * The version. + */ + version?: string; + /** + * Service pack. + */ + servicePack?: string; +} + +/** + * Input definition for planned failover input properties. */ export interface PlannedFailoverInputProperties { /** - * @member {string} [failoverDirection] Failover direction. + * Failover direction. */ failoverDirection?: string; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] * Provider specific settings */ providerSpecificDetails?: ProviderSpecificFailoverInputUnion; } /** - * @interface - * An interface representing PlannedFailoverInput. * Input definition for planned failover. - * */ export interface PlannedFailoverInput { /** - * @member {PlannedFailoverInputProperties} [properties] Planned failover - * input properties + * Planned failover input properties */ properties?: PlannedFailoverInputProperties; } /** - * @interface - * An interface representing PolicyProperties. * Protection profile custom data details. - * */ export interface PolicyProperties { /** - * @member {string} [friendlyName] The FriendlyName. + * The FriendlyName. */ friendlyName?: string; /** - * @member {PolicyProviderSpecificDetailsUnion} [providerSpecificDetails] The - * ReplicationChannelSetting. + * The ReplicationChannelSetting. */ providerSpecificDetails?: PolicyProviderSpecificDetailsUnion; } /** - * @interface - * An interface representing Policy. * Protection profile details. - * - * @extends Resource */ export interface Policy extends Resource { /** - * @member {PolicyProperties} [properties] The custom data. + * The custom data. */ properties?: PolicyProperties; } /** - * @interface - * An interface representing ProcessServer. * Details of the Process Server. - * */ export interface ProcessServer { /** - * @member {string} [friendlyName] The Process Server's friendly name. + * The Process Server's friendly name. */ friendlyName?: string; /** - * @member {string} [id] The Process Server Id. + * The Process Server Id. */ id?: string; /** - * @member {string} [ipAddress] The IP address of the server. + * The IP address of the server. */ ipAddress?: string; /** - * @member {string} [osType] The OS type of the server. + * The OS type of the server. */ osType?: string; /** - * @member {string} [agentVersion] The version of the scout component on the - * server. + * The version of the scout component on the server. */ agentVersion?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from the - * server. + * The last heartbeat received from the server. */ lastHeartbeat?: Date; /** - * @member {string} [versionStatus] Version status + * Version status */ versionStatus?: string; /** - * @member {MobilityServiceUpdate[]} [mobilityServiceUpdates] The list of the - * mobility service updates available on the Process Server. + * The list of the mobility service updates available on the Process Server. */ mobilityServiceUpdates?: MobilityServiceUpdate[]; /** - * @member {string} [hostId] The agent generated Id. + * The agent generated Id. */ hostId?: string; /** - * @member {string} [machineCount] The servers configured with this PS. + * The servers configured with this PS. */ machineCount?: string; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this PS. + * The number of replication pairs configured in this PS. */ replicationPairCount?: string; /** - * @member {string} [systemLoad] The percentage of the system load. + * The percentage of the system load. */ systemLoad?: string; /** - * @member {string} [systemLoadStatus] The system load status. + * The system load status. */ systemLoadStatus?: string; /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * The percentage of the CPU load. */ cpuLoad?: string; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * The CPU load status. */ cpuLoadStatus?: string; /** - * @member {number} [totalMemoryInBytes] The total memory. + * The total memory. */ totalMemoryInBytes?: number; /** - * @member {number} [availableMemoryInBytes] The available memory. + * The available memory. */ availableMemoryInBytes?: number; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * The memory usage status. */ memoryUsageStatus?: string; /** - * @member {number} [totalSpaceInBytes] The total space. + * The total space. */ totalSpaceInBytes?: number; /** - * @member {number} [availableSpaceInBytes] The available space. + * The available space. */ availableSpaceInBytes?: number; /** - * @member {string} [spaceUsageStatus] The space usage status. + * The space usage status. */ spaceUsageStatus?: string; /** - * @member {string} [psServiceStatus] The PS service status. + * The PS service status. */ psServiceStatus?: string; /** - * @member {Date} [sslCertExpiryDate] The PS SSL cert expiry date. + * The PS SSL cert expiry date. */ sslCertExpiryDate?: Date; /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * CS SSL cert expiry date. */ sslCertExpiryRemainingDays?: number; /** - * @member {string} [osVersion] OS Version of the process server. Note: This - * will get populated if user has CS version greater than 9.12.0.0. + * OS Version of the process server. Note: This will get populated if user has CS version greater + * than 9.12.0.0. */ osVersion?: string; /** - * @member {HealthError[]} [healthErrors] Health errors. + * Health errors. */ healthErrors?: HealthError[]; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * Agent expiry date. */ agentExpiryDate?: Date; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * The agent version details. */ agentVersionDetails?: VersionDetails; } /** - * @interface - * An interface representing ProtectableItemProperties. * Replication protected item custom data details. - * */ export interface ProtectableItemProperties { /** - * @member {string} [friendlyName] The name. + * The name. */ friendlyName?: string; /** - * @member {string} [protectionStatus] The protection status. + * The protection status. */ protectionStatus?: string; /** - * @member {string} [replicationProtectedItemId] The ARM resource of - * protected items. + * The ARM resource of protected items. */ replicationProtectedItemId?: string; /** - * @member {string} [recoveryServicesProviderId] The recovery provider ARM - * Id. + * The recovery provider ARM Id. */ recoveryServicesProviderId?: string; /** - * @member {string[]} [protectionReadinessErrors] The Current protection - * readiness errors. + * The Current protection readiness errors. */ protectionReadinessErrors?: string[]; /** - * @member {string[]} [supportedReplicationProviders] The list of replication - * providers supported for the protectable item. + * The list of replication providers supported for the protectable item. */ supportedReplicationProviders?: string[]; /** - * @member {ConfigurationSettingsUnion} [customDetails] The Replication - * provider custom settings. + * The Replication provider custom settings. */ customDetails?: ConfigurationSettingsUnion; } /** - * @interface - * An interface representing ProtectableItem. * Replication protected item - * - * @extends Resource */ export interface ProtectableItem extends Resource { /** - * @member {ProtectableItemProperties} [properties] The custom data. + * The custom data. */ properties?: ProtectableItemProperties; } /** - * @interface - * An interface representing ProtectableItemQueryParameter. * Query parameter to enumerate Protectable items. - * */ export interface ProtectableItemQueryParameter { /** - * @member {string} [state] State of the Protectable item query filter. + * State of the Protectable item query filter. */ state?: string; } /** - * @interface - * An interface representing ProtectedItemsQueryParameter. * Query parameter to enumerate protected items. - * */ export interface ProtectedItemsQueryParameter { /** - * @member {string} [sourceFabricName] The source fabric name filter. + * The source fabric name filter. */ sourceFabricName?: string; /** - * @member {string} [recoveryPlanName] The recovery plan filter. + * The recovery plan filter. */ recoveryPlanName?: string; /** - * @member {string} [vCenterName] The vCenter name filter. + * The vCenter name filter. */ vCenterName?: string; /** - * @member {string} [instanceType] The replication provider type. + * The replication provider type. */ instanceType?: 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; } /** - * @interface - * An interface representing ProtectionContainerFabricSpecificDetails. * Base class for fabric specific details of container. - * */ export interface ProtectionContainerFabricSpecificDetails { /** - * @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.** + * Gets the class type. Overridden in derived classes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly instanceType?: string; } /** - * @interface - * An interface representing ProtectionContainerProperties. * Protection profile custom data details. - * */ export interface ProtectionContainerProperties { /** - * @member {string} [fabricFriendlyName] Fabric friendly name. + * Fabric friendly name. */ fabricFriendlyName?: string; /** - * @member {string} [friendlyName] The name. + * The name. */ friendlyName?: string; /** - * @member {string} [fabricType] The fabric type. + * The fabric type. */ fabricType?: string; /** - * @member {number} [protectedItemCount] Number of protected PEs + * Number of protected PEs */ protectedItemCount?: number; /** - * @member {string} [pairingStatus] The pairing status of this cloud. + * The pairing status of this cloud. */ pairingStatus?: string; /** - * @member {string} [role] The role of this cloud. + * The role of this cloud. */ role?: string; /** - * @member {ProtectionContainerFabricSpecificDetails} [fabricSpecificDetails] * Fabric specific details. */ fabricSpecificDetails?: ProtectionContainerFabricSpecificDetails; } /** - * @interface - * An interface representing ProtectionContainer. * Protection container details. - * - * @extends Resource */ export interface ProtectionContainer extends Resource { /** - * @member {ProtectionContainerProperties} [properties] The custom data. + * The custom data. */ properties?: ProtectionContainerProperties; } /** - * @interface - * An interface representing ProtectionContainerMappingProperties. * Protection container mapping properties. - * */ export interface ProtectionContainerMappingProperties { /** - * @member {string} [targetProtectionContainerId] Paired protection container - * ARM ID. + * Paired protection container ARM ID. */ targetProtectionContainerId?: string; /** - * @member {string} [targetProtectionContainerFriendlyName] Friendly name of - * paired container. + * Friendly name of paired container. */ targetProtectionContainerFriendlyName?: string; /** - * @member {ProtectionContainerMappingProviderSpecificDetailsUnion} - * [providerSpecificDetails] Provider specific provider details. + * Provider specific provider details. */ providerSpecificDetails?: ProtectionContainerMappingProviderSpecificDetailsUnion; /** - * @member {string} [health] Health of pairing. + * Health of pairing. */ health?: string; /** - * @member {HealthError[]} [healthErrorDetails] Health error. + * Health error. */ healthErrorDetails?: HealthError[]; /** - * @member {string} [policyId] Policy ARM Id. + * Policy ARM Id. */ policyId?: string; /** - * @member {string} [state] Association Status + * Association Status */ state?: string; /** - * @member {string} [sourceProtectionContainerFriendlyName] Friendly name of - * source protection container. + * Friendly name of source protection container. */ sourceProtectionContainerFriendlyName?: string; /** - * @member {string} [sourceFabricFriendlyName] Friendly name of source - * fabric. + * Friendly name of source fabric. */ sourceFabricFriendlyName?: string; /** - * @member {string} [targetFabricFriendlyName] Friendly name of target - * fabric. + * Friendly name of target fabric. */ targetFabricFriendlyName?: string; /** - * @member {string} [policyFriendlyName] Friendly name of replication policy. + * Friendly name of replication policy. */ policyFriendlyName?: string; } /** - * @interface - * An interface representing ProtectionContainerMapping. * Protection container mapping object. - * - * @extends Resource */ export interface ProtectionContainerMapping extends Resource { /** - * @member {ProtectionContainerMappingProperties} [properties] The custom - * data. + * The custom data. */ properties?: ProtectionContainerMappingProperties; } /** - * @interface - * An interface representing RcmAzureMigrationPolicyDetails. * RCM based Azure migration specific policy details. - * */ export interface RcmAzureMigrationPolicyDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "RcmAzureMigration"; /** - * @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 {MultiVmSyncStatus} [multiVmSyncStatus] A value indicating whether - * multi-VM sync has to be enabled. Possible values include: 'Enabled', - * 'Disabled' + * A value indicating whether multi-VM sync has to be enabled. Possible values include: + * 'Enabled', 'Disabled' */ multiVmSyncStatus?: MultiVmSyncStatus; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The crash consistent snapshot frequency in minutes. */ crashConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing RecoveryPlanProperties. * Recovery plan custom details. - * */ export interface RecoveryPlanProperties { /** - * @member {string} [friendlyName] The friendly name. + * The friendly name. */ friendlyName?: string; /** - * @member {string} [primaryFabricId] The primary fabric Id. + * The primary fabric Id. */ primaryFabricId?: string; /** - * @member {string} [primaryFabricFriendlyName] The primary fabric friendly - * name. + * The primary fabric friendly name. */ primaryFabricFriendlyName?: string; /** - * @member {string} [recoveryFabricId] The recovery fabric Id. + * The recovery fabric Id. */ recoveryFabricId?: string; /** - * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly - * name. + * The recovery fabric friendly name. */ recoveryFabricFriendlyName?: string; /** - * @member {string} [failoverDeploymentModel] The failover deployment model. + * The failover deployment model. */ failoverDeploymentModel?: string; /** - * @member {string[]} [replicationProviders] The list of replication - * providers. + * The list of replication providers. */ replicationProviders?: string[]; /** - * @member {string[]} [allowedOperations] The list of allowed operations. + * The list of allowed operations. */ allowedOperations?: string[]; /** - * @member {Date} [lastPlannedFailoverTime] The start time of the last - * planned failover. + * The start time of the last planned failover. */ lastPlannedFailoverTime?: Date; /** - * @member {Date} [lastUnplannedFailoverTime] The start time of the last - * unplanned failover. + * The start time of the last unplanned failover. */ lastUnplannedFailoverTime?: Date; /** - * @member {Date} [lastTestFailoverTime] The start time of the last test - * failover. + * The start time of the last test failover. */ lastTestFailoverTime?: Date; /** - * @member {CurrentScenarioDetails} [currentScenario] The current scenario - * details. + * The current scenario details. */ currentScenario?: CurrentScenarioDetails; /** - * @member {string} [currentScenarioStatus] The recovery plan status. + * The recovery plan status. */ currentScenarioStatus?: string; /** - * @member {string} [currentScenarioStatusDescription] The recovery plan - * status description. + * The recovery plan status description. */ currentScenarioStatusDescription?: string; /** - * @member {RecoveryPlanGroup[]} [groups] The recovery plan groups. + * The recovery plan groups. */ groups?: RecoveryPlanGroup[]; } /** - * @interface - * An interface representing RecoveryPlan. * Recovery plan details. - * - * @extends Resource */ export interface RecoveryPlan extends Resource { /** - * @member {RecoveryPlanProperties} [properties] The custom details. + * The custom details. */ properties?: RecoveryPlanProperties; } @@ -6921,2784 +6270,3616 @@ export interface RecoveryPlan extends Resource { 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 { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "RecoveryPlanProviderSpecificFailoverInput"; } /** - * @interface - * An interface representing RecoveryPlanA2AFailoverInput. * Recovery plan A2A failover input. - * */ export interface RecoveryPlanA2AFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "A2A"; /** - * @member {A2ARpRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', * 'LatestCrashConsistent', 'LatestProcessed' */ recoveryPointType: A2ARpRecoveryPointType; /** - * @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; /** - * @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' + * 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 RecoveryPlanAutomationRunbookActionDetails. * Recovery plan Automation runbook action details. - * */ export interface RecoveryPlanAutomationRunbookActionDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "AutomationRunbookActionDetails"; /** - * @member {string} [runbookId] The runbook ARM Id. + * The runbook ARM Id. */ runbookId?: string; /** - * @member {string} [timeout] The runbook timeout. + * The runbook timeout. */ timeout?: string; /** - * @member {RecoveryPlanActionLocation} fabricLocation The fabric location. - * Possible values include: 'Primary', 'Recovery' + * The fabric location. Possible values include: 'Primary', 'Recovery' */ fabricLocation: RecoveryPlanActionLocation; } /** - * @interface - * An interface representing RecoveryPlanGroupTaskDetails. * This class represents the recovery plan group task. - * */ export interface RecoveryPlanGroupTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "RecoveryPlanGroupTaskDetails"; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The child tasks. */ childTasks?: ASRTask[]; /** - * @member {string} [name] The name. + * The name. */ name?: string; /** - * @member {string} [groupId] The group identifier. + * The group identifier. */ groupId?: string; /** - * @member {string} [rpGroupType] The group type. + * The group type. */ rpGroupType?: string; } /** - * @interface - * An interface representing RecoveryPlanHyperVReplicaAzureFailbackInput. * Recovery plan HVR Azure failback input. - * */ export interface RecoveryPlanHyperVReplicaAzureFailbackInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzureFailback"; /** - * @member {DataSyncStatus} dataSyncOption The data sync option. Possible - * values include: 'ForDownTime', 'ForSynchronization' + * The data sync option. Possible values include: 'ForDownTime', 'ForSynchronization' */ dataSyncOption: DataSyncStatus; /** - * @member {AlternateLocationRecoveryOption} recoveryVmCreationOption The ALR - * option. Possible values include: 'CreateVmIfNotFound', 'NoAction' + * The ALR option. Possible values include: 'CreateVmIfNotFound', 'NoAction' */ recoveryVmCreationOption: AlternateLocationRecoveryOption; } /** - * @interface - * An interface representing RecoveryPlanHyperVReplicaAzureFailoverInput. * Recovery plan HVR Azure failover input. - * */ export interface RecoveryPlanHyperVReplicaAzureFailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "HyperVReplicaAzure"; /** - * @member {string} vaultLocation The vault location. + * The vault location. */ 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; /** - * @member {HyperVReplicaAzureRpRecoveryPointType} [recoveryPointType] The - * recovery point type. Possible values include: 'Latest', - * 'LatestApplicationConsistent', 'LatestProcessed' + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * 'LatestProcessed' */ recoveryPointType?: HyperVReplicaAzureRpRecoveryPointType; } /** - * @interface - * An interface representing RecoveryPlanInMageAzureV2FailoverInput. * Recovery plan InMageAzureV2 failover input. - * */ export interface RecoveryPlanInMageAzureV2FailoverInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "InMageAzureV2"; /** - * @member {string} vaultLocation The vault location. + * The vault location. */ vaultLocation: string; /** - * @member {InMageV2RpRecoveryPointType} recoveryPointType The recovery point - * type. Possible values include: 'Latest', 'LatestApplicationConsistent', + * The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', * 'LatestCrashConsistent', 'LatestProcessed' */ recoveryPointType: InMageV2RpRecoveryPointType; /** - * @member {string} [useMultiVmSyncPoint] A value indicating whether multi VM - * sync enabled VMs should use multi VM sync points for failover. + * A value indicating whether multi VM sync enabled VMs should use multi VM sync points for + * failover. */ useMultiVmSyncPoint?: string; } /** - * @interface - * An interface representing RecoveryPlanInMageFailoverInput. * Recovery plan InMage failover input. - * */ export interface RecoveryPlanInMageFailoverInput { /** - * @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. Possible values include: 'LatestTime', 'LatestTag', 'Custom' */ recoveryPointType: RpInMageRecoveryPointType; } /** - * @interface - * An interface representing RecoveryPlanManualActionDetails. * Recovery plan manual action details. - * */ export interface RecoveryPlanManualActionDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ManualActionDetails"; /** - * @member {string} [description] The manual action description. + * The manual action description. */ description?: string; } /** - * @interface - * An interface representing RecoveryPlanPlannedFailoverInputProperties. * Recovery plan planned failover input properties. - * */ export interface RecoveryPlanPlannedFailoverInputProperties { /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' */ failoverDirection: PossibleOperationsDirections; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * The provider specific properties. */ providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; } /** - * @interface - * An interface representing RecoveryPlanPlannedFailoverInput. * Recovery plan planned failover input. - * */ export interface RecoveryPlanPlannedFailoverInput { /** - * @member {RecoveryPlanPlannedFailoverInputProperties} properties The - * recovery plan planned failover input properties. + * The recovery plan planned failover input properties. */ properties: RecoveryPlanPlannedFailoverInputProperties; } /** - * @interface - * An interface representing RecoveryPlanScriptActionDetails. * Recovery plan script action details. - * */ export interface RecoveryPlanScriptActionDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ScriptActionDetails"; /** - * @member {string} path The script path. + * The script path. */ path: string; /** - * @member {string} [timeout] The script timeout. + * The script timeout. */ timeout?: string; /** - * @member {RecoveryPlanActionLocation} fabricLocation The fabric location. - * Possible values include: 'Primary', 'Recovery' + * The fabric location. Possible values include: 'Primary', 'Recovery' */ fabricLocation: RecoveryPlanActionLocation; } /** - * @interface - * An interface representing RecoveryPlanShutdownGroupTaskDetails. * This class represents the recovery plan shutdown group task details. - * */ export interface RecoveryPlanShutdownGroupTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "RecoveryPlanShutdownGroupTaskDetails"; /** - * @member {ASRTask[]} [childTasks] The child tasks. + * The child tasks. */ childTasks?: ASRTask[]; /** - * @member {string} [name] The name. + * The name. */ name?: string; /** - * @member {string} [groupId] The group identifier. + * The group identifier. */ groupId?: string; /** - * @member {string} [rpGroupType] The group type. + * The group type. */ rpGroupType?: string; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverCleanupInputProperties. * Recovery plan test failover cleanup input properties. - * */ export interface RecoveryPlanTestFailoverCleanupInputProperties { /** - * @member {string} [comments] The test failover cleanup comments. + * The test failover cleanup comments. */ comments?: string; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverCleanupInput. * Recovery plan test failover cleanup input. - * */ export interface RecoveryPlanTestFailoverCleanupInput { /** - * @member {RecoveryPlanTestFailoverCleanupInputProperties} properties The - * recovery plan test failover cleanup input properties. + * The recovery plan test failover cleanup input properties. */ properties: RecoveryPlanTestFailoverCleanupInputProperties; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverInputProperties. * Recovery plan test failover input properties. - * */ export interface RecoveryPlanTestFailoverInputProperties { /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' */ failoverDirection: PossibleOperationsDirections; /** - * @member {string} networkType The network type to be used for test - * failover. + * The network type to be used for test failover. */ networkType: string; /** - * @member {string} [networkId] The Id of the network to be used for test - * failover. + * The Id of the network to be used for test failover. */ networkId?: string; /** - * @member {string} [skipTestFailoverCleanup] A value indicating whether the - * test failover cleanup is to be skipped. + * A value indicating whether the test failover cleanup is to be skipped. */ skipTestFailoverCleanup?: string; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * The provider specific properties. */ providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; } /** - * @interface - * An interface representing RecoveryPlanTestFailoverInput. * Recovery plan test failover input. - * */ export interface RecoveryPlanTestFailoverInput { /** - * @member {RecoveryPlanTestFailoverInputProperties} properties The recovery - * plan test failover input properties. + * The recovery plan test failover input properties. */ properties: RecoveryPlanTestFailoverInputProperties; } /** - * @interface - * An interface representing RecoveryPlanUnplannedFailoverInputProperties. * Recovery plan unplanned failover input properties. - * */ export interface RecoveryPlanUnplannedFailoverInputProperties { /** - * @member {PossibleOperationsDirections} failoverDirection The failover - * direction. Possible values include: 'PrimaryToRecovery', - * 'RecoveryToPrimary' + * The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' */ failoverDirection: PossibleOperationsDirections; /** - * @member {SourceSiteOperations} sourceSiteOperations A value indicating - * whether source site operations are required. Possible values include: + * A value indicating whether source site operations are required. Possible values include: * 'Required', 'NotRequired' */ sourceSiteOperations: SourceSiteOperations; /** - * @member {RecoveryPlanProviderSpecificFailoverInputUnion[]} - * [providerSpecificDetails] The provider specific properties. + * The provider specific properties. */ providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInputUnion[]; } /** - * @interface - * An interface representing RecoveryPlanUnplannedFailoverInput. * Recovery plan unplanned failover input. - * */ export interface RecoveryPlanUnplannedFailoverInput { /** - * @member {RecoveryPlanUnplannedFailoverInputProperties} properties The - * recovery plan unplanned failover input properties. + * The recovery plan unplanned failover input properties. */ properties: RecoveryPlanUnplannedFailoverInputProperties; } /** - * @interface - * An interface representing RecoveryPointProperties. * Recovery point properties. - * */ export interface RecoveryPointProperties { /** - * @member {Date} [recoveryPointTime] The recovery point time. + * The recovery point time. */ recoveryPointTime?: Date; /** - * @member {string} [recoveryPointType] The recovery point type: - * ApplicationConsistent, CrashConsistent. + * The recovery point type: ApplicationConsistent, CrashConsistent. */ recoveryPointType?: string; /** - * @member {ProviderSpecificRecoveryPointDetailsUnion} - * [providerSpecificDetails] The provider specific details for the recovery - * point. + * The provider specific details for the recovery point. */ providerSpecificDetails?: ProviderSpecificRecoveryPointDetailsUnion; } /** - * @interface - * An interface representing RecoveryPoint. * Base class representing a recovery point. - * - * @extends Resource */ export interface RecoveryPoint extends Resource { /** - * @member {RecoveryPointProperties} [properties] Recovery point related - * data. + * Recovery point related data. */ properties?: RecoveryPointProperties; } /** - * @interface - * An interface representing RecoveryServicesProviderProperties. * Recovery services provider properties. - * */ export interface RecoveryServicesProviderProperties { /** - * @member {string} [fabricType] Type of the site. + * Type of the site. */ fabricType?: string; /** - * @member {string} [friendlyName] Friendly name of the DRA. + * Friendly name of the DRA. */ friendlyName?: string; /** - * @member {string} [providerVersion] The provider version. + * The provider version. */ providerVersion?: string; /** - * @member {string} [serverVersion] The fabric provider. + * The fabric provider. */ serverVersion?: string; /** - * @member {string} [providerVersionState] DRA version status. + * DRA version status. */ providerVersionState?: string; /** - * @member {Date} [providerVersionExpiryDate] Expiry date of the version. + * Expiry date of the version. */ providerVersionExpiryDate?: Date; /** - * @member {string} [fabricFriendlyName] The fabric friendly name. + * The fabric friendly name. */ fabricFriendlyName?: string; /** - * @member {Date} [lastHeartBeat] Time when last heartbeat was sent by the - * DRA. + * Time when last heartbeat was sent by the DRA. */ lastHeartBeat?: Date; /** - * @member {string} [connectionStatus] A value indicating whether DRA is - * responsive. + * A value indicating whether DRA is responsive. */ connectionStatus?: string; /** - * @member {number} [protectedItemCount] Number of protected VMs currently - * managed by the DRA. + * Number of protected VMs currently managed by the DRA. */ protectedItemCount?: number; /** - * @member {string[]} [allowedScenarios] The scenarios allowed on this - * provider. + * The scenarios allowed on this provider. */ allowedScenarios?: string[]; /** - * @member {HealthError[]} [healthErrorDetails] The recovery services - * provider health error details. + * The recovery services provider health error details. */ healthErrorDetails?: HealthError[]; /** - * @member {string} [draIdentifier] The DRA Id. + * The DRA Id. */ draIdentifier?: string; /** - * @member {IdentityInformation} [identityDetails] The identity details. + * The authentication identity details. + */ + authenticationIdentityDetails?: IdentityProviderDetails; + /** + * The resource access identity details. */ - identityDetails?: IdentityInformation; + resourceAccessIdentityDetails?: IdentityProviderDetails; /** - * @member {VersionDetails} [providerVersionDetails] The provider version - * details. + * The provider version details. */ providerVersionDetails?: VersionDetails; } /** - * @interface - * An interface representing RecoveryServicesProvider. * Provider details. - * - * @extends Resource */ export interface RecoveryServicesProvider extends Resource { /** - * @member {RecoveryServicesProviderProperties} [properties] Provider - * properties. + * Provider properties. */ properties?: RecoveryServicesProviderProperties; } /** - * @interface - * An interface representing ReplicationProviderContainerUnmappingInput. + * Remove Disk input properties. + */ +export interface RemoveDisksInputProperties { + /** + * The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be + * AzureEnableProtectionInput object. For San provider, it will be SanEnableProtectionInput + * object. For HyperVReplicaAzure provider, it can be null. + */ + providerSpecificDetails?: RemoveDisksProviderSpecificInputUnion; +} + +/** + * Input for remove disk(s) operation. + */ +export interface RemoveDisksInput { + /** + * Remove disk input properties. + */ + properties?: RemoveDisksInputProperties; +} + +/** * Provider specific input for unpairing operations. - * */ export interface ReplicationProviderContainerUnmappingInput { /** - * @member {string} [instanceType] The class type. + * The class type. */ instanceType?: string; } /** - * @interface - * An interface representing RemoveProtectionContainerMappingInputProperties. * Unpairing input properties. - * */ export interface RemoveProtectionContainerMappingInputProperties { /** - * @member {ReplicationProviderContainerUnmappingInput} - * [providerSpecificInput] Provider specific input for unpairing. + * Provider specific input for unpairing. */ providerSpecificInput?: ReplicationProviderContainerUnmappingInput; } /** - * @interface - * An interface representing RemoveProtectionContainerMappingInput. * Container unpairing input. - * */ export interface RemoveProtectionContainerMappingInput { /** - * @member {RemoveProtectionContainerMappingInputProperties} [properties] * Configure protection input properties. */ properties?: RemoveProtectionContainerMappingInputProperties; } /** - * @interface - * An interface representing RenewCertificateInputProperties. * Renew Certificate input properties. - * */ export interface RenewCertificateInputProperties { /** - * @member {string} [renewCertificateType] Renew certificate type. + * Renew certificate type. */ renewCertificateType?: string; } /** - * @interface - * An interface representing RenewCertificateInput. * Certificate renewal input. - * */ export interface RenewCertificateInput { /** - * @member {RenewCertificateInputProperties} [properties] Renew certificate - * input properties. + * Renew certificate input properties. */ properties?: RenewCertificateInputProperties; } /** - * @interface - * An interface representing ReplicationGroupDetails. * Replication group details. This will be used in case of San and Wvr. - * */ export interface ReplicationGroupDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ReplicationGroupDetails"; } /** - * @interface - * An interface representing ReplicationProtectedItemProperties. * Replication protected item custom data details. - * */ export interface ReplicationProtectedItemProperties { /** - * @member {string} [friendlyName] The name. + * The name. */ friendlyName?: string; /** - * @member {string} [protectedItemType] The type of protected item type. + * The type of protected item type. */ protectedItemType?: string; /** - * @member {string} [protectableItemId] The protected item ARM Id. + * The protected item ARM Id. */ protectableItemId?: string; /** - * @member {string} [recoveryServicesProviderId] The recovery provider ARM - * Id. + * The recovery provider ARM Id. */ recoveryServicesProviderId?: string; /** - * @member {string} [primaryFabricFriendlyName] The friendly name of the - * primary fabric. + * The friendly name of the primary fabric. */ primaryFabricFriendlyName?: string; /** - * @member {string} [primaryFabricProvider] The fabric provider of the - * primary fabric. + * The fabric provider of the primary fabric. */ primaryFabricProvider?: string; /** - * @member {string} [recoveryFabricFriendlyName] The friendly name of - * recovery fabric. + * The friendly name of recovery fabric. */ recoveryFabricFriendlyName?: string; /** - * @member {string} [recoveryFabricId] The Arm Id of recovery fabric. + * The Arm Id of recovery fabric. */ recoveryFabricId?: string; /** - * @member {string} [primaryProtectionContainerFriendlyName] The name of - * primary protection container friendly name. + * The name of primary protection container friendly name. */ primaryProtectionContainerFriendlyName?: string; /** - * @member {string} [recoveryProtectionContainerFriendlyName] The name of - * recovery container friendly name. + * The name of recovery container friendly name. */ recoveryProtectionContainerFriendlyName?: string; /** - * @member {string} [protectionState] The protection status. + * The protection status. */ protectionState?: string; /** - * @member {string} [protectionStateDescription] The protection state - * description. + * The protection state description. */ protectionStateDescription?: string; /** - * @member {string} [activeLocation] The Current active location of the PE. + * The Current active location of the PE. */ activeLocation?: string; /** - * @member {string} [testFailoverState] The Test failover state. + * The Test failover state. */ testFailoverState?: string; /** - * @member {string} [testFailoverStateDescription] The Test failover state - * description. + * The Test failover state description. */ testFailoverStateDescription?: string; /** - * @member {string[]} [allowedOperations] The allowed operations on the - * Replication protected item. + * The allowed operations on the Replication protected item. */ allowedOperations?: 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 + * 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; /** - * @member {string} [failoverHealth] The consolidated failover health for the - * VM. + * The consolidated failover health for the VM. */ failoverHealth?: string; /** - * @member {HealthError[]} [healthErrors] List of health errors. + * List of health errors. */ healthErrors?: HealthError[]; /** - * @member {string} [policyId] The ID of Policy governing this PE. + * The ID of Policy governing this PE. */ policyId?: string; /** - * @member {string} [policyFriendlyName] The name of Policy governing this - * PE. + * The name of Policy governing this PE. */ policyFriendlyName?: string; /** - * @member {Date} [lastSuccessfulFailoverTime] The Last successful failover - * time. + * The Last successful failover time. */ lastSuccessfulFailoverTime?: Date; /** - * @member {Date} [lastSuccessfulTestFailoverTime] The Last successful test - * failover time. + * The Last successful test failover time. */ lastSuccessfulTestFailoverTime?: Date; /** - * @member {CurrentScenarioDetails} [currentScenario] The current scenario. + * The current scenario. */ currentScenario?: CurrentScenarioDetails; /** - * @member {string} [failoverRecoveryPointId] The recovery point ARM Id to - * which the Vm was failed over. + * The recovery point ARM Id to which the Vm was failed over. */ failoverRecoveryPointId?: string; /** - * @member {ReplicationProviderSpecificSettingsUnion} - * [providerSpecificDetails] The Replication provider custom settings. + * The Replication provider custom settings. */ providerSpecificDetails?: ReplicationProviderSpecificSettingsUnion; /** - * @member {string} [recoveryContainerId] The recovery container Id. + * The recovery container Id. */ recoveryContainerId?: string; } /** - * @interface - * An interface representing ReplicationProtectedItem. * Replication protected item. - * - * @extends Resource */ export interface ReplicationProtectedItem extends Resource { /** - * @member {ReplicationProtectedItemProperties} [properties] The custom data. + * The custom data. */ properties?: ReplicationProtectedItemProperties; } /** - * @interface - * An interface representing ResourceHealthSummary. - * Base class to define the health summary of the resources contained under an - * Arm resource. - * + * Resolve health errors input properties. + */ +export interface ResolveHealthError { + /** + * Health error id. + */ + healthErrorId?: string; +} + +/** + * Resolve health input properties. + */ +export interface ResolveHealthInputProperties { + /** + * Health errors. + */ + healthErrors?: ResolveHealthError[]; +} + +/** + * Resolve health input. + */ +export interface ResolveHealthInput { + /** + * Disable resolve health input properties. + */ + properties?: ResolveHealthInputProperties; +} + +/** + * Base class to define the health summary of the resources contained under an Arm resource. */ export interface ResourceHealthSummary { /** - * @member {number} [resourceCount] The count of total resources umder the - * container. + * The count of total resources under the container. */ resourceCount?: number; /** - * @member {HealthErrorSummary[]} [issues] The list of summary of health - * errors across the resources under the container. + * The list of summary of health errors across the resources under the container. */ issues?: HealthErrorSummary[]; } /** - * @interface - * An interface representing ResumeJobParamsProperties. * Resume job properties. - * */ export interface ResumeJobParamsProperties { /** - * @member {string} [comments] Resume job comments. + * Resume job comments. */ comments?: string; } /** - * @interface - * An interface representing ResumeJobParams. * Resume job params. - * */ export interface ResumeJobParams { /** - * @member {ResumeJobParamsProperties} [properties] Resume job properties. + * Resume job properties. */ properties?: ResumeJobParamsProperties; } /** - * @interface - * An interface representing ReverseReplicationInputProperties. * Reverse replication input properties. - * */ export interface ReverseReplicationInputProperties { /** - * @member {string} [failoverDirection] Failover direction. + * Failover direction. */ failoverDirection?: string; /** - * @member {ReverseReplicationProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific reverse replication input. + * Provider specific reverse replication input. */ providerSpecificDetails?: ReverseReplicationProviderSpecificInputUnion; } /** - * @interface - * An interface representing ReverseReplicationInput. * Reverse replication input. - * */ export interface ReverseReplicationInput { /** - * @member {ReverseReplicationInputProperties} [properties] Reverse - * replication properties + * Reverse replication properties */ properties?: ReverseReplicationInputProperties; } /** - * @interface - * An interface representing RunAsAccount. + * Azure role assignment details. + */ +export interface RoleAssignment { + /** + * The ARM Id of the role assignment. + */ + id?: string; + /** + * The name of the role assignment. + */ + name?: string; + /** + * Role assignment scope. + */ + scope?: string; + /** + * Principal Id. + */ + principalId?: string; + /** + * Role definition id. + */ + roleDefinitionId?: string; +} + +/** * CS Accounts Details. - * */ export interface RunAsAccount { /** - * @member {string} [accountId] The CS RunAs account Id. + * The CS RunAs account Id. */ accountId?: string; /** - * @member {string} [accountName] The CS RunAs account name. + * The CS RunAs account name. */ accountName?: string; } /** - * @interface - * An interface representing SanEnableProtectionInput. * San enable protection provider specific input. - * */ export interface SanEnableProtectionInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "San"; } /** - * @interface - * An interface representing ScriptActionTaskDetails. * This class represents the script action task details. - * */ export interface ScriptActionTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "ScriptActionTaskDetails"; /** - * @member {string} [name] The name. + * The name. */ name?: string; /** - * @member {string} [path] The path. + * The path. */ path?: string; /** - * @member {string} [output] The output. + * The output. */ output?: 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; } /** - * @interface - * An interface representing StorageClassificationProperties. * Storage object properties. - * */ export interface StorageClassificationProperties { /** - * @member {string} [friendlyName] Friendly name of the Storage - * classification. + * Friendly name of the Storage classification. */ friendlyName?: string; } /** - * @interface - * An interface representing StorageClassification. * Storage object definition. - * - * @extends Resource */ export interface StorageClassification extends Resource { /** - * @member {StorageClassificationProperties} [properties] Proprties of the - * storage object. + * Properties of the storage object. */ properties?: StorageClassificationProperties; } /** - * @interface - * An interface representing StorageClassificationMappingProperties. * Storage mapping properties. - * */ export interface StorageClassificationMappingProperties { /** - * @member {string} [targetStorageClassificationId] Target storage object Id. + * Target storage object Id. */ targetStorageClassificationId?: string; } /** - * @interface - * An interface representing StorageClassificationMapping. * Storage mapping object. - * - * @extends Resource */ export interface StorageClassificationMapping extends Resource { /** - * @member {StorageClassificationMappingProperties} [properties] Proprties of - * the storage mappping object. + * Properties of the storage mapping object. */ properties?: StorageClassificationMappingProperties; } /** - * @interface - * An interface representing StorageMappingInputProperties. * Storage mapping input properties. - * */ export interface StorageMappingInputProperties { /** - * @member {string} [targetStorageClassificationId] The ID of the storage - * object. + * The ID of the storage object. */ targetStorageClassificationId?: string; } /** - * @interface - * An interface representing StorageClassificationMappingInput. * Storage mapping input. - * */ export interface StorageClassificationMappingInput { /** - * @member {StorageMappingInputProperties} [properties] Storage mapping input - * properties. + * Storage mapping input properties. */ properties?: StorageMappingInputProperties; } /** - * @interface - * An interface representing SwitchProtectionInputProperties. + * 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 { /** - * @member {string} [replicationProtectedItemName] The unique replication - * protected item name. + * The unique replication protected item name. */ replicationProtectedItemName?: string; /** - * @member {SwitchProtectionProviderSpecificInputUnion} - * [providerSpecificDetails] Provider specific switch protection input. + * Provider specific switch protection input. */ providerSpecificDetails?: SwitchProtectionProviderSpecificInputUnion; } /** - * @interface - * An interface representing SwitchProtectionInput. * Switch protection input. - * */ export interface SwitchProtectionInput { /** - * @member {SwitchProtectionInputProperties} [properties] Switch protection - * properties + * Switch protection properties */ properties?: SwitchProtectionInputProperties; } /** - * @interface - * An interface representing SwitchProtectionJobDetails. * This class represents details for switch protection job. - * */ export interface SwitchProtectionJobDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "SwitchProtectionJobDetails"; /** - * @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} [newReplicationProtectedItemId] ARM Id of the new - * replication protected item. + * ARM Id of the new replication protected item. */ newReplicationProtectedItemId?: string; } /** - * @interface - * An interface representing TargetComputeSizeProperties. * Represents applicable recovery vm sizes properties. - * */ export interface TargetComputeSizeProperties { /** - * @member {string} [name] Target compute size name. + * Target compute size name. */ name?: string; /** - * @member {string} [friendlyName] Target compute size display name. + * Target compute size display name. */ friendlyName?: string; /** - * @member {number} [cpuCoresCount] The maximum cpu cores count supported by - * target compute size. + * The maximum cpu cores count supported by target compute size. */ cpuCoresCount?: number; /** - * @member {number} [memoryInGB] The maximum memory in GB supported by target - * compute size. + * The maximum memory in GB supported by target compute size. */ memoryInGB?: number; /** - * @member {number} [maxDataDiskCount] The maximum data disks count supported - * by target compute size. + * The maximum data disks count supported by target compute size. */ maxDataDiskCount?: number; /** - * @member {number} [maxNicsCount] The maximum Nics count supported by target - * compute size. + * The maximum Nics count supported by target compute size. */ maxNicsCount?: number; /** - * @member {ComputeSizeErrorDetails[]} [errors] The reasons why the target - * compute size is not applicable for the protected item. + * The reasons why the target compute size is not applicable for the protected item. */ errors?: ComputeSizeErrorDetails[]; /** - * @member {string} [highIopsSupported] The value indicating whether the - * target compute size supports high Iops. + * The value indicating whether the target compute size supports high Iops. */ highIopsSupported?: string; } /** - * @interface - * An interface representing TargetComputeSize. * Represents applicable recovery vm sizes. - * */ export interface TargetComputeSize { /** - * @member {string} [id] The Id. + * The Id. */ id?: string; /** - * @member {string} [name] The name. + * The name. */ name?: string; /** - * @member {string} [type] The Type of the object. + * The Type of the object. */ type?: string; /** - * @member {TargetComputeSizeProperties} [properties] The custom data. + * The custom data. */ properties?: TargetComputeSizeProperties; } /** - * @interface - * An interface representing TestFailoverCleanupInputProperties. * Input definition for test failover cleanup input properties. - * */ export interface TestFailoverCleanupInputProperties { /** - * @member {string} [comments] Test failover cleanup comments. + * Test failover cleanup comments. */ comments?: string; } /** - * @interface - * An interface representing TestFailoverCleanupInput. * Input definition for test failover cleanup. - * */ export interface TestFailoverCleanupInput { /** - * @member {TestFailoverCleanupInputProperties} properties Test failover - * cleanup input properties. + * Test failover cleanup input properties. */ properties: TestFailoverCleanupInputProperties; } /** - * @interface - * An interface representing TestFailoverInputProperties. * Input definition for planned failover input properties. - * */ export interface TestFailoverInputProperties { /** - * @member {string} [failoverDirection] Failover direction. + * Failover direction. */ failoverDirection?: string; /** - * @member {string} [networkType] Network type to be used for test failover. + * Network type to be used for test failover. */ networkType?: string; /** - * @member {string} [networkId] The id of the network to be used for test - * failover + * The id of the network to be used for test failover */ networkId?: string; /** - * @member {string} [skipTestFailoverCleanup] A value indicating whether the - * test failover cleanup is to be skipped. + * A value indicating whether the test failover cleanup is to be skipped. */ skipTestFailoverCleanup?: string; /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] * Provider specific settings */ providerSpecificDetails?: ProviderSpecificFailoverInputUnion; } /** - * @interface - * An interface representing TestFailoverInput. * Input definition for planned failover. - * */ export interface TestFailoverInput { /** - * @member {TestFailoverInputProperties} [properties] Planned failover input - * properties + * Planned failover input properties */ properties?: TestFailoverInputProperties; } /** - * @interface - * An interface representing TestFailoverJobDetails. * This class represents the details for a test failover job. - * */ export interface TestFailoverJobDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "TestFailoverJobDetails"; /** - * @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} [testFailoverStatus] The test failover status. + * The test failover status. */ testFailoverStatus?: string; /** - * @member {string} [comments] The test failover comments. + * The test failover comments. */ comments?: string; /** - * @member {string} [networkName] The test network name. + * The test network name. */ networkName?: string; /** - * @member {string} [networkFriendlyName] The test network friendly name. + * The test network friendly name. */ networkFriendlyName?: string; /** - * @member {string} [networkType] The test network type (see - * TestFailoverInput enum for possible values). + * The test network type (see TestFailoverInput enum for possible values). */ networkType?: string; /** - * @member {FailoverReplicationProtectedItemDetails[]} [protectedItemDetails] * The test VM details. */ protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; } /** - * @interface - * An interface representing UnplannedFailoverInputProperties. - * Input definition for planned failover input properties. - * + * Test migrate cleanup input properties. */ -export interface UnplannedFailoverInputProperties { - /** - * @member {string} [failoverDirection] Failover direction. - */ - failoverDirection?: string; - /** - * @member {string} [sourceSiteOperations] Source site operations status - */ - sourceSiteOperations?: string; +export interface TestMigrateCleanupInputProperties { /** - * @member {ProviderSpecificFailoverInputUnion} [providerSpecificDetails] - * Provider specific settings + * Test migrate cleanup comments. */ - providerSpecificDetails?: ProviderSpecificFailoverInputUnion; + 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 planned failover input properties. + */ +export interface UnplannedFailoverInputProperties { + /** + * Failover direction. + */ + failoverDirection?: string; + /** + * Source site operations status + */ + sourceSiteOperations?: string; + /** + * Provider specific settings + */ + providerSpecificDetails?: ProviderSpecificFailoverInputUnion; } /** - * @interface - * An interface representing UnplannedFailoverInput. * Input definition for planned failover. - * */ export interface UnplannedFailoverInput { /** - * @member {UnplannedFailoverInputProperties} [properties] Planned failover - * input properties + * Planned failover input properties */ properties?: UnplannedFailoverInputProperties; } /** - * @interface - * An interface representing UpdateMobilityServiceRequestProperties. + * 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 { /** - * @member {string} [runAsAccountId] The CS run as account Id. + * The CS run as account Id. */ runAsAccountId?: string; } /** - * @interface - * An interface representing UpdateMobilityServiceRequest. * Request to update the mobility service on a protected item. - * */ export interface UpdateMobilityServiceRequest { /** - * @member {UpdateMobilityServiceRequestProperties} [properties] The - * properties of the update mobility service request. + * The properties of the update mobility service request. */ properties?: UpdateMobilityServiceRequestProperties; } /** - * @interface - * An interface representing UpdateNetworkMappingInputProperties. * Common input details for network mapping operation. - * */ export interface UpdateNetworkMappingInputProperties { /** - * @member {string} [recoveryFabricName] Recovery fabric name. + * Recovery fabric name. */ recoveryFabricName?: string; /** - * @member {string} [recoveryNetworkId] Recovery network Id. + * Recovery network Id. */ recoveryNetworkId?: string; /** - * @member {FabricSpecificUpdateNetworkMappingInputUnion} - * [fabricSpecificDetails] Fabrics specific input network Id. + * Fabrics specific input network Id. */ fabricSpecificDetails?: FabricSpecificUpdateNetworkMappingInputUnion; } /** - * @interface - * An interface representing UpdateNetworkMappingInput. * Update network mapping input. - * */ export interface UpdateNetworkMappingInput { /** - * @member {UpdateNetworkMappingInputProperties} [properties] The input - * properties needed to update network mapping. + * The input properties needed to update network mapping. */ properties?: UpdateNetworkMappingInputProperties; } /** - * @interface - * An interface representing UpdatePolicyInputProperties. * Policy update properties. - * */ export interface UpdatePolicyInputProperties { /** - * @member {PolicyProviderSpecificInputUnion} [replicationProviderSettings] * The ReplicationProviderSettings. */ replicationProviderSettings?: PolicyProviderSpecificInputUnion; } /** - * @interface - * An interface representing UpdatePolicyInput. * Update policy input. - * */ export interface UpdatePolicyInput { /** - * @member {UpdatePolicyInputProperties} [properties] The - * ReplicationProviderSettings. + * The ReplicationProviderSettings. */ properties?: UpdatePolicyInputProperties; } /** - * @interface - * An interface representing UpdateProtectionContainerMappingInputProperties. * Container pairing update input. - * */ export interface UpdateProtectionContainerMappingInputProperties { /** - * @member {ReplicationProviderSpecificUpdateContainerMappingInputUnion} - * [providerSpecificInput] Provider specific input for updating protection - * container mapping. + * Provider specific input for updating protection container mapping. */ providerSpecificInput?: ReplicationProviderSpecificUpdateContainerMappingInputUnion; } /** - * @interface - * An interface representing UpdateProtectionContainerMappingInput. * Container pairing update input. - * */ export interface UpdateProtectionContainerMappingInput { /** - * @member {UpdateProtectionContainerMappingInputProperties} [properties] * Update protection container mapping input properties. */ properties?: UpdateProtectionContainerMappingInputProperties; } /** - * @interface - * An interface representing UpdateRecoveryPlanInputProperties. - * Recovery plan updation properties. - * + * Recovery plan update properties. */ export interface UpdateRecoveryPlanInputProperties { /** - * @member {RecoveryPlanGroup[]} [groups] The recovery plan groups. + * The recovery plan groups. */ groups?: RecoveryPlanGroup[]; } /** - * @interface - * An interface representing UpdateRecoveryPlanInput. * Update recovery plan input class. - * */ export interface UpdateRecoveryPlanInput { /** - * @member {UpdateRecoveryPlanInputProperties} [properties] Recovery plan - * update properties. + * Recovery plan update properties. */ properties?: UpdateRecoveryPlanInputProperties; } /** - * @interface - * An interface representing VMNicInputDetails. * Hyper V VM network input details. - * */ export interface VMNicInputDetails { /** - * @member {string} [nicId] The nic Id. + * The nic Id. */ nicId?: string; /** - * @member {string} [recoveryVMSubnetName] Recovery VM subnet name. + * Recovery VM subnet name. */ recoveryVMSubnetName?: 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 {boolean} [enableAcceleratedNetworkingOnRecovery] Whether the NIC - * has accerated networking enabled. + * Whether the NIC has accelerated networking enabled. */ enableAcceleratedNetworkingOnRecovery?: boolean; } /** - * @interface - * An interface representing UpdateReplicationProtectedItemInputProperties. * Update protected item input properties. - * */ export interface UpdateReplicationProtectedItemInputProperties { /** - * @member {string} [recoveryAzureVMName] Target azure VM name given by the - * user. + * Target azure VM name given by the user. */ recoveryAzureVMName?: string; /** - * @member {string} [recoveryAzureVMSize] Target Azure Vm size. + * Target Azure Vm size. */ recoveryAzureVMSize?: string; /** - * @member {string} [selectedRecoveryAzureNetworkId] Target Azure Network Id. + * Target 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} [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 {VMNicInputDetails[]} [vmNics] The list of vm nic details. + * The list of vm nic details. */ vmNics?: VMNicInputDetails[]; /** - * @member {LicenseType} [licenseType] License type. Possible values include: - * 'NotSpecified', 'NoLicenseType', 'WindowsServer' + * License type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ licenseType?: LicenseType; /** - * @member {string} [recoveryAvailabilitySetId] The target availability set - * id. + * The target availability set id. */ recoveryAvailabilitySetId?: string; /** - * @member {UpdateReplicationProtectedItemProviderInputUnion} - * [providerSpecificDetails] The provider specific input to update - * replication protected item. + * The provider specific input to update replication protected item. */ providerSpecificDetails?: UpdateReplicationProtectedItemProviderInputUnion; } /** - * @interface - * An interface representing UpdateReplicationProtectedItemInput. * Update replication protected item input. - * */ export interface UpdateReplicationProtectedItemInput { /** - * @member {UpdateReplicationProtectedItemInputProperties} [properties] * Update replication protected item properties. */ properties?: UpdateReplicationProtectedItemInputProperties; } /** - * @interface - * An interface representing UpdateVCenterRequestProperties. * The properties of an update vCenter request. - * */ export interface UpdateVCenterRequestProperties { /** - * @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 - * update can be orchestrated. + * The process server Id from where the update can be orchestrated. */ processServerId?: string; /** - * @member {string} [port] The port number for discovery. + * The port number for discovery. */ port?: string; /** - * @member {string} [runAsAccountId] The CS account Id which has priviliges - * to update the vCenter. + * The CS account Id which has privileges to update the vCenter. */ runAsAccountId?: string; } /** - * @interface - * An interface representing UpdateVCenterRequest. * Input required to update vCenter. - * */ export interface UpdateVCenterRequest { /** - * @member {UpdateVCenterRequestProperties} [properties] The update VCenter - * Request Properties. + * The update VCenter Request Properties. */ properties?: UpdateVCenterRequestProperties; } /** - * @interface - * An interface representing VaultHealthProperties. * class to define the health summary of the Vault. - * */ export interface VaultHealthProperties { /** - * @member {HealthError[]} [vaultErrors] The list of errors on the vault. + * The list of errors on the vault. */ vaultErrors?: HealthError[]; /** - * @member {ResourceHealthSummary} [protectedItemsHealth] The list of the - * health detail of the protected items in the vault. + * The list of the health detail of the protected items in the vault. */ protectedItemsHealth?: ResourceHealthSummary; /** - * @member {ResourceHealthSummary} [fabricsHealth] The list of the health - * detail of the fabrics in the vault. + * The list of the health detail of the fabrics in the vault. */ fabricsHealth?: ResourceHealthSummary; /** - * @member {ResourceHealthSummary} [containersHealth] The list of the health - * detail of the containers in the vault. + * The list of the health detail of the containers in the vault. */ containersHealth?: ResourceHealthSummary; } /** - * @interface - * An interface representing VaultHealthDetails. * Vault health details definition. - * - * @extends Resource */ export interface VaultHealthDetails extends Resource { /** - * @member {VaultHealthProperties} [properties] The vault health related - * data. + * The vault health related data. */ properties?: VaultHealthProperties; } /** - * @interface - * An interface representing VCenterProperties. + * 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 { /** - * @member {string} [friendlyName] Friendly name of the vCenter. + * Friendly name of the vCenter. */ friendlyName?: string; /** - * @member {string} [internalId] VCenter internal ID. + * VCenter internal ID. */ internalId?: string; /** - * @member {Date} [lastHeartbeat] The time when the last heartbeat was - * reveived by vCenter. + * The time when the last heartbeat was received by vCenter. */ lastHeartbeat?: Date; /** - * @member {string} [discoveryStatus] The VCenter discovery status. + * The VCenter discovery status. */ discoveryStatus?: string; /** - * @member {string} [processServerId] The process server Id. + * The process server Id. */ processServerId?: string; /** - * @member {string} [ipAddress] The IP address of the vCenter. + * The IP address of the vCenter. */ ipAddress?: string; /** - * @member {string} [infrastructureId] The infrastructure Id of vCenter. + * The infrastructure Id of vCenter. */ infrastructureId?: 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; /** - * @member {string} [fabricArmResourceName] The ARM resource name of the - * fabric containing this VCenter. + * The ARM resource name of the fabric containing this VCenter. */ fabricArmResourceName?: string; /** - * @member {HealthError[]} [healthErrors] The health errors for this VCenter. + * The health errors for this VCenter. */ healthErrors?: HealthError[]; } /** - * @interface - * An interface representing VCenter. * vCenter definition. - * - * @extends Resource */ export interface VCenter extends Resource { /** - * @member {VCenterProperties} [properties] VCenter related data. + * VCenter related data. */ properties?: VCenterProperties; } /** - * @interface - * An interface representing VirtualMachineTaskDetails. * This class represents the virtual machine task details. - * */ export interface VirtualMachineTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VirtualMachineTaskDetails"; /** - * @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 VmmDetails. * VMM fabric specific details. - * */ export interface VmmDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VMM"; } /** - * @interface - * An interface representing VmmToAzureCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to Vmm to Azure - * Network mapping. - * + * Create network mappings input properties/behavior specific to Vmm to Azure Network mapping. */ export interface VmmToAzureCreateNetworkMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VmmToAzure"; } /** - * @interface - * An interface representing VmmToAzureNetworkMappingSettings. * E2A Network Mapping fabric specific settings. - * */ export interface VmmToAzureNetworkMappingSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VmmToAzure"; } /** - * @interface - * An interface representing VmmToAzureUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to azure. - * + * Update network mappings input properties/behavior specific to vmm to azure. */ export interface VmmToAzureUpdateNetworkMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VmmToAzure"; } /** - * @interface - * An interface representing VmmToVmmCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to vmm to vmm - * Network mapping. - * + * Create network mappings input properties/behavior specific to vmm to vmm Network mapping. */ export interface VmmToVmmCreateNetworkMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VmmToVmm"; } /** - * @interface - * An interface representing VmmToVmmNetworkMappingSettings. * E2E Network Mapping fabric specific settings. - * */ export interface VmmToVmmNetworkMappingSettings { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VmmToVmm"; } /** - * @interface - * An interface representing VmmToVmmUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to vmm. - * + * Update network mappings input properties/behavior specific to vmm to vmm. */ export interface VmmToVmmUpdateNetworkMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VmmToVmm"; } /** - * @interface - * An interface representing VmmVirtualMachineDetails. * VMM fabric provider specific VM settings. - * */ export interface VmmVirtualMachineDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VmmVirtualMachine"; /** - * @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 VmNicUpdatesTaskDetails. * This class represents the vm NicUpdates task details. - * */ export interface VmNicUpdatesTaskDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VmNicUpdatesTaskDetails"; /** - * @member {string} [vmId] Virtual machine Id. + * Virtual machine Id. */ vmId?: string; /** - * @member {string} [nicId] Nic Id. + * Nic Id. */ nicId?: string; /** - * @member {string} [name] Name of the Nic. + * Name of the Nic. */ name?: string; } /** - * @interface - * An interface representing VMwareCbtPolicyCreationInput. - * VMware Cbt Policy creation input. - * + * VMwareCbt container creation input. */ -export interface VMwareCbtPolicyCreationInput { +export interface VMwareCbtContainerCreationInput { + /** + * Polymorphic Discriminator + */ + instanceType: "6c7da455-506f-43ff-a16a-8eb101aebb70"; +} + +/** + * VMwareCbt container mapping input. + */ +export interface VMwareCbtContainerMappingInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ instanceType: "VMwareCbt"; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The target key vault ARM Id. */ - recoveryPointHistory?: number; + keyVaultId: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency (in minutes). + * The target key vault URL. */ - crashConsistentFrequencyInMinutes?: number; + keyVaultUri: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency (in minutes). + * The storage account ARM Id. */ - appConsistentFrequencyInMinutes?: number; + 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; } /** - * @interface - * An interface representing VmwareCbtPolicyDetails. - * VMware Cbt specific policy details. - * + * VMwareCbt disk input. */ -export interface VmwareCbtPolicyDetails { +export interface VMwareCbtDiskInput { /** - * @member {string} instanceType Polymorphic Discriminator + * The disk Id. */ - instanceType: "VMwareCbt"; + diskId: string; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * A value indicating whether the disk is the OS disk. */ - recoveryPointThresholdInMinutes?: number; + isOSDisk: string; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * The log storage account ARM Id. */ - recoveryPointHistory?: number; + logStorageAccountId: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * The key vault secret name of the log storage account. */ - appConsistentFrequencyInMinutes?: number; + logStorageAccountSasSecretName: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - crashConsistentFrequencyInMinutes?: number; + diskType?: DiskAccountType; } /** - * @interface - * An interface representing VMwareDetails. - * Store the fabric details specific to the VMware fabric. - * + * VMwareCbt specific enable migration input. */ -export interface VMwareDetails { +export interface VMwareCbtEnableMigrationInput { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VMware"; + instanceType: "VMwareCbt"; /** - * @member {ProcessServer[]} [processServers] The list of Process Servers - * associated with the fabric. + * The ARM Id of the VM discovered in VMware. */ - processServers?: ProcessServer[]; + vmwareMachineId: string; /** - * @member {MasterTargetServer[]} [masterTargetServers] The list of Master - * Target servers associated with the fabric. + * The disks to include list. */ - masterTargetServers?: MasterTargetServer[]; + disksToInclude: VMwareCbtDiskInput[]; /** - * @member {RunAsAccount[]} [runAsAccounts] The list of run as accounts - * created on the server. + * License type. Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ - runAsAccounts?: RunAsAccount[]; + licenseType?: LicenseType; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this CS. + * The data mover RunAs account Id. */ - replicationPairCount?: string; + dataMoverRunAsAccountId: string; /** - * @member {string} [processServerCount] The number of process servers. + * The snapshot RunAs account Id. */ - processServerCount?: string; + snapshotRunAsAccountId: string; /** - * @member {string} [agentCount] The number of source and target servers - * configured to talk to this CS. + * The target VM name. */ - agentCount?: string; + targetVmName?: string; /** - * @member {string} [protectedServers] The number of protected servers. + * The target VM size. */ - protectedServers?: string; + targetVmSize?: string; /** - * @member {string} [systemLoad] The percentage of the system load. + * The target resource group ARM Id. */ - systemLoad?: string; + targetResourceGroupId: string; /** - * @member {string} [systemLoadStatus] The system load status. + * The target network ARM Id. */ - systemLoadStatus?: string; + targetNetworkId: string; /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * The target subnet name. */ - cpuLoad?: string; + targetSubnetName?: string; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * The target availability set ARM Id. */ - cpuLoadStatus?: string; + targetAvailabilitySetId?: string; /** - * @member {number} [totalMemoryInBytes] The total memory. + * The target boot diagnostics storage account ARM Id. */ - totalMemoryInBytes?: number; + targetBootDiagnosticsStorageAccountId?: string; +} + +/** + * VMwareCbt specific migrate input. + */ +export interface VMwareCbtMigrateInput { /** - * @member {number} [availableMemoryInBytes] The available memory. + * Polymorphic Discriminator */ - availableMemoryInBytes?: number; + instanceType: "VMwareCbt"; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * A value indicating whether VM is to be shutdown. */ - memoryUsageStatus?: string; + performShutdown: string; +} + +/** + * VMwareCbt protected disk details. + */ +export interface VMwareCbtProtectedDiskDetails { /** - * @member {number} [totalSpaceInBytes] The total space. + * The disk id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - totalSpaceInBytes?: number; + readonly diskId?: string; /** - * @member {number} [availableSpaceInBytes] The available space. + * The disk name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - availableSpaceInBytes?: number; + readonly diskName?: string; /** - * @member {string} [spaceUsageStatus] The space usage status. + * The disk path. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - spaceUsageStatus?: string; + readonly diskPath?: string; /** - * @member {string} [webLoad] The web load. + * 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.** */ - webLoad?: string; + readonly isOSDisk?: string; /** - * @member {string} [webLoadStatus] The web load status. + * The disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - webLoadStatus?: string; + readonly capacityInBytes?: number; /** - * @member {string} [databaseServerLoad] The database server load. + * The log storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - databaseServerLoad?: string; + readonly logStorageAccountId?: string; /** - * @member {string} [databaseServerLoadStatus] The database server load - * status. + * 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.** */ - databaseServerLoadStatus?: string; + readonly logStorageAccountSasSecretName?: string; /** - * @member {string} [csServiceStatus] The CS service status. + * The ARM Id of the seed managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - csServiceStatus?: string; + readonly seedManagedDiskId?: string; /** - * @member {string} [ipAddress] The IP address. + * The ARM Id of the target managed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ipAddress?: string; + readonly targetManagedDiskId?: string; /** - * @member {string} [agentVersion] The agent Version. + * The disk type. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - agentVersion?: string; + diskType?: DiskType; +} + +/** + * VMwareCbt NIC details. + */ +export interface VMwareCbtNicDetails { /** - * @member {string} [hostName] The host name. + * The NIC Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hostName?: string; + readonly nicId?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from CS server. + * A value indicating whether this is the primary NIC. */ - lastHeartbeat?: Date; + isPrimaryNic?: string; /** - * @member {string} [versionStatus] Version status + * The source IP address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - versionStatus?: string; + readonly sourceIPAddress?: string; /** - * @member {Date} [sslCertExpiryDate] CS SSL cert 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.** */ - sslCertExpiryDate?: Date; + readonly sourceIPAddressType?: EthernetAddressType; /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * Source network Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sslCertExpiryRemainingDays?: number; + readonly sourceNetworkId?: string; /** - * @member {string} [psTemplateVersion] PS template version. + * The target IP address. */ - psTemplateVersion?: string; + targetIPAddress?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * The target IP address type. Possible values include: 'Dynamic', 'Static' */ - agentExpiryDate?: Date; + targetIPAddressType?: EthernetAddressType; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * Target subnet name. */ - agentVersionDetails?: VersionDetails; + targetSubnetName?: string; + /** + * A value indicating whether this NIC is selected for migration. + */ + isSelectedForMigration?: string; } /** - * @interface - * An interface representing VMwareV2FabricCreationInput. - * Fabric provider specific settings. - * + * VMwareCbt provider specific settings */ -export interface VMwareV2FabricCreationInput { +export interface VMwareCbtMigrationDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * Polymorphic Discriminator */ - instanceType: "VMwareV2"; + instanceType: "VMwareCbt"; /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * The ARM Id of the VM discovered in VMware. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - keyVaultUrl?: string; + readonly vmwareMachineId?: string; /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * The type of the OS on the VM. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - keyVaultResourceArmId?: string; -} - -/** - * @interface - * An interface representing VMwareV2FabricSpecificDetails. - * VMwareV2 fabric Specific Details. - * - */ -export interface VMwareV2FabricSpecificDetails { + readonly osType?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * License Type of the VM to be used. */ - instanceType: "VMwareV2"; + licenseType?: string; /** - * @member {string} [srsServiceEndpoint] The endpoint for making requests to - * the SRS Service. + * The data mover RunAs account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - srsServiceEndpoint?: string; + readonly dataMoverRunAsAccountId?: string; /** - * @member {string} [rcmServiceEndpoint] The endpoint for making requests to - * the RCM Service. + * The snapshot RunAs account Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rcmServiceEndpoint?: string; + readonly snapshotRunAsAccountId?: string; /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * Target VM name. */ - keyVaultUrl?: string; + targetVmName?: string; /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * The target VM size. */ - keyVaultResourceArmId?: string; -} - -/** - * @interface - * An interface representing VMwareVirtualMachineDetails. - * VMware provider specific settings - * - */ -export interface VMwareVirtualMachineDetails { + targetVmSize?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * The target location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instanceType: "VMwareVirtualMachine"; + readonly targetLocation?: string; /** - * @member {string} [agentGeneratedId] The ID generated by the InMage agent - * after it gets installed on guest. This is the ID to be used during InMage - * CreateProtection. + * The target resource group Id. */ - agentGeneratedId?: string; - /** - * @member {string} [agentInstalled] The value indicating if InMage scout - * agent is installed on guest. - */ - agentInstalled?: string; + targetResourceGroupId?: string; /** - * @member {string} [osType] The OsType installed on VM. + * The target availability set Id. */ - osType?: string; - /** - * @member {string} [agentVersion] The agent version. - */ - agentVersion?: string; + targetAvailabilitySetId?: string; /** - * @member {string} [ipAddress] The IP address. + * The target boot diagnostics storage account ARM Id. */ - ipAddress?: string; + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {string} [poweredOn] The value indicating whether VM is powered - * on. + * The list of protected disks. */ - poweredOn?: string; + protectedDisks?: VMwareCbtProtectedDiskDetails[]; /** - * @member {string} [vCenterInfrastructureId] The VCenter infrastructure Id. + * The target network Id. */ - vCenterInfrastructureId?: string; + targetNetworkId?: string; /** - * @member {string} [discoveryType] A value inidicating the discovery type of - * the machine. Value can be vCenter or physical. + * The network details. */ - discoveryType?: string; + vmNics?: VMwareCbtNicDetails[]; /** - * @member {InMageDiskDetails[]} [diskDetails] The disk details. + * 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.** */ - diskDetails?: InMageDiskDetails[]; + readonly migrationRecoveryPointId?: string; /** - * @member {HealthError[]} [validationErrors] The validation errors. + * The last recovery point received time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - validationErrors?: HealthError[]; + readonly lastRecoveryPointReceived?: Date; } /** - * @interface - * An interface representing ReplicationEventsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase + * VMwareCbt NIC input. */ -export interface ReplicationEventsListOptionalParams extends msRest.RequestOptionsBase { +export interface VMwareCbtNicInput { /** - * @member {string} [filter] OData filter options. + * The NIC Id. */ - filter?: string; -} - -/** - * @interface - * An interface representing ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { + nicId: string; /** - * @member {string} [filter] OData filter options. + * A value indicating whether this is the primary NIC. */ - filter?: string; -} - -/** - * @interface - * An interface representing ReplicationProtectedItemsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationProtectedItemsListOptionalParams extends msRest.RequestOptionsBase { + isPrimaryNic: string; /** - * @member {string} [skipToken] The pagination token. Possible values: - * "FabricId" or "FabricId_CloudId" or null + * Target subnet name. */ - skipToken?: string; + targetSubnetName?: string; /** - * @member {string} [filter] OData filter options. + * The static IP address. */ - filter?: string; -} - -/** - * @interface - * An interface representing ReplicationJobsListOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface ReplicationJobsListOptionalParams extends msRest.RequestOptionsBase { + targetStaticIPAddress?: string; /** - * @member {string} [filter] OData filter options. + * A value indicating whether this NIC is selected for migration. */ - filter?: string; + isSelectedForMigration?: string; } /** - * @interface - * An interface representing SiteRecoveryManagementClientOptions. - * @extends AzureServiceClientOptions + * VMware Cbt policy creation input. */ -export interface SiteRecoveryManagementClientOptions extends AzureServiceClientOptions { +export interface VMwareCbtPolicyCreationInput { /** - * @member {string} [baseUri] + * Polymorphic Discriminator */ - baseUri?: string; -} - - -/** - * @interface - * An interface representing the OperationsDiscoveryCollection. - * Collection of ClientDiscovery details. - * - * @extends Array - */ -export interface OperationsDiscoveryCollection extends Array { + instanceType: "VMwareCbt"; /** - * @member {string} [nextLink] The value of next link. + * The duration in minutes until which the recovery points need to be stored. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the AlertCollection. - * Collection of alerts. - * - * @extends Array - */ -export interface AlertCollection extends Array { + recoveryPointHistoryInMinutes?: number; /** - * @member {string} [nextLink] The value of next link. + * The crash consistent snapshot frequency (in minutes). */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the EventCollection. - * Collection of fabric details. - * - * @extends Array - */ -export interface EventCollection extends Array { + crashConsistentFrequencyInMinutes?: number; /** - * @member {string} [nextLink] The value of next link. + * The app consistent snapshot frequency (in minutes). */ - nextLink?: string; + appConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing the FabricCollection. - * Collection of fabric details. - * - * @extends Array + * VMware Cbt specific policy details. */ -export interface FabricCollection extends Array { +export interface VmwareCbtPolicyDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the LogicalNetworkCollection. - * List of logical networks. - * - * @extends Array - */ -export interface LogicalNetworkCollection extends Array { + instanceType: "VMwareCbt"; /** - * @member {string} [nextLink] The value of next link. + * The duration in minutes until which the recovery points need to be stored. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the NetworkCollection. - * List of networks. - * - * @extends Array - */ -export interface NetworkCollection extends Array { + recoveryPointHistoryInMinutes?: number; /** - * @member {string} [nextLink] The value of next link. + * The app consistent snapshot frequency in minutes. */ - 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 { + appConsistentFrequencyInMinutes?: number; /** - * @member {string} [nextLink] The value of next link. + * The crash consistent snapshot frequency in minutes. */ - nextLink?: string; + crashConsistentFrequencyInMinutes?: number; } /** - * @interface - * An interface representing the ProtectionContainerCollection. - * Protection Container collection. - * - * @extends Array + * VMwareCbt provider specific container mapping details. */ -export interface ProtectionContainerCollection extends Array { +export interface VMwareCbtProtectionContainerMappingDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the ProtectableItemCollection. - * Protectable item collection. - * - * @extends Array - */ -export interface ProtectableItemCollection extends Array { + instanceType: "VMwareCbt"; /** - * @member {string} [nextLink] The value of next link. + * The target key vault ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the ReplicationProtectedItemCollection. - * Replication protected item collection. - * - * @extends Array - */ -export interface ReplicationProtectedItemCollection extends Array { + readonly keyVaultId?: string; /** - * @member {string} [nextLink] The value of next link. + * The target key vault URI. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the RecoveryPointCollection. - * Collection of recovery point details. - * - * @extends Array - */ -export interface RecoveryPointCollection extends Array { + readonly keyVaultUri?: string; /** - * @member {string} [nextLink] The value of next link. + * The storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the TargetComputeSizeCollection. - * Target compute size collection. - * - * @extends Array - */ -export interface TargetComputeSizeCollection extends Array { + readonly storageAccountId?: string; /** - * @member {string} [nextLink] The value of next link. + * The secret name of the storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the ProtectionContainerMappingCollection. - * Protection container mapping collection class. - * - * @extends Array - */ -export interface ProtectionContainerMappingCollection extends Array { + readonly storageAccountSasSecretName?: string; /** - * @member {string} [nextLink] Link to fetch rest of the data. + * The secret name of the service bus connection string. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the RecoveryServicesProviderCollection. - * Collection of providers. - * - * @extends Array - */ -export interface RecoveryServicesProviderCollection extends Array { + readonly serviceBusConnectionStringSecretName?: string; /** - * @member {string} [nextLink] The value of next link. + * The target location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; + readonly targetLocation?: string; } /** - * @interface - * An interface representing the StorageClassificationCollection. - * Collection of storage details. - * - * @extends Array + * VMwareCbt specific test migrate input. */ -export interface StorageClassificationCollection extends Array { +export interface VMwareCbtTestMigrateInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the StorageClassificationMappingCollection. - * Collection of storage mapping details. - * - * @extends Array - */ -export interface StorageClassificationMappingCollection extends Array { + instanceType: "VMwareCbt"; /** - * @member {string} [nextLink] The value of next link. + * The recovery point Id. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the VCenterCollection. - * Collection of vCenter details. - * - * @extends Array - */ -export interface VCenterCollection extends Array { + recoveryPointId: string; /** - * @member {string} [nextLink] The value of next link. + * The test network Id. */ - nextLink?: string; + networkId: string; } /** - * @interface - * An interface representing the JobCollection. - * Collection of jobs. - * - * @extends Array + * VMwareCbt specific update migration item input. */ -export interface JobCollection extends Array { +export interface VMwareCbtUpdateMigrationItemInput { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; + 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; } /** - * @interface - * An interface representing the PolicyCollection. - * Protection Profile Collection details. - * - * @extends Array + * Store the fabric details specific to the VMware fabric. */ -export interface PolicyCollection extends Array { +export interface VMwareDetails { /** - * @member {string} [nextLink] The value of next link. + * Polymorphic Discriminator */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the RecoveryPlanCollection. + 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 { +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 FailoverDeploymentModel. + * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager' + * @readonly + * @enum {string} + */ +export type FailoverDeploymentModel = 'NotApplicable' | 'Classic' | 'ResourceManager'; + +/** + * Defines values for RecoveryPlanGroupType. + * Possible values include: 'Shutdown', 'Boot', 'Failover' + * @readonly + * @enum {string} + */ +export type RecoveryPlanGroupType = 'Shutdown' | 'Boot' | 'Failover'; + +/** + * Defines values for ReplicationProtectedItemOperation. + * Possible values include: 'ReverseReplicate', 'Commit', 'PlannedFailover', 'UnplannedFailover', + * 'DisableProtection', 'TestFailover', 'TestFailoverCleanup', 'Failback', 'FinalizeFailback', + * 'ChangePit', 'RepairReplication', 'SwitchProtection', 'CompleteMigration' + * @readonly + * @enum {string} + */ +export type ReplicationProtectedItemOperation = 'ReverseReplicate' | 'Commit' | 'PlannedFailover' | 'UnplannedFailover' | 'DisableProtection' | 'TestFailover' | 'TestFailoverCleanup' | 'Failback' | 'FinalizeFailback' | 'ChangePit' | 'RepairReplication' | 'SwitchProtection' | 'CompleteMigration'; + +/** + * Defines values for PossibleOperationsDirections. + * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' + * @readonly + * @enum {string} + */ +export type PossibleOperationsDirections = 'PrimaryToRecovery' | 'RecoveryToPrimary'; + +/** + * Defines values for DisableProtectionReason. + * Possible values include: 'NotSpecified', 'MigrationComplete' + * @readonly + * @enum {string} + */ +export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; + +/** + * Defines values for 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 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 SourceSiteOperations. + * Possible values include: 'Required', 'NotRequired' + * @readonly + * @enum {string} + */ +export type SourceSiteOperations = 'Required' | 'NotRequired'; + +/** + * Defines values for LicenseType. + * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + * @readonly + * @enum {string} + */ +export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; + +/** + * 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'; + +/** + * Defines values for EthernetAddressType. + * Possible values include: 'Dynamic', 'Static' + * @readonly + * @enum {string} + */ +export type EthernetAddressType = 'Dynamic' | 'Static'; + +/** + * 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 ReplicationEventsListResponse = EventCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: EventCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ReplicationEventsGetResponse = Event & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Event; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ReplicationEventsListNextResponse = EventCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: EventCollection; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ReplicationFabricsListResponse = FabricCollection & { /** - * @member {string} [nextLink] The value of next link. + * The underlying HTTP response. */ - nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for AgentAutoUpdateStatus. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} - */ -export type AgentAutoUpdateStatus = 'Disabled' | 'Enabled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: FabricCollection; + }; +}; /** - * Defines values for SetMultiVmSyncStatus. - * Possible values include: 'Enable', 'Disable' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type SetMultiVmSyncStatus = 'Enable' | 'Disable'; +export type ReplicationFabricsGetResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for RecoveryPointSyncType. - * Possible values include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' - * @readonly - * @enum {string} - */ -export type RecoveryPointSyncType = 'MultiVmSyncRecoveryPoint' | 'PerVmRecoveryPoint'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for MultiVmGroupCreateOption. - * Possible values include: 'AutoCreated', 'UserSpecified' - * @readonly - * @enum {string} + * Contains response data for the create operation. */ -export type MultiVmGroupCreateOption = 'AutoCreated' | 'UserSpecified'; +export type ReplicationFabricsCreateResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for FailoverDeploymentModel. - * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager' - * @readonly - * @enum {string} - */ -export type FailoverDeploymentModel = 'NotApplicable' | 'Classic' | 'ResourceManager'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for RecoveryPlanGroupType. - * Possible values include: 'Shutdown', 'Boot', 'Failover' - * @readonly - * @enum {string} + * Contains response data for the checkConsistency operation. */ -export type RecoveryPlanGroupType = 'Shutdown' | 'Boot' | 'Failover'; +export type ReplicationFabricsCheckConsistencyResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * 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'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for PossibleOperationsDirections. - * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' - * @readonly - * @enum {string} + * Contains response data for the reassociateGateway operation. */ -export type PossibleOperationsDirections = 'PrimaryToRecovery' | 'RecoveryToPrimary'; +export type ReplicationFabricsReassociateGatewayResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for DisableProtectionReason. - * Possible values include: 'NotSpecified', 'MigrationComplete' - * @readonly - * @enum {string} - */ -export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for HealthErrorCategory. - * Possible values include: 'None', 'Replication', 'TestFailover', 'Configuration', - * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' - * @readonly - * @enum {string} + * Contains response data for the renewCertificate operation. */ -export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdate'; +export type ReplicationFabricsRenewCertificateResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for Severity. - * Possible values include: 'NONE', 'Warning', 'Error', 'Info' - * @readonly - * @enum {string} - */ -export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for PresenceStatus. - * Possible values include: 'Unknown', 'Present', 'NotPresent' - * @readonly - * @enum {string} + * Contains response data for the beginCreate operation. */ -export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; +export type ReplicationFabricsBeginCreateResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for IdentityProviderType. - * Possible values include: 'RecoveryServicesActiveDirectory' - * @readonly - * @enum {string} - */ -export type IdentityProviderType = 'RecoveryServicesActiveDirectory'; + /** + * 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 beginCheckConsistency operation. */ -export type AgentVersionStatus = 'Supported' | 'NotSupported' | 'Deprecated' | 'UpdateRequired' | 'SecurityUpdateRequired'; +export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for RecoveryPointType. - * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * @readonly - * @enum {string} + * Contains response data for the beginReassociateGateway operation. */ -export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; +export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for MultiVmSyncStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the beginRenewCertificate operation. */ -export type MultiVmSyncStatus = 'Enabled' | 'Disabled'; +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 +9888,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 +9908,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 +9928,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 +9948,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 +9968,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 +9988,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 +10008,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 +10028,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 +10048,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 +10068,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 +10088,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 +10108,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 +10128,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 +10148,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 +10168,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 +10188,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 +10208,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 +10228,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 +10248,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 +10268,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 +10288,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 +10308,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 +10328,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 +10348,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 +10368,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 +10388,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 +10408,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 +10428,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 +10448,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 +10468,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 +10488,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 +10508,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 +10528,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 +10548,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 +10568,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 +10588,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 +10608,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 +10628,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 +10648,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 +10668,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 +10688,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 +10708,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 +10728,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 +10748,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 +10768,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 +10788,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 +10808,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 +10828,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 +10848,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 +10868,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 +10888,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 +10908,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 +10928,7 @@ export type ReplicationProtectedItemsGetResponse = ReplicationProtectedItem & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10703,9 +10937,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 +10948,7 @@ export type ReplicationProtectedItemsCreateResponse = ReplicationProtectedItem & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10722,9 +10957,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 +10968,7 @@ export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10741,9 +10977,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 +10988,7 @@ export type ReplicationProtectedItemsApplyRecoveryPointResponse = ReplicationPro * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10760,9 +10997,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 +11008,7 @@ export type ReplicationProtectedItemsFailoverCommitResponse = ReplicationProtect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10779,9 +11017,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 +11028,7 @@ export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtec * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10798,9 +11037,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 +11048,7 @@ export type ReplicationProtectedItemsRepairReplicationResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10817,9 +11057,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 +11068,7 @@ export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedIte * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10836,9 +11077,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 +11088,7 @@ export type ReplicationProtectedItemsTestFailoverResponse = ReplicationProtected * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10855,9 +11097,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 +11108,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 +11128,7 @@ export type ReplicationProtectedItemsUnplannedFailoverResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10893,9 +11137,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 +11148,7 @@ export type ReplicationProtectedItemsUpdateMobilityServiceResponse = Replication * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10912,9 +11157,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 +11168,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 +11188,7 @@ export type ReplicationProtectedItemsBeginCreateResponse = ReplicationProtectedI * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10950,9 +11197,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 +11208,7 @@ export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedI * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10969,9 +11217,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 +11228,7 @@ export type ReplicationProtectedItemsBeginApplyRecoveryPointResponse = Replicati * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -10988,9 +11237,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 +11248,7 @@ export type ReplicationProtectedItemsBeginFailoverCommitResponse = ReplicationPr * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11007,9 +11257,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 +11268,7 @@ export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11026,9 +11277,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 +11288,7 @@ export type ReplicationProtectedItemsBeginRepairReplicationResponse = Replicatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11045,9 +11297,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 +11308,7 @@ export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11075,6 +11328,7 @@ export type ReplicationProtectedItemsBeginTestFailoverResponse = ReplicationProt * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11094,6 +11348,7 @@ export type ReplicationProtectedItemsBeginTestFailoverCleanupResponse = Replicat * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11113,6 +11368,7 @@ export type ReplicationProtectedItemsBeginUnplannedFailoverResponse = Replicatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11132,6 +11388,7 @@ export type ReplicationProtectedItemsBeginUpdateMobilityServiceResponse = Replic * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11151,6 +11408,7 @@ export type ReplicationProtectedItemsListByReplicationProtectionContainersNextRe * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11170,6 +11428,7 @@ export type ReplicationProtectedItemsListNextResponse = ReplicationProtectedItem * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11189,6 +11448,7 @@ export type RecoveryPointsListByReplicationProtectedItemsResponse = RecoveryPoin * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11208,6 +11468,7 @@ export type RecoveryPointsGetResponse = RecoveryPoint & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11227,6 +11488,7 @@ export type RecoveryPointsListByReplicationProtectedItemsNextResponse = Recovery * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11246,6 +11508,7 @@ export type TargetComputeSizesListByReplicationProtectedItemsResponse = TargetCo * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11265,6 +11528,7 @@ export type TargetComputeSizesListByReplicationProtectedItemsNextResponse = Targ * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11284,6 +11548,7 @@ export type ReplicationProtectionContainerMappingsListByReplicationProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11303,6 +11568,7 @@ export type ReplicationProtectionContainerMappingsGetResponse = ProtectionContai * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11322,6 +11588,7 @@ export type ReplicationProtectionContainerMappingsCreateResponse = ProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11341,6 +11608,7 @@ export type ReplicationProtectionContainerMappingsUpdateResponse = ProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11360,6 +11628,7 @@ export type ReplicationProtectionContainerMappingsListResponse = ProtectionConta * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11379,6 +11648,7 @@ export type ReplicationProtectionContainerMappingsBeginCreateResponse = Protecti * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11398,6 +11668,7 @@ export type ReplicationProtectionContainerMappingsBeginUpdateResponse = Protecti * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11417,6 +11688,7 @@ export type ReplicationProtectionContainerMappingsListByReplicationProtectionCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11436,6 +11708,7 @@ export type ReplicationProtectionContainerMappingsListNextResponse = ProtectionC * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11455,6 +11728,7 @@ export type ReplicationRecoveryServicesProvidersListByReplicationFabricsResponse * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11474,6 +11748,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 +11788,7 @@ export type ReplicationRecoveryServicesProvidersRefreshProviderResponse = Recove * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11512,6 +11808,7 @@ export type ReplicationRecoveryServicesProvidersListResponse = RecoveryServicesP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11519,6 +11816,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 +11848,7 @@ export type ReplicationRecoveryServicesProvidersBeginRefreshProviderResponse = R * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11550,6 +11868,7 @@ export type ReplicationRecoveryServicesProvidersListByReplicationFabricsNextResp * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11569,6 +11888,7 @@ export type ReplicationRecoveryServicesProvidersListNextResponse = RecoveryServi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11588,6 +11908,7 @@ export type ReplicationStorageClassificationsListByReplicationFabricsResponse = * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11607,6 +11928,7 @@ export type ReplicationStorageClassificationsGetResponse = StorageClassification * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11626,6 +11948,7 @@ export type ReplicationStorageClassificationsListResponse = StorageClassificatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11645,6 +11968,7 @@ export type ReplicationStorageClassificationsListByReplicationFabricsNextRespons * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11664,6 +11988,7 @@ export type ReplicationStorageClassificationsListNextResponse = StorageClassific * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11683,6 +12008,7 @@ export type ReplicationStorageClassificationMappingsListByReplicationStorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11702,6 +12028,7 @@ export type ReplicationStorageClassificationMappingsGetResponse = StorageClassif * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11721,6 +12048,7 @@ export type ReplicationStorageClassificationMappingsCreateResponse = StorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11740,6 +12068,7 @@ export type ReplicationStorageClassificationMappingsListResponse = StorageClassi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11759,6 +12088,7 @@ export type ReplicationStorageClassificationMappingsBeginCreateResponse = Storag * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11778,6 +12108,7 @@ export type ReplicationStorageClassificationMappingsListByReplicationStorageClas * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11797,6 +12128,7 @@ export type ReplicationStorageClassificationMappingsListNextResponse = StorageCl * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11816,6 +12148,7 @@ export type ReplicationvCentersListByReplicationFabricsResponse = VCenterCollect * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11835,6 +12168,7 @@ export type ReplicationvCentersGetResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11854,6 +12188,7 @@ export type ReplicationvCentersCreateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11873,6 +12208,7 @@ export type ReplicationvCentersUpdateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11892,6 +12228,7 @@ export type ReplicationvCentersListResponse = VCenterCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11911,6 +12248,7 @@ export type ReplicationvCentersBeginCreateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11930,6 +12268,7 @@ export type ReplicationvCentersBeginUpdateResponse = VCenter & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11949,6 +12288,7 @@ export type ReplicationvCentersListByReplicationFabricsNextResponse = VCenterCol * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11968,6 +12308,7 @@ export type ReplicationvCentersListNextResponse = VCenterCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -11987,6 +12328,7 @@ export type ReplicationJobsListResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12006,6 +12348,7 @@ export type ReplicationJobsGetResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12025,6 +12368,7 @@ export type ReplicationJobsCancelResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12044,6 +12388,7 @@ export type ReplicationJobsRestartResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12063,6 +12408,7 @@ export type ReplicationJobsResumeResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12082,6 +12428,7 @@ export type ReplicationJobsExportMethodResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12101,6 +12448,7 @@ export type ReplicationJobsBeginCancelResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12120,6 +12468,7 @@ export type ReplicationJobsBeginRestartResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12139,6 +12488,7 @@ export type ReplicationJobsBeginResumeResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12158,6 +12508,7 @@ export type ReplicationJobsBeginExportMethodResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12177,6 +12528,7 @@ export type ReplicationJobsListNextResponse = JobCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12196,6 +12548,7 @@ export type ReplicationPoliciesListResponse = PolicyCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12215,6 +12568,7 @@ export type ReplicationPoliciesGetResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12234,6 +12588,7 @@ export type ReplicationPoliciesCreateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12253,6 +12608,7 @@ export type ReplicationPoliciesUpdateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12272,6 +12628,7 @@ export type ReplicationPoliciesBeginCreateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12291,6 +12648,7 @@ export type ReplicationPoliciesBeginUpdateResponse = Policy & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12310,6 +12668,7 @@ export type ReplicationPoliciesListNextResponse = PolicyCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12329,6 +12688,7 @@ export type ReplicationRecoveryPlansListResponse = RecoveryPlanCollection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12348,6 +12708,7 @@ export type ReplicationRecoveryPlansGetResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12367,6 +12728,7 @@ export type ReplicationRecoveryPlansCreateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12386,6 +12748,7 @@ export type ReplicationRecoveryPlansUpdateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12405,6 +12768,7 @@ export type ReplicationRecoveryPlansFailoverCommitResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12424,6 +12788,7 @@ export type ReplicationRecoveryPlansPlannedFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12443,6 +12808,7 @@ export type ReplicationRecoveryPlansReprotectResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12462,6 +12828,7 @@ export type ReplicationRecoveryPlansTestFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12481,6 +12848,7 @@ export type ReplicationRecoveryPlansTestFailoverCleanupResponse = RecoveryPlan & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12500,6 +12868,7 @@ export type ReplicationRecoveryPlansUnplannedFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12519,6 +12888,7 @@ export type ReplicationRecoveryPlansBeginCreateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12538,6 +12908,7 @@ export type ReplicationRecoveryPlansBeginUpdateResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12557,6 +12928,7 @@ export type ReplicationRecoveryPlansBeginFailoverCommitResponse = RecoveryPlan & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12576,6 +12948,7 @@ export type ReplicationRecoveryPlansBeginPlannedFailoverResponse = RecoveryPlan * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12595,6 +12968,7 @@ export type ReplicationRecoveryPlansBeginReprotectResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12614,6 +12988,7 @@ export type ReplicationRecoveryPlansBeginTestFailoverResponse = RecoveryPlan & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12633,6 +13008,7 @@ export type ReplicationRecoveryPlansBeginTestFailoverCleanupResponse = RecoveryP * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12652,6 +13028,7 @@ export type ReplicationRecoveryPlansBeginUnplannedFailoverResponse = RecoveryPla * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12671,6 +13048,7 @@ export type ReplicationRecoveryPlansListNextResponse = RecoveryPlanCollection & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12678,6 +13056,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 +13088,7 @@ export type ReplicationVaultHealthGetResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12709,6 +13108,7 @@ export type ReplicationVaultHealthRefreshResponse = VaultHealthDetails & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -12728,9 +13128,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..5be740bb3baa 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,6 +12,133 @@ import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; +export const A2AVmDiskInputDetails: msRest.CompositeMapper = { + serializedName: "A2AVmDiskInputDetails", + type: { + name: "Composite", + className: "A2AVmDiskInputDetails", + modelProperties: { + diskUri: { + serializedName: "diskUri", + type: { + name: "String" + } + }, + recoveryAzureStorageAccountId: { + serializedName: "recoveryAzureStorageAccountId", + type: { + name: "String" + } + }, + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", + type: { + name: "String" + } + } + } + } +}; + +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 AddDisksProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "AddDisksProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "AddDisksProviderSpecificInput", + className: "AddDisksProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const A2AAddDisksInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: AddDisksProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "AddDisksProviderSpecificInput", + className: "A2AAddDisksInput", + modelProperties: { + ...AddDisksProviderSpecificInput.type.modelProperties, + vmDisks: { + serializedName: "vmDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmDiskInputDetails" + } + } + } + }, + vmManagedDisks: { + serializedName: "vmManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmManagedDiskInputDetails" + } + } + } + } + } + } +}; + export const ApplyRecoveryPointProviderSpecificInput: msRest.CompositeMapper = { serializedName: "ApplyRecoveryPointProviderSpecificInput", type: { @@ -131,74 +256,6 @@ export const A2AContainerMappingInput: msRest.CompositeMapper = { } }; -export const A2AVmDiskInputDetails: msRest.CompositeMapper = { - serializedName: "A2AVmDiskInputDetails", - type: { - name: "Composite", - className: "A2AVmDiskInputDetails", - modelProperties: { - diskUri: { - serializedName: "diskUri", - type: { - name: "String" - } - }, - recoveryAzureStorageAccountId: { - serializedName: "recoveryAzureStorageAccountId", - type: { - name: "String" - } - }, - primaryStagingAzureStorageAccountId: { - serializedName: "primaryStagingAzureStorageAccountId", - type: { - name: "String" - } - } - } - } -}; - -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: { @@ -370,6 +427,24 @@ export const A2AEnableProtectionInput: msRest.CompositeMapper = { name: "Composite", className: "DiskEncryptionInfo" } + }, + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", + type: { + name: "String" + } + }, + recoveryAzureNetworkId: { + serializedName: "recoveryAzureNetworkId", + type: { + name: "String" + } + }, + recoverySubnetName: { + serializedName: "recoverySubnetName", + type: { + name: "String" + } } } } @@ -702,6 +777,23 @@ export const A2AProtectedDiskDetails: msRest.CompositeMapper = { name: "Number" } }, + diskState: { + serializedName: "diskState", + type: { + name: "String" + } + }, + allowedDiskLevelOperation: { + serializedName: "allowedDiskLevelOperation", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, isDiskEncrypted: { serializedName: "isDiskEncrypted", type: { @@ -838,6 +930,23 @@ export const A2AProtectedManagedDiskDetails: msRest.CompositeMapper = { name: "Number" } }, + diskState: { + serializedName: "diskState", + type: { + name: "String" + } + }, + allowedDiskLevelOperation: { + serializedName: "allowedDiskLevelOperation", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, isDiskEncrypted: { serializedName: "isDiskEncrypted", type: { @@ -973,33 +1082,117 @@ export const A2ARecoveryPointDetails: msRest.CompositeMapper = { type: { name: "String" } + }, + disks: { + serializedName: "disks", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } }; -export const VMNicDetails: msRest.CompositeMapper = { - serializedName: "VMNicDetails", +export const RemoveDisksProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "RemoveDisksProviderSpecificInput", type: { name: "Composite", - className: "VMNicDetails", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RemoveDisksProviderSpecificInput", + className: "RemoveDisksProviderSpecificInput", modelProperties: { - nicId: { - serializedName: "nicId", - type: { - name: "String" - } - }, - replicaNicId: { - serializedName: "replicaNicId", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } - }, - sourceNicArmId: { - serializedName: "sourceNicArmId", - type: { - name: "String" + } + } + } +}; + +export const A2ARemoveDisksInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: RemoveDisksProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "RemoveDisksProviderSpecificInput", + className: "A2ARemoveDisksInput", + modelProperties: { + ...RemoveDisksProviderSpecificInput.type.modelProperties, + vmDisksUris: { + serializedName: "vmDisksUris", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + vmManagedDisksIds: { + serializedName: "vmManagedDisksIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const A2AUnprotectedDiskDetails: msRest.CompositeMapper = { + serializedName: "A2AUnprotectedDiskDetails", + type: { + name: "Composite", + className: "A2AUnprotectedDiskDetails", + modelProperties: { + diskLunId: { + serializedName: "diskLunId", + type: { + name: "Number" + } + } + } + } +}; + +export const VMNicDetails: msRest.CompositeMapper = { + serializedName: "VMNicDetails", + type: { + name: "Composite", + className: "VMNicDetails", + modelProperties: { + nicId: { + serializedName: "nicId", + type: { + name: "String" + } + }, + replicaNicId: { + serializedName: "replicaNicId", + type: { + name: "String" + } + }, + sourceNicArmId: { + serializedName: "sourceNicArmId", + type: { + name: "String" } }, vMSubnetName: { @@ -1066,46 +1259,6 @@ export const VMNicDetails: msRest.CompositeMapper = { } }; -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 InputEndpoint: msRest.CompositeMapper = { serializedName: "InputEndpoint", type: { @@ -1157,18 +1310,6 @@ export const AzureToAzureVmSyncedConfigDetails: msRest.CompositeMapper = { } } }, - roleAssignments: { - serializedName: "roleAssignments", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RoleAssignment" - } - } - } - }, inputEndpoints: { serializedName: "inputEndpoints", type: { @@ -1258,6 +1399,18 @@ export const A2AReplicationDetails: msRest.CompositeMapper = { } } }, + unprotectedDisks: { + serializedName: "unprotectedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AUnprotectedDiskDetails" + } + } + } + }, protectedManagedDisks: { serializedName: "protectedManagedDisks", type: { @@ -1420,6 +1573,12 @@ export const A2AReplicationDetails: msRest.CompositeMapper = { type: { name: "DateTime" } + }, + recoveryAvailabilityZone: { + serializedName: "recoveryAvailabilityZone", + type: { + name: "String" + } } } } @@ -1751,6 +1910,136 @@ export const A2AUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { } }; +export const AddDisksInputProperties: msRest.CompositeMapper = { + serializedName: "AddDisksInputProperties", + type: { + name: "Composite", + className: "AddDisksInputProperties", + modelProperties: { + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "AddDisksProviderSpecificInput" + } + } + } + } +}; + +export const AddDisksInput: msRest.CompositeMapper = { + serializedName: "AddDisksInput", + type: { + name: "Composite", + className: "AddDisksInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "AddDisksInputProperties" + } + } + } + } +}; + +export const IdentityProviderInput: msRest.CompositeMapper = { + serializedName: "IdentityProviderInput", + type: { + name: "Composite", + className: "IdentityProviderInput", + modelProperties: { + tenantId: { + required: true, + serializedName: "tenantId", + type: { + name: "String" + } + }, + applicationId: { + required: true, + serializedName: "applicationId", + type: { + name: "String" + } + }, + objectId: { + required: true, + serializedName: "objectId", + type: { + name: "String" + } + }, + audience: { + required: true, + serializedName: "audience", + type: { + name: "String" + } + }, + aadAuthority: { + required: true, + serializedName: "aadAuthority", + type: { + name: "String" + } + } + } + } +}; + +export const AddRecoveryServicesProviderInputProperties: msRest.CompositeMapper = { + serializedName: "AddRecoveryServicesProviderInputProperties", + type: { + name: "Composite", + className: "AddRecoveryServicesProviderInputProperties", + modelProperties: { + machineName: { + required: true, + serializedName: "machineName", + type: { + name: "String" + } + }, + authenticationIdentityInput: { + required: true, + serializedName: "authenticationIdentityInput", + type: { + name: "Composite", + className: "IdentityProviderInput" + } + }, + resourceAccessIdentityInput: { + required: true, + serializedName: "resourceAccessIdentityInput", + type: { + name: "Composite", + className: "IdentityProviderInput" + } + } + } + } +}; + +export const AddRecoveryServicesProviderInput: msRest.CompositeMapper = { + serializedName: "AddRecoveryServicesProviderInput", + type: { + name: "Composite", + className: "AddRecoveryServicesProviderInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "AddRecoveryServicesProviderInputProperties" + } + } + } + } +}; + export const AddVCenterRequestProperties: msRest.CompositeMapper = { serializedName: "AddVCenterRequestProperties", type: { @@ -3131,6 +3420,34 @@ export const CreateRecoveryPlanInput: msRest.CompositeMapper = { } }; +export const CurrentJobDetails: msRest.CompositeMapper = { + serializedName: "CurrentJobDetails", + type: { + name: "Composite", + className: "CurrentJobDetails", + modelProperties: { + jobName: { + serializedName: "jobName", + type: { + name: "String" + } + }, + jobId: { + serializedName: "jobId", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + } + } + } +}; + export const CurrentScenarioDetails: msRest.CompositeMapper = { serializedName: "CurrentScenarioDetails", type: { @@ -3396,11 +3713,76 @@ export const Display: msRest.CompositeMapper = { } }; -export const EnableProtectionInputProperties: msRest.CompositeMapper = { - serializedName: "EnableProtectionInputProperties", +export const EnableMigrationProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "EnableMigrationProviderSpecificInput", type: { name: "Composite", - className: "EnableProtectionInputProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "EnableMigrationProviderSpecificInput", + className: "EnableMigrationProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const EnableMigrationInputProperties: msRest.CompositeMapper = { + serializedName: "EnableMigrationInputProperties", + type: { + name: "Composite", + className: "EnableMigrationInputProperties", + modelProperties: { + policyId: { + required: true, + serializedName: "policyId", + type: { + name: "String" + } + }, + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "EnableMigrationProviderSpecificInput" + } + } + } + } +}; + +export const EnableMigrationInput: msRest.CompositeMapper = { + serializedName: "EnableMigrationInput", + type: { + name: "Composite", + className: "EnableMigrationInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "EnableMigrationInputProperties" + } + } + } + } +}; + +export const EnableProtectionInputProperties: msRest.CompositeMapper = { + serializedName: "EnableProtectionInputProperties", + type: { + name: "Composite", + className: "EnableProtectionInputProperties", modelProperties: { policyId: { serializedName: "policyId", @@ -3663,6 +4045,18 @@ export const HealthError: msRest.CompositeMapper = { type: { name: "String" } + }, + errorId: { + serializedName: "errorId", + type: { + name: "String" + } + }, + customerResolvability: { + serializedName: "customerResolvability", + type: { + name: "String" + } } } } @@ -5661,18 +6055,12 @@ export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { } }; -export const IdentityInformation: msRest.CompositeMapper = { - serializedName: "IdentityInformation", +export const IdentityProviderDetails: msRest.CompositeMapper = { + serializedName: "IdentityProviderDetails", type: { name: "Composite", - className: "IdentityInformation", + className: "IdentityProviderDetails", modelProperties: { - identityProviderType: { - serializedName: "identityProviderType", - type: { - name: "String" - } - }, tenantId: { serializedName: "tenantId", type: { @@ -5702,12 +6090,6 @@ export const IdentityInformation: msRest.CompositeMapper = { type: { name: "String" } - }, - certificateThumbprint: { - serializedName: "certificateThumbprint", - type: { - name: "String" - } } } } @@ -5824,6 +6206,34 @@ export const InMageAzureV2ApplyRecoveryPointInput: msRest.CompositeMapper = { } }; +export const InMageAzureV2DiskInputDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2DiskInputDetails", + type: { + name: "Composite", + className: "InMageAzureV2DiskInputDetails", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + } + } + } +}; + export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { serializedName: "InMageAzureV2", type: { @@ -5846,7 +6256,6 @@ export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { } }, storageAccountId: { - required: true, serializedName: "storageAccountId", type: { name: "String" @@ -5876,7 +6285,8 @@ export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "InMageAzureV2DiskInputDetails" } } } @@ -5923,8 +6333,8 @@ export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + diskType: { + serializedName: "diskType", type: { name: "String" } @@ -6013,6 +6423,34 @@ export const InMageAzureV2FailoverProviderInput: msRest.CompositeMapper = { } }; +export const InMageAzureV2ManagedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2ManagedDiskDetails", + type: { + name: "Composite", + className: "InMageAzureV2ManagedDiskDetails", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + seedManagedDiskId: { + serializedName: "seedManagedDiskId", + type: { + name: "String" + } + }, + replicaDiskType: { + serializedName: "replicaDiskType", + type: { + name: "String" + } + } + } + } +}; + export const InMageAzureV2PolicyDetails: msRest.CompositeMapper = { serializedName: "InMageAzureV2", type: { @@ -6550,6 +6988,18 @@ export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { type: { name: "String" } + }, + protectedManagedDisks: { + serializedName: "protectedManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageAzureV2ManagedDiskDetails" + } + } + } } } } @@ -7991,26 +8441,20 @@ export const MasterTargetServer: msRest.CompositeMapper = { } }; -export const MobilityServiceUpdate: msRest.CompositeMapper = { - serializedName: "MobilityServiceUpdate", +export const MigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "MigrateProviderSpecificInput", type: { name: "Composite", - className: "MobilityServiceUpdate", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrateProviderSpecificInput", + className: "MigrateProviderSpecificInput", modelProperties: { - version: { - serializedName: "version", - type: { - name: "String" - } - }, - rebootStatus: { - serializedName: "rebootStatus", - type: { - name: "String" - } - }, - osType: { - serializedName: "osType", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -8019,369 +8463,672 @@ export const MobilityServiceUpdate: msRest.CompositeMapper = { } }; -export const Subnet: msRest.CompositeMapper = { - serializedName: "Subnet", +export const MigrateInputProperties: msRest.CompositeMapper = { + serializedName: "MigrateInputProperties", type: { name: "Composite", - className: "Subnet", + className: "MigrateInputProperties", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - addressList: { - serializedName: "addressList", + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "MigrateProviderSpecificInput" } } } } }; -export const NetworkProperties: msRest.CompositeMapper = { - serializedName: "NetworkProperties", +export const MigrateInput: msRest.CompositeMapper = { + serializedName: "MigrateInput", type: { name: "Composite", - className: "NetworkProperties", + className: "MigrateInput", 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", + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "MigrateInputProperties" } } } } }; -export const Network: msRest.CompositeMapper = { - serializedName: "Network", +export const MigrationProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "MigrationProviderSpecificSettings", type: { name: "Composite", - className: "Network", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrationProviderSpecificSettings", + className: "MigrationProviderSpecificSettings", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "NetworkProperties" + name: "String" } } } } }; -export const NetworkMappingProperties: msRest.CompositeMapper = { - serializedName: "NetworkMappingProperties", +export const MigrationItemProperties: msRest.CompositeMapper = { + serializedName: "MigrationItemProperties", type: { name: "Composite", - className: "NetworkMappingProperties", + className: "MigrationItemProperties", modelProperties: { - state: { - serializedName: "state", + machineName: { + readOnly: true, + serializedName: "machineName", type: { name: "String" } }, - primaryNetworkFriendlyName: { - serializedName: "primaryNetworkFriendlyName", + policyId: { + readOnly: true, + serializedName: "policyId", type: { name: "String" } }, - primaryNetworkId: { - serializedName: "primaryNetworkId", + policyFriendlyName: { + readOnly: true, + serializedName: "policyFriendlyName", type: { name: "String" } }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", + recoveryServicesProviderId: { + readOnly: true, + serializedName: "recoveryServicesProviderId", type: { name: "String" } }, - recoveryNetworkFriendlyName: { - serializedName: "recoveryNetworkFriendlyName", + migrationState: { + readOnly: true, + serializedName: "migrationState", type: { name: "String" } }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", + migrationStateDescription: { + readOnly: true, + serializedName: "migrationStateDescription", type: { name: "String" } }, - recoveryFabricArmId: { - serializedName: "recoveryFabricArmId", + testMigrateState: { + readOnly: true, + serializedName: "testMigrateState", type: { name: "String" } }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + testMigrateStateDescription: { + readOnly: true, + serializedName: "testMigrateStateDescription", type: { name: "String" } }, - fabricSpecificSettings: { - serializedName: "fabricSpecificSettings", + 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: "NetworkMappingFabricSpecificSettings" + className: "CurrentJobDetails" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "MigrationProviderSpecificSettings" } } } } }; -export const NetworkMapping: msRest.CompositeMapper = { - serializedName: "NetworkMapping", +export const MigrationItem: msRest.CompositeMapper = { + serializedName: "MigrationItem", type: { name: "Composite", - className: "NetworkMapping", + className: "MigrationItem", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "NetworkMappingProperties" + className: "MigrationItemProperties" } } } } }; -export const OperationsDiscovery: msRest.CompositeMapper = { - serializedName: "OperationsDiscovery", +export const MigrationItemsQueryParameter: msRest.CompositeMapper = { + serializedName: "MigrationItemsQueryParameter", type: { name: "Composite", - className: "OperationsDiscovery", + className: "MigrationItemsQueryParameter", modelProperties: { - name: { - serializedName: "name", + sourceFabricName: { + serializedName: "sourceFabricName", type: { name: "String" } }, - display: { - serializedName: "display", + instanceType: { + serializedName: "instanceType", type: { - name: "Composite", - className: "Display" + name: "String" + } + } + } + } +}; + +export const MigrationRecoveryPointProperties: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPointProperties", + type: { + name: "Composite", + className: "MigrationRecoveryPointProperties", + modelProperties: { + recoveryPointTime: { + readOnly: true, + serializedName: "recoveryPointTime", + type: { + name: "DateTime" } }, - origin: { - serializedName: "origin", + 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: "Object" + name: "Composite", + className: "MigrationRecoveryPointProperties" } } } } }; -export const PlannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInputProperties", +export const MobilityServiceUpdate: msRest.CompositeMapper = { + serializedName: "MobilityServiceUpdate", type: { name: "Composite", - className: "PlannedFailoverInputProperties", + className: "MobilityServiceUpdate", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", + version: { + serializedName: "version", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + rebootStatus: { + serializedName: "rebootStatus", type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" } } } } }; -export const PlannedFailoverInput: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInput", +export const Subnet: msRest.CompositeMapper = { + serializedName: "Subnet", type: { name: "Composite", - className: "PlannedFailoverInput", + className: "Subnet", modelProperties: { - properties: { - serializedName: "properties", + name: { + serializedName: "name", type: { - name: "Composite", - className: "PlannedFailoverInputProperties" + name: "String" + } + }, + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + addressList: { + serializedName: "addressList", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const PolicyProperties: msRest.CompositeMapper = { - serializedName: "PolicyProperties", +export const NetworkProperties: msRest.CompositeMapper = { + serializedName: "NetworkProperties", type: { name: "Composite", - className: "PolicyProperties", + 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" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + networkType: { + serializedName: "networkType", type: { - name: "Composite", - className: "PolicyProviderSpecificDetails" + name: "String" } } } } }; -export const Policy: msRest.CompositeMapper = { - serializedName: "Policy", +export const Network: msRest.CompositeMapper = { + serializedName: "Network", type: { name: "Composite", - className: "Policy", + className: "Network", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "PolicyProperties" + className: "NetworkProperties" } } } } }; -export const ProcessServer: msRest.CompositeMapper = { - serializedName: "ProcessServer", +export const NetworkMappingProperties: msRest.CompositeMapper = { + serializedName: "NetworkMappingProperties", type: { name: "Composite", - className: "ProcessServer", + className: "NetworkMappingProperties", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + state: { + serializedName: "state", type: { name: "String" } }, - id: { - serializedName: "id", + primaryNetworkFriendlyName: { + serializedName: "primaryNetworkFriendlyName", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + primaryNetworkId: { + serializedName: "primaryNetworkId", type: { name: "String" } }, - osType: { - serializedName: "osType", + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + recoveryNetworkFriendlyName: { + serializedName: "recoveryNetworkFriendlyName", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", - type: { - name: "DateTime" - } - }, - versionStatus: { - serializedName: "versionStatus", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", type: { name: "String" } }, - mobilityServiceUpdates: { - serializedName: "mobilityServiceUpdates", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MobilityServiceUpdate" - } - } - } - }, - hostId: { - serializedName: "hostId", + recoveryFabricArmId: { + serializedName: "recoveryFabricArmId", type: { name: "String" } }, - machineCount: { - serializedName: "machineCount", + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", type: { name: "String" } }, - replicationPairCount: { + 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" @@ -9665,11 +10412,18 @@ export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { name: "String" } }, - identityDetails: { - serializedName: "identityDetails", + authenticationIdentityDetails: { + serializedName: "authenticationIdentityDetails", + type: { + name: "Composite", + className: "IdentityProviderDetails" + } + }, + resourceAccessIdentityDetails: { + serializedName: "resourceAccessIdentityDetails", type: { name: "Composite", - className: "IdentityInformation" + className: "IdentityProviderDetails" } }, providerVersionDetails: { @@ -9701,33 +10455,67 @@ export const RecoveryServicesProvider: msRest.CompositeMapper = { } }; -export const ReplicationProviderContainerUnmappingInput: msRest.CompositeMapper = { - serializedName: "ReplicationProviderContainerUnmappingInput", +export const RemoveDisksInputProperties: msRest.CompositeMapper = { + serializedName: "RemoveDisksInputProperties", type: { name: "Composite", - className: "ReplicationProviderContainerUnmappingInput", + className: "RemoveDisksInputProperties", modelProperties: { - instanceType: { - serializedName: "instanceType", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { - name: "String" + name: "Composite", + className: "RemoveDisksProviderSpecificInput" } } } } }; -export const RemoveProtectionContainerMappingInputProperties: msRest.CompositeMapper = { - serializedName: "RemoveProtectionContainerMappingInputProperties", +export const RemoveDisksInput: msRest.CompositeMapper = { + serializedName: "RemoveDisksInput", type: { name: "Composite", - className: "RemoveProtectionContainerMappingInputProperties", + className: "RemoveDisksInput", modelProperties: { - providerSpecificInput: { - serializedName: "providerSpecificInput", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ReplicationProviderContainerUnmappingInput" + 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" } } } @@ -10000,6 +10788,61 @@ export const ReplicationProtectedItem: msRest.CompositeMapper = { } }; +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: { @@ -10101,6 +10944,46 @@ export const ReverseReplicationInput: msRest.CompositeMapper = { } }; +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: { @@ -10274,6 +11157,109 @@ export const StorageClassificationMappingInput: msRest.CompositeMapper = { } }; +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: "SupportedOSProperties" + } + } + } + } +}; + export const SwitchProtectionInputProperties: msRest.CompositeMapper = { serializedName: "SwitchProtectionInputProperties", type: { @@ -10579,60 +11565,54 @@ export const TestFailoverJobDetails: msRest.CompositeMapper = { } }; -export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "UnplannedFailoverInputProperties", +export const TestMigrateCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInputProperties", type: { name: "Composite", - className: "UnplannedFailoverInputProperties", + className: "TestMigrateCleanupInputProperties", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", - type: { - name: "String" - } - }, - sourceSiteOperations: { - serializedName: "sourceSiteOperations", + comments: { + serializedName: "comments", type: { name: "String" } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", - type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" - } } } } }; -export const UnplannedFailoverInput: msRest.CompositeMapper = { - serializedName: "UnplannedFailoverInput", +export const TestMigrateCleanupInput: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInput", type: { name: "Composite", - className: "UnplannedFailoverInput", + className: "TestMigrateCleanupInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "UnplannedFailoverInputProperties" + className: "TestMigrateCleanupInputProperties" } } } } }; -export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { - serializedName: "UpdateMobilityServiceRequestProperties", +export const TestMigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "TestMigrateProviderSpecificInput", type: { name: "Composite", - className: "UpdateMobilityServiceRequestProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "TestMigrateProviderSpecificInput", + className: "TestMigrateProviderSpecificInput", modelProperties: { - runAsAccountId: { - serializedName: "runAsAccountId", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -10641,39 +11621,194 @@ export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { } }; -export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { - serializedName: "UpdateMobilityServiceRequest", +export const TestMigrateInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateInputProperties", type: { name: "Composite", - className: "UpdateMobilityServiceRequest", + className: "TestMigrateInputProperties", modelProperties: { - properties: { - serializedName: "properties", + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "UpdateMobilityServiceRequestProperties" + className: "TestMigrateProviderSpecificInput" } } } } }; -export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateNetworkMappingInputProperties", +export const TestMigrateInput: msRest.CompositeMapper = { + serializedName: "TestMigrateInput", type: { name: "Composite", - className: "UpdateNetworkMappingInputProperties", + className: "TestMigrateInput", modelProperties: { - recoveryFabricName: { - serializedName: "recoveryFabricName", - type: { - name: "String" - } - }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "TestMigrateInputProperties" + } + } + } + } +}; + +export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInputProperties", + type: { + name: "Composite", + className: "UnplannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + serializedName: "failoverDirection", + type: { + name: "String" + } + }, + sourceSiteOperations: { + serializedName: "sourceSiteOperations", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "ProviderSpecificFailoverInput" + } + } + } + } +}; + +export const UnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInput", + type: { + name: "Composite", + className: "UnplannedFailoverInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "UnplannedFailoverInputProperties" + } + } + } + } +}; + +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" + } + } + } + } +}; + +export const UpdateMigrationItemInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemInputProperties", + type: { + name: "Composite", + className: "UpdateMigrationItemInputProperties", + modelProperties: { + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "UpdateMigrationItemProviderSpecificInput" + } + } + } + } +}; + +export const UpdateMigrationItemInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemInput", + type: { + name: "Composite", + className: "UpdateMigrationItemInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "UpdateMigrationItemInputProperties" + } + } + } + } +}; + +export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequestProperties", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequestProperties", + modelProperties: { + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + } + } + } +}; + +export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequest", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequest", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequestProperties" + } + } + } + } +}; + +export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateNetworkMappingInputProperties", + type: { + name: "Composite", + className: "UpdateNetworkMappingInputProperties", + modelProperties: { + recoveryFabricName: { + serializedName: "recoveryFabricName", + type: { + name: "String" + } + }, + recoveryNetworkId: { + serializedName: "recoveryNetworkId", + type: { + name: "String" } }, fabricSpecificDetails: { @@ -11057,6 +12192,75 @@ export const VaultHealthDetails: msRest.CompositeMapper = { } }; +export const VaultSettingProperties: msRest.CompositeMapper = { + serializedName: "VaultSettingProperties", + type: { + name: "Composite", + className: "VaultSettingProperties", + modelProperties: { + migrationSolutionId: { + serializedName: "migrationSolutionId", + type: { + name: "String" + } + } + } + } +}; + +export const VaultSetting: msRest.CompositeMapper = { + serializedName: "VaultSetting", + type: { + name: "Composite", + className: "VaultSetting", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "VaultSettingProperties" + } + } + } + } +}; + +export const VaultSettingCreationInputProperties: msRest.CompositeMapper = { + serializedName: "VaultSettingCreationInputProperties", + type: { + name: "Composite", + className: "VaultSettingCreationInputProperties", + modelProperties: { + migrationSolutionId: { + required: true, + serializedName: "migrationSolutionId", + type: { + name: "String" + } + } + } + } +}; + +export const VaultSettingCreationInput: msRest.CompositeMapper = { + serializedName: "VaultSettingCreationInput", + type: { + name: "Composite", + className: "VaultSettingCreationInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "VaultSettingCreationInputProperties" + } + } + } + } +}; + export const VCenterProperties: msRest.CompositeMapper = { serializedName: "VCenterProperties", type: { @@ -11301,70 +12505,616 @@ export const VmmVirtualMachineDetails: msRest.CompositeMapper = { name: "String" } }, - osDetails: { - serializedName: "osDetails", + osDetails: { + serializedName: "osDetails", + type: { + name: "Composite", + className: "OSDetails" + } + }, + diskDetails: { + serializedName: "diskDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskDetails" + } + } + } + }, + hasPhysicalDisk: { + serializedName: "hasPhysicalDisk", + type: { + name: "String" + } + }, + hasFibreChannelAdapter: { + serializedName: "hasFibreChannelAdapter", + type: { + name: "String" + } + }, + hasSharedVhd: { + serializedName: "hasSharedVhd", + type: { + name: "String" + } + } + } + } +}; + +export const VmNicUpdatesTaskDetails: msRest.CompositeMapper = { + serializedName: "VmNicUpdatesTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "VmNicUpdatesTaskDetails", + modelProperties: { + ...TaskTypeDetails.type.modelProperties, + vmId: { + serializedName: "vmId", + type: { + name: "String" + } + }, + nicId: { + serializedName: "nicId", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtContainerCreationInput: msRest.CompositeMapper = { + serializedName: "6c7da455-506f-43ff-a16a-8eb101aebb70", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerCreationInput", + className: "VMwareCbtContainerCreationInput", + modelProperties: { + ...ReplicationProviderSpecificContainerCreationInput.type.modelProperties + } + } +}; + +export const VMwareCbtContainerMappingInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerMappingInput", + className: "VMwareCbtContainerMappingInput", + modelProperties: { + ...ReplicationProviderSpecificContainerMappingInput.type.modelProperties, + keyVaultId: { + required: true, + serializedName: "keyVaultId", + type: { + name: "String" + } + }, + keyVaultUri: { + required: true, + serializedName: "keyVaultUri", + type: { + name: "String" + } + }, + storageAccountId: { + required: true, + serializedName: "storageAccountId", + type: { + name: "String" + } + }, + storageAccountSasSecretName: { + required: true, + serializedName: "storageAccountSasSecretName", + type: { + name: "String" + } + }, + serviceBusConnectionStringSecretName: { + required: true, + serializedName: "serviceBusConnectionStringSecretName", + type: { + name: "String" + } + }, + targetLocation: { + required: true, + serializedName: "targetLocation", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtDiskInput: msRest.CompositeMapper = { + serializedName: "VMwareCbtDiskInput", + type: { + name: "Composite", + className: "VMwareCbtDiskInput", + modelProperties: { + diskId: { + required: true, + serializedName: "diskId", + type: { + name: "String" + } + }, + isOSDisk: { + required: true, + serializedName: "isOSDisk", + type: { + name: "String" + } + }, + logStorageAccountId: { + required: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + logStorageAccountSasSecretName: { + required: true, + serializedName: "logStorageAccountSasSecretName", + type: { + name: "String" + } + }, + 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" + } + }, + disksToInclude: { + required: true, + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtDiskInput" + } + } + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + }, + dataMoverRunAsAccountId: { + required: true, + serializedName: "dataMoverRunAsAccountId", + type: { + name: "String" + } + }, + snapshotRunAsAccountId: { + required: true, + serializedName: "snapshotRunAsAccountId", + type: { + name: "String" + } + }, + targetVmName: { + serializedName: "targetVmName", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + targetResourceGroupId: { + required: true, + serializedName: "targetResourceGroupId", + type: { + name: "String" + } + }, + targetNetworkId: { + required: true, + serializedName: "targetNetworkId", + type: { + name: "String" + } + }, + targetSubnetName: { + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtMigrateInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: MigrateProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "MigrateProviderSpecificInput", + className: "VMwareCbtMigrateInput", + modelProperties: { + ...MigrateProviderSpecificInput.type.modelProperties, + performShutdown: { + required: true, + serializedName: "performShutdown", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbtProtectedDiskDetails", + type: { + name: "Composite", + className: "VMwareCbtProtectedDiskDetails", + modelProperties: { + diskId: { + readOnly: true, + serializedName: "diskId", + type: { + name: "String" + } + }, + diskName: { + readOnly: true, + serializedName: "diskName", + type: { + name: "String" + } + }, + diskPath: { + readOnly: true, + serializedName: "diskPath", + 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" + } + }, + logStorageAccountSasSecretName: { + readOnly: true, + serializedName: "logStorageAccountSasSecretName", + type: { + name: "String" + } + }, + seedManagedDiskId: { + readOnly: true, + serializedName: "seedManagedDiskId", + type: { + name: "String" + } + }, + targetManagedDiskId: { + readOnly: true, + serializedName: "targetManagedDiskId", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtNicDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbtNicDetails", + type: { + name: "Composite", + className: "VMwareCbtNicDetails", + modelProperties: { + nicId: { + readOnly: true, + serializedName: "nicId", + type: { + name: "String" + } + }, + isPrimaryNic: { + serializedName: "isPrimaryNic", + 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" + } + }, + targetIPAddress: { + serializedName: "targetIPAddress", + type: { + name: "String" + } + }, + targetIPAddressType: { + serializedName: "targetIPAddressType", + type: { + name: "String" + } + }, + targetSubnetName: { + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + isSelectedForMigration: { + serializedName: "isSelectedForMigration", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtMigrationDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: MigrationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "MigrationProviderSpecificSettings", + className: "VMwareCbtMigrationDetails", + modelProperties: { + ...MigrationProviderSpecificSettings.type.modelProperties, + vmwareMachineId: { + readOnly: true, + serializedName: "vmwareMachineId", + type: { + name: "String" + } + }, + osType: { + readOnly: true, + serializedName: "osType", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + }, + dataMoverRunAsAccountId: { + readOnly: true, + serializedName: "dataMoverRunAsAccountId", + type: { + name: "String" + } + }, + snapshotRunAsAccountId: { + readOnly: true, + serializedName: "snapshotRunAsAccountId", + type: { + name: "String" + } + }, + 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" + } + }, + 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 +13132,8 @@ export const VMwareCbtPolicyCreationInput: msRest.CompositeMapper = { className: "VMwareCbtPolicyCreationInput", modelProperties: { ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { name: "Number" } @@ -11413,14 +13163,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 +13185,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 +13567,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 +13594,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 +13935,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 +14327,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 +14367,13 @@ export const discriminators = { 'PolicyProviderSpecificDetails.A2A' : A2APolicyDetails, 'ProtectionContainerMappingProviderSpecificDetails.A2A' : A2AProtectionContainerMappingDetails, 'ProviderSpecificRecoveryPointDetails.A2A' : A2ARecoveryPointDetails, + 'RemoveDisksProviderSpecificInput.A2A' : A2ARemoveDisksInput, 'ReplicationProviderSpecificSettings.A2A' : A2AReplicationDetails, 'ReverseReplicationProviderSpecificInput.A2A' : A2AReprotectInput, 'SwitchProtectionProviderSpecificInput.A2A' : A2ASwitchProtectionInput, 'ReplicationProviderSpecificUpdateContainerMappingInput.A2A' : A2AUpdateContainerMappingInput, 'UpdateReplicationProtectedItemProviderInput.A2A' : A2AUpdateReplicationProtectedItemInput, + 'AddDisksProviderSpecificInput' : AddDisksProviderSpecificInput, 'ApplyRecoveryPointProviderSpecificInput' : ApplyRecoveryPointProviderSpecificInput, 'JobDetails.AsrJobDetails' : AsrJobDetails, 'TaskTypeDetails' : TaskTypeDetails, @@ -12406,6 +14392,7 @@ export const discriminators = { 'ReplicationProviderSpecificContainerMappingInput' : ReplicationProviderSpecificContainerMappingInput, 'RecoveryPlanActionDetails' : RecoveryPlanActionDetails, 'DisableProtectionProviderSpecificInput' : DisableProtectionProviderSpecificInput, + 'EnableMigrationProviderSpecificInput' : EnableMigrationProviderSpecificInput, 'EnableProtectionProviderSpecificInput' : EnableProtectionProviderSpecificInput, 'EventProviderSpecificDetails' : EventProviderSpecificDetails, 'EventSpecificDetails' : EventSpecificDetails, @@ -12461,6 +14448,8 @@ export const discriminators = { 'EventSpecificDetails.JobStatus' : JobStatusEventDetails, 'TaskTypeDetails.JobTaskDetails' : JobTaskDetails, 'TaskTypeDetails.ManualActionTaskDetails' : ManualActionTaskDetails, + 'MigrateProviderSpecificInput' : MigrateProviderSpecificInput, + 'MigrationProviderSpecificSettings' : MigrationProviderSpecificSettings, 'NetworkMappingFabricSpecificSettings' : NetworkMappingFabricSpecificSettings, 'ProviderSpecificFailoverInput' : ProviderSpecificFailoverInput, 'PolicyProviderSpecificDetails' : PolicyProviderSpecificDetails, @@ -12478,6 +14467,7 @@ export const discriminators = { 'RecoveryPlanProviderSpecificFailoverInput' : RecoveryPlanProviderSpecificFailoverInput, 'RecoveryPlanActionDetails.ScriptActionDetails' : RecoveryPlanScriptActionDetails, 'GroupTaskDetails.RecoveryPlanShutdownGroupTaskDetails' : RecoveryPlanShutdownGroupTaskDetails, + 'RemoveDisksProviderSpecificInput' : RemoveDisksProviderSpecificInput, 'ConfigurationSettings.ReplicationGroupDetails' : ReplicationGroupDetails, 'ReplicationProviderSpecificSettings' : ReplicationProviderSpecificSettings, 'ReplicationProviderSpecificUpdateContainerMappingInput' : ReplicationProviderSpecificUpdateContainerMappingInput, @@ -12487,6 +14477,8 @@ export const discriminators = { 'SwitchProtectionProviderSpecificInput' : SwitchProtectionProviderSpecificInput, 'JobDetails.SwitchProtectionJobDetails' : SwitchProtectionJobDetails, 'JobDetails.TestFailoverJobDetails' : TestFailoverJobDetails, + 'TestMigrateProviderSpecificInput' : TestMigrateProviderSpecificInput, + 'UpdateMigrationItemProviderSpecificInput' : UpdateMigrationItemProviderSpecificInput, 'UpdateReplicationProtectedItemProviderInput' : UpdateReplicationProtectedItemProviderInput, 'TaskTypeDetails.VirtualMachineTaskDetails' : VirtualMachineTaskDetails, 'FabricSpecificDetails.VMM' : VmmDetails, @@ -12498,10 +14490,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..5ce062b876c9 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/migrationRecoveryPointsMappers.ts @@ -0,0 +1,184 @@ +/* + * 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, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + 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, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + RcmAzureMigrationPolicyDetails, + RecoveryPlan, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + 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..0b95efea4a5a 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: { diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts index e30a369bf270..5b9e71a5472e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/recoveryPointsMappers.ts @@ -1,169 +1,184 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointCollection, + RecoveryPointProperties, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..e8f0b7006074 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationAlertSettingsMappers.ts @@ -1,171 +1,186 @@ /* * 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, Alert, - Resource, - BaseResource, + AlertCollection, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, CloudError, + ConfigurationSettings, ConfigureAlertRequest, ConfigureAlertRequestProperties, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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/replicationEventsMappers.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts index 968fb31ae230..af8515bea0d5 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationEventsMappers.ts @@ -1,169 +1,184 @@ /* * 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, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..0c5c2441659e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationFabricsMappers.ts @@ -1,178 +1,193 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, AzureFabricCreationInput, AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InconsistentVmDetails, + InitialReplicationDetails, + InlineWorkflowTaskDetails, + InMageAgentDetails, InMageAzureV2EventDetails, + InMageAzureV2ManagedDiskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageBasePolicyDetails, + InMageDiskDetails, + InMagePolicyDetails, + InMageProtectedDiskDetails, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RenewCertificateInput, + RenewCertificateInputProperties, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..f8a36d267f0f 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationJobsMappers.ts @@ -1,172 +1,187 @@ /* * 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, Alert, AlertProperties, AsrJobDetails, + ASRTask, AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, ConsistencyCheckTaskDetails, - InconsistentVmDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..eee655e8f540 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationLogicalNetworksMappers.ts @@ -1,169 +1,184 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..80a3118815f5 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationMigrationItemsMappers.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, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + 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, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + RcmAzureMigrationPolicyDetails, + RecoveryPlan, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + 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..a2efb8027376 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworkMappingsMappers.ts @@ -1,117 +1,179 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, AzureToAzureCreateNetworkMappingInput, AzureToAzureNetworkMappingSettings, AzureToAzureUpdateNetworkMappingInput, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CreateNetworkMappingInput, + CreateNetworkMappingInputProperties, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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 +183,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..be72ec7cb24f 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationNetworksMappers.ts @@ -1,169 +1,184 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..1226ed3bb3ce 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationPoliciesMappers.ts @@ -1,181 +1,196 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CreatePolicyInput, + CreatePolicyInputProperties, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..51ac9b170927 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectableItemsMappers.ts @@ -1,169 +1,184 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, + ProtectableItem, + ProtectableItemCollection, + ProtectableItemProperties, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..bee9fecba936 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectedItemsMappers.ts @@ -1,80 +1,78 @@ /* * 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, + A2AUnprotectedDiskDetails, A2AUpdateReplicationProtectedItemInput, + A2AVmDiskInputDetails, + A2AVmManagedDiskInputDetails, A2AVmManagedDiskUpdateDetails, + AddDisksInput, + AddDisksInputProperties, + AddDisksProviderSpecificInput, 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, + EnableProtectionInput, + EnableProtectionInputProperties, + EnableProtectionProviderSpecificInput, + EncryptionDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, + ExportJobDetails, Fabric, FabricProperties, - EncryptionDetails, + FabricReplicationGroupTaskDetails, FabricSpecificDetails, + FailoverJobDetails, + FailoverReplicationProtectedItemDetails, + GroupTaskDetails, + HealthError, + HealthErrorSummary, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureApplyRecoveryPointInput, @@ -82,145 +80,174 @@ export { HyperVReplicaAzureEventDetails, HyperVReplicaAzureFailbackProviderInput, HyperVReplicaAzureFailoverProviderInput, + HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, - AzureVmDiskDetails, - InitialReplicationDetails, - OSDetails, HyperVReplicaAzureReprotectInput, 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, InMageAzureV2UpdateReplicationProtectedItemInput, + InMageBasePolicyDetails, InMageDisableProtectionProviderSpecificInput, - InMageEnableProtectionInput, + InMageDiskDetails, InMageDiskExclusionInput, - InMageVolumeExclusionOptions, InMageDiskSignatureExclusionOptions, + InMageEnableProtectionInput, InMageFailoverProviderInput, - InMageReplicationDetails, - OSDiskDetails, + InMagePolicyDetails, InMageProtectedDiskDetails, - InMageAgentDetails, + InMageReplicationDetails, InMageReprotectInput, + InMageVolumeExclusionOptions, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificFailoverInput, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RemoveDisksInput, + RemoveDisksInputProperties, + RemoveDisksProviderSpecificInput, ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemCollection, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + 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, + UnplannedFailoverInput, + UnplannedFailoverInputProperties, + 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..533a4bd80d45 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainerMappingsMappers.ts @@ -1,180 +1,196 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CreateProtectionContainerMappingInput, + CreateProtectionContainerMappingInputProperties, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingCollection, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, + RemoveProtectionContainerMappingInput, + RemoveProtectionContainerMappingInputProperties, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProviderContainerUnmappingInput, + ReplicationProviderSpecificContainerMappingInput, ReplicationProviderSpecificSettings, + ReplicationProviderSpecificUpdateContainerMappingInput, + 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..ed8bd44b281e 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationProtectionContainersMappers.ts @@ -1,184 +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, - ProtectionContainerCollection, - ProtectionContainer, - Resource, + A2AContainerCreationInput, + A2AEventDetails, + A2APolicyDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2ASwitchProtectionInput, + A2AUnprotectedDiskDetails, + A2AVmDiskInputDetails, + A2AVmManagedDiskInputDetails, + 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, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, + ProtectionContainer, + ProtectionContainerCollection, + ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, + ReplicationProviderSpecificContainerCreationInput, ReplicationProviderSpecificSettings, + 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..1efc5f9e41ce 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryPlansMappers.ts @@ -1,187 +1,202 @@ /* * 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, + 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, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, + RecoveryPlan, RecoveryPlanA2AFailoverInput, + RecoveryPlanAction, + RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanCollection, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanHyperVReplicaAzureFailbackInput, RecoveryPlanHyperVReplicaAzureFailoverInput, RecoveryPlanInMageAzureV2FailoverInput, RecoveryPlanInMageFailoverInput, RecoveryPlanManualActionDetails, + RecoveryPlanPlannedFailoverInput, + RecoveryPlanPlannedFailoverInputProperties, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanProviderSpecificFailoverInput, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, + RecoveryPlanTestFailoverCleanupInput, + RecoveryPlanTestFailoverCleanupInputProperties, + RecoveryPlanTestFailoverInput, + RecoveryPlanTestFailoverInputProperties, + RecoveryPlanUnplannedFailoverInput, + RecoveryPlanUnplannedFailoverInputProperties, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..a179e9cece33 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationRecoveryServicesProvidersMappers.ts @@ -1,169 +1,187 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, + RecoveryServicesProvider, + RecoveryServicesProviderCollection, + RecoveryServicesProviderProperties, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..19c2cf4c4ebb 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationMappingsMappers.ts @@ -1,171 +1,186 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..1c985e5451f4 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationStorageClassificationsMappers.ts @@ -1,169 +1,184 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..564e64998d94 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultHealthMappers.ts @@ -1,168 +1,183 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..c852b5d3668a --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationVaultSettingMappers.ts @@ -0,0 +1,186 @@ +/* + * 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, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + 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, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + RcmAzureMigrationPolicyDetails, + RecoveryPlan, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + 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..b73cac822282 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/replicationvCentersMappers.ts @@ -1,173 +1,188 @@ /* * 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, Alert, AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, 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, ProtectableItem, ProtectableItemProperties, - ConfigurationSettings, ProtectionContainer, - ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, - RecoveryPlanProperties, - CurrentScenarioDetails, - RecoveryPlanGroup, - RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, - ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, - VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, + 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..564e64998d94 --- /dev/null +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/supportedOperatingSystemsOperationsMappers.ts @@ -0,0 +1,183 @@ +/* + * 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, + Alert, + AlertProperties, + AsrJobDetails, + ASRTask, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + AzureToAzureVmSyncedConfigDetails, + AzureVmDiskDetails, + BaseResource, + CloudError, + ConfigurationSettings, + ConsistencyCheckTaskDetails, + CurrentJobDetails, + CurrentScenarioDetails, + DataStore, + DiskDetails, + DiskVolumeDetails, + 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, + InMageReplicationDetails, + InnerHealthError, + InputEndpoint, + 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, + ProtectableItem, + ProtectableItemProperties, + ProtectionContainer, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + ProtectionContainerProperties, + ProviderError, + ProviderSpecificRecoveryPointDetails, + RcmAzureMigrationPolicyDetails, + RecoveryPlan, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroup, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanProperties, + RecoveryPlanProtectedItem, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + 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..0bf03e90ddba 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/index.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/operations/index.ts @@ -16,6 +16,8 @@ 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 +30,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/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..9cff457c63ae 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts @@ -25,6 +25,8 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { 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 +39,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. @@ -58,6 +62,8 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { 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 +76,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";