/* * 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 { BaseResource } from 'ms-rest-azure'; import { CloudError } from 'ms-rest-azure'; import * as moment from 'moment'; export { BaseResource } from 'ms-rest-azure'; export { CloudError } from 'ms-rest-azure'; /** * @class * Initializes a new instance of the ApplyRecoveryPointProviderSpecificInput class. * @constructor * Provider specific input for apply recovery point. * * @member {string} instanceType Polymorphic Discriminator */ export interface ApplyRecoveryPointProviderSpecificInput { instanceType: string; } /** * @class * Initializes a new instance of the A2AApplyRecoveryPointInput class. * @constructor * ApplyRecoveryPoint input specific to A2A provider. * */ export interface A2AApplyRecoveryPointInput extends ApplyRecoveryPointProviderSpecificInput { } /** * @class * Initializes a new instance of the ReplicationProviderSpecificContainerCreationInput class. * @constructor * Provider specific input for container creation operation. * * @member {string} instanceType Polymorphic Discriminator */ export interface ReplicationProviderSpecificContainerCreationInput { instanceType: string; } /** * @class * Initializes a new instance of the A2AContainerCreationInput class. * @constructor * A2A cloud creation input. * */ export interface A2AContainerCreationInput extends ReplicationProviderSpecificContainerCreationInput { } /** * @class * Initializes a new instance of the ReplicationProviderSpecificContainerMappingInput class. * @constructor * Provider specific input for pairing operations. * * @member {string} instanceType Polymorphic Discriminator */ export interface ReplicationProviderSpecificContainerMappingInput { instanceType: string; } /** * @class * Initializes a new instance of the A2AContainerMappingInput class. * @constructor * A2A container mapping input. * * @member {string} [agentAutoUpdateStatus] A value indicating whether the auto * update is enabled. Possible values include: 'Disabled', 'Enabled' * @member {string} [automationAccountArmId] The automation account arm id. */ export interface A2AContainerMappingInput extends ReplicationProviderSpecificContainerMappingInput { agentAutoUpdateStatus?: string; automationAccountArmId?: string; } /** * @class * Initializes a new instance of the A2AVmDiskInputDetails class. * @constructor * Azure VM disk input details. * * @member {string} [diskUri] The disk Uri. * @member {string} [recoveryAzureStorageAccountId] The recovery VHD storage * account Id. * @member {string} [primaryStagingAzureStorageAccountId] The primary staging * storage account Id. */ export interface A2AVmDiskInputDetails { diskUri?: string; recoveryAzureStorageAccountId?: string; primaryStagingAzureStorageAccountId?: string; } /** * @class * Initializes a new instance of the A2AVmManagedDiskInputDetails class. * @constructor * Azure VM managed disk input details. * * @member {string} [diskId] The disk Id. * @member {string} [primaryStagingAzureStorageAccountId] The primary staging * storage account Arm Id. * @member {string} [recoveryResourceGroupId] The target resource group Arm Id. * @member {string} [recoveryReplicaDiskAccountType] The replica disk type. Its * an optional value and will be same as source disk type if not user provided. * @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. */ export interface A2AVmManagedDiskInputDetails { diskId?: string; primaryStagingAzureStorageAccountId?: string; recoveryResourceGroupId?: string; recoveryReplicaDiskAccountType?: string; recoveryTargetDiskAccountType?: string; } /** * @class * Initializes a new instance of the DiskEncryptionKeyInfo class. * @constructor * Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows). * * @member {string} [secretIdentifier] The secret url / identifier. * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for * secret. */ export interface DiskEncryptionKeyInfo { secretIdentifier?: string; keyVaultResourceArmId?: string; } /** * @class * Initializes a new instance of the KeyEncryptionKeyInfo class. * @constructor * Key Encryption Key (KEK) information. * * @member {string} [keyIdentifier] The key url / identifier. * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for * key. */ export interface KeyEncryptionKeyInfo { keyIdentifier?: string; keyVaultResourceArmId?: string; } /** * @class * Initializes a new instance of the DiskEncryptionInfo class. * @constructor * Recovery disk encryption info (BEK and KEK). * * @member {object} [diskEncryptionKeyInfo] The recovery KeyVault reference for * secret. * @member {string} [diskEncryptionKeyInfo.secretIdentifier] The secret url / * identifier. * @member {string} [diskEncryptionKeyInfo.keyVaultResourceArmId] The KeyVault * resource ARM id for secret. * @member {object} [keyEncryptionKeyInfo] The recovery KeyVault reference for * key. * @member {string} [keyEncryptionKeyInfo.keyIdentifier] The key url / * identifier. * @member {string} [keyEncryptionKeyInfo.keyVaultResourceArmId] The KeyVault * resource ARM id for key. */ export interface DiskEncryptionInfo { diskEncryptionKeyInfo?: DiskEncryptionKeyInfo; keyEncryptionKeyInfo?: KeyEncryptionKeyInfo; } /** * @class * Initializes a new instance of the EnableProtectionProviderSpecificInput class. * @constructor * Enable protection provider specific input. * * @member {string} instanceType Polymorphic Discriminator */ export interface EnableProtectionProviderSpecificInput { instanceType: string; } /** * @class * Initializes a new instance of the A2AEnableProtectionInput class. * @constructor * A2A enable protection input. * * @member {string} [fabricObjectId] The fabric specific object Id of the * virtual machine. * @member {string} [recoveryContainerId] The recovery container Id. * @member {string} [recoveryResourceGroupId] The recovery resource group Id. * Valid for V2 scenarios. * @member {string} [recoveryCloudServiceId] The recovery cloud service Id. * Valid for V1 scenarios. * @member {string} [recoveryAvailabilitySetId] The recovery availability set * Id. * @member {array} [vmDisks] The list of vm disk details. * @member {array} [vmManagedDisks] The list of vm managed disk details. * @member {string} [multiVmGroupName] The multi vm group name. * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic * storage account. * @member {object} [diskEncryptionInfo] The recovery disk encryption * information. * @member {object} [diskEncryptionInfo.diskEncryptionKeyInfo] The recovery * KeyVault reference for secret. * @member {string} [diskEncryptionInfo.diskEncryptionKeyInfo.secretIdentifier] * The secret url / identifier. * @member {string} * [diskEncryptionInfo.diskEncryptionKeyInfo.keyVaultResourceArmId] The * KeyVault resource ARM id for secret. * @member {object} [diskEncryptionInfo.keyEncryptionKeyInfo] The recovery * KeyVault reference for key. * @member {string} [diskEncryptionInfo.keyEncryptionKeyInfo.keyIdentifier] The * key url / identifier. * @member {string} * [diskEncryptionInfo.keyEncryptionKeyInfo.keyVaultResourceArmId] The KeyVault * resource ARM id for key. */ export interface A2AEnableProtectionInput extends EnableProtectionProviderSpecificInput { fabricObjectId?: string; recoveryContainerId?: string; recoveryResourceGroupId?: string; recoveryCloudServiceId?: string; recoveryAvailabilitySetId?: string; vmDisks?: A2AVmDiskInputDetails[]; vmManagedDisks?: A2AVmManagedDiskInputDetails[]; multiVmGroupName?: string; recoveryBootDiagStorageAccountId?: string; diskEncryptionInfo?: DiskEncryptionInfo; } /** * @class * Initializes a new instance of the EventProviderSpecificDetails class. * @constructor * Model class for provider specific details for an event. * * @member {string} instanceType Polymorphic Discriminator */ export interface EventProviderSpecificDetails { instanceType: string; } /** * @class * Initializes a new instance of the A2AEventDetails class. * @constructor * Model class for event details of a A2A event. * * @member {string} [protectedItemName] The protected item arm name. * @member {string} [fabricObjectId] The azure vm arm id. * @member {string} [fabricName] Fabric arm name. * @member {string} [fabricLocation] The fabric location. * @member {string} [remoteFabricName] Remote fabric arm name. * @member {string} [remoteFabricLocation] Remote fabric location. */ export interface A2AEventDetails extends EventProviderSpecificDetails { protectedItemName?: string; fabricObjectId?: string; fabricName?: string; fabricLocation?: string; remoteFabricName?: string; remoteFabricLocation?: string; } /** * @class * Initializes a new instance of the ProviderSpecificFailoverInput class. * @constructor * Provider specific failover input. * * @member {string} instanceType Polymorphic Discriminator */ export interface ProviderSpecificFailoverInput { instanceType: string; } /** * @class * Initializes a new instance of the A2AFailoverProviderInput class. * @constructor * A2A provider specific input for failover. * * @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. * @member {string} [cloudServiceCreationOption] A value indicating whether to * use recovery cloud service for TFO or not. */ export interface A2AFailoverProviderInput extends ProviderSpecificFailoverInput { recoveryPointId?: string; cloudServiceCreationOption?: string; } /** * @class * Initializes a new instance of the PolicyProviderSpecificInput class. * @constructor * Base class for provider specific input * * @member {string} instanceType Polymorphic Discriminator */ export interface PolicyProviderSpecificInput { instanceType: string; } /** * @class * Initializes a new instance of the A2APolicyCreationInput class. * @constructor * A2A Policy creation input. * * @member {number} [recoveryPointHistory] The duration in minutes until which * the recovery points need to be stored. * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent * snapshot frequency (in minutes). * @member {number} [appConsistentFrequencyInMinutes] The app consistent * snapshot frequency (in minutes). * @member {string} multiVmSyncStatus A value indicating whether multi-VM sync * has to be enabled. Value should be 'Enabled' or 'Disabled'. Possible values * include: 'Enable', 'Disable' */ export interface A2APolicyCreationInput extends PolicyProviderSpecificInput { recoveryPointHistory?: number; crashConsistentFrequencyInMinutes?: number; appConsistentFrequencyInMinutes?: number; multiVmSyncStatus: string; } /** * @class * Initializes a new instance of the PolicyProviderSpecificDetails class. * @constructor * Base class for Provider specific details for policies. * * @member {string} instanceType Polymorphic Discriminator */ export interface PolicyProviderSpecificDetails { instanceType: string; } /** * @class * Initializes a new instance of the A2APolicyDetails class. * @constructor * A2A specific policy details. * * @member {number} [recoveryPointThresholdInMinutes] The recovery point * threshold in minutes. * @member {number} [recoveryPointHistory] The duration in minutes until which * the recovery points need to be stored. * @member {number} [appConsistentFrequencyInMinutes] The app consistent * snapshot frequency in minutes. * @member {string} [multiVmSyncStatus] A value indicating whether multi-VM * sync has to be enabled. * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent * snapshot frequency in minutes. */ export interface A2APolicyDetails extends PolicyProviderSpecificDetails { recoveryPointThresholdInMinutes?: number; recoveryPointHistory?: number; appConsistentFrequencyInMinutes?: number; multiVmSyncStatus?: string; crashConsistentFrequencyInMinutes?: number; } /** * @class * Initializes a new instance of the A2AProtectedDiskDetails class. * @constructor * A2A protected disk details. * * @member {string} [diskUri] The disk uri. * @member {string} [recoveryAzureStorageAccountId] The recovery disk storage * account. * @member {string} [primaryDiskAzureStorageAccountId] The primary disk storage * account. * @member {string} [recoveryDiskUri] Recovery disk uri. * @member {string} [diskName] The disk name. * @member {number} [diskCapacityInBytes] The disk capacity in bytes. * @member {string} [primaryStagingAzureStorageAccountId] The primary staging * storage account. * @member {string} [diskType] The type of disk. * @member {boolean} [resyncRequired] A value indicating whether resync is * required for this disk. * @member {number} [monitoringPercentageCompletion] The percentage of the * monitoring job. The type of the monitoring job is defined by * MonitoringJobType property. * @member {string} [monitoringJobType] The type of the monitoring job. The * progress is contained in MonitoringPercentageCompletion property. * @member {number} [dataPendingInStagingStorageAccountInMB] The data pending * for replication in MB at staging account. * @member {number} [dataPendingAtSourceAgentInMB] The data pending at source * virtual machine in MB. * @member {boolean} [isDiskEncrypted] A value indicating whether vm has * encrypted os disk or not. * @member {string} [secretIdentifier] The secret URL / identifier (BEK). * @member {string} [dekKeyVaultArmId] The KeyVault resource id for secret * (BEK). * @member {boolean} [isDiskKeyEncrypted] A value indicating whether disk key * got encrypted or not. * @member {string} [keyIdentifier] The key URL / identifier (KEK). * @member {string} [kekKeyVaultArmId] The KeyVault resource id for key (KEK). */ export interface A2AProtectedDiskDetails { diskUri?: string; recoveryAzureStorageAccountId?: string; primaryDiskAzureStorageAccountId?: string; recoveryDiskUri?: string; diskName?: string; diskCapacityInBytes?: number; primaryStagingAzureStorageAccountId?: string; diskType?: string; resyncRequired?: boolean; monitoringPercentageCompletion?: number; monitoringJobType?: string; dataPendingInStagingStorageAccountInMB?: number; dataPendingAtSourceAgentInMB?: number; isDiskEncrypted?: boolean; secretIdentifier?: string; dekKeyVaultArmId?: string; isDiskKeyEncrypted?: boolean; keyIdentifier?: string; kekKeyVaultArmId?: string; } /** * @class * Initializes a new instance of the A2AProtectedManagedDiskDetails class. * @constructor * A2A protected managed disk details. * * @member {string} [diskId] The managed disk Arm id. * @member {string} [recoveryResourceGroupId] The recovery disk resource group * Arm Id. * @member {string} [recoveryTargetDiskId] Recovery target disk Arm Id. * @member {string} [recoveryReplicaDiskId] Recovery replica disk Arm Id. * @member {string} [recoveryReplicaDiskAccountType] The replica disk type. Its * an optional value and will be same as source disk type if not user provided. * @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. * @member {string} [diskName] The disk name. * @member {number} [diskCapacityInBytes] The disk capacity in bytes. * @member {string} [primaryStagingAzureStorageAccountId] The primary staging * storage account. * @member {string} [diskType] The type of disk. * @member {boolean} [resyncRequired] A value indicating whether resync is * required for this disk. * @member {number} [monitoringPercentageCompletion] The percentage of the * monitoring job. The type of the monitoring job is defined by * MonitoringJobType property. * @member {string} [monitoringJobType] The type of the monitoring job. The * progress is contained in MonitoringPercentageCompletion property. * @member {number} [dataPendingInStagingStorageAccountInMB] The data pending * for replication in MB at staging account. * @member {number} [dataPendingAtSourceAgentInMB] The data pending at source * virtual machine in MB. * @member {boolean} [isDiskEncrypted] A value indicating whether vm has * encrypted os disk or not. * @member {string} [secretIdentifier] The secret URL / identifier (BEK). * @member {string} [dekKeyVaultArmId] The KeyVault resource id for secret * (BEK). * @member {boolean} [isDiskKeyEncrypted] A value indicating whether disk key * got encrypted or not. * @member {string} [keyIdentifier] The key URL / identifier (KEK). * @member {string} [kekKeyVaultArmId] The KeyVault resource id for key (KEK). */ export interface A2AProtectedManagedDiskDetails { diskId?: string; recoveryResourceGroupId?: string; recoveryTargetDiskId?: string; recoveryReplicaDiskId?: string; recoveryReplicaDiskAccountType?: string; recoveryTargetDiskAccountType?: string; diskName?: string; diskCapacityInBytes?: number; primaryStagingAzureStorageAccountId?: string; diskType?: string; resyncRequired?: boolean; monitoringPercentageCompletion?: number; monitoringJobType?: string; dataPendingInStagingStorageAccountInMB?: number; dataPendingAtSourceAgentInMB?: number; isDiskEncrypted?: boolean; secretIdentifier?: string; dekKeyVaultArmId?: string; isDiskKeyEncrypted?: boolean; keyIdentifier?: string; kekKeyVaultArmId?: string; } /** * @class * Initializes a new instance of the ProtectionContainerMappingProviderSpecificDetails class. * @constructor * Container mapping provider specific details. * * @member {string} instanceType Polymorphic Discriminator */ export interface ProtectionContainerMappingProviderSpecificDetails { instanceType: string; } /** * @class * Initializes a new instance of the A2AProtectionContainerMappingDetails class. * @constructor * A2A provider specific settings. * * @member {string} [agentAutoUpdateStatus] A value indicating whether the auto * update is enabled. Possible values include: 'Disabled', 'Enabled' * @member {string} [automationAccountArmId] The automation account arm id. * @member {string} [scheduleName] The schedule arm name. * @member {string} [jobScheduleName] The job schedule arm name. */ export interface A2AProtectionContainerMappingDetails extends ProtectionContainerMappingProviderSpecificDetails { agentAutoUpdateStatus?: string; automationAccountArmId?: string; scheduleName?: string; jobScheduleName?: string; } /** * @class * Initializes a new instance of the ProviderSpecificRecoveryPointDetails class. * @constructor * Replication provider specific recovery point details. * * @member {string} instanceType Polymorphic Discriminator */ export interface ProviderSpecificRecoveryPointDetails { instanceType: string; } /** * @class * Initializes a new instance of the A2ARecoveryPointDetails class. * @constructor * A2A provider specific recovery point details. * * @member {string} [recoveryPointSyncType] A value indicating whether the * recovery point is multi VM consistent. Possible values include: * 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint' */ export interface A2ARecoveryPointDetails extends ProviderSpecificRecoveryPointDetails { recoveryPointSyncType?: string; } /** * @class * Initializes a new instance of the VMNicDetails class. * @constructor * Hyper V VM network details. * * @member {string} [nicId] The nic Id. * @member {string} [replicaNicId] The replica nic Id. * @member {string} [sourceNicArmId] The source nic ARM Id. * @member {string} [vMSubnetName] VM subnet name. * @member {string} [vMNetworkName] VM network name. * @member {string} [recoveryVMNetworkId] Recovery VM network Id. * @member {string} [recoveryVMSubnetName] Recovery VM subnet name. * @member {string} [ipAddressType] Ip address type. * @member {string} [primaryNicStaticIPAddress] Primary nic static IP address. * @member {string} [replicaNicStaticIPAddress] Replica nic static IP address. * @member {string} [selectionType] Selection type for failover. * @member {string} [recoveryNicIpAddressType] IP allocation type for recovery * VM. * @member {boolean} [enableAcceleratedNetworkingOnRecovery] A value indicating * whether the NIC has accerated networking enabled. */ export interface VMNicDetails { nicId?: string; replicaNicId?: string; sourceNicArmId?: string; vMSubnetName?: string; vMNetworkName?: string; recoveryVMNetworkId?: string; recoveryVMSubnetName?: string; ipAddressType?: string; primaryNicStaticIPAddress?: string; replicaNicStaticIPAddress?: string; selectionType?: string; recoveryNicIpAddressType?: string; enableAcceleratedNetworkingOnRecovery?: boolean; } /** * @class * Initializes a new instance of the RoleAssignment class. * @constructor * Azure role assignment details. * * @member {string} [id] The ARM Id of the role assignment. * @member {string} [name] The name of the role assignment. * @member {string} [scope] Role assignment scope. * @member {string} [principalId] Principal Id. * @member {string} [roleDefinitionId] Role definition id. */ export interface RoleAssignment { id?: string; name?: string; scope?: string; principalId?: string; roleDefinitionId?: string; } /** * @class * Initializes a new instance of the InputEndpoint class. * @constructor * Azure VM input endpoint details. * * @member {string} [endpointName] The input endpoint name. * @member {number} [privatePort] The input endpoint private port. * @member {number} [publicPort] The input endpoint public port. * @member {string} [protocol] The input endpoint protocol. */ export interface InputEndpoint { endpointName?: string; privatePort?: number; publicPort?: number; protocol?: string; } /** * @class * Initializes a new instance of the AzureToAzureVmSyncedConfigDetails class. * @constructor * Azure to Azure VM synced configuration details. * * @member {object} [tags] The Azure VM tags. * @member {array} [roleAssignments] The Azure role assignments. * @member {array} [inputEndpoints] The Azure VM input endpoints. */ export interface AzureToAzureVmSyncedConfigDetails { tags?: { [propertyName: string]: string }; roleAssignments?: RoleAssignment[]; inputEndpoints?: InputEndpoint[]; } /** * @class * Initializes a new instance of the ReplicationProviderSpecificSettings class. * @constructor * Replication provider specific settings. * * @member {string} instanceType Polymorphic Discriminator */ export interface ReplicationProviderSpecificSettings { instanceType: string; } /** * @class * Initializes a new instance of the A2AReplicationDetails class. * @constructor * A2A provider specific settings. * * @member {string} [fabricObjectId] The fabric specific object Id of the * virtual machine. * @member {string} [multiVmGroupId] The multi vm group Id. * @member {string} [multiVmGroupName] The multi vm group name. * @member {string} [multiVmGroupCreateOption] Whether Multi VM group is auto * created or specified by user. Possible values include: 'AutoCreated', * 'UserSpecified' * @member {string} [managementId] The management Id. * @member {array} [protectedDisks] The list of protected disks. * @member {array} [protectedManagedDisks] The list of protected managed disks. * @member {string} [recoveryBootDiagStorageAccountId] The recovery boot * diagnostic storage account Arm Id. * @member {string} [primaryFabricLocation] Primary fabric location. * @member {string} [recoveryFabricLocation] The recovery fabric location. * @member {string} [osType] The type of operating system. * @member {string} [recoveryAzureVMSize] The size of recovery virtual machine. * @member {string} [recoveryAzureVMName] The name of recovery virtual machine. * @member {string} [recoveryAzureResourceGroupId] The recovery resource group. * @member {string} [recoveryCloudService] The recovery cloud service. * @member {string} [recoveryAvailabilitySet] The recovery availability set. * @member {string} [selectedRecoveryAzureNetworkId] The recovery virtual * network. * @member {array} [vmNics] The virtual machine nic details. * @member {object} [vmSyncedConfigDetails] The synced configuration details. * @member {object} [vmSyncedConfigDetails.tags] The Azure VM tags. * @member {array} [vmSyncedConfigDetails.roleAssignments] The Azure role * assignments. * @member {array} [vmSyncedConfigDetails.inputEndpoints] The Azure VM input * endpoints. * @member {number} [monitoringPercentageCompletion] The percentage of the * monitoring job. The type of the monitoring job is defined by * MonitoringJobType property. * @member {string} [monitoringJobType] The type of the monitoring job. The * progress is contained in MonitoringPercentageCompletion property. * @member {date} [lastHeartbeat] The last heartbeat received from the source * server. * @member {string} [agentVersion] The agent version. * @member {boolean} [isReplicationAgentUpdateRequired] A value indicating * whether replication agent update is required. * @member {string} [recoveryFabricObjectId] The recovery fabric object Id. * @member {string} [vmProtectionState] The protection state for the vm. * @member {string} [vmProtectionStateDescription] The protection state * description for the vm. * @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. * @member {string} [testFailoverRecoveryFabricObjectId] The test failover * fabric object Id. * @member {number} [rpoInSeconds] The last RPO value in seconds. * @member {date} [lastRpoCalculatedTime] The time (in UTC) when the last RPO * value was calculated by Protection Service. */ export interface A2AReplicationDetails extends ReplicationProviderSpecificSettings { fabricObjectId?: string; multiVmGroupId?: string; multiVmGroupName?: string; multiVmGroupCreateOption?: string; managementId?: string; protectedDisks?: A2AProtectedDiskDetails[]; protectedManagedDisks?: A2AProtectedManagedDiskDetails[]; recoveryBootDiagStorageAccountId?: string; primaryFabricLocation?: string; recoveryFabricLocation?: string; osType?: string; recoveryAzureVMSize?: string; recoveryAzureVMName?: string; recoveryAzureResourceGroupId?: string; recoveryCloudService?: string; recoveryAvailabilitySet?: string; selectedRecoveryAzureNetworkId?: string; vmNics?: VMNicDetails[]; vmSyncedConfigDetails?: AzureToAzureVmSyncedConfigDetails; monitoringPercentageCompletion?: number; monitoringJobType?: string; lastHeartbeat?: Date; agentVersion?: string; isReplicationAgentUpdateRequired?: boolean; recoveryFabricObjectId?: string; vmProtectionState?: string; vmProtectionStateDescription?: string; lifecycleId?: string; testFailoverRecoveryFabricObjectId?: string; rpoInSeconds?: number; lastRpoCalculatedTime?: Date; } /** * @class * Initializes a new instance of the ReverseReplicationProviderSpecificInput class. * @constructor * Provider specific reverse replication input. * * @member {string} instanceType Polymorphic Discriminator */ export interface ReverseReplicationProviderSpecificInput { instanceType: string; } /** * @class * Initializes a new instance of the A2AReprotectInput class. * @constructor * Azure specific reprotect input. * * @member {string} [recoveryContainerId] The recovery container Id. * @member {array} [vmDisks] The list of vm disk details. * @member {string} [recoveryResourceGroupId] The recovery resource group Id. * Valid for V2 scenarios. * @member {string} [recoveryCloudServiceId] The recovery cloud service Id. * Valid for V1 scenarios. * @member {string} [recoveryAvailabilitySetId] The recovery availability set. * @member {string} [policyId] The Policy Id. */ export interface A2AReprotectInput extends ReverseReplicationProviderSpecificInput { recoveryContainerId?: string; vmDisks?: A2AVmDiskInputDetails[]; recoveryResourceGroupId?: string; recoveryCloudServiceId?: string; recoveryAvailabilitySetId?: string; policyId?: string; } /** * @class * Initializes a new instance of the SwitchProtectionProviderSpecificInput class. * @constructor * Provider specific switch protection input. * * @member {string} instanceType Polymorphic Discriminator */ export interface SwitchProtectionProviderSpecificInput { instanceType: string; } /** * @class * Initializes a new instance of the A2ASwitchProtectionInput class. * @constructor * A2A specific switch protection input. * * @member {string} [recoveryContainerId] The recovery container Id. * @member {array} [vmDisks] The list of vm disk details. * @member {array} [vmManagedDisks] The list of vm managed disk details. * @member {string} [recoveryResourceGroupId] The recovery resource group Id. * Valid for V2 scenarios. * @member {string} [recoveryCloudServiceId] The recovery cloud service Id. * Valid for V1 scenarios. * @member {string} [recoveryAvailabilitySetId] The recovery availability set. * @member {string} [policyId] The Policy Id. * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic * storage account. * @member {object} [diskEncryptionInfo] The recovery disk encryption * information. * @member {object} [diskEncryptionInfo.diskEncryptionKeyInfo] The recovery * KeyVault reference for secret. * @member {string} [diskEncryptionInfo.diskEncryptionKeyInfo.secretIdentifier] * The secret url / identifier. * @member {string} * [diskEncryptionInfo.diskEncryptionKeyInfo.keyVaultResourceArmId] The * KeyVault resource ARM id for secret. * @member {object} [diskEncryptionInfo.keyEncryptionKeyInfo] The recovery * KeyVault reference for key. * @member {string} [diskEncryptionInfo.keyEncryptionKeyInfo.keyIdentifier] The * key url / identifier. * @member {string} * [diskEncryptionInfo.keyEncryptionKeyInfo.keyVaultResourceArmId] The KeyVault * resource ARM id for key. */ export interface A2ASwitchProtectionInput extends SwitchProtectionProviderSpecificInput { recoveryContainerId?: string; vmDisks?: A2AVmDiskInputDetails[]; vmManagedDisks?: A2AVmManagedDiskInputDetails[]; recoveryResourceGroupId?: string; recoveryCloudServiceId?: string; recoveryAvailabilitySetId?: string; policyId?: string; recoveryBootDiagStorageAccountId?: string; diskEncryptionInfo?: DiskEncryptionInfo; } /** * @class * Initializes a new instance of the ReplicationProviderSpecificUpdateContainerMappingInput class. * @constructor * Provider specific input for update pairing operations. * * @member {string} instanceType Polymorphic Discriminator */ export interface ReplicationProviderSpecificUpdateContainerMappingInput { instanceType: string; } /** * @class * Initializes a new instance of the A2AUpdateContainerMappingInput class. * @constructor * A2A update protection container mapping. * * @member {string} [agentAutoUpdateStatus] A value indicating whether the auto * update is enabled. Possible values include: 'Disabled', 'Enabled' * @member {string} [automationAccountArmId] The automation account arm id. */ export interface A2AUpdateContainerMappingInput extends ReplicationProviderSpecificUpdateContainerMappingInput { agentAutoUpdateStatus?: string; automationAccountArmId?: string; } /** * @class * Initializes a new instance of the A2AVmManagedDiskUpdateDetails class. * @constructor * Azure VM managed disk update input details. * * @member {string} [diskId] The disk Id. * @member {string} [recoveryTargetDiskAccountType] The target disk type before * failover. * @member {string} [recoveryReplicaDiskAccountType] The replica disk type * before failover. */ export interface A2AVmManagedDiskUpdateDetails { diskId?: string; recoveryTargetDiskAccountType?: string; recoveryReplicaDiskAccountType?: string; } /** * @class * Initializes a new instance of the UpdateReplicationProtectedItemProviderInput class. * @constructor * Update replication protected item provider specific input. * * @member {string} instanceType Polymorphic Discriminator */ export interface UpdateReplicationProtectedItemProviderInput { instanceType: string; } /** * @class * Initializes a new instance of the A2AUpdateReplicationProtectedItemInput class. * @constructor * InMage Azure V2 input to update replication protected item. * * @member {string} [recoveryCloudServiceId] The target cloud service ARM Id * (for V1). * @member {string} [recoveryResourceGroupId] The target resource group ARM Id * (for V2). * @member {array} [managedDiskUpdateDetails] Managed disk update details. * @member {string} [recoveryBootDiagStorageAccountId] The boot diagnostic * storage account. * @member {object} [diskEncryptionInfo] The recovery os disk encryption * information. * @member {object} [diskEncryptionInfo.diskEncryptionKeyInfo] The recovery * KeyVault reference for secret. * @member {string} [diskEncryptionInfo.diskEncryptionKeyInfo.secretIdentifier] * The secret url / identifier. * @member {string} * [diskEncryptionInfo.diskEncryptionKeyInfo.keyVaultResourceArmId] The * KeyVault resource ARM id for secret. * @member {object} [diskEncryptionInfo.keyEncryptionKeyInfo] The recovery * KeyVault reference for key. * @member {string} [diskEncryptionInfo.keyEncryptionKeyInfo.keyIdentifier] The * key url / identifier. * @member {string} * [diskEncryptionInfo.keyEncryptionKeyInfo.keyVaultResourceArmId] The KeyVault * resource ARM id for key. */ export interface A2AUpdateReplicationProtectedItemInput extends UpdateReplicationProtectedItemProviderInput { recoveryCloudServiceId?: string; recoveryResourceGroupId?: string; managedDiskUpdateDetails?: A2AVmManagedDiskUpdateDetails[]; recoveryBootDiagStorageAccountId?: string; diskEncryptionInfo?: DiskEncryptionInfo; } /** * @class * Initializes a new instance of the AddVCenterRequestProperties class. * @constructor * The properties of an add vCenter request. * * @member {string} [friendlyName] The friendly name of the vCenter. * @member {string} [ipAddress] The IP address of the vCenter to be discovered. * @member {string} [processServerId] The process server Id from where the * discovery is orchestrated. * @member {string} [port] The port number for discovery. * @member {string} [runAsAccountId] The account Id which has privileges to * discover the vCenter. */ export interface AddVCenterRequestProperties { friendlyName?: string; ipAddress?: string; processServerId?: string; port?: string; runAsAccountId?: string; } /** * @class * Initializes a new instance of the AddVCenterRequest class. * @constructor * Input required to add vCenter. * * @member {object} [properties] The properties of an add vCenter request. * @member {string} [properties.friendlyName] The friendly name of the vCenter. * @member {string} [properties.ipAddress] The IP address of the vCenter to be * discovered. * @member {string} [properties.processServerId] The process server Id from * where the discovery is orchestrated. * @member {string} [properties.port] The port number for discovery. * @member {string} [properties.runAsAccountId] The account Id which has * privileges to discover the vCenter. */ export interface AddVCenterRequest { properties?: AddVCenterRequestProperties; } /** * @class * Initializes a new instance of the AlertProperties class. * @constructor * The proprties of an alert. * * @member {string} [sendToOwners] A value indicating whether to send email to * subscription administrator. * @member {array} [customEmailAddresses] The custom email address for sending * emails. * @member {string} [locale] The locale for the email notification. */ export interface AlertProperties { sendToOwners?: string; customEmailAddresses?: string[]; locale?: string; } /** * @class * Initializes a new instance of the Resource class. * @constructor * Azure resource. * * @member {string} [id] Resource Id * @member {string} [name] Resource Name * @member {string} [type] Resource Type * @member {string} [location] Resource Location */ export interface Resource extends BaseResource { readonly id?: string; readonly name?: string; readonly type?: string; location?: string; } /** * @class * Initializes a new instance of the Alert class. * @constructor * Implements the Alert class. * * @member {object} [properties] Alert related data. * @member {string} [properties.sendToOwners] A value indicating whether to * send email to subscription administrator. * @member {array} [properties.customEmailAddresses] The custom email address * for sending emails. * @member {string} [properties.locale] The locale for the email notification. */ export interface Alert extends Resource { properties?: AlertProperties; } /** * @class * Initializes a new instance of the ApplyRecoveryPointInputProperties class. * @constructor * Input properties to apply recovery point. * * @member {string} [recoveryPointId] The recovery point Id. * @member {object} [providerSpecificDetails] Provider specific input for * applying recovery point. * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface ApplyRecoveryPointInputProperties { recoveryPointId?: string; providerSpecificDetails?: ApplyRecoveryPointProviderSpecificInput; } /** * @class * Initializes a new instance of the ApplyRecoveryPointInput class. * @constructor * Input to apply recovery point. * * @member {object} [properties] The input properties to apply recovery point. * @member {string} [properties.recoveryPointId] The recovery point Id. * @member {object} [properties.providerSpecificDetails] Provider specific * input for applying recovery point. * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator */ export interface ApplyRecoveryPointInput { properties?: ApplyRecoveryPointInputProperties; } /** * @class * Initializes a new instance of the JobDetails class. * @constructor * Job details based on specific job type. * * @member {object} [affectedObjectDetails] The affected object properties like * source server, source cloud, target server, target cloud etc. based on the * workflow object details. * @member {string} instanceType Polymorphic Discriminator */ export interface JobDetails { affectedObjectDetails?: { [propertyName: string]: string }; instanceType: string; } /** * @class * Initializes a new instance of the AsrJobDetails class. * @constructor * This class represents job details based on specific job type. * */ export interface AsrJobDetails extends JobDetails { } /** * @class * Initializes a new instance of the TaskTypeDetails class. * @constructor * Task details based on specific task type. * * @member {string} instanceType Polymorphic Discriminator */ export interface TaskTypeDetails { instanceType: string; } /** * @class * Initializes a new instance of the GroupTaskDetails class. * @constructor * This class represents the group task details when parent child relationship * exists in the drill down. * * @member {array} [childTasks] The child tasks. * @member {string} instanceType Polymorphic Discriminator */ export interface GroupTaskDetails { childTasks?: ASRTask[]; instanceType: string; } /** * @class * Initializes a new instance of the ServiceError class. * @constructor * ASR error model * * @member {string} [code] Error code. * @member {string} [message] Error message. * @member {string} [possibleCauses] Possible causes of error. * @member {string} [recommendedAction] Recommended action to resolve error. * @member {string} [activityId] Activity Id. */ export interface ServiceError { code?: string; message?: string; possibleCauses?: string; recommendedAction?: string; activityId?: string; } /** * @class * Initializes a new instance of the ProviderError class. * @constructor * This class contains the error details per object. * * @member {number} [errorCode] The Error code. * @member {string} [errorMessage] The Error message. * @member {string} [errorId] The Provider error Id. * @member {string} [possibleCauses] The possible causes for the error. * @member {string} [recommendedAction] The recommended action to resolve the * error. */ export interface ProviderError { errorCode?: number; errorMessage?: string; errorId?: string; possibleCauses?: string; recommendedAction?: string; } /** * @class * Initializes a new instance of the JobErrorDetails class. * @constructor * This class contains the error details per object. * * @member {object} [serviceErrorDetails] The Service error details. * @member {string} [serviceErrorDetails.code] Error code. * @member {string} [serviceErrorDetails.message] Error message. * @member {string} [serviceErrorDetails.possibleCauses] Possible causes of * error. * @member {string} [serviceErrorDetails.recommendedAction] Recommended action * to resolve error. * @member {string} [serviceErrorDetails.activityId] Activity Id. * @member {object} [providerErrorDetails] The Provider error details. * @member {number} [providerErrorDetails.errorCode] The Error code. * @member {string} [providerErrorDetails.errorMessage] The Error message. * @member {string} [providerErrorDetails.errorId] The Provider error Id. * @member {string} [providerErrorDetails.possibleCauses] The possible causes * for the error. * @member {string} [providerErrorDetails.recommendedAction] The recommended * action to resolve the error. * @member {string} [errorLevel] Error level of error. * @member {date} [creationTime] The creation time of job error. * @member {string} [taskId] The Id of the task. */ export interface JobErrorDetails { serviceErrorDetails?: ServiceError; providerErrorDetails?: ProviderError; errorLevel?: string; creationTime?: Date; taskId?: string; } /** * @class * Initializes a new instance of the ASRTask class. * @constructor * Task of the Job. * * @member {string} [taskId] The Id. * @member {string} [name] The unique Task name. * @member {date} [startTime] The start time. * @member {date} [endTime] The end time. * @member {array} [allowedActions] The state/actions applicable on this task. * @member {string} [friendlyName] The name. * @member {string} [state] The State. It is one of these values - NotStarted, * InProgress, Succeeded, Failed, Cancelled, Suspended or Other. * @member {string} [stateDescription] The description of the task state. For * example - For Succeeded state, description can be Completed, * PartiallySucceeded, CompletedWithInformation or Skipped. * @member {string} [taskType] The type of task. Details in CustomDetails * property depend on this type. * @member {object} [customDetails] The custom task details based on the task * type. * @member {string} [customDetails.instanceType] Polymorphic Discriminator * @member {object} [groupTaskCustomDetails] The custom task details based on * the task type, if the task type is GroupTaskDetails or one of the types * derived from it. * @member {array} [groupTaskCustomDetails.childTasks] The child tasks. * @member {string} [groupTaskCustomDetails.instanceType] Polymorphic * Discriminator * @member {array} [errors] The task error details. */ export interface ASRTask { taskId?: string; name?: string; startTime?: Date; endTime?: Date; allowedActions?: string[]; friendlyName?: string; state?: string; stateDescription?: string; taskType?: string; customDetails?: TaskTypeDetails; groupTaskCustomDetails?: GroupTaskDetails; errors?: JobErrorDetails[]; } /** * @class * Initializes a new instance of the AutomationRunbookTaskDetails class. * @constructor * This class represents the task details for an automation runbook. * * @member {string} [name] The recovery plan task name. * @member {string} [cloudServiceName] The cloud service of the automation * runbook account. * @member {string} [subscriptionId] The subscription Id of the automation * runbook account. * @member {string} [accountName] The automation account name of the runbook. * @member {string} [runbookId] The runbook Id. * @member {string} [runbookName] The runbook name. * @member {string} [jobId] The job Id of the runbook execution. * @member {string} [jobOutput] The execution output of the runbook. * @member {boolean} [isPrimarySideScript] A value indicating whether it is a * primary side script or not. */ export interface AutomationRunbookTaskDetails extends TaskTypeDetails { name?: string; cloudServiceName?: string; subscriptionId?: string; accountName?: string; runbookId?: string; runbookName?: string; jobId?: string; jobOutput?: string; isPrimarySideScript?: boolean; } /** * @class * Initializes a new instance of the FabricSpecificCreationInput class. * @constructor * Fabric provider specific settings. * * @member {string} instanceType Polymorphic Discriminator */ export interface FabricSpecificCreationInput { instanceType: string; } /** * @class * Initializes a new instance of the AzureFabricCreationInput class. * @constructor * Fabric provider specific settings. * * @member {string} [location] The Location. */ export interface AzureFabricCreationInput extends FabricSpecificCreationInput { location?: string; } /** * @class * Initializes a new instance of the FabricSpecificDetails class. * @constructor * Fabric specific details. * * @member {string} instanceType Polymorphic Discriminator */ export interface FabricSpecificDetails { instanceType: string; } /** * @class * Initializes a new instance of the AzureFabricSpecificDetails class. * @constructor * Azure Fabric Specific Details. * * @member {string} [location] The Location for the Azure fabric. * @member {array} [containerIds] The container Ids for the Azure fabric. */ export interface AzureFabricSpecificDetails extends FabricSpecificDetails { location?: string; containerIds?: string[]; } /** * @class * Initializes a new instance of the FabricSpecificCreateNetworkMappingInput class. * @constructor * Input details specific to fabrics during Network Mapping. * * @member {string} instanceType Polymorphic Discriminator */ export interface FabricSpecificCreateNetworkMappingInput { instanceType: string; } /** * @class * Initializes a new instance of the AzureToAzureCreateNetworkMappingInput class. * @constructor * Create network mappings input properties/behaviour specific to Azure to * Azure Network mapping. * * @member {string} [primaryNetworkId] The primary azure vnet Id. */ export interface AzureToAzureCreateNetworkMappingInput extends FabricSpecificCreateNetworkMappingInput { primaryNetworkId?: string; } /** * @class * Initializes a new instance of the NetworkMappingFabricSpecificSettings class. * @constructor * Network Mapping fabric specific settings. * * @member {string} instanceType Polymorphic Discriminator */ export interface NetworkMappingFabricSpecificSettings { instanceType: string; } /** * @class * Initializes a new instance of the AzureToAzureNetworkMappingSettings class. * @constructor * A2A Network Mapping fabric specific settings. * * @member {string} [primaryFabricLocation] The primary fabric location. * @member {string} [recoveryFabricLocation] The recovery fabric location. */ export interface AzureToAzureNetworkMappingSettings extends NetworkMappingFabricSpecificSettings { primaryFabricLocation?: string; recoveryFabricLocation?: string; } /** * @class * Initializes a new instance of the FabricSpecificUpdateNetworkMappingInput class. * @constructor * Input details specific to fabrics during Network Mapping. * * @member {string} instanceType Polymorphic Discriminator */ export interface FabricSpecificUpdateNetworkMappingInput { instanceType: string; } /** * @class * Initializes a new instance of the AzureToAzureUpdateNetworkMappingInput class. * @constructor * Updates network mappings input. * * @member {string} [primaryNetworkId] The primary azure vnet Id. */ export interface AzureToAzureUpdateNetworkMappingInput extends FabricSpecificUpdateNetworkMappingInput { primaryNetworkId?: string; } /** * @class * Initializes a new instance of the AzureVmDiskDetails class. * @constructor * Disk details for E2A provider. * * @member {string} [vhdType] VHD type. * @member {string} [vhdId] The VHD id. * @member {string} [vhdName] VHD name. * @member {string} [maxSizeMB] Max side in MB. * @member {string} [targetDiskLocation] Blob uri of the Azure disk. * @member {string} [targetDiskName] The target Azure disk name. * @member {string} [lunId] Ordinal\LunId of the disk for the Azure VM. */ export interface AzureVmDiskDetails { vhdType?: string; vhdId?: string; vhdName?: string; maxSizeMB?: string; targetDiskLocation?: string; targetDiskName?: string; lunId?: string; } /** * @class * Initializes a new instance of the ComputeSizeErrorDetails class. * @constructor * Represents the error used to indicate why the target compute size is not * applicable. * * @member {string} [message] The error message. * @member {string} [severity] The severity of the error. */ export interface ComputeSizeErrorDetails { message?: string; severity?: string; } /** * @class * Initializes a new instance of the ConfigurationSettings class. * @constructor * Replication provider specific settings. * * @member {string} instanceType Polymorphic Discriminator */ export interface ConfigurationSettings { instanceType: string; } /** * @class * Initializes a new instance of the ConfigureAlertRequestProperties class. * @constructor * Properties of a configure alert request. * * @member {string} [sendToOwners] A value indicating whether to send email to * subscription administrator. * @member {array} [customEmailAddresses] The custom email address for sending * emails. * @member {string} [locale] The locale for the email notification. */ export interface ConfigureAlertRequestProperties { sendToOwners?: string; customEmailAddresses?: string[]; locale?: string; } /** * @class * Initializes a new instance of the ConfigureAlertRequest class. * @constructor * Request to configure alerts for the system. * * @member {object} [properties] The properties of a configure alert request. * @member {string} [properties.sendToOwners] A value indicating whether to * send email to subscription administrator. * @member {array} [properties.customEmailAddresses] The custom email address * for sending emails. * @member {string} [properties.locale] The locale for the email notification. */ export interface ConfigureAlertRequest { properties?: ConfigureAlertRequestProperties; } /** * @class * Initializes a new instance of the InconsistentVmDetails class. * @constructor * This class stores the monitoring details for consistency check of * inconsistent Protected Entity. * * @member {string} [vmName] The Vm name. * @member {string} [cloudName] The Cloud name. * @member {array} [details] The list of details regarding state of the * Protected Entity in SRS and On prem. * @member {array} [errorIds] The list of error ids. */ export interface InconsistentVmDetails { vmName?: string; cloudName?: string; details?: string[]; errorIds?: string[]; } /** * @class * Initializes a new instance of the ConsistencyCheckTaskDetails class. * @constructor * This class contains monitoring details of all the inconsistent Protected * Entites in Vmm. * * @member {array} [vmDetails] The list of inconsistent Vm details. */ export interface ConsistencyCheckTaskDetails extends TaskTypeDetails { vmDetails?: InconsistentVmDetails[]; } /** * @class * Initializes a new instance of the CreateNetworkMappingInputProperties class. * @constructor * Common input details for network mapping operation. * * @member {string} [recoveryFabricName] Recovery fabric Name. * @member {string} [recoveryNetworkId] Recovery network Id. * @member {object} [fabricSpecificDetails] Fabric specific input properties. * @member {string} [fabricSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface CreateNetworkMappingInputProperties { recoveryFabricName?: string; recoveryNetworkId?: string; fabricSpecificDetails?: FabricSpecificCreateNetworkMappingInput; } /** * @class * Initializes a new instance of the CreateNetworkMappingInput class. * @constructor * Create network mappings input. * * @member {object} [properties] Input properties for creating network mapping. * @member {string} [properties.recoveryFabricName] Recovery fabric Name. * @member {string} [properties.recoveryNetworkId] Recovery network Id. * @member {object} [properties.fabricSpecificDetails] Fabric specific input * properties. * @member {string} [properties.fabricSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface CreateNetworkMappingInput { properties?: CreateNetworkMappingInputProperties; } /** * @class * Initializes a new instance of the CreatePolicyInputProperties class. * @constructor * Policy creation properties. * * @member {object} [providerSpecificInput] The ReplicationProviderSettings. * @member {string} [providerSpecificInput.instanceType] Polymorphic * Discriminator */ export interface CreatePolicyInputProperties { providerSpecificInput?: PolicyProviderSpecificInput; } /** * @class * Initializes a new instance of the CreatePolicyInput class. * @constructor * Protection Policy input. * * @member {object} [properties] Policy creation properties. * @member {object} [properties.providerSpecificInput] The * ReplicationProviderSettings. * @member {string} [properties.providerSpecificInput.instanceType] Polymorphic * Discriminator */ export interface CreatePolicyInput { properties?: CreatePolicyInputProperties; } /** * @class * Initializes a new instance of the CreateProtectionContainerInputProperties class. * @constructor * Create protection container input properties. * * @member {array} [providerSpecificInput] Provider specific inputs for * container creation. */ export interface CreateProtectionContainerInputProperties { providerSpecificInput?: ReplicationProviderSpecificContainerCreationInput[]; } /** * @class * Initializes a new instance of the CreateProtectionContainerInput class. * @constructor * Create protection container input. * * @member {object} [properties] Create protection container input properties. * @member {array} [properties.providerSpecificInput] Provider specific inputs * for container creation. */ export interface CreateProtectionContainerInput { properties?: CreateProtectionContainerInputProperties; } /** * @class * Initializes a new instance of the CreateProtectionContainerMappingInputProperties class. * @constructor * Configure pairing input properties. * * @member {string} [targetProtectionContainerId] The target unique protection * container name. * @member {string} [policyId] Applicable policy. * @member {object} [providerSpecificInput] Provider specific input for * pairing. * @member {string} [providerSpecificInput.instanceType] Polymorphic * Discriminator */ export interface CreateProtectionContainerMappingInputProperties { targetProtectionContainerId?: string; policyId?: string; providerSpecificInput?: ReplicationProviderSpecificContainerMappingInput; } /** * @class * Initializes a new instance of the CreateProtectionContainerMappingInput class. * @constructor * Configure pairing input. * * @member {object} [properties] Configure protection input properties. * @member {string} [properties.targetProtectionContainerId] The target unique * protection container name. * @member {string} [properties.policyId] Applicable policy. * @member {object} [properties.providerSpecificInput] Provider specific input * for pairing. * @member {string} [properties.providerSpecificInput.instanceType] Polymorphic * Discriminator */ export interface CreateProtectionContainerMappingInput { properties?: CreateProtectionContainerMappingInputProperties; } /** * @class * Initializes a new instance of the RecoveryPlanProtectedItem class. * @constructor * Recovery plan protected item. * * @member {string} [id] The ARM Id of the recovery plan protected item. * @member {string} [virtualMachineId] The virtual machine Id. */ export interface RecoveryPlanProtectedItem { id?: string; virtualMachineId?: string; } /** * @class * Initializes a new instance of the RecoveryPlanActionDetails class. * @constructor * Recovery plan action custom details. * * @member {string} instanceType Polymorphic Discriminator */ export interface RecoveryPlanActionDetails { instanceType: string; } /** * @class * Initializes a new instance of the RecoveryPlanAction class. * @constructor * Recovery plan action details. * * @member {string} actionName The action name. * @member {array} failoverTypes The list of failover types. * @member {array} failoverDirections The list of failover directions. * @member {object} customDetails The custom details. * @member {string} [customDetails.instanceType] Polymorphic Discriminator */ export interface RecoveryPlanAction { actionName: string; failoverTypes: string[]; failoverDirections: string[]; customDetails: RecoveryPlanActionDetails; } /** * @class * Initializes a new instance of the RecoveryPlanGroup class. * @constructor * Recovery plan group details. * * @member {string} groupType The group type. Possible values include: * 'Shutdown', 'Boot', 'Failover' * @member {array} [replicationProtectedItems] The list of protected items. * @member {array} [startGroupActions] The start group actions. * @member {array} [endGroupActions] The end group actions. */ export interface RecoveryPlanGroup { groupType: string; replicationProtectedItems?: RecoveryPlanProtectedItem[]; startGroupActions?: RecoveryPlanAction[]; endGroupActions?: RecoveryPlanAction[]; } /** * @class * Initializes a new instance of the CreateRecoveryPlanInputProperties class. * @constructor * Recovery plan creation properties. * * @member {string} primaryFabricId The primary fabric Id. * @member {string} recoveryFabricId The recovery fabric Id. * @member {string} [failoverDeploymentModel] The failover deployment model. * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager' * @member {array} groups The recovery plan groups. */ export interface CreateRecoveryPlanInputProperties { primaryFabricId: string; recoveryFabricId: string; failoverDeploymentModel?: string; groups: RecoveryPlanGroup[]; } /** * @class * Initializes a new instance of the CreateRecoveryPlanInput class. * @constructor * Create recovery plan input class. * * @member {object} properties Recovery plan creation properties. * @member {string} [properties.primaryFabricId] The primary fabric Id. * @member {string} [properties.recoveryFabricId] The recovery fabric Id. * @member {string} [properties.failoverDeploymentModel] The failover * deployment model. Possible values include: 'NotApplicable', 'Classic', * 'ResourceManager' * @member {array} [properties.groups] The recovery plan groups. */ export interface CreateRecoveryPlanInput { properties: CreateRecoveryPlanInputProperties; } /** * @class * Initializes a new instance of the CurrentScenarioDetails class. * @constructor * Current scenario details of the protected entity. * * @member {string} [scenarioName] Scenario name. * @member {string} [jobId] ARM Id of the job being executed. * @member {date} [startTime] Start time of the workflow. */ export interface CurrentScenarioDetails { scenarioName?: string; jobId?: string; startTime?: Date; } /** * @class * Initializes a new instance of the DataStore class. * @constructor * The datastore details of the MT. * * @member {string} [symbolicName] The symbolic name of data store. * @member {string} [uuid] The uuid of data store. * @member {string} [capacity] The capacity of data store in GBs. * @member {string} [freeSpace] The free space of data store in GBs. * @member {string} [type] The type of data store. */ export interface DataStore { symbolicName?: string; uuid?: string; capacity?: string; freeSpace?: string; type?: string; } /** * @class * Initializes a new instance of the DisableProtectionProviderSpecificInput class. * @constructor * Disable protection provider specific input. * * @member {string} instanceType Polymorphic Discriminator */ export interface DisableProtectionProviderSpecificInput { instanceType: string; } /** * @class * Initializes a new instance of the DisableProtectionInputProperties class. * @constructor * Disable protection input properties. * * @member {string} [disableProtectionReason] Disable protection reason. It can * have values NotSpecified/MigrationComplete. Possible values include: * 'NotSpecified', 'MigrationComplete' * @member {object} [replicationProviderInput] Replication provider specific * input. * @member {string} [replicationProviderInput.instanceType] Polymorphic * Discriminator */ export interface DisableProtectionInputProperties { disableProtectionReason?: string; replicationProviderInput?: DisableProtectionProviderSpecificInput; } /** * @class * Initializes a new instance of the DisableProtectionInput class. * @constructor * Disable protection input. * * @member {object} [properties] Disable protection input properties. * @member {string} [properties.disableProtectionReason] Disable protection * reason. It can have values NotSpecified/MigrationComplete. Possible values * include: 'NotSpecified', 'MigrationComplete' * @member {object} [properties.replicationProviderInput] Replication provider * specific input. * @member {string} [properties.replicationProviderInput.instanceType] * Polymorphic Discriminator */ export interface DisableProtectionInput { properties?: DisableProtectionInputProperties; } /** * @class * Initializes a new instance of the DiscoverProtectableItemRequestProperties class. * @constructor * Discover protectable item properties. * * @member {string} [friendlyName] The friendly name of the physical machine. * @member {string} [ipAddress] The IP address of the physical machine to be * discovered. * @member {string} [osType] The OS type on the physical machine. */ export interface DiscoverProtectableItemRequestProperties { friendlyName?: string; ipAddress?: string; osType?: string; } /** * @class * Initializes a new instance of the DiscoverProtectableItemRequest class. * @constructor * Request to add a physical machine as a protectable item in a container. * * @member {object} [properties] The properties of a discover protectable item * request. * @member {string} [properties.friendlyName] The friendly name of the physical * machine. * @member {string} [properties.ipAddress] The IP address of the physical * machine to be discovered. * @member {string} [properties.osType] The OS type on the physical machine. */ export interface DiscoverProtectableItemRequest { properties?: DiscoverProtectableItemRequestProperties; } /** * @class * Initializes a new instance of the DiskDetails class. * @constructor * Onprem disk details data. * * @member {number} [maxSizeMB] The hard disk max size in MB. * @member {string} [vhdType] The type of the volume. * @member {string} [vhdId] The VHD Id. * @member {string} [vhdName] The VHD name. */ export interface DiskDetails { maxSizeMB?: number; vhdType?: string; vhdId?: string; vhdName?: string; } /** * @class * Initializes a new instance of the DiskVolumeDetails class. * @constructor * Volume details. * * @member {string} [label] The volume label. * @member {string} [name] The volume name. */ export interface DiskVolumeDetails { label?: string; name?: string; } /** * @class * Initializes a new instance of the Display class. * @constructor * 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. * * @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." * @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" * @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' * @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' */ export interface Display { provider?: string; resource?: string; operation?: string; description?: string; } /** * @class * Initializes a new instance of the EnableProtectionInputProperties class. * @constructor * Enable protection input properties. * * @member {string} [policyId] The Policy Id. * @member {string} [protectableItemId] The protectable item Id. * @member {object} [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. * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface EnableProtectionInputProperties { policyId?: string; protectableItemId?: string; providerSpecificDetails?: EnableProtectionProviderSpecificInput; } /** * @class * Initializes a new instance of the EnableProtectionInput class. * @constructor * Enable protection input. * * @member {object} [properties] Enable protection input properties. * @member {string} [properties.policyId] The Policy Id. * @member {string} [properties.protectableItemId] The protectable item Id. * @member {object} [properties.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. * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator */ export interface EnableProtectionInput { properties?: EnableProtectionInputProperties; } /** * @class * Initializes a new instance of the EncryptionDetails class. * @constructor * Encryption details for the fabric. * * @member {string} [kekState] The key encryption key state for the Vmm. * @member {string} [kekCertThumbprint] The key encryption key certificate * thumbprint. * @member {date} [kekCertExpiryDate] The key encryption key certificate expiry * date. */ export interface EncryptionDetails { kekState?: string; kekCertThumbprint?: string; kekCertExpiryDate?: Date; } /** * @class * Initializes a new instance of the EventSpecificDetails class. * @constructor * Model class for event specific details for an event. * * @member {string} instanceType Polymorphic Discriminator */ export interface EventSpecificDetails { instanceType: string; } /** * @class * Initializes a new instance of the InnerHealthError class. * @constructor * 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. * * @member {string} [errorSource] Source of error. * @member {string} [errorType] Type of error. * @member {string} [errorLevel] Level of error. * @member {string} [errorCategory] Category of error. * @member {string} [errorCode] Error code. * @member {string} [summaryMessage] Summary message of the entity. * @member {string} [errorMessage] Error message. * @member {string} [possibleCauses] Possible causes of error. * @member {string} [recommendedAction] Recommended action to resolve error. * @member {date} [creationTimeUtc] Error creation time (UTC) * @member {string} [recoveryProviderErrorMessage] DRA error message. * @member {string} [entityId] ID of the entity. */ export interface InnerHealthError { errorSource?: string; errorType?: string; errorLevel?: string; errorCategory?: string; errorCode?: string; summaryMessage?: string; errorMessage?: string; possibleCauses?: string; recommendedAction?: string; creationTimeUtc?: Date; recoveryProviderErrorMessage?: string; entityId?: string; } /** * @class * Initializes a new instance of the HealthError class. * @constructor * Health Error * * @member {array} [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. * @member {string} [errorSource] Source of error. * @member {string} [errorType] Type of error. * @member {string} [errorLevel] Level of error. * @member {string} [errorCategory] Category of error. * @member {string} [errorCode] Error code. * @member {string} [summaryMessage] Summary message of the entity. * @member {string} [errorMessage] Error message. * @member {string} [possibleCauses] Possible causes of error. * @member {string} [recommendedAction] Recommended action to resolve error. * @member {date} [creationTimeUtc] Error creation time (UTC) * @member {string} [recoveryProviderErrorMessage] DRA error message. * @member {string} [entityId] ID of the entity. */ export interface HealthError { innerHealthErrors?: InnerHealthError[]; errorSource?: string; errorType?: string; errorLevel?: string; errorCategory?: string; errorCode?: string; summaryMessage?: string; errorMessage?: string; possibleCauses?: string; recommendedAction?: string; creationTimeUtc?: Date; recoveryProviderErrorMessage?: string; entityId?: string; } /** * @class * Initializes a new instance of the EventProperties class. * @constructor * The properties of a monitoring event. * * @member {string} [eventCode] The Id of the monitoring event. * @member {string} [description] The event name. * @member {string} [eventType] The type of the event. for example: VM Health, * Server Health, Job Failure etc. * @member {string} [affectedObjectFriendlyName] The friendly name of the * source of the event on which it is raised (for example, VM, VMM etc). * @member {string} [severity] The severity of the event. * @member {date} [timeOfOccurrence] The time of occurence of the event. * @member {string} [fabricId] The ARM ID of the fabric. * @member {object} [providerSpecificDetails] The provider specific settings. * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator * @member {object} [eventSpecificDetails] The event specific settings. * @member {string} [eventSpecificDetails.instanceType] Polymorphic * Discriminator * @member {array} [healthErrors] The list of errors / warnings capturing * details associated with the issue(s). */ export interface EventProperties { eventCode?: string; description?: string; eventType?: string; affectedObjectFriendlyName?: string; severity?: string; timeOfOccurrence?: Date; fabricId?: string; providerSpecificDetails?: EventProviderSpecificDetails; eventSpecificDetails?: EventSpecificDetails; healthErrors?: HealthError[]; } /** * @class * Initializes a new instance of the Event class. * @constructor * Implements the Event class. * * @member {object} [properties] Event related data. * @member {string} [properties.eventCode] The Id of the monitoring event. * @member {string} [properties.description] The event name. * @member {string} [properties.eventType] The type of the event. for example: * VM Health, Server Health, Job Failure etc. * @member {string} [properties.affectedObjectFriendlyName] The friendly name * of the source of the event on which it is raised (for example, VM, VMM etc). * @member {string} [properties.severity] The severity of the event. * @member {date} [properties.timeOfOccurrence] The time of occurence of the * event. * @member {string} [properties.fabricId] The ARM ID of the fabric. * @member {object} [properties.providerSpecificDetails] The provider specific * settings. * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator * @member {object} [properties.eventSpecificDetails] The event specific * settings. * @member {string} [properties.eventSpecificDetails.instanceType] Polymorphic * Discriminator * @member {array} [properties.healthErrors] The list of errors / warnings * capturing details associated with the issue(s). */ export interface Event extends Resource { properties?: EventProperties; } /** * @class * Initializes a new instance of the EventQueryParameter class. * @constructor * Implements the event query parameter. * * @member {string} [eventCode] The source id of the events to be queried. * @member {string} [severity] The severity of the events to be queried. * @member {string} [eventType] The type of the events to be queried. * @member {string} [fabricName] The affected object server id of the events to * be queried. * @member {string} [affectedObjectFriendlyName] The affected object name of * the events to be queried. * @member {date} [startTime] The start time of the time range within which the * events are to be queried. * @member {date} [endTime] The end time of the time range within which the * events are to be queried. */ export interface EventQueryParameter { eventCode?: string; severity?: string; eventType?: string; fabricName?: string; affectedObjectFriendlyName?: string; startTime?: Date; endTime?: Date; } /** * @class * Initializes a new instance of the ExportJobDetails class. * @constructor * This class represents details for export jobs workflow. * * @member {string} [blobUri] BlobUri of the exported jobs. * @member {string} [sasToken] The sas token to access blob. */ export interface ExportJobDetails extends JobDetails { blobUri?: string; sasToken?: string; } /** * @class * Initializes a new instance of the FabricProperties class. * @constructor * Fabric properties. * * @member {string} [friendlyName] Friendly name of the fabric. * @member {object} [encryptionDetails] Encryption details for the fabric. * @member {string} [encryptionDetails.kekState] The key encryption key state * for the Vmm. * @member {string} [encryptionDetails.kekCertThumbprint] The key encryption * key certificate thumbprint. * @member {date} [encryptionDetails.kekCertExpiryDate] The key encryption key * certificate expiry date. * @member {object} [rolloverEncryptionDetails] Rollover encryption details for * the fabric. * @member {string} [rolloverEncryptionDetails.kekState] The key encryption key * state for the Vmm. * @member {string} [rolloverEncryptionDetails.kekCertThumbprint] The key * encryption key certificate thumbprint. * @member {date} [rolloverEncryptionDetails.kekCertExpiryDate] The key * encryption key certificate expiry date. * @member {string} [internalIdentifier] Dra Registration Id. * @member {string} [bcdrState] BCDR state of the fabric. * @member {object} [customDetails] Fabric specific settings. * @member {string} [customDetails.instanceType] Polymorphic Discriminator * @member {array} [healthErrorDetails] Fabric health error details. * @member {string} [health] Health of fabric. */ export interface FabricProperties { friendlyName?: string; encryptionDetails?: EncryptionDetails; rolloverEncryptionDetails?: EncryptionDetails; internalIdentifier?: string; bcdrState?: string; customDetails?: FabricSpecificDetails; healthErrorDetails?: HealthError[]; health?: string; } /** * @class * Initializes a new instance of the Fabric class. * @constructor * Fabric definition. * * @member {object} [properties] Fabric related data. * @member {string} [properties.friendlyName] Friendly name of the fabric. * @member {object} [properties.encryptionDetails] Encryption details for the * fabric. * @member {string} [properties.encryptionDetails.kekState] The key encryption * key state for the Vmm. * @member {string} [properties.encryptionDetails.kekCertThumbprint] The key * encryption key certificate thumbprint. * @member {date} [properties.encryptionDetails.kekCertExpiryDate] The key * encryption key certificate expiry date. * @member {object} [properties.rolloverEncryptionDetails] Rollover encryption * details for the fabric. * @member {string} [properties.rolloverEncryptionDetails.kekState] The key * encryption key state for the Vmm. * @member {string} [properties.rolloverEncryptionDetails.kekCertThumbprint] * The key encryption key certificate thumbprint. * @member {date} [properties.rolloverEncryptionDetails.kekCertExpiryDate] The * key encryption key certificate expiry date. * @member {string} [properties.internalIdentifier] Dra Registration Id. * @member {string} [properties.bcdrState] BCDR state of the fabric. * @member {object} [properties.customDetails] Fabric specific settings. * @member {string} [properties.customDetails.instanceType] Polymorphic * Discriminator * @member {array} [properties.healthErrorDetails] Fabric health error details. * @member {string} [properties.health] Health of fabric. */ export interface Fabric extends Resource { properties?: FabricProperties; } /** * @class * Initializes a new instance of the FabricCreationInputProperties class. * @constructor * Properties of site details provided during the time of site creation * * @member {object} [customDetails] Fabric provider specific creation input. * @member {string} [customDetails.instanceType] Polymorphic Discriminator */ export interface FabricCreationInputProperties { customDetails?: FabricSpecificCreationInput; } /** * @class * Initializes a new instance of the FabricCreationInput class. * @constructor * Site details provided during the time of site creation * * @member {object} [properties] Fabric creation input. * @member {object} [properties.customDetails] Fabric provider specific * creation input. * @member {string} [properties.customDetails.instanceType] Polymorphic * Discriminator */ export interface FabricCreationInput { properties?: FabricCreationInputProperties; } /** * @class * Initializes a new instance of the JobEntity class. * @constructor * This class contains the minimal job details required to navigate to the * desired drill down. * * @member {string} [jobId] The job id. * @member {string} [jobFriendlyName] The job display name. * @member {string} [targetObjectId] The object id. * @member {string} [targetObjectName] The object name. * @member {string} [targetInstanceType] The workflow affected object type. * @member {string} [jobScenarioName] The job name. Enum type ScenarioName. */ export interface JobEntity { jobId?: string; jobFriendlyName?: string; targetObjectId?: string; targetObjectName?: string; targetInstanceType?: string; jobScenarioName?: string; } /** * @class * Initializes a new instance of the FabricReplicationGroupTaskDetails class. * @constructor * This class represents the fabric replication group task details. * * @member {string} [skippedReason] The skipped reason. * @member {string} [skippedReasonString] The skipped reason string. * @member {object} [jobTask] The job entity. * @member {string} [jobTask.jobId] The job id. * @member {string} [jobTask.jobFriendlyName] The job display name. * @member {string} [jobTask.targetObjectId] The object id. * @member {string} [jobTask.targetObjectName] The object name. * @member {string} [jobTask.targetInstanceType] The workflow affected object * type. * @member {string} [jobTask.jobScenarioName] The job name. Enum type * ScenarioName. */ export interface FabricReplicationGroupTaskDetails extends TaskTypeDetails { skippedReason?: string; skippedReasonString?: string; jobTask?: JobEntity; } /** * @class * Initializes a new instance of the FailoverReplicationProtectedItemDetails class. * @constructor * Failover details for a replication protected item. * * @member {string} [name] The name. * @member {string} [friendlyName] The friendly name. * @member {string} [testVmName] The test Vm name. * @member {string} [testVmFriendlyName] The test Vm friendly name. * @member {string} [networkConnectionStatus] The network connection status. * @member {string} [networkFriendlyName] The network friendly name. * @member {string} [subnet] The network subnet. * @member {string} [recoveryPointId] The recovery point Id. * @member {date} [recoveryPointTime] The recovery point time. */ export interface FailoverReplicationProtectedItemDetails { name?: string; friendlyName?: string; testVmName?: string; testVmFriendlyName?: string; networkConnectionStatus?: string; networkFriendlyName?: string; subnet?: string; recoveryPointId?: string; recoveryPointTime?: Date; } /** * @class * Initializes a new instance of the FailoverJobDetails class. * @constructor * This class represents the details for a failover job. * * @member {array} [protectedItemDetails] The test VM details. */ export interface FailoverJobDetails extends JobDetails { protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; } /** * @class * Initializes a new instance of the FailoverProcessServerRequestProperties class. * @constructor * The properties of the Failover Process Server request. * * @member {string} [containerName] The container identifier. * @member {string} [sourceProcessServerId] The source process server. * @member {string} [targetProcessServerId] The new process server. * @member {array} [vmsToMigrate] The VMS to migrate. * @member {string} [updateType] A value for failover type. It can be * systemlevel/serverlevel */ export interface FailoverProcessServerRequestProperties { containerName?: string; sourceProcessServerId?: string; targetProcessServerId?: string; vmsToMigrate?: string[]; updateType?: string; } /** * @class * Initializes a new instance of the FailoverProcessServerRequest class. * @constructor * Request to failover a process server. * * @member {object} [properties] The properties of the PS Failover request. * @member {string} [properties.containerName] The container identifier. * @member {string} [properties.sourceProcessServerId] The source process * server. * @member {string} [properties.targetProcessServerId] The new process server. * @member {array} [properties.vmsToMigrate] The VMS to migrate. * @member {string} [properties.updateType] A value for failover type. It can * be systemlevel/serverlevel */ export interface FailoverProcessServerRequest { properties?: FailoverProcessServerRequestProperties; } /** * @class * Initializes a new instance of the HealthErrorSummary class. * @constructor * class to define the summary of the health error details. * * @member {string} [summaryCode] The code of the health error. * @member {string} [category] The category of the health error. Possible * values include: 'None', 'Replication', 'TestFailover', 'Configuration', * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' * @member {string} [severity] Severity of error. Possible values include: * 'NONE', 'Warning', 'Error', 'Info' * @member {string} [summaryMessage] The summary message of the health error. * @member {string} [affectedResourceType] The type of affected ARM resource. * @member {string} [affectedResourceSubtype] The sub type of any subcomponent * within the ARM resource that this might be applicable. Value remains null if * not applicable. * @member {array} [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. */ export interface HealthErrorSummary { summaryCode?: string; category?: string; severity?: string; summaryMessage?: string; affectedResourceType?: string; affectedResourceSubtype?: string; affectedResourceCorrelationIds?: string[]; } /** * @class * Initializes a new instance of the HyperVReplica2012EventDetails class. * @constructor * Model class for event details of a HyperVReplica E2E event. * * @member {string} [containerName] The container friendly name. * @member {string} [fabricName] The fabric friendly name. * @member {string} [remoteContainerName] The remote container name. * @member {string} [remoteFabricName] The remote fabric name. */ export interface HyperVReplica2012EventDetails extends EventProviderSpecificDetails { containerName?: string; fabricName?: string; remoteContainerName?: string; remoteFabricName?: string; } /** * @class * Initializes a new instance of the HyperVReplica2012R2EventDetails class. * @constructor * Model class for event details of a HyperVReplica blue E2E event. * * @member {string} [containerName] The container friendly name. * @member {string} [fabricName] The fabric friendly name. * @member {string} [remoteContainerName] The remote container name. * @member {string} [remoteFabricName] The remote fabric name. */ export interface HyperVReplica2012R2EventDetails extends EventProviderSpecificDetails { containerName?: string; fabricName?: string; remoteContainerName?: string; remoteFabricName?: string; } /** * @class * Initializes a new instance of the HyperVReplicaAzureApplyRecoveryPointInput class. * @constructor * ApplyRecoveryPoint input specific to HyperVReplicaAzure provider. * * @member {string} [vaultLocation] The vault location where the recovery Vm * resides. * @member {string} [primaryKekCertificatePfx] The primary kek certificate pfx. * @member {string} [secondaryKekCertificatePfx] The secondary kek certificate * pfx. */ export interface HyperVReplicaAzureApplyRecoveryPointInput extends ApplyRecoveryPointProviderSpecificInput { vaultLocation?: string; primaryKekCertificatePfx?: string; secondaryKekCertificatePfx?: string; } /** * @class * Initializes a new instance of the HyperVReplicaAzureEnableProtectionInput class. * @constructor * Azure specific enable protection input. * * @member {string} [hvHostVmId] The Hyper-V host Vm Id. * @member {string} [vmName] The Vm Name. * @member {string} [osType] The OS type associated with vm. * @member {string} [vhdId] The OS disk VHD id associated with vm. * @member {string} [targetStorageAccountId] The storage account name. * @member {string} [targetAzureNetworkId] The selected target Azure network * Id. * @member {string} [targetAzureSubnetId] The selected target Azure subnet Id. * @member {string} [enableRdpOnTargetOption] The selected option to enable * RDP\SSH on target vm after failover. String value of * {SrsDataContract.EnableRDPOnTargetOption} enum. * @member {string} [targetAzureVmName] The target azure Vm Name. * @member {string} [logStorageAccountId] The storage account to be used for * logging during replication. * @member {array} [disksToInclude] The list of VHD IDs of disks to be * protected. * @member {string} [targetAzureV1ResourceGroupId] The Id of the target * resource group (for classic deployment) in which the failover VM is to be * created. * @member {string} [targetAzureV2ResourceGroupId] The Id of the target * resource group (for resource manager deployment) in which the failover VM is * to be created. * @member {string} [useManagedDisks] A value indicating whether managed disks * should be used during failover. */ export interface HyperVReplicaAzureEnableProtectionInput extends EnableProtectionProviderSpecificInput { hvHostVmId?: string; vmName?: string; osType?: string; vhdId?: string; targetStorageAccountId?: string; targetAzureNetworkId?: string; targetAzureSubnetId?: string; enableRdpOnTargetOption?: string; targetAzureVmName?: string; logStorageAccountId?: string; disksToInclude?: string[]; targetAzureV1ResourceGroupId?: string; targetAzureV2ResourceGroupId?: string; useManagedDisks?: string; } /** * @class * Initializes a new instance of the HyperVReplicaAzureEventDetails class. * @constructor * Model class for event details of a HyperVReplica E2A event. * * @member {string} [containerName] The container friendly name. * @member {string} [fabricName] The fabric friendly name. * @member {string} [remoteContainerName] The remote container name. */ export interface HyperVReplicaAzureEventDetails extends EventProviderSpecificDetails { containerName?: string; fabricName?: string; remoteContainerName?: string; } /** * @class * Initializes a new instance of the HyperVReplicaAzureFailbackProviderInput class. * @constructor * HvrA provider specific input for failback. * * @member {string} [dataSyncOption] Data sync option. * @member {string} [recoveryVmCreationOption] ALR options to create alternate * recovery. * @member {string} [providerIdForAlternateRecovery] Provider ID for alternate * location */ export interface HyperVReplicaAzureFailbackProviderInput extends ProviderSpecificFailoverInput { dataSyncOption?: string; recoveryVmCreationOption?: string; providerIdForAlternateRecovery?: string; } /** * @class * Initializes a new instance of the HyperVReplicaAzureFailoverProviderInput class. * @constructor * HvrA provider specific input for failover. * * @member {string} [vaultLocation] Location of the vault. * @member {string} [primaryKekCertificatePfx] Primary kek certificate pfx. * @member {string} [secondaryKekCertificatePfx] Secondary kek certificate pfx. * @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. */ export interface HyperVReplicaAzureFailoverProviderInput extends ProviderSpecificFailoverInput { vaultLocation?: string; primaryKekCertificatePfx?: string; secondaryKekCertificatePfx?: string; recoveryPointId?: string; } /** * @class * Initializes a new instance of the HyperVReplicaAzurePolicyDetails class. * @constructor * Hyper-V Replica Azure specific protection profile details. * * @member {number} [recoveryPointHistoryDurationInHours] The duration (in * hours) to which point the recovery history needs to be maintained. * @member {number} [applicationConsistentSnapshotFrequencyInHours] The * interval (in hours) at which Hyper-V Replica should create an application * consistent snapshot within the VM. * @member {number} [replicationInterval] The replication interval. * @member {string} [onlineReplicationStartTime] The scheduled start time for * the initial replication. If this parameter is Null, the initial replication * starts immediately. * @member {string} [encryption] A value indicating whether encryption is * enabled for virtual machines in this cloud. * @member {string} [activeStorageAccountId] The active storage account Id. */ export interface HyperVReplicaAzurePolicyDetails extends PolicyProviderSpecificDetails { recoveryPointHistoryDurationInHours?: number; applicationConsistentSnapshotFrequencyInHours?: number; replicationInterval?: number; onlineReplicationStartTime?: string; encryption?: string; activeStorageAccountId?: string; } /** * @class * Initializes a new instance of the HyperVReplicaAzurePolicyInput class. * @constructor * Hyper-V Replica Azure specific input for creating a protection profile. * * @member {number} [recoveryPointHistoryDuration] The duration (in hours) to * which point the recovery history needs to be maintained. * @member {number} [applicationConsistentSnapshotFrequencyInHours] The * interval (in hours) at which Hyper-V Replica should create an application * consistent snapshot within the VM. * @member {number} [replicationInterval] The replication interval. * @member {string} [onlineReplicationStartTime] The scheduled start time for * the initial replication. If this parameter is Null, the initial replication * starts immediately. * @member {array} [storageAccounts] The list of storage accounts to which the * VMs in the primary cloud can replicate to. */ export interface HyperVReplicaAzurePolicyInput extends PolicyProviderSpecificInput { recoveryPointHistoryDuration?: number; applicationConsistentSnapshotFrequencyInHours?: number; replicationInterval?: number; onlineReplicationStartTime?: string; storageAccounts?: string[]; } /** * @class * Initializes a new instance of the InitialReplicationDetails class. * @constructor * Initial replication details. * * @member {string} [initialReplicationType] Initial replication type. * @member {string} [initialReplicationProgressPercentage] The initial * replication progress percentage. */ export interface InitialReplicationDetails { initialReplicationType?: string; initialReplicationProgressPercentage?: string; } /** * @class * Initializes a new instance of the OSDetails class. * @constructor * Disk Details. * * @member {string} [osType] VM Disk details. * @member {string} [productType] Product type. * @member {string} [osEdition] The OSEdition. * @member {string} [oSVersion] The OS Version. * @member {string} [oSMajorVersion] The OS Major Version. * @member {string} [oSMinorVersion] The OS Minor Version. */ export interface OSDetails { osType?: string; productType?: string; osEdition?: string; oSVersion?: string; oSMajorVersion?: string; oSMinorVersion?: string; } /** * @class * Initializes a new instance of the HyperVReplicaAzureReplicationDetails class. * @constructor * Hyper V Replica Azure provider specific settings. * * @member {array} [azureVmDiskDetails] Azure VM Disk details. * @member {string} [recoveryAzureVmName] Recovery Azure given name. * @member {string} [recoveryAzureVMSize] The Recovery Azure VM size. * @member {string} [recoveryAzureStorageAccount] The recovery Azure storage * account. * @member {string} [recoveryAzureLogStorageAccountId] The ARM id of the log * storage account used for replication. This will be set to null if no log * storage account was provided during enable protection. * @member {date} [lastReplicatedTime] The Last replication time. * @member {number} [rpoInSeconds] Last RPO value. * @member {date} [lastRpoCalculatedTime] The last RPO calculated time. * @member {string} [vmId] The virtual machine Id. * @member {string} [vmProtectionState] The protection state for the vm. * @member {string} [vmProtectionStateDescription] The protection state * description for the vm. * @member {object} [initialReplicationDetails] Initial replication details. * @member {string} [initialReplicationDetails.initialReplicationType] Initial * replication type. * @member {string} * [initialReplicationDetails.initialReplicationProgressPercentage] The initial * replication progress percentage. * @member {array} [vmNics] The PE Network details. * @member {string} [selectedRecoveryAzureNetworkId] The selected recovery * azure network Id. * @member {string} [selectedSourceNicId] The selected source nic Id which will * be used as the primary nic during failover. * @member {string} [encryption] The encryption info. * @member {object} [oSDetails] The operating system info. * @member {string} [oSDetails.osType] VM Disk details. * @member {string} [oSDetails.productType] Product type. * @member {string} [oSDetails.osEdition] The OSEdition. * @member {string} [oSDetails.oSVersion] The OS Version. * @member {string} [oSDetails.oSMajorVersion] The OS Major Version. * @member {string} [oSDetails.oSMinorVersion] The OS Minor Version. * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the primary * side. * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary * side. * @member {string} [enableRdpOnTargetOption] The selected option to enable * RDP\SSH on target vm after failover. String value of * {SrsDataContract.EnableRDPOnTargetOption} enum. * @member {string} [recoveryAzureResourceGroupId] The target resource group * Id. * @member {string} [recoveryAvailabilitySetId] The recovery availability set * Id. * @member {string} [useManagedDisks] A value indicating whether managed disks * should be used during failover. * @member {string} [licenseType] License Type of the VM to be used. */ export interface HyperVReplicaAzureReplicationDetails extends ReplicationProviderSpecificSettings { azureVmDiskDetails?: AzureVmDiskDetails[]; recoveryAzureVmName?: string; recoveryAzureVMSize?: string; recoveryAzureStorageAccount?: string; recoveryAzureLogStorageAccountId?: string; lastReplicatedTime?: Date; rpoInSeconds?: number; lastRpoCalculatedTime?: Date; vmId?: string; vmProtectionState?: string; vmProtectionStateDescription?: string; initialReplicationDetails?: InitialReplicationDetails; vmNics?: VMNicDetails[]; selectedRecoveryAzureNetworkId?: string; selectedSourceNicId?: string; encryption?: string; oSDetails?: OSDetails; sourceVmRamSizeInMB?: number; sourceVmCpuCount?: number; enableRdpOnTargetOption?: string; recoveryAzureResourceGroupId?: string; recoveryAvailabilitySetId?: string; useManagedDisks?: string; licenseType?: string; } /** * @class * Initializes a new instance of the HyperVReplicaAzureReprotectInput class. * @constructor * Azure specific reprotect input. * * @member {string} [hvHostVmId] The Hyper-V host Vm Id. * @member {string} [vmName] The Vm Name. * @member {string} [osType] The OS type associated with vm. * @member {string} [vHDId] The OS disk VHD id associated with vm. * @member {string} [storageAccountId] The storage account name. * @member {string} [logStorageAccountId] The storage account to be used for * logging during replication. */ export interface HyperVReplicaAzureReprotectInput extends ReverseReplicationProviderSpecificInput { hvHostVmId?: string; vmName?: string; osType?: string; vHDId?: string; storageAccountId?: string; logStorageAccountId?: string; } /** * @class * Initializes a new instance of the HyperVReplicaAzureUpdateReplicationProtectedItemInput class. * @constructor * HyperV replica Azure input to update replication protected item. * * @member {string} [recoveryAzureV1ResourceGroupId] The recovery Azure * resource group Id for classic deployment. * @member {string} [recoveryAzureV2ResourceGroupId] The recovery Azure * resource group Id for resource manager deployment. * @member {string} [useManagedDisks] A value indicating whether managed disks * should be used during failover. */ export interface HyperVReplicaAzureUpdateReplicationProtectedItemInput extends UpdateReplicationProtectedItemProviderInput { recoveryAzureV1ResourceGroupId?: string; recoveryAzureV2ResourceGroupId?: string; useManagedDisks?: string; } /** * @class * Initializes a new instance of the HyperVReplicaBaseEventDetails class. * @constructor * Abstract model class for event details of a HyperVReplica E2E event. * * @member {string} [containerName] The container friendly name. * @member {string} [fabricName] The fabric friendly name. * @member {string} [remoteContainerName] The remote container name. * @member {string} [remoteFabricName] The remote fabric name. */ export interface HyperVReplicaBaseEventDetails extends EventProviderSpecificDetails { containerName?: string; fabricName?: string; remoteContainerName?: string; remoteFabricName?: string; } /** * @class * Initializes a new instance of the HyperVReplicaBasePolicyDetails class. * @constructor * Base class for HyperVReplica policy details. * * @member {number} [recoveryPoints] A value indicating the number of recovery * points. * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value * indicating the application consistent frequency. * @member {string} [compression] A value indicating whether compression has to * be enabled. * @member {string} [initialReplicationMethod] A value indicating whether IR is * online. * @member {string} [onlineReplicationStartTime] A value indicating the online * IR start time. * @member {string} [offlineReplicationImportPath] A value indicating the * offline IR import path. * @member {string} [offlineReplicationExportPath] A value indicating the * offline IR export path. * @member {number} [replicationPort] A value indicating the recovery HTTPS * port. * @member {number} [allowedAuthenticationType] A value indicating the * authentication type. * @member {string} [replicaDeletionOption] A value indicating whether the VM * has to be auto deleted. Supported Values: String.Empty, None, * OnRecoveryCloud */ export interface HyperVReplicaBasePolicyDetails extends PolicyProviderSpecificDetails { recoveryPoints?: number; applicationConsistentSnapshotFrequencyInHours?: number; compression?: string; initialReplicationMethod?: string; onlineReplicationStartTime?: string; offlineReplicationImportPath?: string; offlineReplicationExportPath?: string; replicationPort?: number; allowedAuthenticationType?: number; replicaDeletionOption?: string; } /** * @class * Initializes a new instance of the HyperVReplicaBaseReplicationDetails class. * @constructor * Hyper V replica provider specific settings base class. * * @member {date} [lastReplicatedTime] The Last replication time. * @member {array} [vmNics] The PE Network details. * @member {string} [vmId] The virtual machine Id. * @member {string} [vmProtectionState] The protection state for the vm. * @member {string} [vmProtectionStateDescription] The protection state * description for the vm. * @member {object} [initialReplicationDetails] Initial replication details. * @member {string} [initialReplicationDetails.initialReplicationType] Initial * replication type. * @member {string} * [initialReplicationDetails.initialReplicationProgressPercentage] The initial * replication progress percentage. * @member {array} [vMDiskDetails] VM disk details. */ export interface HyperVReplicaBaseReplicationDetails extends ReplicationProviderSpecificSettings { lastReplicatedTime?: Date; vmNics?: VMNicDetails[]; vmId?: string; vmProtectionState?: string; vmProtectionStateDescription?: string; initialReplicationDetails?: InitialReplicationDetails; vMDiskDetails?: DiskDetails[]; } /** * @class * Initializes a new instance of the HyperVReplicaBluePolicyDetails class. * @constructor * Hyper-V Replica Blue specific protection profile details. * * @member {number} [replicationFrequencyInSeconds] A value indicating the * replication interval. * @member {number} [recoveryPoints] A value indicating the number of recovery * points. * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value * indicating the application consistent frequency. * @member {string} [compression] A value indicating whether compression has to * be enabled. * @member {string} [initialReplicationMethod] A value indicating whether IR is * online. * @member {string} [onlineReplicationStartTime] A value indicating the online * IR start time. * @member {string} [offlineReplicationImportPath] A value indicating the * offline IR import path. * @member {string} [offlineReplicationExportPath] A value indicating the * offline IR export path. * @member {number} [replicationPort] A value indicating the recovery HTTPS * port. * @member {number} [allowedAuthenticationType] A value indicating the * authentication type. * @member {string} [replicaDeletionOption] A value indicating whether the VM * has to be auto deleted. Supported Values: String.Empty, None, * OnRecoveryCloud */ export interface HyperVReplicaBluePolicyDetails extends PolicyProviderSpecificDetails { replicationFrequencyInSeconds?: number; recoveryPoints?: number; applicationConsistentSnapshotFrequencyInHours?: number; compression?: string; initialReplicationMethod?: string; onlineReplicationStartTime?: string; offlineReplicationImportPath?: string; offlineReplicationExportPath?: string; replicationPort?: number; allowedAuthenticationType?: number; replicaDeletionOption?: string; } /** * @class * Initializes a new instance of the HyperVReplicaBluePolicyInput class. * @constructor * HyperV Replica Blue policy input. * * @member {number} [replicationFrequencyInSeconds] A value indicating the * replication interval. * @member {number} [recoveryPoints] A value indicating the number of recovery * points. * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value * indicating the application consistent frequency. * @member {string} [compression] A value indicating whether compression has to * be enabled. * @member {string} [initialReplicationMethod] A value indicating whether IR is * online. * @member {string} [onlineReplicationStartTime] A value indicating the online * IR start time. * @member {string} [offlineReplicationImportPath] A value indicating the * offline IR import path. * @member {string} [offlineReplicationExportPath] A value indicating the * offline IR export path. * @member {number} [replicationPort] A value indicating the recovery HTTPS * port. * @member {number} [allowedAuthenticationType] A value indicating the * authentication type. * @member {string} [replicaDeletion] A value indicating whether the VM has to * be auto deleted. */ export interface HyperVReplicaBluePolicyInput extends PolicyProviderSpecificInput { replicationFrequencyInSeconds?: number; recoveryPoints?: number; applicationConsistentSnapshotFrequencyInHours?: number; compression?: string; initialReplicationMethod?: string; onlineReplicationStartTime?: string; offlineReplicationImportPath?: string; offlineReplicationExportPath?: string; replicationPort?: number; allowedAuthenticationType?: number; replicaDeletion?: string; } /** * @class * Initializes a new instance of the HyperVReplicaBlueReplicationDetails class. * @constructor * HyperV replica 2012 R2 (Blue) replication details. * * @member {date} [lastReplicatedTime] The Last replication time. * @member {array} [vmNics] The PE Network details. * @member {string} [vmId] The virtual machine Id. * @member {string} [vmProtectionState] The protection state for the vm. * @member {string} [vmProtectionStateDescription] The protection state * description for the vm. * @member {object} [initialReplicationDetails] Initial replication details. * @member {string} [initialReplicationDetails.initialReplicationType] Initial * replication type. * @member {string} * [initialReplicationDetails.initialReplicationProgressPercentage] The initial * replication progress percentage. * @member {array} [vMDiskDetails] VM disk details. */ export interface HyperVReplicaBlueReplicationDetails extends ReplicationProviderSpecificSettings { lastReplicatedTime?: Date; vmNics?: VMNicDetails[]; vmId?: string; vmProtectionState?: string; vmProtectionStateDescription?: string; initialReplicationDetails?: InitialReplicationDetails; vMDiskDetails?: DiskDetails[]; } /** * @class * Initializes a new instance of the HyperVReplicaPolicyDetails class. * @constructor * Hyper-V Replica Blue specific protection profile details. * * @member {number} [recoveryPoints] A value indicating the number of recovery * points. * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value * indicating the application consistent frequency. * @member {string} [compression] A value indicating whether compression has to * be enabled. * @member {string} [initialReplicationMethod] A value indicating whether IR is * online. * @member {string} [onlineReplicationStartTime] A value indicating the online * IR start time. * @member {string} [offlineReplicationImportPath] A value indicating the * offline IR import path. * @member {string} [offlineReplicationExportPath] A value indicating the * offline IR export path. * @member {number} [replicationPort] A value indicating the recovery HTTPS * port. * @member {number} [allowedAuthenticationType] A value indicating the * authentication type. * @member {string} [replicaDeletionOption] A value indicating whether the VM * has to be auto deleted. Supported Values: String.Empty, None, * OnRecoveryCloud */ export interface HyperVReplicaPolicyDetails extends PolicyProviderSpecificDetails { recoveryPoints?: number; applicationConsistentSnapshotFrequencyInHours?: number; compression?: string; initialReplicationMethod?: string; onlineReplicationStartTime?: string; offlineReplicationImportPath?: string; offlineReplicationExportPath?: string; replicationPort?: number; allowedAuthenticationType?: number; replicaDeletionOption?: string; } /** * @class * Initializes a new instance of the HyperVReplicaPolicyInput class. * @constructor * Hyper-V Replica specific policy Input. * * @member {number} [recoveryPoints] A value indicating the number of recovery * points. * @member {number} [applicationConsistentSnapshotFrequencyInHours] A value * indicating the application consistent frequency. * @member {string} [compression] A value indicating whether compression has to * be enabled. * @member {string} [initialReplicationMethod] A value indicating whether IR is * online. * @member {string} [onlineReplicationStartTime] A value indicating the online * IR start time. * @member {string} [offlineReplicationImportPath] A value indicating the * offline IR import path. * @member {string} [offlineReplicationExportPath] A value indicating the * offline IR export path. * @member {number} [replicationPort] A value indicating the recovery HTTPS * port. * @member {number} [allowedAuthenticationType] A value indicating the * authentication type. * @member {string} [replicaDeletion] A value indicating whether the VM has to * be auto deleted. */ export interface HyperVReplicaPolicyInput extends PolicyProviderSpecificInput { recoveryPoints?: number; applicationConsistentSnapshotFrequencyInHours?: number; compression?: string; initialReplicationMethod?: string; onlineReplicationStartTime?: string; offlineReplicationImportPath?: string; offlineReplicationExportPath?: string; replicationPort?: number; allowedAuthenticationType?: number; replicaDeletion?: string; } /** * @class * Initializes a new instance of the HyperVReplicaReplicationDetails class. * @constructor * HyperV replica 2012 replication details. * * @member {date} [lastReplicatedTime] The Last replication time. * @member {array} [vmNics] The PE Network details. * @member {string} [vmId] The virtual machine Id. * @member {string} [vmProtectionState] The protection state for the vm. * @member {string} [vmProtectionStateDescription] The protection state * description for the vm. * @member {object} [initialReplicationDetails] Initial replication details. * @member {string} [initialReplicationDetails.initialReplicationType] Initial * replication type. * @member {string} * [initialReplicationDetails.initialReplicationProgressPercentage] The initial * replication progress percentage. * @member {array} [vMDiskDetails] VM disk details. */ export interface HyperVReplicaReplicationDetails extends ReplicationProviderSpecificSettings { lastReplicatedTime?: Date; vmNics?: VMNicDetails[]; vmId?: string; vmProtectionState?: string; vmProtectionStateDescription?: string; initialReplicationDetails?: InitialReplicationDetails; vMDiskDetails?: DiskDetails[]; } /** * @class * Initializes a new instance of the HyperVSiteDetails class. * @constructor * HyperVSite fabric specific details. * */ export interface HyperVSiteDetails extends FabricSpecificDetails { } /** * @class * Initializes a new instance of the HyperVVirtualMachineDetails class. * @constructor * Single Host fabric provider specific VM settings. * * @member {string} [sourceItemId] The source id of the object. * @member {string} [generation] The id of the object in fabric. * @member {object} [osDetails] The Last replication time. * @member {string} [osDetails.osType] VM Disk details. * @member {string} [osDetails.productType] Product type. * @member {string} [osDetails.osEdition] The OSEdition. * @member {string} [osDetails.oSVersion] The OS Version. * @member {string} [osDetails.oSMajorVersion] The OS Major Version. * @member {string} [osDetails.oSMinorVersion] The OS Minor Version. * @member {array} [diskDetails] The Last successful failover time. * @member {string} [hasPhysicalDisk] A value indicating whether the VM has a * physical disk attached. String value of {SrsDataContract.PresenceStatus} * enum. Possible values include: 'Unknown', 'Present', 'NotPresent' * @member {string} [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' * @member {string} [hasSharedVhd] A value indicating whether the VM has a * shared VHD attached. String value of {SrsDataContract.PresenceStatus} enum. * Possible values include: 'Unknown', 'Present', 'NotPresent' */ export interface HyperVVirtualMachineDetails extends ConfigurationSettings { sourceItemId?: string; generation?: string; osDetails?: OSDetails; diskDetails?: DiskDetails[]; hasPhysicalDisk?: string; hasFibreChannelAdapter?: string; hasSharedVhd?: string; } /** * @class * Initializes a new instance of the IdentityInformation class. * @constructor * Identity details. * * @member {string} [identityProviderType] The identity provider type. Value is * the ToString() of a IdentityProviderType value. Possible values include: * 'RecoveryServicesActiveDirectory' * @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. * @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. * @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. * @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. * @member {string} [aadAuthority] The base authority for Azure Active * Directory authentication. * @member {string} [certificateThumbprint] The certificate thumbprint. * Applicable only if IdentityProviderType is RecoveryServicesActiveDirectory. */ export interface IdentityInformation { identityProviderType?: string; tenantId?: string; applicationId?: string; objectId?: string; audience?: string; aadAuthority?: string; certificateThumbprint?: string; } /** * @class * Initializes a new instance of the InlineWorkflowTaskDetails class. * @constructor * This class represents the inline workflow task details. * * @member {array} [workflowIds] The list of child workflow ids. */ export interface InlineWorkflowTaskDetails extends GroupTaskDetails { workflowIds?: string[]; } /** * @class * Initializes a new instance of the InMageAgentDetails class. * @constructor * The details of the InMage agent. * * @member {string} [agentVersion] The agent version. * @member {string} [agentUpdateStatus] A value indicating whether installed * agent needs to be updated. * @member {string} [postUpdateRebootStatus] A value indicating whether reboot * is required after update is applied. * @member {date} [agentExpiryDate] Agent expiry date. */ export interface InMageAgentDetails { agentVersion?: string; agentUpdateStatus?: string; postUpdateRebootStatus?: string; agentExpiryDate?: Date; } /** * @class * Initializes a new instance of the InMageAgentVersionDetails class. * @constructor * InMage agent version details. * * @member {string} [postUpdateRebootStatus] A value indicating whether reboot * is required after update is applied. * @member {string} [version] The agent version. * @member {date} [expiryDate] Version expiry date. * @member {string} [status] A value indicating whether security update * required. Possible values include: 'Supported', 'NotSupported', * 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' */ export interface InMageAgentVersionDetails { postUpdateRebootStatus?: string; version?: string; expiryDate?: Date; status?: string; } /** * @class * Initializes a new instance of the InMageAzureV2ApplyRecoveryPointInput class. * @constructor * ApplyRecoveryPoint input specific to InMageAzureV2 provider. * * @member {string} [vaultLocation] The vault location where the recovery Vm * resides. */ export interface InMageAzureV2ApplyRecoveryPointInput extends ApplyRecoveryPointProviderSpecificInput { vaultLocation?: string; } /** * @class * Initializes a new instance of the InMageAzureV2EnableProtectionInput class. * @constructor * VMware Azure specific enable protection input. * * @member {string} [masterTargetId] The Master target Id. * @member {string} [processServerId] The Process Server Id. * @member {string} storageAccountId The storage account name. * @member {string} [runAsAccountId] The CS account Id. * @member {string} [multiVmGroupId] The multi vm group Id. * @member {string} [multiVmGroupName] The multi vm group name. * @member {array} [disksToInclude] The disks to include list. * @member {string} [targetAzureNetworkId] The selected target Azure network * Id. * @member {string} [targetAzureSubnetId] The selected target Azure subnet Id. * @member {string} [enableRdpOnTargetOption] The selected option to enable * RDP\SSH on target vm after failover. String value of * {SrsDataContract.EnableRDPOnTargetOption} enum. * @member {string} [targetAzureVmName] The target azure Vm Name. * @member {string} [logStorageAccountId] The storage account to be used for * logging during replication. * @member {string} [targetAzureV1ResourceGroupId] The Id of the target * resource group (for classic deployment) in which the failover VM is to be * created. * @member {string} [targetAzureV2ResourceGroupId] The Id of the target * resource group (for resource manager deployment) in which the failover VM is * to be created. * @member {string} [useManagedDisks] A value indicating whether managed disks * should be used during failover. */ export interface InMageAzureV2EnableProtectionInput extends EnableProtectionProviderSpecificInput { masterTargetId?: string; processServerId?: string; storageAccountId: string; runAsAccountId?: string; multiVmGroupId?: string; multiVmGroupName?: string; disksToInclude?: string[]; targetAzureNetworkId?: string; targetAzureSubnetId?: string; enableRdpOnTargetOption?: string; targetAzureVmName?: string; logStorageAccountId?: string; targetAzureV1ResourceGroupId?: string; targetAzureV2ResourceGroupId?: string; useManagedDisks?: string; } /** * @class * Initializes a new instance of the InMageAzureV2EventDetails class. * @constructor * Model class for event details of a VMwareAzureV2 event. * * @member {string} [eventType] InMage Event type. Takes one of the values of * {InMageDataContract.InMageMonitoringEventType}. * @member {string} [category] InMage Event Category. * @member {string} [component] InMage Event Component. * @member {string} [correctiveAction] Corrective Action string for the event. * @member {string} [details] InMage Event Details. * @member {string} [summary] InMage Event Summary. * @member {string} [siteName] VMware Site name. */ export interface InMageAzureV2EventDetails extends EventProviderSpecificDetails { eventType?: string; category?: string; component?: string; correctiveAction?: string; details?: string; summary?: string; siteName?: string; } /** * @class * Initializes a new instance of the InMageAzureV2FailoverProviderInput class. * @constructor * InMageAzureV2 provider specific input for failover. * * @member {string} [vaultLocation] Location of the vault. * @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. */ export interface InMageAzureV2FailoverProviderInput extends ProviderSpecificFailoverInput { vaultLocation?: string; recoveryPointId?: string; } /** * @class * Initializes a new instance of the InMageAzureV2PolicyDetails class. * @constructor * InMage Azure v2 specific protection profile details. * * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent * snapshot frequency in minutes. * @member {number} [recoveryPointThresholdInMinutes] The recovery point * threshold in minutes. * @member {number} [recoveryPointHistory] The duration in minutes until which * the recovery points need to be stored. * @member {number} [appConsistentFrequencyInMinutes] The app consistent * snapshot frequency in minutes. * @member {string} [multiVmSyncStatus] A value indicating whether multi-VM * sync has to be enabled. */ export interface InMageAzureV2PolicyDetails extends PolicyProviderSpecificDetails { crashConsistentFrequencyInMinutes?: number; recoveryPointThresholdInMinutes?: number; recoveryPointHistory?: number; appConsistentFrequencyInMinutes?: number; multiVmSyncStatus?: string; } /** * @class * Initializes a new instance of the InMageAzureV2PolicyInput class. * @constructor * VMWare Azure specific policy Input. * * @member {number} [recoveryPointThresholdInMinutes] The recovery point * threshold in minutes. * @member {number} [recoveryPointHistory] The duration in minutes until which * the recovery points need to be stored. * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent * snapshot frequency (in minutes). * @member {number} [appConsistentFrequencyInMinutes] The app consistent * snapshot frequency (in minutes). * @member {string} multiVmSyncStatus A value indicating whether multi-VM sync * has to be enabled. Value should be 'Enabled' or 'Disabled'. Possible values * include: 'Enable', 'Disable' */ export interface InMageAzureV2PolicyInput extends PolicyProviderSpecificInput { recoveryPointThresholdInMinutes?: number; recoveryPointHistory?: number; crashConsistentFrequencyInMinutes?: number; appConsistentFrequencyInMinutes?: number; multiVmSyncStatus: string; } /** * @class * Initializes a new instance of the InMageAzureV2ProtectedDiskDetails class. * @constructor * InMageAzureV2 protected disk details. * * @member {string} [diskId] The disk id. * @member {string} [diskName] The disk name. * @member {string} [protectionStage] The protection stage. * @member {string} [healthErrorCode] The health error code for the disk. * @member {number} [rpoInSeconds] The RPO in seconds. * @member {string} [resyncRequired] A value indicating whether resync is * required for this disk. * @member {number} [resyncProgressPercentage] The resync progress percentage. * @member {number} [resyncDurationInSeconds] The resync duration in seconds. * @member {number} [diskCapacityInBytes] The disk capacity in bytes. * @member {number} [fileSystemCapacityInBytes] The disk file system capacity * in bytes. * @member {number} [sourceDataInMegaBytes] The source data transit in MB. * @member {number} [psDataInMegaBytes] The PS data transit in MB. * @member {number} [targetDataInMegaBytes] The target data transit in MB. * @member {string} [diskResized] A value indicating whether disk is resized. * @member {date} [lastRpoCalculatedTime] The last RPO calculated time. */ export interface InMageAzureV2ProtectedDiskDetails { diskId?: string; diskName?: string; protectionStage?: string; healthErrorCode?: string; rpoInSeconds?: number; resyncRequired?: string; resyncProgressPercentage?: number; resyncDurationInSeconds?: number; diskCapacityInBytes?: number; fileSystemCapacityInBytes?: number; sourceDataInMegaBytes?: number; psDataInMegaBytes?: number; targetDataInMegaBytes?: number; diskResized?: string; lastRpoCalculatedTime?: Date; } /** * @class * Initializes a new instance of the InMageAzureV2RecoveryPointDetails class. * @constructor * InMage Azure V2 provider specific recovery point details. * * @member {string} [isMultiVmSyncPoint] A value indicating whether the * recovery point is multi VM consistent. */ export interface InMageAzureV2RecoveryPointDetails extends ProviderSpecificRecoveryPointDetails { isMultiVmSyncPoint?: string; } /** * @class * Initializes a new instance of the InMageAzureV2ReplicationDetails class. * @constructor * InMageAzureV2 provider specific settings * * @member {string} [infrastructureVmId] The infrastructure VM Id. * @member {string} [vCenterInfrastructureId] The vCenter infrastructure Id. * @member {string} [protectionStage] The protection stage. * @member {string} [vmId] The virtual machine Id. * @member {string} [vmProtectionState] The protection state for the vm. * @member {string} [vmProtectionStateDescription] The protection state * description for the vm. * @member {number} [resyncProgressPercentage] The resync progress percentage. * @member {number} [rpoInSeconds] The RPO in seconds. * @member {number} [compressedDataRateInMB] The compressed data change rate in * MB. * @member {number} [uncompressedDataRateInMB] The uncompressed data change * rate in MB. * @member {string} [ipAddress] The source IP address. * @member {string} [agentVersion] The agent version. * @member {date} [agentExpiryDate] Agent expiry date. * @member {string} [isAgentUpdateRequired] A value indicating whether * installed agent needs to be updated. * @member {string} [isRebootAfterUpdateRequired] A value indicating whether * the source server requires a restart after update. * @member {date} [lastHeartbeat] The last heartbeat received from the source * server. * @member {string} [processServerId] The process server Id. * @member {string} [multiVmGroupId] The multi vm group Id. * @member {string} [multiVmGroupName] The multi vm group name. * @member {string} [multiVmSyncStatus] A value indicating whether multi vm * sync is enabled or disabled. * @member {array} [protectedDisks] The list of protected disks. * @member {string} [diskResized] A value indicating whether any disk is * resized for this VM. * @member {string} [masterTargetId] The master target Id. * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary * side. * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the primary * side. * @member {string} [osType] The type of the OS on the VM. * @member {string} [vhdName] The OS disk VHD name. * @member {string} [osDiskId] The id of the disk containing the OS. * @member {array} [azureVMDiskDetails] Azure VM Disk details. * @member {string} [recoveryAzureVMName] Recovery Azure given name. * @member {string} [recoveryAzureVMSize] The Recovery Azure VM size. * @member {string} [recoveryAzureStorageAccount] The recovery Azure storage * account. * @member {string} [recoveryAzureLogStorageAccountId] The ARM id of the log * storage account used for replication. This will be set to null if no log * storage account was provided during enable protection. * @member {array} [vmNics] The PE Network details. * @member {string} [selectedRecoveryAzureNetworkId] The selected recovery * azure network Id. * @member {string} [selectedSourceNicId] The selected source nic Id which will * be used as the primary nic during failover. * @member {string} [discoveryType] A value indicating the discovery type of * the machine. Value can be vCenter or physical. * @member {string} [enableRdpOnTargetOption] The selected option to enable * RDP\SSH on target vm after failover. String value of * {SrsDataContract.EnableRDPOnTargetOption} enum. * @member {array} [datastores] The datastores of the on-premise machine. Value * can be list of strings that contain datastore names. * @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. * @member {string} [recoveryAzureResourceGroupId] The target resource group * Id. * @member {string} [recoveryAvailabilitySetId] The recovery availability set * Id. * @member {string} [useManagedDisks] A value indicating whether managed disks * should be used during failover. * @member {string} [licenseType] License Type of the VM to be used. * @member {array} [validationErrors] The validation errors of the on-premise * machine Value can be list of validation errors. * @member {date} [lastRpoCalculatedTime] The last RPO calculated time. * @member {date} [lastUpdateReceivedTime] The last update time received from * on-prem components. * @member {string} [replicaId] The replica id of the protected item. * @member {string} [osVersion] The OS Version of the protected item. */ export interface InMageAzureV2ReplicationDetails extends ReplicationProviderSpecificSettings { infrastructureVmId?: string; vCenterInfrastructureId?: string; protectionStage?: string; vmId?: string; vmProtectionState?: string; vmProtectionStateDescription?: string; resyncProgressPercentage?: number; rpoInSeconds?: number; compressedDataRateInMB?: number; uncompressedDataRateInMB?: number; ipAddress?: string; agentVersion?: string; agentExpiryDate?: Date; isAgentUpdateRequired?: string; isRebootAfterUpdateRequired?: string; lastHeartbeat?: Date; processServerId?: string; multiVmGroupId?: string; multiVmGroupName?: string; multiVmSyncStatus?: string; protectedDisks?: InMageAzureV2ProtectedDiskDetails[]; diskResized?: string; masterTargetId?: string; sourceVmCpuCount?: number; sourceVmRamSizeInMB?: number; osType?: string; vhdName?: string; osDiskId?: string; azureVMDiskDetails?: AzureVmDiskDetails[]; recoveryAzureVMName?: string; recoveryAzureVMSize?: string; recoveryAzureStorageAccount?: string; recoveryAzureLogStorageAccountId?: string; vmNics?: VMNicDetails[]; selectedRecoveryAzureNetworkId?: string; selectedSourceNicId?: string; discoveryType?: string; enableRdpOnTargetOption?: string; datastores?: string[]; targetVmId?: string; recoveryAzureResourceGroupId?: string; recoveryAvailabilitySetId?: string; useManagedDisks?: string; licenseType?: string; validationErrors?: HealthError[]; lastRpoCalculatedTime?: Date; lastUpdateReceivedTime?: Date; replicaId?: string; osVersion?: string; } /** * @class * Initializes a new instance of the InMageAzureV2ReprotectInput class. * @constructor * InMageAzureV2 specific provider input. * * @member {string} [masterTargetId] The Master target Id. * @member {string} [processServerId] The Process Server Id. * @member {string} [storageAccountId] The storage account id. * @member {string} [runAsAccountId] The CS account Id. * @member {string} [policyId] The Policy Id. * @member {string} [logStorageAccountId] The storage account to be used for * logging during replication. * @member {array} [disksToInclude] The disks to include list. */ export interface InMageAzureV2ReprotectInput extends ReverseReplicationProviderSpecificInput { masterTargetId?: string; processServerId?: string; storageAccountId?: string; runAsAccountId?: string; policyId?: string; logStorageAccountId?: string; disksToInclude?: string[]; } /** * @class * Initializes a new instance of the InMageAzureV2UpdateReplicationProtectedItemInput class. * @constructor * InMage Azure V2 input to update replication protected item. * * @member {string} [recoveryAzureV1ResourceGroupId] The recovery Azure * resource group Id for classic deployment. * @member {string} [recoveryAzureV2ResourceGroupId] The recovery Azure * resource group Id for resource manager deployment. * @member {string} [useManagedDisks] A value indicating whether managed disks * should be used during failover. */ export interface InMageAzureV2UpdateReplicationProtectedItemInput extends UpdateReplicationProtectedItemProviderInput { recoveryAzureV1ResourceGroupId?: string; recoveryAzureV2ResourceGroupId?: string; useManagedDisks?: string; } /** * @class * Initializes a new instance of the InMageBasePolicyDetails class. * @constructor * Base class for the policies of providers using InMage replication. * * @member {number} [recoveryPointThresholdInMinutes] The recovery point * threshold in minutes. * @member {number} [recoveryPointHistory] The duration in minutes until which * the recovery points need to be stored. * @member {number} [appConsistentFrequencyInMinutes] The app consistent * snapshot frequency in minutes. * @member {string} [multiVmSyncStatus] A value indicating whether multi-VM * sync has to be enabled. */ export interface InMageBasePolicyDetails extends PolicyProviderSpecificDetails { recoveryPointThresholdInMinutes?: number; recoveryPointHistory?: number; appConsistentFrequencyInMinutes?: number; multiVmSyncStatus?: string; } /** * @class * Initializes a new instance of the InMageDisableProtectionProviderSpecificInput class. * @constructor * InMage disable protection provider specific input. * * @member {string} [replicaVmDeletionStatus] A value indicating whether the * replica VM should be destroyed or retained. Values from Delete and Retain. */ export interface InMageDisableProtectionProviderSpecificInput extends DisableProtectionProviderSpecificInput { replicaVmDeletionStatus?: string; } /** * @class * Initializes a new instance of the InMageDiskDetails class. * @constructor * VMware/Physical specific Disk Details * * @member {string} [diskId] The disk Id. * @member {string} [diskName] The disk name. * @member {string} [diskSizeInMB] The disk size in MB. * @member {string} [diskType] Whether disk is system disk or data disk. * @member {string} [diskConfiguration] Whether disk is dynamic disk or basic * disk. * @member {array} [volumeList] Volumes of the disk. */ export interface InMageDiskDetails { diskId?: string; diskName?: string; diskSizeInMB?: string; diskType?: string; diskConfiguration?: string; volumeList?: DiskVolumeDetails[]; } /** * @class * Initializes a new instance of the InMageVolumeExclusionOptions class. * @constructor * Guest disk signature based disk exclusion option when doing enable * protection of virtual machine in InMage provider. * * @member {string} [volumeLabel] The volume label. The disk having any volume * with this label will be excluded from replication. * @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. */ export interface InMageVolumeExclusionOptions { volumeLabel?: string; onlyExcludeIfSingleVolume?: string; } /** * @class * Initializes a new instance of the InMageDiskSignatureExclusionOptions class. * @constructor * Guest disk signature based disk exclusion option when doing enable * protection of virtual machine in InMage provider. * * @member {string} [diskSignature] The guest signature of disk to be excluded * from replication. */ export interface InMageDiskSignatureExclusionOptions { diskSignature?: string; } /** * @class * Initializes a new instance of the InMageDiskExclusionInput class. * @constructor * DiskExclusionInput when doing enable protection of virtual machine in InMage * provider. * * @member {array} [volumeOptions] The volume label based option for disk * exclusion. * @member {array} [diskSignatureOptions] The guest disk signature based option * for disk exclusion. */ export interface InMageDiskExclusionInput { volumeOptions?: InMageVolumeExclusionOptions[]; diskSignatureOptions?: InMageDiskSignatureExclusionOptions[]; } /** * @class * Initializes a new instance of the InMageEnableProtectionInput class. * @constructor * VMware Azure specific enable protection input. * * @member {string} [vmFriendlyName] The Vm Name. * @member {string} masterTargetId The Master Target Id. * @member {string} processServerId The Process Server Id. * @member {string} retentionDrive The retention drive to use on the MT. * @member {string} [runAsAccountId] The CS account Id. * @member {string} multiVmGroupId The multi vm group Id. * @member {string} multiVmGroupName The multi vm group name. * @member {string} [datastoreName] The target datastore name. * @member {object} [diskExclusionInput] The enable disk exclusion input. * @member {array} [diskExclusionInput.volumeOptions] The volume label based * option for disk exclusion. * @member {array} [diskExclusionInput.diskSignatureOptions] The guest disk * signature based option for disk exclusion. * @member {array} [disksToInclude] The disks to include list. */ export interface InMageEnableProtectionInput extends EnableProtectionProviderSpecificInput { vmFriendlyName?: string; masterTargetId: string; processServerId: string; retentionDrive: string; runAsAccountId?: string; multiVmGroupId: string; multiVmGroupName: string; datastoreName?: string; diskExclusionInput?: InMageDiskExclusionInput; disksToInclude?: string[]; } /** * @class * Initializes a new instance of the InMageFailoverProviderInput class. * @constructor * Provider specific input for InMage failover. * * @member {string} [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' * @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. */ export interface InMageFailoverProviderInput extends ProviderSpecificFailoverInput { recoveryPointType?: string; recoveryPointId?: string; } /** * @class * Initializes a new instance of the InMagePolicyDetails class. * @constructor * InMage specific protection profile details. * * @member {number} [recoveryPointThresholdInMinutes] The recovery point * threshold in minutes. * @member {number} [recoveryPointHistory] The duration in minutes until which * the recovery points need to be stored. * @member {number} [appConsistentFrequencyInMinutes] The app consistent * snapshot frequency in minutes. * @member {string} [multiVmSyncStatus] A value indicating whether multi-VM * sync has to be enabled. */ export interface InMagePolicyDetails extends PolicyProviderSpecificDetails { recoveryPointThresholdInMinutes?: number; recoveryPointHistory?: number; appConsistentFrequencyInMinutes?: number; multiVmSyncStatus?: string; } /** * @class * Initializes a new instance of the InMagePolicyInput class. * @constructor * VMWare Azure specific protection profile Input. * * @member {number} [recoveryPointThresholdInMinutes] The recovery point * threshold in minutes. * @member {number} [recoveryPointHistory] The duration in minutes until which * the recovery points need to be stored. * @member {number} [appConsistentFrequencyInMinutes] The app consistent * snapshot frequency (in minutes). * @member {string} multiVmSyncStatus A value indicating whether multi-VM sync * has to be enabled. Value should be 'Enabled' or 'Disabled'. Possible values * include: 'Enable', 'Disable' */ export interface InMagePolicyInput extends PolicyProviderSpecificInput { recoveryPointThresholdInMinutes?: number; recoveryPointHistory?: number; appConsistentFrequencyInMinutes?: number; multiVmSyncStatus: string; } /** * @class * Initializes a new instance of the InMageProtectedDiskDetails class. * @constructor * InMage protected disk details. * * @member {string} [diskId] The disk id. * @member {string} [diskName] The disk name. * @member {string} [protectionStage] The protection stage. * @member {string} [healthErrorCode] The health error code for the disk. * @member {number} [rpoInSeconds] The RPO in seconds. * @member {string} [resyncRequired] A value indicating whether resync is * required for this disk. * @member {number} [resyncProgressPercentage] The resync progress percentage. * @member {number} [resyncDurationInSeconds] The resync duration in seconds. * @member {number} [diskCapacityInBytes] The disk capacity in bytes. * @member {number} [fileSystemCapacityInBytes] The file system capacity in * bytes. * @member {number} [sourceDataInMB] The source data transit in MB. * @member {number} [psDataInMB] The PS data transit in MB. * @member {number} [targetDataInMB] The target data transit in MB. * @member {string} [diskResized] A value indicating whether disk is resized. * @member {date} [lastRpoCalculatedTime] The last RPO calculated time. */ export interface InMageProtectedDiskDetails { diskId?: string; diskName?: string; protectionStage?: string; healthErrorCode?: string; rpoInSeconds?: number; resyncRequired?: string; resyncProgressPercentage?: number; resyncDurationInSeconds?: number; diskCapacityInBytes?: number; fileSystemCapacityInBytes?: number; sourceDataInMB?: number; psDataInMB?: number; targetDataInMB?: number; diskResized?: string; lastRpoCalculatedTime?: Date; } /** * @class * Initializes a new instance of the OSDiskDetails class. * @constructor * Details of the OS Disk. * * @member {string} [osVhdId] The id of the disk containing the OS. * @member {string} [osType] The type of the OS on the VM. * @member {string} [vhdName] The OS disk VHD name. */ export interface OSDiskDetails { osVhdId?: string; osType?: string; vhdName?: string; } /** * @class * Initializes a new instance of the InMageReplicationDetails class. * @constructor * InMage provider specific settings * * @member {string} [activeSiteType] The active location of the VM. If the VM * is being protected from Azure, this field will take values from { Azure, * OnPrem }. If the VM is being protected between two data-centers, this field * will be OnPrem always. * @member {number} [sourceVmCpuCount] The CPU count of the VM on the primary * side. * @member {number} [sourceVmRamSizeInMB] The RAM size of the VM on the primary * side. * @member {object} [osDetails] The OS details. * @member {string} [osDetails.osVhdId] The id of the disk containing the OS. * @member {string} [osDetails.osType] The type of the OS on the VM. * @member {string} [osDetails.vhdName] The OS disk VHD name. * @member {string} [protectionStage] The protection stage. * @member {string} [vmId] The virtual machine Id. * @member {string} [vmProtectionState] The protection state for the vm. * @member {string} [vmProtectionStateDescription] The protection state * description for the vm. * @member {object} [resyncDetails] The resync details of the machine * @member {string} [resyncDetails.initialReplicationType] Initial replication * type. * @member {string} [resyncDetails.initialReplicationProgressPercentage] The * initial replication progress percentage. * @member {date} [retentionWindowStart] The retention window start time. * @member {date} [retentionWindowEnd] The retention window end time. * @member {number} [compressedDataRateInMB] The compressed data change rate in * MB. * @member {number} [uncompressedDataRateInMB] The uncompressed data change * rate in MB. * @member {number} [rpoInSeconds] The RPO in seconds. * @member {array} [protectedDisks] The list of protected disks. * @member {string} [ipAddress] The source IP address. * @member {date} [lastHeartbeat] The last heartbeat received from the source * server. * @member {string} [processServerId] The process server Id. * @member {string} [masterTargetId] The master target Id. * @member {object} [consistencyPoints] The collection of Consistency points. * @member {string} [diskResized] A value indicating whether any disk is * resized for this VM. * @member {string} [rebootAfterUpdateStatus] A value indicating whether the * source server requires a restart after update. * @member {string} [multiVmGroupId] The multi vm group Id, if any. * @member {string} [multiVmGroupName] The multi vm group name, if any. * @member {string} [multiVmSyncStatus] A value indicating whether the multi vm * sync is enabled or disabled. * @member {object} [agentDetails] The agent details. * @member {string} [agentDetails.agentVersion] The agent version. * @member {string} [agentDetails.agentUpdateStatus] A value indicating whether * installed agent needs to be updated. * @member {string} [agentDetails.postUpdateRebootStatus] A value indicating * whether reboot is required after update is applied. * @member {date} [agentDetails.agentExpiryDate] Agent expiry date. * @member {string} [vCenterInfrastructureId] The vCenter infrastructure Id. * @member {string} [infrastructureVmId] The infrastructure VM Id. * @member {array} [vmNics] The PE Network details. * @member {string} [discoveryType] A value indicating the discovery type of * the machine. * @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. * @member {array} [datastores] The datastores of the on-premise machine Value * can be list of strings that contain datastore names * @member {array} [validationErrors] The validation errors of the on-premise * machine Value can be list of validation errors * @member {date} [lastRpoCalculatedTime] The last RPO calculated time. * @member {date} [lastUpdateReceivedTime] The last update time received from * on-prem components. * @member {string} [replicaId] The replica id of the protected item. * @member {string} [osVersion] The OS Version of the protected item. */ export interface InMageReplicationDetails extends ReplicationProviderSpecificSettings { activeSiteType?: string; sourceVmCpuCount?: number; sourceVmRamSizeInMB?: number; osDetails?: OSDiskDetails; protectionStage?: string; vmId?: string; vmProtectionState?: string; vmProtectionStateDescription?: string; resyncDetails?: InitialReplicationDetails; retentionWindowStart?: Date; retentionWindowEnd?: Date; compressedDataRateInMB?: number; uncompressedDataRateInMB?: number; rpoInSeconds?: number; protectedDisks?: InMageProtectedDiskDetails[]; ipAddress?: string; lastHeartbeat?: Date; processServerId?: string; masterTargetId?: string; consistencyPoints?: { [propertyName: string]: Date }; diskResized?: string; rebootAfterUpdateStatus?: string; multiVmGroupId?: string; multiVmGroupName?: string; multiVmSyncStatus?: string; agentDetails?: InMageAgentDetails; vCenterInfrastructureId?: string; infrastructureVmId?: string; vmNics?: VMNicDetails[]; discoveryType?: string; azureStorageAccountId?: string; datastores?: string[]; validationErrors?: HealthError[]; lastRpoCalculatedTime?: Date; lastUpdateReceivedTime?: Date; replicaId?: string; osVersion?: string; } /** * @class * Initializes a new instance of the InMageReprotectInput class. * @constructor * InMageAzureV2 specific provider input. * * @member {string} masterTargetId The Master Target Id. * @member {string} processServerId The Process Server Id. * @member {string} retentionDrive The retention drive to use on the MT. * @member {string} [runAsAccountId] The CS account Id. * @member {string} [datastoreName] The target datastore name. * @member {object} [diskExclusionInput] The enable disk exclusion input. * @member {array} [diskExclusionInput.volumeOptions] The volume label based * option for disk exclusion. * @member {array} [diskExclusionInput.diskSignatureOptions] The guest disk * signature based option for disk exclusion. * @member {string} profileId The Policy Id. * @member {array} [disksToInclude] The disks to include list. */ export interface InMageReprotectInput extends ReverseReplicationProviderSpecificInput { masterTargetId: string; processServerId: string; retentionDrive: string; runAsAccountId?: string; datastoreName?: string; diskExclusionInput?: InMageDiskExclusionInput; profileId: string; disksToInclude?: string[]; } /** * @class * Initializes a new instance of the JobProperties class. * @constructor * Job custom data details. * * @member {string} [activityId] The activity id. * @member {string} [scenarioName] The ScenarioName. * @member {string} [friendlyName] The DisplayName. * @member {string} [state] The status of the Job. It is one of these values - * NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other. * @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. * @member {array} [tasks] The tasks. * @member {array} [errors] The errors. * @member {date} [startTime] The start time. * @member {date} [endTime] The end time. * @member {array} [allowedActions] The Allowed action the job. * @member {string} [targetObjectId] The affected Object Id. * @member {string} [targetObjectName] The name of the affected object. * @member {string} [targetInstanceType] The type of the affected object which * is of {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} class. * @member {object} [customDetails] The custom job details like test failover * job details. * @member {object} [customDetails.affectedObjectDetails] The affected object * properties like source server, source cloud, target server, target cloud * etc. based on the workflow object details. * @member {string} [customDetails.instanceType] Polymorphic Discriminator */ export interface JobProperties { activityId?: string; scenarioName?: string; friendlyName?: string; state?: string; stateDescription?: string; tasks?: ASRTask[]; errors?: JobErrorDetails[]; startTime?: Date; endTime?: Date; allowedActions?: string[]; targetObjectId?: string; targetObjectName?: string; targetInstanceType?: string; customDetails?: JobDetails; } /** * @class * Initializes a new instance of the Job class. * @constructor * Job details. * * @member {object} [properties] The custom data. * @member {string} [properties.activityId] The activity id. * @member {string} [properties.scenarioName] The ScenarioName. * @member {string} [properties.friendlyName] The DisplayName. * @member {string} [properties.state] The status of the Job. It is one of * these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, * Suspended or Other. * @member {string} [properties.stateDescription] The description of the state * of the Job. For e.g. - For Succeeded state, description can be Completed, * PartiallySucceeded, CompletedWithInformation or Skipped. * @member {array} [properties.tasks] The tasks. * @member {array} [properties.errors] The errors. * @member {date} [properties.startTime] The start time. * @member {date} [properties.endTime] The end time. * @member {array} [properties.allowedActions] The Allowed action the job. * @member {string} [properties.targetObjectId] The affected Object Id. * @member {string} [properties.targetObjectName] The name of the affected * object. * @member {string} [properties.targetInstanceType] The type of the affected * object which is of * {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} class. * @member {object} [properties.customDetails] The custom job details like test * failover job details. * @member {object} [properties.customDetails.affectedObjectDetails] The * affected object properties like source server, source cloud, target server, * target cloud etc. based on the workflow object details. * @member {string} [properties.customDetails.instanceType] Polymorphic * Discriminator */ export interface Job extends Resource { properties?: JobProperties; } /** * @class * Initializes a new instance of the JobQueryParameter class. * @constructor * Query parameter to enumerate jobs. * * @member {string} [startTime] Date time to get jobs from. * @member {string} [endTime] Date time to get jobs upto. * @member {string} [fabricId] The Id of the fabric to search jobs under. * @member {string} [affectedObjectTypes] The type of objects. * @member {string} [jobStatus] The states of the job to be filtered can be in. */ export interface JobQueryParameter { startTime?: string; endTime?: string; fabricId?: string; affectedObjectTypes?: string; jobStatus?: string; } /** * @class * Initializes a new instance of the JobStatusEventDetails class. * @constructor * Model class for event details of a job status event. * * @member {string} [jobId] Job arm id for the event. * @member {string} [jobFriendlyName] JobName for the Event. * @member {string} [jobStatus] JobStatus for the Event. * @member {string} [affectedObjectType] AffectedObjectType for the event. */ export interface JobStatusEventDetails extends EventSpecificDetails { jobId?: string; jobFriendlyName?: string; jobStatus?: string; affectedObjectType?: string; } /** * @class * Initializes a new instance of the JobTaskDetails class. * @constructor * This class represents a task which is actually a workflow so that one can * navigate to its individual drill down. * * @member {object} [jobTask] The job entity. * @member {string} [jobTask.jobId] The job id. * @member {string} [jobTask.jobFriendlyName] The job display name. * @member {string} [jobTask.targetObjectId] The object id. * @member {string} [jobTask.targetObjectName] The object name. * @member {string} [jobTask.targetInstanceType] The workflow affected object * type. * @member {string} [jobTask.jobScenarioName] The job name. Enum type * ScenarioName. */ export interface JobTaskDetails extends TaskTypeDetails { jobTask?: JobEntity; } /** * @class * Initializes a new instance of the LogicalNetworkProperties class. * @constructor * Logical Network Properties. * * @member {string} [friendlyName] The Friendly Name. * @member {string} [networkVirtualizationStatus] A value indicating whether * Network Virtualization is enabled for the logical network. * @member {string} [logicalNetworkUsage] A value indicating whether logical * network is used as private test network by test failover. * @member {string} [logicalNetworkDefinitionsStatus] A value indicating * whether logical network definitions are isolated. */ export interface LogicalNetworkProperties { friendlyName?: string; networkVirtualizationStatus?: string; logicalNetworkUsage?: string; logicalNetworkDefinitionsStatus?: string; } /** * @class * Initializes a new instance of the LogicalNetwork class. * @constructor * Logical network data model. * * @member {object} [properties] The Logical Network Properties. * @member {string} [properties.friendlyName] The Friendly Name. * @member {string} [properties.networkVirtualizationStatus] A value indicating * whether Network Virtualization is enabled for the logical network. * @member {string} [properties.logicalNetworkUsage] A value indicating whether * logical network is used as private test network by test failover. * @member {string} [properties.logicalNetworkDefinitionsStatus] A value * indicating whether logical network definitions are isolated. */ export interface LogicalNetwork extends Resource { properties?: LogicalNetworkProperties; } /** * @class * Initializes a new instance of the ManualActionTaskDetails class. * @constructor * This class represents the manual action task details. * * @member {string} [name] The name. * @member {string} [instructions] The instructions. * @member {string} [observation] The observation. */ export interface ManualActionTaskDetails extends TaskTypeDetails { name?: string; instructions?: string; observation?: string; } /** * @class * Initializes a new instance of the RetentionVolume class. * @constructor * The retention details of the MT. * * @member {string} [volumeName] The volume name. * @member {number} [capacityInBytes] The volume capacity. * @member {number} [freeSpaceInBytes] The free space available in this volume. * @member {number} [thresholdPercentage] The threshold percentage. */ export interface RetentionVolume { volumeName?: string; capacityInBytes?: number; freeSpaceInBytes?: number; thresholdPercentage?: number; } /** * @class * Initializes a new instance of the VersionDetails class. * @constructor * Version related details. * * @member {string} [version] The agent version. * @member {date} [expiryDate] Version expiry date. * @member {string} [status] A value indicating whether security update * required. Possible values include: 'Supported', 'NotSupported', * 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' */ export interface VersionDetails { version?: string; expiryDate?: Date; status?: string; } /** * @class * Initializes a new instance of the MasterTargetServer class. * @constructor * Details of a Master Target Server. * * @member {string} [id] The server Id. * @member {string} [ipAddress] The IP address of the server. * @member {string} [name] The server name. * @member {string} [osType] The OS type of the server. * @member {string} [agentVersion] The version of the scout component on the * server. * @member {date} [lastHeartbeat] The last heartbeat received from the server. * @member {string} [versionStatus] Version status * @member {array} [retentionVolumes] The retention volumes of Master target * Server. * @member {array} [dataStores] The list of data stores in the fabric. * @member {array} [validationErrors] Validation errors. * @member {array} [healthErrors] Health errors. * @member {number} [diskCount] Disk count of the master target. * @member {string} [osVersion] OS Version of the master target. * @member {date} [agentExpiryDate] Agent expiry date. * @member {string} [marsAgentVersion] MARS agent version. * @member {date} [marsAgentExpiryDate] MARS agent expiry date. * @member {object} [agentVersionDetails] Agent version details. * @member {string} [agentVersionDetails.version] The agent version. * @member {date} [agentVersionDetails.expiryDate] Version expiry date. * @member {string} [agentVersionDetails.status] A value indicating whether * security update required. Possible values include: 'Supported', * 'NotSupported', 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' * @member {object} [marsAgentVersionDetails] Mars agent version details. * @member {string} [marsAgentVersionDetails.version] The agent version. * @member {date} [marsAgentVersionDetails.expiryDate] Version expiry date. * @member {string} [marsAgentVersionDetails.status] A value indicating whether * security update required. Possible values include: 'Supported', * 'NotSupported', 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' */ export interface MasterTargetServer { id?: string; ipAddress?: string; name?: string; osType?: string; agentVersion?: string; lastHeartbeat?: Date; versionStatus?: string; retentionVolumes?: RetentionVolume[]; dataStores?: DataStore[]; validationErrors?: HealthError[]; healthErrors?: HealthError[]; diskCount?: number; osVersion?: string; agentExpiryDate?: Date; marsAgentVersion?: string; marsAgentExpiryDate?: Date; agentVersionDetails?: VersionDetails; marsAgentVersionDetails?: VersionDetails; } /** * @class * Initializes a new instance of the MobilityServiceUpdate class. * @constructor * The Mobility Service update details. * * @member {string} [version] The version of the latest update. * @member {string} [rebootStatus] The reboot status of the update - whether it * is required or not. * @member {string} [osType] The OS type. */ export interface MobilityServiceUpdate { version?: string; rebootStatus?: string; osType?: string; } /** * @class * Initializes a new instance of the Subnet class. * @constructor * Subnets of the network. * * @member {string} [name] The subnet name. * @member {string} [friendlyName] The subnet friendly name. * @member {array} [addressList] The list of addresses for the subnet. */ export interface Subnet { name?: string; friendlyName?: string; addressList?: string[]; } /** * @class * Initializes a new instance of the NetworkProperties class. * @constructor * Network Properties * * @member {string} [fabricType] The Fabric Type. * @member {array} [subnets] The List of subnets. * @member {string} [friendlyName] The Friendly Name. * @member {string} [networkType] The Network Type. */ export interface NetworkProperties { fabricType?: string; subnets?: Subnet[]; friendlyName?: string; networkType?: string; } /** * @class * Initializes a new instance of the Network class. * @constructor * Network model. * * @member {object} [properties] The Network Properties. * @member {string} [properties.fabricType] The Fabric Type. * @member {array} [properties.subnets] The List of subnets. * @member {string} [properties.friendlyName] The Friendly Name. * @member {string} [properties.networkType] The Network Type. */ export interface Network extends Resource { properties?: NetworkProperties; } /** * @class * Initializes a new instance of the NetworkMappingProperties class. * @constructor * Network Mapping Properties. * * @member {string} [state] The pairing state for network mapping. * @member {string} [primaryNetworkFriendlyName] The primary network friendly * name. * @member {string} [primaryNetworkId] The primary network id for network * mapping. * @member {string} [primaryFabricFriendlyName] The primary fabric friendly * name. * @member {string} [recoveryNetworkFriendlyName] The recovery network friendly * name. * @member {string} [recoveryNetworkId] The recovery network id for network * mapping. * @member {string} [recoveryFabricArmId] The recovery fabric ARM id. * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly * name. * @member {object} [fabricSpecificSettings] The fabric specific settings. * @member {string} [fabricSpecificSettings.instanceType] Polymorphic * Discriminator */ export interface NetworkMappingProperties { state?: string; primaryNetworkFriendlyName?: string; primaryNetworkId?: string; primaryFabricFriendlyName?: string; recoveryNetworkFriendlyName?: string; recoveryNetworkId?: string; recoveryFabricArmId?: string; recoveryFabricFriendlyName?: string; fabricSpecificSettings?: NetworkMappingFabricSpecificSettings; } /** * @class * Initializes a new instance of the NetworkMapping class. * @constructor * 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. * * @member {object} [properties] The Network Mapping Properties. * @member {string} [properties.state] The pairing state for network mapping. * @member {string} [properties.primaryNetworkFriendlyName] The primary network * friendly name. * @member {string} [properties.primaryNetworkId] The primary network id for * network mapping. * @member {string} [properties.primaryFabricFriendlyName] The primary fabric * friendly name. * @member {string} [properties.recoveryNetworkFriendlyName] The recovery * network friendly name. * @member {string} [properties.recoveryNetworkId] The recovery network id for * network mapping. * @member {string} [properties.recoveryFabricArmId] The recovery fabric ARM * id. * @member {string} [properties.recoveryFabricFriendlyName] The recovery fabric * friendly name. * @member {object} [properties.fabricSpecificSettings] The fabric specific * settings. * @member {string} [properties.fabricSpecificSettings.instanceType] * Polymorphic Discriminator */ export interface NetworkMapping extends Resource { properties?: NetworkMappingProperties; } /** * @class * Initializes a new instance of the OperationsDiscovery class. * @constructor * Operations discovery class. * * @member {string} [name] Name of the API. The name of the operation being * performed on this particular object. It should match the action name that * appears in RBAC / the event service. Examples of operations include: * * Microsoft.Compute/virtualMachine/capture/action * * Microsoft.Compute/virtualMachine/restart/action * * Microsoft.Compute/virtualMachine/write * * Microsoft.Compute/virtualMachine/read * * Microsoft.Compute/virtualMachine/delete Each action should include, in * order: (1) Resource Provider Namespace (2) Type hierarchy for which the * action applies (e.g. server/databases for a SQL Azure database) (3) Read, * Write, Action or Delete indicating which type applies. If it is a PUT/PATCH * on a collection or named value, Write should be used. If it is a GET, Read * should be used. If it is a DELETE, Delete should be used. If it is a POST, * Action should be used. As a note: all resource providers would need to * include the "{Resource Provider Namespace}/register/action" operation in * their response. This API is used to register for their service, and should * include details about the operation (e.g. a localized name for the resource * provider + any special considerations like PII release) * @member {object} [display] Object type * @member {string} [display.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." * @member {string} [display.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" * @member {string} [display.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' * @member {string} [display.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' * @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" * @member {object} [properties] Properties. Reserved for future use. */ export interface OperationsDiscovery { name?: string; display?: Display; origin?: string; properties?: any; } /** * @class * Initializes a new instance of the PlannedFailoverInputProperties class. * @constructor * Input definition for planned failover input properties. * * @member {string} [failoverDirection] Failover direction. * @member {object} [providerSpecificDetails] Provider specific settings * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface PlannedFailoverInputProperties { failoverDirection?: string; providerSpecificDetails?: ProviderSpecificFailoverInput; } /** * @class * Initializes a new instance of the PlannedFailoverInput class. * @constructor * Input definition for planned failover. * * @member {object} [properties] Planned failover input properties * @member {string} [properties.failoverDirection] Failover direction. * @member {object} [properties.providerSpecificDetails] Provider specific * settings * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator */ export interface PlannedFailoverInput { properties?: PlannedFailoverInputProperties; } /** * @class * Initializes a new instance of the PolicyProperties class. * @constructor * Protection profile custom data details. * * @member {string} [friendlyName] The FriendlyName. * @member {object} [providerSpecificDetails] The ReplicationChannelSetting. * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface PolicyProperties { friendlyName?: string; providerSpecificDetails?: PolicyProviderSpecificDetails; } /** * @class * Initializes a new instance of the Policy class. * @constructor * Protection profile details. * * @member {object} [properties] The custom data. * @member {string} [properties.friendlyName] The FriendlyName. * @member {object} [properties.providerSpecificDetails] The * ReplicationChannelSetting. * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator */ export interface Policy extends Resource { properties?: PolicyProperties; } /** * @class * Initializes a new instance of the ProcessServer class. * @constructor * Details of the Process Server. * * @member {string} [friendlyName] The Process Server's friendly name. * @member {string} [id] The Process Server Id. * @member {string} [ipAddress] The IP address of the server. * @member {string} [osType] The OS type of the server. * @member {string} [agentVersion] The version of the scout component on the * server. * @member {date} [lastHeartbeat] The last heartbeat received from the server. * @member {string} [versionStatus] Version status * @member {array} [mobilityServiceUpdates] The list of the mobility service * updates available on the Process Server. * @member {string} [hostId] The agent generated Id. * @member {string} [machineCount] The servers configured with this PS. * @member {string} [replicationPairCount] The number of replication pairs * configured in this PS. * @member {string} [systemLoad] The percentage of the system load. * @member {string} [systemLoadStatus] The system load status. * @member {string} [cpuLoad] The percentage of the CPU load. * @member {string} [cpuLoadStatus] The CPU load status. * @member {number} [totalMemoryInBytes] The total memory. * @member {number} [availableMemoryInBytes] The available memory. * @member {string} [memoryUsageStatus] The memory usage status. * @member {number} [totalSpaceInBytes] The total space. * @member {number} [availableSpaceInBytes] The available space. * @member {string} [spaceUsageStatus] The space usage status. * @member {string} [psServiceStatus] The PS service status. * @member {date} [sslCertExpiryDate] The PS SSL cert expiry date. * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. * @member {string} [osVersion] OS Version of the process server. Note: This * will get populated if user has CS version greater than 9.12.0.0. * @member {array} [healthErrors] Health errors. * @member {date} [agentExpiryDate] Agent expiry date. * @member {object} [agentVersionDetails] The agent version details. * @member {string} [agentVersionDetails.version] The agent version. * @member {date} [agentVersionDetails.expiryDate] Version expiry date. * @member {string} [agentVersionDetails.status] A value indicating whether * security update required. Possible values include: 'Supported', * 'NotSupported', 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' */ export interface ProcessServer { friendlyName?: string; id?: string; ipAddress?: string; osType?: string; agentVersion?: string; lastHeartbeat?: Date; versionStatus?: string; mobilityServiceUpdates?: MobilityServiceUpdate[]; hostId?: string; machineCount?: string; replicationPairCount?: string; systemLoad?: string; systemLoadStatus?: string; cpuLoad?: string; cpuLoadStatus?: string; totalMemoryInBytes?: number; availableMemoryInBytes?: number; memoryUsageStatus?: string; totalSpaceInBytes?: number; availableSpaceInBytes?: number; spaceUsageStatus?: string; psServiceStatus?: string; sslCertExpiryDate?: Date; sslCertExpiryRemainingDays?: number; osVersion?: string; healthErrors?: HealthError[]; agentExpiryDate?: Date; agentVersionDetails?: VersionDetails; } /** * @class * Initializes a new instance of the ProtectableItemProperties class. * @constructor * Replication protected item custom data details. * * @member {string} [friendlyName] The name. * @member {string} [protectionStatus] The protection status. * @member {string} [replicationProtectedItemId] The ARM resource of protected * items. * @member {string} [recoveryServicesProviderId] The recovery provider ARM Id. * @member {array} [protectionReadinessErrors] The Current protection readiness * errors. * @member {array} [supportedReplicationProviders] The list of replication * providers supported for the protectable item. * @member {object} [customDetails] The Replication provider custom settings. * @member {string} [customDetails.instanceType] Polymorphic Discriminator */ export interface ProtectableItemProperties { friendlyName?: string; protectionStatus?: string; replicationProtectedItemId?: string; recoveryServicesProviderId?: string; protectionReadinessErrors?: string[]; supportedReplicationProviders?: string[]; customDetails?: ConfigurationSettings; } /** * @class * Initializes a new instance of the ProtectableItem class. * @constructor * Replication protected item * * @member {object} [properties] The custom data. * @member {string} [properties.friendlyName] The name. * @member {string} [properties.protectionStatus] The protection status. * @member {string} [properties.replicationProtectedItemId] The ARM resource of * protected items. * @member {string} [properties.recoveryServicesProviderId] The recovery * provider ARM Id. * @member {array} [properties.protectionReadinessErrors] The Current * protection readiness errors. * @member {array} [properties.supportedReplicationProviders] The list of * replication providers supported for the protectable item. * @member {object} [properties.customDetails] The Replication provider custom * settings. * @member {string} [properties.customDetails.instanceType] Polymorphic * Discriminator */ export interface ProtectableItem extends Resource { properties?: ProtectableItemProperties; } /** * @class * Initializes a new instance of the ProtectableItemQueryParameter class. * @constructor * Query parameter to enumerate Protectable items. * * @member {string} [state] State of the Protectable item query filter. */ export interface ProtectableItemQueryParameter { state?: string; } /** * @class * Initializes a new instance of the ProtectedItemsQueryParameter class. * @constructor * Query parameter to enumerate protected items. * * @member {string} [sourceFabricName] The source fabric name filter. * @member {string} [recoveryPlanName] The recovery plan filter. * @member {string} [vCenterName] The vCenter name filter. * @member {string} [instanceType] The replication provider type. * @member {string} [multiVmGroupCreateOption] Whether Multi VM group is auto * created or specified by user. Possible values include: 'AutoCreated', * 'UserSpecified' */ export interface ProtectedItemsQueryParameter { sourceFabricName?: string; recoveryPlanName?: string; vCenterName?: string; instanceType?: string; multiVmGroupCreateOption?: string; } /** * @class * Initializes a new instance of the ProtectionContainerFabricSpecificDetails class. * @constructor * Base class for fabric specific details of container. * * @member {string} [instanceType] Gets the class type. Overriden in derived * classes. */ export interface ProtectionContainerFabricSpecificDetails { readonly instanceType?: string; } /** * @class * Initializes a new instance of the ProtectionContainerProperties class. * @constructor * Protection profile custom data details. * * @member {string} [fabricFriendlyName] Fabric friendly name. * @member {string} [friendlyName] The name. * @member {string} [fabricType] The fabric type. * @member {number} [protectedItemCount] Number of protected PEs * @member {string} [pairingStatus] The pairing status of this cloud. * @member {string} [role] The role of this cloud. * @member {object} [fabricSpecificDetails] Fabric specific details. * @member {string} [fabricSpecificDetails.instanceType] Gets the class type. * Overriden in derived classes. */ export interface ProtectionContainerProperties { fabricFriendlyName?: string; friendlyName?: string; fabricType?: string; protectedItemCount?: number; pairingStatus?: string; role?: string; fabricSpecificDetails?: ProtectionContainerFabricSpecificDetails; } /** * @class * Initializes a new instance of the ProtectionContainer class. * @constructor * Protection container details. * * @member {object} [properties] The custom data. * @member {string} [properties.fabricFriendlyName] Fabric friendly name. * @member {string} [properties.friendlyName] The name. * @member {string} [properties.fabricType] The fabric type. * @member {number} [properties.protectedItemCount] Number of protected PEs * @member {string} [properties.pairingStatus] The pairing status of this * cloud. * @member {string} [properties.role] The role of this cloud. * @member {object} [properties.fabricSpecificDetails] Fabric specific details. * @member {string} [properties.fabricSpecificDetails.instanceType] Gets the * class type. Overriden in derived classes. */ export interface ProtectionContainer extends Resource { properties?: ProtectionContainerProperties; } /** * @class * Initializes a new instance of the ProtectionContainerMappingProperties class. * @constructor * Protection container mapping properties. * * @member {string} [targetProtectionContainerId] Paired protection container * ARM ID. * @member {string} [targetProtectionContainerFriendlyName] Friendly name of * paired container. * @member {object} [providerSpecificDetails] Provider specific provider * details. * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator * @member {string} [health] Health of pairing. * @member {array} [healthErrorDetails] Health error. * @member {string} [policyId] Policy ARM Id. * @member {string} [state] Association Status * @member {string} [sourceProtectionContainerFriendlyName] Friendly name of * source protection container. * @member {string} [sourceFabricFriendlyName] Friendly name of source fabric. * @member {string} [targetFabricFriendlyName] Friendly name of target fabric. * @member {string} [policyFriendlyName] Friendly name of replication policy. */ export interface ProtectionContainerMappingProperties { targetProtectionContainerId?: string; targetProtectionContainerFriendlyName?: string; providerSpecificDetails?: ProtectionContainerMappingProviderSpecificDetails; health?: string; healthErrorDetails?: HealthError[]; policyId?: string; state?: string; sourceProtectionContainerFriendlyName?: string; sourceFabricFriendlyName?: string; targetFabricFriendlyName?: string; policyFriendlyName?: string; } /** * @class * Initializes a new instance of the ProtectionContainerMapping class. * @constructor * Protection container mapping object. * * @member {object} [properties] The custom data. * @member {string} [properties.targetProtectionContainerId] Paired protection * container ARM ID. * @member {string} [properties.targetProtectionContainerFriendlyName] Friendly * name of paired container. * @member {object} [properties.providerSpecificDetails] Provider specific * provider details. * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator * @member {string} [properties.health] Health of pairing. * @member {array} [properties.healthErrorDetails] Health error. * @member {string} [properties.policyId] Policy ARM Id. * @member {string} [properties.state] Association Status * @member {string} [properties.sourceProtectionContainerFriendlyName] Friendly * name of source protection container. * @member {string} [properties.sourceFabricFriendlyName] Friendly name of * source fabric. * @member {string} [properties.targetFabricFriendlyName] Friendly name of * target fabric. * @member {string} [properties.policyFriendlyName] Friendly name of * replication policy. */ export interface ProtectionContainerMapping extends Resource { properties?: ProtectionContainerMappingProperties; } /** * @class * Initializes a new instance of the RcmAzureMigrationPolicyDetails class. * @constructor * RCM based Azure migration specific policy details. * * @member {number} [recoveryPointThresholdInMinutes] The recovery point * threshold in minutes. * @member {number} [recoveryPointHistory] The duration in minutes until which * the recovery points need to be stored. * @member {number} [appConsistentFrequencyInMinutes] The app consistent * snapshot frequency in minutes. * @member {string} [multiVmSyncStatus] A value indicating whether multi-VM * sync has to be enabled. Possible values include: 'Enabled', 'Disabled' * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent * snapshot frequency in minutes. */ export interface RcmAzureMigrationPolicyDetails extends PolicyProviderSpecificDetails { recoveryPointThresholdInMinutes?: number; recoveryPointHistory?: number; appConsistentFrequencyInMinutes?: number; multiVmSyncStatus?: string; crashConsistentFrequencyInMinutes?: number; } /** * @class * Initializes a new instance of the RecoveryPlanProperties class. * @constructor * Recovery plan custom details. * * @member {string} [friendlyName] The friendly name. * @member {string} [primaryFabricId] The primary fabric Id. * @member {string} [primaryFabricFriendlyName] The primary fabric friendly * name. * @member {string} [recoveryFabricId] The recovery fabric Id. * @member {string} [recoveryFabricFriendlyName] The recovery fabric friendly * name. * @member {string} [failoverDeploymentModel] The failover deployment model. * @member {array} [replicationProviders] The list of replication providers. * @member {array} [allowedOperations] The list of allowed operations. * @member {date} [lastPlannedFailoverTime] The start time of the last planned * failover. * @member {date} [lastUnplannedFailoverTime] The start time of the last * unplanned failover. * @member {date} [lastTestFailoverTime] The start time of the last test * failover. * @member {object} [currentScenario] The current scenario details. * @member {string} [currentScenario.scenarioName] Scenario name. * @member {string} [currentScenario.jobId] ARM Id of the job being executed. * @member {date} [currentScenario.startTime] Start time of the workflow. * @member {string} [currentScenarioStatus] The recovery plan status. * @member {string} [currentScenarioStatusDescription] The recovery plan status * description. * @member {array} [groups] The recovery plan groups. */ export interface RecoveryPlanProperties { friendlyName?: string; primaryFabricId?: string; primaryFabricFriendlyName?: string; recoveryFabricId?: string; recoveryFabricFriendlyName?: string; failoverDeploymentModel?: string; replicationProviders?: string[]; allowedOperations?: string[]; lastPlannedFailoverTime?: Date; lastUnplannedFailoverTime?: Date; lastTestFailoverTime?: Date; currentScenario?: CurrentScenarioDetails; currentScenarioStatus?: string; currentScenarioStatusDescription?: string; groups?: RecoveryPlanGroup[]; } /** * @class * Initializes a new instance of the RecoveryPlan class. * @constructor * Recovery plan details. * * @member {object} [properties] The custom details. * @member {string} [properties.friendlyName] The friendly name. * @member {string} [properties.primaryFabricId] The primary fabric Id. * @member {string} [properties.primaryFabricFriendlyName] The primary fabric * friendly name. * @member {string} [properties.recoveryFabricId] The recovery fabric Id. * @member {string} [properties.recoveryFabricFriendlyName] The recovery fabric * friendly name. * @member {string} [properties.failoverDeploymentModel] The failover * deployment model. * @member {array} [properties.replicationProviders] The list of replication * providers. * @member {array} [properties.allowedOperations] The list of allowed * operations. * @member {date} [properties.lastPlannedFailoverTime] The start time of the * last planned failover. * @member {date} [properties.lastUnplannedFailoverTime] The start time of the * last unplanned failover. * @member {date} [properties.lastTestFailoverTime] The start time of the last * test failover. * @member {object} [properties.currentScenario] The current scenario details. * @member {string} [properties.currentScenario.scenarioName] Scenario name. * @member {string} [properties.currentScenario.jobId] ARM Id of the job being * executed. * @member {date} [properties.currentScenario.startTime] Start time of the * workflow. * @member {string} [properties.currentScenarioStatus] The recovery plan * status. * @member {string} [properties.currentScenarioStatusDescription] The recovery * plan status description. * @member {array} [properties.groups] The recovery plan groups. */ export interface RecoveryPlan extends Resource { properties?: RecoveryPlanProperties; } /** * @class * Initializes a new instance of the RecoveryPlanProviderSpecificFailoverInput class. * @constructor * Recovery plan provider specific failover input base class. * * @member {string} instanceType Polymorphic Discriminator */ export interface RecoveryPlanProviderSpecificFailoverInput { instanceType: string; } /** * @class * Initializes a new instance of the RecoveryPlanA2AFailoverInput class. * @constructor * Recovery plan A2A failover input. * * @member {string} recoveryPointType The recovery point type. Possible values * include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', * 'LatestProcessed' * @member {string} [cloudServiceCreationOption] A value indicating whether to * use recovery cloud service for TFO or not. * @member {string} [multiVmSyncPointOption] A value indicating whether multi * VM sync enabled VMs should use multi VM sync points for failover. Possible * values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' */ export interface RecoveryPlanA2AFailoverInput extends RecoveryPlanProviderSpecificFailoverInput { recoveryPointType: string; cloudServiceCreationOption?: string; multiVmSyncPointOption?: string; } /** * @class * Initializes a new instance of the RecoveryPlanAutomationRunbookActionDetails class. * @constructor * Recovery plan Automation runbook action details. * * @member {string} [runbookId] The runbook ARM Id. * @member {string} [timeout] The runbook timeout. * @member {string} fabricLocation The fabric location. Possible values * include: 'Primary', 'Recovery' */ export interface RecoveryPlanAutomationRunbookActionDetails extends RecoveryPlanActionDetails { runbookId?: string; timeout?: string; fabricLocation: string; } /** * @class * Initializes a new instance of the RecoveryPlanGroupTaskDetails class. * @constructor * This class represents the recovery plan group task. * * @member {string} [name] The name. * @member {string} [groupId] The group identifier. * @member {string} [rpGroupType] The group type. */ export interface RecoveryPlanGroupTaskDetails extends GroupTaskDetails { name?: string; groupId?: string; rpGroupType?: string; } /** * @class * Initializes a new instance of the RecoveryPlanHyperVReplicaAzureFailbackInput class. * @constructor * Recovery plan HVR Azure failback input. * * @member {string} dataSyncOption The data sync option. Possible values * include: 'ForDownTime', 'ForSynchronization' * @member {string} recoveryVmCreationOption The ALR option. Possible values * include: 'CreateVmIfNotFound', 'NoAction' */ export interface RecoveryPlanHyperVReplicaAzureFailbackInput extends RecoveryPlanProviderSpecificFailoverInput { dataSyncOption: string; recoveryVmCreationOption: string; } /** * @class * Initializes a new instance of the RecoveryPlanHyperVReplicaAzureFailoverInput class. * @constructor * Recovery plan HVR Azure failover input. * * @member {string} vaultLocation The vault location. * @member {string} [primaryKekCertificatePfx] The primary KEK certificate PFX. * @member {string} [secondaryKekCertificatePfx] The secondary KEK certificate * PFX. * @member {string} [recoveryPointType] The recovery point type. Possible * values include: 'Latest', 'LatestApplicationConsistent', 'LatestProcessed' */ export interface RecoveryPlanHyperVReplicaAzureFailoverInput extends RecoveryPlanProviderSpecificFailoverInput { vaultLocation: string; primaryKekCertificatePfx?: string; secondaryKekCertificatePfx?: string; recoveryPointType?: string; } /** * @class * Initializes a new instance of the RecoveryPlanInMageAzureV2FailoverInput class. * @constructor * Recovery plan InMageAzureV2 failover input. * * @member {string} vaultLocation The vault location. * @member {string} recoveryPointType The recovery point type. Possible values * include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', * 'LatestProcessed' * @member {string} [useMultiVmSyncPoint] A value indicating whether multi VM * sync enabled VMs should use multi VM sync points for failover. */ export interface RecoveryPlanInMageAzureV2FailoverInput extends RecoveryPlanProviderSpecificFailoverInput { vaultLocation: string; recoveryPointType: string; useMultiVmSyncPoint?: string; } /** * @class * Initializes a new instance of the RecoveryPlanInMageFailoverInput class. * @constructor * Recovery plan InMage failover input. * * @member {string} recoveryPointType The recovery point type. Possible values * include: 'LatestTime', 'LatestTag', 'Custom' */ export interface RecoveryPlanInMageFailoverInput extends RecoveryPlanProviderSpecificFailoverInput { recoveryPointType: string; } /** * @class * Initializes a new instance of the RecoveryPlanManualActionDetails class. * @constructor * Recovery plan manual action details. * * @member {string} [description] The manual action description. */ export interface RecoveryPlanManualActionDetails extends RecoveryPlanActionDetails { description?: string; } /** * @class * Initializes a new instance of the RecoveryPlanPlannedFailoverInputProperties class. * @constructor * Recovery plan planned failover input properties. * * @member {string} failoverDirection The failover direction. Possible values * include: 'PrimaryToRecovery', 'RecoveryToPrimary' * @member {array} [providerSpecificDetails] The provider specific properties. */ export interface RecoveryPlanPlannedFailoverInputProperties { failoverDirection: string; providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInput[]; } /** * @class * Initializes a new instance of the RecoveryPlanPlannedFailoverInput class. * @constructor * Recovery plan planned failover input. * * @member {object} properties The recovery plan planned failover input * properties. * @member {string} [properties.failoverDirection] The failover direction. * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' * @member {array} [properties.providerSpecificDetails] The provider specific * properties. */ export interface RecoveryPlanPlannedFailoverInput { properties: RecoveryPlanPlannedFailoverInputProperties; } /** * @class * Initializes a new instance of the RecoveryPlanScriptActionDetails class. * @constructor * Recovery plan script action details. * * @member {string} path The script path. * @member {string} [timeout] The script timeout. * @member {string} fabricLocation The fabric location. Possible values * include: 'Primary', 'Recovery' */ export interface RecoveryPlanScriptActionDetails extends RecoveryPlanActionDetails { path: string; timeout?: string; fabricLocation: string; } /** * @class * Initializes a new instance of the RecoveryPlanShutdownGroupTaskDetails class. * @constructor * This class represents the recovery plan shutdown group task details. * * @member {string} [name] The name. * @member {string} [groupId] The group identifier. * @member {string} [rpGroupType] The group type. */ export interface RecoveryPlanShutdownGroupTaskDetails extends GroupTaskDetails { name?: string; groupId?: string; rpGroupType?: string; } /** * @class * Initializes a new instance of the RecoveryPlanTestFailoverCleanupInputProperties class. * @constructor * Recovery plan test failover cleanup input properties. * * @member {string} [comments] The test failover cleanup comments. */ export interface RecoveryPlanTestFailoverCleanupInputProperties { comments?: string; } /** * @class * Initializes a new instance of the RecoveryPlanTestFailoverCleanupInput class. * @constructor * Recovery plan test failover cleanup input. * * @member {object} properties The recovery plan test failover cleanup input * properties. * @member {string} [properties.comments] The test failover cleanup comments. */ export interface RecoveryPlanTestFailoverCleanupInput { properties: RecoveryPlanTestFailoverCleanupInputProperties; } /** * @class * Initializes a new instance of the RecoveryPlanTestFailoverInputProperties class. * @constructor * Recovery plan test failover input properties. * * @member {string} failoverDirection The failover direction. Possible values * include: 'PrimaryToRecovery', 'RecoveryToPrimary' * @member {string} networkType The network type to be used for test failover. * @member {string} [networkId] The Id of the network to be used for test * failover. * @member {string} [skipTestFailoverCleanup] A value indicating whether the * test failover cleanup is to be skipped. * @member {array} [providerSpecificDetails] The provider specific properties. */ export interface RecoveryPlanTestFailoverInputProperties { failoverDirection: string; networkType: string; networkId?: string; skipTestFailoverCleanup?: string; providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInput[]; } /** * @class * Initializes a new instance of the RecoveryPlanTestFailoverInput class. * @constructor * Recovery plan test failover input. * * @member {object} properties The recovery plan test failover input * properties. * @member {string} [properties.failoverDirection] The failover direction. * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' * @member {string} [properties.networkType] The network type to be used for * test failover. * @member {string} [properties.networkId] The Id of the network to be used for * test failover. * @member {string} [properties.skipTestFailoverCleanup] A value indicating * whether the test failover cleanup is to be skipped. * @member {array} [properties.providerSpecificDetails] The provider specific * properties. */ export interface RecoveryPlanTestFailoverInput { properties: RecoveryPlanTestFailoverInputProperties; } /** * @class * Initializes a new instance of the RecoveryPlanUnplannedFailoverInputProperties class. * @constructor * Recovery plan unplanned failover input properties. * * @member {string} failoverDirection The failover direction. Possible values * include: 'PrimaryToRecovery', 'RecoveryToPrimary' * @member {string} sourceSiteOperations A value indicating whether source site * operations are required. Possible values include: 'Required', 'NotRequired' * @member {array} [providerSpecificDetails] The provider specific properties. */ export interface RecoveryPlanUnplannedFailoverInputProperties { failoverDirection: string; sourceSiteOperations: string; providerSpecificDetails?: RecoveryPlanProviderSpecificFailoverInput[]; } /** * @class * Initializes a new instance of the RecoveryPlanUnplannedFailoverInput class. * @constructor * Recovery plan unplanned failover input. * * @member {object} properties The recovery plan unplanned failover input * properties. * @member {string} [properties.failoverDirection] The failover direction. * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary' * @member {string} [properties.sourceSiteOperations] A value indicating * whether source site operations are required. Possible values include: * 'Required', 'NotRequired' * @member {array} [properties.providerSpecificDetails] The provider specific * properties. */ export interface RecoveryPlanUnplannedFailoverInput { properties: RecoveryPlanUnplannedFailoverInputProperties; } /** * @class * Initializes a new instance of the RecoveryPointProperties class. * @constructor * Recovery point properties. * * @member {date} [recoveryPointTime] The recovery point time. * @member {string} [recoveryPointType] The recovery point type: * ApplicationConsistent, CrashConsistent. * @member {object} [providerSpecificDetails] The provider specific details for * the recovery point. * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface RecoveryPointProperties { recoveryPointTime?: Date; recoveryPointType?: string; providerSpecificDetails?: ProviderSpecificRecoveryPointDetails; } /** * @class * Initializes a new instance of the RecoveryPoint class. * @constructor * Base class representing a recovery point. * * @member {object} [properties] Recovery point related data. * @member {date} [properties.recoveryPointTime] The recovery point time. * @member {string} [properties.recoveryPointType] The recovery point type: * ApplicationConsistent, CrashConsistent. * @member {object} [properties.providerSpecificDetails] The provider specific * details for the recovery point. * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator */ export interface RecoveryPoint extends Resource { properties?: RecoveryPointProperties; } /** * @class * Initializes a new instance of the RecoveryServicesProviderProperties class. * @constructor * Recovery services provider properties. * * @member {string} [fabricType] Type of the site. * @member {string} [friendlyName] Friendly name of the DRA. * @member {string} [providerVersion] The provider version. * @member {string} [serverVersion] The fabric provider. * @member {string} [providerVersionState] DRA version status. * @member {date} [providerVersionExpiryDate] Expiry date of the version. * @member {string} [fabricFriendlyName] The fabric friendly name. * @member {date} [lastHeartBeat] Time when last heartbeat was sent by the DRA. * @member {string} [connectionStatus] A value indicating whether DRA is * responsive. * @member {number} [protectedItemCount] Number of protected VMs currently * managed by the DRA. * @member {array} [allowedScenarios] The scenarios allowed on this provider. * @member {array} [healthErrorDetails] The recovery services provider health * error details. * @member {string} [draIdentifier] The DRA Id. * @member {object} [identityDetails] The identity details. * @member {string} [identityDetails.identityProviderType] The identity * provider type. Value is the ToString() of a IdentityProviderType value. * Possible values include: 'RecoveryServicesActiveDirectory' * @member {string} [identityDetails.tenantId] The tenant Id for the service * principal with which the on-premise management/data plane components would * communicate with our Azure services. * @member {string} [identityDetails.applicationId] The application/client Id * for the service principal with which the on-premise management/data plane * components would communicate with our Azure services. * @member {string} [identityDetails.objectId] The object Id of the service * principal with which the on-premise management/data plane components would * communicate with our Azure services. * @member {string} [identityDetails.audience] The intended Audience of the * service principal with which the on-premise management/data plane components * would communicate with our Azure services. * @member {string} [identityDetails.aadAuthority] The base authority for Azure * Active Directory authentication. * @member {string} [identityDetails.certificateThumbprint] The certificate * thumbprint. Applicable only if IdentityProviderType is * RecoveryServicesActiveDirectory. * @member {object} [providerVersionDetails] The provider version details. * @member {string} [providerVersionDetails.version] The agent version. * @member {date} [providerVersionDetails.expiryDate] Version expiry date. * @member {string} [providerVersionDetails.status] A value indicating whether * security update required. Possible values include: 'Supported', * 'NotSupported', 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' */ export interface RecoveryServicesProviderProperties { fabricType?: string; friendlyName?: string; providerVersion?: string; serverVersion?: string; providerVersionState?: string; providerVersionExpiryDate?: Date; fabricFriendlyName?: string; lastHeartBeat?: Date; connectionStatus?: string; protectedItemCount?: number; allowedScenarios?: string[]; healthErrorDetails?: HealthError[]; draIdentifier?: string; identityDetails?: IdentityInformation; providerVersionDetails?: VersionDetails; } /** * @class * Initializes a new instance of the RecoveryServicesProvider class. * @constructor * Provider details. * * @member {object} [properties] Provider properties. * @member {string} [properties.fabricType] Type of the site. * @member {string} [properties.friendlyName] Friendly name of the DRA. * @member {string} [properties.providerVersion] The provider version. * @member {string} [properties.serverVersion] The fabric provider. * @member {string} [properties.providerVersionState] DRA version status. * @member {date} [properties.providerVersionExpiryDate] Expiry date of the * version. * @member {string} [properties.fabricFriendlyName] The fabric friendly name. * @member {date} [properties.lastHeartBeat] Time when last heartbeat was sent * by the DRA. * @member {string} [properties.connectionStatus] A value indicating whether * DRA is responsive. * @member {number} [properties.protectedItemCount] Number of protected VMs * currently managed by the DRA. * @member {array} [properties.allowedScenarios] The scenarios allowed on this * provider. * @member {array} [properties.healthErrorDetails] The recovery services * provider health error details. * @member {string} [properties.draIdentifier] The DRA Id. * @member {object} [properties.identityDetails] The identity details. * @member {string} [properties.identityDetails.identityProviderType] The * identity provider type. Value is the ToString() of a IdentityProviderType * value. Possible values include: 'RecoveryServicesActiveDirectory' * @member {string} [properties.identityDetails.tenantId] The tenant Id for the * service principal with which the on-premise management/data plane components * would communicate with our Azure services. * @member {string} [properties.identityDetails.applicationId] The * application/client Id for the service principal with which the on-premise * management/data plane components would communicate with our Azure services. * @member {string} [properties.identityDetails.objectId] The object Id of the * service principal with which the on-premise management/data plane components * would communicate with our Azure services. * @member {string} [properties.identityDetails.audience] The intended Audience * of the service principal with which the on-premise management/data plane * components would communicate with our Azure services. * @member {string} [properties.identityDetails.aadAuthority] The base * authority for Azure Active Directory authentication. * @member {string} [properties.identityDetails.certificateThumbprint] The * certificate thumbprint. Applicable only if IdentityProviderType is * RecoveryServicesActiveDirectory. * @member {object} [properties.providerVersionDetails] The provider version * details. * @member {string} [properties.providerVersionDetails.version] The agent * version. * @member {date} [properties.providerVersionDetails.expiryDate] Version expiry * date. * @member {string} [properties.providerVersionDetails.status] A value * indicating whether security update required. Possible values include: * 'Supported', 'NotSupported', 'Deprecated', 'UpdateRequired', * 'SecurityUpdateRequired' */ export interface RecoveryServicesProvider extends Resource { properties?: RecoveryServicesProviderProperties; } /** * @class * Initializes a new instance of the ReplicationProviderContainerUnmappingInput class. * @constructor * Provider specific input for unpairing operations. * * @member {string} [instanceType] The class type. */ export interface ReplicationProviderContainerUnmappingInput { instanceType?: string; } /** * @class * Initializes a new instance of the RemoveProtectionContainerMappingInputProperties class. * @constructor * Unpairing input properties. * * @member {object} [providerSpecificInput] Provider specific input for * unpairing. * @member {string} [providerSpecificInput.instanceType] The class type. */ export interface RemoveProtectionContainerMappingInputProperties { providerSpecificInput?: ReplicationProviderContainerUnmappingInput; } /** * @class * Initializes a new instance of the RemoveProtectionContainerMappingInput class. * @constructor * Container unpairing input. * * @member {object} [properties] Configure protection input properties. * @member {object} [properties.providerSpecificInput] Provider specific input * for unpairing. * @member {string} [properties.providerSpecificInput.instanceType] The class * type. */ export interface RemoveProtectionContainerMappingInput { properties?: RemoveProtectionContainerMappingInputProperties; } /** * @class * Initializes a new instance of the RenewCertificateInputProperties class. * @constructor * Renew Certificate input properties. * * @member {string} [renewCertificateType] Renew certificate type. */ export interface RenewCertificateInputProperties { renewCertificateType?: string; } /** * @class * Initializes a new instance of the RenewCertificateInput class. * @constructor * Certificate renewal input. * * @member {object} [properties] Renew certificate input properties. * @member {string} [properties.renewCertificateType] Renew certificate type. */ export interface RenewCertificateInput { properties?: RenewCertificateInputProperties; } /** * @class * Initializes a new instance of the ReplicationGroupDetails class. * @constructor * Replication group details. This will be used in case of San and Wvr. * */ export interface ReplicationGroupDetails extends ConfigurationSettings { } /** * @class * Initializes a new instance of the ReplicationProtectedItemProperties class. * @constructor * Replication protected item custom data details. * * @member {string} [friendlyName] The name. * @member {string} [protectedItemType] The type of protected item type. * @member {string} [protectableItemId] The protected item ARM Id. * @member {string} [recoveryServicesProviderId] The recovery provider ARM Id. * @member {string} [primaryFabricFriendlyName] The friendly name of the * primary fabric. * @member {string} [primaryFabricProvider] The fabric provider of the primary * fabric. * @member {string} [recoveryFabricFriendlyName] The friendly name of recovery * fabric. * @member {string} [recoveryFabricId] The Arm Id of recovery fabric. * @member {string} [primaryProtectionContainerFriendlyName] The name of * primary protection container friendly name. * @member {string} [recoveryProtectionContainerFriendlyName] The name of * recovery container friendly name. * @member {string} [protectionState] The protection status. * @member {string} [protectionStateDescription] The protection state * description. * @member {string} [activeLocation] The Current active location of the PE. * @member {string} [testFailoverState] The Test failover state. * @member {string} [testFailoverStateDescription] The Test failover state * description. * @member {array} [allowedOperations] The allowed operations on the * Replication protected item. * @member {string} [replicationHealth] The consolidated protection health for * the VM taking any issues with SRS as well as all the replication units * associated with the VM's replication group into account. This is a string * representation of the ProtectionHealth enumeration. * @member {string} [failoverHealth] The consolidated failover health for the * VM. * @member {array} [healthErrors] List of health errors. * @member {string} [policyId] The ID of Policy governing this PE. * @member {string} [policyFriendlyName] The name of Policy governing this PE. * @member {date} [lastSuccessfulFailoverTime] The Last successful failover * time. * @member {date} [lastSuccessfulTestFailoverTime] The Last successful test * failover time. * @member {object} [currentScenario] The current scenario. * @member {string} [currentScenario.scenarioName] Scenario name. * @member {string} [currentScenario.jobId] ARM Id of the job being executed. * @member {date} [currentScenario.startTime] Start time of the workflow. * @member {string} [failoverRecoveryPointId] The recovery point ARM Id to * which the Vm was failed over. * @member {object} [providerSpecificDetails] The Replication provider custom * settings. * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator * @member {string} [recoveryContainerId] The recovery container Id. */ export interface ReplicationProtectedItemProperties { friendlyName?: string; protectedItemType?: string; protectableItemId?: string; recoveryServicesProviderId?: string; primaryFabricFriendlyName?: string; primaryFabricProvider?: string; recoveryFabricFriendlyName?: string; recoveryFabricId?: string; primaryProtectionContainerFriendlyName?: string; recoveryProtectionContainerFriendlyName?: string; protectionState?: string; protectionStateDescription?: string; activeLocation?: string; testFailoverState?: string; testFailoverStateDescription?: string; allowedOperations?: string[]; replicationHealth?: string; failoverHealth?: string; healthErrors?: HealthError[]; policyId?: string; policyFriendlyName?: string; lastSuccessfulFailoverTime?: Date; lastSuccessfulTestFailoverTime?: Date; currentScenario?: CurrentScenarioDetails; failoverRecoveryPointId?: string; providerSpecificDetails?: ReplicationProviderSpecificSettings; recoveryContainerId?: string; } /** * @class * Initializes a new instance of the ReplicationProtectedItem class. * @constructor * Replication protected item. * * @member {object} [properties] The custom data. * @member {string} [properties.friendlyName] The name. * @member {string} [properties.protectedItemType] The type of protected item * type. * @member {string} [properties.protectableItemId] The protected item ARM Id. * @member {string} [properties.recoveryServicesProviderId] The recovery * provider ARM Id. * @member {string} [properties.primaryFabricFriendlyName] The friendly name of * the primary fabric. * @member {string} [properties.primaryFabricProvider] The fabric provider of * the primary fabric. * @member {string} [properties.recoveryFabricFriendlyName] The friendly name * of recovery fabric. * @member {string} [properties.recoveryFabricId] The Arm Id of recovery * fabric. * @member {string} [properties.primaryProtectionContainerFriendlyName] The * name of primary protection container friendly name. * @member {string} [properties.recoveryProtectionContainerFriendlyName] The * name of recovery container friendly name. * @member {string} [properties.protectionState] The protection status. * @member {string} [properties.protectionStateDescription] The protection * state description. * @member {string} [properties.activeLocation] The Current active location of * the PE. * @member {string} [properties.testFailoverState] The Test failover state. * @member {string} [properties.testFailoverStateDescription] The Test failover * state description. * @member {array} [properties.allowedOperations] The allowed operations on the * Replication protected item. * @member {string} [properties.replicationHealth] The consolidated protection * health for the VM taking any issues with SRS as well as all the replication * units associated with the VM's replication group into account. This is a * string representation of the ProtectionHealth enumeration. * @member {string} [properties.failoverHealth] The consolidated failover * health for the VM. * @member {array} [properties.healthErrors] List of health errors. * @member {string} [properties.policyId] The ID of Policy governing this PE. * @member {string} [properties.policyFriendlyName] The name of Policy * governing this PE. * @member {date} [properties.lastSuccessfulFailoverTime] The Last successful * failover time. * @member {date} [properties.lastSuccessfulTestFailoverTime] The Last * successful test failover time. * @member {object} [properties.currentScenario] The current scenario. * @member {string} [properties.currentScenario.scenarioName] Scenario name. * @member {string} [properties.currentScenario.jobId] ARM Id of the job being * executed. * @member {date} [properties.currentScenario.startTime] Start time of the * workflow. * @member {string} [properties.failoverRecoveryPointId] The recovery point ARM * Id to which the Vm was failed over. * @member {object} [properties.providerSpecificDetails] The Replication * provider custom settings. * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator * @member {string} [properties.recoveryContainerId] The recovery container Id. */ export interface ReplicationProtectedItem extends Resource { properties?: ReplicationProtectedItemProperties; } /** * @class * Initializes a new instance of the ResourceHealthSummary class. * @constructor * Base class to define the health summary of the resources contained under an * Arm resource. * * @member {number} [resourceCount] The count of total resources umder the * container. * @member {array} [issues] The list of summary of health errors across the * resources under the container. */ export interface ResourceHealthSummary { resourceCount?: number; issues?: HealthErrorSummary[]; } /** * @class * Initializes a new instance of the ResumeJobParamsProperties class. * @constructor * Resume job properties. * * @member {string} [comments] Resume job comments. */ export interface ResumeJobParamsProperties { comments?: string; } /** * @class * Initializes a new instance of the ResumeJobParams class. * @constructor * Resume job params. * * @member {object} [properties] Resume job properties. * @member {string} [properties.comments] Resume job comments. */ export interface ResumeJobParams { properties?: ResumeJobParamsProperties; } /** * @class * Initializes a new instance of the ReverseReplicationInputProperties class. * @constructor * Reverse replication input properties. * * @member {string} [failoverDirection] Failover direction. * @member {object} [providerSpecificDetails] Provider specific reverse * replication input. * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface ReverseReplicationInputProperties { failoverDirection?: string; providerSpecificDetails?: ReverseReplicationProviderSpecificInput; } /** * @class * Initializes a new instance of the ReverseReplicationInput class. * @constructor * Reverse replication input. * * @member {object} [properties] Reverse replication properties * @member {string} [properties.failoverDirection] Failover direction. * @member {object} [properties.providerSpecificDetails] Provider specific * reverse replication input. * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator */ export interface ReverseReplicationInput { properties?: ReverseReplicationInputProperties; } /** * @class * Initializes a new instance of the RunAsAccount class. * @constructor * CS Accounts Details. * * @member {string} [accountId] The CS RunAs account Id. * @member {string} [accountName] The CS RunAs account name. */ export interface RunAsAccount { accountId?: string; accountName?: string; } /** * @class * Initializes a new instance of the SanEnableProtectionInput class. * @constructor * San enable protection provider specific input. * */ export interface SanEnableProtectionInput extends EnableProtectionProviderSpecificInput { } /** * @class * Initializes a new instance of the ScriptActionTaskDetails class. * @constructor * This class represents the script action task details. * * @member {string} [name] The name. * @member {string} [path] The path. * @member {string} [output] The output. * @member {boolean} [isPrimarySideScript] A value indicating whether it is a * primary side script or not. */ export interface ScriptActionTaskDetails extends TaskTypeDetails { name?: string; path?: string; output?: string; isPrimarySideScript?: boolean; } /** * @class * Initializes a new instance of the StorageClassificationProperties class. * @constructor * Storage object properties. * * @member {string} [friendlyName] Friendly name of the Storage classification. */ export interface StorageClassificationProperties { friendlyName?: string; } /** * @class * Initializes a new instance of the StorageClassification class. * @constructor * Storage object definition. * * @member {object} [properties] Proprties of the storage object. * @member {string} [properties.friendlyName] Friendly name of the Storage * classification. */ export interface StorageClassification extends Resource { properties?: StorageClassificationProperties; } /** * @class * Initializes a new instance of the StorageClassificationMappingProperties class. * @constructor * Storage mapping properties. * * @member {string} [targetStorageClassificationId] Target storage object Id. */ export interface StorageClassificationMappingProperties { targetStorageClassificationId?: string; } /** * @class * Initializes a new instance of the StorageClassificationMapping class. * @constructor * Storage mapping object. * * @member {object} [properties] Proprties of the storage mappping object. * @member {string} [properties.targetStorageClassificationId] Target storage * object Id. */ export interface StorageClassificationMapping extends Resource { properties?: StorageClassificationMappingProperties; } /** * @class * Initializes a new instance of the StorageMappingInputProperties class. * @constructor * Storage mapping input properties. * * @member {string} [targetStorageClassificationId] The ID of the storage * object. */ export interface StorageMappingInputProperties { targetStorageClassificationId?: string; } /** * @class * Initializes a new instance of the StorageClassificationMappingInput class. * @constructor * Storage mapping input. * * @member {object} [properties] Storage mapping input properties. * @member {string} [properties.targetStorageClassificationId] The ID of the * storage object. */ export interface StorageClassificationMappingInput { properties?: StorageMappingInputProperties; } /** * @class * Initializes a new instance of the SwitchProtectionInputProperties class. * @constructor * Switch protection input properties. * * @member {string} [replicationProtectedItemName] The unique replication * protected item name. * @member {object} [providerSpecificDetails] Provider specific switch * protection input. * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface SwitchProtectionInputProperties { replicationProtectedItemName?: string; providerSpecificDetails?: SwitchProtectionProviderSpecificInput; } /** * @class * Initializes a new instance of the SwitchProtectionInput class. * @constructor * Switch protection input. * * @member {object} [properties] Switch protection properties * @member {string} [properties.replicationProtectedItemName] The unique * replication protected item name. * @member {object} [properties.providerSpecificDetails] Provider specific * switch protection input. * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator */ export interface SwitchProtectionInput { properties?: SwitchProtectionInputProperties; } /** * @class * Initializes a new instance of the SwitchProtectionJobDetails class. * @constructor * This class represents details for switch protection job. * * @member {string} [newReplicationProtectedItemId] ARM Id of the new * replication protected item. */ export interface SwitchProtectionJobDetails extends JobDetails { newReplicationProtectedItemId?: string; } /** * @class * Initializes a new instance of the TargetComputeSizeProperties class. * @constructor * Represents applicable recovery vm sizes properties. * * @member {string} [name] Target compute size name. * @member {string} [friendlyName] Target compute size display name. * @member {number} [cpuCoresCount] The maximum cpu cores count supported by * target compute size. * @member {number} [memoryInGB] The maximum memory in GB supported by target * compute size. * @member {number} [maxDataDiskCount] The maximum data disks count supported * by target compute size. * @member {number} [maxNicsCount] The maximum Nics count supported by target * compute size. * @member {array} [errors] The reasons why the target compute size is not * applicable for the protected item. * @member {string} [highIopsSupported] The value indicating whether the target * compute size supports high Iops. */ export interface TargetComputeSizeProperties { name?: string; friendlyName?: string; cpuCoresCount?: number; memoryInGB?: number; maxDataDiskCount?: number; maxNicsCount?: number; errors?: ComputeSizeErrorDetails[]; highIopsSupported?: string; } /** * @class * Initializes a new instance of the TargetComputeSize class. * @constructor * Represents applicable recovery vm sizes. * * @member {string} [id] The Id. * @member {string} [name] The name. * @member {string} [type] The Type of the object. * @member {object} [properties] The custom data. * @member {string} [properties.name] Target compute size name. * @member {string} [properties.friendlyName] Target compute size display name. * @member {number} [properties.cpuCoresCount] The maximum cpu cores count * supported by target compute size. * @member {number} [properties.memoryInGB] The maximum memory in GB supported * by target compute size. * @member {number} [properties.maxDataDiskCount] The maximum data disks count * supported by target compute size. * @member {number} [properties.maxNicsCount] The maximum Nics count supported * by target compute size. * @member {array} [properties.errors] The reasons why the target compute size * is not applicable for the protected item. * @member {string} [properties.highIopsSupported] The value indicating whether * the target compute size supports high Iops. */ export interface TargetComputeSize { id?: string; name?: string; type?: string; properties?: TargetComputeSizeProperties; } /** * @class * Initializes a new instance of the TestFailoverCleanupInputProperties class. * @constructor * Input definition for test failover cleanup input properties. * * @member {string} [comments] Test failover cleanup comments. */ export interface TestFailoverCleanupInputProperties { comments?: string; } /** * @class * Initializes a new instance of the TestFailoverCleanupInput class. * @constructor * Input definition for test failover cleanup. * * @member {object} properties Test failover cleanup input properties. * @member {string} [properties.comments] Test failover cleanup comments. */ export interface TestFailoverCleanupInput { properties: TestFailoverCleanupInputProperties; } /** * @class * Initializes a new instance of the TestFailoverInputProperties class. * @constructor * Input definition for planned failover input properties. * * @member {string} [failoverDirection] Failover direction. * @member {string} [networkType] Network type to be used for test failover. * @member {string} [networkId] The id of the network to be used for test * failover * @member {string} [skipTestFailoverCleanup] A value indicating whether the * test failover cleanup is to be skipped. * @member {object} [providerSpecificDetails] Provider specific settings * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface TestFailoverInputProperties { failoverDirection?: string; networkType?: string; networkId?: string; skipTestFailoverCleanup?: string; providerSpecificDetails?: ProviderSpecificFailoverInput; } /** * @class * Initializes a new instance of the TestFailoverInput class. * @constructor * Input definition for planned failover. * * @member {object} [properties] Planned failover input properties * @member {string} [properties.failoverDirection] Failover direction. * @member {string} [properties.networkType] Network type to be used for test * failover. * @member {string} [properties.networkId] The id of the network to be used for * test failover * @member {string} [properties.skipTestFailoverCleanup] A value indicating * whether the test failover cleanup is to be skipped. * @member {object} [properties.providerSpecificDetails] Provider specific * settings * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator */ export interface TestFailoverInput { properties?: TestFailoverInputProperties; } /** * @class * Initializes a new instance of the TestFailoverJobDetails class. * @constructor * This class represents the details for a test failover job. * * @member {string} [testFailoverStatus] The test failover status. * @member {string} [comments] The test failover comments. * @member {string} [networkName] The test network name. * @member {string} [networkFriendlyName] The test network friendly name. * @member {string} [networkType] The test network type (see TestFailoverInput * enum for possible values). * @member {array} [protectedItemDetails] The test VM details. */ export interface TestFailoverJobDetails extends JobDetails { testFailoverStatus?: string; comments?: string; networkName?: string; networkFriendlyName?: string; networkType?: string; protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; } /** * @class * Initializes a new instance of the UnplannedFailoverInputProperties class. * @constructor * Input definition for planned failover input properties. * * @member {string} [failoverDirection] Failover direction. * @member {string} [sourceSiteOperations] Source site operations status * @member {object} [providerSpecificDetails] Provider specific settings * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface UnplannedFailoverInputProperties { failoverDirection?: string; sourceSiteOperations?: string; providerSpecificDetails?: ProviderSpecificFailoverInput; } /** * @class * Initializes a new instance of the UnplannedFailoverInput class. * @constructor * Input definition for planned failover. * * @member {object} [properties] Planned failover input properties * @member {string} [properties.failoverDirection] Failover direction. * @member {string} [properties.sourceSiteOperations] Source site operations * status * @member {object} [properties.providerSpecificDetails] Provider specific * settings * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator */ export interface UnplannedFailoverInput { properties?: UnplannedFailoverInputProperties; } /** * @class * Initializes a new instance of the UpdateMobilityServiceRequestProperties class. * @constructor * The properties of an update mobility service request. * * @member {string} [runAsAccountId] The CS run as account Id. */ export interface UpdateMobilityServiceRequestProperties { runAsAccountId?: string; } /** * @class * Initializes a new instance of the UpdateMobilityServiceRequest class. * @constructor * Request to update the mobility service on a protected item. * * @member {object} [properties] The properties of the update mobility service * request. * @member {string} [properties.runAsAccountId] The CS run as account Id. */ export interface UpdateMobilityServiceRequest { properties?: UpdateMobilityServiceRequestProperties; } /** * @class * Initializes a new instance of the UpdateNetworkMappingInputProperties class. * @constructor * Common input details for network mapping operation. * * @member {string} [recoveryFabricName] Recovery fabric name. * @member {string} [recoveryNetworkId] Recovery network Id. * @member {object} [fabricSpecificDetails] Fabrics specific input network Id. * @member {string} [fabricSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface UpdateNetworkMappingInputProperties { recoveryFabricName?: string; recoveryNetworkId?: string; fabricSpecificDetails?: FabricSpecificUpdateNetworkMappingInput; } /** * @class * Initializes a new instance of the UpdateNetworkMappingInput class. * @constructor * Update network mapping input. * * @member {object} [properties] The input properties needed to update network * mapping. * @member {string} [properties.recoveryFabricName] Recovery fabric name. * @member {string} [properties.recoveryNetworkId] Recovery network Id. * @member {object} [properties.fabricSpecificDetails] Fabrics specific input * network Id. * @member {string} [properties.fabricSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface UpdateNetworkMappingInput { properties?: UpdateNetworkMappingInputProperties; } /** * @class * Initializes a new instance of the UpdatePolicyInputProperties class. * @constructor * Policy update properties. * * @member {object} [replicationProviderSettings] The * ReplicationProviderSettings. * @member {string} [replicationProviderSettings.instanceType] Polymorphic * Discriminator */ export interface UpdatePolicyInputProperties { replicationProviderSettings?: PolicyProviderSpecificInput; } /** * @class * Initializes a new instance of the UpdatePolicyInput class. * @constructor * Update policy input. * * @member {object} [properties] The ReplicationProviderSettings. * @member {object} [properties.replicationProviderSettings] The * ReplicationProviderSettings. * @member {string} [properties.replicationProviderSettings.instanceType] * Polymorphic Discriminator */ export interface UpdatePolicyInput { properties?: UpdatePolicyInputProperties; } /** * @class * Initializes a new instance of the UpdateProtectionContainerMappingInputProperties class. * @constructor * Container pairing update input. * * @member {object} [providerSpecificInput] Provider specific input for * updating protection container mapping. * @member {string} [providerSpecificInput.instanceType] Polymorphic * Discriminator */ export interface UpdateProtectionContainerMappingInputProperties { providerSpecificInput?: ReplicationProviderSpecificUpdateContainerMappingInput; } /** * @class * Initializes a new instance of the UpdateProtectionContainerMappingInput class. * @constructor * Container pairing update input. * * @member {object} [properties] Update protection container mapping input * properties. * @member {object} [properties.providerSpecificInput] Provider specific input * for updating protection container mapping. * @member {string} [properties.providerSpecificInput.instanceType] Polymorphic * Discriminator */ export interface UpdateProtectionContainerMappingInput { properties?: UpdateProtectionContainerMappingInputProperties; } /** * @class * Initializes a new instance of the UpdateRecoveryPlanInputProperties class. * @constructor * Recovery plan updation properties. * * @member {array} [groups] The recovery plan groups. */ export interface UpdateRecoveryPlanInputProperties { groups?: RecoveryPlanGroup[]; } /** * @class * Initializes a new instance of the UpdateRecoveryPlanInput class. * @constructor * Update recovery plan input class. * * @member {object} [properties] Recovery plan update properties. * @member {array} [properties.groups] The recovery plan groups. */ export interface UpdateRecoveryPlanInput { properties?: UpdateRecoveryPlanInputProperties; } /** * @class * Initializes a new instance of the VMNicInputDetails class. * @constructor * Hyper V VM network input details. * * @member {string} [nicId] The nic Id. * @member {string} [recoveryVMSubnetName] Recovery VM subnet name. * @member {string} [replicaNicStaticIPAddress] Replica nic static IP address. * @member {string} [selectionType] Selection type for failover. * @member {boolean} [enableAcceleratedNetworkingOnRecovery] Whether the NIC * has accerated networking enabled. */ export interface VMNicInputDetails { nicId?: string; recoveryVMSubnetName?: string; replicaNicStaticIPAddress?: string; selectionType?: string; enableAcceleratedNetworkingOnRecovery?: boolean; } /** * @class * Initializes a new instance of the UpdateReplicationProtectedItemInputProperties class. * @constructor * Update protected item input properties. * * @member {string} [recoveryAzureVMName] Target azure VM name given by the * user. * @member {string} [recoveryAzureVMSize] Target Azure Vm size. * @member {string} [selectedRecoveryAzureNetworkId] Target Azure Network Id. * @member {string} [selectedSourceNicId] The selected source nic Id which will * be used as the primary nic during failover. * @member {string} [enableRdpOnTargetOption] The selected option to enable * RDP\SSH on target vm after failover. String value of * {SrsDataContract.EnableRDPOnTargetOption} enum. * @member {array} [vmNics] The list of vm nic details. * @member {string} [licenseType] License type. Possible values include: * 'NotSpecified', 'NoLicenseType', 'WindowsServer' * @member {string} [recoveryAvailabilitySetId] The target availability set id. * @member {object} [providerSpecificDetails] The provider specific input to * update replication protected item. * @member {string} [providerSpecificDetails.instanceType] Polymorphic * Discriminator */ export interface UpdateReplicationProtectedItemInputProperties { recoveryAzureVMName?: string; recoveryAzureVMSize?: string; selectedRecoveryAzureNetworkId?: string; selectedSourceNicId?: string; enableRdpOnTargetOption?: string; vmNics?: VMNicInputDetails[]; licenseType?: string; recoveryAvailabilitySetId?: string; providerSpecificDetails?: UpdateReplicationProtectedItemProviderInput; } /** * @class * Initializes a new instance of the UpdateReplicationProtectedItemInput class. * @constructor * Update replication protected item input. * * @member {object} [properties] Update replication protected item properties. * @member {string} [properties.recoveryAzureVMName] Target azure VM name given * by the user. * @member {string} [properties.recoveryAzureVMSize] Target Azure Vm size. * @member {string} [properties.selectedRecoveryAzureNetworkId] Target Azure * Network Id. * @member {string} [properties.selectedSourceNicId] The selected source nic Id * which will be used as the primary nic during failover. * @member {string} [properties.enableRdpOnTargetOption] The selected option to * enable RDP\SSH on target vm after failover. String value of * {SrsDataContract.EnableRDPOnTargetOption} enum. * @member {array} [properties.vmNics] The list of vm nic details. * @member {string} [properties.licenseType] License type. Possible values * include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' * @member {string} [properties.recoveryAvailabilitySetId] The target * availability set id. * @member {object} [properties.providerSpecificDetails] The provider specific * input to update replication protected item. * @member {string} [properties.providerSpecificDetails.instanceType] * Polymorphic Discriminator */ export interface UpdateReplicationProtectedItemInput { properties?: UpdateReplicationProtectedItemInputProperties; } /** * @class * Initializes a new instance of the UpdateVCenterRequestProperties class. * @constructor * The properties of an update vCenter request. * * @member {string} [friendlyName] The friendly name of the vCenter. * @member {string} [ipAddress] The IP address of the vCenter to be discovered. * @member {string} [processServerId] The process server Id from where the * update can be orchestrated. * @member {string} [port] The port number for discovery. * @member {string} [runAsAccountId] The CS account Id which has priviliges to * update the vCenter. */ export interface UpdateVCenterRequestProperties { friendlyName?: string; ipAddress?: string; processServerId?: string; port?: string; runAsAccountId?: string; } /** * @class * Initializes a new instance of the UpdateVCenterRequest class. * @constructor * Input required to update vCenter. * * @member {object} [properties] The update VCenter Request Properties. * @member {string} [properties.friendlyName] The friendly name of the vCenter. * @member {string} [properties.ipAddress] The IP address of the vCenter to be * discovered. * @member {string} [properties.processServerId] The process server Id from * where the update can be orchestrated. * @member {string} [properties.port] The port number for discovery. * @member {string} [properties.runAsAccountId] The CS account Id which has * priviliges to update the vCenter. */ export interface UpdateVCenterRequest { properties?: UpdateVCenterRequestProperties; } /** * @class * Initializes a new instance of the VaultHealthProperties class. * @constructor * class to define the health summary of the Vault. * * @member {array} [vaultErrors] The list of errors on the vault. * @member {object} [protectedItemsHealth] The list of the health detail of the * protected items in the vault. * @member {number} [protectedItemsHealth.resourceCount] The count of total * resources umder the container. * @member {array} [protectedItemsHealth.issues] The list of summary of health * errors across the resources under the container. * @member {object} [fabricsHealth] The list of the health detail of the * fabrics in the vault. * @member {number} [fabricsHealth.resourceCount] The count of total resources * umder the container. * @member {array} [fabricsHealth.issues] The list of summary of health errors * across the resources under the container. * @member {object} [containersHealth] The list of the health detail of the * containers in the vault. * @member {number} [containersHealth.resourceCount] The count of total * resources umder the container. * @member {array} [containersHealth.issues] The list of summary of health * errors across the resources under the container. */ export interface VaultHealthProperties { vaultErrors?: HealthError[]; protectedItemsHealth?: ResourceHealthSummary; fabricsHealth?: ResourceHealthSummary; containersHealth?: ResourceHealthSummary; } /** * @class * Initializes a new instance of the VaultHealthDetails class. * @constructor * Vault health details definition. * * @member {object} [properties] The vault health related data. * @member {array} [properties.vaultErrors] The list of errors on the vault. * @member {object} [properties.protectedItemsHealth] The list of the health * detail of the protected items in the vault. * @member {number} [properties.protectedItemsHealth.resourceCount] The count * of total resources umder the container. * @member {array} [properties.protectedItemsHealth.issues] The list of summary * of health errors across the resources under the container. * @member {object} [properties.fabricsHealth] The list of the health detail of * the fabrics in the vault. * @member {number} [properties.fabricsHealth.resourceCount] The count of total * resources umder the container. * @member {array} [properties.fabricsHealth.issues] The list of summary of * health errors across the resources under the container. * @member {object} [properties.containersHealth] The list of the health detail * of the containers in the vault. * @member {number} [properties.containersHealth.resourceCount] The count of * total resources umder the container. * @member {array} [properties.containersHealth.issues] The list of summary of * health errors across the resources under the container. */ export interface VaultHealthDetails extends Resource { properties?: VaultHealthProperties; } /** * @class * Initializes a new instance of the VCenterProperties class. * @constructor * vCenter properties. * * @member {string} [friendlyName] Friendly name of the vCenter. * @member {string} [internalId] VCenter internal ID. * @member {date} [lastHeartbeat] The time when the last heartbeat was reveived * by vCenter. * @member {string} [discoveryStatus] The VCenter discovery status. * @member {string} [processServerId] The process server Id. * @member {string} [ipAddress] The IP address of the vCenter. * @member {string} [infrastructureId] The infrastructure Id of vCenter. * @member {string} [port] The port number for discovery. * @member {string} [runAsAccountId] The account Id which has privileges to * discover the vCenter. * @member {string} [fabricArmResourceName] The ARM resource name of the fabric * containing this VCenter. * @member {array} [healthErrors] The health errors for this VCenter. */ export interface VCenterProperties { friendlyName?: string; internalId?: string; lastHeartbeat?: Date; discoveryStatus?: string; processServerId?: string; ipAddress?: string; infrastructureId?: string; port?: string; runAsAccountId?: string; fabricArmResourceName?: string; healthErrors?: HealthError[]; } /** * @class * Initializes a new instance of the VCenter class. * @constructor * vCenter definition. * * @member {object} [properties] VCenter related data. * @member {string} [properties.friendlyName] Friendly name of the vCenter. * @member {string} [properties.internalId] VCenter internal ID. * @member {date} [properties.lastHeartbeat] The time when the last heartbeat * was reveived by vCenter. * @member {string} [properties.discoveryStatus] The VCenter discovery status. * @member {string} [properties.processServerId] The process server Id. * @member {string} [properties.ipAddress] The IP address of the vCenter. * @member {string} [properties.infrastructureId] The infrastructure Id of * vCenter. * @member {string} [properties.port] The port number for discovery. * @member {string} [properties.runAsAccountId] The account Id which has * privileges to discover the vCenter. * @member {string} [properties.fabricArmResourceName] The ARM resource name of * the fabric containing this VCenter. * @member {array} [properties.healthErrors] The health errors for this * VCenter. */ export interface VCenter extends Resource { properties?: VCenterProperties; } /** * @class * Initializes a new instance of the VirtualMachineTaskDetails class. * @constructor * This class represents the virtual machine task details. * * @member {string} [skippedReason] The skipped reason. * @member {string} [skippedReasonString] The skipped reason string. * @member {object} [jobTask] The job entity. * @member {string} [jobTask.jobId] The job id. * @member {string} [jobTask.jobFriendlyName] The job display name. * @member {string} [jobTask.targetObjectId] The object id. * @member {string} [jobTask.targetObjectName] The object name. * @member {string} [jobTask.targetInstanceType] The workflow affected object * type. * @member {string} [jobTask.jobScenarioName] The job name. Enum type * ScenarioName. */ export interface VirtualMachineTaskDetails extends TaskTypeDetails { skippedReason?: string; skippedReasonString?: string; jobTask?: JobEntity; } /** * @class * Initializes a new instance of the VmmDetails class. * @constructor * VMM fabric specific details. * */ export interface VmmDetails extends FabricSpecificDetails { } /** * @class * Initializes a new instance of the VmmToAzureCreateNetworkMappingInput class. * @constructor * Create network mappings input properties/behaviour specific to Vmm to Azure * Network mapping. * */ export interface VmmToAzureCreateNetworkMappingInput extends FabricSpecificCreateNetworkMappingInput { } /** * @class * Initializes a new instance of the VmmToAzureNetworkMappingSettings class. * @constructor * E2A Network Mapping fabric specific settings. * */ export interface VmmToAzureNetworkMappingSettings extends NetworkMappingFabricSpecificSettings { } /** * @class * Initializes a new instance of the VmmToAzureUpdateNetworkMappingInput class. * @constructor * Update network mappings input properties/behaviour specific to vmm to azure. * */ export interface VmmToAzureUpdateNetworkMappingInput extends FabricSpecificUpdateNetworkMappingInput { } /** * @class * Initializes a new instance of the VmmToVmmCreateNetworkMappingInput class. * @constructor * Create network mappings input properties/behaviour specific to vmm to vmm * Network mapping. * */ export interface VmmToVmmCreateNetworkMappingInput extends FabricSpecificCreateNetworkMappingInput { } /** * @class * Initializes a new instance of the VmmToVmmNetworkMappingSettings class. * @constructor * E2E Network Mapping fabric specific settings. * */ export interface VmmToVmmNetworkMappingSettings extends NetworkMappingFabricSpecificSettings { } /** * @class * Initializes a new instance of the VmmToVmmUpdateNetworkMappingInput class. * @constructor * Update network mappings input properties/behaviour specific to vmm to vmm. * */ export interface VmmToVmmUpdateNetworkMappingInput extends FabricSpecificUpdateNetworkMappingInput { } /** * @class * Initializes a new instance of the VmmVirtualMachineDetails class. * @constructor * VMM fabric provider specific VM settings. * * @member {string} [sourceItemId] The source id of the object. * @member {string} [generation] The id of the object in fabric. * @member {object} [osDetails] The Last replication time. * @member {string} [osDetails.osType] VM Disk details. * @member {string} [osDetails.productType] Product type. * @member {string} [osDetails.osEdition] The OSEdition. * @member {string} [osDetails.oSVersion] The OS Version. * @member {string} [osDetails.oSMajorVersion] The OS Major Version. * @member {string} [osDetails.oSMinorVersion] The OS Minor Version. * @member {array} [diskDetails] The Last successful failover time. * @member {string} [hasPhysicalDisk] A value indicating whether the VM has a * physical disk attached. String value of {SrsDataContract.PresenceStatus} * enum. Possible values include: 'Unknown', 'Present', 'NotPresent' * @member {string} [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' * @member {string} [hasSharedVhd] A value indicating whether the VM has a * shared VHD attached. String value of {SrsDataContract.PresenceStatus} enum. * Possible values include: 'Unknown', 'Present', 'NotPresent' */ export interface VmmVirtualMachineDetails extends ConfigurationSettings { sourceItemId?: string; generation?: string; osDetails?: OSDetails; diskDetails?: DiskDetails[]; hasPhysicalDisk?: string; hasFibreChannelAdapter?: string; hasSharedVhd?: string; } /** * @class * Initializes a new instance of the VmNicUpdatesTaskDetails class. * @constructor * This class represents the vm NicUpdates task details. * * @member {string} [vmId] Virtual machine Id. * @member {string} [nicId] Nic Id. * @member {string} [name] Name of the Nic. */ export interface VmNicUpdatesTaskDetails extends TaskTypeDetails { vmId?: string; nicId?: string; name?: string; } /** * @class * Initializes a new instance of the VMwareCbtPolicyCreationInput class. * @constructor * VMware Cbt Policy creation input. * * @member {number} [recoveryPointHistory] The duration in minutes until which * the recovery points need to be stored. * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent * snapshot frequency (in minutes). * @member {number} [appConsistentFrequencyInMinutes] The app consistent * snapshot frequency (in minutes). */ export interface VMwareCbtPolicyCreationInput extends PolicyProviderSpecificInput { recoveryPointHistory?: number; crashConsistentFrequencyInMinutes?: number; appConsistentFrequencyInMinutes?: number; } /** * @class * Initializes a new instance of the VmwareCbtPolicyDetails class. * @constructor * VMware Cbt specific policy details. * * @member {number} [recoveryPointThresholdInMinutes] The recovery point * threshold in minutes. * @member {number} [recoveryPointHistory] The duration in minutes until which * the recovery points need to be stored. * @member {number} [appConsistentFrequencyInMinutes] The app consistent * snapshot frequency in minutes. * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent * snapshot frequency in minutes. */ export interface VmwareCbtPolicyDetails extends PolicyProviderSpecificDetails { recoveryPointThresholdInMinutes?: number; recoveryPointHistory?: number; appConsistentFrequencyInMinutes?: number; crashConsistentFrequencyInMinutes?: number; } /** * @class * Initializes a new instance of the VMwareDetails class. * @constructor * Store the fabric details specific to the VMware fabric. * * @member {array} [processServers] The list of Process Servers associated with * the fabric. * @member {array} [masterTargetServers] The list of Master Target servers * associated with the fabric. * @member {array} [runAsAccounts] The list of run as accounts created on the * server. * @member {string} [replicationPairCount] The number of replication pairs * configured in this CS. * @member {string} [processServerCount] The number of process servers. * @member {string} [agentCount] The number of source and target servers * configured to talk to this CS. * @member {string} [protectedServers] The number of protected servers. * @member {string} [systemLoad] The percentage of the system load. * @member {string} [systemLoadStatus] The system load status. * @member {string} [cpuLoad] The percentage of the CPU load. * @member {string} [cpuLoadStatus] The CPU load status. * @member {number} [totalMemoryInBytes] The total memory. * @member {number} [availableMemoryInBytes] The available memory. * @member {string} [memoryUsageStatus] The memory usage status. * @member {number} [totalSpaceInBytes] The total space. * @member {number} [availableSpaceInBytes] The available space. * @member {string} [spaceUsageStatus] The space usage status. * @member {string} [webLoad] The web load. * @member {string} [webLoadStatus] The web load status. * @member {string} [databaseServerLoad] The database server load. * @member {string} [databaseServerLoadStatus] The database server load status. * @member {string} [csServiceStatus] The CS service status. * @member {string} [ipAddress] The IP address. * @member {string} [agentVersion] The agent Version. * @member {string} [hostName] The host name. * @member {date} [lastHeartbeat] The last heartbeat received from CS server. * @member {string} [versionStatus] Version status * @member {date} [sslCertExpiryDate] CS SSL cert expiry date. * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. * @member {string} [psTemplateVersion] PS template version. * @member {date} [agentExpiryDate] Agent expiry date. * @member {object} [agentVersionDetails] The agent version details. * @member {string} [agentVersionDetails.version] The agent version. * @member {date} [agentVersionDetails.expiryDate] Version expiry date. * @member {string} [agentVersionDetails.status] A value indicating whether * security update required. Possible values include: 'Supported', * 'NotSupported', 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired' */ export interface VMwareDetails extends FabricSpecificDetails { processServers?: ProcessServer[]; masterTargetServers?: MasterTargetServer[]; runAsAccounts?: RunAsAccount[]; replicationPairCount?: string; processServerCount?: string; agentCount?: string; protectedServers?: string; systemLoad?: string; systemLoadStatus?: string; cpuLoad?: string; cpuLoadStatus?: string; totalMemoryInBytes?: number; availableMemoryInBytes?: number; memoryUsageStatus?: string; totalSpaceInBytes?: number; availableSpaceInBytes?: number; spaceUsageStatus?: string; webLoad?: string; webLoadStatus?: string; databaseServerLoad?: string; databaseServerLoadStatus?: string; csServiceStatus?: string; ipAddress?: string; agentVersion?: string; hostName?: string; lastHeartbeat?: Date; versionStatus?: string; sslCertExpiryDate?: Date; sslCertExpiryRemainingDays?: number; psTemplateVersion?: string; agentExpiryDate?: Date; agentVersionDetails?: VersionDetails; } /** * @class * Initializes a new instance of the VMwareV2FabricCreationInput class. * @constructor * Fabric provider specific settings. * * @member {string} [keyVaultUrl] The Key Vault URL. * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. */ export interface VMwareV2FabricCreationInput extends FabricSpecificCreationInput { keyVaultUrl?: string; keyVaultResourceArmId?: string; } /** * @class * Initializes a new instance of the VMwareV2FabricSpecificDetails class. * @constructor * VMwareV2 fabric Specific Details. * * @member {string} [srsServiceEndpoint] The endpoint for making requests to * the SRS Service. * @member {string} [rcmServiceEndpoint] The endpoint for making requests to * the RCM Service. * @member {string} [keyVaultUrl] The Key Vault URL. * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. */ export interface VMwareV2FabricSpecificDetails extends FabricSpecificDetails { srsServiceEndpoint?: string; rcmServiceEndpoint?: string; keyVaultUrl?: string; keyVaultResourceArmId?: string; } /** * @class * Initializes a new instance of the VMwareVirtualMachineDetails class. * @constructor * VMware provider specific settings * * @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. * @member {string} [agentInstalled] The value indicating if InMage scout agent * is installed on guest. * @member {string} [osType] The OsType installed on VM. * @member {string} [agentVersion] The agent version. * @member {string} [ipAddress] The IP address. * @member {string} [poweredOn] The value indicating whether VM is powered on. * @member {string} [vCenterInfrastructureId] The VCenter infrastructure Id. * @member {string} [discoveryType] A value inidicating the discovery type of * the machine. Value can be vCenter or physical. * @member {array} [diskDetails] The disk details. * @member {array} [validationErrors] The validation errors. */ export interface VMwareVirtualMachineDetails extends ConfigurationSettings { agentGeneratedId?: string; agentInstalled?: string; osType?: string; agentVersion?: string; ipAddress?: string; poweredOn?: string; vCenterInfrastructureId?: string; discoveryType?: string; diskDetails?: InMageDiskDetails[]; validationErrors?: HealthError[]; } /** * @class * Initializes a new instance of the OperationsDiscoveryCollection class. * @constructor * Collection of ClientDiscovery details. * * @member {string} [nextLink] The value of next link. */ export interface OperationsDiscoveryCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the AlertCollection class. * @constructor * Collection of alerts. * * @member {string} [nextLink] The value of next link. */ export interface AlertCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the EventCollection class. * @constructor * Collection of fabric details. * * @member {string} [nextLink] The value of next link. */ export interface EventCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the FabricCollection class. * @constructor * Collection of fabric details. * * @member {string} [nextLink] The value of next link. */ export interface FabricCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the LogicalNetworkCollection class. * @constructor * List of logical networks. * * @member {string} [nextLink] The value of next link. */ export interface LogicalNetworkCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the NetworkCollection class. * @constructor * List of networks. * * @member {string} [nextLink] The value of next link. */ export interface NetworkCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the NetworkMappingCollection class. * @constructor * 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. * * @member {string} [nextLink] The value of next link. */ export interface NetworkMappingCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the ProtectionContainerCollection class. * @constructor * Protection Container collection. * * @member {string} [nextLink] The value of next link. */ export interface ProtectionContainerCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the ProtectableItemCollection class. * @constructor * Protectable item collection. * * @member {string} [nextLink] The value of next link. */ export interface ProtectableItemCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the ReplicationProtectedItemCollection class. * @constructor * Replication protected item collection. * * @member {string} [nextLink] The value of next link. */ export interface ReplicationProtectedItemCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the RecoveryPointCollection class. * @constructor * Collection of recovery point details. * * @member {string} [nextLink] The value of next link. */ export interface RecoveryPointCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the TargetComputeSizeCollection class. * @constructor * Target compute size collection. * * @member {string} [nextLink] The value of next link. */ export interface TargetComputeSizeCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the ProtectionContainerMappingCollection class. * @constructor * Protection container mapping collection class. * * @member {string} [nextLink] Link to fetch rest of the data. */ export interface ProtectionContainerMappingCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the RecoveryServicesProviderCollection class. * @constructor * Collection of providers. * * @member {string} [nextLink] The value of next link. */ export interface RecoveryServicesProviderCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the StorageClassificationCollection class. * @constructor * Collection of storage details. * * @member {string} [nextLink] The value of next link. */ export interface StorageClassificationCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the StorageClassificationMappingCollection class. * @constructor * Collection of storage mapping details. * * @member {string} [nextLink] The value of next link. */ export interface StorageClassificationMappingCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the VCenterCollection class. * @constructor * Collection of vCenter details. * * @member {string} [nextLink] The value of next link. */ export interface VCenterCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the JobCollection class. * @constructor * Collection of jobs. * * @member {string} [nextLink] The value of next link. */ export interface JobCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the PolicyCollection class. * @constructor * Protection Profile Collection details. * * @member {string} [nextLink] The value of next link. */ export interface PolicyCollection extends Array { nextLink?: string; } /** * @class * Initializes a new instance of the RecoveryPlanCollection class. * @constructor * Recovery plan collection details. * * @member {string} [nextLink] The value of next link. */ export interface RecoveryPlanCollection extends Array { nextLink?: string; }